Closed laughedelic closed 8 years ago
There are only three types of outE/inE methods, they return
outE
inE
E
Optional<E>
Stream<E>
As there is no NonEmptyStream<> in Java, let's deprecate the AtLeastOne arity.
NonEmptyStream<>
AtLeastOne
I like it. It's useful as documentation, at the very least.
Mmmkay.. :neutral_face: If we were using some datatype to reflect this arity, I think it would be more useful. But ok. I'm closing this.
There are only three types of
outE
/inE
methods, they returnE
for arity OneOptional<E>
for arity AtMostOneStream<E>
for arity Any (Many)As there is no
NonEmptyStream<>
in Java, let's deprecate theAtLeastOne
arity.