Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 3,920 for extenders (0.09 sec)

  1. 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)
  2. 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)
  3. guava/src/com/google/common/collect/GeneralRange.java

     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class GeneralRange<T extends @Nullable Object> implements Serializable {
      /** Converts a Range to a GeneralRange. */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      static <T extends Comparable> GeneralRange<T> from(Range<T> range) {
        T lowerEndpoint = range.hasLowerBound() ? range.lowerEndpoint() : null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/DenseImmutableTable.java

    /** A {@code RegularImmutableTable} optimized for dense data. */
    @GwtCompatible
    @Immutable(containerOf = {"R", "C", "V"})
    @ElementTypesAreNonnullByDefault
    final class DenseImmutableTable<R, C, V> extends RegularImmutableTable<R, C, V> {
      private final ImmutableMap<R, Integer> rowKeyToIndex;
      private final ImmutableMap<C, Integer> columnKeyToIndex;
      private final ImmutableMap<R, ImmutableMap<C, V>> rowMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

          Collection<? extends E> elements) {
        return ImmutableSortedSet.copyOf(elements);
      }
    
      @Override
      protected <E extends Comparable<? super E>> SortedSet<E> copyOf(Iterable<? extends E> elements) {
        return ImmutableSortedSet.copyOf(elements);
      }
    
      @Override
      protected <E extends Comparable<? super E>> SortedSet<E> copyOf(Iterator<? extends E> elements) {
        return ImmutableSortedSet.copyOf(elements);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top