クラス SMapImpl<V>
java.lang.Object
org.wcardinal.controller.data.SMap<V>
org.wcardinal.controller.data.internal.SMapImpl<V>
- すべての実装されたインタフェース:
Map<String,,V> SContainer<NavigableMap<String,,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>> SMapContainer<V>,SLockable,SVariable,ControllerDynamicInfoHandler,Unlockable
@Primary
@Component
@Scope("prototype")
public class SMapImpl<V>
extends SMap<V>
implements SMapContainer<V>, ControllerDynamicInfoHandler
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース org.wcardinal.controller.data.SMap
SMap.Update<V> -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明voidvoidclear()clearAndPut(String key, V value) Clear this map and then associates the specified value with the specified key in this map.voidclearAndPutAll(Map<? extends String, ? extends V> mappings) Clear this map and then copies all of the mappings from the specified map to this map.booleancompact()Comparator<? super String>booleancontainsKey(Object key) booleancontainsValue(Object element) entrySet()booleangetLock()getName()longorg.springframework.core.ResolvableTypegetType()getValue()voidhandle(Object origin, Map<String, SData> nameToSData, Map<String, DynamicDataObject> nameToData, long senderId) voidhandle(Object origin, SetDynamicDataMap map) voidinit(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()keySet()lock()Locks this instance.voidonChange()voidonClear()voidonInitialize(Object except) voidonPatches(Object except, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>> patches) booleanbooleanvoidvoidvoidremoveOrigin(Object origin) voidConstructs a map from the specified iterable and replaces the existing mappings with the specified mappings if the existing mappings are not equal to the specified mappings.voidConstructs a map from the specified iterable and replaces the existing mappings with the specified mappings if the existing mappings are not equal to the specified mappings.voidReplaces the existing mappings with the specified mappings if the existing mappings are not equal to the specified mappings.Reassociate the value of the specified key.voidsetRevision(long revision) intsize()voidtoDirty()Marks all the values as updated.voidMarks the value of the specified key as updated.toString()booleantryLock()Tries to lock this instance.booleanTries to lock this instance.voidunlock()Unlocks this instance.voidUnlocks this instance.values()クラスから継承されたメソッド java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitインタフェースから継承されたメソッド java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
コンストラクタの詳細
-
SMapImpl
public SMapImpl()
-
-
メソッドの詳細
-
init
public void init(String name, SContainerParent parent, AutoCloseableReentrantLock lock, org.springframework.core.ResolvableType type, EnumSet<Property> properties) - 定義:
initインタフェース内SContainer<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>>
-
getName
- 定義:
getNameインタフェース内SContainer<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>>
-
getRevision
public long getRevision()- 定義:
getRevisionインタフェース内SContainer<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>>
-
setRevision
public void setRevision(long revision) - 定義:
setRevisionインタフェース内SContainer<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>>
-
getValue
- 定義:
getValueインタフェース内SContainer<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>>
-
getParent
- 定義:
getParentインタフェース内SContainer<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>>
-
getLock
- 定義:
getLockインタフェース内SContainer<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>>
-
getType
public org.springframework.core.ResolvableType getType()- 定義:
getTypeインタフェース内SContainer<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>>
-
addOrigin
- 定義:
addOriginインタフェース内SContainer<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>>
-
removeOrigin
- 定義:
removeOriginインタフェース内SContainer<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<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<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>>
-
compact
public boolean compact()- 定義:
compactインタフェース内SContainer<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>>
-
onPut
- 定義:
onPutインタフェース内SMapContainer<V>
-
onPutAll
- 定義:
onPutAllインタフェース内SMapContainer<V>
-
onRemove
- 定義:
onRemoveインタフェース内SMapContainer<V>
-
onClear
public void onClear()- 定義:
onClearインタフェース内SMapContainer<V>
-
onInitialize
- 定義:
onInitializeインタフェース内SMapContainer<V>
-
onPatches
- 定義:
onPatchesインタフェース内SContainer<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>>
-
onChange
public void onChange()- 定義:
onChangeインタフェース内SMapContainer<V>
-
comparator
- 定義:
comparatorインタフェース内SMapContainer<V>
-
toDirty
クラスからコピーされた説明:SMapMarks the value of the specified key as updated. -
toDirty
public void toDirty()クラスからコピーされた説明:SMapMarks all the values as updated. -
clear
public void clear() -
containsKey
- 定義:
containsKeyインタフェース内Map<String,V>
-
containsValue
- 定義:
containsValueインタフェース内Map<String,V>
-
entrySet
-
get
-
isEmpty
public boolean isEmpty() -
keySet
-
put
-
reput
クラスからコピーされた説明:SMapReassociate the value of the specified key. -
putAll
-
remove
-
size
public int size() -
values
-
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<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<V>>> - 定義:
isInitializedインタフェース内SVariable- 戻り値:
- true if this is initialized
-
initialize
public void initialize()インタフェースからコピーされた説明:SVariableInitialize this.- 定義:
initializeインタフェース内SVariable
-
initialize
- 定義:
initializeインタフェース内SContainer<NavigableMap<String,V>, SPatchesPacked<NavigableMap<String, V>, SMapPatch<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
クラスからコピーされた説明:SMapConstructs a map from the specified iterable and replaces the existing mappings with the specified mappings if the existing mappings are not equal to the specified mappings. For testing the equality of mappings, V#equals(Object) is used. As a key, a field or a method annotated with javax.persistence.Id is used. -
replace
クラスからコピーされた説明:SMapConstructs a map from the specified iterable and replaces the existing mappings with the specified mappings if the existing mappings are not equal to the specified mappings. For testing the equality of mappings, V#equals(Object) is used. As a key, the return value ofSKeyOf.keyOf(Object)is used. -
replace
クラスからコピーされた説明:SMapReplaces the existing mappings with the specified mappings if the existing mappings are not equal to the specified mappings. For testing the equality of mappings, V#equals(Object) is used. -
toString
-
equals
-
clearAndPut
クラスからコピーされた説明:SMapClear this map and then associates the specified value with the specified key in this map.- 定義:
clearAndPutクラス内SMap<V>- パラメータ:
key- key with which the specified value is to be associatedvalue- value to be associated with the specified key- 戻り値:
- null
-
clearAndPutAll
クラスからコピーされた説明:SMapClear this map and then copies all of the mappings from the specified map to this map.- 定義:
clearAndPutAllクラス内SMap<V>- パラメータ:
mappings- mappings to be copied to this map
-