Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for impls (0.13 sec)

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

       * Returns an {@link ImmutableSortedSet} containing the same values in the given domain
       * {@linkplain RangeSet#contains contained} by this range set.
       *
       * <p><b>Note:</b> {@code a.asSet(d).equals(b.asSet(d))} does not imply {@code a.equals(b)}! For
       * example, {@code a} and {@code b} could be {@code [2..4]} and {@code (1..5)}, or the empty
       * ranges {@code [3..3)} and {@code [4..4)}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Converter.java

       * all {@code a} of type {@code A} (and similarly for {@code reverse}). Note that a {@code false}
       * result from this method does not imply that the converters are known <i>not</i> to be
       * interchangeable.
       */
      @Override
      public boolean equals(@CheckForNull Object object) {
        return super.equals(object);
      }
    
      // Static converters
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

            }
    
            @Override
            public void notifyNewValue(Object newValue) {}
          };
    
      /** Singleton placeholder that indicates a value is being loaded. */
      @SuppressWarnings("unchecked") // impl never uses a parameter or returns any non-null value
      static <K, V> ValueReference<K, V> unset() {
        return (ValueReference<K, V>) UNSET;
      }
    
      private enum NullEntry implements ReferenceEntry<Object, Object> {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

            .isEqualTo(initialBuckets);
    
        // Ensure that referenceMap, which doesn't use WithExpectedSize, ends up with the same table
        // size as the other two maps. If it ended up with a smaller size that would imply that we
        // computed the wrong initial capacity.
        for (int i = 0; i < size; i++) {
          referenceMap.put(i, null);
        }
        assertWithMessage("table size after adding " + size + " elements")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

            .isEqualTo(initialBuckets);
    
        // Ensure that referenceMap, which doesn't use WithExpectedSize, ends up with the same table
        // size as the other two maps. If it ended up with a smaller size that would imply that we
        // computed the wrong initial capacity.
        for (int i = 0; i < size; i++) {
          referenceMap.put(i, null);
        }
        assertWithMessage("table size after adding " + size + " elements")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

              immutableEntry((Class) Two.class, new Impl(2)),
              immutableEntry((Class) Three.class, new Impl(3)),
              immutableEntry((Class) Four.class, new Impl(4)),
              immutableEntry((Class) Five.class, new Impl(5)));
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public Entry<Class, Impl>[] createArray(int length) {
          return (Entry<Class, Impl>[]) new Entry<?, ?>[length];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /** Gets the weak value reference held by entry. */
        WeakValueReference<K, V, E> getValueReference();
      }
    
      @SuppressWarnings("unchecked") // impl never uses a parameter or returns any non-null value
      static <K, V, E extends InternalEntry<K, V, E>>
          WeakValueReference<K, V, E> unsetWeakValueReference() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/EqualsTester.java

       * equal to any other equality groups added to this tester.
       *
       * <p>The {@code @Nullable} annotations on the {@code equalityGroup} parameter imply that the
       * objects, and the array itself, can be null. That is for programmer convenience, when the
       * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

         */
        Interface a = new Impl();
        Interface b = new Impl();
        ImmutableSortedSet<Interface> set = ImmutableSortedSet.of(a, b);
        Object[] unused1 = set.toArray();
        Object[] unused2 = set.toArray(new Object[2]);
      }
    
      interface Interface extends Comparable<Interface> {}
    
      static class Impl implements Interface {
        static int nextId;
        Integer id = nextId++;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/HostAndPort.java

      }
    
      /**
       * Returns the portion of this {@code HostAndPort} instance that should represent the hostname or
       * IPv4/IPv6 literal.
       *
       * <p>A successful parse does not imply any degree of sanity in this field. For additional
       * validation, see the {@link HostSpecifier} class.
       *
       * @since 20.0 (since 10.0 as {@code getHostText})
       */
      public String getHost() {
        return host;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
Back to top