mssql.googlecode.concurrentlinkedhashmap.Linked Maven / Gradle / Ivy
package mssql.googlecode.concurrentlinkedhashmap;
import java.util.Deque;
/**
* An element that is linked on the {@link Deque}.
*/
interface Linked> {
/**
* Retrieves the previous element or null if either the element is
* unlinked or the first element on the deque.
*/
T getPrevious();
/** Sets the previous element or null if there is no link. */
void setPrevious(T prev);
/**
* Retrieves the next element or null if either the element is
* unlinked or the last element on the deque.
*/
T getNext();
/** Sets the next element or null if there is no link. */
void setNext(T next);
}