public class NOnesIntDecoder extends FourFlagsIntDecoder
NOnesIntEncoder.| Constructor and Description |
|---|
NOnesIntDecoder(int n)
Constructs a decoder with a given N (Number of consecutive '1's which are
translated into a single target value '2'.
|
public NOnesIntDecoder(int n)
public void decode(BytesRef buf, IntsRef values)
IntDecoderIntsRef. Note
that values.offset is set to 0, and values.length is
updated to denote the number of decoded values.decode in class FourFlagsIntDecoderpublic String toString()
toString in class FourFlagsIntDecoderCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.