Package com.smartfoxserver.entities.data
Class SFSObjectLite
java.lang.Object
com.smartfoxserver.entities.data.SFSObject
com.smartfoxserver.entities.data.SFSObjectLite
- All Implemented Interfaces:
ISFSObject,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBoolArray(String key) Get the element for the specified key as a Collection of Booleans.Get the element for the specified key as Byte (signed 8 bit).getDoubleArray(String key) Get the element for the specified key as a Collection of Double.Get the element for the specified key as Float (signed decimal 32 bit).getFloatArray(String key) Get the element for the specified key as a Collection of Float.getIntArray(String key) Get the element for the specified key as a Collection of Integer.Get the element for the specified key as Long (signed 64 bit).Get the element for the specified key as Short (signed 16 bit).getShortArray(String key) Get the element for the specified key as a Collection of Short.getStringArray(String key) Get the element for the specified key as a Collection of Strings.static SFSObjectMethods inherited from class com.smartfoxserver.entities.data.SFSObject
containsKey, get, getBool, getByteArray, getDouble, getDump, getDump, getHexDump, getInt, getKeys, getLongArray, getSFSArray, getSFSObject, getShortString, getShortStringArray, getString, getText, getUnsignedByteArray, getVector2, getVector2Array, getVector3, getVector3Array, isNull, iterator, newFromBinaryData, newFromBinaryData, newFromJsonData, newFromResultSet, put, putBool, putBoolArray, putByte, putByteArray, putDouble, putDoubleArray, putFloat, putFloatArray, putInt, putIntArray, putLong, putLongArray, putNull, putSFSArray, putSFSObject, putShort, putShortArray, putShortString, putShortStringArray, putString, putStringArray, putText, putVector2, putVector2Array, putVector3, putVector3Array, removeElement, size, toBinary, toJson, toString
-
Constructor Details
-
SFSObjectLite
public SFSObjectLite()
-
-
Method Details
-
newInstance
-
getByte
Description copied from interface:ISFSObjectGet the element for the specified key as Byte (signed 8 bit). It can be null if no element exists for the specified key- Specified by:
getBytein interfaceISFSObject- Overrides:
getBytein classSFSObject- Parameters:
key-- Returns:
- the element, or null
-
getShort
Description copied from interface:ISFSObjectGet the element for the specified key as Short (signed 16 bit). It can be null if no element exists for the specified key- Specified by:
getShortin interfaceISFSObject- Overrides:
getShortin classSFSObject- Parameters:
key-- Returns:
- the element, or null
-
getLong
Description copied from interface:ISFSObjectGet the element for the specified key as Long (signed 64 bit). It can be null if no element exists for the specified key- Specified by:
getLongin interfaceISFSObject- Overrides:
getLongin classSFSObject- Parameters:
key-- Returns:
- the element, or null
-
getFloat
Description copied from interface:ISFSObjectGet the element for the specified key as Float (signed decimal 32 bit). It can be null if no element exists for the specified key- Specified by:
getFloatin interfaceISFSObject- Overrides:
getFloatin classSFSObject- Parameters:
key-- Returns:
- the element, or null
-
getBoolArray
Description copied from interface:ISFSObjectGet the element for the specified key as a Collection of Booleans. It can be null if no element exists for the specified key- Specified by:
getBoolArrayin interfaceISFSObject- Overrides:
getBoolArrayin classSFSObject- Parameters:
key-- Returns:
- the element, or null
-
getShortArray
Description copied from interface:ISFSObjectGet the element for the specified key as a Collection of Short. It can be null if no element exists for the specified key- Specified by:
getShortArrayin interfaceISFSObject- Overrides:
getShortArrayin classSFSObject- Parameters:
key-- Returns:
- the element, or null
-
getIntArray
Description copied from interface:ISFSObjectGet the element for the specified key as a Collection of Integer. It can be null if no element exists for the specified key- Specified by:
getIntArrayin interfaceISFSObject- Overrides:
getIntArrayin classSFSObject- Parameters:
key-- Returns:
- the element, or null
-
getFloatArray
Description copied from interface:ISFSObjectGet the element for the specified key as a Collection of Float. It can be null if no element exists for the specified key- Specified by:
getFloatArrayin interfaceISFSObject- Overrides:
getFloatArrayin classSFSObject- Parameters:
key-- Returns:
- the element, or null
-
getDoubleArray
Description copied from interface:ISFSObjectGet the element for the specified key as a Collection of Double. It can be null if no element exists for the specified key- Specified by:
getDoubleArrayin interfaceISFSObject- Overrides:
getDoubleArrayin classSFSObject- Parameters:
key-- Returns:
- the element, or null
-
getStringArray
Description copied from interface:ISFSObjectGet the element for the specified key as a Collection of Strings. It can be null if no element exists for the specified key Each string is limited to 32768 bytes- Specified by:
getStringArrayin interfaceISFSObject- Overrides:
getStringArrayin classSFSObject- Parameters:
key-- Returns:
- the element, or null
-