Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,924 for toObject (0.08 sec)

  1. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
      public static final class BadSerializableFactory {
        public static Object bad() {
          return new Serializable() {
            @Keep private final Object notSerializable = new Object();
          };
        }
    
        private BadSerializableFactory() {}
      }
    
      public void testEqualsAndSerializableOnReturnValues_equalsIsGoodButNotSerializable()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Suppliers.java

       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Supplier<T> compose(
          Function<? super F, T> function, Supplier<F> supplier) {
        return new SupplierComposition<>(function, supplier);
      }
    
      private static final class SupplierComposition<
              F extends @Nullable Object, T extends @Nullable Object>
          implements Supplier<T>, Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/Subscriber.java

      static Subscriber create(EventBus bus, Object listener, Method method) {
        return isDeclaredThreadSafe(method)
            ? new Subscriber(bus, listener, method)
            : new SynchronizedSubscriber(bus, listener, method);
      }
    
      /** The event bus this subscriber belongs to. */
      @Weak private final EventBus bus;
    
      /** The object with the subscriber method. */
      @VisibleForTesting final Object target;
    
      /** Subscriber method. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Suppliers.java

       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Supplier<T> compose(
          Function<? super F, T> function, Supplier<F> supplier) {
        return new SupplierComposition<>(function, supplier);
      }
    
      private static final class SupplierComposition<
              F extends @Nullable Object, T extends @Nullable Object>
          implements Supplier<T>, Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        private final Table<R, C, V> delegate = HashBasedTable.create();
        private final Object mutex = new Object[0]; // something Serializable
    
        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toString();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.equals(o);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

    public class SearchResultTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test with normal values
            List<Map<String, Object>> documentList = new ArrayList<>();
            Map<String, Object> doc1 = new HashMap<>();
            doc1.put("title", "Test Document 1");
            doc1.put("content", "This is test content");
            documentList.add(doc1);
    
            long allRecordCount = 100L;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/MethodUtil.java

         * @throws IllegalAccessRuntimeException
         *             If this {@link Method} object enforces Java language access control and the underlying method is not accessible
         * @throws InvocationTargetRuntimeException
         *             If the underlying method throws an exception
         * @see Method#invoke(Object, Object[])
         */
        @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

    final class RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
      static final RegularImmutableBiMap<Object, Object> EMPTY = new RegularImmutableBiMap<>();
    
      private final transient @Nullable Object keyHashTable;
      @VisibleForTesting final transient @Nullable Object[] alternatingKeysAndValues;
      private final transient int keyOffset; // 0 for K-to-V, 1 for V-to-K
      private final transient int size;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/DeadEvent.java

     * @since 10.0
     */
    public class DeadEvent {
    
      private final Object source;
      private final Object event;
    
      /**
       * Creates a new DeadEvent.
       *
       * @param source object broadcasting the DeadEvent (generally the {@link EventBus}).
       * @param event the event that could not be delivered.
       */
      public DeadEvent(Object source, Object event) {
        this.source = checkNotNull(source);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        ClosingFuture<Object> closingFuture =
            ClosingFuture.whenAllSucceed(
                    ClosingFuture.eventuallyClosing(immediateFuture(closeable1), closingExecutor),
                    failedClosingFuture())
                .call(
                    new ClosingFunction2<TestCloseable, Object, Object>() {
                      @Override
                      public Object apply(DeferredCloser closer, TestCloseable v1, Object v2)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
Back to top