Solved

array comparisons in java

Posted on 2011-09-05
2
384 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Turn Insights into Action

Communication across every corner of your business is essential to increase the velocity of your application delivery and support pipeline. Automate, standardize, and contextualize your communication processes with xMatters.

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

696 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