Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for connected (0.14 sec)

  1. guava/src/com/google/common/cache/CacheBuilder.java

       *
       * <p>Weak values will be garbage collected once they are weakly reachable. This makes them a poor
       * candidate for caching; consider {@link #softValues} instead.
       *
       * <p><b>Note:</b> when this method is used, the resulting cache will use identity ({@code ==})
       * comparison to determine equality of values.
       *
       * <p>Entries with values that have been garbage collected may be counted in {@link Cache#size},
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

       *
       * <p><b>Warning:</b> please see {@link Integer#decode} to understand exactly how strings are
       * parsed. For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the
       * value {@code 83}.
       *
       * @since 16.0
       */
      public static Converter<String, Integer> stringConverter() {
        return IntConverter.INSTANCE;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

                IllegalArgumentException.class,
                () ->
                    InetAddresses.fromIPv4BigInteger(BigInteger.ONE.shiftLeft(32).add(BigInteger.ONE)));
        assertEquals(
            "BigInteger cannot be converted to InetAddress because it has more than 4 bytes:"
                + " 4294967297",
            expected.getMessage());
      }
    
      public void testFromIpv6BigIntegerInputTooLarge() {
        IllegalArgumentException expected =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheTesting.java

        }
        throw new IllegalArgumentException(
            "Cache of type " + cache.getClass() + " doesn't have a LocalCache.");
      }
    
      /**
       * Determines whether the given cache can be converted to a LocalCache by {@link #toLocalCache}
       * without throwing an exception.
       */
      static boolean hasLocalCache(Cache<?, ?> cache) {
        return (checkNotNull(cache) instanceof LocalLoadingCache);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Chars.java

       * Calling this method is as thread-safe as calling that method.
       *
       * @param collection a collection of {@code Character} objects
       * @return an array containing the same values as {@code collection}, in the same order, converted
       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       */
      public static char[] toArray(Collection<Character> collection) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

        }
        return new Maps.UnmodifiableEntries<>(Collections.unmodifiableCollection(entries));
      }
    
      /**
       * Returns {@link ListMultimap#asMap multimap.asMap()}, with its type corrected from {@code Map<K,
       * Collection<V>>} to {@code Map<K, List<V>>}.
       *
       * @since 15.0
       */
      @SuppressWarnings("unchecked")
      // safe by specification of ListMultimap.asMap()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/internal/Finalizer.java

     * loader. That way, this class doesn't prevent the main class loader from getting garbage
     * collected, and this class can detect when the main class loader has been garbage collected and
     * stop itself.
     */
    // no @ElementTypesAreNonNullByDefault for the reasons discussed above
    public class Finalizer implements Runnable {
    
      private static final Logger logger = Logger.getLogger(Finalizer.class.getName());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

         *     {@code key} parameter. That way, we prevent the key from being garbage collected in the
         *     case of weak keys. If we create a new entry with a key that is null at construction time,
         *     we're not sure if entry will necessarily ever be garbage collected.
         * @param newNext entry in the same bucket
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/Stats.java

          return NaN;
        }
        return ensureNonNegative(sumOfSquaresOfDeltas) / (count - 1);
      }
    
      /**
       * Returns the <a
       * href="http://en.wikipedia.org/wiki/Standard_deviation#Corrected_sample_standard_deviation">
       * corrected sample standard deviation</a> of the values. If this dataset is a sample drawn from a
       * population, this is an estimator of the population standard deviation of the population which
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 22K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Converter.java

      /**
       * Returns a representation of {@code a} as an instance of type {@code B}. If {@code a} cannot be
       * converted, an unchecked exception (such as {@link IllegalArgumentException}) should be thrown.
       *
       * @param a the instance to convert; will never be null
       * @return the converted instance; <b>must not</b> be null
       */
      @ForOverride
      protected abstract B doForward(A a);
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
Back to top