Interface Stream.ElementType<E>
-
- Type Parameters:
E- type of elements held by this stream
- All Known Implementing Classes:
Lexer.Token.Type,VersionParser.CharType
public static interface Stream.ElementType<E>TheElementTypeinterface represents types of the elements held by this stream and can be used for stream filtering.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisMatchedBy(E element)Checks if the specified element matches this type.
-
-
-
Method Detail
-
isMatchedBy
boolean isMatchedBy(E element)
Checks if the specified element matches this type.- Parameters:
element- the element to be tested- Returns:
trueif the element matches this type orfalseotherwise
-
-