Class Indexed<T>
- java.lang.Object
-
- org.onebusaway.utility.collections.Indexed<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
Serializable,Comparable<Indexed<T>>
public class Indexed<T> extends Object implements Comparable<Indexed<T>>, Serializable
A wrapper class for an object that add an integer index parameter that can be used to apply aComparablesort order to an arbitrary type.- Author:
- bdferris
- See Also:
- Serialized Form
-
-
Constructor Detail
-
Indexed
public Indexed(T value, int index)
-
-