Class Tuple0

  • All Implemented Interfaces:
    Tuple, java.lang.Comparable<Tuple0>

    public final class Tuple0
    extends java.lang.Object
    implements Tuple, java.lang.Comparable<Tuple0>
    A Tuple that has no values.
    Author:
    Andre Breves
    • Method Detail

      • of

        public static Tuple0 of()
        Returns a Tuple that has no values.
      • degree

        public int degree()
        Description copied from interface: Tuple
        Returns the value count of this Tuple.
        Specified by:
        degree in interface Tuple
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • compareTo

        public int compareTo​(Tuple0 other)
        Specified by:
        compareTo in interface java.lang.Comparable<Tuple0>