Class MutablePair.SimpleMutablePair<F,S>
java.lang.Object
ru.progrm_jarvis.javacommons.object.MutablePair.SimpleMutablePair<F,S>
- Type Parameters:
F- type of the first valueS- type of the second value
- All Implemented Interfaces:
MutablePair<F,,S> Pair<F,S>
- Enclosing interface:
- MutablePair<F,
S>
public static final class MutablePair.SimpleMutablePair<F,S>
extends Object
implements MutablePair<F,S>
Simple implementation of
MutablePair.-
Nested Class Summary
Nested classes/interfaces inherited from interface ru.progrm_jarvis.javacommons.object.MutablePair
MutablePair.SimpleMutablePair<F,S> Nested classes/interfaces inherited from interface ru.progrm_jarvis.javacommons.object.Pair
Pair.SimplePair<F,S> -
Method Summary
-
Method Details
-
getFirst
Description copied from interface:PairGets the first value. -
getSecond
Description copied from interface:PairGets the second value. -
setFirst
Description copied from interface:MutablePairSets the first value to the one given.- Specified by:
setFirstin interfaceMutablePair<F,S> - Parameters:
first- the value to set as the first
-
setSecond
Description copied from interface:MutablePairSets the second value to the one given.- Specified by:
setSecondin interfaceMutablePair<F,S> - Parameters:
second- the value to set as the second
-
equals
-
hashCode
public int hashCode() -
toString
-