org.openrdf.repository.object.behaviours
Class RDFSContainerDisabler
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Object>
org.openrdf.repository.object.behaviours.RDFSContainer
org.openrdf.repository.object.behaviours.RDFSContainerDisabler
- All Implemented Interfaces:
- Iterable<Object>, Collection<Object>, List<Object>, RDFObject, Mergeable, Refreshable
public abstract class RDFSContainerDisabler
- extends RDFSContainer
This class exists to disable SesameContainer behaviour when creating an
rdf:List. It does this by overriding all of its methods.
- Author:
- James Leigh
RDFSContainerDisabler
public RDFSContainerDisabler()
equals
public boolean equals(Object o)
- Specified by:
equals in interface Collection<Object>- Specified by:
equals in interface List<Object>- Overrides:
equals in class AbstractList<Object>
hashCode
public int hashCode()
- Specified by:
hashCode in interface Collection<Object>- Specified by:
hashCode in interface List<Object>- Overrides:
hashCode in class AbstractList<Object>
toString
public String toString()
- Overrides:
toString in class RDFSContainer
add
public void add(int index,
Object obj)
- Specified by:
add in interface List<Object>- Overrides:
add in class RDFSContainer
add
public boolean add(Object o)
- Specified by:
add in interface Collection<Object>- Specified by:
add in interface List<Object>- Overrides:
add in class AbstractList<Object>
addAll
public boolean addAll(Collection<? extends Object> c)
- Specified by:
addAll in interface Collection<Object>- Specified by:
addAll in interface List<Object>- Overrides:
addAll in class AbstractCollection<Object>
addAll
public boolean addAll(int index,
Collection<? extends Object> c)
- Specified by:
addAll in interface List<Object>- Overrides:
addAll in class AbstractList<Object>
clear
public void clear()
- Specified by:
clear in interface Collection<Object>- Specified by:
clear in interface List<Object>- Overrides:
clear in class RDFSContainer
contains
public boolean contains(Object o)
- Specified by:
contains in interface Collection<Object>- Specified by:
contains in interface List<Object>- Overrides:
contains in class AbstractCollection<Object>
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAll in interface Collection<Object>- Specified by:
containsAll in interface List<Object>- Overrides:
containsAll in class AbstractCollection<Object>
get
public Object get(int index)
- Specified by:
get in interface List<Object>- Overrides:
get in class RDFSContainer
indexOf
public int indexOf(Object o)
- Specified by:
indexOf in interface List<Object>- Overrides:
indexOf in class AbstractList<Object>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Collection<Object>- Specified by:
isEmpty in interface List<Object>- Overrides:
isEmpty 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>
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOf in interface List<Object>- Overrides:
lastIndexOf in class AbstractList<Object>
listIterator
public ListIterator<Object> listIterator()
- Specified by:
listIterator in interface List<Object>- Overrides:
listIterator in class AbstractList<Object>
listIterator
public ListIterator<Object> listIterator(int index)
- Specified by:
listIterator in interface List<Object>- Overrides:
listIterator in class AbstractList<Object>
merge
public void merge(Object source)
- Description copied from interface:
Mergeable
- Initialises the values of this instance with none-null values of the
source Object.
- Specified by:
merge in interface Mergeable- Overrides:
merge in class RDFSContainer
refresh
public void refresh()
- Description copied from interface:
Refreshable
- Flushes the local state of the entity forcing it to refresh.
- Specified by:
refresh in interface Refreshable- Overrides:
refresh in class RDFSContainer
remove
public Object remove(int index)
- Specified by:
remove in interface List<Object>- Overrides:
remove in class RDFSContainer
remove
public boolean remove(Object o)
- Specified by:
remove in interface Collection<Object>- Specified by:
remove in interface List<Object>- Overrides:
remove in class AbstractCollection<Object>
removeAll
public boolean removeAll(Collection<?> c)
- Specified by:
removeAll in interface Collection<Object>- Specified by:
removeAll in interface List<Object>- Overrides:
removeAll in class AbstractCollection<Object>
retainAll
public boolean retainAll(Collection<?> c)
- Specified by:
retainAll in interface Collection<Object>- Specified by:
retainAll in interface List<Object>- Overrides:
retainAll in class AbstractCollection<Object>
set
public Object set(int index,
Object obj)
- Specified by:
set in interface List<Object>- Overrides:
set in class RDFSContainer
size
public int size()
- Specified by:
size in interface Collection<Object>- Specified by:
size in interface List<Object>- Overrides:
size in class RDFSContainer
subList
public List<Object> subList(int fromIndex,
int toIndex)
- Specified by:
subList in interface List<Object>- Overrides:
subList in class AbstractList<Object>
toArray
public Object[] toArray()
- Specified by:
toArray in interface Collection<Object>- Specified by:
toArray in interface List<Object>- Overrides:
toArray in class AbstractCollection<Object>
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArray in interface Collection<Object>- Specified by:
toArray in interface List<Object>- Overrides:
toArray in class AbstractCollection<Object>
removeRange
protected void removeRange(int fromIndex,
int toIndex)
- Overrides:
removeRange in class AbstractList<Object>
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.