public interface PersistentPropertyPaths<T,P extends PersistentProperty<P>> extends Streamable<PersistentPropertyPath<P>>
PersistentPropertyPath
s.Modifier and Type | Method and Description |
---|---|
boolean |
contains(PropertyPath path)
Returns whether the given
PropertyPath is contained in the current PersistentPropertyPaths . |
boolean |
contains(String path)
Returns whether the given path is contained in the current
PersistentPropertyPaths . |
PersistentPropertyPaths<T,P> |
dropPathIfSegmentMatches(Predicate<? super P> predicate)
Drops
PersistentPropertyPath s that contain a path segment matching the given predicate. |
Optional<PersistentPropertyPath<P>> |
getFirst()
Returns the first
PersistentPropertyPath . |
and, and, and, and, empty, filter, flatMap, get, isEmpty, map, of, of, of, stream, toList, toSet, toStreamable, toStreamable
forEach, iterator, spliterator
Optional<PersistentPropertyPath<P>> getFirst()
PersistentPropertyPath
.boolean contains(String path)
PersistentPropertyPaths
.path
- must not be null.boolean contains(PropertyPath path)
PropertyPath
is contained in the current PersistentPropertyPaths
.path
- must not be null.PersistentPropertyPaths<T,P> dropPathIfSegmentMatches(Predicate<? super P> predicate)
PersistentPropertyPath
s that contain a path segment matching the given predicate.predicate
- must not be null.PersistentPropertyPaths
instance with all PersistentPropertyPath
instances removed that
contain path segments matching the given predicate.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.