* @param child
* Child node that belongs to this key
* @return Temporary node
*/
protected final static<T> Node createTemporaryNode(final String key, final Node child) {
final RBNode temporaryNode = new RBNode();
temporaryNode.increaseArraySizes(0, 1);
temporaryNode.setContent(0, key);
temporaryNode.setChild(0, child);
if (child != null){
temporaryNode.numberOfEntries = child.getNumberOfEntries();
} else {
temporaryNode.numberOfEntries = 1;