|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.util.DataUtils
Utility class that supplies commonly used data sets that each class should not have to create on its own. These data sets are immutable objects, so any class and any thread may access them whenever they like.
Field Summary | |
static byte[] |
EMPTY_BYTE_ARRAY
Constant empty byte array for any class to use -- immutable. |
static byte[] |
EMPTY_GUID
An 16-length empty byte array, for GUIDs. |
static java.util.List |
EMPTY_LIST
An empty list. |
static java.util.Map |
EMPTY_MAP
An empty map. |
static java.util.Set |
EMPTY_SET
Utility immutable emtpy set (not supported in 1.1.8 version of Collections class in collections). |
static java.lang.String[] |
EMPTY_STRING_ARRAY
Constant empty string array for any class to use -- immutable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static byte[] EMPTY_BYTE_ARRAY
public static java.lang.String[] EMPTY_STRING_ARRAY
public static final java.util.Set EMPTY_SET
public static final java.util.List EMPTY_LIST
public static final java.util.Map EMPTY_MAP
public static final byte[] EMPTY_GUID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |