Uses of Interface
com.github.zafarkhaja.semver.util.Stream.ElementType
Packages that use Stream.ElementType
Package
Description
This package provides some useful utility classes.
-
Uses of Stream.ElementType in com.github.zafarkhaja.semver.util
Methods in com.github.zafarkhaja.semver.util with type parameters of type Stream.ElementTypeModifier and TypeMethodDescriptionfinal <T extends Stream.ElementType<E>>
EStream.consume(T... expected) Consumes the next element in this stream only if it is of the expected types.final <T extends Stream.ElementType<E>>
booleanStream.positiveLookahead(T... expected) Checks if the next element in this stream is of the expected types.final <T extends Stream.ElementType<E>>
booleanStream.positiveLookaheadBefore(Stream.ElementType<E> before, T... expected) Checks if there exists an element in this stream of the expected types before the specified type.final <T extends Stream.ElementType<E>>
booleanStream.positiveLookaheadUntil(int until, T... expected) Checks if there is an element in this stream of the expected types until the specified position.Methods in com.github.zafarkhaja.semver.util that return Stream.ElementTypeModifier and TypeMethodDescriptionStream.ElementType<?>[]UnexpectedElementException.getExpectedElementTypes()Gets the expected element types.Methods in com.github.zafarkhaja.semver.util with parameters of type Stream.ElementTypeModifier and TypeMethodDescriptionfinal <T extends Stream.ElementType<E>>
EStream.consume(T... expected) Consumes the next element in this stream only if it is of the expected types.final <T extends Stream.ElementType<E>>
booleanStream.positiveLookahead(T... expected) Checks if the next element in this stream is of the expected types.final <T extends Stream.ElementType<E>>
booleanStream.positiveLookaheadBefore(Stream.ElementType<E> before, T... expected) Checks if there exists an element in this stream of the expected types before the specified type.final <T extends Stream.ElementType<E>>
booleanStream.positiveLookaheadBefore(Stream.ElementType<E> before, T... expected) Checks if there exists an element in this stream of the expected types before the specified type.final <T extends Stream.ElementType<E>>
booleanStream.positiveLookaheadUntil(int until, T... expected) Checks if there is an element in this stream of the expected types until the specified position.