io.sirix.index.redblacktree.interfaces.MutableRBNodeKey Maven / Gradle / Ivy
package io.sirix.index.redblacktree.interfaces;
/**
* Mutable RBNode.
*
* @author Johannes Lichtenberger
*
*/
public interface MutableRBNodeKey> extends ImmutableRBNodeKey {
/**
* Set the key.
*
* @param key key to set
*/
void setKey(K key);
/**
* Set left child.
*
* @param left child pointer
*/
void setLeftChildKey(long left);
/**
* Set right child.
*
* @param right child pointer
*/
void setRightChildKey(long right);
/**
* Flag which determines if node is changed.
*
* @param changed flag which indicates if node is changed or not
*/
void setChanged(boolean changed);
}