Interface Pair<L,R>

All Superinterfaces:
Serializable
All Known Subinterfaces:
Pair_checkedLeft<L,R>, Pair_checkedRight<L,R>
All Known Implementing Classes:
CheckedPair_L, CheckedPair_LR, CheckedPair_R, UncheckedPair

public interface Pair<L,R> extends Serializable
Interface defining "Pair" operations, no strictness implied.
  • Field Details

  • Method Details

    • get_left

      L get_left()
    • get_right

      R get_right()
    • with_left

      Pair<L,R> with_left(L l)
    • with_right

      Pair<L,R> with_right(R r)
    • set_left

      void set_left(L l)
    • set_right

      void set_right(R r)