Class NullablePairImpl<T,​W>

    • Constructor Detail

      • NullablePairImpl

        public NullablePairImpl​(T first,
                                W second)
    • Method Detail

      • getFirst

        public T getFirst()
        Specified by:
        getFirst in interface Pair<T,​W>
        Returns:
        the first item
      • setFirst

        public void setFirst​(T first)
      • getSecond

        public W getSecond()
        Specified by:
        getSecond in interface Pair<T,​W>
        Returns:
        the second item
      • setSecond

        public void setSecond​(W second)
      • 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