comp.lang.ada
 help / color / mirror / Atom feed
From: "Ed Trubia" <edward.b.trubia@lmco.com>
Subject: Contrained ada type in java
Date: Wed, 10 Dec 2003 16:17:00 -0600
Date: 2003-12-10T16:17:00-06:00	[thread overview]
Message-ID: <br860v$pes$1@email.tds-eagan.lmco.com> (raw)

Have the following type that applies contraints. How could this be easily
coded in Java

    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);





             reply	other threads:[~2003-12-10 22:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-10 22:17 Ed Trubia [this message]
2003-12-11  3:56 ` Contrained ada type in java David C. Hoos, Sr.
2003-12-11 17:56   ` Jeffrey Carter
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