クラス SMovableListImpl<V>
java.lang.Object
org.wcardinal.controller.data.SList<V>
org.wcardinal.controller.data.SMovableList<V>
org.wcardinal.controller.data.internal.SMovableListImpl<V>
- すべての実装されたインタフェース:
Iterable<V>,Collection<V>,List<V>,SContainer<List<V>,,SPatchesPacked<List<V>, SMovableListPatch<V>>> SMovableListContainer<V>,SLockable,SVariable,ControllerDynamicInfoHandler,Unlockable
@Component
@Scope("prototype")
public class SMovableListImpl<V>
extends SMovableList<V>
implements SMovableListContainer<V>, ControllerDynamicInfoHandler
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース org.wcardinal.controller.data.SMovableList
SMovableList.Move<V>クラスから継承されたネストされたクラス/インタフェース org.wcardinal.controller.data.SList
SList.Update<V> -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明voidbooleanbooleanaddAll(int index, Collection<? extends V> values) booleanaddAll(Collection<? extends V> values) voidvoidclear()booleanclearAndAdd(V value) Clear this list and then appends the specified element to this list.booleanclearAndAddAll(Collection<? extends V> values) Clear this list and then appends the specified elements to this list.booleancompact()booleanbooleancontainsAll(Collection<?> values) booleanget(int index) getLock()getName()longorg.springframework.core.ResolvableTypegetType()getValue()voidhandle(Object origin, Map<String, SData> nameToSData, Map<String, DynamicDataObject> nameToData, long senderId) voidhandle(Object origin, SetDynamicDataMap map) intvoidinit(String name, SContainerParent parent, AutoCloseableReentrantLock lock, org.springframework.core.ResolvableType type, EnumSet<Property> properties) voidInitialize this.voidinitialize(Object except) booleanisEmpty()booleanReturns true if this is initialized.booleanisLocked()Returns true if this instance is locked.booleanReturns true if this is non-null.booleanReturns true if this is read-only.booleanisSoft()iterator()intlastIndexOf(Object value) listIterator(int index) lock()Locks this instance.voidmove(int oldIndex, int newIndex) Moves the element at the indexoldIndexto the indexnewIndex.voidonPatches(Object except, SPatchesPacked<List<V>, SMovableListPatch<V>> patches) remove(int index) booleanbooleanremoveAll(Collection<?> targets) voidremoveOrigin(Object origin) voidReplaces the existing elements with the specified elements if the existing elements are not equal to the specified elements.reset(int index) Resets the specified index and returns the value at the specified index.booleanretainAll(Collection<?> targets) voidsetRevision(long revision) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<U> U[]toArray(U[] array) voidtoDirty()Marks all the elements as updated.voidtoDirty(int index) Marks the element of the specified index as updated.toString()booleantryLock()Tries to lock this instance.booleanTries to lock this instance.voidunlock()Unlocks this instance.voidUnlocks this instance.クラスから継承されたメソッド java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitインタフェースから継承されたメソッド java.util.Collection
parallelStream, removeIf, stream, toArrayインタフェースから継承されたメソッド java.util.List
hashCode, replaceAll, sort, spliterator
-
コンストラクタの詳細
-
SMovableListImpl
public SMovableListImpl()
-
-
メソッドの詳細
-
init
public void init(String name, SContainerParent parent, AutoCloseableReentrantLock lock, org.springframework.core.ResolvableType type, EnumSet<Property> properties) - 定義:
initインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
getName
- 定義:
getNameインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
getRevision
public long getRevision()- 定義:
getRevisionインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
setRevision
public void setRevision(long revision) - 定義:
setRevisionインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
getValue
- 定義:
getValueインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
getParent
- 定義:
getParentインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
getLock
- 定義:
getLockインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
getType
public org.springframework.core.ResolvableType getType()- 定義:
getTypeインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
addOrigin
- 定義:
addOriginインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
removeOrigin
- 定義:
removeOriginインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
handle
- 定義:
handleインタフェース内ControllerDynamicInfoHandler
-
handle
public void handle(Object origin, Map<String, SData> nameToSData, Map<String, DynamicDataObject> nameToData, long senderId) - 定義:
handleインタフェース内ControllerDynamicInfoHandler
-
isSoft
public boolean isSoft()- 定義:
isSoftインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
compact
public boolean compact()- 定義:
compactインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
onPatches
- 定義:
onPatchesインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
toDirty
public void toDirty(int index) クラスからコピーされた説明:SListMarks the element of the specified index as updated. -
toDirty
public void toDirty()クラスからコピーされた説明:SListMarks all the elements as updated. -
add
-
add
-
addAll
-
addAll
-
clear
public void clear() -
contains
-
containsAll
- 定義:
containsAllインタフェース内Collection<V>- 定義:
containsAllインタフェース内List<V>
-
get
-
indexOf
-
isEmpty
public boolean isEmpty() -
iterator
-
lastIndexOf
- 定義:
lastIndexOfインタフェース内List<V>
-
listIterator
- 定義:
listIteratorインタフェース内List<V>
-
listIterator
- 定義:
listIteratorインタフェース内List<V>
-
remove
-
remove
-
removeAll
-
retainAll
-
set
-
reset
クラスからコピーされた説明:SListResets the specified index and returns the value at the specified index. -
move
public void move(int oldIndex, int newIndex) クラスからコピーされた説明:SMovableListMoves the element at the indexoldIndexto the indexnewIndex.- 定義:
moveクラス内SMovableList<V>- パラメータ:
oldIndex- index of the element to be movednewIndex- index where the element is moved to
-
size
public int size() -
subList
-
toArray
-
toArray
public <U> U[] toArray(U[] array) -
isReadOnly
public boolean isReadOnly()インタフェースからコピーされた説明:SVariableReturns true if this is read-only.- 定義:
isReadOnlyインタフェース内SVariable- 戻り値:
- true if this is read-only
-
isNonNull
public boolean isNonNull()インタフェースからコピーされた説明:SVariableReturns true if this is non-null. -
isInitialized
public boolean isInitialized()インタフェースからコピーされた説明:SVariableReturns true if this is initialized.- 定義:
isInitializedインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>> - 定義:
isInitializedインタフェース内SVariable- 戻り値:
- true if this is initialized
-
initialize
public void initialize()インタフェースからコピーされた説明:SVariableInitialize this.- 定義:
initializeインタフェース内SVariable
-
initialize
- 定義:
initializeインタフェース内SContainer<List<V>,SPatchesPacked<List<V>, SMovableListPatch<V>>>
-
lock
インタフェースからコピーされた説明:SLockableLocks this instance. -
tryLock
public boolean tryLock()インタフェースからコピーされた説明:SLockableTries to lock this instance. -
tryLock
インタフェースからコピーされた説明:SLockableTries to lock this instance. -
isLocked
public boolean isLocked()インタフェースからコピーされた説明:SLockableReturns true if this instance is locked. -
unlock
public void unlock()インタフェースからコピーされた説明:SLockableUnlocks this instance.- 定義:
unlockインタフェース内SLockable- 定義:
unlockインタフェース内Unlockable
-
unlock
インタフェースからコピーされた説明:SLockableUnlocks this instance. -
replace
クラスからコピーされた説明:SListReplaces the existing elements with the specified elements if the existing elements are not equal to the specified elements. For testing the equality of elements,V#equals(Object)is used. -
toString
-
equals
-
clearAndAdd
クラスからコピーされた説明:SListClear this list and then appends the specified element to this list.- 定義:
clearAndAddクラス内SList<V>- パラメータ:
value- element to be appended to this list- 戻り値:
- true
-
clearAndAddAll
クラスからコピーされた説明:SListClear this list and then appends the specified elements to this list.- 定義:
clearAndAddAllクラス内SList<V>- パラメータ:
values- elements to be appended to this list- 戻り値:
- true if this list is changed as a result of the call
-