Class SFSObjectLite
- java.lang.Object
-
- com.smartfoxserver.v2.entities.data.SFSObject
-
- com.smartfoxserver.v2.entities.data.SFSObjectLite
-
- All Implemented Interfaces:
ISFSObject,java.io.Serializable
public final class SFSObjectLite extends SFSObject
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SFSObjectLite()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.Boolean>getBoolArray(java.lang.String key)Get the element for the specified key as a Collection of Booleans.java.lang.BytegetByte(java.lang.String key)Get the element for the specified key as Byte (signed 8 bit).java.util.Collection<java.lang.Double>getDoubleArray(java.lang.String key)Get the element for the specified key as a Collection of Double.java.lang.FloatgetFloat(java.lang.String key)Get the element for the specified key as Float (signed decimal 32 bit).java.util.Collection<java.lang.Float>getFloatArray(java.lang.String key)Get the element for the specified key as a Collection of Float.java.util.Collection<java.lang.Integer>getIntArray(java.lang.String key)Get the element for the specified key as a Collection of Integer.java.lang.LonggetLong(java.lang.String key)Get the element for the specified key as Long (signed 64 bit).java.lang.ShortgetShort(java.lang.String key)Get the element for the specified key as Short (signed 16 bit).java.util.Collection<java.lang.Short>getShortArray(java.lang.String key)Get the element for the specified key as a Collection of Short.java.util.Collection<java.lang.String>getUtfStringArray(java.lang.String key)Get the element for the specified key as a Collection of String.static SFSObjectnewInstance()-
Methods inherited from class com.smartfoxserver.v2.entities.data.SFSObject
containsKey, get, getBool, getByteArray, getClass, getDouble, getDump, getDump, getHexDump, getInt, getKeys, getLongArray, getSFSArray, getSFSObject, getText, getUnsignedByte, getUnsignedByteArray, getUtfString, isNull, iterator, newFromBinaryData, newFromJsonData, newFromObject, newFromResultSet, put, putBool, putBoolArray, putByte, putByteArray, putClass, putDouble, putDoubleArray, putFloat, putFloatArray, putInt, putIntArray, putLong, putLongArray, putNull, putSFSArray, putSFSObject, putShort, putShortArray, putText, putUtfString, putUtfStringArray, removeElement, size, toBinary, toJson, toString
-
-
-
-
Method Detail
-
newInstance
public static SFSObject newInstance()
-
getByte
public java.lang.Byte getByte(java.lang.String key)
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- Returns:
- the element, or null
-
getShort
public java.lang.Short getShort(java.lang.String key)
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- Returns:
- the element, or null
-
getLong
public java.lang.Long getLong(java.lang.String key)
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- Returns:
- the element, or null
-
getFloat
public java.lang.Float getFloat(java.lang.String key)
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- Returns:
- the element, or null
-
getBoolArray
public java.util.Collection<java.lang.Boolean> getBoolArray(java.lang.String key)
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- Returns:
- the element, or null
-
getShortArray
public java.util.Collection<java.lang.Short> getShortArray(java.lang.String key)
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- Returns:
- the element, or null
-
getIntArray
public java.util.Collection<java.lang.Integer> getIntArray(java.lang.String key)
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- Returns:
- the element, or null
-
getFloatArray
public java.util.Collection<java.lang.Float> getFloatArray(java.lang.String key)
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- Returns:
- the element, or null
-
getDoubleArray
public java.util.Collection<java.lang.Double> getDoubleArray(java.lang.String key)
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- Returns:
- the element, or null
-
getUtfStringArray
public java.util.Collection<java.lang.String> getUtfStringArray(java.lang.String key)
Description copied from interface:ISFSObjectGet the element for the specified key as a Collection of String. It can be null if no element exists for the specified key- Specified by:
getUtfStringArrayin interfaceISFSObject- Overrides:
getUtfStringArrayin classSFSObject- Returns:
- the element, or null
-
-