Package com.ibm.icu.util
Class CodePointMap.Range
- java.lang.Object
-
- com.ibm.icu.util.CodePointMap.Range
-
- Enclosing class:
- CodePointMap
public static final class CodePointMap.Range extends Object
Range iteration result data. Code points from start to end map to the same value. The value may have been modified byCodePointMap.ValueFilter.apply(int), or it may be the surrogateValue if a RangeOption other than "normal" was used.- See Also:
CodePointMap.getRange(int, com.ibm.icu.util.CodePointMap.ValueFilter, com.ibm.icu.util.CodePointMap.Range),CodePointMap.iterator()- Status:
- Stable ICU 63.
-
-
Constructor Summary
Constructors Constructor Description Range()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEnd()intgetStart()intgetValue()voidset(int start, int end, int value)Sets the range.
-
-
-
Method Detail
-
getStart
public int getStart()
- Returns:
- the start code point
- Status:
- Stable ICU 63.
-
getEnd
public int getEnd()
- Returns:
- the (inclusive) end code point
- Status:
- Stable ICU 63.
-
getValue
public int getValue()
- Returns:
- the range value
- Status:
- Stable ICU 63.
-
set
public void set(int start, int end, int value)Sets the range. When usingCodePointMap.iterator(), iteration will resume after the newly set end.- Parameters:
start- new start code pointend- new end code pointvalue- new value- Status:
- Stable ICU 63.
-
-