pt.ist.fenixframework.core.adt.bplustree
Class LeafNode
java.lang.Object
pt.ist.fenixframework.core.AbstractDomainObject
pt.ist.fenixframework.core.adt.bplustree.AbstractNode_Base
pt.ist.fenixframework.core.adt.bplustree.AbstractNode
pt.ist.fenixframework.core.adt.bplustree.LeafNode_Base
pt.ist.fenixframework.core.adt.bplustree.LeafNode
- All Implemented Interfaces:
- Serializable, Iterable, DomainObject
public class LeafNode
- extends LeafNode_Base
- See Also:
- Serialized Form
LeafNode
public LeafNode()
insert
public AbstractNode insert(Comparable key,
AbstractDomainObject value)
- Description copied from class:
AbstractNode
- Inserts the given key-value pair and returns the (possibly new) root node
remove
public AbstractNode remove(Comparable key)
- Description copied from class:
AbstractNode
- Removes the element with the given key
get
public AbstractDomainObject get(Comparable key)
- Description copied from class:
AbstractNode
- Returns the value to which the specified key is mapped, or
null
if this map contains no mapping for the key.
getIndex
public AbstractDomainObject getIndex(int index)
- Description copied from class:
AbstractNode
- Returns the value at the given index
removeIndex
public AbstractNode removeIndex(int index)
- Description copied from class:
AbstractNode
- Returns the value that was removed from the given index
containsKey
public boolean containsKey(Comparable key)
- Description copied from class:
AbstractNode
- Returns
true
if this map contains a mapping for the specified key.
size
public int size()
- Description copied from class:
AbstractNode
- Returns the number os key-value mappings in this map
iterator
public Iterator<AbstractDomainObject> iterator()
dump
public String dump(int level,
boolean dumpKeysOnly,
boolean dumpNodeIds)
Copyright © 2013. All Rights Reserved.