MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Either

Method Either

java/src/org/openqa/selenium/internal/Either.java:32–35  ·  view source on GitHub ↗
(A a, B b)

Source from the content-addressed store, hash-verified

30 private final B right;
31
32 private Either(A a, B b) {
33 left = a;
34 right = b;
35 }
36
37 public static <A extends @Nullable Object, B extends @Nullable Object> Either<A, B> left(A a) {
38 return new Either<>(a, null);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected