Interface Encoding<K,V>
-
- Type Parameters:
K- the encoding domain typeV- the encoding range type
- All Superinterfaces:
Immutable,ProperlyHashable
- All Known Subinterfaces:
IntEncoding<T>,PrimitiveIntEncoding
- All Known Implementing Classes:
ConstantIntIntEncoding,HashmapEncoding,IdentityEncoding,IntIntEncoding
public interface Encoding<K,V> extends Immutable
An immutable encoding of items of typeKto elements of typeVin the range.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Kdecode(V value)java.util.stream.Stream<K>domain()Vencode(K item)booleanisInDomain(K toEncode)booleanisInRange(V toDecode)default java.util.stream.Stream<Tuple2<K,V>>pairs()java.util.stream.Stream<V>range()intsize()-
Methods inherited from interface org.processmining.specpp.traits.ProperlyHashable
hashCode
-
-