Package com_github_leetcode
Class BinaryMatrixImpl
- java.lang.Object
-
- com_github_leetcode.BinaryMatrixImpl
-
- All Implemented Interfaces:
BinaryMatrix
public class BinaryMatrixImpl extends Object implements BinaryMatrix
-
-
Constructor Summary
Constructors Constructor Description BinaryMatrixImpl(int[][] matrix)
-
-
-
Method Detail
-
get
public int get(int x, int y)
- Specified by:
get
in interfaceBinaryMatrix
-
dimensions
public List<Integer> dimensions()
- Specified by:
dimensions
in interfaceBinaryMatrix
-
-