Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,991 for extends (0.07 sec)

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

    @ElementTypesAreNonnullByDefault
    public final class Range<C extends Comparable> extends RangeGwtSerializationDependencies
        implements Predicate<C>, Serializable {
      @SuppressWarnings("unchecked")
      static <C extends Comparable<?>> Ordering<Range<C>> rangeLexOrdering() {
        return (Ordering<Range<C>>) RangeLexOrdering.INSTANCE;
      }
    
      static <C extends Comparable<?>> Range<C> create(Cut<C> lowerBound, Cut<C> upperBound) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

      // 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);
        }
      }
    
      public static final class LongsAsListHeadSubListGenerator extends TestLongListGenerator {
        @Override
        protected List<Long> create(Long[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top