Merge "ObjectIdSubclassMap: Add isEmpty() method"
This commit is contained in:
commit
f1be93eb87
|
@ -135,6 +135,11 @@ public int size() {
|
|||
return size;
|
||||
}
|
||||
|
||||
/** @return true if {@link #size()} is 0. */
|
||||
public boolean isEmpty() {
|
||||
return size == 0;
|
||||
}
|
||||
|
||||
public Iterator<V> iterator() {
|
||||
return new Iterator<V>() {
|
||||
private int found;
|
||||
|
|
Loading…
Reference in New Issue