Modifier and Type | Method and Description |
---|---|
void |
Cell.addAddressPrefix(Address reference)
Changes the Address of every OperationSequence by adding the given
Address at the begin of their Addresses
|
void |
Result.addAddressPrefix(Address reference)
Changes the Address of every OperationSequence by adding the given
Address at the begin of their Addresses
|
Modifier and Type | Method and Description |
---|---|
Address |
Operation.getAddress()
Returns a copy of the Address where the Operation should be made
|
Modifier and Type | Method and Description |
---|---|
void |
Operation.addAddressPrefix(Address prefix)
Puts the prefix given at the begin of the Address of the Operation
|
void |
OperationSequence.addAddressPrefix(Address reference)
Changes the Address of every Operations of the Sequence by adding the
given Address at the begin of their Addresses
|
int |
OperationSequence.getAddressOffset(Address address)
Calculates the offset generated by the making of the operation already
done when the next one to be added will be make.
|
void |
Operation.setAddress(Address address)
Changes the Address of the Operation with the one given
|
Constructor and Description |
---|
AddMinimalTreeOperation(Address address,
java.lang.Character header,
TreeSchema ts)
Constructor of the operations ReplaceTreeOperation
|
CorrectTreeOperation(Address address,
java.lang.Character header,
Result result)
Constructor of the operations CorrectTreeOperation when corrections are
minimal
|
CorrectTreeOperation(Address address,
java.lang.Character header,
Result result,
boolean minimal)
Constructor of the operations CorrectTreeOperation when correction aren't
minimal
|
Constructor and Description |
---|
AddNodeOperation(Address address,
java.lang.Character header)
Constructor of the operation AddNodeOperation
|
RelabelNodeOperation(Address address,
java.lang.Character header)
Constructor of the operation RelabelNodeOperation
|
RemoveNodeOperation(Address address)
Constructor of the operation RemoveNodeOperation
|
Constructor and Description |
---|
AddTreeOperation(Address address,
Tree tree)
Constructor of the operations ReplaceTreeOperation
|
RemoveTreeOperation(Address address)
Constructor of the operation RemoveTreeOperation
|
ReplaceTreeOperation(Address address,
Tree tree,
Result result)
Constructor of the operations ReplaceTreeOperation
|
Modifier and Type | Method and Description |
---|---|
Address |
Address.getChildAddress(int i)
Returns the Address of the Child at the given position
|
Address |
Address.getFatherAddress()
Returns the address of the father if it exists
|
Modifier and Type | Method and Description |
---|---|
void |
Tree.addNode(Address address,
java.lang.Character header)
Creates a Node using the string parameter as Header
Add the new Node at the Address given If the Address is already used, it push every other Node to the right |
void |
Address.addPrefix(Address prefix)
Changes the start of the address by using the given Address and adding it
to the current one.
|
void |
Tree.addTree(Address address,
Tree tree)
Adds the Tree at the Address given
|
Node |
Tree.getNode(Address address)
Returns a copy of the Node at the given address
|
Tree |
Tree.getNodeAsTree(Address address)
Returns Tree create from the Node at the address given
|
boolean |
Address.isSameLevel(Address a)
Looks if the two address are same level (exemple: 0.0.1 and 0.0.2 but not
0.1.1 and 0.0.1 or 0.1.1.0 and 0.1.1)
|
void |
Tree.relabelNode(Address address,
java.lang.Character header)
Changes the Label (Header) of the Node at the given Address with the
given Header
|
void |
Tree.removeNode(Address address)
Removes the Node at the Address given if it is a Leaf
|
void |
Tree.removeTree(Address address)
Removes the Node at the Address given even if it isn't a Leaf
|
void |
Tree.replaceTree(Address address,
Tree tree)
Replace the Node and its children at the given Address with the tree
given
|
Constructor and Description |
---|
Address(Address address)
Creates an instance of Address by copying the given address
|