ozone core API

org.ozoneDB.DxLib
Class DxListBag

java.lang.Object
  |
  +--org.ozoneDB.DxLib.DxObject
        |
        +--org.ozoneDB.DxLib.DxAbstractCollection
              |
              +--org.ozoneDB.DxLib.DxAbstractBag
                    |
                    +--org.ozoneDB.DxLib.DxListBag
All Implemented Interfaces:
java.lang.Cloneable, DxBag, DxCollection, DxCompatible, DxListCollection, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
DxListDeque, DxMultiServer

public class DxListBag
extends DxAbstractBag
implements DxListCollection

See Also:
Serialized Form

Field Summary
protected  int itemCount
           
(package private) static long serialVersionUID
           
protected  DxListNode start
           
protected  DxListNode top
           
 
Constructor Summary
DxListBag()
           
 
Method Summary
 boolean add(java.lang.Object obj)
           
 boolean addBack(java.lang.Object obj)
           
 boolean addFront(java.lang.Object obj)
           
 void clear()
           
 int count()
           
 void decCounter()
           
 DxListNode head()
           
 boolean isEmpty()
           
 DxIterator iterator()
           
 DxListNode tail()
           
 
Methods inherited from class org.ozoneDB.DxLib.DxAbstractBag
equals
 
Methods inherited from class org.ozoneDB.DxLib.DxAbstractCollection
addAll, addAll, clone, contains, containsAll, readExternal, remove, removeAll, toArray, valueClone, writeExternal
 
Methods inherited from class org.ozoneDB.DxLib.DxObject
clone, isLess
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.DxLib.DxCollection
addAll, addAll, clone, contains, containsAll, remove, removeAll, toArray, valueClone
 
Methods inherited from interface org.ozoneDB.DxLib.DxCompatible
equals, isLess
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

start

protected transient DxListNode start

top

protected transient DxListNode top

itemCount

protected transient int itemCount
Constructor Detail

DxListBag

public DxListBag()
Method Detail

add

public boolean add(java.lang.Object obj)
Specified by:
add in interface DxCollection
Overrides:
add in class DxAbstractBag

addFront

public boolean addFront(java.lang.Object obj)
Specified by:
addFront in interface DxBag

addBack

public boolean addBack(java.lang.Object obj)
Specified by:
addBack in interface DxBag
Overrides:
addBack in class DxAbstractBag

iterator

public DxIterator iterator()
Specified by:
iterator in interface DxCollection

count

public int count()
Specified by:
count in interface DxCollection

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface DxCollection

clear

public void clear()
Specified by:
clear in interface DxCollection

head

public DxListNode head()
Specified by:
head in interface DxListCollection

tail

public DxListNode tail()
Specified by:
tail in interface DxListCollection

decCounter

public void decCounter()
Specified by:
decCounter in interface DxListCollection

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.