Package eu.bandm.tscore.base
Class Timelesses
java.lang.Object
eu.bandm.tscore.base.Timelesses
-
Field Summary
Modifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
asEnumeration
(Class<E> cls) static void
static <T,
D> T filterError
(MessageReceiver<SimpleMessage<D>> msg, String name, T deflt, T value) findInList
(Timeless host, List<Object> coordinates) findInList
(List<Timeless> list, List<Object> coordinates) static Timeless
Finds a text value or an assignment with the given text contents.static Textvalue
findTextvalue
(List<Timeless> list, String text) findToplevel
(Container container, String topId) findToplevel
(Part part, String topId) findToplevel
(TimeScape ts, String topId) findToplevel
(Vox vox, String topId) Deliver the entry (instance of TimeLess) at the given coordinates.static <T> T
getTl
(Container container, Function<@Opt Timeless, @Opt T> conversion, String topId, Object... subCoordinates) Deliver the entry at the given coordinates.static <T> T
getTl
(Container container, Function<@Opt Timeless, @Opt T> conversion, String topId, List<Object> subCoordinates) static <T> T
static <T> T
-
Field Details
-
asIs
-
asList
-
asFlag
-
asString
-
asFloat
-
asInteger
-
asRational
-
-
Method Details
-
addTl
-
addTl
-
copyTop
-
filterError
public static <T,D> T filterError(MessageReceiver<SimpleMessage<D>> msg, String name, T deflt, @Opt T value) -
getTl
@Opt public static <T> T getTl(Container container, Function<@Opt Timeless, @Opt T> conversion, String topId, Object... subCoordinates) Deliver the entry at the given coordinates. The conversion is plugged in as function. Any conversion error (eg. "asString" applied to a list, or vice versa) is signalled by a null result. -
getTl
-
getTl
-
getTl
-
getTl
Deliver the entry (instance of TimeLess) at the given coordinates. Result can be a Textvalue or a FIXME ???? , an Assignment, or a Parameterlist. -
getTl
-
findToplevel
-
findToplevel
-
findToplevel
-
findToplevel
-
findKey
Finds a text value or an assignment with the given text contents. (Ignores all sub-lists, which can be addressed only numerically when on top-level) -
findTextvalue
-
findInList
-
findInList
-
asFlag
-
asString
-
asEnumeration
-