Interface MutablePair<F,S>
- Type Parameters:
F- type of the first valueS- type of the second value
- All Superinterfaces:
Pair<F,S>
- All Known Implementing Classes:
MutablePair.SimpleMutablePair
Mutable
Pair.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface ru.progrm_jarvis.javacommons.object.Pair
Pair.SimplePair<F,S> -
Method Summary
-
Method Details
-
setFirst
Sets the first value to the one given.- Parameters:
first- the value to set as the first
-
setSecond
Sets the second value to the one given.- Parameters:
second- the value to set as the second
-
of
Creates a new mutable pair of the given values.- Type Parameters:
F- type of the first value of the pairS- type of the second value of the pair- Parameters:
first- first value of the pairsecond- second value of the pair- Returns:
- created mutable pair of the given values
-