Top "Compare" questions

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

Compare Date object with a TimeStamp in Java

When I test this code: java.util.Date date = new java.util.Date(); java.util.Date stamp = new java.sql.…

java date timestamp compare equals
Comparing 2 lists consisting of dictionaries with unique keys in python

I have 2 lists, both of which contain same number of dictionaries. Each dictionary has a unique key. There is a …

python list dictionary compare
Git: Compare All Local Commits to Remote Repo Version

I'm somewhat new to Git and what I'm trying to do seems like it should be possible. Basically I've been …

git diff compare status gitk
Why is one string greater than the other when comparing strings in JavaScript?

I see this code from a book: var a = "one"; var b = "four"; a>b; // will return true but …

javascript string compare
Python - Use 'set' to find the different items in list

I need to compare two lists in Python, and I know about using the set command to find similar items, …

python compare
Compare contents of two files in Dreamweaver

Is it possible to compare the contents of two files in Dreamweaver?

compare dreamweaver text-files
Compare two Images in JavaScript

I am trying to determine if two images are the same in javascript (even if the src urls are different). …

javascript image compare
Text comparison algorithm

We have a requirement in the project that we have to compare two texts (update1, update2) and come up with …

text comparison diff compare
c# Sorting a List<KeyValuePair<int, string>>

In C# I would like to sort a List<KeyValuePair<int, string>> by the length of …

c# list sorting compare keyvaluepair
How can I use in_array if the needle is an array?

I have 2 arrays, the value will be loaded from database, below is an example: $arr1 = array(1,2,3); $arr2 = array(1,2,3,4,5,6,7); What I …

php arrays search compare