org.bouncycastle.util.StringList Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-jdk14 Show documentation
Show all versions of bcprov-jdk14 Show documentation
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.4.
package org.bouncycastle.util;
public interface StringList
extends Iterable
{
boolean add(String s);
String get(int index);
int size();
String[] toStringArray();
/**
* Return a section of the contents of the list. If the list is too short the array is filled with nulls.
*
* @param from the initial index of the range to be copied, inclusive
* @param to the final index of the range to be copied, exclusive.
* @return an array of length to - from
*/
String[] toStringArray(int from, int to);
}