Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,649 for Contains (0.07 sec)

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

              assertEquals(
                  contents.contains(toRemove) && EVEN.apply(toRemove),
                  filter(createUnfiltered(contents), EVEN).remove(toRemove));
            }
          }
        }
    
        public void testContains() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int i = 0; i < 10; i++) {
              assertEquals(
                  EVEN.apply(i) && contents.contains(i),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsWordExtractorTest.java

            final String content = msWordExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_null() {
            try {
                msWordExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractorTest.java

            final String content = zipExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
            assertTrue(content.contains("テキスト"));
        }
    
        public void test_getText_maxSize() throws IOException {
            try (final InputStream in = ResourceUtil.getResourceAsStream("extractor/zip/test.zip")) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractMultimap.java

        for (Collection<V> collection : asMap().values()) {
          if (collection.contains(value)) {
            return true;
          }
        }
    
        return false;
      }
    
      @Override
      public boolean containsEntry(@CheckForNull Object key, @CheckForNull Object value) {
        Collection<V> collection = asMap().get(key);
        return collection != null && collection.contains(value);
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                                                    + " JAR (about to be installed/deployed) contains Maven Plugin metadata for"
                                                    + " conflicting coordinates: {}:{}."
                                                    + " Your JAR contains rogue Maven Plugin metadata."
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

      }
    
      @Override
      public int count(@CheckForNull Object element) {
        try {
          @SuppressWarnings("unchecked")
          E e = (E) element;
          AvlNode<E> root = rootReference.get();
          if (!range.contains(e) || root == null) {
            return 0;
          }
          return root.count(comparator(), e);
        } catch (ClassCastException | NullPointerException e) {
          return 0;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertEquals(map.keySet(), multimapView.keys().elementSet());
        assertThat(multimapView.keys()).contains("foo");
        assertThat(multimapView.values()).contains(1);
        assertThat(multimapView.entries()).contains(Maps.immutableEntry("foo", 1));
        assertThat(multimapView.asMap().entrySet())
            .contains(Maps.immutableEntry("foo", (Collection<Integer>) singleton(1)));
        multimapView.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return Iterators.unmodifiableIterator(delegateList().iterator());
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return object != null && delegateList().contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> targets) {
        return delegateList().containsAll(targets);
      }
    
      public int size() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) {
        super(Ordering.from(forward.comparator()).reverse());
        this.forward = forward;
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return forward.contains(object);
      }
    
      @Override
      public int size() {
        return forward.size();
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/TestInputStream.java

        throwIf(closed);
        return options.contains(TestOption.AVAILABLE_ALWAYS_ZERO) ? 0 : in.available();
      }
    
      @Override
      public void close() throws IOException {
        closed = true;
        throwIf(CLOSE_THROWS);
        in.close();
      }
    
      private void throwIf(TestOption option) throws IOException {
        throwIf(options.contains(option));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
Back to top