Package eu.bandm.tools.location
Class LocationTree<D,T>
java.lang.Object
eu.bandm.tools.location.LocationTree<D,T>
- All Implemented Interfaces:
Locatable<D>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionempty()Map<String, LocationTree<D, T>> Returns the location, may be = null.getRoot()static <D,T> LocationTree <D, T> static <D,T> LocationTree <D, T> of(String mainDescription, @Opt Location<D> location, T subject, Consumer<? super Collections.MapBuilder<String, Object>> parameters, Consumer<? super LocationTree.Builder<D, T>> branching) static <D,T> LocationTree <D, T> of(String mainDescription, @Opt Location<D> location, T subject, Consumer<? super Collections.MapBuilder<String, Object>> parameters, Supplier<LocationTree<D, T>> content) static <D,T> LocationTree <D, T> of(String mainDescription, @Opt Location<D> location, T subject, Supplier<LocationTree<D, T>> content) toString()
-
Method Details
-
toString
-
getMainDescription
-
getLocation
Description copied from interface:LocatableReturns the location, may be = null.- Specified by:
getLocationin interfaceLocatable<D>- Returns:
- the location, may be = null.
-
getSubject
-
parameters
-
getRoot
-
flatContent
-
of
public static <D,T> LocationTree<D,T> of(String mainDescription, @Opt @Opt Location<D> location, T subject) -
of
public static <D,T> LocationTree<D,T> of(String mainDescription, @Opt @Opt Location<D> location, T subject, Supplier<LocationTree<D, T>> content) -
of
public static <D,T> LocationTree<D,T> of(String mainDescription, @Opt @Opt Location<D> location, T subject, Consumer<? super Collections.MapBuilder<String, Object>> parameters, Supplier<LocationTree<D, T>> content) -
of
public static <D,T> LocationTree<D,T> of(String mainDescription, @Opt @Opt Location<D> location, T subject, Consumer<? super Collections.MapBuilder<String, Object>> parameters, Consumer<? super LocationTree.Builder<D, T>> branching) -
empty
-