We should be serializable just like ArrayList.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@993 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: SortableArrayList.java,v 1.7 2002/11/24 04:50:27 mdb Exp $
|
||||
// $Id: SortableArrayList.java,v 1.8 2002/12/16 01:55:55 mdb Exp $
|
||||
//
|
||||
// samskivert library - useful routines for java programs
|
||||
// Copyright (C) 2001 Michael Bayne
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
package com.samskivert.util;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import java.util.AbstractList;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
@@ -40,7 +42,7 @@ import java.lang.reflect.Array;
|
||||
* Arrays#sort} clones the supplied array so that it can do a merge sort).
|
||||
*/
|
||||
public class SortableArrayList extends AbstractList
|
||||
implements List, RandomAccess, Cloneable
|
||||
implements List, RandomAccess, Cloneable, Serializable
|
||||
{
|
||||
/**
|
||||
* Sorts the elements in this list using the quick sort algorithm
|
||||
|
||||
Reference in New Issue
Block a user