1 18 package org.apache.activemq.kaha.impl.index; 19 20 import org.apache.activemq.kaha.StoreEntry; 21 22 27 public interface IndexLinkedList{ 28 29 32 public IndexItem getRoot(); 33 34 39 public IndexItem getFirst(); 40 41 46 public IndexItem getLast(); 47 48 53 public StoreEntry removeFirst(); 54 55 60 public Object removeLast(); 61 62 66 public void addFirst(IndexItem item); 67 68 73 public void addLast(IndexItem item); 74 75 80 public int size(); 81 82 87 public boolean isEmpty(); 88 89 95 public boolean add(IndexItem item); 96 97 100 public void clear(); 101 102 111 public IndexItem get(int index); 112 113 122 public void add(int index,IndexItem element); 123 124 133 public Object remove(int index); 134 135 145 public int indexOf(StoreEntry o); 146 147 153 public IndexItem getNextEntry(IndexItem entry); 154 155 161 public IndexItem getPrevEntry(IndexItem entry); 162 163 164 168 public void remove(IndexItem e); 169 170 175 public StoreEntry getEntry(StoreEntry entry); 176 177 182 public StoreEntry refreshEntry(StoreEntry current); 183 } 184 | Popular Tags |