public class UnmodifiableLazyList<E> extends AbstractList<E> implements DataSerializable
modCount
Constructor and Description |
---|
UnmodifiableLazyList() |
UnmodifiableLazyList(List list,
SerializationService serializationService) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
E |
get(int index) |
Iterator<E> |
iterator() |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int index) |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
List<E> |
subList(int fromIndex,
int toIndex) |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
add, add, addAll, equals, hashCode, indexOf, lastIndexOf, remove, removeRange, set
addAll, contains, containsAll, isEmpty, toArray, toArray, toString
public UnmodifiableLazyList()
public UnmodifiableLazyList(List list, SerializationService serializationService)
public int size()
size
in interface Collection<E>
size
in interface List<E>
size
in class AbstractCollection<E>
public boolean remove(Object o)
remove
in interface Collection<E>
remove
in interface List<E>
remove
in class AbstractCollection<E>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<E>
removeAll
in interface List<E>
removeAll
in class AbstractCollection<E>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<E>
retainAll
in interface List<E>
retainAll
in class AbstractCollection<E>
public void clear()
clear
in interface Collection<E>
clear
in interface List<E>
clear
in class AbstractList<E>
public E get(int index)
public ListIterator<E> listIterator()
listIterator
in interface List<E>
listIterator
in class AbstractList<E>
public ListIterator<E> listIterator(int index)
listIterator
in interface List<E>
listIterator
in class AbstractList<E>
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.