Package com._1c.g5.v8.dt.bsl.resource
Class BslResource.CustomEAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>
- java.lang.Object
-
- java.util.concurrent.CopyOnWriteArrayList<E>
-
- com._1c.g5.v8.dt.bsl.resource.BslResource.CustomEAdapterList<E>
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<E>
,Collection<E>
,List<E>
,RandomAccess
,org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
,org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
,org.eclipse.emf.common.util.EList<E>
- Enclosing class:
- BslResource
public class BslResource.CustomEAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter> extends CopyOnWriteArrayList<E> implements org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList, org.eclipse.emf.common.util.EList<E>, RandomAccess, Cloneable, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomEAdapterList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, E object)
boolean
add(E object)
boolean
addAll(Collection<? extends E> collection)
void
addListener(org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList.Listener listener)
void
clear()
org.eclipse.emf.common.notify.Adapter
getAdapterForType(Object type)
E
move(int newPosition, int oldPosition)
void
move(int newPosition, E object)
E
remove(int index)
boolean
remove(Object object)
boolean
removeAll(Collection<?> collection)
void
removeListener(org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList.Listener listener)
boolean
retainAll(Collection<?> collection)
E
set(int index, E object)
-
Methods inherited from class java.util.concurrent.CopyOnWriteArrayList
addAll, addAllAbsent, addIfAbsent, clone, contains, containsAll, equals, forEach, get, hashCode, indexOf, indexOf, isEmpty, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, size, sort, spliterator, subList, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, replaceAll, size, sort, spliterator, subList, toArray, toArray
-
-
-
-
Method Detail
-
add
public boolean add(E object)
-
add
public void add(int index, E object)
-
addAll
public boolean addAll(Collection<? extends E> collection)
- Specified by:
addAll
in interfaceCollection<E extends Object & org.eclipse.emf.common.notify.Adapter>
- Specified by:
addAll
in interfaceList<E extends Object & org.eclipse.emf.common.notify.Adapter>
- Overrides:
addAll
in classCopyOnWriteArrayList<E extends Object & org.eclipse.emf.common.notify.Adapter>
-
remove
public boolean remove(Object object)
- Specified by:
remove
in interfaceCollection<E extends Object & org.eclipse.emf.common.notify.Adapter>
- Specified by:
remove
in interfaceList<E extends Object & org.eclipse.emf.common.notify.Adapter>
- Overrides:
remove
in classCopyOnWriteArrayList<E extends Object & org.eclipse.emf.common.notify.Adapter>
-
remove
public E remove(int index)
-
removeAll
public boolean removeAll(Collection<?> collection)
- Specified by:
removeAll
in interfaceCollection<E extends Object & org.eclipse.emf.common.notify.Adapter>
- Specified by:
removeAll
in interfaceList<E extends Object & org.eclipse.emf.common.notify.Adapter>
- Overrides:
removeAll
in classCopyOnWriteArrayList<E extends Object & org.eclipse.emf.common.notify.Adapter>
-
clear
public void clear()
- Specified by:
clear
in interfaceCollection<E extends Object & org.eclipse.emf.common.notify.Adapter>
- Specified by:
clear
in interfaceList<E extends Object & org.eclipse.emf.common.notify.Adapter>
- Overrides:
clear
in classCopyOnWriteArrayList<E extends Object & org.eclipse.emf.common.notify.Adapter>
-
retainAll
public boolean retainAll(Collection<?> collection)
- Specified by:
retainAll
in interfaceCollection<E extends Object & org.eclipse.emf.common.notify.Adapter>
- Specified by:
retainAll
in interfaceList<E extends Object & org.eclipse.emf.common.notify.Adapter>
- Overrides:
retainAll
in classCopyOnWriteArrayList<E extends Object & org.eclipse.emf.common.notify.Adapter>
-
move
public void move(int newPosition, E object)
-
move
public E move(int newPosition, int oldPosition)
-
addListener
public void addListener(org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList.Listener listener)
- Specified by:
addListener
in interfaceorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
-
removeListener
public void removeListener(org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList.Listener listener)
- Specified by:
removeListener
in interfaceorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
-
getAdapterForType
public org.eclipse.emf.common.notify.Adapter getAdapterForType(Object type)
- Specified by:
getAdapterForType
in interfaceorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
- Since:
- 2.15
-
-