![]() |
|
Contents |
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 |
| SynchronizedRandomAccessList | ( | List< E > | l | ) | [package] |
| SynchronizedRandomAccessList | ( | List< E > | l, | |
| Object | mutex | |||
| ) | [package] |
| 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.
| start | the index at which to start the sublist | |
| end | the index one past the end of the sublist |
| 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.
final long serialVersionUID = 1530674583602358482L [static, private] |
Reimplemented from Collections.SynchronizedList< E >.