comp.lang.ada
 help / color / mirror / Atom feed
* Contrained ada type in java
@ 2003-12-10 22:17 Ed Trubia
  2003-12-11  3:56 ` David C. Hoos, Sr.
  0 siblings, 1 reply; 5+ messages in thread
From: Ed Trubia @ 2003-12-10 22:17 UTC (permalink / 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);





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-12-17 14:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2003-12-17  5:56   ` Craig Carey
2003-12-17 14:54     ` No Spam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox