GetPrefixCodedIntShift() public static method

Returns the shift value from a prefix encoded {@code int}.
if the supplied is /// not correctly prefix encoded.
public static GetPrefixCodedIntShift ( BytesRef val ) : int
val BytesRef
return int
Esempio n. 1
0
 protected internal override AcceptStatus Accept(BytesRef term)
 {
     return(NumericUtils.GetPrefixCodedIntShift(term) == 0 ? AcceptStatus.YES : AcceptStatus.END);
 }