Package org.tribuo.util.infotheory.impl
Class RowList<T>
java.lang.Object
org.tribuo.util.infotheory.impl.RowList<T>
- Type Parameters:
T- The type stored in the lists.
An implementation of a List which wraps a set of lists.
Each access returns a Row drawn by taking an element from each list.
The rows only expose equals and hashcode, as the information theoretic calculations only care about equality.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidUnsupported.booleanUnsupported.booleanaddAll(int index, Collection<? extends Row<T>> c) Unsupported.booleanaddAll(Collection<? extends Row<T>> c) Unsupported.voidclear()Unsupported.booleanbooleancontainsAll(Collection<?> c) get(int index) intbooleanisEmpty()iterator()intListIterator<Row<T>>ListIterator<Row<T>>listIterator(int index) remove(int index) Unsupported.booleanUnsupported.booleanremoveAll(Collection<?> c) Unsupported.booleanretainAll(Collection<?> c) Unsupported.Unsupported.intsize()subList(int fromIndex, int toIndex) Unsupported.Object[]toArray()<U> U[]toArray(U[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, streamMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
RowList
Constructs a RowList from a set of lists.- Parameters:
set- The feature lists.
-
-
Method Details
-
size
-
isEmpty
-
contains
-
iterator
-
toArray
-
toArray
-
get
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
subList
Unsupported. Throws UnsupportedOperationException. -
add
Unsupported. Throws UnsupportedOperationException. -
remove
Unsupported. Throws UnsupportedOperationException. -
addAll
Unsupported. Throws UnsupportedOperationException. -
addAll
Unsupported. Throws UnsupportedOperationException. -
removeAll
Unsupported. Throws UnsupportedOperationException. -
retainAll
Unsupported. Throws UnsupportedOperationException. -
clear
Unsupported. Throws UnsupportedOperationException. -
set
Unsupported. Throws UnsupportedOperationException. -
add
Unsupported. Throws UnsupportedOperationException. -
remove
Unsupported. Throws UnsupportedOperationException.
-