Update copyright date

This commit is contained in:
Bruce Eckel 2020-10-07 13:35:40 -06:00
parent 1c7a101b47
commit 6457a1dee5
1025 changed files with 1025 additions and 1025 deletions

View File

@ -1,5 +1,5 @@
// annotations/AUComposition.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Creating non-embedded tests

View File

@ -1,5 +1,5 @@
// annotations/AUExternalTest.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Creating non-embedded tests

View File

@ -1,5 +1,5 @@
// annotations/AtUnitExample1.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// {java onjava.atunit.AtUnit

View File

@ -1,5 +1,5 @@
// annotations/AtUnitExample2.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Assertions and exceptions can be used in @Tests

View File

@ -1,5 +1,5 @@
// annotations/AtUnitExample3.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// {java onjava.atunit.AtUnit

View File

@ -1,5 +1,5 @@
// annotations/AtUnitExample4.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// {java onjava.atunit.AtUnit

View File

@ -1,5 +1,5 @@
// annotations/AtUnitExample5.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// {java onjava.atunit.AtUnit

View File

@ -1,5 +1,5 @@
// annotations/DemoProcessFiles.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import onjava.ProcessFiles;

View File

@ -1,5 +1,5 @@
// annotations/HashSetTest.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// {java onjava.atunit.AtUnit

View File

@ -1,5 +1,5 @@
// annotations/PasswordUtils.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// annotations/SimulatingNull.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.lang.annotation.*;

View File

@ -1,5 +1,5 @@
// annotations/StackL.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// A stack built on a LinkedList

View File

@ -1,5 +1,5 @@
// annotations/StackLStringTst.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Applying @Unit to generics

View File

@ -1,5 +1,5 @@
// annotations/Testable.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
package annotations;

View File

@ -1,5 +1,5 @@
// annotations/UseCase.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.lang.annotation.*;

View File

@ -1,5 +1,5 @@
// annotations/UseCaseTracker.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// annotations/database/Constraints.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
package annotations.database;

View File

@ -1,5 +1,5 @@
// annotations/database/DBTable.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
package annotations.database;

View File

@ -1,5 +1,5 @@
// annotations/database/Member.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
package annotations.database;

View File

@ -1,5 +1,5 @@
// annotations/database/SQLInteger.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
package annotations.database;

View File

@ -1,5 +1,5 @@
// annotations/database/SQLString.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
package annotations.database;

View File

@ -1,5 +1,5 @@
// annotations/database/TableCreator.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Reflection-based annotation processor

View File

@ -1,5 +1,5 @@
// annotations/database/Uniqueness.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Sample of nested annotations

View File

@ -1,5 +1,5 @@
// annotations/ifx/ExtractInterface.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// javac-based annotation processing

View File

@ -1,5 +1,5 @@
// annotations/ifx/IfaceExtractorProcessor.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// javac-based annotation processing

View File

@ -1,5 +1,5 @@
// annotations/ifx/Multiplier.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// javac-based annotation processing

View File

@ -1,5 +1,5 @@
// annotations/simplest/Simple.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// A bare-bones annotation

View File

@ -1,5 +1,5 @@
// annotations/simplest/SimpleProcessor.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// A bare-bones annotation processor

View File

@ -1,5 +1,5 @@
// annotations/simplest/SimpleTest.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Test the "Simple" annotation

View File

@ -1,5 +1,5 @@
// arrays/AlphabeticSearch.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Searching with a Comparator import

View File

@ -1,5 +1,5 @@
// arrays/ArrayCopying.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Demonstrate Arrays.copy() and Arrays.copyOf()

View File

@ -1,5 +1,5 @@
// arrays/ArrayOfGenericType.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.

View File

@ -1,5 +1,5 @@
// arrays/ArrayOfGenerics.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/ArrayOptions.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Initialization & re-assignment of arrays

View File

@ -1,5 +1,5 @@
// arrays/ArraySearching.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Using Arrays.binarySearch()

View File

@ -1,5 +1,5 @@
// arrays/AssemblingMultidimensionalArrays.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Creating multidimensional arrays

View File

@ -1,5 +1,5 @@
// arrays/AutoboxingArrays.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/CollectionComparison.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/CompType.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Implementing Comparable in a class

View File

@ -1,5 +1,5 @@
// arrays/ComparatorTest.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Implementing a Comparator for a class

View File

@ -1,5 +1,5 @@
// arrays/ComparingArrays.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Using Arrays.equals()

View File

@ -1,5 +1,5 @@
// arrays/CountUpward.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/FillingArrays.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Using Arrays.fill()

View File

@ -1,5 +1,5 @@
// arrays/IceCreamFlavors.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Returning arrays from methods

View File

