Package org.bytedeco.javacpp.indexer
Class OneIndex
- java.lang.Object
-
- org.bytedeco.javacpp.indexer.Index
-
- org.bytedeco.javacpp.indexer.OneIndex
-
public class OneIndex extends Index
An Index that supports only one size (a single dimension).
-
-
Constructor Summary
Constructors Constructor Description OneIndex(long size)
Constructor to set theIndex.sizes
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
index(long i)
Returnsi
.long
index(long... indices)
Returnsindices[0]
ifindices.length == 1
or throwsnew UnsupportedOperationException()
.long
index(long i, long j)
Throwsnew UnsupportedOperationException()
.long
index(long i, long j, long k)
Throwsnew UnsupportedOperationException()
.
-
-
-
Constructor Detail
-
OneIndex
public OneIndex(long size)
Constructor to set theIndex.sizes
.
-
-