Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 351 for wraps (0.01 sec)

  1. src/main/java/org/codelibs/core/io/LineIterator.java

        protected String line = EMPTY;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link LineIterator} for use in enhanced for-loops.
         *
         * @param reader
         *            The {@link Reader} to read strings from. Must not be {@literal null}.
         * @return An {@link Iterable} that wraps a {@link LineIterator}.
         */
        public static Iterable<String> iterable(final Reader reader) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/PropertiesUtil.java

     *
     * @author higa
     */
    public abstract class PropertiesUtil {
    
        /**
         * Do not instantiate.
         */
        protected PropertiesUtil() {
        }
    
        /**
         * Wraps exception handling for {@link Properties#load(InputStream)}.
         * <p>
         * The input stream is not closed.
         * </p>
         *
         * @param props the property set (must not be {@literal null})
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/IndexedIterator.java

        /** {@link Iterator} */
        protected final Iterator<T> iterator;
    
        /** The index of the iterator. */
        protected int index;
    
        /**
         * Returns an {@link Iterable} that wraps an {@link IndexedIterator} for use in a for-each statement.
         *
         * @param <T> the element type
         * @param iterable the iterable (must not be {@literal null})
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. tests/test_wrapped_method_forward_reference.py

    
    def passthrough(f):
        @functools.wraps(f)
        def method(*args, **kwargs):
            return f(*args, **kwargs)
    
        return method
    
    
    def test_wrapped_method_type_inference():
        """
        Regression test ensuring that when a method imported from another module
        is decorated with something that sets the __wrapped__ attribute (functools.wraps),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:23:14 UTC 2025
    - 997 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ClassIterator.java

        protected Class<?> clazz;
    
        /** If {@link Object} class should also be iterated, set to {@literal true} */
        protected final boolean includeObject;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link ClassIterator} for use in a for-each statement.
         *
         * @param clazz the class (must not be {@literal null})
         * @return an {@link Iterable} wrapping a {@link ClassIterator}
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PrefixedObjectValueSource.java

    import org.codehaus.plexus.interpolation.PrefixedValueSourceWrapper;
    import org.codehaus.plexus.interpolation.QueryEnabledValueSource;
    
    /**
     * Wraps an arbitrary object with an {@link ObjectBasedValueSource} instance, then
     * wraps that source with a {@link PrefixedValueSourceWrapper} instance, to which
     * this class delegates all of its calls.
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.InputStream;
    
    import org.codelibs.core.io.FileUtil;
    
    /**
     * A custom InputStream that wraps a temporary file. This class ensures that the temporary file
     * is deleted when the stream is closed.
     */
    public class TemporaryFileInputStream extends InputStream {
    
        private final File tempFile;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/ClIllegalStateException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    /**
     * Exception that wraps {@link IllegalStateException}.
     *
     * @author wyukawa
     */
    public class ClIllegalStateException extends IllegalStateException {
    
        private static final long serialVersionUID = -2154525994315946504L;
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/InvocationTargetRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.lang.reflect.InvocationTargetException;
    
    /**
     * Exception that wraps {@link InvocationTargetException}.
     *
     * @author higa
     */
    public class InvocationTargetRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 7760491787158046906L;
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactoryException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    /**
     * Exception thrown when toolchain factory operations fail.
     *
     * <p>This exception wraps errors that occur during toolchain creation or initialization.</p>
     */
    public class ToolchainFactoryException extends MavenException {
    
        public ToolchainFactoryException(String message) {
            super(message);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top