@Deprecated public class ConstantSet extends AbstractSet<Constant>
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object o)
Deprecated.
|
Constant |
getConstant(int value)
Deprecated.
Gets the constant for a name.
|
Constant |
getConstant(String name)
Deprecated.
Gets the constant for a name.
|
static ConstantSet |
getConstantSet(String name)
Deprecated.
Gets a ConstantSet
|
String |
getName(int value)
Deprecated.
Gets the name of a platform constant value.
|
int |
getValue(String name)
Deprecated.
Gets the integer value of a platform constant.
|
Iterator<Constant> |
iterator()
Deprecated.
|
static void |
main(String[] args)
Deprecated.
|
long |
maxValue()
Deprecated.
|
long |
minValue()
Deprecated.
|
int |
size()
Deprecated.
|
equals, hashCode, removeAlladd, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, clear, containsAll, isEmpty, remove, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic static ConstantSet getConstantSet(String name)
name - The name of the constant set to get.public Constant getConstant(String name)
name - The name of the system constant (e.g. "EINVAL").Constant instance.public Constant getConstant(int value)
value - The name of the system constant (e.g. "EINVAL").Constant instance.public int getValue(String name)
name - The name of the platform constant to look up (e.g. "EINVAL").public String getName(int value)
value - The integer value to look up.public long minValue()
public long maxValue()
public int size()
size in interface Collection<Constant>size in interface Set<Constant>size in class AbstractCollection<Constant>public boolean contains(Object o)
contains in interface Collection<Constant>contains in interface Set<Constant>contains in class AbstractCollection<Constant>public static void main(String[] args)
Copyright © 2017. All Rights Reserved.