Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 2,832 for contains (0.06 seconds)

  1. android/guava/src/com/google/common/collect/Multiset.java

      /**
       * Determines whether this multiset contains the specified element.
       *
       * <p>This method refines {@link Collection#contains} to further specify that it <b>may not</b>
       * throw an exception in response to {@code element} being null or of the wrong type.
       *
       * @param element the element to check for
       * @return {@code true} if this multiset contains at least one occurrence of the element
       */
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Table.java

      /**
       * Returns {@code true} if the table contains a mapping with the specified row and column keys.
       *
       * @param rowKey key of row to search for
       * @param columnKey key of column to search for
       */
      boolean contains(
          @CompatibleWith("R") @Nullable Object rowKey,
          @CompatibleWith("C") @Nullable Object columnKey);
    
      /**
       * Returns {@code true} if the table contains a mapping with the specified row key.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Multimap.java

       */
      int size();
    
      /**
       * Returns {@code true} if this multimap contains no key-value pairs. Equivalent to {@code size()
       * == 0}, but can in some cases be more efficient.
       */
      boolean isEmpty();
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code
       * key}.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 15K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

                () -> MathPreconditions.checkInRangeForRoundingInputs(false, 1.0, RoundingMode.UP));
        // b/38490623: The string contains "1.0" under most environment but just "1" under J2CL.
        assertThat(expected).hasMessageThat().contains("1");
        assertThat(expected).hasMessageThat().contains("UP");
      }
    
      public void testCheckNoOverflow_success() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Multiset.java

      /**
       * Determines whether this multiset contains the specified element.
       *
       * <p>This method refines {@link Collection#contains} to further specify that it <b>may not</b>
       * throw an exception in response to {@code element} being null or of the wrong type.
       *
       * @param element the element to check for
       * @return {@code true} if this multiset contains at least one occurrence of the element
       */
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Sets.java

                  E e = itr2.next();
                  if (!set1.contains(e)) {
                    return e;
                  }
                }
                return endOfData();
              }
            };
          }
    
          @Override
          public boolean contains(@Nullable Object object) {
            return set1.contains(object) || set2.contains(object);
          }
    
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

            });
            assertTrue(e.getMessage().contains("PAC"));
        }
    
        // Test exception for short PAC
        @Test
        void testConstructorShortPac() {
            byte[] shortToken = new byte[7];
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> {
                new KerberosPacAuthData(shortToken, keys);
            });
            assertTrue(e.getMessage().contains("PAC"));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/MoreCollectorsTest.java

        assertThat(expected).hasMessageThat().contains("1, 2");
      }
    
      public void testOnlyElementMany() {
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
                () -> Stream.of(1, 2, 3, 4, 5, 6).collect(onlyElement()));
        assertThat(expected).hasMessageThat().contains("1, 2, 3, 4, 5, ...");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu May 15 21:47:56 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            String queryString = boolQuery.toString();
            assertTrue(queryString.contains("role1"));
            assertTrue(queryString.contains("role2"));
            assertTrue(queryString.contains("filter"));
        }
    
        @Test
        public void test_createFieldSortBuilder_normalField() {
            // Using reflection to test protected method
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 53.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

           */
          info.getName().contains("TypeResolverTest")
              /*
               * And at least one of the classes inside TypeTokenTest ends up with a null value in
               * TypeMappingIntrospector.mappings. That happens only under older JDKs, too, so it may
               * well be a JDK bug.
               */
              || info.getName().contains("TypeTokenTest")
              /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 03:07:54 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top