public static class Configuration.IntegerRanges extends Object implements Iterable<Integer>
Constructor and Description |
---|
IntegerRanges() |
IntegerRanges(String newValue) |
Modifier and Type | Method and Description |
---|---|
int |
getRangeStart()
Get range start for the first integer range.
|
boolean |
isEmpty() |
boolean |
isIncluded(int value)
Is the given value in the set of ranges
|
Iterator<Integer> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public IntegerRanges()
public IntegerRanges(String newValue)
public boolean isIncluded(int value)
value
- the value to checkpublic boolean isEmpty()
public int getRangeStart()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.