mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
fix build breakage due to missing isEmpty() methods
This commit is contained in:
@ -63,6 +63,10 @@ public class TreeSet<T> implements Collection<T> {
|
||||
return size;
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return size == 0;
|
||||
}
|
||||
|
||||
public boolean contains(T value) {
|
||||
return !set.find(new Cell(value, null)).fresh();
|
||||
}
|
||||
|
Reference in New Issue
Block a user