|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.starhope.appius.sql.SQLPeerList<T>
T
- the type (implementing SQLPeerListElement) of the contents
of this listpublic abstract class SQLPeerList<T extends SQLPeerListElement>
WRITEME: The documentation for this type (SQLPeerList) is incomplete. (brpocock@star-hope.org, Jan 12, 2010)
Field Summary | |
---|---|
private com.whirlycott.cache.Cache<Long,T> |
cache
WRITEME: document this field (brpocock@star-hope.org, Jan 12, 2010) cache (SQLPeerList) |
Constructor Summary | |
---|---|
protected |
SQLPeerList(int cacheSize,
String cacheName)
WRITEME |
Method Summary | ||
---|---|---|
boolean |
add(T element)
This is an overriding method. |
|
boolean |
addAll(Collection<? extends T> set)
This is an overriding method. |
|
void |
clear()
This is an overriding method. |
|
void |
clearCache()
WRITEME: document this method (brpocock@star-hope.org, Jan 12, 2010) |
|
boolean |
contains(Object o)
This is an overriding method. |
|
boolean |
containsAll(Collection<?> arg0)
This is an overriding method. |
|
private T |
fetch(T element)
Pull an element from the database, if it is on this list |
|
boolean |
isEmpty()
This is an overriding method. |
|
Iterator<T> |
iterator()
This is an overriding method. |
|
boolean |
remove(Object arg0)
This is an overriding method. |
|
boolean |
removeAll(Collection<?> arg0)
This is an overriding method. |
|
boolean |
retainAll(Collection<?> arg0)
This is an overriding method. |
|
int |
size()
This is an overriding method. |
|
protected abstract PreparedStatement |
sqlInsertStatment(Connection con)
|
|
protected abstract PreparedStatement |
sqlSelectCount(Connection con)
|
|
T[] |
toArray()
This is an overriding method. |
|
|
toArray(S[] arg0)
This is an overriding method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Collection |
---|
equals, hashCode |
Field Detail |
---|
private final com.whirlycott.cache.Cache<Long,T extends SQLPeerListElement> cache
Constructor Detail |
---|
protected SQLPeerList(int cacheSize, String cacheName)
cacheSize
- WRITEMEcacheName
- WRITEMEMethod Detail |
---|
public boolean add(T element)
add
in interface Collection<T extends SQLPeerListElement>
Collection.add(java.lang.Object)
public boolean addAll(Collection<? extends T> set)
addAll
in interface Collection<T extends SQLPeerListElement>
Collection.addAll(java.util.Collection)
public void clear()
clear
in interface Collection<T extends SQLPeerListElement>
Collection.clear()
public void clearCache()
public boolean contains(Object o)
contains
in interface Collection<T extends SQLPeerListElement>
Collection.contains(java.lang.Object)
public boolean containsAll(Collection<?> arg0)
containsAll
in interface Collection<T extends SQLPeerListElement>
Collection.containsAll(java.util.Collection)
private T fetch(T element)
element
- WRITEME
public boolean isEmpty()
isEmpty
in interface Collection<T extends SQLPeerListElement>
Collection.isEmpty()
public Iterator<T> iterator()
iterator
in interface Iterable<T extends SQLPeerListElement>
iterator
in interface Collection<T extends SQLPeerListElement>
Collection.iterator()
public boolean remove(Object arg0)
remove
in interface Collection<T extends SQLPeerListElement>
Collection.remove(java.lang.Object)
public boolean removeAll(Collection<?> arg0)
removeAll
in interface Collection<T extends SQLPeerListElement>
Collection.removeAll(java.util.Collection)
public boolean retainAll(Collection<?> arg0)
retainAll
in interface Collection<T extends SQLPeerListElement>
Collection.retainAll(java.util.Collection)
public int size()
size
in interface Collection<T extends SQLPeerListElement>
Collection.size()
protected abstract PreparedStatement sqlInsertStatment(Connection con)
con
- a database connection
protected abstract PreparedStatement sqlSelectCount(Connection con)
con
- a database connection
public T[] toArray()
toArray
in interface Collection<T extends SQLPeerListElement>
Collection.toArray()
public <S> S[] toArray(S[] arg0)
toArray
in interface Collection<T extends SQLPeerListElement>
java.util.Collection#toArray(S[])
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |