@Internal public static class CoGroupedStreams.TaggedUnion<T1,T2> extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
T1 |
getOne() |
T2 |
getTwo() |
boolean |
isOne() |
boolean |
isTwo() |
static <T1,T2> CoGroupedStreams.TaggedUnion<T1,T2> |
one(T1 one) |
static <T1,T2> CoGroupedStreams.TaggedUnion<T1,T2> |
two(T2 two) |
public boolean isOne()
public boolean isTwo()
public T1 getOne()
public T2 getTwo()
public static <T1,T2> CoGroupedStreams.TaggedUnion<T1,T2> one(T1 one)
public static <T1,T2> CoGroupedStreams.TaggedUnion<T1,T2> two(T2 two)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.