public class Tuple<LEFT extends Leb128Serializable,RIGHT extends Leb128Serializable> extends Object implements Map.Entry<LEFT,RIGHT>
Leb128Serializable. A tuple is also a Map.Entry and can be used in
methods taking it as argument (LEFT is the KEY, RIGHT is the VALUE).| Modifier and Type | Field and Description |
|---|---|
protected LEFT |
left |
protected RIGHT |
right |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
LEFT |
getKey() |
LEFT |
getLeft() |
RIGHT |
getRight() |
RIGHT |
getValue() |
int |
hashCode() |
RIGHT |
setValue(RIGHT value) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValueprotected LEFT extends Leb128Serializable left
protected RIGHT extends Leb128Serializable right
public LEFT getLeft()
public RIGHT getRight()
public int hashCode()
hashCode in interface Map.Entry<LEFT extends Leb128Serializable,RIGHT extends Leb128Serializable>hashCode in class Objectpublic boolean equals(Object o)
equals in interface Map.Entry<LEFT extends Leb128Serializable,RIGHT extends Leb128Serializable>equals in class Objectpublic LEFT getKey()
getKey in interface Map.Entry<LEFT extends Leb128Serializable,RIGHT extends Leb128Serializable>public RIGHT getValue()
getValue in interface Map.Entry<LEFT extends Leb128Serializable,RIGHT extends Leb128Serializable>public RIGHT setValue(RIGHT value)
setValue in interface Map.Entry<LEFT extends Leb128Serializable,RIGHT extends Leb128Serializable>Copyright © 2022. All rights reserved.