Download effective java examples Free Java Code
Description
Source code to the book "Effective Java Second Edition" created by Joshua Bloch.
Source Files
The download file effective-java-examples-master.zip has the following entries.
.gitignore//from w w w . j a v a2 s . c om
README.md
pom.xml
src/main/java/org/effectivejava/examples/chapter02/item01/Provider.java
src/main/java/org/effectivejava/examples/chapter02/item01/Service.java
src/main/java/org/effectivejava/examples/chapter02/item01/Services.java
src/main/java/org/effectivejava/examples/chapter02/item01/Test.java
src/main/java/org/effectivejava/examples/chapter02/item02/builder/NutritionFacts.java
src/main/java/org/effectivejava/examples/chapter02/item02/javabeans/NutritionFacts.java
src/main/java/org/effectivejava/examples/chapter02/item02/telescopingconstructor/NutritionFacts.java
src/main/java/org/effectivejava/examples/chapter02/item03/enumoration/Elvis.java
src/main/java/org/effectivejava/examples/chapter02/item03/field/Elvis.java
src/main/java/org/effectivejava/examples/chapter02/item03/method/Elvis.java
src/main/java/org/effectivejava/examples/chapter02/item03/serializable/Elvis.java
src/main/java/org/effectivejava/examples/chapter02/item04/UtilityClass.java
src/main/java/org/effectivejava/examples/chapter02/item05/Sum.java
src/main/java/org/effectivejava/examples/chapter02/item05/fastversion/Person.java
src/main/java/org/effectivejava/examples/chapter02/item05/slowversion/Person.java
src/main/java/org/effectivejava/examples/chapter02/item06/EmptyStackException.java
src/main/java/org/effectivejava/examples/chapter02/item06/Stack.java
src/main/java/org/effectivejava/examples/chapter03/item08/CaseInsensitiveString.java
src/main/java/org/effectivejava/examples/chapter03/item08/Color.java
src/main/java/org/effectivejava/examples/chapter03/item08/ColorPoint.java
src/main/java/org/effectivejava/examples/chapter03/item08/CounterPoint.java
src/main/java/org/effectivejava/examples/chapter03/item08/CounterPointTest.java
src/main/java/org/effectivejava/examples/chapter03/item08/Point.java
src/main/java/org/effectivejava/examples/chapter03/item08/composition/Color.java
src/main/java/org/effectivejava/examples/chapter03/item08/composition/ColorPoint.java
src/main/java/org/effectivejava/examples/chapter03/item08/composition/Point.java
src/main/java/org/effectivejava/examples/chapter03/item09/PhoneNumber.java
src/main/java/org/effectivejava/examples/chapter03/item10/PhoneNumber.java
src/main/java/org/effectivejava/examples/chapter03/item11/EmptyStackException.java
src/main/java/org/effectivejava/examples/chapter03/item11/PhoneNumber.java
src/main/java/org/effectivejava/examples/chapter03/item11/Stack.java
src/main/java/org/effectivejava/examples/chapter03/item12/PhoneNumber.java
src/main/java/org/effectivejava/examples/chapter03/item12/WordList.java
src/main/java/org/effectivejava/examples/chapter04/Item20/hierarchy/Circle.java
src/main/java/org/effectivejava/examples/chapter04/Item20/hierarchy/Figure.java
src/main/java/org/effectivejava/examples/chapter04/Item20/hierarchy/Rectangle.java
src/main/java/org/effectivejava/examples/chapter04/Item20/hierarchy/Square.java
src/main/java/org/effectivejava/examples/chapter04/Item20/taggedclass/Figure.java
src/main/java/org/effectivejava/examples/chapter04/item14/Point.java
src/main/java/org/effectivejava/examples/chapter04/item14/Time.java
src/main/java/org/effectivejava/examples/chapter04/item15/Complex.java
src/main/java/org/effectivejava/examples/chapter04/item16/ForwardingSet.java
src/main/java/org/effectivejava/examples/chapter04/item16/InstrumentedHashSet.java
src/main/java/org/effectivejava/examples/chapter04/item16/InstrumentedSet.java
src/main/java/org/effectivejava/examples/chapter04/item17/Sub.java
src/main/java/org/effectivejava/examples/chapter04/item17/Super.java
src/main/java/org/effectivejava/examples/chapter04/item18/AbstractMapEntry.java
src/main/java/org/effectivejava/examples/chapter04/item18/IntArrays.java
src/main/java/org/effectivejava/examples/chapter04/item19/PhysicalConstants.java
src/main/java/org/effectivejava/examples/chapter05/item23/Raw.java
src/main/java/org/effectivejava/examples/chapter05/item25/Function.java
src/main/java/org/effectivejava/examples/chapter05/item25/Reduction.java
src/main/java/org/effectivejava/examples/chapter05/item26/firsttechnqiue/EmptyStackException.java
src/main/java/org/effectivejava/examples/chapter05/item26/firsttechnqiue/Stack.java
src/main/java/org/effectivejava/examples/chapter05/item26/secondtechnqiue/EmptyStackException.java
src/main/java/org/effectivejava/examples/chapter05/item26/secondtechnqiue/Stack.java
src/main/java/org/effectivejava/examples/chapter05/item27/GenericSingletonFactory.java
src/main/java/org/effectivejava/examples/chapter05/item27/GenericStaticFactory.java
src/main/java/org/effectivejava/examples/chapter05/item27/RecursiveTypeBound.java
src/main/java/org/effectivejava/examples/chapter05/item27/UnaryFunction.java
src/main/java/org/effectivejava/examples/chapter05/item27/Union.java
src/main/java/org/effectivejava/examples/chapter05/item28/EmptyStackException.java
src/main/java/org/effectivejava/examples/chapter05/item28/Function.java
src/main/java/org/effectivejava/examples/chapter05/item28/RecursiveTypeBound.java
src/main/java/org/effectivejava/examples/chapter05/item28/Reduction.java
src/main/java/org/effectivejava/examples/chapter05/item28/Stack.java
src/main/java/org/effectivejava/examples/chapter05/item28/Swap.java
src/main/java/org/effectivejava/examples/chapter05/item28/Union.java
src/main/java/org/effectivejava/examples/chapter05/item29/Favorites.java
src/main/java/org/effectivejava/examples/chapter05/item29/PrintAnnotation.java
src/main/java/org/effectivejava/examples/chapter06/item30/Operation.java
src/main/java/org/effectivejava/examples/chapter06/item30/PayrollDay.java
src/main/java/org/effectivejava/examples/chapter06/item30/Planet.java
src/main/java/org/effectivejava/examples/chapter06/item30/WeightTable.java
src/main/java/org/effectivejava/examples/chapter06/item31/Ensemble.java
src/main/java/org/effectivejava/examples/chapter06/item32/Text.java
src/main/java/org/effectivejava/examples/chapter06/item33/Herb.java
src/main/java/org/effectivejava/examples/chapter06/item33/Phase.java
src/main/java/org/effectivejava/examples/chapter06/item34/BasicOperation.java
src/main/java/org/effectivejava/examples/chapter06/item34/ExtendedOperation.java
src/main/java/org/effectivejava/examples/chapter06/item34/Operation.java
src/main/java/org/effectivejava/examples/chapter06/item35/ExceptionTest.java
src/main/java/org/effectivejava/examples/chapter06/item35/RunTests.java
src/main/java/org/effectivejava/examples/chapter06/item35/Sample.java
src/main/java/org/effectivejava/examples/chapter06/item35/Sample2.java
src/main/java/org/effectivejava/examples/chapter06/item35/Test.java
src/main/java/org/effectivejava/examples/chapter06/item36/Bigram.java
src/main/java/org/effectivejava/examples/chapter07/item39/Attack.java
src/main/java/org/effectivejava/examples/chapter07/item39/Period.java
src/main/java/org/effectivejava/examples/chapter07/item41/CollectionClassifier.java
src/main/java/org/effectivejava/examples/chapter07/item41/Overriding.java
src/main/java/org/effectivejava/examples/chapter07/item41/SetList.java
src/main/java/org/effectivejava/examples/chapter07/item42/Varargs.java
src/main/java/org/effectivejava/examples/chapter07/item49/BrokenComparator.java
src/main/java/org/effectivejava/examples/chapter07/item49/Unbelievable.java
src/main/java/org/effectivejava/examples/chapter07/item53/MakeSet.java
src/main/java/org/effectivejava/examples/chapter08/item46/DiceRolls.java
src/main/java/org/effectivejava/examples/chapter08/item46/NestedIteration.java
src/main/java/org/effectivejava/examples/chapter08/item47/RandomBug.java
src/main/java/org/effectivejava/examples/chapter08/item48/Arithmetic.java
src/main/java/org/effectivejava/examples/chapter10/item66/brokenstopthread/StopThread.java
src/main/java/org/effectivejava/examples/chapter10/item66/fixedstopthread1/StopThread.java
src/main/java/org/effectivejava/examples/chapter10/item66/fixedstopthread2/StopThread.java
src/main/java/org/effectivejava/examples/chapter10/item67/ForwardingSet.java
src/main/java/org/effectivejava/examples/chapter10/item67/ObservableSet.java
src/main/java/org/effectivejava/examples/chapter10/item67/SetObserver.java
src/main/java/org/effectivejava/examples/chapter10/item67/Test1.java
src/main/java/org/effectivejava/examples/chapter10/item67/Test2.java
src/main/java/org/effectivejava/examples/chapter10/item67/Test3.java
src/main/java/org/effectivejava/examples/chapter10/item69/ConcurrentTimer.java
src/main/java/org/effectivejava/examples/chapter10/item69/Intern.java
src/main/java/org/effectivejava/examples/chapter10/item71/Initialization.java
src/main/java/org/effectivejava/examples/chapter10/item72/SlowCountDownLatch.java
src/main/java/org/effectivejava/examples/chapter11/item74/AbstractFoo.java
src/main/java/org/effectivejava/examples/chapter11/item74/Foo.java
src/main/java/org/effectivejava/examples/chapter11/item75/StringList.java
src/main/java/org/effectivejava/examples/chapter11/item76/BogusPeriod.java
src/main/java/org/effectivejava/examples/chapter11/item76/MutablePeriod.java
src/main/java/org/effectivejava/examples/chapter11/item76/Period.java
src/main/java/org/effectivejava/examples/chapter11/item77/Elvis.java
src/main/java/org/effectivejava/examples/chapter11/item77/ElvisImpersonator.java
src/main/java/org/effectivejava/examples/chapter11/item77/ElvisStealer.java
src/main/java/org/effectivejava/examples/chapter11/item77/enumSingleton/Elvis.java
src/main/java/org/effectivejava/examples/chapter11/item78/BogusPeriod.java
src/main/java/org/effectivejava/examples/chapter11/item78/MutablePeriod.java
src/main/java/org/effectivejava/examples/chapter11/item78/Period.java
src/test/java/org/effectivejava/examples/AppTest.java
Download
Click the following link to download effective-java-examples-master.zip.
effective-java-examples-master.zip