Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,625 for lists (0.05 sec)

  1. 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.ItemReporter;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.List;
    
    /**
     * Tester for {@link Equivalence} relationships between groups of objects.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/annotations/GwtCompatible.java

     *
     * <pre>
     * {@literal @}GwtCompatible
     * class Lists {
     *   ...
     *   {@literal @}GwtCompatible(serializable = true)
     *   {@literal static <E> List<E>} newArrayList(E... elements) {
     *     ...
     *   }
     * }
     * </pre>
     *
     * <p>The return value of {@code Lists.newArrayList(E[])} has GWT serializable type. It is also
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/StringCatcher.java

     */
    public class StringCatcher {
      private List<String> events = Lists.newArrayList();
    
      @Subscribe
      public void hereHaveAString(@Nullable String string) {
        events.add(string);
      }
    
      public void methodWithoutAnnotation(@Nullable String string) {
        Assert.fail("Event bus must not call methods without @Subscribe!");
      }
    
      public List<String> getEvents() {
        return events;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        return ImmutableSet.copyOf(elements);
      }
    
      public void testCreation_allDuplicates() {
        ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a"));
        assertTrue(set instanceof SingletonImmutableSet);
        assertEquals(Lists.newArrayList("a"), Lists.newArrayList(set));
      }
    
      public void testCreation_oneDuplicate() {
        // now we'll get the varargs overload
        ImmutableSet<String> set =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

      }
    
      private void testHasMapEntriesInOrder(Map<?, ?> map, Object... alternatingKeysAndValues) {
        List<? extends Entry<?, ?>> entries = Lists.newArrayList(map.entrySet());
        List<Object> keys = Lists.newArrayList(map.keySet());
        List<Object> values = Lists.newArrayList(map.values());
        assertEquals(2 * entries.size(), alternatingKeysAndValues.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. api/README

    Files in this directory are data for Go's API checker ("go tool api", in src/cmd/api).
    
    Each file is a list of API features, one per line.
    
    go1.txt (and similarly named files) are frozen once a version has been
    shipped. Each file adds new lines but does not remove any.
    
    except.txt lists features that may disappear without breaking true
    compatibility.
    
    Starting with go1.19.txt, each API feature line must end in "#nnnnn"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 31 19:22:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/HttpHeadersTest.java

    import com.google.common.base.Splitter;
    import com.google.common.collect.ImmutableBiMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Lists;
    import java.lang.reflect.Field;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Tests for the HttpHeaders class.
     *
     * @author Kurt Alfred Kluever
     */
    public class HttpHeadersTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

    import com.google.common.base.Splitter;
    import com.google.common.collect.ImmutableBiMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Lists;
    import java.lang.reflect.Field;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Tests for the HttpHeaders class.
     *
     * @author Kurt Alfred Kluever
     */
    public class HttpHeadersTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

    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 {
    
        public void test_byteCountToDisplaySize() {
            assertEquals("0bytes", MemoryUtil.byteCountToDisplaySize(0L));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Lists.charactersOf;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Ascii;
    import com.google.common.collect.testing.SpliteratorTester;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Spliterator;
    import java.util.stream.DoubleStream;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top