Dynamic array in ImageJ/Java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Dynamic array in ImageJ/Java

Md Tamjidul Hoque
Hi

   I used to use dynamic array within VB and now I am looking for
dynamic array within ImageJ/Java - I could not find it, is it available
to be used in ImageJ?
As an alternate I am using LinkedList, but dynamic array would have been
easier for my application.

  Any suggestion or help is much appropriated.

Thanks
Tamjid
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic array in ImageJ/Java

David Webster
Tmajid,

Java doesn't allow dynamic arrays other than being allocatable (i.e *new*'ed)
with a variable. But once allocated , your stuck. You can use things like
the Vector or ArrayList classes in java.util.

David Webster

On Wed, Feb 17, 2010 at 3:22 PM, Md Tamjidul Hoque <[hidden email]
> wrote:

> Hi
>
>  I used to use dynamic array within VB and now I am looking for dynamic
> array within ImageJ/Java - I could not find it, is it available to be used
> in ImageJ?
> As an alternate I am using LinkedList, but dynamic array would have been
> easier for my application.
>
>  Any suggestion or help is much appropriated.
>
> Thanks
> Tamjid
>
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic array in ImageJ/Java

Md Tamjidul Hoque
Thanks David.
- Tamjid

David Webster wrote:

> Tmajid,
>
> Java doesn't allow dynamic arrays other than being allocatable (i.e *new*'ed)
> with a variable. But once allocated , your stuck. You can use things like
> the Vector or ArrayList classes in java.util.
>
> David Webster
>
> On Wed, Feb 17, 2010 at 3:22 PM, Md Tamjidul Hoque <[hidden email]
>  
>> wrote:
>>    
>
>  
>> Hi
>>
>>  I used to use dynamic array within VB and now I am looking for dynamic
>> array within ImageJ/Java - I could not find it, is it available to be used
>> in ImageJ?
>> As an alternate I am using LinkedList, but dynamic array would have been
>> easier for my application.
>>
>>  Any suggestion or help is much appropriated.
>>
>> Thanks
>> Tamjid
>>
>>    
>
>