|
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 Collectionpublic boolean isEmpty()
isEmpty in interface Collectionpublic void clear()
clear in interface Collectionpublic boolean add(Object object)
add in interface Collectionpublic boolean remove(Object object)
remove in interface Collectionpublic boolean contains(Object object)
contains in interface Collectionpublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectionpublic boolean addAll(Collection collection)
addAll in interface Collectionpublic boolean containsAll(Collection collection)
containsAll in interface Collectionpublic boolean removeAll(Collection collection)
removeAll in interface Collectionpublic boolean retainAll(Collection collection)
retainAll in interface Collectionpublic Object[] toArray()
toArray in interface Collectionpublic Object[] toArray(Object[] array)
toArray in interface Collectionpublic 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 | ||||||||