Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 280 for generics (0.12 sec)

  1. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * used; or if the class exposes a public parameter-less constructor then it will be "new"d and
     * returned.
     *
     * <p>All default instances returned by {@link #get} are generics-safe. Clients won't get type
     * errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example.
     * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multisets.java

       *
       * @since 11.0
       */
      public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) {
        @SuppressWarnings("unchecked") // generics+arrays
        // TODO(cpovirk): Consider storing an Entry<?> instead of Entry<E>.
        Entry<E>[] entries = (Entry<E>[]) multiset.entrySet().toArray((Entry<E>[]) new Entry<?>[0]);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multisets.java

       *
       * @since 11.0
       */
      public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) {
        @SuppressWarnings("unchecked") // generics+arrays
        // TODO(cpovirk): Consider storing an Entry<?> instead of Entry<E>.
        Entry<E>[] entries = (Entry<E>[]) multiset.entrySet().toArray((Entry<E>[]) new Entry<?>[0]);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  4. docs/pt/docs/python-types.md

    E então você não precisará mais se preocupar com nomes como `Optional` e `Union`. 😎
    
    #### Tipos genéricos { #generic-types }
    
    Esses tipos que usam parâmetros de tipo entre colchetes são chamados **tipos genéricos** ou **genéricos**. Por exemplo:
    
    //// tab | Python 3.10+
    
    Você pode utilizar os mesmos tipos internos como genéricos (com colchetes e tipos dentro):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/GenericCIDetector.java

    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * Generic CI support. This offers same support as Maven 3 always had. Is also special, as code will reject this
     * detector result IF there are also any other returned via discovered services.
     */
    public class GenericCIDetector implements CIDetector {
        public static final String NAME = "Generic";
    
        private static final String CI = "CI";
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ACETest.java

                // Generic rights should be in bits 28-31 (0xF0000000)
                assertTrue(ACE.GENERIC_ALL >= 0x10000000, "GENERIC_ALL should be in generic rights range");
                assertTrue(ACE.GENERIC_EXECUTE >= 0x10000000, "GENERIC_EXECUTE should be in generic rights range");
                assertTrue(ACE.GENERIC_WRITE >= 0x10000000, "GENERIC_WRITE should be in generic rights range");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ACE.java

         */
        int SYNCHRONIZE = 0x00100000; // 20
        /**
         * Generic all permissions
         */
        int GENERIC_ALL = 0x10000000; // 28
        /**
         * Generic execute permission
         */
        int GENERIC_EXECUTE = 0x20000000; // 29
        /**
         * Generic write permission
         */
        int GENERIC_WRITE = 0x40000000; // 30
        /**
         * Generic read permission
         */
        int GENERIC_READ = 0x80000000; // 31
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Synchronize access right */
        int SYNCHRONIZE = 0x00100000; // 20
        /** Generic all access right */
        int GENERIC_ALL = 0x10000000; // 28
        /** Generic execute access right */
        int GENERIC_EXECUTE = 0x20000000; // 29
        /** Generic write access right */
        int GENERIC_WRITE = 0x40000000; // 30
        /** Generic read access right */
        int GENERIC_READ = 0x80000000; // 31
    
        // flags for move and copy
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbConstants.java

        int SYNCHRONIZE = 0x00100000; // 20
        /**
         * All generic permissions.
         */
        int GENERIC_ALL = 0x10000000; // 28
        /**
         * Generic execute permission.
         */
        int GENERIC_EXECUTE = 0x20000000; // 29
        /**
         * Generic write permission.
         */
        int GENERIC_WRITE = 0x40000000; // 30
        /**
         * Generic read permission.
         */
        int GENERIC_READ = 0x80000000; // 31
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingExceptionTest.java

            assertEquals(
                    "Some problems were encountered while processing the POMs",
                    message,
                    "Empty results should fall back to generic message");
        }
    
        @Test
        void testExceptionMessageWithNullResults() {
            ProjectBuildingException exception = new ProjectBuildingException((List<ProjectBuildingResult>) null);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jul 26 19:15:57 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top