package edu.berkeley.sbp.util;
import java.util.*;
import java.text.*;
+import java.io.*;
/**
* This class represents a range of integers (incuding positive and negative
* infinity).
*/
-public class Range {
+public class Range implements Serializable {
private boolean negInf, posInf;
private long min,max;
*
* @author Justin F. Chapweske
*/
- public static class Set implements Iterable<Range> {
+ public static class Set implements Iterable<Range>, Serializable {
public static final int DEFAULT_CAPACITY = 16;