Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- //Created by Julio Tentor <[email protected]>
- //
- //from https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/LinkedList.html
- public interface ILinkedList<ELEMENT> extends Iterable<ELEMENT> {
- // Returns the number of elements in this list.
- public int size();
- // Inserts the specified element at the beginning of this list.
- public void addFirst(ELEMENT item);
- // Appends the specified element to the end of this list.
- public void addLast(ELEMENT item);
- // Removes and returns the first element from this list.
- public ELEMENT removeFirst();
- // Removes and returns the last element from this list.
- public ELEMENT removeLast();
- public void addInOrder(ELEMENT item);
- public boolean search(Object object);
- public void addInOrderForVideoTitulo(Videos v);
- public ELEMENT get(int i);
- }
Advertisement
Add Comment
Please, Sign In to add comment