@ -1,5 +1,5 @@
// arrays/ModifyExisting.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/MultiDimWrapperArray.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Multidimensional arrays of "wrapper" objects

View File

@ -1,5 +1,5 @@
// arrays/MultidimensionalObjectArrays.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/MultidimensionalPrimitiveArray.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/ParallelPrefix1.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/ParallelPrefix2.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/ParallelPrefix3.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// {ExcludeFromTravisCI}

View File

@ -1,5 +1,5 @@
// arrays/ParallelSetAll.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/ParameterizedArrayType.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.

View File

@ -1,5 +1,5 @@
# arrays/PythonLists.py
# (c)2017 MindView LLC: see Copyright.txt
# (c)2020 MindView LLC: see Copyright.txt
# We make no guarantees that this code is fit for any purpose.
# Visit http://OnJava8.com for more book information.

View File

@ -1,5 +1,5 @@
// arrays/RaggedArray.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/Reverse.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// The Collections.reverseOrder() Comparator

View File

@ -1,5 +1,5 @@
// arrays/SimpleSetAll.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/StreamFromArray.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/StringSorting.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Sorting an array of Strings

View File

@ -1,5 +1,5 @@
// arrays/TestConvertTo.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/TestCount.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Test counting generators

View File

@ -1,5 +1,5 @@
// arrays/TestRand.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Test random generators

View File

@ -1,5 +1,5 @@
// arrays/ThreeDWithNew.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// arrays/jmh/ParallelSort.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
package arrays.jmh;

View File

@ -1,5 +1,5 @@
// collections/AdapterMethodIdiom.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// The "Adapter Method" idiom uses for-in

View File

@ -1,5 +1,5 @@
// collections/AddingGroups.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Adding groups of elements to Collection objects

View File

@ -1,5 +1,5 @@
// collections/ApplesAndOrangesWithGenerics.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// collections/ApplesAndOrangesWithoutGenerics.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Simple collection use (suppressing compiler warnings)

View File

@ -1,5 +1,5 @@
// collections/ArrayIsNotIterable.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// collections/AsListInference.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// collections/CollectionDifferences.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import onjava.*;

View File

@ -1,5 +1,5 @@
// collections/CollectionSequence.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import typeinfo.pets.*;

View File

@ -1,5 +1,5 @@
// collections/CrossCollectionIteration.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import typeinfo.pets.*;

View File

@ -1,5 +1,5 @@
// collections/CrossCollectionIteration2.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import typeinfo.pets.*;

View File

@ -1,5 +1,5 @@
// collections/EnvironmentVariables.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// {VisuallyInspectOutput}

View File

@ -1,5 +1,5 @@
// collections/ForInCollections.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// All collections work with for-in

View File

@ -1,5 +1,5 @@
// collections/GenericsAndUpcasting.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// collections/InterfaceVsIterator.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import typeinfo.pets.*;

View File

@ -1,5 +1,5 @@
// collections/IterableClass.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Anything Iterable works with for-in

View File

@ -1,5 +1,5 @@
// collections/LinkedListFeatures.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import typeinfo.pets.*;

View File

@ -1,5 +1,5 @@
// collections/ListFeatures.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import typeinfo.pets.*;

View File

@ -1,5 +1,5 @@
// collections/ListIteration.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import typeinfo.pets.*;

View File

@ -1,5 +1,5 @@
// collections/MapOfList.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// {java collections.MapOfList}

View File

@ -1,5 +1,5 @@
// collections/ModifyingArraysAsList.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// collections/MultiIterableClass.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Adding several Adapter Methods

View File

@ -1,5 +1,5 @@
// collections/NonCollectionSequence.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import typeinfo.pets.*;

View File

@ -1,5 +1,5 @@
// collections/PetMap.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import typeinfo.pets.*;

View File

@ -1,5 +1,5 @@
// collections/PrintingCollections.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Collections print themselves automatically

View File

@ -1,5 +1,5 @@
// collections/PriorityQueueDemo.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// collections/QueueDemo.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Upcasting to a Queue from a LinkedList

View File

@ -1,5 +1,5 @@
// collections/SetOfInteger.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// collections/SetOfString.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// collections/SetOperations.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// collections/SimpleCollection.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// collections/SimpleIteration.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import typeinfo.pets.*;

View File

@ -1,5 +1,5 @@
// collections/SortedSetOfString.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// collections/StackCollision.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.

View File

@ -1,5 +1,5 @@
// collections/StackTest.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;

View File

@ -1,5 +1,5 @@
// collections/StackTest2.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import onjava.*;

View File

@ -1,5 +1,5 @@
// collections/Statistics.java
// (c)2017 MindView LLC: see Copyright.txt
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Simple demonstration of HashMap

Some files were not shown because too many files have changed in this diff Show More