Class Pair<A,B>
- java.lang.Object
-
- org.intermine.webservice.server.core.Pair<A,B>
-
- Type Parameters:
A
- The first element in the pair is an A.B
- The second element in the pair is a B.
- All Implemented Interfaces:
java.util.Map.Entry<A,B>
public final class Pair<A,B> extends java.lang.Object implements java.util.Map.Entry<A,B>
A tuple of order two.- Author:
- Alex Kalderimis This is also an implementation of Map.Entry, with the exception that setValue throws an error.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description A
getKey()
B
getValue()
B
setValue(B value)
java.lang.String
toString()
-