Package com.nt.udc.util
Class BatchIdFileComparator
java.lang.Object
com.nt.udc.util.BatchIdFileComparator
- All Implemented Interfaces:
FileComparator,Comparator
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
BatchIdFileComparator
public BatchIdFileComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator
-
compareFiles
Description copied from interface:FileComparatorCompares two Files- Specified by:
compareFilesin interfaceFileComparator- Parameters:
file1- File to comparefile2- File to compare- Returns:
- 1, if file1 > file2 0, if file1 == file2 -1, if file1 invalid input: '<' file2
-