Package com.tivoli.am.fim.registrations
Class MechanismList
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Mechanism>
,Collection<Mechanism>
,List<Mechanism>
,RandomAccess
,SequencedCollection<Mechanism>
A helper class extending an ArrayList of Mechanisms to allow quality of life methods to ease debugging tasks.
- See Also:
-
Method Summary
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll, reversed
-
Method Details
-
toString
- Overrides:
toString
in classAbstractCollection<Mechanism>
-
toJson
public JSONArray toJson()Get a JSON formatted representation of this list of Mechanism objects.- Returns:
- A JSONArray representation of all
Mechanism
objects in this list. - See Also:
-