1 12 13 package org.eclipse.core.databinding.observable.list; 14 15 import java.util.Collection ; 16 import java.util.Iterator ; 17 import java.util.List ; 18 import java.util.ListIterator ; 19 20 import org.eclipse.core.databinding.observable.IObservableCollection; 21 22 34 public interface IObservableList extends List , IObservableCollection { 35 36 40 public void addListChangeListener(IListChangeListener listener); 41 42 48 public void removeListChangeListener(IListChangeListener listener); 49 50 53 public int size(); 54 55 58 public boolean isEmpty(); 59 60 63 public boolean contains(Object o); 64 65 68 public Iterator iterator(); 69 70 73 public Object [] toArray(); 74 75 78 public Object [] toArray(Object a[]); 79 80 83 public boolean add(Object o); 84 85 88 public boolean remove(Object o); 89 90 93 public boolean containsAll(Collection c); 94 95 98 public boolean addAll(Collection c); 99 100 103 public boolean addAll(int index, Collection c); 104 105 108 public boolean removeAll(Collection c); 109 110 113 public boolean retainAll(Collection c); 114 115 118 public boolean equals(Object o); 119 120 123 public int hashCode(); 124 125 128 public Object get(int index); 129 130 133 public Object set(int index, Object element); 134 135 138 public Object remove(int index); 139 140 143 public int indexOf(Object o); 144 145 148 public int lastIndexOf(Object o); 149 150 153 public ListIterator listIterator(); 154 155 158 public ListIterator listIterator(int index); 159 160 163 public List subList(int fromIndex, int toIndex); 164 165 168 Object getElementType(); 169 } 170 | Popular Tags |