• 大小: 0.13M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-01
  • 标签: effective  

资源简介

effective java 第三版本官方源代码,亲测可用。effective java 第三版本官方源代码,亲测可用。

资源截图

代码片段和文件信息

package effectivejava.chapter10.item74;

public class IndexOutOfBoundsException extends RuntimeException {
    private final int lowerBound;
    private final int upperBound;
    private final int index;

    /**
     * Constructs an IndexOutOfBoundsException.
     *
     * @param lowerBound the lowest legal index value
     * @param upperBound the highest legal index value plus one
     * @param index      the actual index value
     */
    public IndexOutOfBoundsException(int lowerBound int upperBound
                                     int index) {
        // Generate a detail message that captures the failure
        super(String.format(
                “Lower bound: %d Upper bound: %d Index: %d“
                lowerBound upperBound index));

        // Save failure informatio

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\
     文件        1392  2018-08-13 21:16  effective-java-3e-source-code-master\.gitignore
     文件         193  2018-08-13 21:16  effective-java-3e-source-code-master\README.md
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\src\
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter10\
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter10\item74\
     文件         938  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter10\item74\IndexOutOfBoundsException.java
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item78\
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item78\brokenstopthread\
     文件         566  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item78\brokenstopthread\StopThread.java
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item78\fixedstopthread1\
     文件         732  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item78\fixedstopthread1\StopThread.java
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item78\fixedstopthread2\
     文件         560  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item78\fixedstopthread2\StopThread.java
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item79\
     文件        1339  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item79\ForwardingSet.java
     文件        2189  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item79\ObservableSet.java
     文件         235  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item79\SetObserver.java
     文件         391  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item79\Test1.java
     文件         594  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item79\Test2.java
     文件        1179  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item79\Test3.java
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item81\
     文件        1316  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item81\ConcurrentTimer.java
     文件         824  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item81\Intern.java
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item83\
     文件          68  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item83\FieldType.java
     文件        1590  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item83\Initialization.java
     目录           0  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item84\
     文件         612  2018-08-13 21:16  effective-java-3e-source-code-master\src\effectivejava\chapter11\item84\SlowCountDownLatch.java
............此处省略237个文件信息

评论

共有 条评论