public class Scoreboard<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Scoreboard.Order |
Constructor and Description |
---|
Scoreboard(int maxCapacity) |
Scoreboard(int maxCapacity,
Scoreboard.Order order) |
Modifier and Type | Method and Description |
---|---|
void |
add(T element,
double score) |
T |
getElement(int i) |
double |
getScore(int i) |
int |
size() |
public Scoreboard(int maxCapacity)
public Scoreboard(int maxCapacity, Scoreboard.Order order)
Copyright © 2018. All rights reserved.