pt.ist.fenixframework.core.adt.skiplist
Class SkipList<T extends AbstractDomainObject>
java.lang.Object
pt.ist.fenixframework.core.AbstractDomainObject
pt.ist.fenixframework.core.adt.skiplist.SkipList_Base
pt.ist.fenixframework.core.adt.skiplist.SkipList<T>
- All Implemented Interfaces:
- Serializable, Iterable<T>, Collection<T>, Set<T>, DomainObject
public class SkipList<T extends AbstractDomainObject>
- extends SkipList_Base
- implements Set<T>
- See Also:
- Serialized Form
SkipList
public SkipList()
randomLevel
protected int randomLevel()
insert
public boolean insert(T value)
removeObject
public boolean removeObject(T value)
contains
public boolean contains(T value)
iterator
public Iterator<T> iterator()
- Specified by:
iterator
in interface Iterable<T extends AbstractDomainObject>
- Specified by:
iterator
in interface Collection<T extends AbstractDomainObject>
- Specified by:
iterator
in interface Set<T extends AbstractDomainObject>
add
public boolean add(T e)
- Specified by:
add
in interface Collection<T extends AbstractDomainObject>
- Specified by:
add
in interface Set<T extends AbstractDomainObject>
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection<T extends AbstractDomainObject>
- Specified by:
remove
in interface Set<T extends AbstractDomainObject>
contains
public boolean contains(Object o)
- Specified by:
contains
in interface Collection<T extends AbstractDomainObject>
- Specified by:
contains
in interface Set<T extends AbstractDomainObject>
size
public int size()
- Specified by:
size
in interface Collection<T extends AbstractDomainObject>
- Specified by:
size
in interface Set<T extends AbstractDomainObject>
addAll
public boolean addAll(Collection<? extends T> arg0)
- Specified by:
addAll
in interface Collection<T extends AbstractDomainObject>
- Specified by:
addAll
in interface Set<T extends AbstractDomainObject>
clear
public void clear()
- Specified by:
clear
in interface Collection<T extends AbstractDomainObject>
- Specified by:
clear
in interface Set<T extends AbstractDomainObject>
containsAll
public boolean containsAll(Collection<?> arg0)
- Specified by:
containsAll
in interface Collection<T extends AbstractDomainObject>
- Specified by:
containsAll
in interface Set<T extends AbstractDomainObject>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection<T extends AbstractDomainObject>
- Specified by:
isEmpty
in interface Set<T extends AbstractDomainObject>
removeAll
public boolean removeAll(Collection<?> arg0)
- Specified by:
removeAll
in interface Collection<T extends AbstractDomainObject>
- Specified by:
removeAll
in interface Set<T extends AbstractDomainObject>
retainAll
public boolean retainAll(Collection<?> arg0)
- Specified by:
retainAll
in interface Collection<T extends AbstractDomainObject>
- Specified by:
retainAll
in interface Set<T extends AbstractDomainObject>
toArray
public Object[] toArray()
- Specified by:
toArray
in interface Collection<T extends AbstractDomainObject>
- Specified by:
toArray
in interface Set<T extends AbstractDomainObject>
toArray
public <T> T[] toArray(T[] arg0)
- Specified by:
toArray
in interface Collection<T extends AbstractDomainObject>
- Specified by:
toArray
in interface Set<T extends AbstractDomainObject>
Copyright © 2013. All Rights Reserved.