|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jogamp.gluegen.cgram.types.TypeDictionary
public class TypeDictionary
Utility class for recording names of typedefs and structs.
Constructor Summary | |
---|---|
TypeDictionary()
|
Method Summary | |
---|---|
boolean |
containsKey(String key)
|
boolean |
containsValue(Type value)
|
Set<Map.Entry<String,Type>> |
entrySet()
|
Type |
get(String name)
Get the type corresponding to the given name. |
boolean |
isEmpty()
|
Set<String> |
keySet()
Get all the names that map to Types. |
Type |
put(String name,
Type type)
Create a mapping from a type to its name. |
Type |
remove(String name)
Remove the mapping from the specified name to its associated type. |
Collection<Type> |
values()
Returns a collection of all the Types in the dictionary that are mapped via typedefs names. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeDictionary()
Method Detail |
---|
public Type put(String name, Type type)
name
- the name to which the type is definedtype
- the type that can be referred to by the specified name.public Type get(String name)
public Type remove(String name)
public Set<String> keySet()
public Set<Map.Entry<String,Type>> entrySet()
public boolean containsKey(String key)
public boolean containsValue(Type value)
public boolean isEmpty()
public Collection<Type> values()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |