org.msgpack.type
Class ValueFactory
java.lang.Object
org.msgpack.type.ValueFactory
public final class ValueFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createNilValue
public static NilValue createNilValue()
createBooleanValue
public static BooleanValue createBooleanValue(boolean v)
createIntegerValue
public static IntegerValue createIntegerValue(byte v)
createIntegerValue
public static IntegerValue createIntegerValue(short v)
createIntegerValue
public static IntegerValue createIntegerValue(int v)
createIntegerValue
public static IntegerValue createIntegerValue(long v)
createIntegerValue
public static IntegerValue createIntegerValue(BigInteger v)
createFloatValue
public static FloatValue createFloatValue(float v)
createFloatValue
public static FloatValue createFloatValue(double v)
createRawValue
public static RawValue createRawValue()
createRawValue
public static RawValue createRawValue(byte[] b)
createRawValue
public static RawValue createRawValue(byte[] b,
boolean gift)
createRawValue
public static RawValue createRawValue(byte[] b,
int off,
int len)
createRawValue
public static RawValue createRawValue(String s)
createRawValue
public static RawValue createRawValue(ByteBuffer bb)
createArrayValue
public static ArrayValue createArrayValue()
createArrayValue
public static ArrayValue createArrayValue(Value[] array)
createArrayValue
public static ArrayValue createArrayValue(Value[] array,
boolean gift)
createMapValue
public static MapValue createMapValue()
createMapValue
public static MapValue createMapValue(Value[] kvs)
createMapValue
public static MapValue createMapValue(Value[] kvs,
boolean gift)
Copyright © 2011. All Rights Reserved.