public class Range
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LSB |
static int |
DEFAULT_MSB |
int |
lsb
Deprecated.
|
java.lang.Double |
max |
java.lang.Double |
min |
int |
msb
Deprecated.
|
java.lang.String |
title |
Constructor and Description |
---|
Range() |
Range(java.lang.Double min,
java.lang.Double max,
java.lang.String title) |
Range(Range o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Range.
|
static Range |
fromString(java.lang.String s)
String representation of this Range.
|
int |
getLsb()
Deprecated.
|
double |
getMax()
The upper bound of the range (null means plus infinity).
|
double |
getMin()
The lower bound of the range (null means minus infinity).
|
int |
getMsb()
Deprecated.
|
java.lang.String |
getTitle() |
Range |
makeCopy()
Creates and returns a deep copy of this Range.
|
static Range |
readFrom(java.io.InputStream is)
Read this Range from an XML fragment.
|
void |
setLsb(int lsb)
Deprecated.
|
void |
setMax(double max)
The upper bound of the range (null means plus infinity).
|
void |
setMax(java.lang.Double max)
The upper bound of the range (null means plus infinity).
|
void |
setMin(double min)
The lower bound of the range (null means minus infinity).
|
void |
setMin(java.lang.Double min)
The lower bound of the range (null means minus infinity).
|
void |
setMsb(int msb)
Deprecated.
|
void |
setTitle(java.lang.String title) |
java.lang.String |
toString()
String representation of this Range.
|
Range |
withLsb(int lsb)
Deprecated.
|
Range |
withLsb(java.lang.Integer lsb)
Deprecated.
|
Range |
withMax(double max) |
Range |
withMax(java.lang.Double max) |
Range |
withMin(double min) |
Range |
withMin(java.lang.Double min) |
Range |
withMsb(int msb)
Deprecated.
|
Range |
withMsb(java.lang.Integer msb)
Deprecated.
|
Range |
withTitle(java.lang.String title) |
void |
writeTo(java.io.OutputStream os)
Write this Range as an XML fragment
|
public java.lang.Double min
public java.lang.Double max
@Deprecated public int lsb
public static final int DEFAULT_LSB
@Deprecated public int msb
public static final int DEFAULT_MSB
public java.lang.String title
public Range()
public Range(java.lang.Double min, java.lang.Double max, java.lang.String title)
public Range(Range o)
public void setMin(double min)
public void setMin(java.lang.Double min)
public double getMin()
public Range withMin(java.lang.Double min)
public Range withMin(double min)
public void setMax(double max)
public void setMax(java.lang.Double max)
public double getMax()
public Range withMax(java.lang.Double max)
public Range withMax(double max)
@Deprecated public void setLsb(int lsb)
@Deprecated public int getLsb()
@Deprecated public Range withLsb(int lsb)
@Deprecated public Range withLsb(java.lang.Integer lsb)
@Deprecated public void setMsb(int msb)
@Deprecated public int getMsb()
@Deprecated public Range withMsb(int msb)
@Deprecated public Range withMsb(java.lang.Integer msb)
public void setTitle(java.lang.String title)
public java.lang.String getTitle()
public Range withTitle(java.lang.String title)
public Range makeCopy()
public static Range readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static Range fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.