Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 97 for SubClass (0.07 sec)

  1. android/guava/src/com/google/common/collect/TreeTraverser.java

       * This is useful if the function instance already exists, or so that you can supply a lambda
       * expressions. If those circumstances don't apply, you probably don't need to use this; subclass
       * {@code TreeTraverser} and implement its {@link #children} method directly.
       *
       * @since 20.0
       * @deprecated Use {@link com.google.common.graph.Traverser#forTree} instead. If you are using a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

        private static ClassOwnership detectJvmBehavior() {
          class LocalClass<T> {}
          Class<?> subclass = new LocalClass<String>() {}.getClass();
          // requireNonNull is safe because we're examining a type that's known to have a superclass.
          ParameterizedType parameterizedType =
              requireNonNull((ParameterizedType) subclass.getGenericSuperclass());
          for (ClassOwnership behavior : ClassOwnership.values()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

    import jcifs.smb1.util.LogStream;
    
    /**
     * This class simplifies communication for protocols that support
     * multiplexing requests. It encapsulates a stream and some protocol
     * knowledge (provided by a concrete subclass) so that connecting,
     * disconnecting, sending, and receiving can be syncronized
     * properly. Apparatus is provided to send and receive requests
     * concurrently.
     */
    
    public abstract class Transport implements Runnable {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

       * elements and to build again.
       *
       * @since 2.0
       */
      public static class Builder<E> extends ImmutableCollection.Builder<E> {
        /*
         * `impl` is null only for instances of the subclass, ImmutableSortedSet.Builder. That subclass
         * overrides all the methods that access it here. Thus, all the methods here can safely assume
         * that this field is non-null.
         */
        private @Nullable SetBuilderImpl<E> impl;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            }
    
            return request;
        }
    
        // layer the creation of a project builder configuration with a request, but this will need to be
        // a Maven subclass because we don't want to couple maven to the project builder which we need to
        // separate.
        protected MavenSession createMavenSession(File pom) throws Exception {
            return createMavenSession(pom, new Properties());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/HandlerTest.java

            // to create the stream handler for the connection.
            URLStreamHandlerFactory mockFactory = mock(URLStreamHandlerFactory.class);
    
            // Create a concrete URLStreamHandler subclass instead of mocking
            URLStreamHandler mockStreamHandler = new URLStreamHandler() {
                @Override
                protected URLConnection openConnection(URL u) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingNavigableSet.java

       * of {@link NavigableSet}, notably including {@link NavigableSet#descendingIterator}.
       *
       * <p>In many cases, you may wish to override {@link ForwardingNavigableSet#descendingSet} to
       * forward to this implementation or a subclass thereof.
       *
       * @since 12.0
       */
      protected class StandardDescendingSet extends Sets.DescendingSet<E> {
        /** Constructor for use by subclasses. */
        public StandardDescendingSet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Converter.java

     * </ul>
     *
     * <h3>Example</h3>
     *
     * {@snippet :
     * return Converter.from(
     *     Integer::toHexString,
     *     s -> parseUnsignedInt(s, 16));
     * }
     *
     * <p>An alternative using a subclass:
     *
     * {@snippet :
     * return new Converter<Integer, String>() {
     *   @Override
     *   protected String doForward(Integer i) {
     *     return Integer.toHexString(i);
     *   }
     *
     *   @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        }
    
        @Test
        @DisplayName("connectWrapException wraps UnknownHostException and IOException")
        void connectWrapException_wraps_io_and_unkhost() throws Exception {
            // Subclass to control connect() behavior
            SmbTreeConnection c = new SmbTreeConnection(ctx) {
                @Override
                public SmbTreeHandleImpl connect(SmbResourceLocatorImpl loc) throws java.io.IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertEquals("single", item.getInputsValue());
        }
    
        public void test_getInputsValue_withNullInputs() {
            // Create item and then set inputs to null via reflection or subclass
            CharMappingItem item = new CharMappingItem(1L, new String[] { "temp" }, "output") {
                @Override
                public String getInputsValue() {
                    // Simulate null inputs scenario
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top