Package com.smartfoxserver.entities.data
Class SFSArrayLite
java.lang.Object
com.smartfoxserver.entities.data.SFSArray
com.smartfoxserver.entities.data.SFSArrayLite
- All Implemented Interfaces:
ISFSArray,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBoolArray(int key) Get the element at the specified index as Collection of Boolean.getByte(int index) Get the element at the specified index as Byte.getDoubleArray(int key) Get the element at the specified index as Collection of Double.getFloat(int index) Get the element at the specified index as Float.getFloatArray(int key) Get the element at the specified index as Collection of Float.getIntArray(int key) Get the element at the specified index as Collection of Int.getLong(int index) Get the element at the specified index as Long.getShort(int index) Get the element at the specified index as Short.getShortArray(int key) Get the element at the specified index as Collection of Short.getStringArray(int key) Get the element at the specified index as Collection of String.static SFSArrayLiteMethods inherited from class com.smartfoxserver.entities.data.SFSArray
add, addBool, addBoolArray, addByte, addByteArray, addDouble, addDoubleArray, addFloat, addFloatArray, addInt, addIntArray, addLong, addLongArray, addNull, addSFSArray, addSFSObject, addShort, addShortArray, addShortString, addShortStringArray, addString, addStringArray, addText, addVector2, addVector2Array, addVector3, addVector3Array, contains, get, getBool, getByteArray, getDouble, getDump, getDump, getElementAt, getHexDump, getInt, getLongArray, getSFSArray, getSFSObject, getShortString, getShortStringArray, getString, getText, getUnsignedByte, getUnsignedByteArray, getVector2, getVector2Array, getVector3, getVector3Array, isNull, iterator, newFromBinaryData, newFromJsonData, newFromResultSet, removeElementAt, size, toBinary, toJson, toString
-
Constructor Details
-
SFSArrayLite
public SFSArrayLite()
-
-
Method Details
-
newInstance
-
getByte
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
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
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
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
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- Parameters:
key-- Returns:
- the element, or null
-
getShortArray
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- Parameters:
key-- Returns:
- the element, or null
-
getIntArray
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- Parameters:
key-- Returns:
- the element, or null
-
getFloatArray
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- Parameters:
key-- Returns:
- the element, or null
-
getDoubleArray
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- Parameters:
key-- Returns:
- the element, or null
-
getStringArray
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 Each string is limited to 32768 bytes- Specified by:
getStringArrayin interfaceISFSArray- Overrides:
getStringArrayin classSFSArray- Parameters:
key-- Returns:
- the element, or null
-