public class MultiRange extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
contains(double value)
Determine if a value is within one of the ranges of this multirange.
|
static MultiRange |
fromString(String s)
Initialize a multirange from a string specification, e.g.
|
public static MultiRange fromString(String s)
s
- a string specifying rangespublic boolean contains(double value)
value
- a value to checkCopyright © 2022. All rights reserved.