Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,625 for lists (0.04 sec)

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

        }
    
        @Override
        protected Collection<List<E>> delegate() {
          return delegate;
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          if (!(object instanceof List)) {
            return false;
          }
          List<?> list = (List<?>) object;
          if (list.size() != axes.size()) {
            return false;
          }
          int i = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return generateList(freshElement);
      }
    
      @Generates
      static <E> List<E> generateList(@Nullable E freshElement) {
        return generateArrayList(freshElement);
      }
    
      @Generates
      static <E> ArrayList<E> generateArrayList(@Nullable E freshElement) {
        ArrayList<E> list = Lists.newArrayList();
        list.add(freshElement);
        return list;
      }
    
      @Generates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. cmd/metacache-manager.go

    	trash:   make(map[string]metacache),
    }
    
    type metacacheManager struct {
    	mu      sync.RWMutex
    	init    sync.Once
    	buckets map[string]*bucketMetacache
    	trash   map[string]metacache // Recently deleted lists.
    }
    
    const metacacheMaxEntries = 5000
    
    // initManager will start async saving the cache.
    func (m *metacacheManager) initManager() {
    	// Add a transient bucket.
    	// Start saver when object layer is ready.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                    @SuppressWarnings("unchecked")
                    // we dangerously assume E is a string
                    List<E> extremeValues = (List<E>) getExtremeValues();
                    @SuppressWarnings("unchecked")
                    // map generators must past entry objects
                    List<E> normalValues = (List<E>) asList(entries);
    
                    // prepare extreme values to be filtered out of view
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

       * the time this method is called.
       */
      Iterator<Subscriber> getSubscribers(Object event) {
        ImmutableSet<Class<?>> eventTypes = flattenHierarchy(event.getClass());
    
        List<Iterator<Subscriber>> subscriberIterators =
            Lists.newArrayListWithCapacity(eventTypes.size());
    
        for (Class<?> eventType : eventTypes) {
          CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        abstract Map<String, String> wrap(HashMap<String, String> map);
      }
    
      private static TestSuite wrappedHashMapTests(
          WrappedHashMapGenerator generator, String name, Feature<?>... features) {
        List<Feature<?>> featuresList = Lists.newArrayList(features);
        Collections.addAll(
            featuresList,
            MapFeature.GENERAL_PURPOSE,
            CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
            CollectionSize.ANY);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

                            new SafeTreeSet<String>(asList(elements)));
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Lists.newArrayList(Sets.newTreeSet(insertionOrder));
                      }
                    })
                .named("ForwardingSortedSet[SafeTreeSet] with standard implementations")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

          @Override
          protected Multiset<String> create(String[] elements) {
            return LinkedHashMultiset.create(asList(elements));
          }
    
          @Override
          public List<String> order(List<String> insertionOrder) {
            List<String> order = Lists.newArrayList();
            for (String s : insertionOrder) {
              int index = order.indexOf(s);
              if (index == -1) {
                order.add(s);
              } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

    import com.google.common.collect.LinkedHashMultiset;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multiset;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

          @Override
          protected Multiset<String> create(String[] elements) {
            return LinkedHashMultiset.create(asList(elements));
          }
    
          @Override
          public List<String> order(List<String> insertionOrder) {
            List<String> order = Lists.newArrayList();
            for (String s : insertionOrder) {
              int index = order.indexOf(s);
              if (index == -1) {
                order.add(s);
              } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top