Class SFSArrayLite
- java.lang.Object
-
- com.smartfoxserver.v2.entities.data.SFSArray
-
- com.smartfoxserver.v2.entities.data.SFSArrayLite
-
- All Implemented Interfaces:
ISFSArray,java.io.Serializable
public class SFSArrayLite extends SFSArray
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SFSArrayLite()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.Boolean>getBoolArray(int key)Get the element at the specified index as Collection of Boolean.java.lang.BytegetByte(int index)Get the element at the specified index as Byte.java.util.Collection<java.lang.Double>getDoubleArray(int key)Get the element at the specified index as Collection of Double.java.lang.FloatgetFloat(int index)Get the element at the specified index as Float.java.util.Collection<java.lang.Float>getFloatArray(int key)Get the element at the specified index as Collection of Float.java.util.Collection<java.lang.Integer>getIntArray(int key)Get the element at the specified index as Collection of Int.java.lang.LonggetLong(int index)Get the element at the specified index as Long.java.lang.ShortgetShort(int index)Get the element at the specified index as Short.java.util.Collection<java.lang.Short>getShortArray(int key)Get the element at the specified index as Collection of Short.java.util.Collection<java.lang.String>getUtfStringArray(int key)Get the element at the specified index as Collection of String.static SFSArrayLitenewInstance()-
Methods inherited from class com.smartfoxserver.v2.entities.data.SFSArray
add, addBool, addBoolArray, addByte, addByteArray, addClass, addDouble, addDoubleArray, addFloat, addFloatArray, addInt, addIntArray, addLong, addLongArray, addNull, addSFSArray, addSFSObject, addShort, addShortArray, addText, addUtfString, addUtfStringArray, contains, get, getBool, getByteArray, getClass, getDouble, getDump, getDump, getElementAt, getHexDump, getInt, getLongArray, getSFSArray, getSFSObject, getText, getUnsignedByte, getUnsignedByteArray, getUtfString, isNull, iterator, newFromBinaryData, newFromJsonData, newFromResultSet, removeElementAt, size, toBinary, toJson, toString
-
-
-
-
Method Detail
-
newInstance
public static SFSArrayLite newInstance()
-
getByte
public java.lang.Byte getByte(int index)
Description copied from interface:ISFSArrayGet the element at the specified index as Byte. It can be null if no element exists for the specified index
-
getShort
public java.lang.Short getShort(int index)
Description copied from interface:ISFSArrayGet the element at the specified index as Short. It can be null if no element exists for the specified index
-
getLong
public java.lang.Long getLong(int index)
Description copied from interface:ISFSArrayGet the element at the specified index as Long. It can be null if no element exists for the specified index
-
getFloat
public java.lang.Float getFloat(int index)
Description copied from interface:ISFSArrayGet the element at the specified index as Float. It can be null if no element exists for the specified index
-
getBoolArray
public java.util.Collection<java.lang.Boolean> getBoolArray(int key)
Description copied from interface:ISFSArrayGet the element at the specified index as Collection of Boolean. It can be null if no element exists for the specified index- Specified by:
getBoolArrayin interfaceISFSArray- Overrides:
getBoolArrayin classSFSArray- Returns:
- the element, or null
-
getShortArray
public java.util.Collection<java.lang.Short> getShortArray(int key)
Description copied from interface:ISFSArrayGet the element at the specified index as Collection of Short. It can be null if no element exists for the specified index- Specified by:
getShortArrayin interfaceISFSArray- Overrides:
getShortArrayin classSFSArray- Returns:
- the element, or null
-
getIntArray
public java.util.Collection<java.lang.Integer> getIntArray(int key)
Description copied from interface:ISFSArrayGet the element at the specified index as Collection of Int. It can be null if no element exists for the specified index- Specified by:
getIntArrayin interfaceISFSArray- Overrides:
getIntArrayin classSFSArray- Returns:
- the element, or null
-
getFloatArray
public java.util.Collection<java.lang.Float> getFloatArray(int key)
Description copied from interface:ISFSArrayGet the element at the specified index as Collection of Float. It can be null if no element exists for the specified index- Specified by:
getFloatArrayin interfaceISFSArray- Overrides:
getFloatArrayin classSFSArray- Returns:
- the element, or null
-
getDoubleArray
public java.util.Collection<java.lang.Double> getDoubleArray(int key)
Description copied from interface:ISFSArrayGet the element at the specified index as Collection of Double. It can be null if no element exists for the specified index- Specified by:
getDoubleArrayin interfaceISFSArray- Overrides:
getDoubleArrayin classSFSArray- Returns:
- the element, or null
-
getUtfStringArray
public java.util.Collection<java.lang.String> getUtfStringArray(int key)
Description copied from interface:ISFSArrayGet the element at the specified index as Collection of String. It can be null if no element exists for the specified index- Specified by:
getUtfStringArrayin interfaceISFSArray- Overrides:
getUtfStringArrayin classSFSArray- Returns:
- the element, or null
-
-