public final class Shape extends Object
Modifier and Type | Field and Description |
---|---|
static int |
COL_IDX |
static int |
DEPTH_IDX |
static int |
ROW_IDX |
Constructor and Description |
---|
Shape(int[] dimensions) |
Modifier and Type | Method and Description |
---|---|
int |
getDim(int dimIdx) |
int[] |
getDimensions() |
int |
numDimensions() |
static Shape |
of(int... dimensions) |
public static final int ROW_IDX
public static final int COL_IDX
public static final int DEPTH_IDX
public int[] getDimensions()
public int getDim(int dimIdx)
public int numDimensions()
public static Shape of(int... dimensions)
Copyright © 2022. All rights reserved.