|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.umd.cs.findbugs.ba.LockCount
public class LockCount
Dataflow value for representing the number of locks held.
LockCountAnalysis| Field Summary | |
|---|---|
static int |
BOTTOM
Bottom value. |
private int |
count
|
static int |
TOP
Top value. |
| Constructor Summary | |
|---|---|
LockCount(int count)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getCount()
Get the lock count. |
boolean |
isBottom()
Is this the bottom value? |
boolean |
isTop()
Is this the top value? |
void |
setCount(int count)
Set the lock count. |
java.lang.String |
toString()
Convert to string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private int count
public static final int TOP
public static final int BOTTOM
| Constructor Detail |
|---|
public LockCount(int count)
count - the lock count, or the special TOP or BOTTOM values| Method Detail |
|---|
public int getCount()
public void setCount(int count)
count - the lock countpublic boolean isTop()
public boolean isBottom()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||