com.hazelcast.client
Class ListClientProxy<E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by com.hazelcast.client.CollectionClientProxy<E>
          extended by com.hazelcast.client.ListClientProxy<E>
All Implemented Interfaces:
ICollection<E>, IList<E>, Instance, Iterable<E>, Collection<E>, List<E>

public class ListClientProxy<E>
extends CollectionClientProxy<E>
implements IList<E>


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hazelcast.core.Instance
Instance.InstanceType
 
Field Summary
 
Fields inherited from class com.hazelcast.client.CollectionClientProxy
name, proxyHelper
 
Constructor Summary
ListClientProxy(HazelcastClient hazelcastClient, String name)
           
 
Method Summary
 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()
           
 String getName()
           
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)
           
 
Methods inherited from class com.hazelcast.client.CollectionClientProxy
addItemListener, destroy, getId, hashCode, iterator, removeItemListener, size, toString
 
Methods inherited from class java.util.AbstractCollection
addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hazelcast.core.ICollection
addItemListener, removeItemListener
 
Methods inherited from interface com.hazelcast.core.Instance
destroy, getId
 
Methods inherited from interface java.util.List
addAll, clear, containsAll, hashCode, isEmpty, iterator, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

ListClientProxy

public ListClientProxy(HazelcastClient hazelcastClient,
                       String name)
Method Detail

add

public boolean add(E o)
Specified by:
add in interface Collection<E>
Specified by:
add in interface List<E>
Overrides:
add in class AbstractCollection<E>

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<E>
Specified by:
remove in interface List<E>
Overrides:
remove in class AbstractCollection<E>

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection<E>
Specified by:
contains in interface List<E>
Overrides:
contains in class AbstractCollection<E>

equals

public boolean equals(Object o)
Specified by:
equals in interface Collection<E>
Specified by:
equals in interface List<E>
Overrides:
equals in class Object

getTheCollection

protected Collection<E> getTheCollection()
Specified by:
getTheCollection in class CollectionClientProxy<E>

getName

public String getName()
Specified by:
getName in interface ICollection<E>

getInstanceType

public Instance.InstanceType getInstanceType()
Specified by:
getInstanceType in interface Instance

add

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

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>

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>

remove

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

set

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

subList

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


Copyright © 2012 Hazel Bilisim Ltd.. All Rights Reserved.