Class Tuple8<X>

  • All Implemented Interfaces:
    java.lang.Iterable<X>, Tuple<X>

    public class Tuple8<X>
    extends java.lang.Object
    A tuple of 8 items.
    • Method Detail

      • get

        public final X get​(int i)
        Description copied from interface: Tuple
        Get the i'th element, for i in the range 0 to len()-1
      • len

        public final int len()
        Description copied from interface: Tuple
        length : elements are 0 to len()-1
      • map

        public <Y> Tuple<Y> map​(java.util.function.Function<X,​Y> function)
        Description copied from interface: Tuple
        Map to a new tuple.
      • contains

        public boolean contains​(X item)
        Description copied from interface: Tuple
        forEach
      • hashCode

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

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

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object