From bf63f507623a4922437a320f5fd60c9d3e078eca Mon Sep 17 00:00:00 2001 From: mdb Date: Mon, 26 Nov 2001 21:57:42 +0000 Subject: [PATCH] Made Tuple serializable. git-svn-id: https://samskivert.googlecode.com/svn/trunk@475 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- projects/samskivert/src/java/com/samskivert/util/Tuple.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/samskivert/src/java/com/samskivert/util/Tuple.java b/projects/samskivert/src/java/com/samskivert/util/Tuple.java index 334070d6..c5fdfcea 100644 --- a/projects/samskivert/src/java/com/samskivert/util/Tuple.java +++ b/projects/samskivert/src/java/com/samskivert/util/Tuple.java @@ -1,5 +1,5 @@ // -// $Id: Tuple.java,v 1.3 2001/11/26 19:22:12 mdb Exp $ +// $Id: Tuple.java,v 1.4 2001/11/26 21:57:42 mdb Exp $ // // samskivert library - useful routines for java programs // Copyright (C) 2001 Michael Bayne @@ -20,12 +20,14 @@ package com.samskivert.util; +import java.io.Serializable; + /** * A tuple is a simple object that holds a reference to two other objects. * It provides hashcode and equality semantics that allow it to be used to * combine two objects into a single key (for hashtables, etc.). */ -public class Tuple +public class Tuple implements Serializable { /** The left object. */ public Object left;