Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 582 for ArrayList (0.07 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

        public void resolve(final RESPONSE r) {
            final ArrayList<Consumer<RESPONSE>> executeCallbacks;
            synchronized (Deferred.this) {
                if (response != null || error != null) {
                    return;
                }
                response = r;
    
                executeCallbacks = new ArrayList<>(doneCallbacks.size());
                Consumer<RESPONSE> callback;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                    crawlingInfoHelper.generateId(dataMap));
    
            final List<String> browserTypeList = new ArrayList<String>();
            dataMap.put("type", browserTypeList);
            final List<String> roleTypeList = new ArrayList<String>();
            dataMap.put("role", roleTypeList);
    
            assertEquals(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. 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 Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        @Override
        public List<Proxy> getProxies() {
            if (proxies == null) {
                proxies = new ArrayList<>();
            }
            return proxies;
        }
    
        @Override
        public MavenExecutionRequest setProxies(List<Proxy> proxies) {
            if (proxies != null) {
                this.proxies = new ArrayList<>(proxies);
            } else {
                this.proxies = null;
            }
    
            return this;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

        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> kinds = new ArrayList<>();
    
        private final List<String> languages = new ArrayList<>();
    
        private boolean suggestDetail = true;
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Lists.java

      }
    
      /**
       * Creates an {@code ArrayList} instance backed by an array with the specified initial size;
       * simply delegates to {@link ArrayList#ArrayList(int)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use {@code new }{@link ArrayList#ArrayList(int) ArrayList}{@code <>(int)} directly, taking
       * advantage of <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top