Package ai.libs.jaicore.ml.core
Class ASimpleInstancesImpl<I>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<I>
-
- ai.libs.jaicore.ml.core.ASimpleInstancesImpl<I>
-
- All Implemented Interfaces:
Instances<I>,java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<I>,java.util.Collection<I>,java.util.List<I>,java.util.RandomAccess
- Direct Known Subclasses:
SimpleInstancesImpl,SimpleLabeledInstancesImpl
public abstract class ASimpleInstancesImpl<I> extends java.util.ArrayList<I> implements Instances<I>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intnumColumns
-
Constructor Summary
Constructors Constructor Description ASimpleInstancesImpl()ASimpleInstancesImpl(int capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetNumberOfColumns()intgetNumberOfRows()inthashCode()-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ai.libs.jaicore.ml.interfaces.Instances
addAllFromJson, addAllFromJson, toJson
-
-
-
-
Method Detail
-
getNumberOfRows
public int getNumberOfRows()
- Specified by:
getNumberOfRowsin interfaceInstances<I>
-
getNumberOfColumns
public int getNumberOfColumns()
- Specified by:
getNumberOfColumnsin interfaceInstances<I>
-
hashCode
public int hashCode()
-
-