We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.internal.
Package com.vaadin.flow.internal
Class Pair<U extends Serializable,V extends Serializable>
java.lang.Object
com.vaadin.flow.internal.Pair<U,V>
All Implemented Interfaces:
Direct Known Subclasses:
public class Pair<U extends Serializable,V extends Serializable>
extends Object
implements Serializable
Generic class representing an immutable pair of values.
For internal use only. May be renamed or removed in a future release.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Pair
Creates a new pair.
Parameters:
u
- the value of the first componentv
- the value of the second component
-
-
Method Details
-
getFirst
Gets the first component of the pair.
Returns:
the first component of the pair
-
getSecond
Gets the second component of the pair.
Returns:
the second component of the pair
-