Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 446 for those (0.16 sec)

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

       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
       * @param sampleElement an element of the same type as that contained by {@code collection}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

        int expectedHashCode = 0;
        for (E element : getSampleElements()) {
          expectedHashCode += ((element == null) ? 0 : element.hashCode());
        }
        assertEquals(
            "A Set's hashCode() should be the sum of those of its elements.",
            expectedHashCode,
            getSet().hashCode());
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

     * the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function,
     * java.util.concurrent.Executor) Futures.catching} family of methods. Those versions have slightly
     * different signatures.
     */
    @GwtCompatible(emulated = true)
    @J2ktIncompatible // Super-sourced
    @ElementTypesAreNonnullByDefault
    abstract class GwtFuturesCatchingSpecialization {
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingList.java

     * provided {@code standardAddAll} method.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingList}.
     *
     * <p>The {@code standard} methods and any collection views they return are not guaranteed to be
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       * someone still manages to pass null, let's continue to have the method work.
       *
       * (PatternFilenameFilter is of course one of those classes that shouldn't be a publicly visible
       * class to begin with but rather something returned from a static factory method whose declared
       * return type is plain FilenameFilter. If we made such a change, then the annotation we choose
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

    /**
     * Hidden superclass of {@link FluentFuture} that provides us a place to declare special GWT
     * versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function)
     * FluentFuture.catching} family of methods. Those versions have slightly different signatures.
     */
    @ElementTypesAreNonnullByDefault
    abstract class GwtFluentFutureCatchingSpecialization<V extends @Nullable Object>
        extends AbstractFuture<V> {
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

        int expectedHashCode = 0;
        for (E element : getSampleElements()) {
          expectedHashCode += ((element == null) ? 0 : element.hashCode());
        }
        assertEquals(
            "A Set's hashCode() should be the sum of those of its elements.",
            expectedHashCode,
            getSet().hashCode());
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractSortedMultiset.java

     *
     * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by
     * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link
     * #elementSet()}. Override those methods for better performance.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactLinkedHashSet.java

       * given collection in the order returned by the collection's iterator.
       *
       * @param collection the elements that the set should contain
       * @return a new {@code CompactLinkedHashSet} containing those elements (minus duplicates)
       */
      public static <E extends @Nullable Object> CompactLinkedHashSet<E> create(
          Collection<? extends E> collection) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingDeque.java

     * override {@code offer} as well.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingDeque}.
     *
     * @author Kurt Alfred Kluever
     * @since 12.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 4.2K bytes
    - Viewed (0)
Back to top