1 11 12 package org.eclipse.core.databinding.observable.set; 13 14 import java.util.Collection ; 15 import java.util.Iterator ; 16 import java.util.Set ; 17 18 import org.eclipse.core.databinding.observable.IObservableCollection; 19 20 33 public interface IObservableSet extends Set , IObservableCollection { 34 35 38 public void addSetChangeListener(ISetChangeListener listener); 39 40 43 public void removeSetChangeListener(ISetChangeListener listener); 44 45 48 public Object getElementType(); 49 50 53 int size(); 54 55 58 boolean isEmpty(); 59 60 63 boolean contains(Object o); 64 65 68 Iterator iterator(); 69 70 73 Object [] toArray(); 74 75 78 Object [] toArray(Object a[]); 79 80 82 85 boolean add(Object o); 86 87 90 boolean remove(Object o); 91 92 94 97 boolean containsAll(Collection c); 98 99 102 boolean addAll(Collection c); 103 104 107 boolean retainAll(Collection c); 108 109 112 boolean removeAll(Collection c); 113 114 116 119 boolean equals(Object o); 120 121 124 int hashCode(); 125 126 } 127 | Popular Tags |