Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for Center (0.37 sec)

  1. android/guava/src/com/google/common/math/Quantiles.java

       * value returned by this method is the {@code i} in that range such that {@code allRequired[i]}
       * is as close as possible to the center of the range [{@code from}, {@code to}]. Choosing the
       * value closest to the center of the range first is the most efficient strategy because it
       * minimizes the size of the subranges from which the remaining selections must be done.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       *
       * @return the number of elements in this queue
       */
      @CanIgnoreReturnValue
      @Override
      public int size() {
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          return count;
        } finally {
          monitor.leave();
        }
      }
    
      // this doc comment is a modified copy of the inherited doc comment,
      // without the reference to unlimited queues.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

       * methods that do not take an explicit timeout value, a single test case is generated only if the
       * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
       * treated like enter(MAX, MILLIS) and tryEnter() is treated like enter(0, MILLIS).
       */
      private static void addTests(
          TestSuite suite,
          Method method,
          Scenario scenario,
          TimeoutsToUse timeoutsToUse,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InternetDomainName.java

     * one can get a better result, as only a few registry suffixes are addressable. However, the most
     * useful test to determine if a domain is a plausible web host is {@link #hasPublicSuffix()}. This
     * will return {@code true} for many domains which (currently) are not hosts, such as {@code "com"},
     * but given that any public suffix may become a host without warning, it is better to err on the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CharMatcher.java

      /**
       * Determines whether a character is a BMP letter according to {@linkplain
       * Character#isLetter(char) Java's definition}. If you only care to match letters of the Latin
       * alphabet, you can use {@code inRange('a', 'z').or(inRange('A', 'Z'))}.
       *
       * @deprecated Most letters are supplementary characters; see the class documentation.
       * @since 19.0 (since 1.0 as constant {@code JAVA_LETTER})
       */
      @Deprecated
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       *
       * @throws IllegalStateException if the service is not {@link State#STARTING}.
       */
      protected final void notifyStarted() {
        monitor.enter();
        try {
          // We have to examine the internal state of the snapshot here to properly handle the stop
          // while starting case.
          if (snapshot.state != STARTING) {
            IllegalStateException failure =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/EnumHashBiMap.java

      @CheckForNull
      public V put(K key, @ParametricNullness V value) {
        return super.put(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      @SuppressWarnings("RedundantOverride") // b/192446478: RedundantOverride ignores some annotations.
      // TODO(b/192446998): Remove this override after tools understand nullness better.
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       * static final ListMultimap<Character, String> FIRST_LETTER_MULTIMAP;
       *
       * static {
       *     FIRST_LETTER_MULTIMAP = MultimapBuilder.treeKeys().arrayListValues().build();
       *     FIRST_LETTER_MULTIMAP.put('b', "anana");
       *     FIRST_LETTER_MULTIMAP.put('a', "pple");
       *     FIRST_LETTER_MULTIMAP.put('a', "sparagus");
       *     FIRST_LETTER_MULTIMAP.put('c', "arrot");
       *     FIRST_LETTER_MULTIMAP.put('c', "herry");
       * }
       * }</pre>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 86.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Interners.java

       * interned, thus preventing these instances from being garbage-collected. If this retention is
       * acceptable, this implementation may perform better than {@link #newWeakInterner}.
       */
      public static <E> Interner<E> newStrongInterner() {
        return newBuilder().strong().build();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (1)
  10. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            the time to discuss them in detail will make it much clearer why this feature should be
            added to Guava.
    
    
            Please fill out the following fields to give us a better understanding of your proposed
            feature and its potential value for other Guava users.
    
      - type: textarea
        attributes:
          label: 1. What are you trying to do?
        validations:
          required: true
    
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top