Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,223 for objet (1.45 sec)

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

       * be declared as a {@code List}.
       *
       * @return the re-serialized object
       * @throws RuntimeException if the specified object was not successfully serialized or
       *     deserialized
       */
      @CanIgnoreReturnValue
      public static <T> T reserialize(T object) {
        return Platform.reserialize(object);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    @ElementTypesAreNonnullByDefault
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], Arrays.asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    @ElementTypesAreNonnullByDefault
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], Arrays.asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/CollectorTester.java

    public final class CollectorTester<
        T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> {
      /**
       * Creates a {@code CollectorTester} for the specified {@code Collector}. The result of the {@code
       * Collector} will be compared to the expected value using {@link Object#equals}.
       */
      public static <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          fail("Should fail on null equal object");
        } catch (NullPointerException e) {
        }
      }
    
      /** Test adding null equal object yields error */
      public void testAddNullEqualObject() {
        try {
          equalsTester.addEqualityGroup(reference, (Object[]) null);
          fail("Should fail on null equal object");
        } catch (NullPointerException e) {
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableMap.java

            @J2ktIncompatible // serialization
            Object writeReplace() {
              return super.writeReplace();
            }
          };
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
            Object k = entry.getKey();
            Object v = entry.getValue();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      /**
       * A sensible definition of {@link #subSet(Object, Object)} in terms of the {@link #subSet(Object,
       * boolean, Object, boolean)} method. If you override {@link #subSet(Object, boolean, Object,
       * boolean)}, you may wish to override {@link #subSet(Object, Object)} to forward to this
       * implementation.
       */
      @Override
      protected SortedSet<E> standardSubSet(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Functions.java

       */
      public static <A extends @Nullable Object, B extends @Nullable Object, C extends @Nullable Object>
          Function<A, C> compose(Function<B, C> g, Function<A, ? extends B> f) {
        return new FunctionComposition<>(g, f);
      }
    
      private static class FunctionComposition<
              A extends @Nullable Object, B extends @Nullable Object, C extends @Nullable Object>
          implements Function<A, C>, Serializable {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

        SerializedForm(Multiset<? extends Object> multiset) {
          int distinct = multiset.entrySet().size();
          elements = new Object[distinct];
          counts = new int[distinct];
          int i = 0;
          for (Entry<? extends Object> entry : multiset.entrySet()) {
            elements[i] = entry.getElement();
            counts[i] = entry.getCount();
            i++;
          }
        }
    
        Object readResolve() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Predicates.java

       * Returns a predicate that evaluates to {@code true} if the object reference being tested is
       * null.
       */
      @GwtCompatible(serializable = true)
      public static <T extends @Nullable Object> Predicate<T> isNull() {
        return ObjectPredicate.IS_NULL.withNarrowedType();
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the object reference being tested is not
       * null.
       */
      @GwtCompatible(serializable = true)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top