Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for shortcut (0.19 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * <p>
         * Shortcut for {@code getService(TypeRegistry.class).require(...)}.
         *
         * @see org.apache.maven.api.services.TypeRegistry#require(String)
         */
        @Nonnull
        Type requireType(@Nonnull String id);
    
        /**
         * Obtain the {@link Language} from the specified {@code id}.
         * <p>
         * Shortcut for {@code getService(LanguageRegistry.class).require(...)}.
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 30K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        }
    
        @Nonnull
        @Override
        public Collection<Listener> getListeners() {
            return Collections.unmodifiableCollection(listeners);
        }
    
        //
        // Shortcut implementations
        //
    
        /**
         * Shortcut for <code>getService(RepositoryFactory.class).createLocal(...)</code>
         *
         * @see RepositoryFactory#createLocal(Path)
         */
        @Override
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        }
    
        @Nonnull
        @Override
        public Collection<Listener> getListeners() {
            return Collections.unmodifiableCollection(listeners);
        }
    
        //
        // Shortcut implementations
        //
    
        /**
         * Shortcut for <code>getService(RepositoryFactory.class).createLocal(...)</code>
         *
         * @see RepositoryFactory#createLocal(Path)
         */
        @Override
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    <img src="/img/tutorial/dependencies/image02.png">
    
    ## Shortcut
    
    But you see that we are having some code repetition here, writing `CommonQueryParams` twice:
    
    === "Python 3.8+"
    
        ```Python
        commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

      }
    
      public void testCopyOf_shortcut_empty() {
        Collection<String> c = ImmutableSortedMultiset.of();
        assertSame(c, ImmutableSortedMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_singleton() {
        Collection<String> c = ImmutableSortedMultiset.of("a");
        assertSame(c, ImmutableSortedMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_immutableMultiset() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

      }
    
      public void testCopyOf_shortcut_empty() {
        Collection<String> c = ImmutableSortedMultiset.of();
        assertSame(c, ImmutableSortedMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_singleton() {
        Collection<String> c = ImmutableSortedMultiset.of("a");
        assertSame(c, ImmutableSortedMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_immutableMultiset() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      public void testCopyOf_shortcut_empty() {
        Collection<String> c = ImmutableMultiset.of();
        assertSame(c, ImmutableMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_singleton() {
        Collection<String> c = ImmutableMultiset.of("a");
        assertSame(c, ImmutableMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_immutableMultiset() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> unused = copyOf(iterable);
        assertEquals(1, iterable.count);
      }
    
      public void testCopyOf_shortcut_empty() {
        Collection<String> c = of();
        assertEquals(Collections.<String>emptySet(), copyOf(c));
        assertSame(c, copyOf(c));
      }
    
      public void testCopyOf_shortcut_singleton() {
        Collection<String> c = of("a");
        assertEquals(Collections.singleton("a"), copyOf(c));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> unused = copyOf(iterable);
        assertEquals(1, iterable.count);
      }
    
      public void testCopyOf_shortcut_empty() {
        Collection<String> c = of();
        assertEquals(Collections.<String>emptySet(), copyOf(c));
        assertSame(c, copyOf(c));
      }
    
      public void testCopyOf_shortcut_singleton() {
        Collection<String> c = of("a");
        assertEquals(Collections.singleton("a"), copyOf(c));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

      }
    
      public void testCopyOf_shortcut_empty() {
        Collection<String> c = ImmutableList.of();
        assertSame(c, ImmutableList.copyOf(c));
      }
    
      public void testCopyOf_shortcut_singleton() {
        Collection<String> c = ImmutableList.of("a");
        assertSame(c, ImmutableList.copyOf(c));
      }
    
      public void testCopyOf_shortcut_immutableList() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.9K bytes
    - Viewed (0)
Back to top