|
|
|
Java classes to include in your programs. Includes:
HTMLArrayComparator.java: Compares two arrays of Strings of HTML, ignoring embedded tags.
HTMLComparator.java: Compares two Strings of HTML, ignoring embedded tags.
StringComparator.java: Compares two Strings, case sensitive.
StringComparatorIgnoreCase.java: Compares two Strings, case insensitive.
See http://mindprod.com/jgloss/comparators.html for general information on using
comparators and generics.
Not useful on its own, though you can run the debugging harness with:
java com.mindprod.comparators.Comparators
Why the orange slice logo? Comparing apples and oranges,
though Comparators are primarily for comparing Objects of
the same class.
|
|
|
html image slice
private label articles
sql data comparing
publish html
-------------------------
|
|
This is a pair of library classes to include in your own
code for manipulating ArrayLists.
It consist of two classes: SortedArrayList and Merge.
SortedArrayList is an ArrayList that remembers how it is
sorted, so that if you ask it to sort, it can sometimes
bypass the work when it is already in order. You declare the
order you want and it keeps the list sorted, You just call
sort whenever you need the list to be in perfect order. It
may or may not actually sort the list at that time. It
automatically avoids physically sorting when it does not
really have to.
Merge lets you merge/prune two SortedArrayLists in any of 32
different ways, e.g. union, intersection, update... It also
lets you dedup and prune individual SortedArrayLists.
They are used extensively as part the replicatorsender
package. Having an look at that code may give you a more
realistic view of what they can do.
To use them, have a look at the source code and the sample
drivers. They don't do anything useful standalone. You must
incorporate them into your own code.
Why the spectrum icon? It represent the colours of light
sorted in order by wavelength.
Comparators: http://mindprod.com/zips/comparators14.zip
SortedArrayList: http://mindprod.com/zips/sorted13.zip |
|
http://www.dupecop.net – provides tool to compare an original PLR article or other text to your modified/re-written version and find out how unique it is. Helps your site avoid the dreaded duplicate content penalty
dupecop: http://www.dupecop.com/downloads/dupecop.exe
|
|
|
|