public class GHSortedCollection extends Object
Constructor and Description |
---|
GHSortedCollection() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
getSize() |
int |
getSlidingMeanValue() |
void |
insert(int key,
int value) |
boolean |
isEmpty() |
int |
peekKey() |
int |
peekValue() |
int |
pollKey() |
String |
toString() |
void |
update(int key,
int oldValue,
int value) |
public void clear()
public void update(int key, int oldValue, int value)
public void insert(int key, int value)
public int peekValue()
public int peekKey()
public int pollKey()
public int getSize()
public boolean isEmpty()
public int getSlidingMeanValue()
Copyright © 2012–2020. All rights reserved.