Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 270 for Implementation (2.3 sec)

  1. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          iia3.subArray(1, 4);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * that the {@link ServiceManager} functions properly even when it is managing no services.
       *
       * <p>The use of this class is considered an implementation detail of ServiceManager and as such
       * it is excluded from {@link #servicesByState}, {@link #startupTimes}, {@link #toString} and all
       * logging statements.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Joiner.java

         *
         * (In addition to useForNull, we also offer skipNulls. It, too, tolerates null inputs, but its
         * tolerance is implemented differently: Its implementation avoids calling this toString(Object)
         * method in the first place.)
         */
        requireNonNull(part);
        return (part instanceof CharSequence) ? (CharSequence) part : part.toString();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeRangeMap.java

    import java.util.function.BiFunction;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An implementation of {@code RangeMap} based on a {@code TreeMap}, supporting all optional
     * operations.
     *
     * <p>Like all {@code RangeMap} implementations, this supports neither null keys nor null values.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16));
      }
    
      @GwtIncompatible // digs into internals of the non-GWT implementation
      public void testMaximumSize_largerThanInt() {
        CacheBuilder<Object, Object> builder =
            CacheBuilder.newBuilder().initialCapacity(512).maximumSize(Long.MAX_VALUE);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 03 20:10:02 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ServiceManager.java

       * that the {@link ServiceManager} functions properly even when it is managing no services.
       *
       * <p>The use of this class is considered an implementation detail of ServiceManager and as such
       * it is excluded from {@link #servicesByState}, {@link #startupTimes}, {@link #toString} and all
       * logging statements.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 33K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        assertFalse(entrySet.contains("foo"));
      }
    
      /**
       * Override this to check invariants which should hold true for a particular implementation, but
       * which are not generally applicable to every instance of Map.
       *
       * @param map the map whose additional invariants to check.
       */
      protected void assertMoreInvariants(Map<K, V> map) {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMultimap.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Returns {@code true} if this immutable multimap's implementation contains references to
       * user-created objects that aren't accessible via this multimap's methods. This is generally used
       * to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
       */
      boolean isPartialView() {
        return map.isPartialView();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/FluentFuture.java

        extends GwtFluentFutureCatchingSpecialization<V> {
    
      /**
       * A less abstract subclass of AbstractFuture. This can be used to optimize setFuture by ensuring
       * that {@link #get} calls exactly the implementation of {@link AbstractFuture#get}.
       */
      abstract static class TrustedFuture<V extends @Nullable Object> extends FluentFuture<V>
          implements AbstractFuture.Trusted<V> {
        @CanIgnoreReturnValue
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 11 19:08:44 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

        extends GwtFluentFutureCatchingSpecialization<V> {
    
      /**
       * A less abstract subclass of AbstractFuture. This can be used to optimize setFuture by ensuring
       * that {@link #get} calls exactly the implementation of {@link AbstractFuture#get}.
       */
      abstract static class TrustedFuture<V extends @Nullable Object> extends FluentFuture<V>
          implements AbstractFuture.Trusted<V> {
        @CanIgnoreReturnValue
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 11 19:08:44 UTC 2023
    - 18.7K bytes
    - Viewed (0)
Back to top