public class ListProxyImpl<E> extends AbstractCollectionProxyImpl<ListService,E> implements IList<E>
name, partitionId
PARTITIONING_STRATEGY
Modifier | Constructor and Description |
---|---|
protected |
ListProxyImpl(String name,
NodeEngine nodeEngine,
ListService service) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
E e) |
boolean |
addAll(int index,
Collection<? extends E> c) |
E |
get(int index) |
protected CollectionConfig |
getConfig(NodeEngine nodeEngine) |
String |
getServiceName()
Returns the service name for this object.
|
int |
indexOf(Object o) |
Iterator<E> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int index) |
E |
remove(int index) |
E |
set(int index,
E element) |
List<E> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
add, addAll, addItemListener, checkIndexNotNegative, checkObjectNotNull, clear, contains, containsAll, getName, initialize, invoke, isEmpty, remove, removeAll, removeItemListener, retainAll, size
destroy, equals, getDistributedObjectName, getNameAsPartitionAwareData, getNodeEngine, getOperationService, getPartitionId, getPartitionKey, getService, hashCode, invalidate, invokeOnPartition, postDestroy, preDestroy, throwNotActiveException, toData, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, replaceAll, retainAll, size, sort, spliterator
addItemListener, getName, removeItemListener
parallelStream, removeIf, stream
destroy, getPartitionKey
protected ListProxyImpl(String name, NodeEngine nodeEngine, ListService service)
protected CollectionConfig getConfig(NodeEngine nodeEngine)
getConfig
in class AbstractCollectionProxyImpl<ListService,E>
public int lastIndexOf(Object o)
lastIndexOf
in interface List<E>
public boolean addAll(int index, Collection<? extends E> c)
public ListIterator<E> listIterator()
listIterator
in interface List<E>
public ListIterator<E> listIterator(int index)
listIterator
in interface List<E>
public Iterator<E> iterator()
iterator
in interface Iterable<E>
iterator
in interface Collection<E>
iterator
in interface List<E>
iterator
in class AbstractCollectionProxyImpl<ListService,E>
public Object[] toArray()
toArray
in interface Collection<E>
toArray
in interface List<E>
toArray
in class AbstractCollectionProxyImpl<ListService,E>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<E>
toArray
in interface List<E>
toArray
in class AbstractCollectionProxyImpl<ListService,E>
public String getServiceName()
DistributedObject
getServiceName
in interface DistributedObject
getServiceName
in class AbstractDistributedObject<ListService>
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.