Package | Description |
---|---|
de.larssh.utils |
Utility classes
|
Modifier and Type | Method and Description |
---|---|
static <A,B> Either<A,B> |
Either.of(A first,
B second)
Deprecated.
This is a convenience method for special cases only. Use
ofFirst(A) and ofSecond(B) where possible. |
static <A,B> Either<A,B> |
Either.ofFirst(A value)
Returns an
Either object describing the given value of the
first type. |
static <A,B> Either<A,B> |
Either.ofSecond(B value)
Returns an
Either object describing the given value of the
second type. |
Copyright © 2025. All rights reserved.