home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- class TreeMap$Values extends AbstractCollection<V> {
- // $FF: synthetic field
- final TreeMap this$0;
-
- TreeMap$Values(TreeMap var1) {
- this.this$0 = var1;
- }
-
- public Iterator<V> iterator() {
- return new TreeMap.ValueIterator(this.this$0, this.this$0.getFirstEntry());
- }
-
- public int size() {
- return this.this$0.size();
- }
-
- public boolean contains(Object var1) {
- return this.this$0.containsValue(var1);
- }
-
- public boolean remove(Object var1) {
- for(TreeMap.Entry var2 = this.this$0.getFirstEntry(); var2 != null; var2 = TreeMap.successor(var2)) {
- if (TreeMap.valEquals(var2.getValue(), var1)) {
- TreeMap.access$000(this.this$0, var2);
- return true;
- }
- }
-
- return false;
- }
-
- public void clear() {
- this.this$0.clear();
- }
- }
-