Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 2,052 for contains (0.06 sec)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testContains() {
        assertThat(Ints.contains(EMPTY, (int) 1)).isFalse();
        assertThat(Ints.contains(ARRAY1, (int) 2)).isFalse();
        assertThat(Ints.contains(ARRAY234, (int) 1)).isFalse();
        assertThat(Ints.contains(new int[] {(int) -1}, (int) -1)).isTrue();
        assertThat(Ints.contains(ARRAY234, (int) 2)).isTrue();
        assertThat(Ints.contains(ARRAY234, (int) 3)).isTrue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeRangeMap.java

          this(Range.create(lowerBound, upperBound), value);
        }
    
        RangeMapEntry(Range<K> range, V value) {
          super(range, value);
        }
    
        boolean contains(K value) {
          return getKey().contains(value);
        }
    
        Cut<K> getLowerBound() {
          return getKey().lowerBound;
        }
    
        Cut<K> getUpperBound() {
          return getKey().upperBound;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SIDTest.java

                String bad = "S-1"; // fewer than 3 tokens
    
                // Act + Assert
                SmbException ex = assertThrows(SmbException.class, () -> new SID(bad));
                assertTrue(ex.getMessage().contains("Bad textual SID format"));
            }
    
            @Test
            @DisplayName("Textual constructor null throws NullPointerException")
            void testTextualConstructorNull() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

            // Given
            SpnegoException ex = new SpnegoException("hello");
    
            // When
            String s = ex.toString();
    
            // Then
            assertTrue(s.contains("jcifs.spnego.SpnegoException"));
            assertTrue(s.contains("hello"));
        }
    
        @Test
        @DisplayName("Should serialize and deserialize preserving message and cause")
        void testJavaSerialization() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java

         */
        /**
         * Checks if the rule manager contains the specified rule.
         * @param rule the rule to check for
         * @return true if the rule is present, false otherwise
         */
        @Override
        public boolean hasRule(final Rule rule) {
            return ruleList.contains(rule);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

      }
    
      @Override
      public int count(@Nullable 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IterablesTest.java

        assertTrue(Iterables.contains(set, null));
      }
    
      public void test_contains_null_set_no() {
        Iterable<String> set = newHashSet("a", "b");
        assertFalse(Iterables.contains(set, null));
      }
    
      public void test_contains_null_iterable_yes() {
        Iterable<@Nullable String> set = iterable("a", null, "b");
        assertTrue(Iterables.contains(set, null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

            String toString = provider.toString();
            assertNotNull(toString);
            assertTrue("toString should contain TimeZone ID", toString.contains(FessUserTimeZoneProcessProvider.centralTimeZone.getID()));
            // The provider's toString might not contain the exact class name
            // Just verify it's not null and contains some meaningful info
            assertTrue("toString should not be empty", toString.length() > 0);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java

                throw new IllegalArgumentException(msg);
            }
        }
    
        protected String toRangeDateString(Date date, String format) {
            if (format.contains("epoch_millis")) {
                return Long.toString(date.getTime());
            } else if (format.contains("date_optional_time")) {
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
                sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

                fail("Should have thrown InvalidQueryException");
            } catch (InvalidQueryException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("Unknown q:"));
                assertTrue(e.getMessage().contains("TermQuery"));
            }
        }
    
        public void test_execute_withNullQuery() {
            // Test that execute handles null query
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top