S - the type of the source streamT - the type of the final streampublic class DerivedStreamId<S,T> extends java.lang.Object implements StreamId<T>
DerivedStreamFactory| Constructor and Description |
|---|
DerivedStreamId(StreamId<S> sourceStreamId,
java.util.function.Function<S,T> conversion) |
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Function<S,T> |
conversion() |
static <S,T> DerivedStreamId<S,T> |
derive(StreamId<S> sourceStreamId,
java.util.function.Function<S,T> conversion) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
StreamId<S> |
sourceStreamId() |
java.lang.String |
toString() |
public static <S,T> DerivedStreamId<S,T> derive(StreamId<S> sourceStreamId, java.util.function.Function<S,T> conversion)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object