define a new data type
- From: "Wizumwalt@xxxxxxxxx" <Wizumwalt@xxxxxxxxx>
- Date: 28 Jul 2005 14:56:49 -0700
Anyone know how to do something like this C code in Java.
#define Point2fT Tuple2fT
I have a Tuple2 class which I'd like to define a new data type for as
Point2. So I tried making Tuple2 an interface and extending from that,
but that seemed like overkill.
public class Point2fT extends Tuple2fT ...
Is there a better way to do this?
.
- Follow-Ups:
- Re: define a new data type
- From: Bryce
- Re: define a new data type
- Prev by Date: Re: need an unsigned int in java, so...
- Next by Date: Re: define a new data type
- Previous by thread: IOException in Applet
- Next by thread: Re: define a new data type
- Index(es):
Relevant Pages
|
|