Package hm.zelha.particlesfx.util
Class ArrayListSafe<L extends LocationSafe>
java.lang.Object
java.util.AbstractCollection<L>
java.util.AbstractList<L>
java.util.ArrayList<L>
hm.zelha.particlesfx.util.ArrayListSafe<L>
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<L>,Collection<L>,List<L>,RandomAccess,SequencedCollection<L>
only meant to be used in ParticleSFX internals
if you're wondering what this does, it's meant to handle the indexing and everything related to keeping ParticleShapeCompound working properly, it's nothing you should worry about unless youre trying to create things that extend RotationHandler or ParticleShaper and want to allow them to be inside a ParticleShapeCompound.
even if thats the case, i doubt theres any way you could screw it up.
if you're wondering why i did it this way, its because i didnt want anyone potentially messing with any public methods i might make in order to accomplish this, so i made it really hard to mess with haha
if you're wondering what this does, it's meant to handle the indexing and everything related to keeping ParticleShapeCompound working properly, it's nothing you should worry about unless youre trying to create things that extend RotationHandler or ParticleShaper and want to allow them to be inside a ParticleShapeCompound.
even if thats the case, i doubt theres any way you could screw it up.
if you're wondering why i did it this way, its because i didnt want anyone potentially messing with any public methods i might make in order to accomplish this, so i made it really hard to mess with haha
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanvoidaddAddMechanics(ParticleShapeCompound owner, ArrayListSafe.addMechanic mechanic) voidaddRemoveMechanics(ParticleShapeCompound owner, ArrayListSafe.removeMechanic mechanic) remove(int index) voidMethods inherited from class java.util.ArrayList
addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
ArrayListSafe
- See Also:
-
-
Method Details
-
add
- Specified by:
addin interfaceCollection<L extends LocationSafe>- Specified by:
addin interfaceList<L extends LocationSafe>- Overrides:
addin classArrayList<L extends LocationSafe>
-
add
- Specified by:
addin interfaceList<L extends LocationSafe>- Overrides:
addin classArrayList<L extends LocationSafe>
-
remove
- Specified by:
removein interfaceList<L extends LocationSafe>- Overrides:
removein classArrayList<L extends LocationSafe>
-
addAddMechanics
-
addRemoveMechanics
-
removeMechanics
-