Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Junior (0.17 sec)

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

        enemies = Sets.newHashSet("Dick", "Harry", "Tom");
      }
    
      public void testUnion() {
        Set<String> all = Sets.union(friends, enemies);
        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());
    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. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven4ScopeManagerConfiguration.java

    import static org.eclipse.aether.impl.scope.BuildScopeQuery.select;
    import static org.eclipse.aether.impl.scope.BuildScopeQuery.singleton;
    import static org.eclipse.aether.impl.scope.BuildScopeQuery.union;
    
    /**
     * Maven4 scope configurations. Configures scope manager to support Maven4 scopes.
     * <p>
     * This manager supports all the new Maven 4 dependency scopes defined in {@link DependencyScope}.
     *
     * @since 2.0.0
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ValueGraph.java

      //
      // Element-level accessors
      //
    
      /**
       * Returns a live view of the nodes which have an incident edge in common with {@code node} in
       * this graph.
       *
       * <p>This is equal to the union of {@link #predecessors(Object)} and {@link #successors(Object)}.
       *
       * <p>If {@code node} is removed from the graph after this method is called, the {@code Set}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

          return ((Multiset<?>) elements).elementSet().size();
        }
        return 11; // initial capacity will be rounded up to 16
      }
    
      /**
       * Returns an unmodifiable view of the union of two multisets. In the returned multiset, the count
       * of each element is the <i>maximum</i> of its counts in the two backing multisets. The iteration
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 41.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                .add(Range.closedOpen(5, 10))
                .add(Range.closedOpen(12, 15))
                .add(Range.openClosed(15, 17))
                .add(Range.open(19, 20))
                .build();
    
        assertThat(RANGE_SET_ONE.union(RANGE_SET_TWO)).isEqualTo(expected);
      }
    
      public void testIntersection() {
        RangeSet<Integer> expected =
            ImmutableRangeSet.<Integer>builder()
                .add(Range.closed(2, 3))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

            }
    
    
            @Override
            public void decode ( NdrBuffer _src ) throws NdrException {
                _src.align(4);
                this.level = _src.dec_ndr_long();
                _src.dec_ndr_long(); /* union discriminant */
                int _ep = _src.dec_ndr_long();
    
                if ( _ep != 0 ) {
                    if ( this.e == null ) { /* YOYOYO */
                        this.e = new DfsEnumArray1();
                    }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 16.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        }
    
        // Each of the values added to the map should either still be there, or have seen a removal
        // notification.
        assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet()));
        assertTrue(Sets.intersection(cache.asMap().keySet(), removalNotifications.keySet()).isEmpty());
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SetsTest.java

                                ? Sets.newHashSet(Arrays.asList(elements).subList(1, size))
                                : Sets.<String>newHashSet();
                        return Sets.union(set1, set2);
                      }
                    })
                .named("Sets.union")
                .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

         * @since 20.0 (present with return type {@link Iterator} since 2.0)
         */
        @Override
        public abstract UnmodifiableIterator<E> iterator();
      }
    
      /**
       * Returns an unmodifiable <b>view</b> of the union of two sets. The returned set contains all
       * elements that are contained in either backing set. Iterating over the returned set iterates
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 77.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/AbstractNetwork.java

      }
    
      @Override
      public Set<E> adjacentEdges(E edge) {
        EndpointPair<N> endpointPair = incidentNodes(edge); // Verifies that edge is in this network.
        Set<E> endpointPairIncidentEdges =
            Sets.union(incidentEdges(endpointPair.nodeU()), incidentEdges(endpointPair.nodeV()));
        return edgeInvalidatableSet(
            Sets.difference(endpointPairIncidentEdges, ImmutableSet.of(edge)), edge);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 10.1K bytes
    - Viewed (0)
Back to top