K
- KeyV
- Valuepublic class OPair<K extends Comparable,V> extends Object implements Map.Entry<K,V>, Comparable<OPair<K,V>>, Serializable
OTriple
,
Serialized FormConstructor and Description |
---|
OPair() |
OPair(K iKey,
V iValue) |
OPair(Map.Entry<K,V> iSource) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OPair<K,V> o) |
static <K extends Comparable<K>,V> |
convertFromMap(Map<K,V> iValues) |
static <K extends Comparable<K>,V> |
convertToMap(List<OPair<K,V>> iValues) |
boolean |
equals(Object obj) |
K |
getKey() |
V |
getValue() |
int |
hashCode() |
void |
init(K iKey,
V iValue) |
V |
setValue(V iValue) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public K extends Comparable key
public V value
public V setValue(V iValue)
setValue
in interface Map.Entry<K extends Comparable,V>
public int hashCode()
public boolean equals(Object obj)
public int compareTo(OPair<K,V> o)
compareTo
in interface Comparable<OPair<K extends Comparable,V>>
public static <K extends Comparable<K>,V> Map<K,V> convertToMap(List<OPair<K,V>> iValues)
public static <K extends Comparable<K>,V> List<OPair<K,V>> convertFromMap(Map<K,V> iValues)
Copyright © 2009–2020 OrientDB. All rights reserved.