|
Plexus v0.13.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.phoenixst.collections.LoggingCollection
public class LoggingCollection
A Collection
which wraps another to provide logging
support.
Constructor Summary | |
---|---|
LoggingCollection(Collection delegate)
Creates a new LoggingCollection which
logs to a category corresponding to this class at
the DEBUG level. |
|
LoggingCollection(Collection delegate,
org.apache.log4j.Logger logger)
Creates a new LoggingCollection which uses
the specified log at the DEBUG level. |
|
LoggingCollection(Collection delegate,
org.apache.log4j.Logger logger,
org.apache.log4j.Level level)
Creates a new LoggingCollection . |
Method Summary | |
---|---|
boolean |
add(Object object)
|
boolean |
addAll(Collection collection)
|
void |
clear()
|
boolean |
contains(Object object)
|
boolean |
containsAll(Collection collection)
|
protected Collection |
getDelegate()
Provides access to internal state so it can be used by extensions of this class. |
protected org.apache.log4j.Level |
getLevel()
Provides access to internal state so it can be used by extensions of this class. |
protected org.apache.log4j.Logger |
getLogger()
Provides access to internal state so it can be used by extensions of this class. |
boolean |
isEmpty()
|
Iterator |
iterator()
|
boolean |
remove(Object object)
|
boolean |
removeAll(Collection collection)
|
boolean |
retainAll(Collection collection)
|
int |
size()
|
Object[] |
toArray()
|
Object[] |
toArray(Object[] array)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
---|
equals, hashCode |
Constructor Detail |
---|
public LoggingCollection(Collection delegate)
LoggingCollection
which
logs to a category corresponding to this class at
the DEBUG level.
public LoggingCollection(Collection delegate, org.apache.log4j.Logger logger)
LoggingCollection
which uses
the specified log at the DEBUG level.
public LoggingCollection(Collection delegate, org.apache.log4j.Logger logger, org.apache.log4j.Level level)
LoggingCollection
.
Method Detail |
---|
protected final Collection getDelegate()
protected final org.apache.log4j.Logger getLogger()
protected final org.apache.log4j.Level getLevel()
public int size()
size
in interface Collection
public boolean isEmpty()
isEmpty
in interface Collection
public void clear()
clear
in interface Collection
public boolean add(Object object)
add
in interface Collection
public boolean remove(Object object)
remove
in interface Collection
public boolean contains(Object object)
contains
in interface Collection
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface Collection
public boolean addAll(Collection collection)
addAll
in interface Collection
public boolean containsAll(Collection collection)
containsAll
in interface Collection
public boolean removeAll(Collection collection)
removeAll
in interface Collection
public boolean retainAll(Collection collection)
retainAll
in interface Collection
public Object[] toArray()
toArray
in interface Collection
public Object[] toArray(Object[] array)
toArray
in interface Collection
public String toString()
toString
in class Object
|
Plexus v0.13.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |