Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for returned (0.64 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        // already using Collections.newSetFromMap and ConcurrentHashMap.
        return Collections.newSetFromMap(new ConcurrentHashMap<E, Boolean>());
      }
    
      static <E> Set<E> newLinkedHashSetWithExpectedSize(int expectedSize) {
        return Sets.newLinkedHashSetWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred map implementation that preserves insertion order when used only
       * for insertions.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 29 18:16:45 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/Platform.java

     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class Platform {
      private Platform() {}
    
      /** Returns a thread-local 1024-char array. */
      static char[] charBufferFromThreadLocal() {
        // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get
        return requireNonNull(DEST_TL.get());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Platform.java

        return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
      }
    
      /** Returns the platform preferred implementation of a set based on a hash table. */
      static <E extends @Nullable Object> Set<E> newHashSetWithExpectedSize(int expectedSize) {
        return Sets.newHashSetWithExpectedSize(expectedSize);
      }
    
      /** Returns the platform preferred implementation of a thread-safe hash set. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Platform.java

        return CompactLinkedHashMap.createWithExpectedSize(expectedSize);
      }
    
      /** Returns the platform preferred implementation of a set based on a hash table. */
      static <E extends @Nullable Object> Set<E> newHashSetWithExpectedSize(int expectedSize) {
        return CompactHashSet.createWithExpectedSize(expectedSize);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Platform.java

       * @param string the string to test and possibly return
       * @return {@code string} if it is not null; {@code ""} otherwise
       */
      static String nullToEmpty(@CheckForNull String string) {
        return (string == null) ? "" : string;
      }
    
      /**
       * Returns the string if it is not empty, or a null string otherwise.
       *
       * @param string the string to test and possibly return
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Platform.java

       * @param string the string to test and possibly return
       * @return {@code string} if it is not null; {@code ""} otherwise
       */
      static String nullToEmpty(@CheckForNull String string) {
        return (string == null) ? "" : string;
      }
    
      /**
       * Returns the string if it is not empty, or a null string otherwise.
       *
       * @param string the string to test and possibly return
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

      @JsMethod
      static native boolean stringIsNullOrEmpty(@Nullable String string) /*-{
        return !string;
      }-*/;
    
      @JsMethod
      static native String nullToEmpty(@Nullable String string) /*-{
        return string || "";
      }-*/;
    
      @JsMethod
      static native String emptyToNull(@Nullable String string) /*-{
        return string || null;
      }-*/;
    
      static CommonPattern compilePattern(String pattern) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon May 27 13:56:56 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top