MCPcopy Create free account
hub / github.com/antlr/codebuff / remove

Method remove

output/java_guava/1.4.17/AbstractTable.java:136–145  ·  view source on GitHub ↗
(@Nullable Object o)

Source from the content-addressed store, hash-verified

134 }
135
136 @Override
137 public boolean remove(@Nullable Object o) {
138 if (o instanceof Cell) {
139 Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o;
140 Map<C, V> row = Maps.safeGet(rowMap(), cell.getRowKey());
141 return row != null
142&& Collections2.safeRemove(row.entrySet(), Maps.immutableEntry(cell.getColumnKey(), cell.getValue()));
143 }
144 return false;
145 }
146
147 @Override
148 public void clear() {

Callers

nothing calls this directly

Calls 8

safeGetMethod · 0.95
safeRemoveMethod · 0.95
immutableEntryMethod · 0.95
rowMapMethod · 0.65
getRowKeyMethod · 0.65
entrySetMethod · 0.65
getColumnKeyMethod · 0.65
getValueMethod · 0.65

Tested by

no test coverage detected