Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 7,602 for _class (0.06 sec)

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

        testers.add(ListListIteratorTester.class);
        testers.add(ListRemoveAllTester.class);
        testers.add(ListRemoveAtIndexTester.class);
        testers.add(ListRemoveTester.class);
        testers.add(ListReplaceAllTester.class);
        testers.add(ListRetainAllTester.class);
        testers.add(ListSetTester.class);
        testers.add(ListSubListTester.class);
        testers.add(ListToArrayTester.class);
        return testers;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListGetTester<E> extends AbstractListTester<E> {
      public void testGet_valid() {
        // This calls get() on each index and checks the result:
        expectContents(createOrderedArray());
      }
    
      public void testGet_negative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().get(-1));
      }
    
      public void testGet_tooLarge() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SpecialRandom.java

     */
    
    package com.google.common.collect;
    
    import java.util.Random;
    
    /**
     * Utility class for being able to seed a {@link Random} value with a passed in seed from a
     * benchmark parameter.
     *
     * <p>TODO: Remove this class once Caliper has a better way.
     *
     * @author Nicholaus Shupe
     */
    public final class SpecialRandom extends Random {
      public static SpecialRandom valueOf(String s) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/BoostQueryCommand.java

    import org.lastaflute.core.message.UserMessages;
    import org.opensearch.index.query.QueryBuilder;
    
    public class BoostQueryCommand extends QueryCommand {
        private static final Logger logger = LogManager.getLogger(BoostQueryCommand.class);
    
        @Override
        protected String getQueryClassName() {
            return BoostQuery.class.getSimpleName();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Striped.java

       * java.util.HashMap class.
       */
      // Copied from java/com/google/common/collect/Hashing.java
      private static int smear(int hashCode) {
        hashCode ^= (hashCode >>> 20) ^ (hashCode >>> 12);
        return hashCode ^ (hashCode >>> 7) ^ (hashCode >>> 4);
      }
    
      private static class PaddedLock extends ReentrantLock {
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/AsciiTest.java

        assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", 2, "..."));
    
        assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", 8, "1234567890"));
    
        assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", -1, "..."));
    
        assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", -1, ""));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractMultiset.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * This class provides a skeletal implementation of the {@link Multiset} interface. A new multiset
     * implementation can be created easily by extending this class and implementing the {@link
     * Multiset#entrySet()} method, plus optionally overriding {@link #add(Object, int)} and {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

      public void testNotInterfaceType() {
        assertThrows(
            IllegalArgumentException.class,
            () ->
                new ForwardingWrapperTester()
                    .testForwarding(String.class, Functions.<String>identity()));
      }
    
      public void testNulls() {
        new NullPointerTester()
            .setDefault(Class.class, Runnable.class)
            .testAllPublicInstanceMethods(new ForwardingWrapperTester());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertThrows(IllegalStateException.class, () -> emptyAccumulator.sampleCovariance());
        assertThrows(
            IllegalStateException.class,
            () -> emptyAccumulatorByAddAllEmptyPairedStats.sampleCovariance());
        assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleCovariance());
        assertThrows(
            IllegalStateException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         *            タイプ
         * @return <code>type</code>の原型
         */
        public static Class<?> getRawClass(final Type type) {
            if (type instanceof Class) {
                return Class.class.cast(type);
            }
            if (type instanceof ParameterizedType) {
                final ParameterizedType parameterizedType = ParameterizedType.class.cast(type);
                return getRawClass(parameterizedType.getRawType());
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top