Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 446 for contained (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        boolean contained = false;
        if (actual instanceof Collection) {
          contained = ((Collection<?>) actual).contains(expected);
        } else {
          for (Object o : actual) {
            if (equal(o, expected)) {
              contained = true;
              break;
            }
          }
        }
    
        if (!contained) {
          fail("Not true that " + actual + " contains " + expected);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        boolean contained = false;
        if (actual instanceof Collection) {
          contained = ((Collection<?>) actual).contains(expected);
        } else {
          for (Object o : actual) {
            if (equal(o, expected)) {
              contained = true;
              break;
            }
          }
        }
    
        if (!contained) {
          fail("Not true that " + actual + " contains " + expected);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

    import jp.gr.java_conf.dangan.util.lha.LhaHeader;
    
    /**
     * Extractor implementation for LHA (LZH) archive files.
     * This extractor can extract text content from files within LHA archives
     * by using appropriate extractors for each contained file type.
     *
     * @author shinsuke
     */
    public class LhaExtractor extends AbstractExtractor {
        /** Logger for this class. */
        private static final Logger logger = LogManager.getLogger(LhaExtractor.class);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/ImmutableIntArray.java

      }
    
      /**
       * Returns {@code true} if {@code target} is present at any index in this array. Equivalent to
       * {@code asList().contains(target)}.
       */
      public boolean contains(int target) {
        return indexOf(target) >= 0;
      }
    
      /**
       * Invokes {@code consumer} for each value contained in this array, in order.
       *
       * @since 22.0 (but only since 33.4.0 in the Android flavor)
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      }
    
      /**
       * Returns {@code true} if {@code target} is present at any index in this array. Equivalent to
       * {@code asList().contains(target)}.
       */
      public boolean contains(long target) {
        return indexOf(target) >= 0;
      }
    
      /**
       * Invokes {@code consumer} for each value contained in this array, in order.
       *
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Returns {@code true} if {@code iterable} contains any element {@code o} for which {@code
       * Objects.equals(o, element)} would return {@code true}. Otherwise returns {@code false}, even in
       * cases where {@link Collection#contains} might throw {@link NullPointerException} or {@link
       * ClassCastException}.
       */
      public static boolean contains(Iterable<?> iterable, @Nullable Object element) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

     * limitations under the License.
     */
    
    /*
     * Portions of this file are modified versions of
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/AbstractExecutorServiceTest.java?revision=1.30
     * which contained the following notice:
     *
     * Written by Doug Lea with assistance from members of JCP JSR-166
     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * Returns true if the string contains the specified character.
         *
         * @param str
         *            the string to check
         * @param ch
         *            the character to find
         * @return true if the character is contained in the string, false otherwise
         */
        public static boolean contains(final String str, final char ch) {
            if (isEmpty(str)) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

     * limitations under the License.
     */
    
    /*
     * Portions of this file are modified versions of
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/AbstractExecutorServiceTest.java?revision=1.30
     * which contained the following notice:
     *
     * Written by Doug Lea with assistance from members of JCP JSR-166
     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayMap.java

        }
    
        /**
         * Returns the index for the specified value.
         *
         * @param value
         *            the value
         * @return the index for the value, or {@literal -1} if the value is not contained
         */
        public int indexOf(final Object value) {
            if (value != null) {
                for (int i = 0; i < size; i++) {
                    if (value.equals(listTable[i].value)) {
                        return i;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 20.1K bytes
    - Viewed (0)
Back to top