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

public Class SortedIndexedHashList

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<IndexedHash>
private static final Comparator<byte[]>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public IndexedHash
public int
size()

public List<IndexedHash>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

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

Constructor Detail

SortedIndexedHashListback to summary
public SortedIndexedHashList()

Method Detail

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