Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 672 for arrayTest (0.04 sec)

  1. android/guava-tests/test/com/google/common/eventbus/outside/DeepInterfaceTest.java

        final List<Object> annotatedIn1Events = new ArrayList<>();
        final List<Object> annotatedIn1And2Events = new ArrayList<>();
        final List<Object> annotatedIn1And2AndClassEvents = new ArrayList<>();
        final List<Object> declaredIn1AnnotatedIn2Events = new ArrayList<>();
        final List<Object> declaredIn1AnnotatedInClassEvents = new ArrayList<>();
        final List<Object> declaredIn2AnnotatedInClassEvents = new ArrayList<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

        assertTrue(
            "A List should equal any other List containing the same elements.",
            getList().equals(new ArrayList<E>(getOrderedElements())));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherListWithDifferentElements() {
        ArrayList<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, getSubjectGenerator().samples().e3());
        assertFalse(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

          expectUnchanged();
          // Be extra thorough in case internal state was corrupted by the expected null.
          assertEquals(new ArrayList<>(), new ArrayList<>(values));
          assertEquals(size, multimap().size());
        } else {
          assertEquals(newArrayList(v3()), new ArrayList<>(values));
          assertEquals(size + 1, multimap().size());
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesWithEmpty() {
        int size = multimap().size();
        List<V> oldValues = new ArrayList<>(multimap().get(k0()));
        List<V> values = emptyList();
        assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(k0(), values)));
        assertGet(k0());
        assertEquals(size - oldValues.size(), multimap().size());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ArrayListMultimap.java

       *     call, or switch to a {@code HashMap<K, ArrayList<V>>}.
       */
      @Deprecated
      public void trimToSize() {
        for (Collection<V> collection : backingMap().values()) {
          ArrayList<V> arrayList = (ArrayList<V>) collection;
          arrayList.trimToSize();
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java

    import java.util.ArrayList;
    import java.util.List;
    
    public class AnnotatedNotAbstractInSuperclassTest extends AbstractEventBusTest<SubClass> {
      static class SuperClass {
        final List<Object> notOverriddenInSubclassEvents = new ArrayList<>();
        final List<Object> overriddenNotAnnotatedInSubclassEvents = new ArrayList<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessNotification.java

        /**
         * Creates a new empty witness notification.
         */
        public WitnessNotification() {
            this.timestamp = System.currentTimeMillis();
            this.newIPAddresses = new ArrayList<>();
            this.oldIPAddresses = new ArrayList<>();
            this.flags = WITNESS_RESOURCE_STATE_UNKNOWN;
        }
    
        /**
         * Creates a new witness notification.
         *
         * @param eventType the type of event
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

      public void testForEachKnownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
        assertEquals(getOrderedElements(), entries);
      }
    
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testForEachUnknownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

      public void testForEachKnownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
        assertEquals(getOrderedElements(), entries);
      }
    
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testForEachUnknownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

        }
    
        private String index = null;
    
        private int size = 10;
    
        private final List<String> tags = new ArrayList<>();
    
        private final List<String> roles = new ArrayList<>();
    
        private final List<String> fields = new ArrayList<>();
    
        private final List<String> languages = new ArrayList<>();
    
        private String seed = String.valueOf(System.currentTimeMillis());
    
        private int windowSize = 20;
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top