public class RangeOfValues extends Object implements Cloneable, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
continueRange |
protected List |
possibleValues |
protected String |
type |
static String |
TYPE_FLOAT |
static String |
TYPE_INTEGER |
static String |
TYPE_STRING |
static String[] |
TYPES |
protected String |
values |
| Constructor and Description |
|---|
RangeOfValues(String typeValue) |
RangeOfValues(String type,
String value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(float val) |
boolean |
contains(int val) |
boolean |
contains(String val) |
String |
getAsString() |
static String[] |
getPossibleTypes() |
List |
getPossibleValues() |
String |
getType() |
String |
getValues() |
boolean |
isContinueRange() |
protected void |
setType(String type) |
protected void |
setTypeValues(String typeValues)
Change type and values.
|
protected void |
setValues(String values) |
String |
toString() |
public static final String TYPE_STRING
public static final String TYPE_INTEGER
public static final String TYPE_FLOAT
public static final String[] TYPES
protected String type
protected boolean continueRange
protected String values
protected List possibleValues
public RangeOfValues(String typeValue)
public static String[] getPossibleTypes()
public String getType()
protected void setType(String type)
type - The type to set.public String getValues()
protected void setValues(String values)
values - The values to set.public boolean isContinueRange()
protected void setTypeValues(String typeValues)
typeValues - public boolean contains(String val)
public boolean contains(int val)
public boolean contains(float val)
public List getPossibleValues()
public String getAsString()
Copyright © 1999–2013 CodeLutin. All rights reserved.