Uses of Class
org.microbean.path.Path.Element
-
Uses of Path.Element in org.microbean.path
Methods in org.microbean.path that return Path.ElementModifier and TypeMethodDescriptionfinal Path.Element<?>Path.get(int index) Returns thePath.Elementfound at the supplied zero-based index.final Path.Element<T>Path.lastElement()Returns the lastPath.Elementin thisPath.static final <T> Path.Element<T>Returns aPath.Elementrepresenting the supplied arguments.static final <T> Path.Element<T>Path.Element.of(Qualifiers<? extends String, ?> qualifiers, T qualified, String name) Returns aPath.Elementrepresenting the supplied arguments.static final <T> Path.Element<T>Returns aPath.Elementrepresenting the supplied arguments.static final Path.Element<?>Path.Element.root()Returns aPath.Elementthat is a root element.final Path.Element<T>Path.Element.withQualifiersPrefix(String prefix) Returns aPath.Element, usually newly created, whose qualifiers have keys that are prefixed with the suppliedprefix.Methods in org.microbean.path that return types with arguments of type Path.ElementModifier and TypeMethodDescriptionfinal Iterator<Path.Element<?>>Path.iterator()final Stream<Path.Element<?>>Path.parallelStream()final Spliterator<Path.Element<?>>Path.spliterator()final Stream<Path.Element<?>>Path.stream()Methods in org.microbean.path with parameters of type Path.ElementModifier and TypeMethodDescriptionstatic final <T> Path<T>Path.of(Path.Element<? extends T> lastElement) Returns a (usually new)Pathformed from the suppliedlastElement.static final <T> Path<T>Path.of(Qualifiers<? extends String, ?> pathQualifiers, List<? extends Path.Element<?>> elements, Path.Element<? extends T> lastElement) Return a (usually new)Pathformed from the supplied arguments and returns it.static final <T> Path<T>Path.of(Qualifiers<? extends String, ?> pathQualifiers, Path.Element<? extends T> lastElement) Return a (usually new)Pathformed from the supplied arguments and returns it.final <U> Path<U>Path.plus(Collection<? extends Path.Element<?>> elements, Path.Element<? extends U> lastElement) Returns a newPathconsisting of thisPath's qualifiers, thisPath's elements, the suppliedelements, and the suppliedlastElement.final <U> Path<U>Path.plus(Path.Element<? extends U> element) Method parameters in org.microbean.path with type arguments of type Path.ElementModifier and TypeMethodDescriptionfinal booleanPath.endsWith(Path<?> other, BiPredicate<? super Path.Element<?>, ? super Path.Element<?>> p) final booleanPath.endsWith(Path<?> other, BiPredicate<? super Path.Element<?>, ? super Path.Element<?>> p) final intPath.indexOf(Path<?> path, BiPredicate<? super Path.Element<?>, ? super Path.Element<?>> p) final intPath.indexOf(Path<?> path, BiPredicate<? super Path.Element<?>, ? super Path.Element<?>> p) final intPath.lastIndexOf(Path<?> path, BiPredicate<? super Path.Element<?>, ? super Path.Element<?>> p) final intPath.lastIndexOf(Path<?> path, BiPredicate<? super Path.Element<?>, ? super Path.Element<?>> p) static final <T> Path<T>Path.of(Qualifiers<? extends String, ?> pathQualifiers, List<? extends Path.Element<?>> elements, Path.Element<? extends T> lastElement) Return a (usually new)Pathformed from the supplied arguments and returns it.final <U> Path<U>Path.plus(Collection<? extends Path.Element<?>> elements, Path.Element<? extends U> lastElement) Returns a newPathconsisting of thisPath's qualifiers, thisPath's elements, the suppliedelements, and the suppliedlastElement.final booleanPath.startsWith(Path<?> other, BiPredicate<? super Path.Element<?>, ? super Path.Element<?>> p) final booleanPath.startsWith(Path<?> other, BiPredicate<? super Path.Element<?>, ? super Path.Element<?>> p) final @Experimental Path<T>Path.transliterate(BiFunction<? super String, ? super Path.Element<?>, ? extends Path.Element<?>> f) Transliterates thisPathinto another, semantically equivalentPathby applying the suppliedBiFunction, and returns the transliteratedPath.final @Experimental Path<T>Path.transliterate(BiFunction<? super String, ? super Path.Element<?>, ? extends Path.Element<?>> f) Transliterates thisPathinto another, semantically equivalentPathby applying the suppliedBiFunction, and returns the transliteratedPath.Constructors in org.microbean.path with parameters of type Path.ElementModifierConstructorDescriptionPath(Path.Element<? extends T> lastElement) Creates a newPath.Path(Qualifiers<? extends String, ?> qualifiers, List<? extends Path.Element<?>> elements, Path.Element<? extends T> lastElement) Creates a newPath.Path(Qualifiers<? extends String, ?> qualifiers, Path.Element<? extends T> lastElement) Creates a newPath.Constructor parameters in org.microbean.path with type arguments of type Path.ElementModifierConstructorDescriptionPath(Qualifiers<? extends String, ?> qualifiers, List<? extends Path.Element<?>> elements, Path.Element<? extends T> lastElement) Creates a newPath.