add method
Implementation
bool add(E element) {
int compare = _splay(element);
if (compare == 0) return false;
_addNewRoot(new _SplayTreeNode(element), compare);
return true;
}
bool add(E element) {
int compare = _splay(element);
if (compare == 0) return false;
_addNewRoot(new _SplayTreeNode(element), compare);
return true;
}