public class Queue {
public static class Node {
...
}
...
}
Eigentlich hatte ich ein Beispiel Code von Sedgwick (Sourcecode Queue) aber ich weiss nicht ob man das reinkopieren darf wegen Copyright und allesOh stimmt, gut möglich. In dem Fall.
Queue.java:
Java:public class Queue { public static class Node { ... } ... }