1 14 15 package org.apache.activemq.kaha; 16 17 import java.util.List ; 18 import java.util.NoSuchElementException ; 19 20 26 public interface ListContainer<V> extends List <V>{ 27 28 32 public void load(); 33 34 38 public void unload(); 39 40 43 public boolean isLoaded(); 44 45 50 public void setMarshaller(Marshaller marshaller); 51 52 55 public Object getId(); 56 57 60 public int size(); 61 62 67 public void addFirst(V o); 68 69 75 public void addLast(V o); 76 77 83 public V removeFirst(); 84 85 91 public V removeLast(); 92 93 99 public boolean doRemove(int position); 100 101 107 public StoreEntry placeLast(V object); 108 109 115 public StoreEntry placeFirst(V object); 116 117 123 public void update(StoreEntry entry,V object); 124 125 131 public V get(StoreEntry entry); 132 133 138 public StoreEntry getFirst(); 139 140 145 public StoreEntry getLast(); 146 147 153 public StoreEntry getNext(StoreEntry entry); 154 155 161 public StoreEntry getPrevious(StoreEntry entry); 162 163 169 public boolean remove(StoreEntry entry); 170 171 177 public StoreEntry refresh(StoreEntry entry); 178 } 179 | Popular Tags |