org.compass.core.util.asm.optimizer
Class ConstantPool
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.compass.core.util.asm.optimizer.ConstantPool
- All Implemented Interfaces:
- Serializable, Cloneable, Map
public class ConstantPool
- extends HashMap
A constant pool.
- Author:
- Eric Bruneton
- See Also:
- Serialized Form
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
ConstantPool
public ConstantPool()
newInteger
public Constant newInteger(int value)
newFloat
public Constant newFloat(float value)
newLong
public Constant newLong(long value)
newDouble
public Constant newDouble(double value)
newUTF8
public Constant newUTF8(String value)
newClass
public Constant newClass(String value)
newConst
public Constant newConst(Object cst)
newField
public Constant newField(String owner,
String name,
String desc)
newMethod
public Constant newMethod(String owner,
String name,
String desc,
boolean itf)
newNameType
public Constant newNameType(String name,
String desc)
Copyright (c) 2004-2008 The Compass Project.