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 and values.length are set to 0.decode in class FourFlagsIntDecoderpublic String toString()
toString in class FourFlagsIntDecoderCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.