Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 3,070 for extender (0.04 sec)

  1. android/guava/src/com/google/common/collect/SortedMultisets.java

      /** A skeleton implementation for {@link SortedMultiset#elementSet}. */
      @SuppressWarnings("JdkObsolete") // TODO(b/6160855): Switch GWT emulations to NavigableSet.
      static class ElementSet<E extends @Nullable Object> extends Multisets.ElementSet<E>
          implements SortedSet<E> {
        @Weak private final SortedMultiset<E> multiset;
    
        ElementSet(SortedMultiset<E> multiset) {
          this.multiset = multiset;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  2. docs/features/events.md

    Here’s a [sample event listener](https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java) that prints each event with a timestamp.
    
    ```java
    class PrintingEventListener extends EventListener {
      private long callStartNanos;
    
      private void printEvent(String name) {
        long nowNanos = System.nanoTime();
        if (name.equals("callStart")) {
          callStartNanos = nowNanos;
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

     */
    public class FeatureSpecificTestSuiteBuilderTest extends TestCase {
      private static final class MyTestSuiteBuilder
          extends FeatureSpecificTestSuiteBuilder<MyTestSuiteBuilder, String> {
        @SuppressWarnings("rawtypes") // class literals
        @Override
        protected List<Class<? extends AbstractTester>> getTesters() {
          return Collections.<Class<? extends AbstractTester>>singletonList(MyTester.class);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. .github/PULL_REQUEST_TEMPLATE.md

    -->
    Fixes #
    
    #### Special notes for your reviewer:
    
    #### Does this PR introduce a user-facing change?
    <!--
    If no, just write "NONE" in the release-note block below.
    If yes, a release note is required:
    Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Sun Aug 01 08:59:21 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MapMakerInternalMap.java

      interface StrongValueEntry<K, V, E extends InternalEntry<K, V, E>>
          extends InternalEntry<K, V, E> {}
    
      /** Marker interface for {@link InternalEntry} implementations for weak values. */
      interface WeakValueEntry<K, V, E extends InternalEntry<K, V, E>> extends InternalEntry<K, V, E> {
        /** Gets the weak value reference held by entry. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ClassToInstanceMap.java

    public interface ClassToInstanceMap<B extends @Nullable Object>
        extends Map<Class<? extends @NonNull B>, B> {
      /**
       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       */
      @CheckForNull
      <T extends @NonNull B> T getInstance(Class<T> type);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Collections2.java

       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Collection<T> transform(
          Collection<F> fromCollection, Function<? super F, T> function) {
        return new TransformedCollection<>(fromCollection, function);
      }
    
      static class TransformedCollection<F extends @Nullable Object, T extends @Nullable Object>
          extends AbstractCollection<T> {
        final Collection<F> fromCollection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

      // public named classes with a public default constructor.
    
      public static final class ShortsAsListGenerator extends TestShortListGenerator {
        @Override
        protected List<Short> create(Short[] elements) {
          return asList(elements);
        }
      }
    
      public static final class ShortsAsListHeadSubListGenerator extends TestShortListGenerator {
        @Override
        protected List<Short> create(Short[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

      // public named classes with a public default constructor.
    
      public static final class CharsAsListGenerator extends TestCharListGenerator {
        @Override
        protected List<Character> create(Character[] elements) {
          return asList(elements);
        }
      }
    
      public static final class CharsAsListHeadSubListGenerator extends TestCharListGenerator {
        @Override
        protected List<Character> create(Character[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

      // public named classes with a public default constructor.
    
      public static final class ShortsAsListGenerator extends TestShortListGenerator {
        @Override
        protected List<Short> create(Short[] elements) {
          return asList(elements);
        }
      }
    
      public static final class ShortsAsListHeadSubListGenerator extends TestShortListGenerator {
        @Override
        protected List<Short> create(Short[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top