public class ListLexicoder<LT> extends AbstractLexicoder<List<LT>>
Constructor and Description |
---|
ListLexicoder(Lexicoder<LT> lexicoder) |
Modifier and Type | Method and Description |
---|---|
List<LT> |
decode(byte[] b) |
protected List<LT> |
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(List<LT> v) |
decode
public byte[] encode(List<LT> v)
public List<LT> decode(byte[] b)
decode
in interface TypedValueCombiner.Encoder<List<LT>>
decode
in class AbstractEncoder<List<LT>>
protected List<LT> decodeUnchecked(byte[] b, int offset, int len)
AbstractEncoder
decodeUnchecked
in class AbstractEncoder<List<LT>>
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.