- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for created (0.05 sec)
-
MoreFiles.java
/** L423: * Creates any necessary but nonexistent parent directories of the specified path. Note that if L424: * this operation fails, it may have succeeded in creating some (but not all) of the necessary L425: * parent directories. The parent directory is created with the given {@code attrs}. L426: * L427: * @throws IOException if an I/O error occurs, or if any necessary but nonexistent parent L428: * directories of the specified file could not be created. L429: */ L430: public static...github.com/google/guava/android/guava/src/com/g...Thu Oct 31 16:07:00 UTC 2024 35K bytes -
MoreFiles.java
/** L411: * Creates any necessary but nonexistent parent directories of the specified path. Note that if L412: * this operation fails, it may have succeeded in creating some (but not all) of the necessary L413: * parent directories. The parent directory is created with the given {@code attrs}. L414: * L415: * @throws IOException if an I/O error occurs, or if any necessary but nonexistent parent L416: * directories of the specified file could not be created. L417: */ L418: public static...github.com/google/guava/guava/src/com/google/co...Thu Oct 31 16:07:00 UTC 2024 34.5K bytes -
CharSource.java
{@code \r\n}, {@code \r} or {@code L310: * \n}. If the source's content does not end in a line termination sequence, it is treated as if L311: * it does. L312: * L313: * @throws IOException if an I/O error occurs while reading from this source L314: */ L315: @CheckForNull L316: public String readFirstLine() throws IOException { L317: Closer closer = Closer.create(); L318: try { L319: BufferedReader reader = closer.register(openBufferedStream()); L320: return reader.readLine();...github.com/google/guava/guava/src/com/google/co...Thu Oct 31 14:20:11 UTC 2024 25.5K bytes -
MoreFilesTest.java
ory(NOFOLLOW_LINKS).apply(symlinkToDir)); L373: assertFalse(MoreFiles.isRegularFile(NOFOLLOW_LINKS).apply(symlinkToFile)); L374: } L375: } L376: L377: /** L378: * Creates a new file system for testing that supports the given features in addition to L379: * supporting symbolic links. The file system is created initially having the following file L380: * structure: L381: * L382: * <pre> L383: * / L384: * work/ L385: * dir/ L386: * a L387: * ...github.com/google/guava/android/guava-tests/tes...Thu Oct 31 16:07:00 UTC 2024 26.5K bytes -
Stopwatch.java
private boolean isRunning; L103: private long elapsedNanos; L104: private long startTick; L105: L106: /** L107: * Creates (but does not start) a new stopwatch using {@link System#nanoTime} as its time source. L108: * L109: * @since 15.0 L110: */ L111: public static Stopwatch createUnstarted() { L112: return new Stopwatch(); L113: } L114: L115: /** L116: * Creates (but does not start) a new stopwatch, using the specified time source. L117: * L118: * @since 15.0 L119: */ L120:...github.com/google/guava/guava/src/com/google/co...Thu Oct 31 14:20:11 UTC 2024 9.3K bytes -
Optional.java
Optional.empty}. L94: */ L95: public static <T> Optional<T> absent() { L96: return Absent.withType(); L97: } L98: L99: /** L100: * Returns an {@code Optional} instance containing the given non-null reference. To have {@code L101: * null} treated as {@link #absent}, use {@link #fromNullable} instead. L102: * L103: * <p><b>Comparison to {@code java.util.Optional}:</b> no differences. L104: * L105: * @throws NullPointerException if {@code reference} is null L106: */ L107: public static...github.com/google/guava/android/guava/src/com/g...Thu Oct 31 14:20:11 UTC 2024 15.4K bytes -
CollectSpliteratorsTest.java
Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL, L94: 4)) L95: .expect(1.0, 1.0, 2.0, 3.0); L96: } L97: L98: public void testMultisetsSpliterator() { L99: Multiset<String> multiset = TreeMultiset.create(); L100: multiset.add("a", 3); L101: multiset.add("b", 1); L102: multiset.add("c", 2); L103: L104: List<String> actualValues = Lists.newArrayList(); L105: multiset.spliterator().forEachRemaining(actualValues::add); L106: assertT...github.com/google/guava/android/guava-tests/tes...Thu Oct 31 14:20:11 UTC 2024 4.1K bytes