Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for equialgo (0.18 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            map = null;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSize() throws Exception {
            assertThat(map.size(), equalTo(3));
            map.put("3", "test3");
            assertThat(map.size(), equalTo(4));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEmpty() throws Exception {
            assertThat(map.isEmpty(), is(not(true)));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        FluentIterable<String> iterable = FluentIterable.from(Lists.newArrayList("cool", "pants"));
        assertThat(iterable.firstMatch(Predicates.equalTo("cool"))).hasValue("cool");
        assertThat(iterable.firstMatch(Predicates.equalTo("pants"))).hasValue("pants");
        assertThat(iterable.firstMatch(Predicates.alwaysFalse())).isAbsent();
        assertThat(iterable.firstMatch(Predicates.alwaysTrue())).hasValue("cool");
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        multimap.put("foo", 16);
                        multimap =
                            Multimaps.filterKeys(multimap, Predicates.not(Predicates.equalTo("foo")));
                        return Multimaps.filterKeys(
                            multimap, Predicates.not(Predicates.equalTo("bar")));
                      }
                    })
                .named("Multimaps.filterKeys[Multimaps.filterKeys[ListMultimap], Predicate]")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Predicates.java

      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the object being tested {@code equals()}
       * the given target or both are null.
       */
      public static <T extends @Nullable Object> Predicate<T> equalTo(@ParametricNullness T target) {
        return (target == null)
            ? Predicates.<T>isNull()
            : new IsEqualToPredicate(target).withNarrowedType();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/StatsTesting.java

        }
    
        boolean hasAnyPositiveInfinity() {
          return Iterables.any(values, Predicates.equalTo(POSITIVE_INFINITY));
        }
    
        boolean hasAnyNegativeInfinity() {
          return Iterables.any(values, Predicates.equalTo(NEGATIVE_INFINITY));
        }
    
        boolean hasAnyNaN() {
          return Iterables.any(values, Predicates.equalTo(NaN));
        }
    
        boolean hasAnyNonFinite() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrudTestBase.java

                final Map<String, Object> requestBody = createTestParam(i);
                checkPutMethod(requestBody, getItemEndpointSuffix()).then().body("response.created", equalTo(true)).body("response.status",
                        equalTo(0));
    
                //logger.info("create {}{}", i, checkPutMethod(requestBody, getItemEndpointSuffix()).asString()); // for debugging
                refresh();
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/FileAuthTests.java

            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
            checkMethodBase(requestBody).put("/api/admin/fileconfig/setting").then().body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
        String getFileConfigId() {
            final Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("name", "test_fileconfig");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/SearchListTests.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.it.admin;
    
    import static org.hamcrest.Matchers.equalTo;
    
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.base.Predicates.equalTo;
    import static com.google.common.base.Predicates.in;
    import static com.google.common.base.Predicates.instanceOf;
    import static com.google.common.base.Predicates.not;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

        }
    
        @Test
        void testAvailable_ok() {
            checkGetMethod(Collections.emptyMap(), getAvailableEndpointSuffix() + "/").then().body("response.status", equalTo(0));
        }
    
        @Test
        void testInstall_ng() {
            checkPutMethod(Collections.emptyMap(), getInstallEndpointSuffix()).then().body("response.status", equalTo(1));
        }
    
        @Test
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top