Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 378 for Exists (0.33 sec)

  1. 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:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testTouch() throws IOException {
        File temp = createTempFile();
        assertTrue(temp.exists());
        assertTrue(temp.delete());
        assertFalse(temp.exists());
        Files.touch(temp);
        assertTrue(temp.exists());
        Files.touch(temp);
        assertTrue(temp.exists());
    
        assertThrows(
            IOException.class,
            () ->
                Files.touch(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
              @Override
              public boolean isDone() {
                return !file.exists();
              }
            });
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 08 21:20:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/GraphConstants.java

      static final String REUSING_EDGE =
          "Edge %s already exists between the following nodes: %s, "
              + "so it cannot be reused to connect the following nodes: %s.";
      static final String MULTIPLE_EDGES_CONNECTING =
          "Cannot call edgeConnecting() when parallel edges exist between %s and %s. Consider calling "
              + "edgesConnecting() instead.";
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Resources.java

       *
       * @throws IllegalArgumentException if the resource is not found
       */
      @CanIgnoreReturnValue // being used to check if a resource exists
      // TODO(cgdecker): maybe add a better way to check if a resource exists
      // e.g. Optional<URL> tryGetResource or boolean resourceExists
      public static URL getResource(String resourceName) {
        ClassLoader loader =
            MoreObjects.firstNonNull(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  6. 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
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/annotations/VisibleForTesting.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.annotations;
    
    /**
     * Annotates a program element that exists, or is more widely visible than otherwise necessary, only
     * for use in test code.
     *
     * <p><b>Do not use this interface</b> for public or protected declarations: it is a fig leaf for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 30 22:25:16 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Partially.java

    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Outer class that exists solely to let us write {@code Partially.GwtIncompatible} instead of plain
     * {@code GwtIncompatible}. This is more accurate for {@link Futures#catching}, which is available
     * under GWT but with a slightly different signature.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Range.java

       * connectedRange}, if such a range exists.
       *
       * <p>For example, the intersection of {@code [1..5]} and {@code (3..7)} is {@code (3..5]}. The
       * resulting range may be empty; for example, {@code [1..5)} intersected with {@code [5..7)}
       * yields the empty range {@code [5..5)}.
       *
       * <p>The intersection exists if and only if the two ranges are {@linkplain #isConnected
       * connected}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ImmutableNetwork.java

         * this network {@link #isDirected()}, else in any order), then this method will have no effect.
         *
         * @return this {@code Builder} object
         * @throws IllegalArgumentException if {@code edge} already exists in the network and does not
         *     connect {@code nodeU} to {@code nodeV}
         * @throws IllegalArgumentException if the introduction of the edge would violate {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 9.6K bytes
    - Viewed (0)
Back to top