| Modifier and Type | Method | Description | 
|---|---|---|
String | 
getAlphaPart() | 
 Get the current alphabetical part. 
 | 
BigInteger | 
getNumberPartAsBigInteger() | 
 Get the current numeric part, as a  
BigInteger. | 
int | 
getNumberPartAsInt() | 
 Get the current numeric part, as an  
int. | 
long | 
getNumberPartAsLong() | 
 Get the current numeric part, as a  
long. | 
String | 
getNumberPartAsString() | 
 Get the current numeric part, as a  
String. | 
int | 
getSeparatorCodePoint() | 
 Get the code point of the current separator. 
 | 
boolean | 
hasNext() | 
 Determine whether another token exists in this version. 
 | 
boolean | 
isAlphaPart() | 
 Determine if the current token is an alphabetical part. 
 | 
boolean | 
isEmptySeparator() | 
 Determine if the current token is an empty (or zero-length alphabetical-to-numeric
 or numeric-to-alphabetical) separator. 
 | 
boolean | 
isNonEmptySeparator() | 
 Determine if the current token is a non-empty separator. 
 | 
boolean | 
isNumberPart() | 
 Determine if the current token is a numeric part. 
 | 
boolean | 
isPart() | 
 Determine if the current token is some kind of part (alphabetical or numeric). 
 | 
boolean | 
isSeparator() | 
 Determine if the current token is some kind of separator (a character or a zero-length alphabetical-to-numeric
 or numeric-to-alphabetical transition). 
 | 
int | 
length() | 
 Get the length of the current token. 
 | 
void | 
next() | 
 Move to the next token. 
 | 
public boolean hasNext()
true if more tokens remain, false otherwisepublic void next()
NoSuchElementException - if there are no more tokens to iteratepublic int length()
public boolean isSeparator()
true if the token is a separator, false otherwisepublic boolean isPart()
true if the token is a separator, false otherwisepublic boolean isEmptySeparator()
true if the token is an empty separator, false otherwisepublic boolean isNonEmptySeparator()
true if the token is a non-empty separator, false otherwisepublic int getSeparatorCodePoint()
isNonEmptySeparator() returns false), then an exception is thrown.IllegalStateException - if the current token is not a non-empty separatorpublic boolean isAlphaPart()
true if the token is an alphabetical part, false otherwisepublic boolean isNumberPart()
true if the token is a numeric part, false otherwisepublic String getAlphaPart()
isAlphaPart() returns false), then an exception is thrown.IllegalStateException - if the current token is not an alphabetical partpublic String getNumberPartAsString()
String.  If the iterator is not positioned on a numeric
 part (i.e. isNumberPart() returns false), then an exception is thrown.StringIllegalStateException - if the current token is not a numeric partpublic long getNumberPartAsLong()
long.  If the iterator is not positioned on a numeric
 part (i.e. isNumberPart() returns false), then an exception is thrown.  If the value
 overflows the maximum value for a long, then only the low-order 64 bits of the version number
 value are returned.longIllegalStateException - if the current token is not a numeric partpublic int getNumberPartAsInt()
int.  If the iterator is not positioned on a numeric
 part (i.e. isNumberPart() returns false), then an exception is thrown.  If the value
 overflows the maximum value for an int, then only the low-order 32 bits of the version number
 value are returned.intIllegalStateException - if the current token is not a numeric partpublic BigInteger getNumberPartAsBigInteger()
BigInteger.  If the iterator is not positioned on a numeric
 part (i.e. isNumberPart() returns false), then an exception is thrown.BigIntegerIllegalStateException - if the current token is not a numeric partCopyright © 2022 JBoss by Red Hat. All rights reserved.