1 11 12 package org.eclipse.jface.internal.databinding.provisional.observable.list; 13 14 import java.util.Collection ; 15 import java.util.Iterator ; 16 import java.util.List ; 17 import java.util.ListIterator ; 18 19 import org.eclipse.jface.internal.databinding.provisional.observable.IObservableCollection; 20 21 26 public interface IObservableList extends List , IObservableCollection { 27 28 32 public void addListChangeListener(IListChangeListener listener); 33 34 40 public void removeListChangeListener(IListChangeListener listener); 41 42 45 public int size(); 46 47 50 public boolean isEmpty(); 51 52 55 public boolean contains(Object o); 56 57 60 public Iterator iterator(); 61 62 65 public Object [] toArray(); 66 67 70 public Object [] toArray(Object a[]); 71 72 75 public boolean add(Object o); 76 77 80 public boolean remove(Object o); 81 82 85 public boolean containsAll(Collection c); 86 87 90 public boolean addAll(Collection c); 91 92 95 public boolean addAll(int index, Collection c); 96 97 100 public boolean removeAll(Collection c); 101 102 105 public boolean retainAll(Collection c); 106 107 110 public boolean equals(Object o); 111 112 115 public int hashCode(); 116 117 120 public Object get(int index); 121 122 125 public Object set(int index, Object element); 126 127 130 public Object remove(int index); 131 132 135 public int indexOf(Object o); 136 137 140 public int lastIndexOf(Object o); 141 142 145 public ListIterator listIterator(); 146 147 150 public ListIterator listIterator(int index); 151 152 155 public List subList(int fromIndex, int toIndex); 156 157 160 Object getElementType(); 161 } 162 | Popular Tags |