Class AuthenticationSteps.Pair<L,R>
java.lang.Object
org.springframework.vault.authentication.AuthenticationSteps.Pair<L,R>
- Type Parameters:
L
-R
-
- Enclosing class:
- AuthenticationSteps
A tuple of two things.
- Since:
- 2.1
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getLeft()
Type-safe way to get the fist object of thisAuthenticationSteps.Pair
.getRight()
Type-safe way to get the second object of thisAuthenticationSteps.Pair
.int
hashCode()
static <L,
R> AuthenticationSteps.Pair<L, R> of
(L left, R right) toString()
-
Method Details
-
of
- Parameters:
left
- the left value.right
- the right value.- Returns:
- the
AuthenticationSteps.Pair
.
-
getLeft
Type-safe way to get the fist object of thisAuthenticationSteps.Pair
.- Returns:
- The first object
-
getRight
Type-safe way to get the second object of thisAuthenticationSteps.Pair
.- Returns:
- The second object
-
equals
-
hashCode
public int hashCode() -
toString
-