Class Pair<T>
java.lang.Object
org.aksw.jena_sparql_api.sparql_path2.Pair<T>
- Type Parameters:
T-
- All Implemented Interfaces:
Serializable,Iterable<T>,Map.Entry<T,T>
- Direct Known Subclasses:
VertexClass
A pair is a collection having 2 entries of same type
Note: For a pair with two different types, use Map.SimpleEntry
- Author:
- raven
- See Also:
-
Field Details
-
key
-
value
-
-
Constructor Details
-
Pair
-
Pair
-
-
Method Details
-
create
-
iterator
-
set
-
get
-
size
public int size() -
getKey
-
getValue
-
setValue
-
hashCode
public int hashCode() -
equals
-
toString
-