DataTreeIdentifier implements Immutable,
        Path<DataTreeIdentifier<?>>, Serializable { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + datastoreType.hashCode(); result = prime * result + rootIdentifier.hashCode(); return result; } 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();  }
@Test public void hashCodeTest() { assertEquals("hashCode", TEST_IDENTIFIER1.hashCode(), DataTreeIdentifier.create( LogicalDatastoreType.OPERATIONAL, InstanceIdentifier.create(TestDataObject1.class)).hashCode()); assertNotEquals("hashCode", TEST_IDENTIFIER1.hashCode(), TEST_IDENTIFIER2.hashCode()); }