Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Contact (0.14 sec)

  1. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

      }
    
      private MinimalSet(Class<? super @NonNull E> type, E... contents) {
        super(type, true, contents);
      }
    
      /*
       * equals() and hashCode() are more specific in the Set contract.
       */
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Set) {
          Set<?> that = (Set<?>) object;
          return (this.size() == that.size()) && this.containsAll(that);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

      }
    
      private MinimalSet(Class<? super @NonNull E> type, E... contents) {
        super(type, true, contents);
      }
    
      /*
       * equals() and hashCode() are more specific in the Set contract.
       */
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Set) {
          Set<?> that = (Set<?>) object;
          return (this.size() == that.size()) && this.containsAll(that);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Objects.java

       *       {@link Object#equals(Object)}.
       *   <li>{@code false} in all other situations.
       * </ul>
       *
       * <p>This assumes that any non-null objects passed to this function conform to the {@code
       * equals()} contract.
       *
       * <p><b>Java 7+ users:</b> This method should be treated as deprecated; use {@link
       * java.util.Objects#equals} instead.
       */
      public static boolean equal(@CheckForNull Object a, @CheckForNull Object b) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingSortedSet.java

     * natural ordering of the elements, if there is no comparator) to test element equality. As a
     * result, if the comparator is not consistent with equals, some of the standard implementations may
     * violate the {@code Set} contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Mike Bostock
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * elements, if there is no comparator) to test element equality. As a result, if the comparator is
     * not consistent with equals, some of the standard implementations may violate the {@code Set}
     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ReaderInputStream.java

      }
    
      // TODO(chrisn): Consider trying to encode/flush directly to the argument byte
      // buffer when possible.
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
        // Obey InputStream contract.
        checkPositionIndexes(off, off + len, b.length);
        if (len == 0) {
          return 0;
        }
    
        // The rest of this method implements the process described by the CharsetEncoder javadoc.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

        }
      }
    
      public void testNoNullValues() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          // Even though the contract in System.getProperties() specifies that a value will exist for
          // all of the listed keys, for some reason the "java.compiler" key returns null in some JVMs.
          if (property == JAVA_COMPILER) {
            continue;
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Objects.java

       *       {@link Object#equals(Object)}.
       *   <li>{@code false} in all other situations.
       * </ul>
       *
       * <p>This assumes that any non-null objects passed to this function conform to the {@code
       * equals()} contract.
       *
       * <p><b>Java 7+ users:</b> This method should be treated as deprecated; use {@link
       * java.util.Objects#equals} instead.
       */
      public static boolean equal(@CheckForNull Object a, @CheckForNull Object b) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractIterator.java

        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
      /**
       * Returns the next element in the iteration without advancing the iteration, according to the
       * contract of {@link PeekingIterator#peek()}.
       *
       * <p>Implementations of {@code AbstractIterator} that wish to expose this functionality should
       * implement {@code PeekingIterator}.
       */
      @ParametricNullness
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * elements, if there is no comparator) to test element equality. As a result, if the comparator is
     * not consistent with equals, some of the standard implementations may violate the {@code Set}
     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
Back to top