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

Method left

java/src/org/openqa/selenium/internal/Either.java:37–39  ·  view source on GitHub ↗
(A a)

Source from the content-addressed store, hash-verified

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);
39 }
40
41 public static <A extends @Nullable Object, B extends @Nullable Object> Either<A, B> right(B b) {
42 return new Either<>(null, b);

Calls

no outgoing calls