Integer Enum ?
Frank Dellaert
frank@cc.gatech.edu
Thu, 13 Dec 2001 09:04:42 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0050_01C183B5.340C38E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi
I'm not entirely clear how Integer can be an Enum instance. I thought =
Integer was arbitrary size, while for the Enum class you need to define =
a mapping from and to Int, which is bounded (in a machine dependent way, =
even ?). I'm probably missing something obvious...
Cheers
Frank Dellaert
------=_NextPart_000_0050_01C183B5.340C38E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm not entirely clear how Integer can =
be an Enum=20
instance. I thought Integer was arbitrary size, while for the Enum class =
you=20
need to define a mapping from and to Int, which is bounded (in a machine =
dependent way, even ?). I'm probably missing something =
obvious...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Cheers<BR>Frank =
Dellaert</FONT></DIV></BODY></HTML>
------=_NextPart_000_0050_01C183B5.340C38E0--