@Test public void containsTest() { assertTrue("Contains", TEST_IDENTIFIER1.contains(DataTreeIdentifier.create(LogicalDatastoreType.OPERATIONAL, InstanceIdentifier.create(TestDataObject1.class)))); assertFalse("Not Contains", TEST_IDENTIFIER1.contains(TEST_IDENTIFIER2)); }
@Override public boolean contains(final DataTreeIdentifier<?> other) { return datastoreType == other.datastoreType && rootIdentifier.contains(other.rootIdentifier); }
DataTreeIdentifier implements Immutable,
        Path<DataTreeIdentifier<?>>, Serializable { @Override public boolean contains(final DataTreeIdentifier<?> other) { return datastoreType == other.datastoreType && rootIdentifier.contains(other.rootIdentifier); } }
DataTreeIdentifier implements Immutable,
        Path<DataTreeIdentifier<?>>, Serializable { @Override public boolean contains(final DataTreeIdentifier<?> other) { return datastoreType == other.datastoreType && rootIdentifier.contains(other.rootIdentifier); } private  DataTreeIdentifier(final @NonNull LogicalDatastoreType datastoreType,
            final @NonNull InstanceIdentifier<T> rootIdentifier); }
DataTreeIdentifier implements Immutable,
        Path<DataTreeIdentifier<?>>, Serializable { @Override public boolean contains(final DataTreeIdentifier<?> other) { return datastoreType == other.datastoreType && rootIdentifier.contains(other.rootIdentifier); } private  DataTreeIdentifier(final @NonNull LogicalDatastoreType datastoreType,
            final @NonNull InstanceIdentifier<T> rootIdentifier); static DataTreeIdentifier<T> create(
            final @NonNull LogicalDatastoreType datastoreType, final @NonNull InstanceIdentifier<T> rootIdentifier); @NonNull LogicalDatastoreType getDatastoreType(); @NonNull InstanceIdentifier<T> getRootIdentifier(); @Override boolean contains(final DataTreeIdentifier<?> other); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString(); }
DataTreeIdentifier implements Immutable,
        Path<DataTreeIdentifier<?>>, Serializable { @Override public boolean contains(final DataTreeIdentifier<?> other) { return datastoreType == other.datastoreType && rootIdentifier.contains(other.rootIdentifier); } private  DataTreeIdentifier(final @NonNull LogicalDatastoreType datastoreType,
            final @NonNull InstanceIdentifier<T> rootIdentifier); static DataTreeIdentifier<T> create(
            final @NonNull LogicalDatastoreType datastoreType, final @NonNull InstanceIdentifier<T> rootIdentifier); @NonNull LogicalDatastoreType getDatastoreType(); @NonNull InstanceIdentifier<T> getRootIdentifier(); @Override boolean contains(final DataTreeIdentifier<?> other); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString();  }