MCPcopy Index your code
hub / github.com/antlr/codebuff / ForwardingTable

Class ForwardingTable

output/java_guava/1.4.18/ForwardingTable.java:36–151  ·  view source on GitHub ↗

A table which forwards all its method calls to another table. Subclasses should override one or more methods to modify the behavior of the backing map as desired per the decorator pattern . @author Gregory Kick @since 7.0

Source from the content-addressed store, hash-verified

34
35
36@GwtCompatible
37public abstract class ForwardingTable<R, C, V> extends ForwardingObject implements Table<R, C, V> {
38 /** Constructor for use by subclasses. */
39
40 protected ForwardingTable() {}
41
42 @Override
43 protected abstract Table<R, C, V> delegate();
44
45 @Override
46 public Set<Cell<R, C, V>> cellSet() {
47 return delegate().cellSet();
48 }
49
50 @Override
51 public void clear() {
52 delegate().clear();
53 }
54
55 @Override
56 public Map<R, V> column(C columnKey) {
57 return delegate().column(columnKey);
58 }
59
60 @Override
61 public Set<C> columnKeySet() {
62 return delegate().columnKeySet();
63 }
64
65 @Override
66 public Map<C, Map<R, V>> columnMap() {
67 return delegate().columnMap();
68 }
69
70 @Override
71 public boolean contains(Object rowKey, Object columnKey) {
72 return delegate().contains(rowKey, columnKey);
73 }
74
75 @Override
76 public boolean containsColumn(Object columnKey) {
77 return delegate().containsColumn(columnKey);
78 }
79
80 @Override
81 public boolean containsRow(Object rowKey) {
82 return delegate().containsRow(rowKey);
83 }
84
85 @Override
86 public boolean containsValue(Object value) {
87 return delegate().containsValue(value);
88 }
89
90 @Override
91 public V get(Object rowKey, Object columnKey) {
92 return delegate().get(rowKey, columnKey);
93 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected