Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Friends (0.34 sec)

  1. android/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 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. android/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. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  6. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  7. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  8. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (1)
Back to top