Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 789 for myobject (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

        InvocationHandler handler =
            new InvocationHandler() {
              @Override
              @CheckForNull
              public Object invoke(Object obj, Method method, @CheckForNull @Nullable Object[] args)
                  throws Throwable {
                Callable<@Nullable Object> callable =
                    () -> {
                      try {
                        return method.invoke(target, args);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/OptionalTest.java

        assertEquals(
            Optional.absent(),
            Optional.absent()
                .transform(
                    (Function<Object, Object>)
                        new Function<Object, @Nullable Object>() {
                          @Override
                          public @Nullable Object apply(Object input) {
                            return null;
                          }
                        }));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    public final class SpliteratorTester<E extends @Nullable Object> {
      /** Return type from "contains the following elements" assertions. */
      public interface Ordered {
        /**
         * Attests that the expected values must not just be present but must be present in the order
         * they were given.
         */
        void inOrder();
      }
    
      private abstract static class GeneralSpliterator<E extends @Nullable Object> {
        final Spliterator<E> spliterator;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. 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)
  5. guava-tests/test/com/google/common/base/ConverterTest.java

          new Converter<String, Long>() {
            @Override
            protected Long doForward(String object) {
              return Long.valueOf(object);
            }
    
            @Override
            protected String doBackward(Long object) {
              return String.valueOf(object);
            }
    
            @Override
            public String toString() {
              return "string2long";
            }
          };
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        return String.format(Locale.ROOT, format, args);
      }
    
      static class OverridesEquals {
        @SuppressWarnings("EqualsHashCode")
        @Override
        public boolean equals(@Nullable Object o) {
          return true;
        }
      }
    
      static class DoesNotOverrideEquals {
        public boolean equals(Object a, Object b) {
          return true;
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

      public abstract UnmodifiableIterator<E> iterator();
    
      public boolean contains(@Nullable Object object) {
        return object != null && super.contains(object);
      }
    
      public final boolean add(E e) {
        throw new UnsupportedOperationException();
      }
    
      public final boolean remove(@Nullable Object object) {
        throw new UnsupportedOperationException();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        EntrySet(ImmutableSetMultimap<K, V> multimap) {
          this.multimap = multimap;
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
            return multimap.containsEntry(entry.getKey(), entry.getValue());
          }
          return false;
        }
    
        @Override
        public int size() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
        return ImmutableMap.<R, Map<C, V>>copyOf(rowMap);
      }
    
      @Override
      @CheckForNull
      public V get(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
        Integer rowIndex = rowKeyToIndex.get(rowKey);
        Integer columnIndex = columnKeyToIndex.get(columnKey);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          }
        }
      }
    
      private static List<Object> subListCopy(Object[] source, int size) {
        final Object[] copy = new Object[size];
        System.arraycopy(source, 0, copy, 0, size);
        return Arrays.asList(copy);
      }
    
      private interface IteratorOperation {
        @Nullable Object execute(Iterator<?> iterator);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top