F
- the type of the first valueS
- the type of the second valuepublic class Pair<F,S> extends Object
The values may be related or unrelated.
For most predictable results, the params should be immutable. If the value of
hashCode()
is relevant, the two values must provide sane
implementations of hashCode too.
Copyright © 2015. All rights reserved.