org.millscript.millscript.datatypes
Class StringList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<java.lang.Object>
          extended by org.millscript.millscript.datatypes.StringList
All Implemented Interfaces:
java.lang.Iterable<java.lang.Object>, java.util.Collection<java.lang.Object>, java.util.List<java.lang.Object>

Deprecated. As of MillScript 10.2.0, this functionallity has been subsumed by the MillScript-Util project and it's Map API, see IStringList.

@Deprecated
public final class StringList
extends java.util.AbstractList<java.lang.Object>

This class implements a List, backed by a String.


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
StringList(java.lang.String s)
          Deprecated. Constructs a new StringList, backed by the specified string.
 
Method Summary
 java.lang.Object get(int i)
          Deprecated.  
 int size()
          Deprecated.  
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

StringList

public StringList(java.lang.String s)
Deprecated. 
Constructs a new StringList, backed by the specified string.

Parameters:
s - the backing string for this list
Method Detail

get

public java.lang.Object get(int i)
Deprecated. 
Specified by:
get in interface java.util.List<java.lang.Object>
Specified by:
get in class java.util.AbstractList<java.lang.Object>
See Also:
List.get(int)

size

public int size()
Deprecated. 
Specified by:
size in interface java.util.Collection<java.lang.Object>
Specified by:
size in interface java.util.List<java.lang.Object>
Specified by:
size in class java.util.AbstractCollection<java.lang.Object>
See Also:
Collection.size()


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.