Package controller
Class AbstractController<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<E>
java.util.LinkedHashSet<T>
controller.AbstractController<T>
- Type Parameters:
T
- Type of elements to manage.
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<T>
,Collection<T>
,Set<T>
- Direct Known Subclasses:
EntityController
,HUDController
A controller is a LinkedHashSet and manages elements of a specific type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.LinkedHashSet
spliterator
Methods inherited from class java.util.HashSet
clear, clone, isEmpty, iterator, size, toArray, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
AbstractController
public AbstractController()
-
-
Method Details
-
update
public abstract void update()Updates all elements that are registered at this controller -
contains
-
add
-
remove
-