1 package it.unimi.dsi.fastutil; 2 3 23 24 import java.util.Comparator ; 25 import java.util.NoSuchElementException ; 26 27 59 60 public interface IndirectPriorityQueue<K> { 61 62 66 67 void enqueue( int index ); 68 69 74 75 int dequeue(); 76 77 81 82 boolean isEmpty(); 83 84 88 89 int size(); 90 91 93 94 void clear(); 95 96 101 102 int first(); 103 104 109 110 int last(); 111 112 115 116 void changed(); 117 118 122 Comparator <? super K> comparator(); 123 124 131 132 public void changed( int index ); 133 134 136 137 public void allChanged(); 138 139 146 147 public void remove( int index ); 148 149 150 } 151 | Popular Tags |