Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 384 for reslist (0.1 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        assertEquals(HashMultiset.create(asList("a", "b", "a", "c")), multiset);
      }
    
      public void testBuilderAddAll() {
        List<String> a = asList("a", "b");
        List<String> b = asList("c", "d");
        ImmutableMultiset<String> multiset =
            new ImmutableMultiset.Builder<String>().addAll(a).addAll(b).build();
        assertEquals(HashMultiset.create(asList("a", "b", "c", "d")), multiset);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import java.util.Iterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedAsList.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Comparator;
    import java.util.Spliterator;
    import javax.annotation.CheckForNull;
    
    /**
     * List returned by {@code ImmutableSortedSet.asList()} when the set isn't empty.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("serial")
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

      public void testRemoveAtIndex_unsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getList().remove(0));
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
      public void testRemoveAtIndex_negative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().remove(-1));
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = "\"Fess,FESS\"";
            expected = Arrays.asList("\"Fess,FESS\"");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = " ";
            expected = Arrays.asList(" ");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertTrue(set.containsAll(asList("b")));
        assertTrue(set.containsAll(asList("b", "b")));
        assertTrue(set.containsAll(asList("b", "f")));
        assertTrue(set.containsAll(asList("b", "f", "a")));
        assertFalse(set.containsAll(asList("d")));
        assertFalse(set.containsAll(asList("z")));
        assertFalse(set.containsAll(asList("b", "d")));
        assertFalse(set.containsAll(asList("f", "d", "a")));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

            }
        }
    
        public void addExtractor(final List<String> keyList, final Extractor extractor) {
            if (keyList == null || keyList.isEmpty()) {
                throw new CrawlerSystemException("The key list is empty.");
            }
            for (final String key : keyList) {
                addExtractor(key, extractor);
            }
        }
    
        public Extractor getExtractor(final String key) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

                    Contributor.newBuilder().email("******@****.***").build();
    
            Model target =
                    Model.newBuilder().contributors(Arrays.asList(contributor)).build();
    
            Model source =
                    Model.newBuilder().contributors(Arrays.asList(contributor)).build();
    
            Model merged = mavenMerger.merge(target, source, true, null);
    
            assertThat(merged.getContributors(), contains(contributor));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/HashBiMap.java

      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int size = Serialization.readCount(stream);
        init(16); // resist hostile attempts to allocate gratuitous heap
        Serialization.populateMap(this, stream, size);
      }
    
      @GwtIncompatible // Not needed in emulated source
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        assertEquals(HashMultiset.create(asList("a", "b", "a", "c")), multiset);
      }
    
      public void testBuilderAddAll() {
        List<String> a = asList("a", "b");
        List<String> b = asList("c", "d");
        ImmutableSortedMultiset<String> multiset =
            ImmutableSortedMultiset.<String>naturalOrder().addAll(a).addAll(b).build();
        assertEquals(HashMultiset.create(asList("a", "b", "c", "d")), multiset);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top