public class BinaryDataLengthInterval
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected BinaryDataType |
m_binaryDataType |
protected int |
m_maxLength |
protected int |
m_minLength |
| Constructor and Description |
|---|
BinaryDataLengthInterval(BinaryDataType binaryDataType,
int minLength,
int maxLength) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(BinaryData value) |
void |
enumerateValues(java.util.Collection<java.lang.Object> values) |
protected long |
getNumberOfValuesOfLength(int length) |
BinaryDataLengthInterval |
intersectWith(BinaryDataLengthInterval that)
Computes the intersection of this interval with the supplied one.
|
protected boolean |
isEqual(BinaryDataType binaryDataType,
int minLength,
int maxLength) |
protected static boolean |
isIntervalEmpty(BinaryDataType binaryDataType,
int minLength,
int maxLength) |
protected void |
processPosition(byte[] temp,
java.util.Collection<java.lang.Object> values,
int position) |
int |
subtractSizeFrom(int argument) |
java.lang.String |
toString() |
protected final BinaryDataType m_binaryDataType
protected final int m_minLength
protected final int m_maxLength
public BinaryDataLengthInterval(BinaryDataType binaryDataType, int minLength, int maxLength)
public BinaryDataLengthInterval intersectWith(BinaryDataLengthInterval that)
protected boolean isEqual(BinaryDataType binaryDataType, int minLength, int maxLength)
public int subtractSizeFrom(int argument)
protected long getNumberOfValuesOfLength(int length)
public boolean contains(BinaryData value)
public void enumerateValues(java.util.Collection<java.lang.Object> values)
protected void processPosition(byte[] temp,
java.util.Collection<java.lang.Object> values,
int position)
public java.lang.String toString()
toString in class java.lang.Objectprotected static boolean isIntervalEmpty(BinaryDataType binaryDataType, int minLength, int maxLength)