E
- Type of the element to be orderedpublic class OrderedObject<E> extends Object
Constructor and Description |
---|
OrderedObject (long ordinal,
E element)
Creates an object with an order.
|
public OrderedObject(long ordinal, E element)
ordinal
- The position in a sequence of objectselement
- The object being sequencedpublic long getOrdinal()
public E getElement()
Copyright © 2005–2025. All rights reserved.