Add serialization version

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131728 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2004-05-16 11:56:47 +00:00
parent 418089e163
commit f32d086782
1 changed files with 6 additions and 4 deletions

View File

@ -19,20 +19,22 @@ import java.io.Serializable;
import java.util.Comparator;
/**
* A {@link Comparator} for {@link Boolean} objects.
* A {@link Comparator} for {@link Boolean} objects that can sort either
* true or false first.
* <p>
* @see #getTrueFirstComparator()
* @see #getFalseFirstComparator()
* @see #getBooleanComparator(boolean)
*
* @since Commons Collections 3.0
* @version $Revision: 1.13 $ $Date: 2004/05/15 13:24:11 $
* @version $Revision: 1.14 $ $Date: 2004/05/16 11:56:47 $
*
* @author Rodney Waldhoff
*/
public final class BooleanComparator implements Comparator, Serializable {
// TODO: Serialization version
/** Serialization version. */
private static final long serialVersionUID = 1830042991606340609L;
/** Constant "true first" reference. */
private static final BooleanComparator TRUE_FIRST = new BooleanComparator(true);