Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 106 for Identity (0.17 sec)

  1. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        // WARMUP_MAX), but the tests assume no values get evicted. Even with a maximumSize of 100, one
        // of the values gets evicted. With weak keys, we use identity equality, which means using
        // System.identityHashCode, which means the assignment of keys to segments is nondeterministic,
        // so more than (maximumSize / #segments) keys could get assigned to the same segment, which
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ValueGraph.java

       * @since 27.1
       */
      @CheckForNull
      V edgeValueOrDefault(EndpointPair<N> endpoints, @CheckForNull V defaultValue);
    
      //
      // ValueGraph identity
      //
    
      /**
       * Returns {@code true} iff {@code object} is a {@link ValueGraph} that has the same elements and
       * the same structural relationships as those in this graph.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedBytes.java

       * unsigned.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
       * support only identity equality), but it is consistent with {@link
       * java.util.Arrays#equals(byte[], byte[])}.
       *
       * @since 2.0
       */
      public static Comparator<byte[]> lexicographicalComparator() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Predicates.java

        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof ContainsPatternPredicate) {
            ContainsPatternPredicate that = (ContainsPatternPredicate) obj;
    
            // Pattern uses Object (identity) equality, so we have to reach
            // inside to compare individual fields.
            return Objects.equal(pattern.pattern(), that.pattern.pattern())
                && pattern.flags() == that.pattern.flags();
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Converter.java

        }
      }
    
      /** Returns a serializable converter that always converts or reverses an object to itself. */
      @SuppressWarnings("unchecked") // implementation is "fully variant"
      public static <T> Converter<T, T> identity() {
        return (IdentityConverter<T>) IdentityConverter.INSTANCE;
      }
    
      /**
       * A converter that always converts or reverses an object to itself. Note that T is now a
       * "pass-through type".
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  6. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                          table.put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
                        }
                        return Tables.transformValues(table, Functions.<Character>identity()).cellSet();
                      }
                    })
                .named("TransformValues.cellSet")
                .withFeatures(
                    CollectionSize.ANY,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/DummyProxy.java

        @Override
        public int hashCode() {
          return identity().hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof DummyHandler) {
            DummyHandler that = (DummyHandler) obj;
            return identity().equals(that.identity());
          } else {
            return false;
          }
        }
    
        private DummyProxy identity() {
          return DummyProxy.this;
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

        @Override
        public int hashCode() {
          return identity().hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof DummyHandler) {
            DummyHandler that = (DummyHandler) obj;
            return identity().equals(that.identity());
          } else {
            return false;
          }
        }
    
        private DummyProxy identity() {
          return DummyProxy.this;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Equivalence.java

        private Object readResolve() {
          return INSTANCE;
        }
    
        private static final long serialVersionUID = 1;
      }
    
      static final class Identity extends Equivalence<Object> implements Serializable {
    
        static final Identity INSTANCE = new Identity();
    
        @Override
        protected boolean doEquivalent(Object a, Object b) {
          return false;
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Equivalence.java

        private Object readResolve() {
          return INSTANCE;
        }
    
        private static final long serialVersionUID = 1;
      }
    
      static final class Identity extends Equivalence<Object> implements Serializable {
    
        static final Identity INSTANCE = new Identity();
    
        @Override
        protected boolean doEquivalent(Object a, Object b) {
          return false;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top