|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.byteman.synchronization.Counter
public class Counter
class used to associate a counter value with a given object
| Field Summary | |
|---|---|
private int |
count
|
| Constructor Summary | |
|---|---|
Counter()
|
|
Counter(int count)
|
|
| Method Summary | |
|---|---|
int |
count()
for backwards compatibility |
int |
count(boolean zero)
|
int |
decrement()
|
int |
increment()
|
int |
increment(int amount)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int count
| Constructor Detail |
|---|
public Counter()
public Counter(int count)
| Method Detail |
|---|
public int count()
public int count(boolean zero)
public int increment()
public int increment(int amount)
public int decrement()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||