optimizations to IntPairMap.java
[sbp.git] / src / edu / berkeley / sbp / util / EmptyIterator.java
index 2c099f3..4a65433 100644 (file)
@@ -1,9 +1,10 @@
-// Copyright 2006 all rights reserved; see LICENSE file for BSD-style license
+// Copyright 2006-2007 all rights reserved; see LICENSE file for BSD-style license
 
 package edu.berkeley.sbp.util;
 import java.util.*;
+import java.io.*;
 
-public final class EmptyIterator<T> implements Iterable<T>, Iterator<T> {
+public final class EmptyIterator<T> implements Iterable<T>, Iterator<T>, Serializable {
     public void        remove()   { throw new Error(); }
     public boolean     hasNext()  { return false; }
     public T           next()     { throw new Error(); }