Klasse Pair<E1,T>
java.lang.Object
ch.nolix.core.datastructure.pair.Pair<E1,T>
- Typparameter:
E1- is the type of the element 1 of aPair.T- is the type of the element 2 of aPair.
- Alle implementierten Schnittstellen:
IPair<E1,T>
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungbooleanhasElement1(Object object) booleanhasElement2(Object object) toString()
-
Konstruktordetails
-
Pair
Creates a newPairwith the given elements.- Parameter:
element1-element2-- Löst aus:
ArgumentIsNullException- if the given element 1 is null.ArgumentIsNullException- if the given element 2 is null.
-
-
Methodendetails
-
getStoredElement1
-
getStoredElement2
-
hasElement1
-
hasElement2
-
toString
-