[jdom-commits] CVS update: jdom-wip/src/java/org/jdom
joolscvs at cvs.jdom.org
joolscvs at cvs.jdom.org
Mon May 21 14:40:53 PDT 2001
Date: Monday May 21, 2001 @ 22:40
Author: joolscvs
Update of /home/cvspublic/jdom-wip/src/java/org/jdom
In directory www.nmemonix.com:/tmp/cvs-serv24310
Added Files:
SinglyLinkedListModel.java JDOMList.java ListModel.java
Log Message:
Replacement for the FilterList.
ListModel.java
This is an iterface which can be implemented
in order to provide a data model of some type.
Currently only a SinglyLinkedListModel has been
implemented as a root model but a DoublyLinkedList
could very easily be written, or maybe even a
JDBCListModel.
The ListModel also replaces the 'Filter' functionality
in that one Model can wrap around another model.
JDOMList.java
An implementation of the java.util.List interface which
uses the ListModel as it's data model.
Using JDOMList with a SinglyLinkedListModel yeilds upto
a 2 fold increase in performance when forward iterating
and adding to the end of the list. There is also a
reduction in memory usage, although I don't have a
concreate value for this just yet.
SinglyLinkedListModel.java
An implementation of the ListModel to use a SSL.
===================================================================
File: SinglyLinkedListModel.java Status: Up-to-date
Working revision: 1.1 Mon May 21 21:40:50 2001
Repository revision: 1.1 /home/cvspublic/jdom-wip/src/java/org/jdom/SinglyLinkedListModel.java,v
Existing Tags:
No Tags Exist
===================================================================
File: JDOMList.java Status: Up-to-date
Working revision: 1.1 Mon May 21 21:40:52 2001
Repository revision: 1.1 /home/cvspublic/jdom-wip/src/java/org/jdom/JDOMList.java,v
Existing Tags:
No Tags Exist
===================================================================
File: ListModel.java Status: Up-to-date
Working revision: 1.1 Mon May 21 21:40:53 2001
Repository revision: 1.1 /home/cvspublic/jdom-wip/src/java/org/jdom/ListModel.java,v
Existing Tags:
No Tags Exist
More information about the jdom-commits
mailing list