Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

Collections.SynchronizedRandomAccessList< E > Class Reference

Inherits java::util::Collections::SynchronizedList< E >, and java::util::RandomAccess.

List of all members.


Public Member Functions

List< E > subList (int start, int end)
 Answers a List of the specified portion of this List from the start index to one less than the end index.

Package Functions

 SynchronizedRandomAccessList (List< E > l)
 SynchronizedRandomAccessList (List< E > l, Object mutex)

Private Member Functions

Object writeReplace ()
 Replaces this SynchronizedRandomAccessList with a SynchronizedList so that JREs before 1.4 can deserialize this object without any problems.

Static Private Attributes

static final long serialVersionUID = 1530674583602358482L

Constructor & Destructor Documentation

SynchronizedRandomAccessList ( List< E >  l  )  [package]

SynchronizedRandomAccessList ( List< E >  l,
Object  mutex 
) [package]


Member Function Documentation

List<E> subList ( int  start,
int  end 
)

Answers a List of the specified portion of this List from the start index to one less than the end index.

The returned List is backed by this list so changes to one are reflected by the other.

Parameters:
start the index at which to start the sublist
end the index one past the end of the sublist
Returns:
a List of a portion of this List
Exceptions:
IndexOutOfBoundsException when start < 0, start > end or end > size()

Reimplemented from Collections.SynchronizedList< E >.

Object writeReplace (  )  [private]

Replaces this SynchronizedRandomAccessList with a SynchronizedList so that JREs before 1.4 can deserialize this object without any problems.

This is necessary since RandomAccess API was introduced only in 1.4.

Returns:
SynchronizedList
See also:
SynchronizedList.readResolve()


Member Data Documentation

final long serialVersionUID = 1530674583602358482L [static, private]

Reimplemented from Collections.SynchronizedList< E >.