Class List<E>
java.lang.Object
ch.nolix.base.independent.list.List<E>
- Type Parameters:
E- is the type of the elements of aList.
- All Implemented Interfaces:
Iterable<E>
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAtBegin(E element) voidvoidclear()static String[]createArrayFromList(List<String> list) static <T> List<T> static <T> List<T> fromArray(T[] array) getCopy()intbooleanisEmpty()iterator()voidvoidremoveFirstOccurrenceOf(E element) byte[]toByteArray(Function<E, Byte> byteMapper) static <T> List<T> withElements(Iterable<T> elements) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
createArrayFromList
-
createEmpty
-
fromArray
-
withElements
-
addAtBegin
-
addAtEnd
-
clear
public void clear() -
getCopy
-
getElementCount
public int getElementCount() -
getStoredFirst
-
isEmpty
public boolean isEmpty() -
iterator
-
removeFirst
public void removeFirst() -
removeFirstOccurrenceOf
-
toByteArray
-