Class Tuple5<X>

java.lang.Object
org.apache.jena.atlas.lib.tuple.Tuple5<X>
All Implemented Interfaces:
Iterable<X>, Tuple<X>

public class Tuple5<X> extends Object
A tuple of 5 items.
  • Method Details

    • 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(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 Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public final String toString()
      Overrides:
      toString in class Object