org.apache.qpid.proton.codec
Class ArrayType
java.lang.Object
org.apache.qpid.proton.codec.ArrayType
- All Implemented Interfaces:
- AMQPType<Object[]>, PrimitiveType<Object[]>
public class ArrayType
- extends Object
- implements PrimitiveType<Object[]>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayType
public ArrayType(EncoderImpl encoder,
DecoderImpl decoder,
BooleanType boolType,
ByteType byteType,
ShortType shortType,
IntegerType intType,
LongType longType,
FloatType floatType,
DoubleType doubleType,
CharacterType characterType)
getTypeClass
public Class<Object[]> getTypeClass()
- Specified by:
getTypeClass in interface AMQPType<Object[]>
getEncoding
public ArrayType.ArrayEncoding getEncoding(Object[] val)
- Specified by:
getEncoding in interface AMQPType<Object[]>- Specified by:
getEncoding in interface PrimitiveType<Object[]>
getCanonicalEncoding
public ArrayType.ArrayEncoding getCanonicalEncoding()
- Specified by:
getCanonicalEncoding in interface AMQPType<Object[]>- Specified by:
getCanonicalEncoding in interface PrimitiveType<Object[]>
getAllEncodings
public Collection<ArrayType.ArrayEncoding> getAllEncodings()
- Specified by:
getAllEncodings in interface AMQPType<Object[]>- Specified by:
getAllEncodings in interface PrimitiveType<Object[]>
write
public void write(Object[] val)
- Specified by:
write in interface AMQPType<Object[]>
write
public void write(boolean[] a)
write
public void write(byte[] a)
write
public void write(short[] a)
write
public void write(int[] a)
write
public void write(long[] a)
write
public void write(float[] a)
write
public void write(double[] a)
write
public void write(char[] a)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.