Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,099 for Collections (0.04 sec)

  1. android/guava/src/com/google/common/primitives/Longs.java

       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       * @since 1.0 (parameter was {@code Collection<Long>} before 12.0)
       */
      public static long[] toArray(Collection<? extends Number> collection) {
        if (collection instanceof LongArrayAsList) {
          return ((LongArrayAsList) collection).toLongArray();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import javax.inject.Inject;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.artifact.AbstractArtifactComponentTestCase;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java

    import static com.google.common.graph.GraphConstants.EXPECTED_DEGREE;
    
    import com.google.common.collect.BiMap;
    import com.google.common.collect.HashBiMap;
    import com.google.common.collect.ImmutableBiMap;
    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * An implementation of {@link NetworkConnections} for undirected networks.
     *
     * @author James Sexton
     * @param <N> Node parameter type
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicReference;
    import java.util.function.BiConsumer;
    import java.util.stream.Collectors;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

          return unmodifiableNavigableSet((NavigableSet<E>) collection);
        } else {
          return unmodifiableSortedSet((SortedSet<E>) collection);
        }
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        if (collection instanceof NavigableSet) {
          return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.testers.NavigableSetNavigationTester;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.NavigableSet;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.TestSuite;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            when(mockChannelManager.getHealthyChannels()).thenReturn(Collections.singletonList(channel1));
    
            ChannelInfo selected = loadBalancer.selectChannel(mockMessage);
            assertEquals(channel1, selected);
        }
    
        @Test
        void testNoChannelsAvailable() {
            when(mockChannelManager.getHealthyChannels()).thenReturn(Collections.emptyList());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Objects;
    
    import org.apache.maven.api.ArtifactCoordinates;
    import org.apache.maven.api.Dependency;
    import org.apache.maven.api.Exclusion;
    import org.apache.maven.api.Session;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestCollectionGenerator.java

    import java.util.Collection;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates collections, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestCollectionGenerator<E extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Collections.shuffle;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Package up sample data for common collections benchmarking.
     *
     * @author Nicholaus Shupe
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top