S - the type in the streampublic class DistinctOperation<S> extends Object implements IntermediateOperation<S,Stream<S>,S,Stream<S>>
Stream| Modifier and Type | Method and Description |
|---|---|
static <S> DistinctOperation<S> |
getInstance() |
Stream<S> |
perform(Stream<S> stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleInjectionpublic static <S> DistinctOperation<S> getInstance()
public Stream<S> perform(Stream<S> stream)
IntermediateOperationCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.