Package com.andrebreves.tuple
Class Tuple0
- java.lang.Object
-
- com.andrebreves.tuple.Tuple0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Tuple0 other)intdegree()Returns the value count of this Tuple.booleanequals(java.lang.Object obj)inthashCode()static Tuple0of()Returns a Tuple that has no values.
-
-
-
Method Detail
-
of
public static Tuple0 of()
Returns a Tuple that has no values.
-
degree
public int degree()
Description copied from interface:TupleReturns the value count of this Tuple.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-