indexing
description: "A position in a 2 dimensional space as INTEGERs (x, y)"
status: "See notice at end of class"
date: "$Date$"
revision: "$Revision$"
class interface
EV_COORDINATE
create
set (a_x, a_y: INTEGER)
a_xxa_yy
ensure
x_assigned: x = a_x
y_assigned: y = a_y
feature
x: INTEGER
y: INTEGER
feature
set (a_x, a_y: INTEGER)
a_xxa_yy
ensure
x_assigned: x = a_x
y_assigned: y = a_y
set_x (a_x: INTEGER)
a_xx
ensure
x_assigned: x = a_x
set_y (a_y: INTEGER)
a_yy
ensure
y_assigned: y = a_y
feature
out: STRING
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- EV_COORDINATE