Package eu.bandm.music.haken
Class DoppelHaken
- All Implemented Interfaces:
Dodekaid<DoppelHaken>
,Invertible<DoppelHaken>
,RelWertFolge
,Translet.Parseable<DoppelHaken>
The twelve forms of "double hooks"="DoppelHaken", based on
There are two groups of DoppelHaken:
First without internal overlap, there are 4*3=12 forms.
Then with internal overlap, then end of the first and start of the last must be the same
Haken
.
This type is algebraic, i.e. immutable and all instances are constructed once for ever.
Each is made of two(2) Haken
, which must be different.
There are two groups of DoppelHaken:
First without internal overlap, there are 4*3=12 forms.
Then with internal overlap, then end of the first and start of the last must be the same
RelWert
. There are 4+2=6 forms.
There are parsers (via EntityCatalog
) for the names composed of the Haken
names ("de"="German"), and
abbreviation names (language = "symbolic"), derived from the Latin alphabet
glyph/character they resemble.
The names of the ones with overlap have one character less, or append a "5", since they have five discreet values, not six.
\ /\ \ / \ /\ \/ \ \/\/ \/ / OM MU OM MO OM UM N- W W+ (like W, with an additional cauda) overlap: OMU N-5 OMO W5 /\/\ /\ / /\ \ / \ / \/ / \/ UM MU UM MO UM OM M N M+ (like M, with an additional cauda) overlap: UMU M5 UMO N5 / /\ /\ / /\ \/ \ \/ \/ \/ / MO MU MO OM MO UM +M A e (resembles the "Sütterlin" e) overlap: MOM A5 /\ /\ /\ / /\ \ \/ \ \/ \ \/ MU UM MU MO MU OM V +W e- overlap: MUM V5
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EntityCatalog<DoppelHaken>
Catalog for double hook instances by name.static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
static final DoppelHaken
Fields inherited from class eu.bandm.tscore.base.Entity
documentations
-
Method Summary
Modifier and TypeMethodDescriptionReturn the retrograde of a DoppelHaken symbol with swaps only the oder of the Haken, not their inner structure.Return the inverse retrograde of a DoppelHaken symbol, switching only the hakens.boolean
True for MOM, MUM, OMO, UMU, OMU and UMO .Return the fine retrograde.Return the inverse retrograde of a DoppelHaken symbol, with internal retro of the Haken.First vaule when seen as a RelWertFolge.Returns the (algebraic) object with the given structure.getFirst()
Return the first component of the double hook.getLast()
Return the second component of the double hook.inv()
Return the invers of a DoppelHaken symbolboolean
first == last.retro()boolean
first == last.retroInv()Last vaule when seen as a RelWertFolge.int
length()
If seen as a RelWertFolge, a DoppelHaken has the length 5 or 6.retro()
Returns the instance which is the (fine) retrograde of this.retroInv()
Returns the instance which is the inverse (fine) retrograde of this.toString()
Delivers the name based on the German RelValue name, like "OMO" or "MUOM".Methods inherited from class eu.bandm.tscore.base.Entity
addName, dump, dump, getCatalog, getDocumentation, getDocumentation, getDocumentations, getName, getName, getNames, getParser, getParser, setDocumentation, toString
-
Field Details
-
catalog
Catalog for double hook instances by name. -
OMMU
-
OMMO
-
OMUM
-
UMMU
-
UMMO
-
UMOM
-
MOMU
-
MOOM
-
MOUM
-
MUUM
-
MUMO
-
MUOM
-
OMU
-
OMO
-
UMU
-
UMO
-
MUM
-
MOM
-
-
Method Details
-
getFirst
Return the first component of the double hook. -
getLast
Return the second component of the double hook. -
get
Returns the (algebraic) object with the given structure. -
inv
Return the invers of a DoppelHaken symbol- Specified by:
inv
in interfaceDodekaid<DoppelHaken>
- Specified by:
inv
in interfaceInvertible<DoppelHaken>
-
retro
Returns the instance which is the (fine) retrograde of this.- Specified by:
retro
in interfaceDodekaid<DoppelHaken>
-
retroInv
Returns the instance which is the inverse (fine) retrograde of this.- Specified by:
retroInv
in interfaceDodekaid<DoppelHaken>
-
fineRetro
Return the fine retrograde. That is the retrograde of all values, which is the retrogrades of both components, in retro order. -
coarseRetro
Return the retrograde of a DoppelHaken symbol with swaps only the oder of the Haken, not their inner structure. -
fineRetroInv
Return the inverse retrograde of a DoppelHaken symbol, with internal retro of the Haken. -
coarseRetroInv
Return the inverse retrograde of a DoppelHaken symbol, switching only the hakens. -
isHorizontalSymmetric
public boolean isHorizontalSymmetric()first == last.retro() -
isRotationSymmetric
public boolean isRotationSymmetric()first == last.retroInv() -
doesOverlap
public boolean doesOverlap()True for MOM, MUM, OMO, UMU, OMU and UMO . -
toString
Delivers the name based on the German RelValue name, like "OMO" or "MUOM".- Overrides:
toString
in classEntity<DoppelHaken>
-
length
public int length()If seen as a RelWertFolge, a DoppelHaken has the length 5 or 6.- Specified by:
length
in interfaceRelWertFolge
-
firstRelWert
First vaule when seen as a RelWertFolge.- Specified by:
firstRelWert
in interfaceRelWertFolge
-
lastRelWert
Last vaule when seen as a RelWertFolge.- Specified by:
lastRelWert
in interfaceRelWertFolge
-