Change chapter title

This commit is contained in:
Bruce Eckel 2016-08-02 11:52:46 -06:00
parent 61d9e21317
commit 6ba51b055c
58 changed files with 58 additions and 58 deletions

View File

@ -2,7 +2,7 @@
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// {CompileTimeError} (Won't compile)
// {CompileTimeError} (Will not compile)
class Anything {}

View File

@ -2,7 +2,7 @@
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// {CompileTimeError} (Won't compile)
// {CompileTimeError} (Will not compile)
import java.util.function.*;
public class Closure3 {

View File

@ -2,7 +2,7 @@
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// {CompileTimeError} (Won't compile)
// {CompileTimeError} (Will not compile)
import java.util.function.*;
public class Closure5 {

View File

@ -2,7 +2,7 @@
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// {CompileTimeError} (Won't compile)
// {CompileTimeError} (Will not compile)
import java.util.function.*;
public class Closure7 {

View File

@ -2,7 +2,7 @@
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// {CompileTimeError} (Won't compile)
// {CompileTimeError} (Will not compile)
import java.util.*;
import java.util.function.*;

View File

@ -2,7 +2,7 @@
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// {CompileTimeError} (Won't compile)
// {CompileTimeError} (Will not compile)
public class Erased<T> {
private final int SIZE = 100;

View File

@ -2,7 +2,7 @@
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// {CompileTimeError} (Won't compile)
// {CompileTimeError} (Will not compile)
class Cat
extends ComparablePet implements Comparable<Cat>{

View File

@ -2,7 +2,7 @@
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// {CompileTimeError} (Won't compile)
// {CompileTimeError} (Will not compile)
interface Payable<T> {}

View File

@ -2,7 +2,7 @@
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// {CompileTimeError} (Won't compile)
// {CompileTimeError} (Will not compile)
import java.util.*;
public class NonCovariantGenerics {

View File

@ -2,7 +2,7 @@
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// {CompileTimeError} (Won't compile)
// {CompileTimeError} (Will not compile)
public class OverloadingVarargs2 {
static void f(float i, Character... args) {

View File

@ -2,7 +2,7 @@
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// {CompileTimeError} (Won't compile)
// {CompileTimeError} (Will not compile)
public class AttemptToUseBasic {
Basic b = new Basic();

View File

@ -3,7 +3,7 @@
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// Detecting a mistaken override using @Override
// {CompileTimeError} (Won't compile)
// {CompileTimeError} (Will not compile)
package polymorphism;
public class PrivateOverride2 {

View File

@ -2,7 +2,7 @@
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// {CompileTimeError} (Won't compile)
// {CompileTimeError} (Will not compile)
class Lisa extends Homer {
@Override void doh(Milhouse m) {

View File

@ -1,4 +1,4 @@
// collectionsindepth/AssociativeArray.java
// understandingcollections/AssociativeArray.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/Bits.java
// understandingcollections/Bits.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/CanonicalMapping.java
// understandingcollections/CanonicalMapping.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/CollectionMethods.java
// understandingcollections/CollectionMethods.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/CountedString.java
// understandingcollections/CountedString.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/Enumerations.java
// understandingcollections/Enumerations.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/FailFast.java
// understandingcollections/FailFast.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/FillMapTest.java
// understandingcollections/FillMapTest.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,8 +1,8 @@
// collectionsindepth/FillingLists.java
// understandingcollections/FillingLists.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
// The Collections.fill() & Collections.nCopies() methods
// The Collections.fill() + Collections.nCopies() methods
import java.util.*;
class StringAddress {

View File

@ -1,4 +1,4 @@
// collectionsindepth/Groundhog.java
// understandingcollections/Groundhog.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/Groundhog2.java
// understandingcollections/Groundhog2.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/IndividualTest.java
// understandingcollections/IndividualTest.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/LinkedHashMapDemo.java
// understandingcollections/LinkedHashMapDemo.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/ListPerformance.java
// understandingcollections/ListPerformance.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/ListSortSearch.java
// understandingcollections/ListSortSearch.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/Lists.java
// understandingcollections/Lists.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/MapEntry.java
// understandingcollections/MapEntry.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/MapPerformance.java
// understandingcollections/MapPerformance.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/Maps.java
// understandingcollections/Maps.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/Prediction.java
// understandingcollections/Prediction.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/QueueBehavior.java
// understandingcollections/QueueBehavior.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/RandomBounds.java
// understandingcollections/RandomBounds.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/ReadOnly.java
// understandingcollections/ReadOnly.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/References.java
// understandingcollections/References.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/SetPerformance.java
// understandingcollections/SetPerformance.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/SimpleDeques.java
// understandingcollections/SimpleDeques.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/SimpleHashMap.java
// understandingcollections/SimpleHashMap.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/SlowMap.java
// understandingcollections/SlowMap.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/SortedMapDemo.java
// understandingcollections/SortedMapDemo.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/SortedSetDemo.java
// understandingcollections/SortedSetDemo.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/SpringDetector.java
// understandingcollections/SpringDetector.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/SpringDetector2.java
// understandingcollections/SpringDetector2.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/Stacks.java
// understandingcollections/Stacks.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/StreamFillMaps.java
// understandingcollections/StreamFillMaps.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/StringHashCode.java
// understandingcollections/StringHashCode.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/SuppliersCollectionTest.java
// understandingcollections/SuppliersCollectionTest.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/Synchronization.java
// understandingcollections/Synchronization.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/Test.java
// understandingcollections/Test.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/TestParam.java
// understandingcollections/TestParam.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/Tester.java
// understandingcollections/Tester.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/ToDoList.java
// understandingcollections/ToDoList.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/TypesForSets.java
// understandingcollections/TypesForSets.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/Unsupported.java
// understandingcollections/Unsupported.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.

View File

@ -1,4 +1,4 @@
// collectionsindepth/Utilities.java
// understandingcollections/Utilities.java
// (c)2016 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.