Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,392 for toObject (0.06 sec)

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

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link ListMultimap#put(Object, Object)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

      @SuppressWarnings("FutureReturnValueIgnored")
      @Footprint(exclude = {Runnable.class, Executor.class, Thread.class, Exception.class})
      public Object measureSize() {
        for (Thread thread : blockedThreads) {
          thread.interrupt();
        }
        blockedThreads.clear();
        Facade<Object> f = impl.newFacade();
        for (int i = 0; i < numThreads; i++) {
          Thread thread =
              new Thread() {
                @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public abstract class AbstractCollectionTester<E extends @Nullable Object>
        extends AbstractContainerTester<Collection<E>, E> {
    
      // TODO: replace this with an accessor.
      protected Collection<E> collection;
    
      @Override
      protected Collection<E> actualContents() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *   }
     * </pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public class TestLogHandler extends Handler {
      private final Object lock = new Object();
    
      /** We will keep a private list of all logged records */
      @GuardedBy("lock")
      private final List<LogRecord> list = new ArrayList<>();
    
      /** Adds the most recently logged record to our list. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public abstract class AbstractCollectionTester<E extends @Nullable Object>
        extends AbstractContainerTester<Collection<E>, E> {
    
      // TODO: replace this with an accessor.
      protected Collection<E> collection;
    
      @Override
      protected Collection<E> actualContents() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/plugin/PluginManager.java

                        PluginNotFoundException, PluginVersionNotFoundException;
    
        Object getPluginComponent(Plugin plugin, String role, String roleHint)
                throws PluginManagerException, ComponentLookupException;
    
        Map<String, Object> getPluginComponents(Plugin plugin, String role)
                throws ComponentLookupException, PluginManagerException;
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/DocMap.java

         */
        @Override
        public Object remove(final Object key) {
            return parent.remove(key);
        }
    
        /**
         * Copies all of the mappings from the specified map to this map.
         *
         * @param m the mappings to be stored in this map
         */
        @Override
        public void putAll(final Map<? extends String, ? extends Object> m) {
            parent.putAll(m);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/log/Logger.java

            }
        }
    
        /**
         * Returns the string representation of the message object.
         *
         * @param message
         *            Message object
         * @return String representation of the message object
         */
        protected static String toString(final Object message) {
            if (message == null) {
                return "null";
            }
            if (message instanceof String) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().removalListener(listener));
        assertTrue(listener.isEmpty());
    
        Object one = new Object();
        Object two = new Object();
        Object three = new Object();
        Object four = new Object();
        Object five = new Object();
        Object six = new Object();
    
        map.put(one, two);
        map.remove(one);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Preconditions.java

       *
       * <p>See {@link #checkArgument(boolean, String, Object...)} for details.
       *
       * @since 20.0 (varargs overload since 2.0)
       */
      public static void checkArgument(
          boolean expression,
          String errorMessageTemplate,
          @Nullable Object p1,
          @Nullable Object p2,
          @Nullable Object p3,
          @Nullable Object p4) {
        if (!expression) {
          throw new IllegalArgumentException(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
Back to top