SHARE
TWEET

Untitled

a guest Jun 18th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.      * fügt node immer vorne in die verkettete Liste ein
  3.      *
  4.      * @param entry
  5.      * @param node
  6.      */
  7.     public void insertFirst(TableEntry entry, ListNode node) {
  8.         node.setNext(_head);
  9.         if (_head != _nil) {
  10.             head().setPrev(node);
  11.             ListNode listNode = new ListNode(entry, node.prev(), node.next());
  12.         }
  13.         _head = node;
  14.         node.setPrev(_nil);
  15.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top