Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 342 for Singleton (0.06 sec)

  1. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * specified by the given {@code builder}. The returned {@link MapMakerInternalMap} will be
       * optimized to saved memory. Since {@link MapMaker.Dummy} is a singleton, we don't need to store
       * any values at all. Because of this optimization, {@code build.getValueStrength()} must be
       * {@link Strength#STRONG}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

          return new RegularImmutableSortedSet<>(ImmutableList.of(), comparator);
        }
      }
    
      /**
       * Returns the empty immutable sorted set.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked") // The natural-ordered empty set supports all types.
      public static <E> ImmutableSortedSet<E> of() {
        return (ImmutableSortedSet<E>) RegularImmutableSortedSet.NATURAL_EMPTY_SET;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMap.java

       * Collections#emptyMap}, and is preferable mainly for consistency and maintainability of your
       * code.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableMap<K, V> of() {
        return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMap.java

       * Collections#emptyMap}, and is preferable mainly for consistency and maintainability of your
       * code.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableMap<K, V> of() {
        return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

              ImmutableSortedSet.emptySet(comparator), ImmutableList.<V>of());
        }
      }
    
      /**
       * Returns the empty sorted map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      // unsafe, comparator() returns a comparator on the specified type
      // TODO(kevinb): evaluate whether or not of().comparator() should return null
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

              ImmutableSortedSet.emptySet(comparator), ImmutableList.<V>of());
        }
      }
    
      /**
       * Returns the empty sorted map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      // unsafe, comparator() returns a comparator on the specified type
      // TODO(kevinb): evaluate whether or not of().comparator() should return null
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

    `com.squareup.okhttp` package should upgrade to the `okhttp3` package. Libraries
    that depend on OkHttp should upgrade quickly to prevent applications from being
    stuck on the old version.
    
     *  **There is no longer a global singleton connection pool.** In OkHttp 2.x,
        all `OkHttpClient` instances shared a common connection pool by default.
        In OkHttp 3.x, each new `OkHttpClient` gets its own private connection pool.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

            @Override
            public Object waitForValue() {
              return null;
            }
    
            @Override
            public void notifyNewValue(Object newValue) {}
          };
    
      /** Singleton placeholder that indicates a value is being loaded. */
      @SuppressWarnings("unchecked") // impl never uses a parameter or returns any non-null value
      static <K, V> ValueReference<K, V> unset() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/core/v1/generated.proto

      // Time when this Event was first observed.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;
    
      // Data about the Event series this event represents or nil if it's a singleton Event.
      // +optional
      optional EventSeries series = 11;
    
      // What action was taken/failed regarding to the Regarding object.
      // +optional
      optional string action = 12;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Ordering.java

      public static <T> Ordering<T> explicit(T leastValue, T... remainingValuesInOrder) {
        return explicit(Lists.asList(leastValue, remainingValuesInOrder));
      }
    
      // Ordering<Object> singletons
    
      /**
       * Returns an ordering which treats all values as equal, indicating "no ordering." Passing this
       * ordering to any <i>stable</i> sort algorithm results in no change to the order of elements.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top