Class SortedHashList
java.lang.Object
org.bouncycastle.tsp.ers.SortedHashList
A sorting list - byte[] are sorted in ascending order.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SortedHashList
public SortedHashList()
-
-
Method Details
-
getFirst
public byte[] getFirst() -
add
public void add(byte[] hash) -
size
public int size() -
toList
Return the hashes added so far in ascending order.The sort is stable, so hashes comparing equal come back in the order they were added in.
- Returns:
- a sorted list of the hashes added.
-