Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Assert (0.44 sec)

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

    import static java.util.Arrays.asList;
    import static java.util.Collections.unmodifiableSet;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertFalse;
    import static junit.framework.Assert.assertTrue;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Ordering;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(type::isInstance).map(type::cast)}.
       * This does perform a little more work than necessary, so another option is to insert an
       * unchecked cast at some later point:
       *
       * <pre>
       * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

       *
       * <p><b>Note:</b> {@code a.asSet(d).equals(b.asSet(d))} does not imply {@code a.equals(b)}! For
       * example, {@code a} and {@code b} could be {@code [2..4]} and {@code (1..5)}, or the empty
       * ranges {@code [3..3)} and {@code [4..4)}.
       *
       * <p><b>Warning:</b> Be extremely careful what you do with the {@code asSet} view of a large
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

           */
          String key = (String) requireNonNull(e.nextElement());
          /*
           * requireNonNull is safe because the key came from propertyNames...
           *
           * ...except that it's possible for users to insert a string key with a non-string value, and
           * in that case, getProperty *will* return null.
           *
           * TODO(b/192002623): Handle that case: Either:
           *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                String string,
                InputLocationTracker tracker) {
            return validateStringNotEmpty(EMPTY, fieldName, problems, severity, version, string, null, tracker);
        }
    
        /**
         * Asserts:
         * <p/>
         * <ul>
         * <li><code>string != null</code>
         * <li><code>string.length > 0</code>
         * </ul>
         */
        @SuppressWarnings("checkstyle:parameternumber")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top