design_pattern library
Classes
- InactivateSignature
-
test 時 property の一部を無効化する(一定の値に変更する), 等価比較を行うための method.
例えば process id など, system によって割り振られる値をこちらで指定できないので 等価比較ができない.
-
IterablePatternIterator<
T> - PropertiesSignature
-
inactivate(), = operator, [] operator, など に依存されている.
- ToJsonSignature
-
ここでの toJson とは json へ encode 可能な形式へ変換するという意味で使われる.
つまり json string を返すというわけではない.
また serialize としても利用するため deserialize 可能でなければならない.
Mixins
- AggregationPattern
- 1.toPrimitive() を override する => hashCode, ==, [], toString(), も自動的に更新される。
- AggregationPatternTester
- AggregationPatternToShorthandSignature
- DesignPatternToNestedStructureMapEntrySignature
- DesignPatternToNestedStructureMapSignature
-
EntityPattern<
PK extends Object> - PK...PrimaryKey
- EnumPattern
- 1つの固定値のみを持つ pattern.
-
IterablePattern<
VT extends Object> -
IterablePatternInternalFactory<
VT extends Object, RT extends Result< Iterable< >VT> > - IterablePattern の 内部用の factory method.
-
ListPattern<
VT extends Object> -
ListPatternPrivateMemberTester<
VT extends Object> -
RosterPattern<
PK extends Object, VT extends EntityPattern< PK> > - throwable RosterPatternExceptionA.
-
RosterPatternPut<
PK extends Object, VT extends EntityPattern< PK> , RT extends Result<Iterable< >VT> > - PK...primary key VT...vlaue type RT... return type
-
RosterPatternPutAll<
PK extends Object, VT extends EntityPattern< PK> , RT extends Result<Iterable< >VT> > - PK...primary key VT...vlaue type RT... return type
-
SetPattern<
VT extends Object> - VT・・・ValueType
-
ValuePattern<
VT extends Object> - VT ・・・ ValueType
Exceptions / Errors
- AggregationPatternError
-
AggregationPatternErrorBAggregationPatternErrorCAggregationPatternErrorDAggregationPatternErrorEAggregationPatternErrorFAggregationPatternErrorG - AggregationPatternErrorA
-
old BPRiverOriginErrorA.
[] operator で無効な key を指定. - EnumPatternError
-
- EnumPatternErrorA old BPRiverOriginErrorD.
fromType constructor で無効な Type を指定.
考えられる可能性. - EnumPatternErrorA old BPRiverOriginErrorD.
- EnumPatternErrorA
-
old BPRiverOriginErrorD.
fromType constructor で無効な Type を指定.
考えられる可能性. - EnumPatternException
-
EnumPatternExceptionA old BPRiverOriginExceptionD.
input invalid value to fromValue() constructor.EnumPatternExceptionBEnumPatternExceptionCEnumPatternExceptionDEnumPatternExceptionEEnumPatternExceptionFEnumPatternExceptionG - EnumPatternExceptionA
-
old BPRiverOriginExceptionD.
input invalid value to fromValue() constructor.
- IterablePatternException
-
IterablePatternExceptionA old BPRiverOriginExceptionE.
index is negative number at IterablePattern.getByIndex.IterablePatternExceptionB old BPRiverOriginExceptionF.
index over length at IterablePattern.getByIndex.IterablePatternExceptionC old BPRiverOriginExceptionG.
length is zero(not exists element) at IterablePattern.getByIndex.IterablePatternExceptionDIterablePatternExceptionEIterablePatternExceptionFIterablePatternExceptionG - IterablePatternExceptionA
-
old BPRiverOriginExceptionE.
index is negative number at IterablePattern.getByIndex. - IterablePatternExceptionABC
-
old BPRiverOriginExceptionEFG.
- IterablePatternExceptionB
-
old BPRiverOriginExceptionF.
index over length at IterablePattern.getByIndex. - IterablePatternExceptionC
-
old BPRiverOriginExceptionG.
length is zero(not exists element) at IterablePattern.getByIndex. - IterablePatternIteratorError
-
IterablePatternIteratorErrorA old BPRiverOriginErrorB.
_current が null.IterablePatternIteratorErrorBIterablePatternIteratorErrorCIterablePatternIteratorErrorDIterablePatternIteratorErrorEIterablePatternIteratorErrorFIterablePatternIteratorErrorG - IterablePatternIteratorErrorA
-
old BPRiverOriginErrorB.
_current が null. - RosterPatternException
-
RosterPatternExceptionA old BPRiverOriginExceptionA.
exists duplicate primary key.RosterPatternExceptionB old BPRiverOriginExceptionB.
not exists targeted primary key at RosterPattern.getByPrimaryKey.RosterPatternExceptionCRosterPatternExceptionDRosterPatternExceptionERosterPatternExceptionFRosterPatternExceptionG - RosterPatternExceptionA
-
old BPRiverOriginExceptionA.
exists duplicate primary key. - RosterPatternExceptionB
-
old BPRiverOriginExceptionB.
not exists targeted primary key at RosterPattern.getByPrimaryKey. - SetPatternException
-
SetPatternExceptionA old BPRiverOriginExceptionC.
exists duplicate.SetPatternExceptionBSetPatternExceptionCSetPatternExceptionDSetPatternExceptionESetPatternExceptionFSetPatternExceptionG - SetPatternExceptionA
-
old BPRiverOriginExceptionC.
exists duplicate.