Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 986 for lists (0.02 sec)

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

        }
    
        @Override
        protected Collection<List<E>> delegate() {
          return delegate;
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          if (!(object instanceof List)) {
            return false;
          }
          List<?> list = (List<?>) object;
          if (list.size() != axes.size()) {
            return false;
          }
          int i = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

            .testForwarding(
                List.class,
                new Function<List, List>() {
                  @Override
                  public List apply(List delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        List<String> list1 = ImmutableList.of("one");
        List<String> list2 = ImmutableList.of("two");
        new EqualsTester()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/package-info.java

     * limitations under the License.
     */
    
    /**
     * An API for representing graph (node and edge) data. It is analogous to the Java Collections
     * Framework APIs for lists, maps, sets, etc.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     */
    @CheckReturnValue
    @NullMarked
    package com.google.common.graph;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

        return Iterables.transform(
            cartesianProduct,
            new Function<List<Optional<?>>, List<Object>>() {
              @Override
              public List<Object> apply(List<Optional<?>> objs) {
                return Lists.transform(objs, OPTIONAL_TO_NULLABLE);
              }
            });
      }
    
      private CacheBuilder<Object, Object> createCacheBuilder(
          @Nullable Integer concurrencyLevel,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/SuppliersTest.java

              public ArrayList<Integer> get() {
                return Lists.newArrayList(0);
              }
            };
    
        Function<List<Integer>, List<Integer>> addElementFunction =
            new Function<List<Integer>, List<Integer>>() {
              @Override
              public List<Integer> apply(List<Integer> list) {
                ArrayList<Integer> result = new ArrayList<>(list);
                result.add(1);
                return result;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

          assertEquals(expectedSpan, span);
        } catch (NoSuchElementException e) {
          assertNull(expectedSpan);
        }
    
        // test that asDescendingSetOfRanges is the reverse of asRanges
        assertEquals(Lists.reverse(asRanges), ImmutableList.copyOf(rangeSet.asDescendingSetOfRanges()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClusterException.java

     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   for (ThingToRun thingToRun : thingsToRun) {
     *     thingToRun.run(); // say this may throw an exception, but you want to
     *                       // always run all thingsToRun
     *   }
     * }
     * </pre>
     *
     * <p>This is what the code would become:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

    import com.google.common.base.Equivalence;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import com.google.common.testing.RelationshipTester.Item;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tester for {@link Equivalence} relationships between groups of objects.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

    import java.util.Arrays;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.commons.io.FileUtils;
    import org.codelibs.core.collection.Maps;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.sai.internal.ir.debug.ObjectSizeCalculator;
    
    import com.google.common.collect.Lists;
    
    public class MemoryUtilTest extends UnitFessTestCase {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top