F - The type of the first element of the serialisable pair.S - The type of the second element of the serialisable pair.public class SerialisablePair<F,S> extends Pair<F,S> implements java.io.Serializable
SerialisablePair and a Pair are
equal if their elements are equal. SerialisablePair should be
preferred whenever possible.| Constructor and Description |
|---|
SerialisablePair(F first,
S second)
Constructor.
|
public SerialisablePair(F first, S second)
first - The first element of the pair.second - The second element of the pair.java.lang.IllegalArgumentException - If the designated elements are not
serialisable, an IllegalArgumentException will be
thrown.