1 package it.unimi.dsi.fastutil; 2 3 23 24 29 30 public abstract class AbstractIndirectPriorityQueue<K> implements IndirectPriorityQueue<K> { 31 32 public int last() { throw new UnsupportedOperationException (); } 33 34 public void changed() { changed( first() ); } 35 36 public void changed( int index ) { throw new UnsupportedOperationException (); } 37 38 public void allChanged() { throw new UnsupportedOperationException (); } 39 40 public void remove( int index ) { throw new UnsupportedOperationException (); } 41 42 public boolean isEmpty() { return size() == 0; } 43 44 } 45 | Popular Tags |