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
  • AggregationPatternErrorA

  • AggregationPatternErrorB

  • AggregationPatternErrorC

  • AggregationPatternErrorD

  • AggregationPatternErrorE

  • AggregationPatternErrorF

  • AggregationPatternErrorG

  • AggregationPatternErrorA
    old BPRiverOriginErrorA.
    [] operator で無効な key を指定.
    EnumPatternError
  • EnumPatternErrorA old BPRiverOriginErrorD.
    fromType constructor で無効な Type を指定.
    考えられる可能性.
  • EnumPatternErrorA
    old BPRiverOriginErrorD.
    fromType constructor で無効な Type を指定.
    考えられる可能性.
    EnumPatternException
  • EnumPatternExceptionA old BPRiverOriginExceptionD.
    input invalid value to fromValue() constructor.

  • EnumPatternExceptionB

  • EnumPatternExceptionC

  • EnumPatternExceptionD

  • EnumPatternExceptionE

  • EnumPatternExceptionF

  • EnumPatternExceptionG

  • 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.

  • IterablePatternExceptionD

  • IterablePatternExceptionE

  • IterablePatternExceptionF

  • IterablePatternExceptionG

  • 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.

  • IterablePatternIteratorErrorB

  • IterablePatternIteratorErrorC

  • IterablePatternIteratorErrorD

  • IterablePatternIteratorErrorE

  • IterablePatternIteratorErrorF

  • IterablePatternIteratorErrorG

  • IterablePatternIteratorErrorA
    old BPRiverOriginErrorB.
    _current が null.
    RosterPatternException
  • RosterPatternExceptionA old BPRiverOriginExceptionA.
    exists duplicate primary key.

  • RosterPatternExceptionB old BPRiverOriginExceptionB.
    not exists targeted primary key at RosterPattern.getByPrimaryKey.

  • RosterPatternExceptionC

  • RosterPatternExceptionD

  • RosterPatternExceptionE

  • RosterPatternExceptionF

  • RosterPatternExceptionG

  • RosterPatternExceptionA
    old BPRiverOriginExceptionA.
    exists duplicate primary key.
    RosterPatternExceptionB
    old BPRiverOriginExceptionB.
    not exists targeted primary key at RosterPattern.getByPrimaryKey.
    SetPatternException
  • SetPatternExceptionA old BPRiverOriginExceptionC.
    exists duplicate.

  • SetPatternExceptionB

  • SetPatternExceptionC

  • SetPatternExceptionD

  • SetPatternExceptionE

  • SetPatternExceptionF

  • SetPatternExceptionG

  • SetPatternExceptionA
    old BPRiverOriginExceptionC.
    exists duplicate.