com.partnersoft.data
Class AbstractDynamicComparableArray<T extends java.lang.Comparable>
java.lang.Object
com.partnersoft.data.DynamicArray
com.partnersoft.data.AbstractDynamicArray<T>
com.partnersoft.data.AbstractDynamicComparableArray<T>
- All Implemented Interfaces:
- java.lang.Iterable<T>
public abstract class AbstractDynamicComparableArray<T extends java.lang.Comparable>
- extends AbstractDynamicArray<T>
A managed, dynamically allocated array of Comparables. Includes a sort feature.
Copyright 2001-2007 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Paul Reavis
|
Method Summary |
void |
sort()
Quicksorts the contents. |
| Methods inherited from class com.partnersoft.data.AbstractDynamicArray |
add, addMultiple, append, append, contentsToString, fitToSize, iterator, newArray, newArrayImp, toFixedArray, toList |
| Methods inherited from class com.partnersoft.data.DynamicArray |
append, clear, copy, copy, copyExactly, copyFrom, copyTo, insert, isEmpty, makeRoomFor, makeRoomFor, pack, remove, size, subsection, tidy, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractDynamicComparableArray
public AbstractDynamicComparableArray()
- Creates an empty DynamicObjectArray, for objects of the given type, with
size and capacity of 0.
AbstractDynamicComparableArray
public AbstractDynamicComparableArray(int capacity)
- Creates a DynamicObjectArray of the given type and given capacity.
AbstractDynamicComparableArray
public AbstractDynamicComparableArray(T... contents)
- Creates a DynamicObjectArray of the given type and initial contents.
sort
public void sort()
- Quicksorts the contents.