org.apache.myfaces.shared_tomahawk.trace
Class TracingIterator<E>
java.lang.Object
   org.apache.myfaces.shared_tomahawk.trace.TracingIterator<E>
org.apache.myfaces.shared_tomahawk.trace.TracingIterator<E>
- All Implemented Interfaces: 
- Iterator<E>
- public class TracingIterator<E> 
- extends Object- implements Iterator<E>
Trace method calls to an iterator
- Version:
- $Revision: 676197 $ $Date: 2008-07-12 11:07:17 -0500 (Sat, 12 Jul 2008) $
- Author:
- Mathias Broekelmann (latest modification by $Author: skitching $)
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
TracingIterator
public TracingIterator(Iterator<E> iterator)
create
public static <E> TracingIterator<E> create(Iterator<E> iterator)
- 
 
- 
 
getIterator
public Iterator<E> getIterator()
- 
 
- 
- Returns:
- the iterator
 
hasNext
public boolean hasNext()
- 
- Specified by:
- hasNextin interface- Iterator<E>
 
- 
 
next
public E next()
- 
- Specified by:
- nextin interface- Iterator<E>
 
- 
 
remove
public void remove()
- 
- Specified by:
- removein interface- Iterator<E>
 
- 
 
getLevel
public Level getLevel()
- 
 
- 
- Returns:
- See Also:
- TracingSupport.getLevel()
 
getLogger
public Logger getLogger()
- 
 
- 
- Returns:
- See Also:
- TracingSupport.getLogger()
 
getSourceClass
public String getSourceClass()
- 
 
- 
- Returns:
- See Also:
- TracingSupport.getSourceClass()
 
setLevel
public void setLevel(Level level)
- 
 
- 
- Parameters:
- level-
- See Also:
- TracingSupport.setLevel(java.util.logging.Level)
 
setLogger
public void setLogger(Logger logger)
- 
 
- 
- Parameters:
- logger-
- See Also:
- TracingSupport.setLogger(java.util.logging.Logger)
 
setSourceClass
public void setSourceClass(String className)
- 
 
- 
- Parameters:
- className-
- See Also:
- TracingSupport.setSourceClass(java.lang.String)
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.