public class SortedIndexedHashList
extends java.lang.Object
| Constructor and Description |
|---|
SortedIndexedHashList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.bouncycastle.tsp.ers.IndexedHash hash) |
org.bouncycastle.tsp.ers.IndexedHash |
getFirst() |
int |
size() |
java.util.List<org.bouncycastle.tsp.ers.IndexedHash> |
toList()
Return the hashes added so far in ascending order of digest.
|
public org.bouncycastle.tsp.ers.IndexedHash getFirst()
public void add(org.bouncycastle.tsp.ers.IndexedHash hash)
public int size()
public java.util.List<org.bouncycastle.tsp.ers.IndexedHash> toList()
The sort is stable, so hashes comparing equal come back in the order they were added in.