- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 824 for from (0.16 sec)
-
android/guava/src/com/google/common/io/Files.java
* @throws IllegalArgumentException if {@code from.equals(to)} */ public static void move(File from, File to) throws IOException { checkNotNull(from); checkNotNull(to); checkArgument(!from.equals(to), "Source %s and destination %s must be different", from, to); if (!from.renameTo(to)) { copy(from, to); if (!from.delete()) { if (!to.delete()) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 33.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharStreams.java
* close or flush either object. * * @param from the object to read from * @param to the object to write to * @return the number of characters copied * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue public static long copy(Readable from, Appendable to) throws IOException { // The most common case is that from is a Reader (like InputStreamReader or StringReader) so
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 74.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
private void enqueueStoppingEvent(final State from) { if (from == State.STARTING) { listeners.enqueue(STOPPING_FROM_STARTING_EVENT); } else if (from == State.RUNNING) { listeners.enqueue(STOPPING_FROM_RUNNING_EVENT); } else { throw new AssertionError(); } } private void enqueueTerminatedEvent(final State from) { switch (from) { case NEW:
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 20.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
super(delegate, to, from); } @Override NavigableMap<K, V> createSubMap(SortedMap<K, V> sortedMap, K firstExclusive, K lastExclusive) { NavigableMap<K, V> map = (NavigableMap<K, V>) sortedMap; if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) { return map.headMap(lastInclusive, true); } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
+ " even if some elements are null.", getSet().equals(MinimalSet.from(elements))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherContainsNull() { Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(null); Set<E> other = MinimalSet.from(elements); assertFalse(
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* "inherited" from superclasses of the same package. */ public void testAllPublicStaticMethods(Class<?> c) { testStaticMethods(c, Visibility.PUBLIC); } /** * Runs {@link #testMethod} on every instance method of the class of {@code instance} with at * least {@code minimalVisibility}, including those inherited from superclasses of the same * package. */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 23.3K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
return FluentIterable.from(resources).filter(ClassInfo.class).toSet(); } /** * Returns all top level classes loadable from the current class path. Note that "top-level-ness" * is determined heuristically by class name (see {@link ClassInfo#isTopLevel}). */ public ImmutableSet<ClassInfo> getTopLevelClasses() { return FluentIterable.from(resources) .filter(ClassInfo.class)
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) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
private static final LittleEndianBytes byteArray; /** * Load 8 bytes into long in a little endian manner, from the substring between position and * position + 8. The array must have at least 8 bytes from offset (inclusive). * * @param input the input bytes * @param offset the offset into the array at which to start * @return a long of a concatenated 8 bytes */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 9.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java
features.remove(CollectionFeature.ALLOWS_NULL_VALUES); features.add(CollectionFeature.SUBSET_VIEW); return newBuilderUsing(delegate, to, from) .named(parentBuilder.getName() + " subSet " + from + "-" + to) .withFeatures(features) .suppressing(parentBuilder.getSuppressedTests()) .withSetUp(parentBuilder.getSetUp()) .withTearDown(parentBuilder.getTearDown()) .createTestSuite(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 4.2K bytes - Viewed (0)