A healthy dash of google-collections

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5798 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Dave Hoover
2009-05-23 01:04:08 +00:00
parent 1bdb2cae16
commit b222eed2fd
34 changed files with 152 additions and 91 deletions
@@ -27,6 +27,7 @@ import java.util.Set;
import java.io.IOException;
import com.google.common.collect.Lists;
import com.threerings.io.UnreliableObjectInputStream;
import com.threerings.io.UnreliableObjectOutputStream;
@@ -72,6 +73,7 @@ public class DatagramSequencer
mappedClasses = null;
} else {
_uout.setMappedClasses(new HashSet<Class<?>>());
}
// likewise with the intern mappings
@@ -79,6 +81,7 @@ public class DatagramSequencer
mappedInterns = null;
} else {
_uout.setMappedInterns(new HashSet<String>());
}
// record the transmission
@@ -164,5 +167,5 @@ public class DatagramSequencer
protected int _lastReceived;
/** Records of datagrams sent. */
protected ArrayList<SendRecord> _sendrecs = new ArrayList<SendRecord>();
protected ArrayList<SendRecord> _sendrecs = Lists.newArrayList();
}