Class History


  • public class History
    extends Queue
    Bildet eine History ab, die immer eine definierte Anzahl der letzten Elemente enthaelt.
    • Constructor Summary

      Constructors 
      Constructor Description
      History​(int capacity)
      ct.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void push​(java.lang.Object o)
      Fuegt der Queue ein weiteres Objekt hinzu.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • History

        public History​(int capacity)
        ct.
        Parameters:
        capacity -
    • Method Detail

      • push

        public void push​(java.lang.Object o)
        Description copied from class: Queue
        Fuegt der Queue ein weiteres Objekt hinzu. Ist die Queue voll, wird eine Exception geworfen
        Overrides:
        push in class Queue
        Parameters:
        o - das hinzuzufuegende Objekt.
        See Also:
        Queue.push(java.lang.Object)