org.infinispan.util
Class InfinispanCollections.EmptyList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<Object>
          extended by org.infinispan.util.InfinispanCollections.EmptyList
All Implemented Interfaces:
Iterable<Object>, Collection<Object>, List<Object>, RandomAccess
Enclosing class:
InfinispanCollections

public static final class InfinispanCollections.EmptyList
extends AbstractList<Object>
implements RandomAccess


Nested Class Summary
static class InfinispanCollections.EmptyList.EmptyListExternalizer
           
 
Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
InfinispanCollections.EmptyList()
           
 
Method Summary
 boolean contains(Object obj)
           
 Object get(int index)
           
 Iterator<Object> iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

InfinispanCollections.EmptyList

public InfinispanCollections.EmptyList()
Method Detail

size

public int size()
Specified by:
size in interface Collection<Object>
Specified by:
size in interface List<Object>
Specified by:
size in class AbstractCollection<Object>

contains

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

iterator

public Iterator<Object> iterator()
Specified by:
iterator in interface Iterable<Object>
Specified by:
iterator in interface Collection<Object>
Specified by:
iterator in interface List<Object>
Overrides:
iterator in class AbstractList<Object>

get

public Object get(int index)
Specified by:
get in interface List<Object>
Specified by:
get in class AbstractList<Object>

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.