[5298] in java-interest
sub array?
daemon@ATHENA.MIT.EDU (garya@dreamchaser.org)
Mon Feb 5 16:25:29 1996
From: garya@dreamchaser.org
Date: Mon, 5 Feb 1996 13:08:44 -0700
To: java-interest@java.sun.com
Does anyone know of a way to reference a partial array?
By this I mean effectly create an array description which is an overlay
of the existing array?
i.e., something like:
int[] vec = new int[20];
int[] sub = vec[10..15];
where sub is *not* a copy of the elements of vec, but is
a means of accessing the elements of vec[10..15]?
It seems like this should be legal, since it would obey all
bounds and type checking, but I can't figure out a way to do it.
Gary Aitken garya@ics.com (business)
garya@dreamchaser.org (personal)
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com