Class ImmutablePair<T>
- java.lang.Object
-
- org.processmining.specpp.datastructures.util.ImmutableTuple2<T,T>
-
- org.processmining.specpp.datastructures.util.ImmutablePair<T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>,Pair<T>,Tuple2<T,T>,Immutable,ProperlyHashable
public class ImmutablePair<T> extends ImmutableTuple2<T,T> implements Pair<T>
-
-
Field Summary
-
Fields inherited from class org.processmining.specpp.datastructures.util.ImmutableTuple2
t1, t2
-
-
Constructor Summary
Constructors Constructor Description ImmutablePair(T t1, T t2)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Tfirst()java.util.Iterator<T>iterator()static <T,R>
Pair<R>map(Pair<T> pair, java.util.function.Function<T,R> func)Tsecond()-
Methods inherited from class org.processmining.specpp.datastructures.util.ImmutableTuple2
getT1, getT2, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.processmining.specpp.traits.ProperlyHashable
hashCode
-
-
-
-
Method Detail
-
iterator
public java.util.Iterator<T> iterator()
-
-