クラス SArrayNodeImpl
java.lang.Object
org.wcardinal.controller.data.internal.SBaseImpl<T>
org.wcardinal.controller.data.internal.SArrayNodeImpl
- すべての実装されたインタフェース:
SBase<com.fasterxml.jackson.databind.node.ArrayNode>,SArrayNode,SLockable,SScalar<com.fasterxml.jackson.databind.node.ArrayNode>,SVariable,Unlockable
@Component
@Scope("prototype")
public class SArrayNodeImpl
extends SBaseImpl<T>
implements SArrayNode
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明voidcompact(long authorizedRevision) booleancompareAndSet(com.fasterxml.jackson.databind.node.ArrayNode expected, com.fasterxml.jackson.databind.node.ArrayNode update) Atomically sets to the 'update' if the 'expected' is equal to the current value.booleanReturns true if this contains the specified value.booleancontainsAll(Collection<?> others) Returns true if this contains all the specified values.com.fasterxml.jackson.databind.node.ArrayNodecreate()Creates a new JSON array, sets to it and returns it.booleanequals(com.fasterxml.jackson.databind.node.ArrayNode target) Returns true if the specified target is equal to this.booleancom.fasterxml.jackson.databind.node.ArrayNodeget()Returns the current value.com.fasterxml.jackson.databind.node.ArrayNodegetAndSet(com.fasterxml.jackson.databind.node.ArrayNode value) Atomically sets to the specified value and returns the old value.com.fasterxml.jackson.databind.node.ArrayNodegetValue()Returns the current value.intIf the value isList,ArrayNodeor an array, returns the index of the specified value.voidInitialize this.booleanisEmpty()Returns true if the size is zero.booleanReturns true if the value is not null.booleanisNull()Returns true if the value is null.intIf the value isList,ArrayNodeor an array, returns the last index of the specified value.voidonAuthorized(long authorizedRevision) com.fasterxml.jackson.databind.node.ArrayNodereset()Resets to the current value.com.fasterxml.jackson.databind.node.ArrayNodeResets to the current value.com.fasterxml.jackson.databind.node.ArrayNodeset(com.fasterxml.jackson.databind.node.ArrayNode value) Sets to the specified value.voidsetNonNull(boolean isNonNull) com.fasterxml.jackson.databind.node.ArrayNodesetValue(com.fasterxml.jackson.databind.node.ArrayNode value) Sets to the specified value.intsize()voidtoDirty()Marks itself as updated.toString()クラスから継承されたメソッド org.wcardinal.controller.data.internal.SBaseImpl
getRevision, getType, isInitialized, isLocked, isLoose, isNonNull, isReadOnly, isSoft, isWeak, lock, override, setLock, setLoose, setParent, setReadOnly, setSoft, setWeak, tryLock, tryLock, uninitialize, unlock, unlockクラスから継承されたメソッド java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitインタフェースから継承されたメソッド org.wcardinal.controller.data.SLockable
isLocked, lock, tryLock, tryLock, unlock, unlockインタフェースから継承されたメソッド org.wcardinal.controller.data.SScalar
compareAndSet, contains, containsAll, equals, get, getAndSet, getValue, indexOf, isEmpty, isNotNull, isNull, lastIndexOf, reset, resetValue, set, setValue, size, toDirtyインタフェースから継承されたメソッド org.wcardinal.controller.data.SVariable
initialize, isInitialized, isNonNull, isReadOnly
-
コンストラクタの詳細
-
SArrayNodeImpl
public SArrayNodeImpl()
-
-
メソッドの詳細
-
create
public com.fasterxml.jackson.databind.node.ArrayNode create()インタフェースからコピーされた説明:SArrayNodeCreates a new JSON array, sets to it and returns it.- 定義:
createインタフェース内SArrayNode- 戻り値:
- the new JSON array
-
equals
public boolean equals(com.fasterxml.jackson.databind.node.ArrayNode target) インタフェースからコピーされた説明:SArrayNodeReturns true if the specified target is equal to this.- 定義:
equalsインタフェース内SArrayNode- パラメータ:
target- the target to be compared- 戻り値:
- true if the specified target is equal to this
-
get
public com.fasterxml.jackson.databind.node.ArrayNode get()インタフェースからコピーされた説明:SScalarReturns the current value. -
set
public com.fasterxml.jackson.databind.node.ArrayNode set(com.fasterxml.jackson.databind.node.ArrayNode value) インタフェースからコピーされた説明:SScalarSets to the specified value. -
reset
public com.fasterxml.jackson.databind.node.ArrayNode reset()インタフェースからコピーされた説明:SScalarResets to the current value. -
getValue
public com.fasterxml.jackson.databind.node.ArrayNode getValue()インタフェースからコピーされた説明:SScalarReturns the current value. -
setValue
public com.fasterxml.jackson.databind.node.ArrayNode setValue(com.fasterxml.jackson.databind.node.ArrayNode value) インタフェースからコピーされた説明:SScalarSets to the specified value. -
resetValue
public com.fasterxml.jackson.databind.node.ArrayNode resetValue()インタフェースからコピーされた説明:SScalarResets to the current value.- 定義:
resetValueインタフェース内SScalar<T>- 戻り値:
- the current value
-
toDirty
public void toDirty()インタフェースからコピーされた説明:SScalarMarks itself as updated. -
compareAndSet
public boolean compareAndSet(com.fasterxml.jackson.databind.node.ArrayNode expected, com.fasterxml.jackson.databind.node.ArrayNode update) インタフェースからコピーされた説明:SScalarAtomically sets to the 'update' if the 'expected' is equal to the current value.- 定義:
compareAndSetインタフェース内SScalar<T>- パラメータ:
expected- the expected valueupdate- the new value- 戻り値:
- true if the 'expected' is equal to the current value
-
getAndSet
public com.fasterxml.jackson.databind.node.ArrayNode getAndSet(com.fasterxml.jackson.databind.node.ArrayNode value) インタフェースからコピーされた説明:SScalarAtomically sets to the specified value and returns the old value. -
pack
-
onAuthorized
public void onAuthorized(long authorizedRevision) - 定義:
onAuthorizedインタフェース内SBase<T>
-
unpack
-
compact
public void compact(long authorizedRevision) -
toString
-
equals
-
initialize
public void initialize()インタフェースからコピーされた説明:SVariableInitialize this.- 定義:
initializeインタフェース内SVariable
-
setNonNull
public void setNonNull(boolean isNonNull) - 定義:
setNonNullインタフェース内SBase<T>
-
size
public int size()インタフェースからコピーされた説明:SScalarIf the value isCollection,Map,ArrayNodeorObjectNode, returns the its size. If the value is an array, returns the its length. If the value is null, returns 0. For anything else, returns 1. -
isEmpty
public boolean isEmpty()インタフェースからコピーされた説明:SScalarReturns true if the size is zero. -
isNull
public boolean isNull()インタフェースからコピーされた説明:SScalarReturns true if the value is null. -
isNotNull
public boolean isNotNull()インタフェースからコピーされた説明:SScalarReturns true if the value is not null. -
indexOf
インタフェースからコピーされた説明:SScalarIf the value isList,ArrayNodeor an array, returns the index of the specified value. Otherwise, returns -1. -
lastIndexOf
インタフェースからコピーされた説明:SScalarIf the value isList,ArrayNodeor an array, returns the last index of the specified value. Otherwise, returns -1.- 定義:
lastIndexOfインタフェース内SScalar<T>- パラメータ:
o- value to search for- 戻り値:
- the last index of the specified value
-
contains
インタフェースからコピーされた説明:SScalarReturns true if this contains the specified value. -
containsAll
インタフェースからコピーされた説明:SScalarReturns true if this contains all the specified values.- 定義:
containsAllインタフェース内SScalar<T>- パラメータ:
others- values to search for- 戻り値:
- true if this contains all the specified values
-