org.jblas
Class DoubleMatrix.ElementsAsListView
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Double>
org.jblas.DoubleMatrix.ElementsAsListView
- All Implemented Interfaces:
- Iterable<Double>, Collection<Double>, List<Double>, ConvertsToDoubleMatrix
- Enclosing class:
- DoubleMatrix
public class DoubleMatrix.ElementsAsListView
- extends AbstractList<Double>
- implements ConvertsToDoubleMatrix
A wrapper which allows to view a matrix as a List of Doubles (read-only!).
Also implements the ConvertsToDoubleMatrix interface.
| Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
DoubleMatrix.ElementsAsListView
public DoubleMatrix.ElementsAsListView(DoubleMatrix me)
get
public Double get(int index)
- Specified by:
get in interface List<Double>- Specified by:
get in class AbstractList<Double>
size
public int size()
- Specified by:
size in interface Collection<Double>- Specified by:
size in interface List<Double>- Specified by:
size in class AbstractCollection<Double>
convertToDoubleMatrix
public DoubleMatrix convertToDoubleMatrix()
- Specified by:
convertToDoubleMatrix in interface ConvertsToDoubleMatrix
Copyright © 2012. All Rights Reserved.