Interface ISequenceType
-
public interface ISequenceType
-
-
Field Summary
Fields Modifier and Type Field Description static ISequenceType
EMPTY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Occurrence
getOccurrence()
Get the occurrence of the sequence.Class<? extends IItem>
getType()
Get the type of the sequence.boolean
isEmpty()
Determine if the sequence is empty (if it holds any data) or not.String
toSignature()
Get the signature of the function as a string.
-
-
-
Field Detail
-
EMPTY
@NonNull static final ISequenceType EMPTY
-
-
Method Detail
-
isEmpty
boolean isEmpty()
Determine if the sequence is empty (if it holds any data) or not.- Returns:
true
if the sequence is empty orfalse
otherwise
-
getType
Class<? extends IItem> getType()
Get the type of the sequence.- Returns:
- the type of the sequence or
null
if the sequence is empty
-
getOccurrence
Occurrence getOccurrence()
Get the occurrence of the sequence.- Returns:
- the occurrence of the sequence or
null
if the sequence is empty
-
toSignature
String toSignature()
Get the signature of the function as a string.- Returns:
- the signature
-
-