@Test public void testUnique() { final Path t_noregion = new Path("/", EnumSet.of(Path.Type.directory)); assertEquals("[directory]-/", new DefaultPathPredicate(t_noregion).toString()); final Path t_region = new Path("/", EnumSet.of(Path.Type.directory)); t_region.attributes().setRegion("r"); assertEquals("[directory]-/", new DefaultPathPredicate(t_region).toString()); assertEquals(new DefaultPathPredicate(t_noregion), new DefaultPathPredicate(t_region)); }
@Override public String toString() { return reference; }
DefaultPathPredicate implements CacheReference<Path> { @Override public String toString() { return reference; } }
DefaultPathPredicate implements CacheReference<Path> { @Override public String toString() { return reference; } DefaultPathPredicate(final Path file); }
DefaultPathPredicate implements CacheReference<Path> { @Override public String toString() { return reference; } DefaultPathPredicate(final Path file); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); @Override boolean test(final Path test); }
DefaultPathPredicate implements CacheReference<Path> { @Override public String toString() { return reference; } DefaultPathPredicate(final Path file); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); @Override boolean test(final Path test);  }