Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,659 for implement (0.21 sec)

  1. guava/src/com/google/common/cache/AbstractCache.java

     * effort required to implement this interface.
     *
     * <p>To implement a cache, the programmer needs only to extend this class and provide an
     * implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is
     * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link
     * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractIterator.java

     * ordinarily difficult to write iterators for. But using this class, one must implement only the
     * {@link #computeNext} method, and invoke the {@link #endOfData} method when appropriate.
     *
     * <p>Another example is an iterator that skips over null elements in a backing iterator. This could
     * be implemented as:
     *
     * <pre>{@code
     * public static Iterator<String> skipNulls(final Iterator<String> in) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

                immutableCell("three", "tres", 3),
                immutableCell("two", "dos", 4));
      }
    
      // This function specifically returns a BiPredicate, because Guava7’s Equivalence class does not
      // actually implement BiPredicate, and CollectorTests expects a BiPredicate.
      static <C, E extends @Nullable Object, R extends Iterable<E>>
          BiPredicate<C, C> pairwiseOnResultOf(Function<C, R> arg) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

             * The Filter can only work with NTLMv1 as it uses a man-in-the-middle
             * technique that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
             * because it requires a lot of extra crypto not used by CIFS.
             */
            p.setProperty("jcifs.smb.lmCompatibility", "0");
            p.setProperty("jcifs.smb.client.useExtendedSecurity", "false");
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/TearDownAccepter.java

     * Any object which can accept registrations of {@link TearDown} instances.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TearDownAccepter {
      /**
       * Registers a TearDown implementor which will be run after the test proper.
       *
       * <p>In JUnit4 language, that means as an {@code @After}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

          throw new AssertionError(e);
        }
      }
    
      /**
       * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link
       * ForwardingObject#delegate}. {@code forwarderClass} is assumed to only implement one interface.
       */
      static <T extends ForwardingObject> void testForwardingObject(final Class<T> forwarderClass) {
        @SuppressWarnings("unchecked") // super interface type of T
        Class<? super T> interfaceType =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/package-info.java

     * </ul>
     *
     * <h2>Forwarding collections</h2>
     *
     * We provide implementations of collections that forward all method calls to a delegate collection
     * by default. Subclasses can override one or more methods to implement the decorator pattern. For
     * an example, see {@link ForwardingCollection}.
     *
     * <h2>Other</h2>
     *
     * <ul>
     *   <li>{@link EvictingQueue}
     *   <li>{@link Interner}, {@link Interners}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/TempFileCreator.java

    @J2ObjCIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class TempFileCreator {
      static final TempFileCreator INSTANCE = pickSecureCreator();
    
      /**
       * @throws IllegalStateException if the directory could not be created (to implement the contract
       *     of {@link Files#createTempDir()}, such as if the system does not support creating temporary
       *     directories securely
       */
      abstract File createTempDir();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java

        int i = 0;
        for (Object e : elements) {
          array[i++] = (Character) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
      protected abstract List<Character> create(Character[] elements);
    
      @Override
      public Character[] createArray(int length) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * implement shutdown and termination behavior.
       *
       * <p>The implementation deviates from the {@code ExecutorService} specification with regards to
       * the {@code shutdownNow} method. First, "best-effort" with regards to canceling running tasks is
       * implemented as "no-effort". No interrupts or other attempts are made to stop threads executing
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
Back to top