Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,298 for collections (0.05 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

    import com.google.caliper.api.VmOptions;
    import com.google.common.base.Supplier;
    import com.google.common.collect.ImmutableList;
    import com.google.common.primitives.Ints;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    import org.jspecify.annotations.NullUnmarked;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

    import java.security.GeneralSecurityException;
    import java.security.KeyManagementException;
    import java.security.KeyStore;
    import java.security.NoSuchAlgorithmException;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import javax.net.ssl.SSLContext;
    import javax.net.ssl.SSLSocket;
    import javax.net.ssl.SSLSocketFactory;
    import javax.net.ssl.TrustManager;
    import javax.net.ssl.TrustManagerFactory;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api;
    
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Objects;
    import java.util.Set;
    
    /**
     * Utility class for creating extensible enum implementations.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ProjectScopeProvider.java

     * <p>
     * Example usage:
     * <pre>
     * public class CustomProjectScopeProvider implements ProjectScopeProvider {
     *     public Collection&lt;ProjectScope&gt; provides() {
     *         return Collections.singleton(projectScope("integration-test"));
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.ProjectScope
     * @see org.apache.maven.api.spi.ExtensibleEnumProvider
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashingTest.java

        HashCode hashCode1 = Hashing.combineOrdered(hashCodes);
        Collections.shuffle(hashCodes, random);
        HashCode hashCode2 = Hashing.combineOrdered(hashCodes);
    
        assertFalse(hashCode1.equals(hashCode2));
      }
    
      public void testCombineUnordered_empty() {
        assertThrows(
            IllegalArgumentException.class,
            () -> Hashing.combineUnordered(Collections.<HashCode>emptySet()));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  6. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

    import com.google.common.collect.testing.TestUnhashableCollectionGenerator;
    import com.google.common.collect.testing.UnhashableObject;
    import com.google.common.primitives.Chars;
    import java.util.Collections;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Common generators of different types of lists.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.util.concurrent.internal.InternalFutureFailureAccess;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.Callable;
    import java.util.concurrent.CancellationException;
    import java.util.concurrent.CountDownLatch;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.testing.AnEnum;
    import com.google.common.collect.testing.SampleElements;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestStringCollectionGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Strings;
    import java.util.Collection;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * String creation for testing arbitrary collections.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top