Schnittstelle IPair<E1,E2>
- Typparameter:
E1- is the type of the element1 of aIPair.E2- is the type of the element2 of aIPair.
- Alle bekannten Implementierungsklassen:
Pair
public interface IPair<E1,E2>
A
IPair contains 2 elements.- Version:
- 2022-07-02
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanhasElement1(Object object) booleanhasElement2(Object object)
-
Methodendetails
-
getStoredElement1
E1 getStoredElement1()- Gibt zurück:
- the element1 of the current
IPair.
-
getStoredElement2
E2 getStoredElement2()- Gibt zurück:
- the element2 of the current
IPair.
-
hasElement1
- Parameter:
object-- Gibt zurück:
- true if the element1 of the current
IPairis the given object.
-
hasElement2
- Parameter:
object-- Gibt zurück:
- true if the element2 of the current
IPairis the given object.
-