| 130 | } |
| 131 | |
| 132 | static class UnmodifiableSet |
| 133 | extends UnmodifiableCollection |
| 134 | implements Set, Serializable |
| 135 | { |
| 136 | UnmodifiableSet(Set s) |
| 137 | { |
| 138 | super(s); |
| 139 | } |
| 140 | |
| 141 | public boolean equals(Object o) |
| 142 | { |
| 143 | return c.equals(o); |
| 144 | } |
| 145 | |
| 146 | public int hashCode() |
| 147 | { |
| 148 | return c.hashCode(); |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | public static List unmodifiableList(List list) |
| 153 | { |
nothing calls this directly
no outgoing calls
no test coverage detected