R
- as Reference type. Typically Number type.public interface OrderableByRef<R>
getCurrentRef()
, getNextRef()
or getPreviousRef()
.getNextRef()
can refer to the Id that will follow this, similarly
getPreviousRef()
will refer to the Id that is before/previous to this.
getPreviousRef()
and getNextRef()
are null. Neutral precedence, in order in which it exists.getPreviousRef()
not null - The previous node has greater precedencegetNextRef()
not null - The next node has lower precedenceOrderByRefList
Modifier and Type | Method and Description |
---|---|
R |
getCurrentRef()
Get the reference of the current node
|
R |
getNextRef()
The Reference to the Node After this one.
To add more meaning by convention typically Next or After means, the next will be pushed to the right. |
R |
getPreviousRef()
The Reference to the Node Previous this one.
To add more meaning by convention typically Before or Previous means, this node will be pushed to the right. |
void |
setNextRef(R ref)
The Reference to the Node After this one.
To add more meaning by convention typically Next or After means, the next will be pushed to the right. |
void |
setPreviousRef(R ref)
The Reference to the Node Previous this one.
To add more meaning by convention typically Before or Previous means, this node will be pushed to the right. |
R getNextRef()
void setNextRef(R ref)
R getPreviousRef()
void setPreviousRef(R ref)
R getCurrentRef()
Copyright © 2018. All rights reserved.