Top Description Fields Constructors Methods
org.bouncycastle.tsp.ers

public Class SortedHashList

extends Object
Class Inheritance
Imports
java.util.ArrayList, .Comparator, .LinkedList, .List

A sorting list - byte[] are sorted in ascending order.

Field Summary

Modifier and TypeField and Description
private final LinkedList<byte[]>
private static final Comparator<byte[]>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
add(byte[] hash)

public byte[]
public int
size()

public List<byte[]>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

baseListback to summary
private final LinkedList<byte[]> baseList
hashCompback to summary
private static final Comparator<byte[]> hashComp

Constructor Detail

SortedHashListback to summary
public SortedHashList()

Method Detail

addback to summary
public void add(byte[] hash)
getFirstback to summary
public byte[] getFirst()
sizeback to summary
public int size()
toListback to summary
public List<byte[]> toList()