Date change
This commit is contained in:
parent
920d169dac
commit
8803c2ff77
@ -1,5 +1,5 @@
|
|||||||
// annotations/AtUnitComposition.java
|
// annotations/AtUnitComposition.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Creating non-embedded tests
|
// Creating non-embedded tests
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/AtUnitExample1.java
|
// annotations/AtUnitExample1.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// {java onjava.atunit.AtUnit
|
// {java onjava.atunit.AtUnit
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/AtUnitExample2.java
|
// annotations/AtUnitExample2.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Assertions and exceptions can be used in @Tests
|
// Assertions and exceptions can be used in @Tests
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/AtUnitExample3.java
|
// annotations/AtUnitExample3.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// {java onjava.atunit.AtUnit
|
// {java onjava.atunit.AtUnit
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/AtUnitExample4.java
|
// annotations/AtUnitExample4.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// {java onjava.atunit.AtUnit
|
// {java onjava.atunit.AtUnit
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/AtUnitExample5.java
|
// annotations/AtUnitExample5.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// {java onjava.atunit.AtUnit
|
// {java onjava.atunit.AtUnit
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/AtUnitExternalTest.java
|
// annotations/AtUnitExternalTest.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Creating non-embedded tests
|
// Creating non-embedded tests
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/HashSetTest.java
|
// annotations/HashSetTest.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// {java onjava.atunit.AtUnit
|
// {java onjava.atunit.AtUnit
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/PasswordUtils.java
|
// annotations/PasswordUtils.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/SimulatingNull.java
|
// annotations/SimulatingNull.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/StackL.java
|
// annotations/StackL.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// A stack built on a linkedList
|
// A stack built on a linkedList
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/StackLStringTest.java
|
// annotations/StackLStringTest.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Applying @Unit to generics
|
// Applying @Unit to generics
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/Testable.java
|
// annotations/Testable.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
package annotations;
|
package annotations;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/UseCase.java
|
// annotations/UseCase.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/UseCaseTracker.java
|
// annotations/UseCaseTracker.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.lang.reflect.*;
|
import java.lang.reflect.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/database/Constraints.java
|
// annotations/database/Constraints.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
package annotations.database;
|
package annotations.database;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/database/DBTable.java
|
// annotations/database/DBTable.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
package annotations.database;
|
package annotations.database;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/database/Member.java
|
// annotations/database/Member.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
package annotations.database;
|
package annotations.database;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/database/SQLInteger.java
|
// annotations/database/SQLInteger.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
package annotations.database;
|
package annotations.database;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/database/SQLString.java
|
// annotations/database/SQLString.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
package annotations.database;
|
package annotations.database;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/database/TableCreator.java
|
// annotations/database/TableCreator.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Reflection-based annotation processor
|
// Reflection-based annotation processor
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/database/Uniqueness.java
|
// annotations/database/Uniqueness.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Sample of nested annotations
|
// Sample of nested annotations
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/ifx/ExtractInterface.java
|
// annotations/ifx/ExtractInterface.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// javac-based annotation processing
|
// javac-based annotation processing
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/ifx/IfaceExtractorProcessor.java
|
// annotations/ifx/IfaceExtractorProcessor.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// javac-based annotation processing
|
// javac-based annotation processing
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/ifx/Multiplier.java
|
// annotations/ifx/Multiplier.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// javac-based annotation processing
|
// javac-based annotation processing
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/simplest/Simple.java
|
// annotations/simplest/Simple.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// A bare-bones annotation
|
// A bare-bones annotation
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/simplest/SimpleProcessor.java
|
// annotations/simplest/SimpleProcessor.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// A bare-bones annotation processor
|
// A bare-bones annotation processor
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// annotations/simplest/SimpleTest.java
|
// annotations/simplest/SimpleTest.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Test the "Simple" annotation
|
// Test the "Simple" annotation
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/AlphabeticSearch.java
|
// arrays/AlphabeticSearch.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Searching with a Comparator import
|
// Searching with a Comparator import
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ArrayCopying.java
|
// arrays/ArrayCopying.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Demonstrate Arrays.copy() and Arrays.copyOf()
|
// Demonstrate Arrays.copy() and Arrays.copyOf()
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ArrayOfGenericType.java
|
// arrays/ArrayOfGenericType.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ArrayOfGenerics.java
|
// arrays/ArrayOfGenerics.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ArrayOptions.java
|
// arrays/ArrayOptions.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Initialization & re-assignment of arrays
|
// Initialization & re-assignment of arrays
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ArraySearching.java
|
// arrays/ArraySearching.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Using Arrays.binarySearch()
|
// Using Arrays.binarySearch()
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/AssemblingMultidimensionalArrays.java
|
// arrays/AssemblingMultidimensionalArrays.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Creating multidimensional arrays
|
// Creating multidimensional arrays
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/AutoboxingArrays.java
|
// arrays/AutoboxingArrays.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/CollectionComparison.java
|
// arrays/CollectionComparison.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/CompType.java
|
// arrays/CompType.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Implementing Comparable in a class
|
// Implementing Comparable in a class
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ComparatorTest.java
|
// arrays/ComparatorTest.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Implementing a Comparator for a class
|
// Implementing a Comparator for a class
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ComparingArrays.java
|
// arrays/ComparingArrays.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Using Arrays.equals()
|
// Using Arrays.equals()
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/CountUpward.java
|
// arrays/CountUpward.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/FillingArrays.java
|
// arrays/FillingArrays.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Using Arrays.fill()
|
// Using Arrays.fill()
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/IceCreamFlavors.java
|
// arrays/IceCreamFlavors.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Returning arrays from methods
|
// Returning arrays from methods
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ModifyExisting.java
|
// arrays/ModifyExisting.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/MultiDimWrapperArray.java
|
// arrays/MultiDimWrapperArray.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Multidimensional arrays of "wrapper" objects
|
// Multidimensional arrays of "wrapper" objects
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/MultidimensionalObjectArrays.java
|
// arrays/MultidimensionalObjectArrays.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/MultidimensionalPrimitiveArray.java
|
// arrays/MultidimensionalPrimitiveArray.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ParallelPrefix1.java
|
// arrays/ParallelPrefix1.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ParallelPrefix2.java
|
// arrays/ParallelPrefix2.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ParallelPrefix3.java
|
// arrays/ParallelPrefix3.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ParallelSetAll.java
|
// arrays/ParallelSetAll.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ParameterizedArrayType.java
|
// arrays/ParameterizedArrayType.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# arrays/PythonLists.py
|
# arrays/PythonLists.py
|
||||||
# (c)2016 MindView LLC: see Copyright.txt
|
# (c)2017 MindView LLC: see Copyright.txt
|
||||||
# We make no guarantees that this code is fit for any purpose.
|
# We make no guarantees that this code is fit for any purpose.
|
||||||
# Visit http://OnJava8.com for more book information.
|
# Visit http://OnJava8.com for more book information.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/RaggedArray.java
|
// arrays/RaggedArray.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/Reverse.java
|
// arrays/Reverse.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// The Collections.reverseOrder() Comparator
|
// The Collections.reverseOrder() Comparator
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/SimpleSetAll.java
|
// arrays/SimpleSetAll.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/StreamFromArray.java
|
// arrays/StreamFromArray.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/StringSorting.java
|
// arrays/StringSorting.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Sorting an array of Strings
|
// Sorting an array of Strings
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/TestConvertTo.java
|
// arrays/TestConvertTo.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/TestCount.java
|
// arrays/TestCount.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Test counting generators
|
// Test counting generators
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/TestRand.java
|
// arrays/TestRand.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Test random generators
|
// Test random generators
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/ThreeDWithNew.java
|
// arrays/ThreeDWithNew.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// arrays/jmh/ParallelSort.java
|
// arrays/jmh/ParallelSort.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
package arrays.jmh;
|
package arrays.jmh;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/AdapterMethodIdiom.java
|
// collections/AdapterMethodIdiom.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// The "Adapter Method" idiom uses for-in
|
// The "Adapter Method" idiom uses for-in
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/AddingGroups.java
|
// collections/AddingGroups.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Adding groups of elements to Collection objects
|
// Adding groups of elements to Collection objects
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/ApplesAndOrangesWithGenerics.java
|
// collections/ApplesAndOrangesWithGenerics.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/ApplesAndOrangesWithoutGenerics.java
|
// collections/ApplesAndOrangesWithoutGenerics.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Simple collection use (suppressing compiler warnings)
|
// Simple collection use (suppressing compiler warnings)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/ArrayIsNotIterable.java
|
// collections/ArrayIsNotIterable.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/AsListInference.java
|
// collections/AsListInference.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/CollectionDifferences.java
|
// collections/CollectionDifferences.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import onjava.*;
|
import onjava.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/CollectionSequence.java
|
// collections/CollectionSequence.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import typeinfo.pets.*;
|
import typeinfo.pets.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/CrossCollectionIteration.java
|
// collections/CrossCollectionIteration.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import typeinfo.pets.*;
|
import typeinfo.pets.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/CrossCollectionIteration2.java
|
// collections/CrossCollectionIteration2.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import typeinfo.pets.*;
|
import typeinfo.pets.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/EnvironmentVariables.java
|
// collections/EnvironmentVariables.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// {ValidateByHand}
|
// {ValidateByHand}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/ForInCollections.java
|
// collections/ForInCollections.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// All collections work with for-in
|
// All collections work with for-in
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/GenericsAndUpcasting.java
|
// collections/GenericsAndUpcasting.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/InterfaceVsIterator.java
|
// collections/InterfaceVsIterator.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import typeinfo.pets.*;
|
import typeinfo.pets.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/IterableClass.java
|
// collections/IterableClass.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Anything Iterable works with for-in
|
// Anything Iterable works with for-in
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/LinkedListFeatures.java
|
// collections/LinkedListFeatures.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import typeinfo.pets.*;
|
import typeinfo.pets.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/ListFeatures.java
|
// collections/ListFeatures.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import typeinfo.pets.*;
|
import typeinfo.pets.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/ListIteration.java
|
// collections/ListIteration.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import typeinfo.pets.*;
|
import typeinfo.pets.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/MapOfList.java
|
// collections/MapOfList.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// {java collections.MapOfList}
|
// {java collections.MapOfList}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/ModifyingArraysAsList.java
|
// collections/ModifyingArraysAsList.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/MultiIterableClass.java
|
// collections/MultiIterableClass.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Adding several Adapter Methods
|
// Adding several Adapter Methods
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/NonCollectionSequence.java
|
// collections/NonCollectionSequence.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import typeinfo.pets.*;
|
import typeinfo.pets.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/PetMap.java
|
// collections/PetMap.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import typeinfo.pets.*;
|
import typeinfo.pets.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/PrintingCollections.java
|
// collections/PrintingCollections.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Collections print themselves automatically
|
// Collections print themselves automatically
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/PriorityQueueDemo.java
|
// collections/PriorityQueueDemo.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/QueueDemo.java
|
// collections/QueueDemo.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Upcasting to a Queue from a LinkedList
|
// Upcasting to a Queue from a LinkedList
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/SetOfInteger.java
|
// collections/SetOfInteger.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/SetOfString.java
|
// collections/SetOfString.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/SetOperations.java
|
// collections/SetOperations.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/SimpleCollection.java
|
// collections/SimpleCollection.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/SimpleIteration.java
|
// collections/SimpleIteration.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import typeinfo.pets.*;
|
import typeinfo.pets.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/SortedSetOfString.java
|
// collections/SortedSetOfString.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/StackCollision.java
|
// collections/StackCollision.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/StackTest.java
|
// collections/StackTest.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/StackTest2.java
|
// collections/StackTest2.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import onjava.*;
|
import onjava.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/Statistics.java
|
// collections/Statistics.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
// Simple demonstration of HashMap
|
// Simple demonstration of HashMap
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// collections/UniqueWords.java
|
// collections/UniqueWords.java
|
||||||
// (c)2016 MindView LLC: see Copyright.txt
|
// (c)2017 MindView LLC: see Copyright.txt
|
||||||
// We make no guarantees that this code is fit for any purpose.
|
// We make no guarantees that this code is fit for any purpose.
|
||||||
// Visit http://OnJava8.com for more book information.
|
// Visit http://OnJava8.com for more book information.
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user