Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for exists (0.2 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path temp = createTempFile();
        assertTrue(Files.exists(temp));
        Files.delete(temp);
        assertFalse(Files.exists(temp));
    
        MoreFiles.touch(temp);
        assertTrue(Files.exists(temp));
        MoreFiles.touch(temp);
        assertTrue(Files.exists(temp));
      }
    
      public void testTouchTime() throws IOException {
        Path temp = createTempFile();
        assertTrue(Files.exists(temp));
    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)
  2. guava/src/com/google/common/collect/DiscreteDomain.java

          }
        }
        return current;
      }
    
      /**
       * Returns the unique least value of type {@code C} that is greater than {@code value}, or {@code
       * null} if none exists. Inverse operation to {@link #previous}.
       *
       * @param value any value of type {@code C}
       * @return the least value greater than {@code value}, or {@code null} if {@code value} is {@code
       *     maxValue()}
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        // Exists to test that our framework doesn't run it:
        @SuppressWarnings("unused")
        @ExampleDerivedFeature.Require({
          ExampleDerivedFeature.DERIVED_FEATURE_1,
          ExampleDerivedFeature.DERIVED_FEATURE_2
        })
        public void testRequiringTwoExplicitDerivedFeatures() throws Exception {
          doNotActuallyRunThis();
        }
    
        // Exists to test that our framework doesn't run it:
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.4K bytes
    - Viewed (2)
  4. android/guava/src/com/google/common/collect/RangeSet.java

      /**
       * Returns {@code true} if there exists a non-empty range enclosed by both a member range in this
       * range set and the specified range. This is equivalent to calling {@code
       * subRangeSet(otherRange)} and testing whether the resulting range set is non-empty.
       *
       * @since 20.0
       */
      boolean intersects(Range<C> otherRange);
    
      /**
       * Returns {@code true} if there exists a member range in this range set which {@linkplain
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new SerializedForm<E>(comparator, toArray());
      }
    
      /**
       * Not supported. Use {@link #toImmutableSortedSet} instead. This method exists only to hide
       * {@link ImmutableSet#toImmutableSet} from consumers of {@code ImmutableSortedSet}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedSet#toImmutableSortedSet}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/DiscreteDomain.java

          }
        }
        return current;
      }
    
      /**
       * Returns the unique least value of type {@code C} that is greater than {@code value}, or {@code
       * null} if none exists. Inverse operation to {@link #previous}.
       *
       * @param value any value of type {@code C}
       * @return the least value greater than {@code value}, or {@code null} if {@code value} is {@code
       *     maxValue()}
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * minimize unnecessary signals. One simple and correct algorithm is to signal some other waiter
       * with a satisfied guard (if one exists) whenever any thread occupying the monitor exits the
       * monitor, either by unlocking all of its held locks, or by starting to wait for a guard. This
       * includes exceptional exits, so all control paths involving signalling must be protected by a
       * finally block.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Bytes.java

       * @param array an array of {@code byte} values, possibly empty
       * @param target a primitive {@code byte} value
       * @return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int indexOf(byte[] array, byte target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Floats.java

        return ((Float) value).hashCode();
      }
    
      /**
       * Compares the two specified {@code float} values using {@link Float#compare(float, float)}. You
       * may prefer to invoke that method directly; this method exists only for consistency with the
       * other utilities in this package.
       *
       * <p><b>Note:</b> this method simply delegates to the JDK method {@link Float#compare}. It is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ContiguousSet.java

      abstract ContiguousSet<C> headSetImpl(C toElement, boolean inclusive);
    
      @SuppressWarnings("MissingOverride") // Supermethod does not exist under GWT.
      abstract ContiguousSet<C> subSetImpl(
          C fromElement, boolean fromInclusive, C toElement, boolean toInclusive);
    
      @SuppressWarnings("MissingOverride") // Supermethod does not exist under GWT.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
Back to top