Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for it (0.17 sec)

  1. android/guava/src/com/google/common/reflect/TypeToken.java

     *   <li>Capture a generic type with a (usually anonymous) subclass. For example:
     *       <pre>{@code
     * new TypeToken<List<String>>() {}
     * }</pre>
     *       <p>Note that it's critical that the actual type argument is carried by a subclass. The
     *       following code is wrong because it only captures the {@code <T>} type variable of the
     *       {@code listType()} method signature; while {@code <String>} is lost in erasure:
     *       <pre>{@code
     * class Util {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
        // Ensure that referenceMap, which doesn't use WithExpectedSize, ends up with the same table
        // size as the other two maps. If it ended up with a smaller size that would imply that we
        // computed the wrong initial capacity.
        for (int i = 0; i < size; i++) {
          referenceMap.put(i, null);
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTest.java

            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
        // Ensure that referenceMap, which doesn't use WithExpectedSize, ends up with the same table
        // size as the other two maps. If it ended up with a smaller size that would imply that we
        // computed the wrong initial capacity.
        for (int i = 0; i < size; i++) {
          referenceMap.put(i, null);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        public String toString() {
          synchronized (mutex) {
            return delegate.toString();
          }
        }
    
        // Serialization invokes writeObject only when it's private.
        // The SynchronizedObject subclasses don't need a writeObject method since
        // they don't contain any non-transient member variables, while the
        // following writeObject() handles the SynchronizedObject members.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     * 
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/CharMatcher.java

       *
       * <p>This implementation tries to be smart in a number of ways. It recognizes cases where the
       * negation is cheaper to precompute than the matcher itself; it tries to build small hash tables
       * for matchers that only match a few characters, and so on. In the worst-case scenario, it
       * constructs an eight-kilobyte bit array and queries that. In many situations this produces a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

      }
    
      /**
       * Returns a synchronized (thread-safe) multimap backed by the specified multimap. In order to
       * guarantee serial access, it is critical that <b>all</b> access to the backing multimap is
       * accomplished through the returned multimap.
       *
       * <p>It is imperative that the user manually synchronize on the returned multimap when accessing
       * any of its collection views:
       *
       * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        step4Waiter.awaitStarted();
    
        // Step 1 is not cancelled because it was done.
        assertWithMessage("step1.statusFuture().isCancelled()")
            .that(step1.statusFuture().isCancelled())
            .isFalse();
        // But its closeable is closed.
        assertClosed(closeable1);
    
        // Step 2 is cancelled because it wasn't complete.
        assertWithMessage("step2.statusFuture().isCancelled()")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Preconditions.java

     * UnsupportedOperationException} in the situations they are intended for.
     *
     * <h3>Non-preconditions</h3>
     *
     * <p>It is of course possible to use the methods of this class to check for invalid conditions
     * which are <i>not the caller's fault</i>. Doing so is <b>not recommended</b> because it is
     * misleading to future readers of the code and of stack traces. See <a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
Back to top