Class ResourceChangeListImpl
java.lang.Object
org.apache.sling.resourceresolver.impl.observation.ResourceChangeListImpl
- All Implemented Interfaces:
Iterable<ResourceChange>,Collection<ResourceChange>,List<ResourceChange>,ResourceChangeList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int index, ResourceChange element) booleanbooleanaddAll(int index, Collection<? extends ResourceChange> c) booleanaddAll(Collection<? extends ResourceChange> c) voidclear()booleanbooleancontainsAll(Collection<?> c) get(int index) String[]Returns the search path used by the resource resolving.intbooleanisEmpty()iterator()intlistIterator(int index) voidlock()remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) set(int index, ResourceChange element) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
ResourceChangeListImpl
-
-
Method Details
-
lock
public void lock() -
size
public int size()- Specified by:
sizein interfaceCollection<ResourceChange>- Specified by:
sizein interfaceList<ResourceChange>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<ResourceChange>- Specified by:
isEmptyin interfaceList<ResourceChange>
-
contains
- Specified by:
containsin interfaceCollection<ResourceChange>- Specified by:
containsin interfaceList<ResourceChange>
-
iterator
- Specified by:
iteratorin interfaceCollection<ResourceChange>- Specified by:
iteratorin interfaceIterable<ResourceChange>- Specified by:
iteratorin interfaceList<ResourceChange>
-
toArray
- Specified by:
toArrayin interfaceCollection<ResourceChange>- Specified by:
toArrayin interfaceList<ResourceChange>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<ResourceChange>- Specified by:
toArrayin interfaceList<ResourceChange>
-
add
- Specified by:
addin interfaceCollection<ResourceChange>- Specified by:
addin interfaceList<ResourceChange>
-
remove
- Specified by:
removein interfaceCollection<ResourceChange>- Specified by:
removein interfaceList<ResourceChange>
-
containsAll
- Specified by:
containsAllin interfaceCollection<ResourceChange>- Specified by:
containsAllin interfaceList<ResourceChange>
-
addAll
- Specified by:
addAllin interfaceCollection<ResourceChange>- Specified by:
addAllin interfaceList<ResourceChange>
-
addAll
- Specified by:
addAllin interfaceList<ResourceChange>
-
removeAll
- Specified by:
removeAllin interfaceCollection<ResourceChange>- Specified by:
removeAllin interfaceList<ResourceChange>
-
retainAll
- Specified by:
retainAllin interfaceCollection<ResourceChange>- Specified by:
retainAllin interfaceList<ResourceChange>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<ResourceChange>- Specified by:
clearin interfaceList<ResourceChange>
-
get
- Specified by:
getin interfaceList<ResourceChange>
-
set
- Specified by:
setin interfaceList<ResourceChange>
-
add
- Specified by:
addin interfaceList<ResourceChange>
-
remove
- Specified by:
removein interfaceList<ResourceChange>
-
indexOf
- Specified by:
indexOfin interfaceList<ResourceChange>
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<ResourceChange>
-
listIterator
- Specified by:
listIteratorin interfaceList<ResourceChange>
-
listIterator
- Specified by:
listIteratorin interfaceList<ResourceChange>
-
subList
- Specified by:
subListin interfaceList<ResourceChange>
-
getSearchPath
Description copied from interface:ResourceChangeListReturns the search path used by the resource resolving.Each entry in the array is an absolute path terminated with a slash character. Thus to create an absolute path from a search path entry and a relative path, the search path entry and relative path may just be concatenated.
- Specified by:
getSearchPathin interfaceResourceChangeList- Returns:
- The array of search paths
- See Also:
-
toString
-