Top "Compare" questions

The analysis required to assess the differences and similarities between two or more entities.

Comparing Class Types in Java

I want to compare the class type in Java. I thought I could do this: class MyObject_1 {} class MyObject_2 extends …

java types compare
How to know if two arrays have the same values

I have these two arrays: one is filled with information from an ajax request and another stores the buttons the …

javascript arrays compare
How to compare LocalDate instances Java 8

I am writing an app that needs to be quite accurate in dates and I wonder how can I compare …

date compare java-8
assembly to compare two numbers

What is the assembler syntax to determine which of two numbers is greater? What is the lower level (machine code) …

assembly x86 compare machine-code
How to compare strings

I wanted to compare a string without actually defining one of them as a string, something like this, if (string == "…

c++ string compare
How to parse a month name (string) to an integer for comparison in C#?

I need to be able to compare some month names I have in an array. It would be nice if …

c# parsing integer compare
How to compare arrays in C#?

Possible Duplicate: Easiest way to compare arrays in C# How can I compare two arrays in C#? I use the …

c# arrays compare
Java error: Comparison method violates its general contract

I saw many questions about this, and tried to solve the problem, but after one hour of googling and a …

java compare migration java-7 comparator
Using jQuery to compare two arrays of Javascript objects

I have two arrays of JavaScript Objects that I'd like to compare to see if they are the same. The …

javascript jquery arrays object compare
How to compare two colors for similarity/difference

I want to design a program that can help me assess between 5 pre-defined colors which one is more similar to …

algorithm colors compare rgb hsv