public class ListClientProxy<E> extends CollectionClientProxy<E> implements IList<E>
Instance.InstanceType
name, proxyHelper
Constructor and Description |
---|
ListClientProxy(HazelcastClient hazelcastClient,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E o) |
void |
add(int index,
E element) |
boolean |
addAll(int index,
Collection<? extends E> c) |
boolean |
contains(Object o) |
boolean |
equals(Object o) |
E |
get(int index) |
Instance.InstanceType |
getInstanceType()
Returns instance type such as map, set, list, lock, topic, multimap, id generator
|
String |
getName()
Returns the name of this collection
|
protected Collection<E> |
getTheCollection() |
int |
indexOf(Object o) |
int |
lastIndexOf(Object o) |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int index) |
E |
remove(int index) |
boolean |
remove(Object o) |
E |
set(int index,
E element) |
List<E> |
subList(int fromIndex,
int toIndex) |
addItemListener, destroy, getId, hashCode, iterator, removeItemListener, size, toString
addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addItemListener, removeItemListener
public ListClientProxy(HazelcastClient hazelcastClient, String name)
public boolean add(E o)
add
in interface Collection<E>
add
in interface List<E>
add
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 contains(Object o)
contains
in interface Collection<E>
contains
in interface List<E>
contains
in class AbstractCollection<E>
public boolean equals(Object o)
protected Collection<E> getTheCollection()
getTheCollection
in class CollectionClientProxy<E>
public String getName()
ICollection
getName
in interface ICollection<E>
public Instance.InstanceType getInstanceType()
Instance
getInstanceType
in interface Instance
public boolean addAll(int index, Collection<? extends E> c)
public int lastIndexOf(Object o)
lastIndexOf
in interface List<E>
public ListIterator<E> listIterator()
listIterator
in interface List<E>
public ListIterator<E> listIterator(int index)
listIterator
in interface List<E>
Copyright © 2013 Hazelcast, Inc.. All rights reserved.