Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,424 for Object (0.16 sec)

  1. android/guava/src/com/google/common/collect/Multisets.java

        /**
         * Indicates whether an object equals this entry, following the behavior specified in {@link
         * Multiset.Entry#equals}.
         */
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof Multiset.Entry) {
            Multiset.Entry<?> that = (Multiset.Entry<?>) object;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. 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 class SupplierComposition<F extends @Nullable Object, T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        final Function<? super F, T> function;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableList.java

      @Override
      public int indexOf(@CheckForNull Object object) {
        return (object == null) ? -1 : Lists.indexOfImpl(this, object);
      }
    
      @Override
      public int lastIndexOf(@CheckForNull Object object) {
        return (object == null) ? -1 : Lists.lastIndexOfImpl(this, object);
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return indexOf(object) >= 0;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

    @ElementTypesAreNonnullByDefault
    public final class LinkedHashMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends LinkedHashMultimapGwtSerializationDependencies<K, V> {
    
      /** Creates a new, empty {@code LinkedHashMultimap} with the default initial capacities. */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMultimap<K, V> create() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultiset.java

          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() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

     * test with reference to the same "lock-like object", and then their interactions with that object
     * are choreographed via the various methods on this class.
     *
     * <p>A "lock-like object" is really any object that may be used for concurrency control. If the
     * {@link #callAndAssertBlocks} method is ever called in a test, the lock-like object must have a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingSortedSet.java

      @Override
      protected boolean standardContains(@CheckForNull Object object) {
        try {
          // any ClassCastExceptions and NullPointerExceptions are caught
          @SuppressWarnings({"unchecked", "nullness"})
          SortedSet<@Nullable Object> self = (SortedSet<@Nullable Object>) this;
          Object ceiling = self.tailSet(object).first();
          return unsafeCompare(comparator(), ceiling, object) == 0;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

      }
    
      private static <E extends @Nullable Object> void assertCollectionsAreEquivalent(
          Collection<E> expected, Collection<E> actual) {
        assertIteratorsInOrder(expected.iterator(), actual.iterator());
      }
    
      private static <K extends @Nullable Object, V extends @Nullable Object>
          void assertMultimapRemainsUnmodified(Multimap<K, V> expected, List<Entry<K, V>> actual) {
    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)
  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() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

      int size;
    
      private static final Object OBJECT = new Object();
    
      @Benchmark
      int builderAdd(int reps) {
        int size = this.size;
        int dummy = 0;
        for (int rep = 0; rep < reps; rep++) {
          ImmutableList.Builder<Object> builder = ImmutableList.builder();
          for (int i = 0; i < size; i++) {
            builder.add(OBJECT);
          }
          dummy += builder.build().size();
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.3K bytes
    - Viewed (0)
Back to top