- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ResourceInfo (0.06 sec)
-
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
.addEqualityGroup(classInfo(Test.class), classInfo(Test.class, getClass().getClassLoader())) .addEqualityGroup( new ResourceInfo(FILE, "a/b/c.txt", getClass().getClassLoader()), new ResourceInfo(FILE, "a/b/c.txt", getClass().getClassLoader())) .addEqualityGroup(new ResourceInfo(FILE, "x.txt", getClass().getClassLoader())) .testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 25K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
@Override public boolean equals(@CheckForNull Object obj) { if (obj instanceof ResourceInfo) { ResourceInfo that = (ResourceInfo) obj; return resourceName.equals(that.resourceName) && loader == that.loader; } return false; } // Do not change this arbitrarily. We rely on it for sorting ResourceInfo. @Override public String toString() { return resourceName; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 24.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertEquals( ImmutableSet.of( new ResourceInfo(FILE, "left/some.txt", loader), new ResourceInfo(FILE, "left/sibling/another.txt", loader), new ResourceInfo(FILE, "right/another.txt", loader), new ResourceInfo(FILE, "right/sibling/some.txt", loader)), new ClassPath.LocationInfo(root.toFile(), loader).scanResources());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 27.6K bytes - Viewed (0)