Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for vriend (0.16 sec)

  1. guava-tests/test/com/google/common/collect/SetOperationsTest.java

        Set<String> friends = Sets.newHashSet("Tom", "Joe", "Dave");
        Set<String> enemies = Sets.newHashSet("Dick", "Harry", "Tom");
    
        Set<String> goodFriends = Sets.difference(friends, enemies);
        assertEquals(2, goodFriends.size());
    
        ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Interners.java

      public static <E> Interner<E> newWeakInterner() {
        return newBuilder().weak().build();
      }
    
      @VisibleForTesting
      static final class InternerImpl<E> implements Interner<E> {
        // MapMaker is our friend, we know about this type
        @VisibleForTesting final MapMakerInternalMap<E, Dummy, ?, ?> map;
    
        private InternerImpl(MapMaker mapMaker) {
          this.map =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/TempFileCreator.java

          } catch (ClassNotFoundException runningUnderAndroidOrJava8) {
            /*
             * I'm not sure that we could actually get here for *Android*: I would expect us to enter
             * the POSIX code path instead. And if we tried this code path, we'd have trouble unless we
             * were running under a new enough version of Android to support NIO.
             *
    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)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        resetContainer();
      }
    
      /**
       * @return the contents of the container under test, for use by {@link #expectContents(Object[])
       *     expectContents(E...)} and its friends.
       */
      protected abstract Collection<E> actualContents();
    
      /**
       * Replaces the existing container under test with a new container created by the subject
       * generator.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * <ul>
       *   <li>The visible constructor or visible static factory method with the most parameters is used
       *       to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        URLClassLoader sepLoader = new URLClassLoader(getClassPathUrls(), myLoader.getParent());
        // sepLoader is the loader that we will use to load the parallel FinalizableReferenceQueue (FRQ)
        // and friends, and that we will eventually expect to see garbage-collected. The assumption
        // is that the ClassLoader of this test is a URLClassLoader, and that it loads FRQ itself
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Striped64.java

       * the capacity, it is doubled in size unless some other thread
       * holds the lock. If a hashed slot is empty, and lock is
       * available, a new Cell is created. Otherwise, if the slot
       * exists, a CAS is tried.  Retries proceed by "double hashing",
       * using a secondary hash (Marsaglia XorShift) to try to find a
       * free slot.
       *
       * The table size is capped because, when there are more threads
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           *   cause if this Future has failed.
           *
           * - And this future *has* failed: This method is called only from handleException (through
           *   getOrInitSeenExceptions). handleException tried to call setException and failed, so
           *   either this Future was cancelled (which we ruled out with the isCancelled check above),
           *   or it had already failed. (It couldn't have completed *successfully* or even had
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *   <li>The non-private constructor or non-private static factory method with the most parameters
       *       is used to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *   <li>The non-private constructor or non-private static factory method with the most parameters
       *       is used to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top