Class Triple.TripleAdapter<L,​M,​R>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Triple<L,​M,​R>>
    Enclosing class:
    Triple<L,​M,​R>

    private static final class Triple.TripleAdapter<L,​M,​R>
    extends Triple<L,​M,​R>
    • Constructor Detail

      • TripleAdapter

        private TripleAdapter()
    • Method Detail

      • getLeft

        public L getLeft()
        Description copied from class: Triple

        Gets the left element from this triple.

        Specified by:
        getLeft in class Triple<L,​M,​R>
        Returns:
        the left element, may be null
      • getMiddle

        public M getMiddle()
        Description copied from class: Triple

        Gets the middle element from this triple.

        Specified by:
        getMiddle in class Triple<L,​M,​R>
        Returns:
        the middle element, may be null
      • getRight

        public R getRight()
        Description copied from class: Triple

        Gets the right element from this triple.

        Specified by:
        getRight in class Triple<L,​M,​R>
        Returns:
        the right element, may be null