Class Koordinatenpaar

java.lang.Object
  extended byKoordinatenpaar

public class Koordinatenpaar
extends java.lang.Object

eine simple Hilfsklasse für Paare von int-Werten


Constructor Summary
Koordinatenpaar(int i, int j)
          speichert ein Indexpaar
 
Method Summary
 int getX()
          Projektion des Paars
 int getY()
          Projektion des Paars
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Koordinatenpaar

public Koordinatenpaar(int i,
                       int j)
speichert ein Indexpaar

Parameters:
i - horizontaler Index
j - vertikaler Index
Method Detail

getX

public int getX()
Projektion des Paars

Returns:
horizontale Komponente

getY

public int getY()
Projektion des Paars

Returns:
vertikale Komponente