Interface Path<P extends Path<P>>

  • Type Parameters:
    P - Path equivalence class
    All Known Subinterfaces:
    HierarchicalIdentifier<T>
    All Known Implementing Classes:
    YangInstanceIdentifier

    @Deprecated(since="7.0.9",
                forRemoval=true)
    public interface Path<P extends Path<P>>
    Deprecated, for removal: This API element is subject to removal in a future version.
    This interface does not completely capture the modeling intent. Use HierarchicalIdentifier instead.
    Conceptual representation of a logical path in a tree-like structure, similar to a Path, but more general in terms of what objects it can be applied to. Paths have an equivalence class, which is captured in the defining type. Paths also have the notion of containment, where one path is said to contain another path if it the data set identified by the former contains all elements of the data set represented by later.
    • Method Detail

      • contains

        boolean contains​(@NonNull P other)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Check if this path contains some other.
        Parameters:
        other - Other path, may not be null.
        Returns:
        True if this path contains the other.