Class Pair<L,​R>


  • public class Pair<L,​R>
    extends Object
    Simple generic immutable pair structure
    Author:
    John Collins
    • Constructor Detail

      • Pair

        public Pair​(L car,
                    R cdr)
    • Method Detail

      • car

        public L car()
      • cdr

        public R cdr()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object