tl.lin.data.queue
Class TopScoredObjects<K extends Comparable<K>>

java.lang.Object
  extended by tl.lin.data.queue.TopScoredObjects<K>

public class TopScoredObjects<K extends Comparable<K>>
extends Object


Constructor Summary
TopScoredObjects(int n)
           
 
Method Summary
 void add(K obj, float f)
           
 PairOfObjectFloat<K>[] extractAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopScoredObjects

public TopScoredObjects(int n)
Method Detail

add

public void add(K obj,
                float f)

extractAll

public PairOfObjectFloat<K>[] extractAll()


Copyright © 2013. All Rights Reserved.