Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,848 for instance (0.22 sec)

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

     *
     * @author Jared Levy
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    class EmptyImmutableListMultimap extends ImmutableListMultimap<Object, Object> {
      static final EmptyImmutableListMultimap INSTANCE = new EmptyImmutableListMultimap();
    
      private EmptyImmutableListMultimap() {
        super(ImmutableMap.<Object, ImmutableList<Object>>of(), 0);
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 18 16:48:17 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AllEqualOrdering.java

     *
     * @author Emily Soldal
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable {
      static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
    
      @Override
      @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
      public int compare(@CheckForNull Object left, @CheckForNull Object right) {
        return 0;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

     *
     * @author Jared Levy
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    class EmptyImmutableListMultimap extends ImmutableListMultimap<Object, Object> {
      static final EmptyImmutableListMultimap INSTANCE = new EmptyImmutableListMultimap();
    
      private EmptyImmutableListMultimap() {
        super(ImmutableMap.<Object, ImmutableList<Object>>of(), 0);
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 18 16:48:17 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapDifference.java

      /**
       * Compares the specified object with this instance for equality. Returns {@code true} if the
       * given object is also a {@code MapDifference} and the values returned by the {@link
       * #entriesOnlyOnLeft()}, {@link #entriesOnlyOnRight()}, {@link #entriesInCommon()} and {@link
       * #entriesDiffering()} of the two instances are equal.
       */
      @Override
      boolean equals(@CheckForNull Object object);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 04 13:28:27 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactLinkedHashSet.java

      /** Creates an empty {@code CompactLinkedHashSet} instance. */
      public static <E extends @Nullable Object> CompactLinkedHashSet<E> create() {
        return new CompactLinkedHashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code CompactLinkedHashSet} instance containing the elements of the
       * given collection in the order returned by the collection's iterator.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/HostAndPort.java

        this.host = host;
        this.port = port;
        this.hasBracketlessColons = hasBracketlessColons;
      }
    
      /**
       * Returns the portion of this {@code HostAndPort} instance that should represent the hostname or
       * IPv4/IPv6 literal.
       *
       * <p>A successful parse does not imply any degree of sanity in this field. For additional
       * validation, see the {@link HostSpecifier} class.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashSet.java

      // TODO(user): cache all field accesses in local vars
    
      /** Creates an empty {@code CompactHashSet} instance. */
      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code CompactHashSet} instance containing the elements of the given
       * collection in unspecified order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

      public static <V extends @Nullable Object> ListenableFuture<V> immediateCancelledFuture() {
        ListenableFuture<Object> instance = ImmediateCancelledFuture.INSTANCE;
        if (instance != null) {
          return (ListenableFuture<V>) instance;
        }
        return new ImmediateCancelledFuture<>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CharStreams.java

       * Returns a {@link Writer} that simply discards written chars.
       *
       * @since 15.0
       */
      public static Writer nullWriter() {
        return NullWriter.INSTANCE;
      }
    
      private static final class NullWriter extends Writer {
    
        private static final NullWriter INSTANCE = new NullWriter();
    
        @Override
        public void write(int c) {}
    
        @Override
        public void write(char[] cbuf) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  10. internal/cachevalue/cache.go

    	val          atomic.Pointer[T]
    	lastUpdateMs atomic.Int64
    	updating     sync.Mutex
    }
    
    // New allocates a new cached value instance. Tt must be initialized with
    // `.TnitOnce`.
    func New[T any]() *Cache[T] {
    	return &Cache[T]{}
    }
    
    // NewFromFunc allocates a new cached value instance and initializes it with an
    // update function, making it ready for use.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top