Solved

array comparisons in java

Posted on 2011-09-05
2
371 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
simple java question 3 56
Arrays.asList  VS  ArrayList 4 60
javap not working 8 46
Adding multiple JVM environments to RedHat 6 7 23
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This video teaches viewers about errors in exception handling.

831 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