Interface IntEncoding<T>
-
- Type Parameters:
T- the encoding domain type
- All Superinterfaces:
Encoding<T,java.lang.Integer>,HasDenseRange,Immutable,ProperlyHashable
- All Known Subinterfaces:
PrimitiveIntEncoding
- All Known Implementing Classes:
ConstantIntIntEncoding,HashmapEncoding,IdentityEncoding,IntIntEncoding
public interface IntEncoding<T> extends Encoding<T,java.lang.Integer>, HasDenseRange
An encoding with a range of typeInteger. The range is densely packed within the nonnegative integers, i.e. there are no gaps. This makes it suitable for storing precomputed orderings.
-
-
Field Summary
Fields Modifier and Type Field Description static intOUTSIDE_RANGE
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanisInRange(java.lang.Integer toDecode)booleanisIntInRange(int toDecode)java.util.stream.IntStreamprimitiveRange()default java.util.stream.Stream<java.lang.Integer>range()-
Methods inherited from interface org.processmining.specpp.datastructures.encoding.Encoding
decode, domain, encode, isInDomain, pairs, size
-
Methods inherited from interface org.processmining.specpp.traits.ProperlyHashable
hashCode
-
-
-
-
Field Detail
-
OUTSIDE_RANGE
static final int OUTSIDE_RANGE
- See Also:
- Constant Field Values
-
-