Implementing Serializable - part of LANG-551
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@881689 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8550f4da08
commit
fef34b82eb
|
@ -16,6 +16,7 @@
|
|||
*/
|
||||
package org.apache.commons.lang;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Comparator;
|
||||
|
||||
/**
|
||||
|
@ -25,9 +26,10 @@ import java.util.Comparator;
|
|||
* @since 3.0
|
||||
* @version $Id: Range.java 830032 2009-10-27 00:15:00Z scolebourne $
|
||||
*/
|
||||
// TODO: Serializable?
|
||||
// TODO: Make class final and use fields instead of getters?
|
||||
public class Range<T> {
|
||||
public class Range<T> implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Comparator comparator;
|
||||
private final T minimum;
|
||||
|
|
Loading…
Reference in New Issue