public class OneIndex extends Index
| Constructor and Description |
|---|
OneIndex(long size)
Constructor to set the
Index.sizes. |
| Modifier and Type | Method and Description |
|---|---|
long |
index(long... indices)
Returns
indices[0] if indices.length == 1 or throws new UnsupportedOperationException(). |
long |
index(long i)
Returns
i. |
long |
index(long i,
long j)
Throws
new UnsupportedOperationException(). |
long |
index(long i,
long j,
long k)
Throws
new UnsupportedOperationException(). |
public OneIndex(long size)
Index.sizes.Copyright © 2020. All rights reserved.