|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjef.deepCopier.impl.StatefulDeepCopier
public class StatefulDeepCopier
This class is in charge of copying chains of cp_infos from a source Constant
Pool Table to a destination Constant Pool Table.
| Constructor Summary | |
|---|---|
StatefulDeepCopier()
Creates a new instance of StatefulDeepCopier |
|
| Method Summary | |
|---|---|
int |
deepCopy(int index)
Copies the chain of cp_infos starting at index from the
srcCpt to the dstCpt. |
int |
deepCopy(int index,
boolean duplicate)
Copies the chain of cp_infos starting at index from the
srcCpt to the dstCpt. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatefulDeepCopier()
| Method Detail |
|---|
public void setSrcCpt(ConstantPoolTable cpt)
ConstantPoolTable instance, that is the
ConstantPoolTable containing the cp_info to be copied to the
destination ConstantPoolTable instance.
setSrcCpt in interface DeepCopiercpt - The source ConstantPoolTable instancepublic ConstantPoolTable getSrcCpt()
ConstantPoolTable instance, that is the
ConstantPoolTable containing the cp_info to be copied to the
destination ConstantPoolTable instance.
getSrcCpt in interface DeepCopierConstantPoolTable instancepublic void setDstCpt(ConstantPoolTable cpt)
ConstantPoolTable instance, that is the
ConstantPoolTable the cp_info-chain should be copied to.
setDstCpt in interface DeepCopiercpt - The destination ConstantPoolTable instancepublic ConstantPoolTable getDstCpt()
ConstantPoolTable instance, that is the
ConstantPoolTable the cp_info-chain should be copied to.
getDstCpt in interface DeepCopierConstantPoolTable instance
public int deepCopy(int index)
throws DeepCopyException,
java.lang.CloneNotSupportedException
DeepCopiercp_infos starting at index from the
srcCpt to the dstCpt.
deepCopy in interface DeepCopierindex - 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
public int deepCopy(int index,
boolean duplicate)
throws DeepCopyException,
java.lang.CloneNotSupportedException
cp_infos starting at index from the
srcCpt to the dstCpt.
deepCopy in interface DeepCopierindex - 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||