org.millscript.millscript.datatypes
Class LiteList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<java.lang.Object>
          extended by org.millscript.millscript.datatypes.LiteList
All Implemented Interfaces:
java.io.Serializable, 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 IArrayList.

@Deprecated
public final class LiteList
extends java.util.AbstractList<java.lang.Object>
implements java.io.Serializable

Immutable array based implementation of the List interface.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
LiteList(java.lang.Object[] x)
          Deprecated. Constructs a new lite list using the specified array as it's backing array.
 
Method Summary
 java.lang.Object get(int index)
          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

LiteList

public LiteList(java.lang.Object[] x)
Deprecated. 
Constructs a new lite list using the specified array as it's backing array.

Parameters:
x - the array to use as a backing array for this list.
Method Detail

get

public java.lang.Object get(int index)
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.