Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Closeable (0.31 sec)

  1. guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/CloseableUtil.java

         * {@link #close(Closeable)}でも 例外が発生する可能性があります。その場合に{@literal finally}
         * ブロックから例外をスローすると、 {@literal try}ブロックで発生した元の例外が失われてしまいます。
         * </p>
         *
         * @param closeable
         *            クローズ可能なオブジェクト
         * @see Closeable#close()
         */
        public static void close(final Closeable closeable) {
            if (closeable == null) {
                return;
            }
            try {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closer.java

       * @return the given {@code closeable}
       */
      // close. this word no longer has any meaning to me.
      @CanIgnoreReturnValue
      @ParametricNullness
      public <C extends @Nullable Closeable> C register(@ParametricNullness C closeable) {
        if (closeable != null) {
          stack.addFirst(closeable);
        }
    
        return closeable;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        public <C extends @Nullable Object & @Nullable Closeable> C eventuallyClose(
            @ParametricNullness C closeable, Executor closingExecutor) {
          checkNotNull(closingExecutor);
          if (closeable != null) {
            list.add(closeable, closingExecutor);
          }
          return closeable;
        }
      }
    
      /**
       * An operation that computes a result.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/CopyUtil.java

    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.Closeable;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

     * directories but I hope to take care of this during the Maven 4.0 release (jvz).
     * </p>
     */
    public class MavenProject implements Cloneable {
    
        private static final Logger LOGGER = LoggerFactory.getLogger(MavenProject.class);
    
        public static final String EMPTY_PROJECT_GROUP_ID = "unknown";
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

    import org.eclipse.aether.RepositorySystemSession;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A Maven execution session.
     *
     */
    public class MavenSession implements Cloneable {
        private final MavenExecutionRequest request;
    
        private final MavenExecutionResult result;
    
        private final RepositorySystemSession repositorySystemSession;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/SLinkedList.java

    import java.lang.reflect.Array;
    import java.util.NoSuchElementException;
    
    /**
     * Seasar2用の連結リストです。
     *
     * @author higa
     * @param <E>
     *            要素の型
     *
     */
    public class SLinkedList<E> implements Cloneable, Externalizable {
    
        static final long serialVersionUID = 1L;
    
        private transient Entry header = new Entry(null, null, null);
    
        private transient int size = 0;
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/core/collection/ArrayMap.java

    /**
     * 配列の性質を併せ持つ {@link Map}です。
     *
     * @author higa
     * @param <K>
     *            キーの型
     * @param <V>
     *            値の型
     *
     */
    public class ArrayMap<K, V> extends AbstractMap<K, V> implements Map<K, V>, Cloneable, Externalizable {
    
        private static final long serialVersionUID = 1L;
    
        /** 初期容量のデフォルト値 */
        public static final int INITIAL_CAPACITY = 17;
    
        /** 負荷係数のデフォルト値 */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
Back to top