public class IntTuple extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<IntTuple>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IntTuple o) |
static IntTuple |
concat(IntTuple t1,
IntTuple t2) |
int[] |
elems() |
boolean |
equals(java.lang.Object iO) |
int |
get(int num) |
IntTuple |
getCopy() |
static IntTuple |
getIntTuple(int num) |
static IntTuple |
getIntTuple(java.util.List<java.lang.Integer> integers) |
int |
hashCode() |
int |
length() |
void |
print() |
void |
set(int num,
int val) |
void |
shiftLeft() |
java.lang.String |
toString() |
public int compareTo(IntTuple o)
compareTo
in interface java.lang.Comparable<IntTuple>
public int get(int num)
public void set(int num, int val)
public void shiftLeft()
public IntTuple getCopy()
public int[] elems()
public boolean equals(java.lang.Object iO)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int length()
public static IntTuple getIntTuple(int num)
public static IntTuple getIntTuple(java.util.List<java.lang.Integer> integers)
public java.lang.String toString()
toString
in class java.lang.Object
public void print()