Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Java greather than comparison
Created
5 years ago
Diff never expires
Clear
Export
Share
Explain
1 removal
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
39 lines
Copy
1 addition
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
39 lines
Copy
class MyClass {
class MyClass {
MyClass();
MyClass();
0: aload_0
0: aload_0
1: invokespecial #1 // Method java/lang/Object."<init>":()V
1: invokespecial #1 // Method java/lang/Object."<init>":()V
4: return
4: return
static boolean GreaterEqual(double, double);
static boolean GreaterEqual(double, double);
0: dload_0
0: dload_0
1: dload_2
1: dload_2
Copy
Copied
Copy
Copied
2: dcmp
l
2: dcmp
g
3: iflt 10
3: iflt 10
6: iconst_1
6: iconst_1
7: goto 11
7: goto 11
10: iconst_0
10: iconst_0
11: ireturn
11: ireturn
static boolean GreaterEqual(int, int);
static boolean GreaterEqual(int, int);
0: iload_0
0: iload_0
1: iload_1
1: iload_1
2: if_icmplt 9
2: if_icmplt 9
5: iconst_1
5: iconst_1
6: goto 10
6: goto 10
9: iconst_0
9: iconst_0
10: ireturn
10: ireturn
static boolean GreaterEqual(long, long);
static boolean GreaterEqual(long, long);
0: lload_0
0: lload_0
1: lload_2
1: lload_2
2: lcmp
2: lcmp
3: iflt 10
3: iflt 10
6: iconst_1
6: iconst_1
7: goto 11
7: goto 11
10: iconst_0
10: iconst_0
11: ireturn
11: ireturn
}
}
Saved diffs
Original text
Open file
class MyClass { MyClass(); 0: aload_0 1: invokespecial #1 // Method java/lang/Object."<init>":()V 4: return static boolean GreaterEqual(double, double); 0: dload_0 1: dload_2 2: dcmpl 3: iflt 10 6: iconst_1 7: goto 11 10: iconst_0 11: ireturn static boolean GreaterEqual(int, int); 0: iload_0 1: iload_1 2: if_icmplt 9 5: iconst_1 6: goto 10 9: iconst_0 10: ireturn static boolean GreaterEqual(long, long); 0: lload_0 1: lload_2 2: lcmp 3: iflt 10 6: iconst_1 7: goto 11 10: iconst_0 11: ireturn }
Changed text
Open file
class MyClass { MyClass(); 0: aload_0 1: invokespecial #1 // Method java/lang/Object."<init>":()V 4: return static boolean GreaterEqual(double, double); 0: dload_0 1: dload_2 2: dcmpg 3: iflt 10 6: iconst_1 7: goto 11 10: iconst_0 11: ireturn static boolean GreaterEqual(int, int); 0: iload_0 1: iload_1 2: if_icmplt 9 5: iconst_1 6: goto 10 9: iconst_0 10: ireturn static boolean GreaterEqual(long, long); 0: lload_0 1: lload_2 2: lcmp 3: iflt 10 6: iconst_1 7: goto 11 10: iconst_0 11: ireturn }
Find difference