Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Duck (0.02 sec)

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

        assertEquals(5, all.size());
    
        ImmutableSet<String> immut = Sets.union(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.union(friends, enemies).copyInto(new HashSet<String>());
    
        enemies.add("Buck");
        assertEquals(6, all.size());
        assertEquals(5, immut.size());
        assertEquals(5, mut.size());
      }
    
      public void testIntersection() {
        Set<String> friends = newHashSet("Tom", "Joe", "Dave");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

        assertEquals(5, all.size());
    
        ImmutableSet<String> immut = Sets.union(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.union(friends, enemies).copyInto(new HashSet<String>());
    
        enemies.add("Buck");
        assertEquals(6, all.size());
        assertEquals(5, immut.size());
        assertEquals(5, mut.size());
      }
    
      public void testIntersection() {
        Set<String> friends = newHashSet("Tom", "Joe", "Dave");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

            // Short circuit for the (hopefully) majority of cases where the
            // clazz is public
            if (Modifier.isPublic(clazz.getModifiers())) {
                return methods;
            }
    
            // No luck - the class is not public, so we're going the longer way.
            MethodInfo[] methodInfos = new MethodInfo[methods.length];
            for (int i = methods.length; i-- > 0; ) {
                methodInfos[i] = new MethodInfo(methods[i]);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top