|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeepCopier
Concrete classes implementing this interface are in charge of copying chains of
cp_info
s from a source Constant Pool Table to a destination Constant
Pool Table.
Method Summary | |
---|---|
int |
deepCopy(int index)
Copies the chain of cp_info s starting at index from the
srcCpt to the dstCpt . |
int |
deepCopy(int index,
boolean duplicate)
|
ConstantPoolTable |
getDstCpt()
Gets the destination ConstantPoolTable instance, that is the
ConstantPoolTable the cp_info -chain should be copied to. |
ConstantPoolTable |
getSrcCpt()
Gets the source ConstantPoolTable instance, that is the
ConstantPoolTable containing the cp_info to be copied to the
destination ConstantPoolTable instance. |
void |
setDstCpt(ConstantPoolTable cpt)
Sets the destination ConstantPoolTable instance, that is the
ConstantPoolTable the cp_info -chain should be copied to. |
void |
setSrcCpt(ConstantPoolTable cpt)
Sets the source ConstantPoolTable instance, that is the
ConstantPoolTable containing the cp_info to be copied to the
destination ConstantPoolTable instance. |
Method Detail |
---|
void setSrcCpt(ConstantPoolTable cpt)
ConstantPoolTable
instance, that is the
ConstantPoolTable
containing the cp_info
to be copied to the
destination ConstantPoolTable
instance.
cpt
- The source ConstantPoolTable
instanceConstantPoolTable getSrcCpt()
ConstantPoolTable
instance, that is the
ConstantPoolTable
containing the cp_info
to be copied to the
destination ConstantPoolTable
instance.
ConstantPoolTable
instancevoid setDstCpt(ConstantPoolTable cpt)
ConstantPoolTable
instance, that is the
ConstantPoolTable
the cp_info
-chain should be copied to.
cpt
- The destination ConstantPoolTable
instanceConstantPoolTable getDstCpt()
ConstantPoolTable
instance, that is the
ConstantPoolTable
the cp_info
-chain should be copied to.
ConstantPoolTable
instanceint deepCopy(int index) throws DeepCopyException, java.lang.CloneNotSupportedException
cp_info
s starting at index
from the
srcCpt
to the dstCpt
.
index
- The index in the source ConstantPoolTable
from which the copy has
to be started
ConstantPoolTable
of the
cp_info
located at position index
in the source
ConstantPoolTable
DeepCopyException
- Unable to perform the deep copy
java.lang.CloneNotSupportedException
int deepCopy(int index, boolean duplicate) throws DeepCopyException, java.lang.CloneNotSupportedException
DeepCopyException
java.lang.CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |