MCPcopy
hub / github.com/careercup/ctci / deleteEntry

Method deleteEntry

java/Chapter 8/Question8_9/Directory.java:39–41  ·  view source on GitHub ↗
(Entry entry)

Source from the content-addressed store, hash-verified

37 }
38
39 public boolean deleteEntry(Entry entry) {
40 return contents.remove(entry);
41 }
42
43 public void addEntry(Entry entry) {
44 contents.add(entry);

Callers 1

deleteMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected