Class Colors
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Color>,Collection<Color>,List<Color>,RandomAccess
public class Colors extends ArrayList<Color>
Ordered set of colours.
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Constructor Details
-
Colors
public Colors()New empty colour set. -
Colors
New copy of the other colour set.- Parameters:
others- The other colour set to copy.
-