All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mssql.googlecode.concurrentlinkedhashmap.Linked Maven / Gradle / Ivy

The newest version!
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy