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