Solved

array comparisons in java

Posted on 2011-09-05
2
374 Views
Last Modified: 2012-05-12
We are currently in the process of converting a project from using php server-side to Java.  In the code, we have array comparisons, but it seems that it isn't possible to do that in Java, so how can we get around that?

thanks
0
Comment
Question by:anotherfn
2 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 36483830
Please show us some code. Array comparisons can be done in Java
0
 
LVL 47

Accepted Solution

by:
for_yan earned 500 total points
ID: 36483931
See static methods equals() , deepEquals() of the class Arrays:

http://download.oracle.com/javase/6/docs/api/java/util/Arrays.html

You can easily write your own method and impement cpomparisomn of the arrays with any level of sophistication
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Weekend adv creator 3 52
fibonacci ten numbers 4 45
spring jars download 1 35
maven not picking latest jar instead picking old jar from .m2 12 18
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question