public class UnmodifiableLazyList<E> extends AbstractList<E> implements IdentifiedDataSerializable
modCount| Constructor and Description | 
|---|
UnmodifiableLazyList()  | 
UnmodifiableLazyList(List list,
                    SerializationService serializationService)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()  | 
E | 
get(int index)  | 
int | 
getFactoryId()
Returns DataSerializableFactory factory ID for this class. 
 | 
int | 
getId()
Returns type identifier for this class. 
 | 
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, setaddAll, contains, containsAll, isEmpty, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, replaceAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic 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
DataSerializablewriteData in interface DataSerializableout - outputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     input stream has been closed.public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.