Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void remove()
- {
- if (data != null) // Wenn Ankerelement überspringen
- {
- this.p.setN(this.n);
- this.n.setP(this.p);
- this.setN(this.n);
- this.setP(this.p);
- //Da es nicht mehr referenziert wird, wird es vom Garbage-Collector gelöscht.
- }
- }
Add Comment
Please, Sign In to add comment