Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 410 for defaults (0.18 sec)

  1. guava/src/com/google/common/collect/ImmutableList.java

     *
     * @see ImmutableMap
     * @see ImmutableSet
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableList<E> extends ImmutableCollection<E>
        implements List<E>, RandomAccess {
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  2. guava/src/com/google/common/collect/DiscreteDomain.java

       * value for which {@link Comparable#compareTo(Object)} never returns a positive value for any
       * input of type {@code C}.
       *
       * <p>The default implementation throws {@code NoSuchElementException}.
       *
       * @return the minimum value of type {@code C}; never null
       * @throws NoSuchElementException if the type has no (practical) minimum value; for example,
    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. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        if (exec != null) {
          exec.shutdown();
        }
    
        super.tearDown();
      }
    
      public void testListenerDoesNotRunUntilTaskCompletes() throws Exception {
    
        // Test default state of not started.
        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
        // Start the task to put it in the RUNNING state.  Have to use a separate
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true, serializable = true)
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    @ElementTypesAreNonnullByDefault
    class RegularImmutableMultiset<E> extends ImmutableMultiset<E> {
      static final RegularImmutableMultiset<Object> EMPTY =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

      /**
       * Returns the element at the specified position in an iterable or a default value otherwise.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code
       * stream.skip(position).findFirst().orElse(defaultValue)} (returns the default value if the index
       * is out of bounds)
       *
       * @param position position of the element to return
       * @param defaultValue the default value to return if {@code position} is greater than or equal to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Predicate.java

       * predicates are known <i>not</i> to be interchangeable.
       */
      @Override
      boolean equals(@CheckForNull Object object);
    
      @Override
      default boolean test(@ParametricNullness T input) {
        return apply(input);
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * runtime at all. I could just make _this_ test a MediumTest, but then it wouldn't run on
       * Android.... The right long-term fix is probably to get MediumTests running under Android by
       * default and then suppress them strategically as needed.
       */
      public static final class ConcretePackageSanityTests extends AbstractPackageSanityTests {}
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * runtime at all. I could just make _this_ test a MediumTest, but then it wouldn't run on
       * Android.... The right long-term fix is probably to get MediumTests running under Android by
       * default and then suppress them strategically as needed.
       */
      public static final class ConcretePackageSanityTests extends AbstractPackageSanityTests {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class LongsAsListGenerator extends TestLongListGenerator {
        @Override
        protected List<Long> create(Long[] elements) {
          return asList(elements);
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testCompute_presentNullToNull() {
        // The spec is somewhat ambiguous about this case, but the actual default implementation
        // in Map will remove a present null.
        initMapWithNullValue();
        assertNull(
            "Map.compute(presentMappedToNull, functionReturningNull) should return null",
            getMap()
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 6.8K bytes
    - Viewed (0)
Back to top