Package tools.helperclasses
Class AbstractMutablePair<T,U>
Object
AbstractPair<T,U>
AbstractMutablePair<T,U>
- Direct Known Subclasses:
MutablePair
public abstract class AbstractMutablePair<T,U> extends AbstractPair<T,U>
-
Constructor Summary
Constructors Constructor Description AbstractMutablePair()
-
Method Summary
-
Constructor Details
-
AbstractMutablePair
public AbstractMutablePair()
-
-
Method Details
-
setFirst
Sets the first item in the pair and returns the old value- Parameters:
first
- the future value of the first item- Returns:
- the old value of the first item
-
setSecond
Sets the second item in the pair and returns the old value- Parameters:
second
- the future value of the second item- Returns:
- the old value of the second item
-