- java.lang.Object
-
- org.apache.lucene.util.Counter
-
- org.apache.lucene.util.Counter.SerialCounter
-
-
Field Summary
Fields Modifier and Type Field Description private long
count
-
Constructor Summary
Constructors Modifier Constructor Description private
SerialCounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
addAndGet(long delta)
Adds the given delta to the counters current valuelong
get()
Returns the counters current value-
Methods inherited from class org.apache.lucene.util.Counter
newCounter, newCounter
-
-
-
-
Method Detail
-
addAndGet
public long addAndGet(long delta)
Description copied from class:Counter
Adds the given delta to the counters current value
-
-