All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class rebelsky.util.MatrixIndex

java.lang.Object
   |
   +----rebelsky.util.Point
           |
           +----rebelsky.util.MatrixIndex

public class MatrixIndex
extends Point
An index into a matrix. Basically, a point extended to use terminology more appropriate for matrices.

Copyright (c) 1998 Samuel A. Rebelsky. All rights reserved.

Version:
1.0 of February 1998
Author:
Samuel A. Rebelsky

Constructor Index

o MatrixIndex(int, int)
Build the index (row,column).

Method Index

o column()
Get the column.
o row()
Get the row.

Constructors

o MatrixIndex
 public MatrixIndex(int row,
                    int col)
Build the index (row,column).

Methods

o row
 public int row()
Get the row.

o column
 public int column()
Get the column.


All Packages  Class Hierarchy  This Package  Previous  Next  Index