public class UUIDLexicoder extends AbstractLexicoder<UUID>
Constructor and Description |
---|
UUIDLexicoder() |
Modifier and Type | Method and Description |
---|---|
UUID |
decode(byte[] b) |
protected UUID |
decodeUnchecked(byte[] b,
int offset,
int len)
Decodes a byte array without checking if the offset and len exceed the bounds of the actual
array.
|
byte[] |
encode(UUID uuid) |
decode
public byte[] encode(UUID uuid)
public UUID decode(byte[] b)
decode
in interface TypedValueCombiner.Encoder<UUID>
decode
in class AbstractEncoder<UUID>
protected UUID decodeUnchecked(byte[] b, int offset, int len) throws ValueFormatException
AbstractEncoder
decodeUnchecked
in class AbstractEncoder<UUID>
ValueFormatException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.