Uses of Interface
com.github.zafarkhaja.semver.util.Stream.ElementType
-
Packages that use Stream.ElementType Package Description com.github.zafarkhaja.semver This is the root package of the Java SemVer library.com.github.zafarkhaja.semver.expr This package contains classes that implement the SemVer Expressions.com.github.zafarkhaja.semver.util This package provides some useful utility classes. -
-
Uses of Stream.ElementType in com.github.zafarkhaja.semver
Classes in com.github.zafarkhaja.semver that implement Stream.ElementType Modifier and Type Class Description (package private) static class
VersionParser.CharType
Valid character types. -
Uses of Stream.ElementType in com.github.zafarkhaja.semver.expr
Classes in com.github.zafarkhaja.semver.expr that implement Stream.ElementType Modifier and Type Class Description (package private) static class
Lexer.Token.Type
Valid token types.Methods in com.github.zafarkhaja.semver.expr with parameters of type Stream.ElementType Modifier and Type Method Description private boolean
ExpressionParser. isVersionFollowedBy(Stream.ElementType<Lexer.Token> type)
Determines if the version terminals are followed by the specified token type. -
Uses of Stream.ElementType in com.github.zafarkhaja.semver.util
Fields in com.github.zafarkhaja.semver.util declared as Stream.ElementType Modifier and Type Field Description private Stream.ElementType<?>[]
UnexpectedElementException. expected
The array of the expected element types.Methods in com.github.zafarkhaja.semver.util with type parameters of type Stream.ElementType Modifier and Type Method Description <T extends Stream.ElementType<E>>
EStream. consume(T... expected)
Consumes the next element in this stream only if it is of the expected types.<T extends Stream.ElementType<E>>
booleanStream. positiveLookahead(T... expected)
Checks if the next element in this stream is of the expected types.<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.<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.ElementType Modifier and Type Method Description Stream.ElementType<?>[]
UnexpectedElementException. getExpectedElementTypes()
Gets the expected element types.Methods in com.github.zafarkhaja.semver.util with parameters of type Stream.ElementType Modifier and Type Method Description <T extends Stream.ElementType<E>>
EStream. consume(T... expected)
Consumes the next element in this stream only if it is of the expected types.<T extends Stream.ElementType<E>>
booleanStream. positiveLookahead(T... expected)
Checks if the next element in this stream is of the expected types.<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.<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.<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.Constructors in com.github.zafarkhaja.semver.util with parameters of type Stream.ElementType Constructor Description UnexpectedElementException(java.lang.Object element, int position, Stream.ElementType<?>... expected)
Constructs aUnexpectedElementException
instance with the unexpected element and the expected types.
-