[ nice-Bugs-1089436 ] can't index arrays with long
"SourceForge.net" <[email protected]> Tue, 21 Dec 2004 15:26:43 -0800
| Newsgroups | gmane.comp.lang.nice.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1089436, was opened at 2004-12-21 18:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1089436&group_id=12788
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: mike.beckerle (mbeckerle)
Assigned to: Nobody/Anonymous (nobody)
Summary: can't index arrays with long
Initial Comment:
It's very 32-bit to not allow an array to be indexed with
a long.
Seems collections of all sorts should allow long for
indexing. (Yes, I do deal with rather large collections.)
But I get:
Object testFunc(long arg, Object[] arr) {
return arr[arg];
}
~\My Documents\flash\nicetest\dfdl\main.nice: line 44,
column 13:
No possible call for get.
Arguments: (Object[], nice.lang.long)
Possibilities:
(nice.lang.int, nice.lang.int) get(dfdl.ByteFromBitsState
this, ByteFromBitsState state)
nice.lang.int get(java.util.Calendar, nice.lang.int)
nice.lang.char get(String s, int index)
nice.lang.boolean get(long x, int bit)
<K, K0, V0, V | K <: K0, V <: ?V0> ?V0 get
(nice.lang.Map<K, V>, K0)
<T> T get(nice.lang.List<T>, int)
<T, V> V get(Field, T)
nice.lang.double get(nice.lang.Array<double>, int)
nice.lang.float get(nice.lang.Array<float>, int)
nice.lang.char get(nice.lang.Array<char>, int)
nice.lang.long get(nice.lang.Array<long>, int)
nice.lang.int get(nice.lang.Array<int>, int)
nice.lang.short get(nice.lang.Array<short>, int)
nice.lang.byte get(nice.lang.Array<byte>, int)
nice.lang.boolean get(nice.lang.Array<boolean>, int)
<T> T get(nice.lang.Array<T>, int)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1089436&group_id=12788
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/