| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.Object o) |
Constant |
getConstant(long value)
Gets the constant for a value.
|
Constant |
getConstant(java.lang.String name)
Gets the constant for a name.
|
static ConstantSet |
getConstantSet(java.lang.String name)
Gets a ConstantSet
|
java.lang.String |
getName(int value)
Gets the name of a platform constant value.
|
long |
getValue(java.lang.String name)
Gets the integer value of a platform constant.
|
java.util.Iterator<Constant> |
iterator() |
static void |
main(java.lang.String[] args) |
long |
maxValue()
Returns the maximum value in this ConstantSet
|
long |
minValue()
Returns the minimum value in this ConstantSet
|
int |
size() |
add, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static ConstantSet getConstantSet(java.lang.String name)
name - The name of the constant set to get.public final Constant getConstant(java.lang.String name)
name - The name of the system constant (e.g. "EINVAL").Constant instance.public Constant getConstant(long value)
value - A system constant value.Constant instance.public long getValue(java.lang.String name)
name - The name of the platform constant to look up (e.g. "EINVAL").public java.lang.String getName(int value)
value - The integer value to look up.public long minValue()
public long maxValue()
public java.util.Iterator<Constant> iterator()
public int size()
public boolean contains(java.lang.Object o)
public static void main(java.lang.String[] args)
Copyright © 2020. All Rights Reserved.