Class ImmutablePair<A,B>
java.lang.Object
de.florianmichael.rclasses.functional.tuple.Pair<A,B>
de.florianmichael.rclasses.functional.tuple.immutable.ImmutablePair<A,B>
Represents a tuple of two elements.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ImmutablePair
public ImmutablePair() -
ImmutablePair
-
-
Method Details
-
getFirst
-
getSecond
-
setFirst
- Specified by:
setFirstin classPair<A,B> - Throws:
UnsupportedOperationException
-
setSecond
- Specified by:
setSecondin classPair<A,B> - Throws:
UnsupportedOperationException
-
toString
-
equals
-
hashCode
public int hashCode()
-