Module aeonics.core
Package aeonics.util

Class Tuples.Quadruple<A,​B,​C,​D>

  • Type Parameters:
    A - the first value type
    B - the second value type
    C - the third value type
    D - the fourth value type
    Enclosing class:
    Tuples

    public static class Tuples.Quadruple<A,​B,​C,​D>
    extends java.lang.Object
    A wrapper for four values
    • Field Summary

      Fields 
      Modifier and Type Field Description
      A a
      The wrapped value
      B b
      The wrapped value
      C c
      The wrapped value
      D d
      The wrapped value
    • Constructor Summary

      Constructors 
      Constructor Description
      Quadruple​(A a, B b, C c, D d)
      Creates a new four-value wrapper
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      static <W,​X,​Y,​Z>
      Tuples.Quadruple<W,​X,​Y,​Z>
      of​(W a, X b, Y c, Z d)
      Creates a new four-value wrapper
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • a

        public volatile A a
        The wrapped value
      • b

        public volatile B b
        The wrapped value
      • c

        public volatile C c
        The wrapped value
      • d

        public volatile D d
        The wrapped value
    • Constructor Detail

      • Quadruple

        public Quadruple​(A a,
                         B b,
                         C c,
                         D d)
        Creates a new four-value wrapper
        Parameters:
        a - the first value
        b - the second value
        c - the third value
        d - the fourth value
    • Method Detail

      • equals

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

        public static <W,​X,​Y,​Z> Tuples.Quadruple<W,​X,​Y,​Z> of​(W a,
                                                                                                 X b,
                                                                                                 Y c,
                                                                                                 Z d)
        Creates a new four-value wrapper
        Type Parameters:
        W - the first value type
        X - the second value type
        Y - the third value type
        Z - the fourth value type
        Parameters:
        a - the first value
        b - the second value
        c - the third value
        d - the fourth value
        Returns:
        a new four-value wrapper