Package logging
Klasse LogElementList<LOG extends LogElement>
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.Vector
logging.LogElementList<LOG>
- Alle implementierten Schnittstellen:
Serializable
,Cloneable
,Iterable
,Collection
,List
,RandomAccess
,SequencedCollection
This class provides a container for log list elements.
Use it in assoziation with packages logging and visualization.
In general you will not have to extend this class so it is final.
- Siehe auch:
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprivate int
Index of the Lists actual element.private boolean
Determines wether the log element list's index is valid or not.Von Klasse geerbte Felder java.util.Vector
capacityIncrement, elementCount, elementData
Von Klasse geerbte Felder java.util.AbstractList
modCount
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
clear()
Clears the log list.void
first()
Sets the first element as actual.get()
Returns the log lists actual element identified by member actual.boolean
Returns wether the log element list is initialized or not.void
last()
Sets the last element as actual.void
next()
Sets the actual's element's next as actual.void
prev()
Sets the actual's element's previous as actual.Von Klasse geerbte Methoden java.util.Vector
add, add, addAll, addAll, addElement, capacity, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
Von Klasse geerbte Methoden java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden java.util.Collection
parallelStream, stream, toArray
Von Schnittstelle geerbte Methoden java.util.List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
-
Felddetails
-
actual
private int actualIndex of the Lists actual element. -
initialized
private boolean initializedDetermines wether the log element list's index is valid or not.
-
-
Konstruktordetails
-
LogElementList
public LogElementList()Standard constructor. Creates an empty uninitialized log list with index -1.
-
-
Methodendetails
-
get
Returns the log lists actual element identified by member actual.- Gibt zurück:
- the log lists actual element
-
isInitialized
public boolean isInitialized()Returns wether the log element list is initialized or not.- Gibt zurück:
- true if list is initialized, false if not
-
clear
public void clear()Clears the log list.- Angegeben von:
clear
in SchnittstelleCollection<LOG extends LogElement>
- Angegeben von:
clear
in SchnittstelleList<LOG extends LogElement>
- Setzt außer Kraft:
clear
in KlasseVector
-
prev
public void prev()Sets the actual's element's previous as actual. -
next
public void next()Sets the actual's element's next as actual. -
first
public void first()Sets the first element as actual. -
last
public void last()Sets the last element as actual.
-