Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 224 for interfaces (0.17 sec)

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

     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    @TypeQualifierDefault({FIELD, METHOD, PARAMETER})
    @Nonnull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          throw new RuntimeException();
        }
      }
    
      private interface InterfaceStaticMethodFailsToCheckNull {
        static String create(String s) {
          return "I don't check";
        }
      }
    
      private interface InterfaceStaticMethodChecksNull {
        static String create(String s) {
          return checkNotNull(s);
        }
      }
    
      private interface InterfaceDefaultMethodFailsToCheckNull {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

      @Override
      public Set<Feature<? super Multiset>> getImpliedFeatures() {
        return Collections.emptySet();
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        public abstract MultisetFeature[] value() default {};
    
        public abstract MultisetFeature[] absent() default {};
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SortedMultiset.java

     * SortedSet} for GWT compatibility.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @ElementTypesAreNonnullByDefault
    public interface SortedMultiset<E extends @Nullable Object> extends Multiset<E>, SortedIterable<E> {
      Comparator<? super E> comparator();
    
      @CheckForNull
      Entry<E> firstEntry();
    
      @CheckForNull
      Entry<E> lastEntry();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractSortedMultiset.java

    import java.util.NavigableSet;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * This class provides a skeletal implementation of the {@link SortedMultiset} interface.
     *
     * <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
    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)
  6. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       comes to that, it may at least help with build and startup times.
     * </ul>
     */
    @Retention(CLASS)
    @Target({ANNOTATION_TYPE, CONSTRUCTOR, FIELD, METHOD, TYPE})
    @GwtCompatible
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. CONTRIBUTING.md

    for it.
    
    If the feature has merit, it will go through a thorough process of API design
    and review. Any code should come after this.
    
    [APIs]: https://en.wikipedia.org/wiki/Application_programming_interface
    [issue]: https://github.com/google/guava/issues
    
    Pull requests
    -------------
    
    Unless the change is a trivial fix such as for a typo, it's generally best to
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        }
    
        @Override
        public String toString() {
          return paramString(interfaceType, identity);
        }
      }
    
      /** Subclasses can override to provide different return value for proxied interface methods. */
      @CheckForNull
      Object interfaceMethodCalled(Class<?> interfaceType, Method method) {
        throw new UnsupportedOperationException();
      }
    
      private <T> T pickInstance(T[] instances, T defaultValue) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

      }
    
      public void testGet_enum() {
        assertNull(ArbitraryInstances.get(EmptyEnum.class));
        assertEquals(Direction.UP, ArbitraryInstances.get(Direction.class));
      }
    
      public void testGet_interface() {
        assertNull(ArbitraryInstances.get(SomeInterface.class));
      }
    
      public void testGet_runnable() {
        ArbitraryInstances.get(Runnable.class).run();
      }
    
      public void testGet_class() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/LinkedListMultimap.java

     *
     * <p>The {@link #values()} and {@link #entries()} methods both return a {@code List}, instead of
     * the {@code Collection} specified by the {@link ListMultimap} interface.
     *
     * <p>The methods {@link #get}, {@link #keySet()}, {@link #keys()}, {@link #values}, {@link
     * #entries()}, and {@link #asMap} return collections that are views of the multimap. If the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
Back to top