Class Tuple0

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Tuple0>, java.lang.Iterable<java.lang.Object>, Tuple

    public class Tuple0
    extends java.lang.Object
    implements Tuple, java.lang.Comparable<Tuple0>, java.io.Serializable, java.lang.Cloneable
    A tuple of degree 0.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      Tuple0()  
      Tuple0​(Tuple0 tuple)  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Object[] array()
      Deprecated.
      Tuple0 clone()  
      int compareTo​(Tuple0 other)  
      <T1> Tuple1<T1> concat​(Tuple1<T1> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10>
      Tuple10<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10>
      concat​(Tuple10<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11>
      Tuple11<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11>
      concat​(Tuple11<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12>
      Tuple12<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12>
      concat​(Tuple12<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13>
      Tuple13<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13>
      concat​(Tuple13<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14>
      Tuple14<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14>
      concat​(Tuple14<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15>
      Tuple15<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15>
      concat​(Tuple15<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16>
      Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16>
      concat​(Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2>
      Tuple2<T1,​T2>
      concat​(Tuple2<T1,​T2> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3>
      Tuple3<T1,​T2,​T3>
      concat​(Tuple3<T1,​T2,​T3> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3,​T4>
      Tuple4<T1,​T2,​T3,​T4>
      concat​(Tuple4<T1,​T2,​T3,​T4> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3,​T4,​T5>
      Tuple5<T1,​T2,​T3,​T4,​T5>
      concat​(Tuple5<T1,​T2,​T3,​T4,​T5> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3,​T4,​T5,​T6>
      Tuple6<T1,​T2,​T3,​T4,​T5,​T6>
      concat​(Tuple6<T1,​T2,​T3,​T4,​T5,​T6> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7>
      Tuple7<T1,​T2,​T3,​T4,​T5,​T6,​T7>
      concat​(Tuple7<T1,​T2,​T3,​T4,​T5,​T6,​T7> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
      Tuple8<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
      concat​(Tuple8<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> tuple)
      Concatenate a tuple to this tuple.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9>
      Tuple9<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9>
      concat​(Tuple9<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> tuple)
      Concatenate a tuple to this tuple.
      <T1> Tuple1<T1> concat​(T1 value)
      Concatenate a value to this tuple.
      int degree()
      The degree of this tuple: 0.
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.util.Iterator<java.lang.Object> iterator()  
      Tuple0 limit0()
      Limit this tuple to degree 0.
      java.util.List<?> list()
      Deprecated.
      <R> R map​(java.util.function.Supplier<? extends R> function)
      Apply this tuple as arguments to a function.
      Tuple0 skip0()
      Skip 0 degrees from this tuple.
      Tuple2<Tuple0,​Tuple0> split0()
      Split this tuple into two tuples of degree 0 and 0.
      java.lang.Object[] toArray()
      Get an array representation of this tuple.
      java.util.List<?> toList()
      Get a list representation of this tuple.
      java.util.Map<java.lang.String,​?> toMap()
      Get a map representation of this tuple.
      <K> java.util.Map<K,​?> toMap​(java.util.function.Function<? super java.lang.Integer,​? extends K> keyMapper)
      Get a map representation of this tuple.
      Seq<?> toSeq()
      Get a Seq representation of this tuple.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • Tuple0

        public Tuple0​(Tuple0 tuple)
      • Tuple0

        public Tuple0()
    • Method Detail

      • concat

        public final <T1> Tuple1<T1> concat​(T1 value)
        Concatenate a value to this tuple.
      • concat

        public final <T1> Tuple1<T1> concat​(Tuple1<T1> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2> Tuple2<T1,​T2> concat​(Tuple2<T1,​T2> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3> Tuple3<T1,​T2,​T3> concat​(Tuple3<T1,​T2,​T3> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3,​T4> Tuple4<T1,​T2,​T3,​T4> concat​(Tuple4<T1,​T2,​T3,​T4> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3,​T4,​T5> Tuple5<T1,​T2,​T3,​T4,​T5> concat​(Tuple5<T1,​T2,​T3,​T4,​T5> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3,​T4,​T5,​T6> Tuple6<T1,​T2,​T3,​T4,​T5,​T6> concat​(Tuple6<T1,​T2,​T3,​T4,​T5,​T6> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3,​T4,​T5,​T6,​T7> Tuple7<T1,​T2,​T3,​T4,​T5,​T6,​T7> concat​(Tuple7<T1,​T2,​T3,​T4,​T5,​T6,​T7> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> Tuple8<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> concat​(Tuple8<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> Tuple9<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> concat​(Tuple9<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10> Tuple10<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10> concat​(Tuple10<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11> Tuple11<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11> concat​(Tuple11<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12> Tuple12<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12> concat​(Tuple12<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13> Tuple13<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13> concat​(Tuple13<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14> Tuple14<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14> concat​(Tuple14<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15> Tuple15<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15> concat​(Tuple15<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15> tuple)
        Concatenate a tuple to this tuple.
      • concat

        public final <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16> Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16> concat​(Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16> tuple)
        Concatenate a tuple to this tuple.
      • split0

        public final Tuple2<Tuple0,​Tuple0> split0()
        Split this tuple into two tuples of degree 0 and 0.
      • limit0

        public final Tuple0 limit0()
        Limit this tuple to degree 0.
      • skip0

        public final Tuple0 skip0()
        Skip 0 degrees from this tuple.
      • map

        public final <R> R map​(java.util.function.Supplier<? extends R> function)
        Apply this tuple as arguments to a function.
      • array

        @Deprecated
        public final java.lang.Object[] array()
        Deprecated.
        Description copied from interface: Tuple
        Get an array representation of this tuple.
        Specified by:
        array in interface Tuple
      • toArray

        public final java.lang.Object[] toArray()
        Description copied from interface: Tuple
        Get an array representation of this tuple.
        Specified by:
        toArray in interface Tuple
      • list

        @Deprecated
        public final java.util.List<?> list()
        Deprecated.
        Description copied from interface: Tuple
        Get a list representation of this tuple.
        Specified by:
        list in interface Tuple
      • toList

        public final java.util.List<?> toList()
        Description copied from interface: Tuple
        Get a list representation of this tuple.
        Specified by:
        toList in interface Tuple
      • toSeq

        public final Seq<?> toSeq()
        Description copied from interface: Tuple
        Get a Seq representation of this tuple.
        Specified by:
        toSeq in interface Tuple
      • toMap

        public final java.util.Map<java.lang.String,​?> toMap()
        Description copied from interface: Tuple
        Get a map representation of this tuple.
        Specified by:
        toMap in interface Tuple
      • toMap

        public final <K> java.util.Map<K,​?> toMap​(java.util.function.Function<? super java.lang.Integer,​? extends K> keyMapper)
        Description copied from interface: Tuple
        Get a map representation of this tuple.
        Specified by:
        toMap in interface Tuple
      • degree

        public final int degree()
        The degree of this tuple: 0.
        Specified by:
        degree in interface Tuple
      • iterator

        public final java.util.Iterator<java.lang.Object> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.Object>
      • compareTo

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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

        public Tuple0 clone()
        Overrides:
        clone in class java.lang.Object