Index
All Classes and Interfaces|All Packages
A
- absolute() - Method in class org.microbean.path.Path
-
Returns
true
if and only if thisPath
is absolute, which means that its firstPath.Element
is a rootPath.Element
.
C
- CD_Path - Static variable in class org.microbean.path.ConstantDescs
-
A
ClassDesc
describingorg.microbean.path.Path
. - CD_PathElement - Static variable in class org.microbean.path.ConstantDescs
-
A
ClassDesc
describingorg.microbean.path.Path.Element
. - ConstantDescs - Class in org.microbean.path
-
A utility class containing useful
ConstantDesc
s (mostlyClassDesc
s).
D
- describeConstable() - Method in class org.microbean.path.Path
-
Returns an
Optional
containing aConstantDesc
representing thisPath
, or an emptyOptional
if thisPath
cannot be represented as aConstantDesc
. - describeConstable() - Method in class org.microbean.path.Path.Element
E
- Element(String) - Constructor for class org.microbean.path.Path.Element
-
Creates a new
Path.Element
. - Element(Qualifiers<? extends String, ?>, String) - Constructor for class org.microbean.path.Path.Element
-
Creates a new
Path.Element
. - Element(Qualifiers<? extends String, ?>, T, String) - Constructor for class org.microbean.path.Path.Element
-
Creates a new
Path.Element
. - Element(T, String) - Constructor for class org.microbean.path.Path.Element
-
Creates a new
Path.Element
. - endsWith(Path<?>) - Method in class org.microbean.path.Path
- endsWith(Path<?>, BiPredicate<? super Path.Element<?>, ? super Path.Element<?>>) - Method in class org.microbean.path.Path
- equals(Object) - Method in class org.microbean.path.Path.Element
- equals(Object) - Method in class org.microbean.path.Path
G
- get(int) - Method in class org.microbean.path.Path
-
Returns the
Path.Element
found at the supplied zero-based index.
H
- hashCode() - Method in class org.microbean.path.Path.Element
-
Returns a hashcode for this
Path.Element
. - hashCode() - Method in class org.microbean.path.Path
-
Returns a hashcode for this
Path
.
I
- indexOf(Path<?>) - Method in class org.microbean.path.Path
- indexOf(Path<?>, BiPredicate<? super Path.Element<?>, ? super Path.Element<?>>) - Method in class org.microbean.path.Path
- isRoot() - Method in class org.microbean.path.Path.Element
-
Returns
true
if thisPath.Element
is a root element, which is true when thequalified()
method returnsnull
and thename()
method returns an emptyString
. - isRoot() - Method in class org.microbean.path.Path
- iterator() - Method in class org.microbean.path.Path
L
- lastElement() - Method in class org.microbean.path.Path
-
Returns the last
Path.Element
in thisPath
. - lastIndexOf(Path<?>) - Method in class org.microbean.path.Path
- lastIndexOf(Path<?>, BiPredicate<? super Path.Element<?>, ? super Path.Element<?>>) - Method in class org.microbean.path.Path
N
- name() - Method in class org.microbean.path.Path.Element
-
Returns the name of this
Path.Element
.
O
- of(String) - Static method in class org.microbean.path.Path.Element
-
Returns a
Path.Element
representing the supplied arguments. - of(Path.Element<? extends T>) - Static method in class org.microbean.path.Path
-
Returns a (usually new)
Path
formed from the suppliedlastElement
. - of(Qualifiers<? extends String, ?>, List<? extends Path.Element<?>>, Path.Element<? extends T>) - Static method in class org.microbean.path.Path
-
Return a (usually new)
Path
formed from the supplied arguments and returns it. - of(Qualifiers<? extends String, ?>, Path.Element<? extends T>) - Static method in class org.microbean.path.Path
-
Return a (usually new)
Path
formed from the supplied arguments and returns it. - of(Qualifiers<? extends String, ?>, T, String) - Static method in class org.microbean.path.Path.Element
-
Returns a
Path.Element
representing the supplied arguments. - of(T) - Static method in class org.microbean.path.Path
-
Returns a (usually new)
Path
formed from aPath.Element
formed from the suppliedqualified
and an empty name. - of(T, String) - Static method in class org.microbean.path.Path.Element
-
Returns a
Path.Element
representing the supplied arguments. - of(T, String) - Static method in class org.microbean.path.Path
-
Returns a (usually new)
Path
formed from aPath.Element
formed from the suppliedqualified
and the supplied name. - of(T, String...) - Static method in class org.microbean.path.Path
-
Returns a (usually new)
Path
formed fromPath.Element
s formed from the suppliedqualified
and the supplied array of names. - of(T, List<? extends String>) - Static method in class org.microbean.path.Path
-
Returns a (usually new)
Path
formed fromPath.Element
s formed from the suppliedqualified
and the suppliedList
of names. - org.microbean.path - module org.microbean.path
-
Provides packages related to paths.
- org.microbean.path - package org.microbean.path
-
Provides classes and interfaces related to paths.
P
- parallelStream() - Method in class org.microbean.path.Path
- Path<T> - Class in org.microbean.path
-
A qualified sequence of named and qualified elements that "points to" an object and that can be used for many different purposes.
- Path(Path.Element<? extends T>) - Constructor for class org.microbean.path.Path
-
Creates a new
Path
. - Path(Qualifiers<? extends String, ?>, List<? extends Path.Element<?>>, Path.Element<? extends T>) - Constructor for class org.microbean.path.Path
-
Creates a new
Path
. - Path(Qualifiers<? extends String, ?>, Path.Element<? extends T>) - Constructor for class org.microbean.path.Path
-
Creates a new
Path
. - Path.Element<T> - Class in org.microbean.path
-
An element normally within a
Path
, consisting of aQualifiers
, a name, and an optional thing that it designates or points to. - plus(Collection<? extends Path.Element<?>>, Path.Element<? extends U>) - Method in class org.microbean.path.Path
-
Returns a new
Path
consisting of thisPath
's qualifiers, thisPath
's elements, the suppliedelements
, and the suppliedlastElement
. - plus(Path.Element<? extends U>) - Method in class org.microbean.path.Path
- plus(Path<? extends U>) - Method in class org.microbean.path.Path
-
Returns a new
Path
consisting of thisPath
's qualifiers combined with a prefixed version of the suppliedPath
's qualifiers, thisPath
's elements, the suppliedPath
's elements, and the suppliedPath
's last element.
Q
- qualified() - Method in class org.microbean.path.Path.Element
-
Returns the thing that this
Path.Element
describes (which may be nothing). - qualified() - Method in class org.microbean.path.Path
-
Calls the
qualified()
method on the last element in thisPath
and returns the result. - qualifiers() - Method in class org.microbean.path.Path.Element
-
Returns the
Qualifiers
that qualifies thisPath.Element
. - qualifiers() - Method in class org.microbean.path.Path
-
Returns the
Qualifiers
that qualifies thisPath
.
R
- root() - Static method in class org.microbean.path.Path.Element
-
Returns a
Path.Element
that is a root element. - root() - Static method in class org.microbean.path.Path
-
Returns a
Path
that is a root path.
S
- size() - Method in class org.microbean.path.Path
- spliterator() - Method in class org.microbean.path.Path
- startsWith(Path<?>) - Method in class org.microbean.path.Path
- startsWith(Path<?>, BiPredicate<? super Path.Element<?>, ? super Path.Element<?>>) - Method in class org.microbean.path.Path
- stream() - Method in class org.microbean.path.Path
T
- toString() - Method in class org.microbean.path.Path.Element
- toString() - Method in class org.microbean.path.Path
- transliterate() - Method in class org.microbean.path.Path
-
Transliterates this
Path
into another, semantically equivalentPath
by producing aPath
that is otherwise equal to thisPath
but that will returntrue
from itsPath.transliterated()
method. - transliterate(BiFunction<? super String, ? super Path.Element<?>, ? extends Path.Element<?>>) - Method in class org.microbean.path.Path
-
Transliterates this
Path
into another, semantically equivalentPath
by applying the suppliedBiFunction
, and returns the transliteratedPath
. - transliterated() - Method in class org.microbean.path.Path
W
- withQualifiersPrefix(String) - Method in class org.microbean.path.Path.Element
-
Returns a
Path.Element
, usually newly created, whose qualifiers have keys that are prefixed with the suppliedprefix
.
All Classes and Interfaces|All Packages