public class ObligationSet
extends java.lang.Object
See Weimer and Necula, Finding and preventing run-time error handling mistakes, OOPSLA 2004.
Constructor and Description |
---|
ObligationSet(ObligationFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
add(Obligation obligation) |
void |
copyFrom(ObligationSet other) |
ObligationSet |
duplicate() |
boolean |
equals(java.lang.Object o) |
int |
getCount(int id) |
int |
hashCode() |
boolean |
isEmpty() |
void |
remove(Obligation obligation) |
java.lang.String |
toString() |
public ObligationSet(ObligationFactory factory)
public boolean isEmpty()
public void add(Obligation obligation)
public void remove(Obligation obligation)
public int getCount(int id)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void copyFrom(ObligationSet other)
public ObligationSet duplicate()
public int hashCode()
hashCode
in class java.lang.Object
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.