public final class QualityValue extends Number implements Comparable<QualityValue>
| Modifier and Type | Field and Description |
|---|---|
static QualityValue |
DEFAULT |
static QualityValue |
HIGHEST |
static QualityValue |
LOWEST |
static QualityValue |
NOT_ACCEPTABLE |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(QualityValue o) |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
boolean |
isAcceptable() |
boolean |
isPrefered() |
long |
longValue() |
static QualityValue |
valueOf(String qvalue) |
byteValue, shortValuepublic static final QualityValue NOT_ACCEPTABLE
public static final QualityValue LOWEST
public static final QualityValue HIGHEST
public static final QualityValue DEFAULT
public static QualityValue valueOf(String qvalue)
qvalue - the quality value or null if undefined.QualityValuepublic boolean isPrefered()
public boolean isAcceptable()
public int compareTo(QualityValue o)
compareTo in interface Comparable<QualityValue>public double doubleValue()
doubleValue in class Numberpublic float floatValue()
floatValue in class NumberCopyright © 2020 JBoss by Red Hat. All rights reserved.