Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 3,991 for extends (0.08 sec)

  1. guava/src/com/google/common/io/CharSource.java

      }
    
      private static final class EmptyCharSource extends StringCharSource {
    
        private static final EmptyCharSource INSTANCE = new EmptyCharSource();
    
        private EmptyCharSource() {
          super("");
        }
    
        @Override
        public String toString() {
          return "CharSource.empty()";
        }
      }
    
      private static final class ConcatenatedCharSource extends CharSource {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

    import java.lang.annotation.Retention;
    import java.lang.reflect.Method;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * @author George van den Driessche
     */
    public class FeatureUtilTest extends TestCase {
      enum ExampleFeature implements Feature<Object> {
        FOO,
        IMPLIES_FOO,
        IMPLIES_IMPLIES_FOO,
        BAR,
        IMPLIES_BAR,
        IMPLIES_IMPLIES_FOO_AND_IMPLIES_BAR;
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      public SafeTreeMap(Comparator<? super K> comparator) {
        this(new TreeMap<K, V>(comparator));
      }
    
      public SafeTreeMap(Map<? extends K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
      public SafeTreeMap(SortedMap<K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
      private SafeTreeMap(NavigableMap<K, V> delegate) {
        this.delegate = delegate;
        if (delegate == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/TypeResolver.java

       * matches.
       *
       * <p>On the other hand, if for example we are resolving {@code List<A extends B>} to {@code
       * List<A extends String>}, we need to compare that {@code <A extends B>} is unequal to {@code <A
       * extends String>} in order to decide to use the transformed type instead of the original type.
       */
      static final class TypeVariableKey {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/ForwardingLoadingCache.java

     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingLoadingCache<K, V> extends ForwardingCache<K, V>
        implements LoadingCache<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingLoadingCache() {}
    
      @Override
      protected abstract LoadingCache<K, V> delegate();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

    /**
     * Implementation for {@link FilteredMultimap#values()}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class FilteredMultimapValues<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractCollection<V> {
      @Weak private final FilteredMultimap<K, V> multimap;
    
      FilteredMultimapValues(FilteredMultimap<K, V> multimap) {
        this.multimap = checkNotNull(multimap);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class MultimapEqualsTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testEqualsTrue() {
        new EqualsTester()
            .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray()))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class SetMultimapAsMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
      public void testAsMapValuesImplementSet() {
        for (Collection<V> valueCollection : multimap().asMap().values()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MapDifference.java

     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @DoNotMock("Use Maps.difference")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface MapDifference<K extends @Nullable Object, V extends @Nullable Object> {
      /**
       * Returns {@code true} if there are no differences between the two maps; that is, if the maps are
       * equal.
       */
      boolean areEqual();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 04 13:28:27 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        return arg;
      }
    
      private static <X extends Throwable> void throwFirst(List<X> exceptions) throws X {
        if (!exceptions.isEmpty()) {
          throw exceptions.get(0);
        }
      }
    
      /** Factories with the least number of parameters are listed first. */
      private static <T> ImmutableList<Invokable<?, ? extends T>> getFactories(TypeToken<T> type) {
        List<Invokable<?, ? extends T>> factories = Lists.newArrayList();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top