boofcv.struct.feature
Class MatrixOfList<T>
- java.lang.Object
-
- boofcv.struct.feature.MatrixOfList<T>
-
public class MatrixOfList<T> extends java.lang.ObjectA matrix of Lists for containing items in a grid.
-
-
Field Summary
Fields Modifier and Type Field and Description java.util.List<T>[]gridintheightintwidth
-
Constructor Summary
Constructors Constructor and Description MatrixOfList(int width, int height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<T>createSingleList()java.util.List<T>get(int x, int y)intgetHeight()intgetWidth()booleanisInBounds(int x, int y)voidreset()voidreshape(int width, int height)
-
-
-
Field Detail
-
grid
public java.util.List<T>[] grid
-
width
public int width
-
height
public int height
-
-
Method Detail
-
reshape
public void reshape(int width, int height)
-
reset
public void reset()
-
get
public java.util.List<T> get(int x, int y)
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
createSingleList
public java.util.List<T> createSingleList()
-
isInBounds
public boolean isInBounds(int x, int y)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG