public class Haken extends Entity<Haken> implements Dodekaid<Haken>, RelWertFolge
RelWert
.
It is an "agebraic" type, i.e. immutable and all instances are constructed once for ever.
A "Haken" / "hook" is a permutation of all three RelWert, which is NOT in a
straight line. So there are four possible forms.
Each is represented by two(2) RelWert
, which must differ,
and which define the first and the last position.
One of these must be "M", to avoid a straight line.
The value in the middle of the "hook" ist the vaule not mentioned.
There are parsers for a "graphical" name and for the "German" name,
which directly refer to the RelWert names:
in catalog name in languge "de" "symbolic" / / sequence of RelWert / / hook form OM \- \ O-U-M \/ UM /- /\ U-O-M / MO -/ / M-U-O \/ MU -\ /\ M-O-U \ not hooks: \ O-M-U \ / U-M-O /
Modifier and Type | Field and Description |
---|---|
static EntityCatalog<Haken> |
catalog
Catalog for hook instances by name.
|
static Haken |
MO |
static Haken |
MU |
static Haken |
OM |
static Haken |
UM |
documentations
Modifier and Type | Method and Description |
---|---|
RelWert |
firstRelWert()
The first value when a haken is seen as a RelWertFolge.
|
static Haken |
get(RelWert first,
RelWert last)
return the Haken with the given first and last value.
|
RelWert |
getFirst()
Return the first RelWert in this hook.
|
RelWert |
getLast()
Return the last RelWert in this hook.
|
RelWert |
getMiddle()
Return the middle RelWert in this hook.
|
Haken |
inv()
Return the invers of a Haken symbol:
|
RelWert |
lastRelWert()
The last value when a haken is seen as a RelWertFolge.
|
int |
length()
Length is always == 3 when a haken is seen as a RelWertFolge.
|
Haken |
retro()
Return the retrograde of a Haken symbol:
|
Haken |
retroInv()
Return the retrograde inverse of a haken symbol:
|
String |
toString()
Return the Germanlanguage name ("MO", "MU", "OM, "UM").
|
addName, dump, dump, getCatalog, getDocumentation, getDocumentation, getDocumentations, getName, getName, getNames, getParser, getParser, setDocumentation, toString
public static final EntityCatalog<Haken> catalog
public static final Haken OM
public static final Haken UM
public static final Haken MO
public static final Haken MU
public RelWert getFirst()
public RelWert getMiddle()
public RelWert getLast()
public Haken inv()
MO MU OM UM MU MO UM OM
inv
in interface Invertible<Haken>
public Haken retro()
MO MU OM UM OM UM MO MU
public Haken retroInv()
MO MU OM UM UM OM MU MO
public static Haken get(RelWert first, RelWert last)
public String toString()
public int length()
length
in interface RelWertFolge
public RelWert firstRelWert()
firstRelWert
in interface RelWertFolge
public RelWert lastRelWert()
lastRelWert
in interface RelWertFolge