net.sf.joost.stx
Class SAXEvent.Counter

java.lang.Object
  extended by net.sf.joost.stx.SAXEvent.Counter
Enclosing class:
SAXEvent

private final class SAXEvent.Counter
extends Object

This class replaces java.lang.Long for counting because I need to change the wrapped value and want to avoid the creation of a new object in each increment. Is this really better (faster)?


Field Summary
 long value
           
 
Constructor Summary
SAXEvent.Counter()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public long value
Constructor Detail

SAXEvent.Counter

public SAXEvent.Counter()