Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for enim (0.2 sec)

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

         * is referenced somewhere for as long as the enum class is loaded. *Maybe in theory* the enum
         * class could be unloaded after the above call to `getEnumConstants` but before we call
         * `get()`, but that is vanishingly unlikely.
         */
        return ref == null ? Optional.absent() : Optional.fromNullable(enumClass.cast(ref.get()));
      }
    
      static String formatCompact4Digits(double value) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Platform.java

       * that reclamation becomes important.
       */
      @J2ktIncompatible
      static MapMaker tryWeakKeys(MapMaker mapMaker) {
        return mapMaker.weakKeys();
      }
    
      static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) {
        return e.getDeclaringClass();
      }
    
      static int reduceIterationsIfGwt(int iterations) {
        return iterations;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Platform.java

      private Platform() {}
    
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        return matcher.precomputedInternal();
      }
    
      static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) {
        WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value);
        return ref == null ? Optional.<T>absent() : Optional.of(enumClass.cast(ref.get()));
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 17:58:45 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

       * we're not calling it from JavaScript, we suppress the warning.
       */
      @JsMethod
      @SuppressWarnings("unusable-by-js")
      private static native <E extends Enum<E>> @Nullable Class<E> getDeclaringClassOrNullForJ2cl(
          E e) /*-{
        return ******@****.***.Enum::getDeclaringClass()();
      }-*/;
    
      static int reduceIterationsIfGwt(int iterations) {
        return iterations / 10;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
Back to top