本书的所有源代码都可以以保留版权的免费软件的形式得到,它们是以一个单一包的形式发
布的,访问 网站便可获取。为了确保你获得的是最新版本,这个
发布这些源代码和本书电子版的网站是一个官方网站。你也可以在其他站点上找到这本电子
书籍和这些代码的镜像版本(有一些站点已经在 列出),不过你
应该检查这个官方网站以确保镜像版本确实是最新的版本。你可以在课堂或其他的教育场所
发布这些代码。
保留版权的主要目的是为了确保源代码能够被正确地引用,并且防止在未经许可的情况下,
在打印媒体中重新发布这些代码。(只要说明是引用了这些代码,那么在大多数媒介中使用
本书中的示例通常不是问题。)
在每个源码文件中,都可以发现下述版本声明文字:
This computer source code is Copyright ©2003 MindView, Inc.All Rights Reserved.
Permission to use, copy, modify, and distribute this computer source code
(Source Code) and its documentation without fee and without a written agreement
for the purposes set forth below is hereby granted, provided that the above
copyright notice, this paragraph and the following five numbered paragraphs
appear in all copies.
1. Permission is granted to compile the Source Code and to include the compiled
code, in executable format only, in personal and commercial software programs.
2. Permission is granted to use the Source Code without modification in classroom
situations, including in presentation materials, provided that the book
"Thinking in Java" is cited as the origin.
3. Permission to incorporate the Source Code into printed
media may be obtained by contacting
MindView, Inc. 5343 Valle Vista La Mesa, California 91941
Wayne@MindView.net
4. The Source Code and documentation are copyrighted by MindView, Inc. The Source
code is provided without express or implied warranty of any kind, including any
implied warranty of merchantability, fitness for a particular purpose or
non-infringement. MindView, Inc. does not warrant that the operation of any
program that includes the Source Code will be uninterrupted or error- free.
MindView, Inc. makes no representation about the suitability of the Source Code
or of any software that includes the Source Code for any purpose. The entire
risk as to the quality and performance of any program that includes the Source
code is with the user of the Source Code. The user understands that the Source
Code was developed for research and instructional purposes and is advised not
to rely
exclusively for any reason on the Source Code or any program that includes the
Source Code. Should the Source Code or any resulting software prove defective,
the user assumes the cost of all necessary servicing, repair, or correction.
5. IN NO EVENT SHALL MINDVIEW, INC., OR ITS PUBLISHER BE LIABLE TO ANY PARTY
UNDER ANY LEGAL THEORY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, BUSINESS INTERRUPTION, LOSS OF
BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS, OR FOR PERSONAL INJURIES,
ARISING OUT OF THE USE OF THIS SOURCE CODE AND ITS DOCUMENTATION, OR ARISING
OUT OF THE INABILITY TO USE ANY RESULTING PROGRAM, EVEN IF MINDVIEW, INC., OR
ITS PUBLISHER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. MINDVIEW, INC.
SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
SOURCE CODE AND DOCUMENTATION PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, WITHOUT
ANY ACCOMPANYING
SERVICES FROM MINDVIEW, INC., AND MINDVIEW, INC. HAS NO OBLIGATIONS TO PROVIDE
MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
Please note that MindView, Inc. maintains a web site which is the sole
distribution point for electronic copies of the Source Code,
http://www.BruceEckel.com (and official mirror sites), where it is freely
available under the terms stated above.
If you think you've found an error in the Source Code, please submit a correction
using the URL marked "feedback" in the electronic version of the book, nearest
the error you've found.
你可以在自己的项目中引用这些代码,也可以在课堂上引用它们(包括你的演示材料),只
布的,访问 网站便可获取。为了确保你获得的是最新版本,这个
发布这些源代码和本书电子版的网站是一个官方网站。你也可以在其他站点上找到这本电子
书籍和这些代码的镜像版本(有一些站点已经在 列出),不过你
应该检查这个官方网站以确保镜像版本确实是最新的版本。你可以在课堂或其他的教育场所
发布这些代码。
保留版权的主要目的是为了确保源代码能够被正确地引用,并且防止在未经许可的情况下,
在打印媒体中重新发布这些代码。(只要说明是引用了这些代码,那么在大多数媒介中使用
本书中的示例通常不是问题。)
在每个源码文件中,都可以发现下述版本声明文字:
This computer source code is Copyright ©2003 MindView, Inc.All Rights Reserved.
Permission to use, copy, modify, and distribute this computer source code
(Source Code) and its documentation without fee and without a written agreement
for the purposes set forth below is hereby granted, provided that the above
copyright notice, this paragraph and the following five numbered paragraphs
appear in all copies.
1. Permission is granted to compile the Source Code and to include the compiled
code, in executable format only, in personal and commercial software programs.
2. Permission is granted to use the Source Code without modification in classroom
situations, including in presentation materials, provided that the book
"Thinking in Java" is cited as the origin.
3. Permission to incorporate the Source Code into printed
media may be obtained by contacting
MindView, Inc. 5343 Valle Vista La Mesa, California 91941
Wayne@MindView.net
4. The Source Code and documentation are copyrighted by MindView, Inc. The Source
code is provided without express or implied warranty of any kind, including any
implied warranty of merchantability, fitness for a particular purpose or
non-infringement. MindView, Inc. does not warrant that the operation of any
program that includes the Source Code will be uninterrupted or error- free.
MindView, Inc. makes no representation about the suitability of the Source Code
or of any software that includes the Source Code for any purpose. The entire
risk as to the quality and performance of any program that includes the Source
code is with the user of the Source Code. The user understands that the Source
Code was developed for research and instructional purposes and is advised not
to rely
exclusively for any reason on the Source Code or any program that includes the
Source Code. Should the Source Code or any resulting software prove defective,
the user assumes the cost of all necessary servicing, repair, or correction.
5. IN NO EVENT SHALL MINDVIEW, INC., OR ITS PUBLISHER BE LIABLE TO ANY PARTY
UNDER ANY LEGAL THEORY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, BUSINESS INTERRUPTION, LOSS OF
BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS, OR FOR PERSONAL INJURIES,
ARISING OUT OF THE USE OF THIS SOURCE CODE AND ITS DOCUMENTATION, OR ARISING
OUT OF THE INABILITY TO USE ANY RESULTING PROGRAM, EVEN IF MINDVIEW, INC., OR
ITS PUBLISHER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. MINDVIEW, INC.
SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
SOURCE CODE AND DOCUMENTATION PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, WITHOUT
ANY ACCOMPANYING
SERVICES FROM MINDVIEW, INC., AND MINDVIEW, INC. HAS NO OBLIGATIONS TO PROVIDE
MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
Please note that MindView, Inc. maintains a web site which is the sole
distribution point for electronic copies of the Source Code,
http://www.BruceEckel.com (and official mirror sites), where it is freely
available under the terms stated above.
If you think you've found an error in the Source Code, please submit a correction
using the URL marked "feedback" in the electronic version of the book, nearest
the error you've found.
你可以在自己的项目中引用这些代码,也可以在课堂上引用它们(包括你的演示材料),只
要保留每个源文件中出现的保留版权声明即可。