Article View: borland.public.jbuilder.java.language
Article #17447array's in Java
From: cd-europe
Date: Mon, 09 Nov 1998 00:00
Date: Mon, 09 Nov 1998 00:00
23 lines
1236 bytes
1236 bytes
Hi, I want to know what's the best and quickest way in Java to: 1. compare all elements in two array's (containing integers) of the same length to check wether these two array's are the same, so are having the same value in each entry in the array (same as memcmp() function in C). 2. move all elements in an array with a index greater than <i> to some other entry in the array, so each element with an index <j> greater than <i>, should be stored in entry with index <j + o> in the array (same as memmove() function in C). 3. copy all values stored in an array containing integers to some other array of the same length containing integers (same as memcpy() function in C). 4. assign a certain value to all members of an integer array (same as memset() function in C). Thanks in advance ! Bas
Technical Details
Message-ID:
<726d86$671$1@news.Kijfhoek.NL.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,a1aa14833e91c21f,start X-Google-Attributes: gidf74b3,public From: "cd-europe" <cdrom-dev@cdeurope.nl> Subject: array's in Java Date: 1998/11/09 Message-ID: <726d86$671$1@news.Kijfhoek.NL.net> X-Deja-AN: 409937356 Organization: NLnet X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Newsgroups: borland.public.jbuilder.java.language