Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
Home
Java
2D Graphics GUI
3D
Advanced Graphics
Ant
Apache Common
Chart
Class
Collections Data Structure
Data Type
Database SQL JDBC
Design Pattern
Development Class
EJB3
Email
Event
File Input Output
Game
Generics
GWT
Hibernate
I18N
J2EE
J2ME
JavaFX
JDK 6
JDK 7
JNDI LDAP
JPA
JSP
JSTL
Language Basics
Network Protocol
PDF RTF
Reflection
Regular Expressions
Scripting
Security
Servlets
Spring
Swing Components
Swing JFC
SWT JFace Eclipse
Threads
Tiny Application
Velocity
Web Services SOA
XML
Arrays « Collections Data Structure « Java
Java
Collections Data Structure
Arrays
1.
illustrates how to use some of the methods of the Arrays class:
2.
Sorting, Searching, and Inserting into a sorted array
3.
Demonstrate use of Arrays.sort on Booleans
4.
Convert an Array to a Vector
5.
Convert Array to Collection
6.
Convert array of object to array of primitive?
7.
Compare if two array is equal
8.
Array Search Test
9.
Array Fill Test
10.
Copy some items of an array into another array
11.
Static methods from Arrays
12.
Sort an array
13.
Sort an array: case-sensitive
14.
Sort an array: case-insensitive
15.
Java Sort byte Array
16.
Java Sort char Array
17.
Java Sort double Array
18.
Java Sort float Array
19.
Expanding an Array
20.
Compare two byte type arrays
21.
Compare two char type arrays
22.
Compare two short type arrays
23.
Compare two int type arrays
24.
Compare two long type arrays
25.
Compare two float type arrays
26.
Compare two double type arrays
27.
Filling Elements in an Array: boolean type
28.
Filling Elements in an Array: byte type
29.
Filling Elements in an Array: char type
30.
Filling Elements in an Array: short type
31.
Filling Elements in an Array: int type
32.
Filling Elements in an Array: long type
33.
Filling Elements in an Array: float type
34.
Filling Elements in an Array: double type
35.
filling object arrays:
36.
fill to a contiguous range of elements in an array: boolean array
37.
Fill to a contiguous range of elements in an array: byte array
38.
Fill to a contiguous range of elements in an array: char array
39.
Fill to a contiguous range of elements in an array: short array
40.
Fill to a contiguous range of elements in an array: int array
41.
Fill to a contiguous range of elements in an array: long array
42.
Fill to a contiguous range of elements in an array: float array
43.
Use Arrays.asList() to convert Array to List
44.
Merge (or add) two arrays into one
45.
Fill to a contiguous range of elements in an array: double array
46.
Fill to a contiguous range of elements in an array: String array
47.
Minimum and maximum number in array
48.
Finding an Element in a Sorted Array
49.
Shuffle elements of an array
50.
Shifting Elements in an Array: Shift all elements right by one
51.
Shifting Elements in an Array: Shift all elements left by one
52.
Use java.util.Arrays.deepToString() to dump the multi-dimensional arrays
53.
use Arrays.copyOf to copy array
54.
If the element is a primitive type.
55.
When comparing Object arrays, null elements are equal. If the elements are not null, Object.equals() is used.
56.
Comparing Arrays: null arrays are equal
57.
Compare two boolean arrays and null