Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 410 for defaults (0.17 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

        return new String[length];
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>By default, returns the supplied elements in their given order; however, generators for
       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

        return new Integer[length];
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>By default, returns the supplied elements in their given order; however, generators for
       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       * @param safeMin the lowest character value in the safe range
       * @param safeMax the highest character value in the safe range
       * @param unsafeReplacement the default replacement for unsafe characters or null if no default
       *     replacement is required
       */
      protected ArrayBasedUnicodeEscaper(
          Map<Character, String> replacementMap,
          int safeMin,
          int safeMax,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

          default:
            throw new IllegalStateException("Unexpected edge type: " + edgeType);
        }
      }
    
      private static EdgeType oppositeType(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return EdgeType.DIRECTED;
          case DIRECTED:
            return EdgeType.UNDIRECTED;
          default:
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 22 19:09:27 GMT 2017
    - 5.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

      /** Creates a new, empty {@code LinkedHashMultimap} with the default initial capacities. */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMultimap<K, V> create() {
        return new LinkedHashMultimap<>(DEFAULT_KEY_CAPACITY, DEFAULT_VALUE_SET_CAPACITY);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java

        assertThat(set.elements).isNull();
    
        set.add(1);
        assertThat(set.needsAllocArrays()).isFalse();
        assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    
      public void testAllocArraysExpectedSize() {
        for (int i = 0; i <= CompactHashing.DEFAULT_SIZE; i++) {
          CompactHashSet<Integer> set = CompactHashSet.createWithExpectedSize(i);
          assertThat(set.needsAllocArrays()).isTrue();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

        assertThat(set.elements).isNull();
    
        set.add(1);
        assertThat(set.needsAllocArrays()).isFalse();
        assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    
      public void testAllocArraysExpectedSize() {
        for (int i = 0; i <= CompactHashing.DEFAULT_SIZE; i++) {
          CompactHashSet<Integer> set = CompactHashSet.createWithExpectedSize(i);
          assertThat(set.needsAllocArrays()).isTrue();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Cut.java

            case CLOSED:
              return this;
            case OPEN:
              C previous = domain.previous(endpoint);
              return (previous == null) ? Cut.<C>belowAll() : new AboveValue<C>(previous);
            default:
              throw new AssertionError();
          }
        }
    
        @Override
        Cut<C> withUpperBoundType(BoundType boundType, DiscreteDomain<C> domain) {
          switch (boundType) {
            case CLOSED:
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulated version of {@link ImmutableCollection}.
     *
     * @author Jesse Wilson
     */
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableCollection<E> extends AbstractCollection<E> implements Serializable {
      static final int SPLITERATOR_CHARACTERISTICS =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      public FakeTicker advance(Duration duration) {
        return advance(duration.toNanos());
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
       *
       * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when
       * queried.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top