@Override @SuppressWarnings("unchecked") public int size() { return readSize() ? getCachedSize() : set.size(); }
@Override @SuppressWarnings("unchecked") public boolean isEmpty() { return readSize() ? getCachedSize()==0 : set.isEmpty(); }
@Override @SuppressWarnings("unchecked") public int size() { return readSize() ? getCachedSize() : set.size(); }
@Override @SuppressWarnings("unchecked") public boolean isEmpty() { return readSize() ? getCachedSize()==0 : set.isEmpty(); }
/** * @see java.util.Set#size() */ public int size() { return readSize() ? getCachedSize() : set.size(); }
/** * @see java.util.Set#isEmpty() */ public boolean isEmpty() { return readSize() ? getCachedSize()==0 : set.isEmpty(); }
/** * @see java.util.Set#isEmpty() */ public boolean isEmpty() { return readSize() ? getCachedSize()==0 : set.isEmpty(); }
/** * @see java.util.Set#size() */ public int size() { return readSize() ? getCachedSize() : set.size(); }