public class TopScoredObjects<K extends Comparable<K>> extends Object
| Constructor and Description |
|---|
TopScoredObjects(int n) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(K obj,
float f) |
PairOfObjectFloat<K>[] |
extractAll() |
int |
getMaxElements() |
int |
size() |
public void add(K obj, float f)
public int getMaxElements()
public int size()
public PairOfObjectFloat<K>[] extractAll()
Copyright © 2018. All rights reserved.