From: Jeffrey Carter <spam@spam.com>
Subject: Re: Contrained ada type in java
Date: Thu, 11 Dec 2003 17:56:02 GMT
Date: 2003-12-11T17:56:02+00:00 [thread overview]
Message-ID: <Sc2Cb.7731$_r6.1017@newsread1.news.pas.earthlink.net> (raw)
In-Reply-To: <mailman.79.1071114891.31149.comp.lang.ada@ada-france.org>
> "Ed Trubia" <edward.b.trubia@lmco.com> wrote:
>> type ET_ACTIVE_PORT_CONFIGURATION is
>> ( HDX_TX1_RX1,
>> HDX_TX2_RX2,
>> HDX_TX1_RX2,
>> HDX_TX2_RX1,
>> FDX_TX1_RX2,
>> FDX_TX2_RX1);
>>
>> for ET_ACTIVE_PORT_CONFIGURATION use
>> ( HDX_TX1_RX1 => 62,
>> HDX_TX2_RX2 => 23,
>> HDX_TX1_RX2 => 34,
>> HDX_TX2_RX1 => 45,
>> FDX_TX1_RX2 => 54,
>> FDX_TX2_RX1 => 61);
Since this won't compile (the enumeration values must be monotonically
increasing), it should be impossible to implement in Java.
--
Jeff Carter
"Sir Lancelot saves Sir Gallahad from almost certain temptation."
Monty Python & the Holy Grail
69
next prev parent reply other threads:[~2003-12-11 17:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-10 22:17 Contrained ada type in java Ed Trubia
2003-12-11 3:56 ` David C. Hoos, Sr.
2003-12-11 17:56 ` Jeffrey Carter [this message]
2003-12-17 5:56 ` Craig Carey
2003-12-17 14:54 ` No Spam
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox