Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,419 for objets (0.14 sec)

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

        throw new UnsupportedOperationException();
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingMapEntry.java

       */
      protected boolean standardEquals(@CheckForNull Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      /**
       * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} and {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          return;
        }
        fail("Should get not equal to equal object error");
      }
    
      /**
       * Test for an invalid hashCode method, i.e., one that returns different value for objects that
       * are equal according to the equals method
       */
      public void testInvalidHashCode() {
        Object a = new InvalidHashCodeObject(1, 2);
        Object b = new InvalidHashCodeObject(1, 2);
        equalsTester.addEqualityGroup(a, b);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

          extends View<K, V, Entry<V, K>> {
        InverseEntrySet(HashBiMap<K, V> biMap) {
          super(biMap);
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          if (o instanceof Entry) {
            Entry<?, ?> e = (Entry<?, ?>) o;
            Object v = e.getKey();
            Object k = e.getValue();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/HashBiMap.java

    @ElementTypesAreNonnullByDefault
    public final class HashBiMap<K extends @Nullable Object, V extends @Nullable Object>
        extends IteratorBasedAbstractMap<K, V> implements BiMap<K, V>, Serializable {
    
      /** Returns a new, empty {@code HashBiMap} with the default initial capacity (16). */
      public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create() {
        return create(16);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilderSpec.java

            && Objects.equal(keyStrength, that.keyStrength)
            && Objects.equal(valueStrength, that.valueStrength)
            && Objects.equal(recordStats, that.recordStats)
            && Objects.equal(
                durationInNanos(writeExpirationDuration, writeExpirationTimeUnit),
                durationInNanos(that.writeExpirationDuration, that.writeExpirationTimeUnit))
            && Objects.equal(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/ToStringHelperTest.java

        Object unused1 = new Object() {};
        Object unused2 = new Object() {};
        Object unused3 = new Object() {};
        Object unused4 = new Object() {};
        Object unused5 = new Object() {};
        Object unused6 = new Object() {};
        Object unused7 = new Object() {};
        Object unused8 = new Object() {};
        Object unused9 = new Object() {};
        Object o10 = new Object() {};
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

      }
    
      private static <E extends @Nullable Object> void assertCollectionsAreEquivalent(
          Collection<E> expected, Collection<E> actual) {
        assertIteratorsInOrder(expected.iterator(), actual.iterator());
      }
    
      private static <K extends @Nullable Object, V extends @Nullable Object>
          void assertMultimapRemainsUnmodified(Multimap<K, V> expected, List<Entry<K, V>> actual) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicate.java

       */
      boolean apply(@ParametricNullness T input);
    
      /**
       * Indicates whether another object is equal to this predicate.
       *
       * <p>Most implementations will have no reason to override the behavior of {@link Object#equals}.
       * However, an implementation may also choose to return {@code true} whenever {@code object} is a
       * {@link Predicate} that it considers <i>interchangeable</i> with this one. "Interchangeable"
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/CollectorTester.java

    public final class CollectorTester<
        T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> {
      /**
       * Creates a {@code CollectorTester} for the specified {@code Collector}. The result of the {@code
       * Collector} will be compared to the expected value using {@link Object#equals}.
       */
      public static <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top