Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 454 for do (0.14 sec)

  1. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
        // bound.  But these ideas are harder to implement.  We do not try to detect or handle a
        // user-specified -XX:+DisableExplicitGC.
        //
        // TODO(user): Consider using
        // java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage()
        //
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeFine2() {
        FluentIterable<? extends Number> numbers = getSomeNumbers();
    
        // Sadly, the following is what users will have to do in some circumstances.
    
        @SuppressWarnings("unchecked") // safe covariant cast
        Optional<Number> first = (Optional<Number>) numbers.first();
        Number value = first.or(0.5); // fine
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          @Override
          <E extends @Nullable Object> void forEach(
              GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) {
            while (spliterator.tryAdvance(consumer)) {
              // do nothing
            }
          }
        },
        MAXIMUM_SPLIT {
          @Override
          <E extends @Nullable Object> void forEach(
              GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

       * multiset is a live view of {@code unfiltered}; changes to one affect the other.
       *
       * <p>The resulting multiset's iterators, and those of its {@code entrySet()} and {@code
       * elementSet()}, do not support {@code remove()}. However, all other multiset methods supported
       * by {@code unfiltered} are supported by the returned multiset. When given an element that
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

    /**
     * A {@link SetMultimap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> As in all {@link SetMultimap}s, do not modify either a key <i>or a value</i>
     * of a {@code ImmutableSetMultimap} in a way that affects its {@link Object#equals} behavior.
     * Undefined behavior and bugs will result.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. guava/pom.xml

    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      <!-- do_not_remove: published-with-gradle-metadata -->
      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>com.google.guava</groupId>
        <artifactId>guava-parent</artifactId>
        <version>HEAD-jre-SNAPSHOT</version>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * ordering of the keys.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>This method is not type-safe, as it may be called on a map with keys that are not mutually
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Converter.java

       * signatures as the methods below, rather than overriding the same doForward and doBackward
       * methods as implementations of normal converters do?
       *
       * But no matter what we do, it's worth remembering that the resulting code is going to be unsound
       * in the presence of LegacyConverter, at least in the case of users who view the converter as a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ComparisonChain.java

       * implementing {@code Comparable<Foo>}) without producing warnings. If so, we would prefer today
       * to produce warnings in that case, and we may change this method to do so in the future. Support
       * for raw {@code Comparable} types in Guava in general is tracked as <a
       * href="https://github.com/google/guava/issues/989">#989</a>.)
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/JoinerTest.java

          return "foo".subSequence(start, end);
        }
    
        @Override
        public String toString() {
          throw new AssertionFailedError("shouldn't be invoked");
        }
      }
    
      // Don't do this.
      private static class IterableIterator implements Iterable<Integer>, Iterator<Integer> {
        private static final ImmutableSet<Integer> INTEGERS = ImmutableSet.of(1, 2, 3, 4);
        private final Iterator<Integer> iterator;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
Back to top