edu.vt.middleware.crypt.x509.types
Class AbstractList<T>
java.lang.Object
edu.vt.middleware.crypt.x509.types.AbstractList<T>
- Type Parameters:
T - Type of object contained in collection.
- All Implemented Interfaces:
- List<T>
- Direct Known Subclasses:
- AccessDescriptionList, DistributionPointList, GeneralNameList, KeyPurposeIdList, PolicyInformationList, RelativeDistinguishedName
public abstract class AbstractList<T>
- extends Object
- implements List<T>
Base class for all types that simply contain collections of other types.
- Version:
- $Revision: 2745 $
- Author:
- Middleware Services
|
Field Summary |
protected T[] |
items
Items in collection. |
items
protected T[] items
- Items in collection.
AbstractList
public AbstractList()
getItems
public T[] getItems()
-
- Specified by:
getItems in interface List<T>
- Returns:
- Array of items in the collection.
equals
public boolean equals(Object obj)
-
- Overrides:
equals in class Object
hashCode
public int hashCode()
-
- Overrides:
hashCode in class Object
toString
public String toString()
- Provides a string representation of all the items in the collection.
- Overrides:
toString in class Object
- Returns:
- String of the format [item1, item2, item3, ... itemN] where item1
... itemN are the string representations if items 1 through N.
Copyright © 2003-2013 Virginia Tech. All Rights Reserved.