Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,647 for on (0.41 sec)

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

        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/JoinerTest.java

        tester.testInstanceMethods(Joiner.on(","), NullPointerTester.Visibility.PACKAGE);
        tester.testInstanceMethods(Joiner.on(",").skipNulls(), NullPointerTester.Visibility.PACKAGE);
        tester.testInstanceMethods(
            Joiner.on(",").useForNull("x"), NullPointerTester.Visibility.PACKAGE);
        tester.testInstanceMethods(
            Joiner.on(",").withKeyValueSeparator("="), NullPointerTester.Visibility.PACKAGE);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.3K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

    public class JoinerBenchmark {
    
      private static final String DELIMITER_STRING = ",";
      private static final char DELIMITER_CHARACTER = ',';
    
      private static final Joiner JOINER_ON_STRING = Joiner.on(DELIMITER_STRING);
      private static final Joiner JOINER_ON_CHARACTER = Joiner.on(DELIMITER_CHARACTER);
    
      @Param({"3", "30", "300"})
      int count;
    
      @Param({"0", "1", "16", "32", "100"})
      int componentLength;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

        Properties getSystemProperties();
    
        /**
         * Sets the user properties to use for interpolation and profile activation. The user properties have been
         * configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command
         * line.
         *
         * @param userProperties The user properties, may be {@code null}.
         * @return This request, never {@code null}.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * "Some collection implementations have restrictions on the elements that they may contain. For
       * example, some implementations prohibit null elements, and some have restrictions on the types
       * of their elements."
       *
       * </blockquote>
       */
      RESTRICTS_ELEMENTS,
    
      /**
       * Indicates that a collection has a well-defined ordering of its elements. The ordering may
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)},
       * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}.
       */
      ALLOWS_NULL_KEY_QUERIES,
      ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES),
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

    /**
     * A generic JUnit test which tests {@code remove} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author George van den Driessche
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MapRemoveTester<K, V> extends AbstractMapTester<K, V> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                  }
                })
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                MapFeature.RESTRICTS_KEYS,
                MapFeature.SUPPORTS_REMOVE,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.6K bytes
    - Viewed (0)
Back to top