Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 3,928 for myobject (0.07 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

                      public Map<Class, Impl> create(Object... elements) {
                        ImmutableClassToInstanceMap.Builder<Impl> builder =
                            ImmutableClassToInstanceMap.builder();
                        for (Object object : elements) {
                          Entry<?, ?> entry = (Entry<?, ?>) object;
                          builder.put((Class) entry.getKey(), (Impl) entry.getValue());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/CompactHashing.java

        return (prefix & ~mask) | (suffix & mask);
      }
    
      static int remove(
          @Nullable Object key,
          @Nullable Object value,
          int mask,
          Object table,
          int[] entries,
          @Nullable Object[] keys,
          @Nullable Object @Nullable [] values) {
        int hash = Hashing.smearedHash(key);
        int tableIndex = hash & mask;
        int next = tableGet(table, tableIndex);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

      }
    
      public void testAwaitClear() {
        WeakReference<Object> ref = new WeakReference<>(new Object());
        GcFinalization.awaitClear(ref);
        assertThat(ref.get()).isNull();
      }
    
      public void testAwaitDone_finalizationPredicate() {
        WeakHashMap<Object, Object> map = new WeakHashMap<>();
        map.put(new Object(), Boolean.TRUE);
        GcFinalization.awaitDone(
            new FinalizationPredicate() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 17:02:07 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Platform.java

      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return Maps.newHashMapWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered map based on a hash
       * table.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. cmd/bucket-handlers_test.go

    		}
    
    		// object used for the test.
    		objectNames = append(objectNames, objectName)
    	}
    
    	contentBytes := []byte("hello")
    	for _, name := range []string{"private/object", "public/object"} {
    		// Uploading the object with retention enabled
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/FilteredKeyMultimap.java

    /**
     * Implementation of {@link Multimaps#filterKeys(Multimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    class FilteredKeyMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimap<K, V> implements FilteredMultimap<K, V> {
      final Multimap<K, V> unfiltered;
      final Predicate<? super K> keyPredicate;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/SortedLists.java

       *
       * <p>Equivalent to {@link #binarySearch(List, Object, Comparator, KeyPresentBehavior,
       * KeyAbsentBehavior)} using {@link Lists#transform(List, Function) Lists.transform(list,
       * keyFunction)}.
       */
      public static <E extends @Nullable Object, K extends @Nullable Object> int binarySearch(
          List<E> list,
          Function<? super E, K> keyFunction,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/eventbus/Subscriber.java

      static Subscriber create(EventBus bus, Object listener, Method method) {
        return isDeclaredThreadSafe(method)
            ? new Subscriber(bus, listener, method)
            : new SynchronizedSubscriber(bus, listener, method);
      }
    
      /** The event bus this subscriber belongs to. */
      @Weak private final EventBus bus;
    
      /** The object with the subscriber method. */
      @VisibleForTesting final Object target;
    
      /** Subscriber method. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableMapKeySet.java

      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return map.containsKey(object);
      }
    
      @Override
      K get(int index) {
        return map.entrySet().asList().get(index).getKey();
      }
    
      @Override
      boolean isPartialView() {
        return true;
      }
    
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
        return new KeySetSerializedForm<K>(map);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

          standardClear();
        }
    
        @Override
        public boolean contains(Object object) {
          return standardContains(object);
        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return standardContainsAll(collection);
        }
    
        @Override
        public boolean remove(Object object) {
          return standardRemove(object);
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 4.8K bytes
    - Click Count (1)
Back to Top