com.hazelcast.client.proxy
Class ClientListProxy<E>

java.lang.Object
  extended by com.hazelcast.client.spi.ClientProxy
      extended by com.hazelcast.client.proxy.AbstractClientCollectionProxy<E>
          extended by com.hazelcast.client.proxy.ClientListProxy<E>
All Implemented Interfaces:
DistributedObject, ICollection<E>, IList<E>, Iterable<E>, Collection<E>, List<E>

public class ClientListProxy<E>
extends AbstractClientCollectionProxy<E>
implements IList<E>

Author:
ali 5/20/13

Field Summary
 
Fields inherited from class com.hazelcast.client.proxy.AbstractClientCollectionProxy
partitionKey
 
Constructor Summary
ClientListProxy(String serviceName, String name)
           
 
Method Summary
 void add(int index, E element)
           
 boolean addAll(int index, Collection<? extends E> c)
           
 E get(int index)
           
 int indexOf(Object o)
           
 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)
           
 String toString()
           
 
Methods inherited from class com.hazelcast.client.proxy.AbstractClientCollectionProxy
add, addAll, addItemListener, clear, contains, containsAll, invoke, isEmpty, iterator, remove, removeAll, removeItemListener, retainAll, size, toArray, toArray
 
Methods inherited from class com.hazelcast.client.spi.ClientProxy
destroy, equals, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invokeInterruptibly, listen, listen, onDestroy, onInitialize, onShutdown, setContext, stopListening, throwExceptionIfNull, toData, toObject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface com.hazelcast.core.ICollection
addItemListener, getName, removeItemListener
 
Methods inherited from interface com.hazelcast.core.DistributedObject
destroy, getId, getPartitionKey, getServiceName
 

Constructor Detail

ClientListProxy

public ClientListProxy(String serviceName,
                       String name)
Method Detail

addAll

public boolean addAll(int index,
                      Collection<? extends E> c)
Specified by:
addAll in interface List<E>

get

public E get(int index)
Specified by:
get in interface List<E>

set

public E set(int index,
             E element)
Specified by:
set in interface List<E>

add

public void add(int index,
                E element)
Specified by:
add in interface List<E>

remove

public E remove(int index)
Specified by:
remove in interface List<E>

indexOf

public int indexOf(Object o)
Specified by:
indexOf in interface List<E>

lastIndexOf

public int lastIndexOf(Object o)
Specified by:
lastIndexOf in interface List<E>

listIterator

public ListIterator<E> listIterator()
Specified by:
listIterator in interface List<E>

listIterator

public ListIterator<E> listIterator(int index)
Specified by:
listIterator in interface List<E>

subList

public List<E> subList(int fromIndex,
                       int toIndex)
Specified by:
subList in interface List<E>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.