- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getParent (0.21 sec)
-
guava-tests/test/com/google/common/io/MoreFilesTest.java
assertNull(root.getParent()); assertNull(root.toRealPath().getParent()); MoreFiles.createParentDirectories(root); // test that there's no exception } } public void testCreateParentDirectories_relativePath() throws IOException { Path path = FS.getPath("nonexistent.file"); assertNull(path.getParent()); assertNotNull(path.toAbsolutePath().getParent());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 29 22:57:05 GMT 2024 - 27.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
} private WeakReference<ClassLoader> useFrqInSeparateLoader() throws Exception { final ClassLoader myLoader = getClass().getClassLoader(); URLClassLoader sepLoader = new URLClassLoader(getClassPathUrls(), myLoader.getParent()); // sepLoader is the loader that we will use to load the parallel FinalizableReferenceQueue (FRQ) // and friends, and that we will eventually expect to see garbage-collected. The assumption
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 16 03:24:50 GMT 2021 - 13.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
} private WeakReference<ClassLoader> useFrqInSeparateLoader() throws Exception { final ClassLoader myLoader = getClass().getClassLoader(); URLClassLoader sepLoader = new URLClassLoader(getClassPathUrls(), myLoader.getParent()); // sepLoader is the loader that we will use to load the parallel FinalizableReferenceQueue (FRQ) // and friends, and that we will eventually expect to see garbage-collected. The assumption
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 16 03:24:50 GMT 2021 - 13.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
.containsExactlyElementsIn(locations); } public void testLocationEquals() { ClassLoader child = getClass().getClassLoader(); ClassLoader parent = child.getParent(); new EqualsTester() .addEqualityGroup( new ClassPath.LocationInfo(new File("foo.jar"), child), new ClassPath.LocationInfo(new File("foo.jar"), child))
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 26 14:02:27 GMT 2024 - 24.9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
LinkedHashMap<File, ClassLoader> entries = Maps.newLinkedHashMap(); // Search parent first, since it's the order ClassLoader#loadClass() uses. ClassLoader parent = classloader.getParent(); if (parent != null) { entries.putAll(getClassPathEntries(parent)); } for (URL url : getClassLoaderUrls(classloader)) { if (url.getProtocol().equals("file")) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 05 17:43:40 GMT 2022 - 24.9K bytes - Viewed (1) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
.containsExactlyElementsIn(locations); } public void testLocationEquals() { ClassLoader child = getClass().getClassLoader(); ClassLoader parent = child.getParent(); new EqualsTester() .addEqualityGroup( new ClassPath.LocationInfo(new File("foo.jar"), child), new ClassPath.LocationInfo(new File("foo.jar"), child))
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Jul 10 17:06:37 GMT 2023 - 27.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/PredecessorsFunction.java
* * <p>If you have your own graph implementation based around a custom node type {@code MyNode}, * which has a method {@code getParents()} that retrieves its predecessors in a graph: * * <pre>{@code * someGraphAlgorithm(startNode, MyNode::getParents); * }</pre> * * <p>If you have some other mechanism for returning the predecessors of a node, or one that doesn't
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 26 17:43:39 GMT 2021 - 4.1K bytes - Viewed (0)