クラス SStringImpl
java.lang.Object
org.wcardinal.controller.data.internal.SBaseImpl<T>
org.wcardinal.controller.data.internal.SStringImpl
- すべての実装されたインタフェース:
Comparable<String>,SBase<String>,SLockable,SScalar<String>,SString,SVariable,Unlockable
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明voidcompact(long authorizedRevision) booleancompareAndSet(String expected, String update) Atomically sets to the 'update' if the 'expected' is equal to the current value.intCompares this string and the specified string lexicographically.intcompareToIgnoreCase(String string) Compares this string and the specified string lexicographically, ignoring case differences.Concatenates the specified string to the end of this string.booleancontains(CharSequence sequence) Returns true if this string contains the specified sequence of char values.booleanReturns true if this contains the specified value.booleancontainsAll(Collection<?> others) Returns true if this contains all the specified values.booleanReturns true if this string ends with the specified suffix.booleanbooleanReturns true if the specified target is equal to this.booleanequalsIgnoreCase(String string) Returns true if this string is equal to the specified string, ignoring case considerations.get()Returns the current value.Atomically sets to the specified value and returns the old value.getValue()Returns the current value.intindexOf(int ch) Returns the index within this string of the first occurrence of the specified character.intindexOf(int ch, int fromIndex) Returns the index within this string of the first occurrence of the specified character, starting the search at the specified index.intIf the value isList,ArrayNodeor an array, returns the index of the specified value.intReturns the index within this string of the first occurrence of the specified substring.intReturns the index within this string of the first occurrence of the specified substring, starting at the specified index.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.intlastIndexOf(int ch) Returns the index within this string of the last occurrence of the specified character.intlastIndexOf(int ch, int fromIndex) Returns the index within this string of the last occurrence of the specified character, searching backward starting at the specified index.intIf the value isList,ArrayNodeor an array, returns the last index of the specified value.intlastIndexOf(String substring) Returns the index within this string of the last occurrence of the specified substring.intlastIndexOf(String substring, int fromIndex) Returns the index within this string of the last occurrence of the specified substring, searching backward starting at the specified index.intlength()Returns the length of this string.booleanReturns true if this string matches the specified regular expression.voidonAuthorized(long authorizedRevision) reset()Resets to the current value.Resets to the current value.Sets to the specified value.voidsetNonNull(boolean isNonNull) Sets to the specified value.intsize()booleanstartsWith(String prefix) Returns true if this string starts with the specified prefix.booleanstartsWith(String prefix, int toffset) Returns true if the substring of this string beginning at the specified index starts with the specified prefix.substring(int beginIndex) Returns a new string that is a substring of this string.substring(int beginIndex, int endIndex) Returns a new string that is a substring of this string.voidtoDirty()Marks itself as updated.Converts all of the characters in this String to lower case using the rules of the default locale and returns it.toLowerCase(Locale locale) Converts all of the characters in this String to lower case using the rules of the given Locale and returns it.toString()Converts all of the characters in this String to upper case using the rules of the default locale and returns it.toUpperCase(Locale locale) Converts all of the characters in this String to upper case using the rules of the given locale and returns it.trim()Returns a copy of this string, with leading and trailing whitespace omitted.クラスから継承されたメソッド 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, isNotNull, isNull, lastIndexOf, reset, resetValue, set, setValue, size, toDirtyインタフェースから継承されたメソッド org.wcardinal.controller.data.SVariable
initialize, isInitialized, isNonNull, isReadOnly
-
コンストラクタの詳細
-
SStringImpl
public SStringImpl() -
SStringImpl
-
-
メソッドの詳細
-
compareTo
インタフェースからコピーされた説明:SStringCompares this string and the specified string lexicographically.- 定義:
compareToインタフェース内Comparable<String>- 定義:
compareToインタフェース内SString- パラメータ:
string- string to be compared- 戻り値:
- a negative integer, zero, or a positive integer as this string is less than, equal to, or greater than the specified string
- 関連項目:
-
compareToIgnoreCase
インタフェースからコピーされた説明:SStringCompares this string and the specified string lexicographically, ignoring case differences.- 定義:
compareToIgnoreCaseインタフェース内SString- パラメータ:
string- string to be compared- 戻り値:
- a negative integer, zero, or a positive integer as this string is less than, equal to, or greater than the specified string
- 関連項目:
-
concat
インタフェースからコピーされた説明:SStringConcatenates the specified string to the end of this string. Returns null if this string is null. -
contains
インタフェースからコピーされた説明:SStringReturns true if this string contains the specified sequence of char values. -
endsWith
インタフェースからコピーされた説明:SStringReturns true if this string ends with the specified suffix. -
equalsIgnoreCase
インタフェースからコピーされた説明:SStringReturns true if this string is equal to the specified string, ignoring case considerations.- 定義:
equalsIgnoreCaseインタフェース内SString- パラメータ:
string- string to be compared- 戻り値:
- true if this string is equal to the specified string ignoring case considerations
- 関連項目:
-
indexOf
public int indexOf(int ch) インタフェースからコピーされた説明:SStringReturns the index within this string of the first occurrence of the specified character. Returns -1 if no such character occurs in this string. -
indexOf
public int indexOf(int ch, int fromIndex) インタフェースからコピーされた説明:SStringReturns the index within this string of the first occurrence of the specified character, starting the search at the specified index. Returns -1 if no such character occurs in this string. -
indexOf
インタフェースからコピーされた説明:SStringReturns the index within this string of the first occurrence of the specified substring. Returns -1 if no such substring occurs in this string. -
indexOf
インタフェースからコピーされた説明:SStringReturns the index within this string of the first occurrence of the specified substring, starting at the specified index. Returns -1 if no such substring occurs in this string. -
isEmpty
public boolean isEmpty()インタフェースからコピーされた説明:SScalarReturns true if the size is zero. -
lastIndexOf
public int lastIndexOf(int ch) インタフェースからコピーされた説明:SStringReturns the index within this string of the last occurrence of the specified character. Returns -1 if no such character occurs in this string.- 定義:
lastIndexOfインタフェース内SString- パラメータ:
ch- character to searhc for- 戻り値:
- index within this string of the last occurrence of the specified character
- 関連項目:
-
lastIndexOf
public int lastIndexOf(int ch, int fromIndex) インタフェースからコピーされた説明:SStringReturns the index within this string of the last occurrence of the specified character, searching backward starting at the specified index. Returns -1 if no such character occurs in this string.- 定義:
lastIndexOfインタフェース内SString- パラメータ:
ch- character to search forfromIndex- where to begin searching the specified character- 戻り値:
- index within this string of the last occurrence of the specified character
- 関連項目:
-
lastIndexOf
インタフェースからコピーされた説明:SStringReturns the index within this string of the last occurrence of the specified substring. Returns -1 if no such substring occurs in this string.- 定義:
lastIndexOfインタフェース内SString- パラメータ:
substring- substring to search for- 戻り値:
- index within this string of the last occurrence of the specified substring
- 関連項目:
-
lastIndexOf
インタフェースからコピーされた説明:SStringReturns the index within this string of the last occurrence of the specified substring, searching backward starting at the specified index. Returns -1 if no such substring occurs in this string.- 定義:
lastIndexOfインタフェース内SString- パラメータ:
substring- substring to search forfromIndex- where to begin searching the specified substring- 戻り値:
- index within this string of the last occurrence of the specified substring
- 関連項目:
-
length
public int length()インタフェースからコピーされた説明:SStringReturns the length of this string. Returns -1 if this string is null. -
matches
インタフェースからコピーされた説明:SStringReturns true if this string matches the specified regular expression. Returns false if this string is null. -
startsWith
インタフェースからコピーされた説明:SStringReturns true if this string starts with the specified prefix. Returns false if this string is null.- 定義:
startsWithインタフェース内SString- パラメータ:
prefix- prefix to search for- 戻り値:
- true if the substring of this string starts with the specified prefix
- 関連項目:
-
startsWith
インタフェースからコピーされた説明:SStringReturns true if the substring of this string beginning at the specified index starts with the specified prefix. Returns false if this string is null.- 定義:
startsWithインタフェース内SString- パラメータ:
prefix- prefix to search fortoffset- where to begin looking in this string- 戻り値:
- true if the substring of this string beginning at the specified index starts with the specified prefix
- 関連項目:
-
substring
インタフェースからコピーされた説明:SStringReturns a new string that is a substring of this string. -
substring
インタフェースからコピーされた説明:SStringReturns a new string that is a substring of this string. -
toLowerCase
インタフェースからコピーされた説明:SStringConverts all of the characters in this String to lower case using the rules of the default locale and returns it. Returns null if this string is null.- 定義:
toLowerCaseインタフェース内SString- 戻り値:
- string converted to lowercase
- 関連項目:
-
toLowerCase
インタフェースからコピーされた説明:SStringConverts all of the characters in this String to lower case using the rules of the given Locale and returns it. Returns null if this string is null.- 定義:
toLowerCaseインタフェース内SString- パラメータ:
locale- use the case transformation rules for this locale- 戻り値:
- string converted to lowercase
- 関連項目:
-
toUpperCase
インタフェースからコピーされた説明:SStringConverts all of the characters in this String to upper case using the rules of the default locale and returns it. Returns null if this string is null.- 定義:
toUpperCaseインタフェース内SString- 戻り値:
- string converted to uppercase
- 関連項目:
-
toUpperCase
インタフェースからコピーされた説明:SStringConverts all of the characters in this String to upper case using the rules of the given locale and returns it. Returns null if this string is null.- 定義:
toUpperCaseインタフェース内SString- パラメータ:
locale- use the case transformation rules for this locale- 戻り値:
- string converted to uppercase
- 関連項目:
-
trim
インタフェースからコピーされた説明:SStringReturns a copy of this string, with leading and trailing whitespace omitted. Returns null if this string is null. -
equals
インタフェースからコピーされた説明:SStringReturns true if the specified target is equal to this. -
get
インタフェースからコピーされた説明:SScalarReturns the current value. -
set
インタフェースからコピーされた説明:SScalarSets to the specified value. -
reset
インタフェースからコピーされた説明:SScalarResets to the current value. -
getValue
インタフェースからコピーされた説明:SScalarReturns the current value. -
setValue
インタフェースからコピーされた説明:SScalarSets to the specified value. -
resetValue
インタフェースからコピーされた説明:SScalarResets to the current value.- 定義:
resetValueインタフェース内SScalar<T>- 戻り値:
- the current value
-
toDirty
public void toDirty()インタフェースからコピーされた説明:SScalarMarks itself as updated. -
compareAndSet
インタフェースからコピーされた説明: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
インタフェースからコピーされた説明: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. -
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
-