Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for equivalent (0.15 sec)

  1. android/guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method is equivalent to Java 8's
       * {@code Optional.ofNullable}.
       */
      public static <T> Optional<T> fromNullable(@CheckForNull T nullableReference) {
        return (nullableReference == null) ? Optional.<T>absent() : new Present<T>(nullableReference);
      }
    
      /**
       * Returns the equivalent {@code com.google.common.base.Optional} value to the given {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      protected void initMapWithNullKey() {
        resetMap(createArrayWithNullKey());
      }
    
      protected void initMapWithNullValue() {
        resetMap(createArrayWithNullValue());
      }
    
      /**
       * Equivalent to {@link #expectMissingKeys(Object[]) expectMissingKeys} {@code (null)} except that
       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by their natural ordering.
       * When multiple elements are equivalent according to {@link Comparable#compareTo}, only the first
       * one specified is included.
       *
       * @throws NullPointerException if any element is null
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Ordering.java

       * implicit).
       */
      protected Ordering() {}
    
      // Instance-based factories (and any static equivalents)
    
      /**
       * Returns the reverse of this ordering; the {@code Ordering} equivalent to {@link
       * Collections#reverseOrder(Comparator)}.
       *
       * <p><b>Java 8+ users:</b> Use {@code thisComparator.reversed()} instead.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java

         *
         * @return The global settings file or {@code null} if none.
         */
        File getGlobalSettingsFile();
    
        /**
         * Sets the global settings file. A non-existent settings file is equivalent to empty settings. If both user
         * settings and global settings are given, the user settings take precedence.
         *
         * @param globalSettingsFile The global settings file, may be {@code null} to disable global settings.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Streams.java

       * stream is empty.
       *
       * <p>Equivalent to {@code stream.reduce((a, b) -> b)}, but may perform significantly better. This
       * method's runtime will be between O(log n) and O(n), performing better on <a
       * href="http://gee.cs.oswego.edu/dl/html/StreamParallelGuidance.html">efficiently splittable</a>
       * streams.
       *
       * <p>If the stream has nondeterministic order, this has equivalent semantics to {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

       * implicit).
       */
      protected Ordering() {}
    
      // Instance-based factories (and any static equivalents)
    
      /**
       * Returns the reverse of this ordering; the {@code Ordering} equivalent to {@link
       * Collections#reverseOrder(Comparator)}.
       *
       * <p><b>Java 8+ users:</b> Use {@code thisComparator.reversed()} instead.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Ints.java

       * that of {@code ((Integer) a).compareTo(b)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
       * equivalent {@link Integer#compare} method instead.
       *
       * @param a the first {@code int} to compare
       * @param b the second {@code int} to compare
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSink.java

        }
      }
    
      /**
       * Writes the given lines of text to this sink with each line (including the last) terminated with
       * the operating system's default line separator. This method is equivalent to {@code
       * writeLines(lines, System.getProperty("line.separator"))}.
       *
       * @throws IOException if an I/O error occurs while writing to this sink
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by their natural ordering.
       * When multiple elements are equivalent according to {@link Comparable#compareTo}, only the first
       * one specified is included.
       *
       * @throws NullPointerException if any element is null
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top