|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectpt.ist.fenixframework.core.AbstractDomainObject
pt.ist.fenixframework.core.adt.bplustree.BPlusTreeArray_Base
pt.ist.fenixframework.core.adt.bplustree.BPlusTreeArray<T>
public class BPlusTreeArray<T extends AbstractDomainObject>
Implementation of a persistence-independent B+Tree that is specifically optimized to store
instances of AbstractDomainObject. This implementation is modelled in DML and can be
used with any backend.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class pt.ist.fenixframework.core.AbstractDomainObject |
|---|
AbstractDomainObject.SerializedForm |
| Field Summary |
|---|
| Fields inherited from class pt.ist.fenixframework.core.adt.bplustree.BPlusTreeArray_Base |
|---|
BPlusTreeArrayHasRootNode, role$$root |
| Constructor Summary | |
|---|---|
BPlusTreeArray()
|
|
| Method Summary | ||
|---|---|---|
boolean |
add(T e)
|
|
boolean |
addAll(Collection<? extends T> c)
|
|
void |
clear()
|
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
boolean |
containsKey(Comparable key)
Returns true if this map contains a mapping for the specified key. |
|
String |
dump(int level,
boolean dumpKeysOnly,
boolean dumpNodeIds)
|
|
T |
get(Comparable key)
Returns the value to which the specified key is mapped, or null if this map
contains no mapping for the key. |
|
T |
getIndex(int index)
Return the value at the index-th position (zero-based). |
|
boolean |
insert(T value)
Inserts the given value. |
|
boolean |
isEmpty()
|
|
Iterator |
iterator()
|
|
boolean |
myEquals(BPlusTreeArray other)
|
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection<?> c)
|
|
T |
removeIndex(int index)
Remove and return the value at the index-th position (zero-based). |
|
boolean |
removeKey(Comparable key)
Removes the element with the given key |
|
boolean |
retainAll(Collection<?> c)
|
|
int |
size()
Returns the number of key-value mappings in this map |
|
Object[] |
toArray()
|
|
|
toArray(T[] a)
|
|
| Methods inherited from class pt.ist.fenixframework.core.adt.bplustree.BPlusTreeArray_Base |
|---|
getRoot, hasRoot, removeRoot, setRoot |
| Methods inherited from class pt.ist.fenixframework.core.AbstractDomainObject |
|---|
ensureOid, equals, getExternalId, getOid, hashCode, makeSerializedForm, toString, writeReplace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public BPlusTreeArray()
| Method Detail |
|---|
public boolean insert(T value)
public boolean removeKey(Comparable key)
public T get(Comparable key)
null if this map
contains no mapping for the key.
public T getIndex(int index)
public T removeIndex(int index)
public boolean containsKey(Comparable key)
true if this map contains a mapping for the specified key.
public int size()
size in interface Collection<T extends AbstractDomainObject>size in interface Set<T extends AbstractDomainObject>
public String dump(int level,
boolean dumpKeysOnly,
boolean dumpNodeIds)
public Iterator iterator()
iterator in interface Iterable<T extends AbstractDomainObject>iterator in interface Collection<T extends AbstractDomainObject>iterator in interface Set<T extends AbstractDomainObject>public boolean myEquals(BPlusTreeArray other)
public boolean add(T e)
add in interface Collection<T extends AbstractDomainObject>add in interface Set<T extends AbstractDomainObject>public boolean remove(Object o)
remove in interface Collection<T extends AbstractDomainObject>remove in interface Set<T extends AbstractDomainObject>public boolean contains(Object o)
contains in interface Collection<T extends AbstractDomainObject>contains in interface Set<T extends AbstractDomainObject>public boolean addAll(Collection<? extends T> c)
addAll in interface Collection<T extends AbstractDomainObject>addAll in interface Set<T extends AbstractDomainObject>public void clear()
clear in interface Collection<T extends AbstractDomainObject>clear in interface Set<T extends AbstractDomainObject>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<T extends AbstractDomainObject>containsAll in interface Set<T extends AbstractDomainObject>public boolean isEmpty()
isEmpty in interface Collection<T extends AbstractDomainObject>isEmpty in interface Set<T extends AbstractDomainObject>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<T extends AbstractDomainObject>removeAll in interface Set<T extends AbstractDomainObject>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<T extends AbstractDomainObject>retainAll in interface Set<T extends AbstractDomainObject>public Object[] toArray()
toArray in interface Collection<T extends AbstractDomainObject>toArray in interface Set<T extends AbstractDomainObject>public <T> T[] toArray(T[] a)
toArray in interface Collection<T extends AbstractDomainObject>toArray in interface Set<T extends AbstractDomainObject>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||