org.universAAL.middleware.rdf
Class UnmodifiableResourceList

Package class diagram package UnmodifiableResourceList
java.lang.Object
  extended by org.universAAL.middleware.rdf.UnmodifiableResourceList
All Implemented Interfaces:
Iterable, Collection, List

public final class UnmodifiableResourceList
extends Object
implements List


Constructor Summary
UnmodifiableResourceList(List l)
           
 
Method Summary
 void add(int arg0, Object arg1)
           
 boolean add(Object arg0)
           
 boolean addAll(Collection arg0)
           
 boolean addAll(int arg0, Collection arg1)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection arg0)
           
 Object get(int index)
           
static org.universAAL.middleware.rdf.UnmodifiableResourceList.SafeIterator getIterator(Iterator it)
           
 int indexOf(Object o)
           
 boolean isEmpty()
           
 Iterator iterator()
           
 int lastIndexOf(Object o)
           
 ListIterator listIterator()
           
 ListIterator listIterator(int index)
           
 Object remove(int index)
           
 boolean remove(Object o)
           
 boolean removeAll(Collection arg0)
           
 boolean retainAll(Collection arg0)
           
 Object set(int arg0, Object arg1)
           
 int size()
           
 List subList(int fromIndex, int toIndex)
           
 Object[] toArray()
           
 Object[] toArray(Object[] arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.List
equals, hashCode
 

Constructor Detail

UnmodifiableResourceList

public UnmodifiableResourceList(List l)
Method Detail

getIterator

public static final org.universAAL.middleware.rdf.UnmodifiableResourceList.SafeIterator getIterator(Iterator it)

add

public boolean add(Object arg0)
Specified by:
add in interface Collection
Specified by:
add in interface List

add

public void add(int arg0,
                Object arg1)
Specified by:
add in interface List

addAll

public boolean addAll(Collection arg0)
Specified by:
addAll in interface Collection
Specified by:
addAll in interface List

addAll

public boolean addAll(int arg0,
                      Collection arg1)
Specified by:
addAll in interface List

clear

public void clear()
Specified by:
clear in interface Collection
Specified by:
clear in interface List

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection
Specified by:
contains in interface List

containsAll

public boolean containsAll(Collection arg0)
Specified by:
containsAll in interface Collection
Specified by:
containsAll in interface List

get

public Object get(int index)
Specified by:
get in interface List

indexOf

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

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection
Specified by:
isEmpty in interface List

iterator

public Iterator iterator()
Specified by:
iterator in interface Iterable
Specified by:
iterator in interface Collection
Specified by:
iterator in interface List

lastIndexOf

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

listIterator

public ListIterator listIterator()
Specified by:
listIterator in interface List

listIterator

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

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection
Specified by:
remove in interface List

remove

public Object remove(int index)
Specified by:
remove in interface List

removeAll

public boolean removeAll(Collection arg0)
Specified by:
removeAll in interface Collection
Specified by:
removeAll in interface List

retainAll

public boolean retainAll(Collection arg0)
Specified by:
retainAll in interface Collection
Specified by:
retainAll in interface List

set

public Object set(int arg0,
                  Object arg1)
Specified by:
set in interface List

size

public int size()
Specified by:
size in interface Collection
Specified by:
size in interface List

subList

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

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection
Specified by:
toArray in interface List

toArray

public Object[] toArray(Object[] arg0)
Specified by:
toArray in interface Collection
Specified by:
toArray in interface List


Copyright © 2014 universAAL Consortium. All Rights Reserved.