MCPcopy Create free account
hub / github.com/davidgiven/luje / isEmpty

Method isEmpty

lib/java/util/AbstractCollection.java:184–186  ·  view source on GitHub ↗

Returns if this Collection contains no elements. This implementation tests, whether size returns 0. @return true if this Collection has no elements, false otherwise. @see #size

()

Source from the content-addressed store, hash-verified

182 * @see #size
183 */
184 public boolean isEmpty() {
185 return size() == 0;
186 }
187
188 /**
189 * Returns an instance of {@link Iterator} that may be used to access the

Callers 1

toStringMethod · 0.95

Calls 1

sizeMethod · 0.95

Tested by

no test coverage detected