Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,382 for myobject (0.23 sec)

  1. 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)
  2. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

          implements Serializable {
        final Object delegate;
    
        DelegatingInvocationHandler(Object delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
        @Override
        protected Object handleInvocation(Object proxy, Method method, Object[] args) throws Throwable {
          return method.invoke(delegate, args);
        }
    
        @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

          standardClear();
        }
    
        @Override
        public boolean contains(Object object) {
          return standardContains(object);
        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return standardContainsAll(collection);
        }
    
        @Override
        public boolean remove(Object object) {
          return standardRemove(object);
        }
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestCollidingSetGenerator.java

    public abstract class TestCollidingSetGenerator implements TestSetGenerator<Object> {
      @Override
      public SampleElements<Object> samples() {
        return new Colliders();
      }
    
      @Override
      public Object[] createArray(int length) {
        return new Object[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public List<Object> order(List<Object> insertionOrder) {
        return insertionOrder;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        }
    
        @Override
        public V getValue() {
          return value;
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          // Cannot use key and value equivalence
          if (object instanceof Entry) {
            Entry<?, ?> that = (Entry<?, ?>) object;
            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  6. 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)
  7. guava/src/com/google/common/collect/HashBiMap.java

    @ElementTypesAreNonnullByDefault
    public final class HashBiMap<K extends @Nullable Object, V extends @Nullable Object>
        extends IteratorBasedAbstractMap<K, V> implements BiMap<K, V>, Serializable {
    
      /** Returns a new, empty {@code HashBiMap} with the default initial capacity (16). */
      public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create() {
        return create(16);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      public void testAnd_iterableDefensivelyCopied() {
        final List<Predicate<Object>> list = newArrayList();
        Iterable<Predicate<Object>> iterable =
            new Iterable<Predicate<Object>>() {
              @Override
              public Iterator<Predicate<Object>> iterator() {
                return list.iterator();
              }
            };
        Predicate<Object> predicate = Predicates.and(iterable);
        assertTrue(predicate.apply(1));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMapValues.java

          }
    
          @Override
          public V next() {
            return entryItr.next().getValue();
          }
        };
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return object != null && Iterators.contains(iterator(), object);
      }
    
      @Override
      boolean isPartialView() {
        return true;
      }
    
      @Override
      public ImmutableList<V> asList() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass keys of type {@code Comparable} to use {@link
       *     ImmutableSortedMap#of(Comparable, Object, Comparable, Object, Comparable, Object,
       *     Comparable, Object, Comparable, Object)}.</b>
       */
      @DoNotCall("Pass keys of type Comparable")
      @Deprecated
      public static <K, V> ImmutableSortedMap<K, V> of(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top