├── .gitignore ├── Chapter01 ├── .gitignore ├── P01_CountDuplicateCharacters │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P02_FirstNonRepeatedCharacter │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P03_ReverseWords │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P04_ContainsOnlyDigits │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P05_CountVowelsAndConsonants │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Pair.java │ │ └── Strings.java ├── P06_CountOccurrencesOfCharacter │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P07_ConvertStringToIntLongFloatDouble │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P08_RemoveWhitespacesFromString │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P09_JoinMultipleStrings │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P10_GeneratePermutations │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P11_CheckPalindrome │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P12_RemoveDuplicateCharacters │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P13_RemoveGivenCharacter │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P14_FindCharacterWithMostAppearances │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Pair.java │ │ └── Strings.java ├── P15_SortArrayOfStringsByLength │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P16_CheckStringContainsSubstring │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P17_CountStringIString │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P18_CheckTwoStringsAnagrams │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P19_DeclareMultilineStrings │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P20_ConcatenateSameStringNTimes │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P21_RemoveLeadingTrailingSpaces │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P22_FindLongestCommonPrefix │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Strings.java ├── P23_StringIndentation │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P24_TransformStrings │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P25_MinMaxTwoNumbers │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P26_SumTwoLargeIntsAndLongsOperationOverflow │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P27_StringUnsignedNumberRadix │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P28_ConvertToNumbeByUnsignedConversion │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P29_CompareTwoUnsignedNumbers │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P30_DivisionModuloUnsignedValues │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P31_FiniteFloatingPointValue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P32_LogicalANDORAndXOR │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P33_BigIntegerToPrimitive │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P34_ConvertLongToInt │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P35_ComputeFloorOfDivisionAndModulus │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P36_NextFloatingPointValue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P37_ProductTwoLargeIntAndLongAndOperationOverflow │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P38_FusedMultiplyAdd │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P39_CompactNumberFormat │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── NumberFormatters.java └── README.md ├── Chapter02 ├── .gitignore ├── BONUS_1_SpringAndJavaRecords │ ├── README.md │ ├── nbactions.xml │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── modern │ │ │ └── challenge │ │ │ ├── MainApplication.java │ │ │ ├── controller │ │ │ └── BookstoreController.java │ │ │ ├── record │ │ │ ├── Author.java │ │ │ └── Book.java │ │ │ └── service │ │ │ └── BookstoreService.java │ │ └── resources │ │ └── application.properties ├── BONUS_2_SpringAndJavaRecordsInjection │ ├── README.md │ ├── nbactions.xml │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── modern │ │ │ └── challenge │ │ │ ├── MainApplication.java │ │ │ ├── controller │ │ │ └── BookstoreController.java │ │ │ ├── record │ │ │ ├── Author.java │ │ │ └── Book.java │ │ │ └── service │ │ │ └── BookstoreService.java │ │ └── resources │ │ └── application.properties ├── P40_CheckNullsFunctionalNonFunctional │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Numbers.java ├── P41_NullThenThrowCustomNpe │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── NewCar.java │ │ └── OldCar.java ├── P42_NullThrowSpecifiedException │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Car.java │ │ ├── Main.java │ │ └── MyObjects.java ├── P43_NullReturnNonNullDefault │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Car.java │ │ └── Main.java ├── P44_CheckIndexBetweenZeroLength │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Function.java │ │ └── Main.java ├── P45_CheckSubRangeInZeroLength │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Function.java │ │ └── Main.java ├── P46_EqualsHashCode │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Player.java ├── P46_ViolateEqualsViaSymmetry │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── bad │ │ ├── JumpJet.java │ │ └── Vehicle.java │ │ └── good │ │ ├── JumpJet.java │ │ └── Vehicle.java ├── P48_ImmutableString │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P49_ImmutableClass │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Point.java ├── P50_PassReturnMutablesToImmutableClass │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Point.java │ │ └── Radius.java ├── P51_ImmutableBuilder │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── User.java ├── P52_BadDataInImmutable │ ├── README.md │ ├── nbactions.xml │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── User.java ├── P53_CloningObjects │ ├── README.md │ ├── nbactions.xml │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── deep │ │ └── copy │ │ │ ├── cloning │ │ │ ├── Point.java │ │ │ └── Radius.java │ │ │ └── serialization │ │ │ ├── Point.java │ │ │ └── Radius.java │ │ └── shallow │ │ └── copy │ │ ├── clone │ │ └── Point.java │ │ ├── constructor │ │ ├── manually │ │ └── Point.java │ │ └── matrix │ │ └── Matrices.java ├── P54_OverrideString │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── User.java ├── P55_JDK13_SwitchExpression │ ├── nbactions.xml │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── FootballPlayer.java │ │ ├── Main.java │ │ ├── Player.java │ │ ├── SnookerPlayer.java │ │ ├── TennisPlayer.java │ │ └── UnknownPlayerException.java ├── P55_SwitchExpression │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── FootballPlayer.java │ │ ├── Main.java │ │ ├── Player.java │ │ ├── SnookerPlayer.java │ │ ├── TennisPlayer.java │ │ └── UnknownPlayerException.java ├── P56_MultipleCaseLabels │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Individual.java │ │ ├── Main.java │ │ ├── SportType.java │ │ ├── Team.java │ │ └── UnknownPlayerException.java ├── P57_JDK13_StatementBlocks │ ├── nbactions.xml │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── FootballPlayer.java │ │ ├── Main.java │ │ ├── Player.java │ │ ├── SnookerPlayer.java │ │ ├── TennisPlayer.java │ │ └── UnknownPlayerException.java ├── P57_StatementBlocks │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── FootballPlayer.java │ │ ├── Main.java │ │ ├── Player.java │ │ ├── SnookerPlayer.java │ │ ├── TennisPlayer.java │ │ └── UnknownPlayerException.java └── README.md ├── Chapter03 ├── .gitignore ├── BONUS_1_ConvertYearMonthToDate │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── Converters.java │ │ └── MainApplication.java ├── P58_ConvertStringToDateAndTime │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P59_FormatDateAndTime │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P60_GetCurrentDateTimeWithoutTimeDate │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── DateTimes.java │ │ └── Main.java ├── P61_LocalDateTimeFromLocalDateAndLocalTime │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P62_MachineTimeViaInstant │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P63_1_DefinePeriodUsingYearMonthSay │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P63_2_DefineDurationUsingHoursMinutesSeconds │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P64_GetDateAndTimeUnits │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P65_AddingSubtractingToFromDateTime │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── DateTimes.java │ │ └── Main.java ├── P66_GetAllTimezones UTCAndGMT │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── DateTimes.java │ │ └── Main.java ├── P67_GetLocalTimeInAllAvailableTimezones │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── DateTimes.java │ │ └── Main.java ├── P68_DisplayDateTimeInformationAboutFlight │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P69_ConvertUnixTimestampToDate │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P70_FindFirstAndLastDayOfMonth │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── DateTimes.java │ │ ├── Main.java │ │ └── NextSaturdayAdjuster.java ├── P71_DefiningAndExtractingZoneOffsets │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P72_ConvertBetweenDateTemporal │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── DateConverters.java │ │ └── Main.java ├── P73_IterateRangeOfDates │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P74_CalculatingAge │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P75_StartAndEndOfDay │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P76_DifferenceBetweenTwoDates │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P77_ImplementingChessClock │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── ChessClock.java │ │ └── Main.java └── README.md ├── Chapter04 ├── .gitignore ├── P78_SimpleExample │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P79_VarPrimitiveTypes │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P80_ImplicitTypeCastingAndCodeMaintainability │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── ShoppingAddicted.java ├── P81_ExplicitDowncastOrNoVar │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P82_VarAndLackOfInformation │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Bins.java │ │ └── Main.java ├── P83_VarAndProgrammingToTheInterface │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P84_VarAndDiamondOperator │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P85_AssigningArrayToVar │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P86_VarInCompoundDeclarations │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P87_VarAndVariablesScope │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P88_VarAndTernaryOperator │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P89_VarForLoops │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Player.java ├── P90_VarAndStreams │ ├── README.md │ ├── dummy.txt │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P91_VarBreakNestedLargeChainsOfExpressions │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P92_VarAndMethodReturnAndArgumentsTypes │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Player.java │ │ └── Report.java ├── P93_VarAndAnonymousClasses │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Player.java │ │ └── Weighter.java ├── P94_VarFinalAndEffectivelyFinal │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Weighter.java ├── P95_VarInLambdas │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Square.java ├── P96_VarAndTryWithResources │ ├── README.md │ ├── src │ │ └── modern │ │ │ └── challenge │ │ │ └── Main.java │ └── welcome.txt ├── P97_VarAndGenericTypes │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P98_VarWildcardsCovariantsContravariants │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java └── README.md ├── Chapter05 ├── .gitignore ├── BONUS_1_ChunkList │ ├── README.md │ ├── head-to-head.png │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── Chunk.java │ │ ├── Lists.java │ │ └── MainApplication.java ├── BONUS_2_ConvertIterableToList │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── Converters.java │ │ └── MainApplication.java ├── BONUS_3_ConvertListVtoMapKListV │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── Converters.java │ │ └── MainApplication.java ├── P100_FindElementInArray │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── ArraySearch.java │ │ ├── Main.java │ │ └── Melon.java ├── P101_CheckTwoArraysEqualsMismatch │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P102_CompareArraysLexicographically │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P103_StreamFromArray │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P104_MinMaxAvgArray │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── MathArrays.java │ │ └── Melon.java ├── P105_ReverseArray │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Melon.java │ │ └── ReverseArrays.java ├── P106_FillingSettingArray │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P107_NextGreaterElement │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Nge.java ├── P108_IncreaseArraySize │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── ResizableArray.java ├── P109_UnmodifiableImmutableCollection │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── ImmutableArray.java │ │ ├── ImmutableListOfImmutableMelonViaListOf.java │ │ ├── ImmutableListOfImmutableMelonViaUnmodifiableList.java │ │ ├── ImmutableMelon.java │ │ ├── Main.java │ │ ├── MutableMelon.java │ │ ├── UnmodifiableListOfMutableMelonButNotImmutableViaArraysAsList.java │ │ ├── UnmodifiableListOfMutableMelonButNotImmutableViaListOf.java │ │ ├── UnmodifiableListOfMutableMelonButNotImmutableViaStaticBlock.java │ │ └── UnmodifiableListOfMutableMelonButNotImmutableViaUnmodifiableList.java ├── P110_MapDefaultValue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P111_AbsentPresentInMap │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P112_RemoveFromMap │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P113_ReplaceEntriesMap │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P114_CompareMaps │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Maps.java │ │ └── Melon.java ├── P115_MergeMaps │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Maps.java │ │ └── Melon.java ├── P116_CopyMap │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── A.java │ │ ├── B.java │ │ ├── Main.java │ │ └── Maps.java ├── P117_SortMap │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Maps.java │ │ └── Melon.java ├── P118_RemovAllFromCollectionByPredicate │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P119_ConvertCollectionInArray │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P120_FilterCollectionByList │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P121_ReplaceElementsOfList │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P122_ArrayBlockingQueue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── ThreadSafeQueue.java ├── P122_ConcurrentHashMap │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── ThreadSafeMap.java ├── P122_ConcurrentLinkedDeque │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── ThreadSafeQueue.java ├── P122_ConcurrentLinkedDequeAsStack │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── ThreadSafeStack.java ├── P122_CopyOnWriteArrayList │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── ThreadSafeList.java ├── P122_CopyOnWriteArraySet │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── ThreadSafeSet.java ├── P122_DelayQueue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── TrainDelay.java ├── P122_LinkedTransferQueue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── SafeThreadQueue.java ├── P122_PriorityBlockingQueue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── ThreadSafeQueue.java ├── P122_Stack │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── ThreadSafeStack.java ├── P122_SynchronousQueue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── ThreadSafeQueue.java ├── P122_forEachConcurrentHashMap │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P122_mappingCountConcurrentHashMap │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── MappingCount.java ├── P122_reduceConcurrentHashMap │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P122_searchConcurrentHashMap │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P122_setViewConcurrentHashMap │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── MapKeySetView.java ├── P123_BreadthFirstSearch │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Graph.java │ │ └── Main.java ├── P124_Trie │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Node.java │ │ └── Trie.java ├── P125_Tuple │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Bounds.java │ │ ├── Main.java │ │ ├── Melon.java │ │ └── Pair.java ├── P126_UnionFind │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── DisjointSet.java │ │ ├── DisjointSetCompression.java │ │ └── Main.java ├── P127_FenwickTree │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── FenwickTree.java │ │ └── Main.java ├── P128_BloomFilter │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── BloomFilter.java │ │ └── Main.java ├── P99_SortArray │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── ArraySorts.java │ │ ├── Main.java │ │ └── Melon.java └── README.md ├── Chapter06 ├── .gitignore ├── BONUS_1_GetCurrentProjectRootDirectory │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── MainApplication.java │ │ └── Roots.java ├── BONUS_2_CopyFileBenchmark │ ├── nb-configuration.xml │ ├── pom.xml │ ├── rafa_copy │ │ └── README.txt │ ├── rafa_org │ │ └── Rafa Best Shots.mp4 │ ├── results │ │ └── benchmark.png │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P129_CreateFilePaths │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P130_ConvertFilePaths │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P131_JoinPaths │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P132_PathBetweenTwoLocations │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P133_CompareFilePaths │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P134_FileCopyViaFileVisitor │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── CopyFileVisitor.java │ │ └── Main.java ├── P134_FileDeleteViaFileVisitor │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── DeleteFileVisitor.java │ │ └── Main.java ├── P134_FileMoveViaFileVisitor │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── MoveFileVisitor.java ├── P134_FileSearchViaFileVisitor │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── SearchFileVisitor.java ├── P134_SimpleWalkingPaths │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── PathVisitor.java ├── P134_SimpleWalkingPathsWithStream │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P135_SimpleWatchingPaths │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── FolderWatcher.java │ │ └── Main.java ├── P135_WatchPrinterTray │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Printer.java │ │ └── PrinterTrayWatcher.java ├── P135_WatchVideoCaptureSystem │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── VideoCaptureWatcher.java ├── P136_StreamFile │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P137_SearchFilesInFileTree │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P138_ReadWriteTextFilesEfficiently │ ├── README.md │ ├── chinese.txt │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P139_ReadWriteBinaryFilesEfficiently │ ├── README.md │ ├── data.bin │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P140_SearchInBigFiles │ ├── README.md │ ├── src │ │ └── modern │ │ │ └── challenge │ │ │ ├── Main.java │ │ │ └── TextFiles.java │ └── story.txt ├── P141_CSVFileToObject │ ├── README.md │ ├── melon.csv │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Csvs.java │ │ ├── Main.java │ │ └── Melon.java ├── P141_JSONFileToObjectViaGson │ ├── README.md │ ├── melons_array.json │ ├── melons_map.json │ ├── melons_raw.json │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P141_JSONFileToObjectViaJackson │ ├── README.md │ ├── melons_array.json │ ├── melons_map.json │ ├── melons_raw.json │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P141_JSONFileToObjectViaJsonb │ ├── README.md │ ├── melons_array.json │ ├── melons_map.json │ ├── melons_raw.json │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P142_CreateTemporaryDirectory │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P142_CreateTemporaryFile │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P142_DeleteTemporaryDirectoryViaDeleteOnExit │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P142_DeleteTemporaryDirectoryViaShutdownHook │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P142_DeleteTemporaryFileViaDELETE_ON_CLOSE │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P142_DeleteTemporaryFileViaDeleteOnExit │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P142_DeleteTemporaryFileViaShutdownHook │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P143_FilteringFiles │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P144_DiscoverMismatchesBetweenTwoFiles │ ├── README.md │ ├── chinese1.txt │ ├── chinese2.txt │ ├── file1.txt │ ├── file2.txt │ ├── file3.txt │ ├── file4.txt │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Mismatches.java ├── P145_CircularByteBuffer │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── CircularByteBuffer.java │ │ └── Main.java ├── P146_TokenizingFileContent │ ├── README.md │ ├── clothes.txt │ └── src │ │ └── modern │ │ └── challenge │ │ ├── FileTokenizer.java │ │ └── Main.java ├── P147_WriteFormattedOutputToFile │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P148_WorkingWithScanner │ ├── README.md │ ├── doubles.txt │ ├── people.txt │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java └── README.md ├── Chapter07 ├── .gitignore ├── P149_InspectPackages │ ├── README.md │ ├── commons-lang3-3.9.jar │ └── src │ │ ├── modern │ │ └── challenge │ │ │ ├── Main.java │ │ │ ├── Packages.java │ │ │ └── dummy │ │ │ └── Dummy1.java │ │ └── org │ │ └── dummy │ │ └── Dummy2.java ├── P150_InspectingClasses │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Pair.java │ │ └── Tuple.java ├── P151_InstantiateViaReflectedConstructor │ ├── README.md │ ├── guava-16.0.1.jar │ ├── src │ │ └── modern │ │ │ └── challenge │ │ │ ├── Car.java │ │ │ ├── Cars.java │ │ │ └── Main.java │ └── test.txt ├── P152_GetAnnotationOnReceiverType │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Melon.java │ │ └── Ripe.java ├── P153_GetSyntheticBridgeConstructs │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P154_CheckVariableNumberArguments │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P155_CheckDefaultMethods │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Slicer.java ├── P156_NestBasedAccessControl │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Car.java │ │ └── Main.java ├── P156_ReflectionNestBasedAccessControl │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P157_FetchGettersSetters │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P157_GenerateGettersSetters │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P158_ReflectingAnnotations │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── ByWeight.java │ │ ├── Cucurbitaceae.java │ │ ├── Family.java │ │ ├── Fruit.java │ │ ├── Main.java │ │ ├── Melon.java │ │ ├── Packt.java │ │ ├── Ripe.java │ │ ├── Runtime.java │ │ ├── Seed.java │ │ ├── Shape.java │ │ ├── Unit.java │ │ └── package-info.java ├── P159_InvokeInstanceMethod │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Melon.java │ │ └── Seed.java ├── P160_GetStaticMethods │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Melon.java │ │ ├── Seed.java │ │ └── Slice.java ├── P161_GenericTypesOfMethodsFieldsExceptions │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Fruit.java │ │ ├── Main.java │ │ ├── Melon.java │ │ ├── Seed.java │ │ └── Slice.java ├── P162_GetPublicAndPrivateFields │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Juicer.java │ │ ├── Main.java │ │ ├── Melon.java │ │ └── Peeler.java ├── P163_WorkingWithArray │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P164_InspectModules │ ├── README.md │ └── src │ │ ├── org.player │ │ └── classes │ │ │ ├── com │ │ │ └── members │ │ │ │ └── Player.java │ │ │ └── module-info.java │ │ └── org.tournament │ │ └── classes │ │ ├── com │ │ └── management │ │ │ └── Manager.java │ │ └── module-info.java ├── P164_InspectPackagesInModules │ ├── README.md │ └── src │ │ ├── org.player │ │ └── classes │ │ │ ├── com │ │ │ └── members │ │ │ │ └── Main.java │ │ │ └── module-info.java │ │ └── org.tournament │ │ └── classes │ │ ├── com │ │ └── management │ │ │ └── Manager.java │ │ └── module-info.java ├── P165_DynamicProxies │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── CountingInvocationHandler.java │ │ └── Main.java └── README.md ├── Chapter08 ├── .gitignore ├── P166_WritingFunctionalInterfaces │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Filters.java │ │ ├── GacMelonPredicate.java │ │ ├── HugeMelonPredicate.java │ │ ├── Main.java │ │ ├── Melon.java │ │ ├── MelonPredicate.java │ │ └── Predicate.java ├── P168_ExecuteAroundPattern │ ├── README.md │ ├── doubles.txt │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Doubles.java │ │ ├── Main.java │ │ └── ScannerDoubleFunction.java ├── P169_FactoryPattern │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Cantaloupe.java │ │ ├── Fruit.java │ │ ├── Gac.java │ │ ├── Hemi.java │ │ ├── Main.java │ │ ├── Melon.java │ │ ├── MelonFactory.java │ │ └── TriFunction.java ├── P170_StrategyPattern │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── NumberRemover.java │ │ ├── RemoveStrategy.java │ │ ├── Remover.java │ │ └── WhitespacesRemover.java ├── P171_TemplateMethodPattern │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── GreekPizza.java │ │ ├── Main.java │ │ ├── NeapolitanPizza.java │ │ ├── Pizza.java │ │ ├── PizzaLambda.java │ │ └── PizzaMaker.java ├── P172_ObserverPattern │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── BrookhavenFireStation.java │ │ ├── DecaturFireStation.java │ │ ├── FireObserver.java │ │ ├── FireStation.java │ │ ├── FireStationRegister.java │ │ ├── Main.java │ │ └── ViningsFireStation.java ├── P173_ LoanPattern │ ├── README.md │ ├── doubles.txt │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Formula.java │ │ └── Main.java ├── P174_ DecoratorPattern │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── BaseCake.java │ │ ├── Cake.java │ │ ├── CakeDecorator.java │ │ ├── Cream.java │ │ ├── Main.java │ │ └── Nuts.java ├── P174_LambdaBasedDecoratorPattern │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Cake.java │ │ ├── CakeDecorator.java │ │ └── Main.java ├── P175_CascadedBuilderPattern │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Delivery.java │ │ └── Main.java ├── P176_CommandPattern │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Command.java │ │ ├── CopyCommand.java │ │ ├── DeleteCommand.java │ │ ├── HardDisk.java │ │ ├── IODevice.java │ │ ├── Main.java │ │ ├── MoveCommand.java │ │ └── Sequence.java └── README.md ├── Chapter09 ├── .gitignore ├── BONUS_1_ArrayToStreamAndBack │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── Convertors.java │ │ ├── Main.java │ │ └── Melon.java ├── P177_TestHighOrderFunctions │ ├── README.md │ ├── src │ │ └── modern │ │ │ └── challenge │ │ │ ├── Main.java │ │ │ └── Replacer.java │ └── test │ │ └── modern │ │ └── challenge │ │ └── HighorderTest.java ├── P178_TestMethodsThatUsesLambdas │ ├── README.md │ ├── src │ │ └── modern │ │ │ └── challenge │ │ │ └── StringOperations.java │ └── test │ │ └── modern │ │ └── challenge │ │ └── LambdasTest.java ├── P179_DebugLambdas │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P180_FilterNonZeroElementsOfStream │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Numbers.java ├── P181_InfiniteStreamsTakeWhileDropWhile │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P182_MapStream │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P182_MapStreamHelpers │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── Convertors.java │ │ └── Main.java ├── P183_FindInStream │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P184_MatchInStream │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P185_SumMaxMinInStream │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P186_CollectResultOfStream │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P187_JoiningResultsOfStream │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P188_SummarizationCollectors │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P189_Grouping │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P190_Partitioning │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P191_FilterFlatAndMapCollectors │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Melon.java ├── P192_Teeing │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── CountSum.java │ │ ├── Main.java │ │ ├── Melon.java │ │ ├── MinMax.java │ │ └── WeightsAndTotal.java ├── P193_WritingCustomCollector │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Melon.java │ │ └── MelonCollector.java ├── P194_MethodReference │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Melon.java │ │ └── MelonComparator.java ├── P195_ParallelProcessingOfStreams │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P195_Spliterator │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── IdeographicSpliterator.java │ │ └── Main.java ├── P196_NullSafeStreams │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AsStreams.java │ │ └── Main.java ├── P197_ComposingFunctionsPredicatesComparators │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Editor.java │ │ ├── Main.java │ │ └── Melon.java ├── P198_DefaultMethods │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── Polygon.java │ │ └── Square.java └── README.md ├── Chapter10 ├── .gitignore ├── P199_ThreadLifecycleState │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── BlockedThread.java │ │ ├── Main.java │ │ ├── NewThread.java │ │ ├── RunnableThread.java │ │ ├── TerminatedThread.java │ │ ├── TimedWaitingThread.java │ │ └── WaitingThread.java ├── P200_ObjectVsClassLevelLocking │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── ClassCll1.java │ │ ├── ClassCll2.java │ │ ├── ClassCll3.java │ │ ├── ClassOll1.java │ │ ├── ClassOll2.java │ │ ├── ClassOll3.java │ │ ├── Main.java │ │ ├── OllAndCll.java │ │ ├── OllCllAndNoLock.java │ │ ├── TwoCll.java │ │ └── TwoSyncs.java ├── P201_SimpleExecutor │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── SimpleExecutor.java ├── P201_SimpleThreadPoolExecutor │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── SimpleThreadPoolExecutor.java ├── P202_ThreadPoolSingleThread_ConcurrentLinkedQueue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AssemblyLine.java │ │ └── Main.java ├── P202_ThreadPoolSingleThread_TransferQueue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AssemblyLine.java │ │ └── Main.java ├── P203_ThreadPoolFixed_ConcurrentLinkedQueue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AssemblyLine.java │ │ └── Main.java ├── P203_ThreadPoolFixed_TransferQueue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AssemblyLine.java │ │ └── Main.java ├── P204_ThreadPoolCached_LinkedBlockingQueue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AssemblyLine.java │ │ └── Main.java ├── P205_ThreadPoolWorkStealing_LinkedBlockingQueue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AssemblyLine.java │ │ └── Main.java ├── P205_ThreadPoolWorkStealing_LinkedBlockingQueue_SplitQueue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AssemblyLine.java │ │ └── Main.java ├── P206_CallableAndFuture │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AssemblyLine.java │ │ ├── DefectBulbException.java │ │ └── Main.java ├── P207_InvokeMultipleCallable │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AssemblyLine.java │ │ └── Main.java ├── P207_InvokeMultipleCallableDoNotWaitAll │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AssemblyLine.java │ │ └── Main.java ├── P208_Latches │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── ServerInstance.java │ │ └── ServerService.java ├── P209_Barrier │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── ServerInstance.java │ │ └── ServerService.java ├── P210_Exchangers │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AssemblyLine.java │ │ └── Main.java ├── P211_Semaphore │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Barbershop.java │ │ ├── BarbershopCustomer.java │ │ └── Main.java ├── P212_Phaser │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── ServerInstance.java │ │ └── ServerService.java └── README.md ├── Chapter11 ├── .gitignore ├── P213_ThreadInterruption │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P214_ForkJoinCountedCompleter │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── SumCountedCompleter.java ├── P214_ForkJoinFibonacci │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── FibonacciRecursiveAction.java │ │ └── Main.java ├── P214_ForkJoinSum │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── SumRecursiveTask.java ├── P215_compareAndSetForkJoinTaskTag │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Task.java ├── P216_CompletableFuture │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── CustomerAsyncs.java │ │ └── Main.java ├── P217_ComposeCombineCompletableFuture │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── CustomerAsyncs.java │ │ └── Main.java ├── P218_onSpinWait │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── StartService.java ├── P219_Cancellation │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── RandomList.java ├── P220_ThreadLocal │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── ThreadSafeStringBuilder.java ├── P220_ThreadLocalCustomer │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── CustomerOrder.java │ │ ├── Main.java │ │ └── Order.java ├── P221_AddersAndAccumulators │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AtomicAccumulator.java │ │ ├── AtomicAdder.java │ │ └── Main.java ├── P221_AtomicAction │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AtomicIncrementator.java │ │ ├── Incrementator.java │ │ └── Main.java ├── P221_AtomicOperations │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P222_ReentrantLock │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── CounterWithLock.java ├── P222_ReentrantLock_LockInterruptibly │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── LockInterruptibly.java ├── P222_ReentrantLock_NewCondition │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── LockWithNewCondition.java ├── P222_ReentrantLock_TryLock │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── TryLock.java ├── P223_ReentrantLockReadWriteLock │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── ReadWriteWithLock.java ├── P224_StampedLock │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── ReadWriteWithStampedLock.java ├── P224_StampedLock_tryConvertToWriteLock │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── ConvertToWriteLock.java │ │ └── Main.java ├── P225_DiningPhilosophers │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── Philosopher.java └── README.md ├── Chapter12 ├── .gitignore ├── P226_InitializingOptional │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ └── Main.java ├── P227_GetAndMissingValue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ └── Main.java ├── P228_AlreadyConstructedDefaultValue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ └── Main.java ├── P229_NonExistentDefaultValue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ └── Main.java ├── P230_ThrowingNoSuchElementException │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ └── Main.java ├── P231_NullReferences │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ └── Main.java ├── P232_ConsumingPresentOptional │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ └── Main.java ├── P233_ReturningPresentOptional │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ └── Main.java ├── P234_ChainingLambdas │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Author.java │ │ ├── Book.java │ │ └── Main.java ├── P235_OptionalForGettingValue │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ └── Main.java ├── P236_OptionalForFields │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ └── Main.java ├── P237_OptionalInConstructorsArgs │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── BookAvoid.java │ │ ├── BookPrefer.java │ │ └── Main.java ├── P238_OptionalInSetterArgs │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── BookAvoid.java │ │ ├── BookPrefer.java │ │ └── Main.java ├── P239_OptionalInMethodArgs │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ ├── CoolRenderer.java │ │ ├── Format.java │ │ ├── Main.java │ │ └── Renderer.java ├── P240_OptionalEmptyListOrArray │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Author.java │ │ ├── Book.java │ │ └── Main.java ├── P241_OptionalInCollections │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ └── Main.java ├── P242_OptionalOfAndOfNullable │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Bookstore.java │ │ └── Main.java ├── P243_NonGenericOptionalInt │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P244_AssertingEqualityOfOptional │ ├── README.md │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── modern │ │ │ └── challenge │ │ │ └── Main.java │ │ └── test │ │ └── java │ │ └── modern │ │ └── challenge │ │ └── test │ │ └── OptionalTest.java ├── P245_OptionalMapAndFlatMap │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Example1.java │ │ ├── Example2.java │ │ ├── Example3.java │ │ └── Main.java ├── P246_OptionalFilter │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ ├── Bookstore.java │ │ └── Main.java ├── P247_OptionalStream │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ ├── Bookstore.java │ │ └── Main.java ├── P248_IdentitySensitiveOperations │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Book.java │ │ └── Main.java ├── P249_ReturnBooleanEmptyOptional │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Cart.java │ │ └── Main.java └── README.md ├── Chapter13 ├── .gitignore ├── P250_QueryParametersBuilder │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── modern │ │ │ └── challenge │ │ │ └── MainApplication.java │ │ └── resources │ │ └── application.properties ├── P251_SimpleGETSync │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P252_SettingProxy │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P253_SettingGettingHeaders │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P254_SpecifyingHTTPMethod │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P255_SettingRequestBody │ ├── README.md │ ├── src │ │ └── modern │ │ │ └── challenge │ │ │ └── Main.java │ └── user.json ├── P256_ConnectionAuthentication │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ ├── ViaAuthenticator.java │ │ ├── ViaBody.java │ │ ├── ViaHeader.java │ │ └── ViaHeaderBearer.java ├── P257_SettingTimeout │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P258_SettingRedirectPolicy │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P259_SyncAsync │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── AsyncOneRequest1.java │ │ ├── AsyncOneRequest2.java │ │ ├── Main.java │ │ ├── SyncRequest.java │ │ ├── WaitAllResponsesDisplayBodies.java │ │ └── WaitAllResponsesFetchBodiesInList.java ├── P260_HandlingCookies │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P261_ResponseInformation │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P262_ResponseBodyTypes │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P263_JsonViaHttpClient │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── modern │ │ └── challenge │ │ ├── Data.java │ │ ├── JsonBodyHandler.java │ │ ├── Main.java │ │ └── User.java ├── P264_Compression │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P265_FormData │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── FormBodyPublisher.java │ │ └── Main.java ├── P266_DownloadOfFile │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P266_DownloadOfFileDownload │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P267_Upload │ ├── LoremIpsum.txt │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ ├── Main.java │ │ └── MultipartBodyPublisher.java ├── P268_ServerPush │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P268_ServerPushToDisk │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P268_ServerPushToMap │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java ├── P269_WebSocket │ ├── README.md │ └── src │ │ └── modern │ │ └── challenge │ │ └── Main.java └── README.md ├── LICENSE └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/.gitignore -------------------------------------------------------------------------------- /Chapter01/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/.gitignore -------------------------------------------------------------------------------- /Chapter01/P01_CountDuplicateCharacters/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P01_CountDuplicateCharacters/README.md -------------------------------------------------------------------------------- /Chapter01/P02_FirstNonRepeatedCharacter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P02_FirstNonRepeatedCharacter/README.md -------------------------------------------------------------------------------- /Chapter01/P03_ReverseWords/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P03_ReverseWords/README.md -------------------------------------------------------------------------------- /Chapter01/P03_ReverseWords/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P03_ReverseWords/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P03_ReverseWords/src/modern/challenge/Strings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P03_ReverseWords/src/modern/challenge/Strings.java -------------------------------------------------------------------------------- /Chapter01/P04_ContainsOnlyDigits/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P04_ContainsOnlyDigits/README.md -------------------------------------------------------------------------------- /Chapter01/P04_ContainsOnlyDigits/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P04_ContainsOnlyDigits/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P04_ContainsOnlyDigits/src/modern/challenge/Strings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P04_ContainsOnlyDigits/src/modern/challenge/Strings.java -------------------------------------------------------------------------------- /Chapter01/P05_CountVowelsAndConsonants/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P05_CountVowelsAndConsonants/README.md -------------------------------------------------------------------------------- /Chapter01/P06_CountOccurrencesOfCharacter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P06_CountOccurrencesOfCharacter/README.md -------------------------------------------------------------------------------- /Chapter01/P07_ConvertStringToIntLongFloatDouble/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P07_ConvertStringToIntLongFloatDouble/README.md -------------------------------------------------------------------------------- /Chapter01/P08_RemoveWhitespacesFromString/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P08_RemoveWhitespacesFromString/README.md -------------------------------------------------------------------------------- /Chapter01/P09_JoinMultipleStrings/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P09_JoinMultipleStrings/README.md -------------------------------------------------------------------------------- /Chapter01/P09_JoinMultipleStrings/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P09_JoinMultipleStrings/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P09_JoinMultipleStrings/src/modern/challenge/Strings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P09_JoinMultipleStrings/src/modern/challenge/Strings.java -------------------------------------------------------------------------------- /Chapter01/P10_GeneratePermutations/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P10_GeneratePermutations/README.md -------------------------------------------------------------------------------- /Chapter01/P10_GeneratePermutations/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P10_GeneratePermutations/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P10_GeneratePermutations/src/modern/challenge/Strings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P10_GeneratePermutations/src/modern/challenge/Strings.java -------------------------------------------------------------------------------- /Chapter01/P11_CheckPalindrome/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P11_CheckPalindrome/README.md -------------------------------------------------------------------------------- /Chapter01/P11_CheckPalindrome/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P11_CheckPalindrome/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P11_CheckPalindrome/src/modern/challenge/Strings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P11_CheckPalindrome/src/modern/challenge/Strings.java -------------------------------------------------------------------------------- /Chapter01/P12_RemoveDuplicateCharacters/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P12_RemoveDuplicateCharacters/README.md -------------------------------------------------------------------------------- /Chapter01/P13_RemoveGivenCharacter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P13_RemoveGivenCharacter/README.md -------------------------------------------------------------------------------- /Chapter01/P13_RemoveGivenCharacter/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P13_RemoveGivenCharacter/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P13_RemoveGivenCharacter/src/modern/challenge/Strings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P13_RemoveGivenCharacter/src/modern/challenge/Strings.java -------------------------------------------------------------------------------- /Chapter01/P14_FindCharacterWithMostAppearances/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P14_FindCharacterWithMostAppearances/README.md -------------------------------------------------------------------------------- /Chapter01/P15_SortArrayOfStringsByLength/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P15_SortArrayOfStringsByLength/README.md -------------------------------------------------------------------------------- /Chapter01/P16_CheckStringContainsSubstring/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P16_CheckStringContainsSubstring/README.md -------------------------------------------------------------------------------- /Chapter01/P17_CountStringIString/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P17_CountStringIString/README.md -------------------------------------------------------------------------------- /Chapter01/P17_CountStringIString/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P17_CountStringIString/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P17_CountStringIString/src/modern/challenge/Strings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P17_CountStringIString/src/modern/challenge/Strings.java -------------------------------------------------------------------------------- /Chapter01/P18_CheckTwoStringsAnagrams/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P18_CheckTwoStringsAnagrams/README.md -------------------------------------------------------------------------------- /Chapter01/P18_CheckTwoStringsAnagrams/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P18_CheckTwoStringsAnagrams/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P19_DeclareMultilineStrings/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P19_DeclareMultilineStrings/README.md -------------------------------------------------------------------------------- /Chapter01/P19_DeclareMultilineStrings/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P19_DeclareMultilineStrings/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P20_ConcatenateSameStringNTimes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P20_ConcatenateSameStringNTimes/README.md -------------------------------------------------------------------------------- /Chapter01/P21_RemoveLeadingTrailingSpaces/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P21_RemoveLeadingTrailingSpaces/README.md -------------------------------------------------------------------------------- /Chapter01/P22_FindLongestCommonPrefix/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P22_FindLongestCommonPrefix/README.md -------------------------------------------------------------------------------- /Chapter01/P22_FindLongestCommonPrefix/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P22_FindLongestCommonPrefix/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P23_StringIndentation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P23_StringIndentation/README.md -------------------------------------------------------------------------------- /Chapter01/P23_StringIndentation/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P23_StringIndentation/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P24_TransformStrings/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P24_TransformStrings/README.md -------------------------------------------------------------------------------- /Chapter01/P24_TransformStrings/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P24_TransformStrings/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P25_MinMaxTwoNumbers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P25_MinMaxTwoNumbers/README.md -------------------------------------------------------------------------------- /Chapter01/P25_MinMaxTwoNumbers/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P25_MinMaxTwoNumbers/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P26_SumTwoLargeIntsAndLongsOperationOverflow/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P26_SumTwoLargeIntsAndLongsOperationOverflow/README.md -------------------------------------------------------------------------------- /Chapter01/P27_StringUnsignedNumberRadix/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P27_StringUnsignedNumberRadix/README.md -------------------------------------------------------------------------------- /Chapter01/P28_ConvertToNumbeByUnsignedConversion/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P28_ConvertToNumbeByUnsignedConversion/README.md -------------------------------------------------------------------------------- /Chapter01/P29_CompareTwoUnsignedNumbers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P29_CompareTwoUnsignedNumbers/README.md -------------------------------------------------------------------------------- /Chapter01/P30_DivisionModuloUnsignedValues/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P30_DivisionModuloUnsignedValues/README.md -------------------------------------------------------------------------------- /Chapter01/P31_FiniteFloatingPointValue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P31_FiniteFloatingPointValue/README.md -------------------------------------------------------------------------------- /Chapter01/P32_LogicalANDORAndXOR/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P32_LogicalANDORAndXOR/README.md -------------------------------------------------------------------------------- /Chapter01/P32_LogicalANDORAndXOR/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P32_LogicalANDORAndXOR/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P33_BigIntegerToPrimitive/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P33_BigIntegerToPrimitive/README.md -------------------------------------------------------------------------------- /Chapter01/P33_BigIntegerToPrimitive/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P33_BigIntegerToPrimitive/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P34_ConvertLongToInt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P34_ConvertLongToInt/README.md -------------------------------------------------------------------------------- /Chapter01/P34_ConvertLongToInt/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P34_ConvertLongToInt/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P35_ComputeFloorOfDivisionAndModulus/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P35_ComputeFloorOfDivisionAndModulus/README.md -------------------------------------------------------------------------------- /Chapter01/P36_NextFloatingPointValue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P36_NextFloatingPointValue/README.md -------------------------------------------------------------------------------- /Chapter01/P36_NextFloatingPointValue/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P36_NextFloatingPointValue/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P38_FusedMultiplyAdd/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P38_FusedMultiplyAdd/README.md -------------------------------------------------------------------------------- /Chapter01/P38_FusedMultiplyAdd/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P38_FusedMultiplyAdd/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/P39_CompactNumberFormat/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P39_CompactNumberFormat/README.md -------------------------------------------------------------------------------- /Chapter01/P39_CompactNumberFormat/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/P39_CompactNumberFormat/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter01/README.md -------------------------------------------------------------------------------- /Chapter02/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/.gitignore -------------------------------------------------------------------------------- /Chapter02/BONUS_1_SpringAndJavaRecords/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Chapter02/BONUS_1_SpringAndJavaRecords/nbactions.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/BONUS_1_SpringAndJavaRecords/nbactions.xml -------------------------------------------------------------------------------- /Chapter02/BONUS_1_SpringAndJavaRecords/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/BONUS_1_SpringAndJavaRecords/pom.xml -------------------------------------------------------------------------------- /Chapter02/BONUS_1_SpringAndJavaRecords/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter02/BONUS_2_SpringAndJavaRecordsInjection/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Chapter02/BONUS_2_SpringAndJavaRecordsInjection/nbactions.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/BONUS_2_SpringAndJavaRecordsInjection/nbactions.xml -------------------------------------------------------------------------------- /Chapter02/BONUS_2_SpringAndJavaRecordsInjection/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/BONUS_2_SpringAndJavaRecordsInjection/pom.xml -------------------------------------------------------------------------------- /Chapter02/BONUS_2_SpringAndJavaRecordsInjection/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter02/P40_CheckNullsFunctionalNonFunctional/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P40_CheckNullsFunctionalNonFunctional/README.md -------------------------------------------------------------------------------- /Chapter02/P41_NullThenThrowCustomNpe/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P41_NullThenThrowCustomNpe/README.md -------------------------------------------------------------------------------- /Chapter02/P41_NullThenThrowCustomNpe/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P41_NullThenThrowCustomNpe/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter02/P42_NullThrowSpecifiedException/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P42_NullThrowSpecifiedException/README.md -------------------------------------------------------------------------------- /Chapter02/P43_NullReturnNonNullDefault/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P43_NullReturnNonNullDefault/README.md -------------------------------------------------------------------------------- /Chapter02/P43_NullReturnNonNullDefault/src/modern/challenge/Car.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P43_NullReturnNonNullDefault/src/modern/challenge/Car.java -------------------------------------------------------------------------------- /Chapter02/P44_CheckIndexBetweenZeroLength/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P44_CheckIndexBetweenZeroLength/README.md -------------------------------------------------------------------------------- /Chapter02/P45_CheckSubRangeInZeroLength/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P45_CheckSubRangeInZeroLength/README.md -------------------------------------------------------------------------------- /Chapter02/P46_EqualsHashCode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P46_EqualsHashCode/README.md -------------------------------------------------------------------------------- /Chapter02/P46_EqualsHashCode/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P46_EqualsHashCode/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter02/P46_EqualsHashCode/src/modern/challenge/Player.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P46_EqualsHashCode/src/modern/challenge/Player.java -------------------------------------------------------------------------------- /Chapter02/P46_ViolateEqualsViaSymmetry/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P46_ViolateEqualsViaSymmetry/README.md -------------------------------------------------------------------------------- /Chapter02/P48_ImmutableString/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P48_ImmutableString/README.md -------------------------------------------------------------------------------- /Chapter02/P48_ImmutableString/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P48_ImmutableString/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter02/P49_ImmutableClass/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P49_ImmutableClass/README.md -------------------------------------------------------------------------------- /Chapter02/P49_ImmutableClass/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P49_ImmutableClass/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter02/P49_ImmutableClass/src/modern/challenge/Point.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P49_ImmutableClass/src/modern/challenge/Point.java -------------------------------------------------------------------------------- /Chapter02/P50_PassReturnMutablesToImmutableClass/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P50_PassReturnMutablesToImmutableClass/README.md -------------------------------------------------------------------------------- /Chapter02/P51_ImmutableBuilder/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P51_ImmutableBuilder/README.md -------------------------------------------------------------------------------- /Chapter02/P51_ImmutableBuilder/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P51_ImmutableBuilder/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter02/P51_ImmutableBuilder/src/modern/challenge/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P51_ImmutableBuilder/src/modern/challenge/User.java -------------------------------------------------------------------------------- /Chapter02/P52_BadDataInImmutable/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P52_BadDataInImmutable/README.md -------------------------------------------------------------------------------- /Chapter02/P52_BadDataInImmutable/nbactions.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P52_BadDataInImmutable/nbactions.xml -------------------------------------------------------------------------------- /Chapter02/P52_BadDataInImmutable/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P52_BadDataInImmutable/pom.xml -------------------------------------------------------------------------------- /Chapter02/P53_CloningObjects/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P53_CloningObjects/README.md -------------------------------------------------------------------------------- /Chapter02/P53_CloningObjects/nbactions.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P53_CloningObjects/nbactions.xml -------------------------------------------------------------------------------- /Chapter02/P53_CloningObjects/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P53_CloningObjects/pom.xml -------------------------------------------------------------------------------- /Chapter02/P54_OverrideString/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P54_OverrideString/README.md -------------------------------------------------------------------------------- /Chapter02/P54_OverrideString/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P54_OverrideString/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter02/P54_OverrideString/src/modern/challenge/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P54_OverrideString/src/modern/challenge/User.java -------------------------------------------------------------------------------- /Chapter02/P55_JDK13_SwitchExpression/nbactions.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P55_JDK13_SwitchExpression/nbactions.xml -------------------------------------------------------------------------------- /Chapter02/P55_JDK13_SwitchExpression/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P55_JDK13_SwitchExpression/pom.xml -------------------------------------------------------------------------------- /Chapter02/P55_JDK13_SwitchExpression/src/main/java/modern/challenge/Player.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Player { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter02/P55_SwitchExpression/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P55_SwitchExpression/README.md -------------------------------------------------------------------------------- /Chapter02/P55_SwitchExpression/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P55_SwitchExpression/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter02/P55_SwitchExpression/src/modern/challenge/Player.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Player { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter02/P56_MultipleCaseLabels/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P56_MultipleCaseLabels/README.md -------------------------------------------------------------------------------- /Chapter02/P56_MultipleCaseLabels/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P56_MultipleCaseLabels/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter02/P56_MultipleCaseLabels/src/modern/challenge/SportType.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class SportType { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /Chapter02/P56_MultipleCaseLabels/src/modern/challenge/Team.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P56_MultipleCaseLabels/src/modern/challenge/Team.java -------------------------------------------------------------------------------- /Chapter02/P57_JDK13_StatementBlocks/nbactions.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P57_JDK13_StatementBlocks/nbactions.xml -------------------------------------------------------------------------------- /Chapter02/P57_JDK13_StatementBlocks/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P57_JDK13_StatementBlocks/pom.xml -------------------------------------------------------------------------------- /Chapter02/P57_JDK13_StatementBlocks/src/main/java/modern/challenge/Player.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Player { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter02/P57_StatementBlocks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P57_StatementBlocks/README.md -------------------------------------------------------------------------------- /Chapter02/P57_StatementBlocks/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P57_StatementBlocks/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter02/P57_StatementBlocks/src/modern/challenge/Player.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Player { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter02/P57_StatementBlocks/src/modern/challenge/TennisPlayer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/P57_StatementBlocks/src/modern/challenge/TennisPlayer.java -------------------------------------------------------------------------------- /Chapter02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter02/README.md -------------------------------------------------------------------------------- /Chapter03/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/.gitignore -------------------------------------------------------------------------------- /Chapter03/BONUS_1_ConvertYearMonthToDate/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/BONUS_1_ConvertYearMonthToDate/README.md -------------------------------------------------------------------------------- /Chapter03/BONUS_1_ConvertYearMonthToDate/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/BONUS_1_ConvertYearMonthToDate/pom.xml -------------------------------------------------------------------------------- /Chapter03/P58_ConvertStringToDateAndTime/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P58_ConvertStringToDateAndTime/README.md -------------------------------------------------------------------------------- /Chapter03/P59_FormatDateAndTime/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P59_FormatDateAndTime/README.md -------------------------------------------------------------------------------- /Chapter03/P59_FormatDateAndTime/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P59_FormatDateAndTime/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter03/P60_GetCurrentDateTimeWithoutTimeDate/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P60_GetCurrentDateTimeWithoutTimeDate/README.md -------------------------------------------------------------------------------- /Chapter03/P61_LocalDateTimeFromLocalDateAndLocalTime/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P61_LocalDateTimeFromLocalDateAndLocalTime/README.md -------------------------------------------------------------------------------- /Chapter03/P62_MachineTimeViaInstant/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P62_MachineTimeViaInstant/README.md -------------------------------------------------------------------------------- /Chapter03/P62_MachineTimeViaInstant/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P62_MachineTimeViaInstant/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter03/P63_1_DefinePeriodUsingYearMonthSay/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P63_1_DefinePeriodUsingYearMonthSay/README.md -------------------------------------------------------------------------------- /Chapter03/P63_2_DefineDurationUsingHoursMinutesSeconds/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P63_2_DefineDurationUsingHoursMinutesSeconds/README.md -------------------------------------------------------------------------------- /Chapter03/P64_GetDateAndTimeUnits/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P64_GetDateAndTimeUnits/README.md -------------------------------------------------------------------------------- /Chapter03/P64_GetDateAndTimeUnits/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P64_GetDateAndTimeUnits/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter03/P65_AddingSubtractingToFromDateTime/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P65_AddingSubtractingToFromDateTime/README.md -------------------------------------------------------------------------------- /Chapter03/P66_GetAllTimezones UTCAndGMT/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P66_GetAllTimezones UTCAndGMT/README.md -------------------------------------------------------------------------------- /Chapter03/P67_GetLocalTimeInAllAvailableTimezones/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P67_GetLocalTimeInAllAvailableTimezones/README.md -------------------------------------------------------------------------------- /Chapter03/P68_DisplayDateTimeInformationAboutFlight/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P68_DisplayDateTimeInformationAboutFlight/README.md -------------------------------------------------------------------------------- /Chapter03/P69_ConvertUnixTimestampToDate/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P69_ConvertUnixTimestampToDate/README.md -------------------------------------------------------------------------------- /Chapter03/P70_FindFirstAndLastDayOfMonth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P70_FindFirstAndLastDayOfMonth/README.md -------------------------------------------------------------------------------- /Chapter03/P71_DefiningAndExtractingZoneOffsets/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P71_DefiningAndExtractingZoneOffsets/README.md -------------------------------------------------------------------------------- /Chapter03/P72_ConvertBetweenDateTemporal/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P72_ConvertBetweenDateTemporal/README.md -------------------------------------------------------------------------------- /Chapter03/P73_IterateRangeOfDates/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P73_IterateRangeOfDates/README.md -------------------------------------------------------------------------------- /Chapter03/P73_IterateRangeOfDates/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P73_IterateRangeOfDates/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter03/P74_CalculatingAge/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P74_CalculatingAge/README.md -------------------------------------------------------------------------------- /Chapter03/P74_CalculatingAge/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P74_CalculatingAge/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter03/P75_StartAndEndOfDay/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P75_StartAndEndOfDay/README.md -------------------------------------------------------------------------------- /Chapter03/P75_StartAndEndOfDay/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P75_StartAndEndOfDay/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter03/P76_DifferenceBetweenTwoDates/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P76_DifferenceBetweenTwoDates/README.md -------------------------------------------------------------------------------- /Chapter03/P77_ImplementingChessClock/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P77_ImplementingChessClock/README.md -------------------------------------------------------------------------------- /Chapter03/P77_ImplementingChessClock/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/P77_ImplementingChessClock/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter03/README.md -------------------------------------------------------------------------------- /Chapter04/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/.gitignore -------------------------------------------------------------------------------- /Chapter04/P78_SimpleExample/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P78_SimpleExample/README.md -------------------------------------------------------------------------------- /Chapter04/P78_SimpleExample/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P78_SimpleExample/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P79_VarPrimitiveTypes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P79_VarPrimitiveTypes/README.md -------------------------------------------------------------------------------- /Chapter04/P79_VarPrimitiveTypes/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P79_VarPrimitiveTypes/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P80_ImplicitTypeCastingAndCodeMaintainability/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P80_ImplicitTypeCastingAndCodeMaintainability/README.md -------------------------------------------------------------------------------- /Chapter04/P81_ExplicitDowncastOrNoVar/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P81_ExplicitDowncastOrNoVar/README.md -------------------------------------------------------------------------------- /Chapter04/P81_ExplicitDowncastOrNoVar/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P81_ExplicitDowncastOrNoVar/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P82_VarAndLackOfInformation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P82_VarAndLackOfInformation/README.md -------------------------------------------------------------------------------- /Chapter04/P82_VarAndLackOfInformation/src/modern/challenge/Bins.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P82_VarAndLackOfInformation/src/modern/challenge/Bins.java -------------------------------------------------------------------------------- /Chapter04/P82_VarAndLackOfInformation/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P82_VarAndLackOfInformation/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P83_VarAndProgrammingToTheInterface/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P83_VarAndProgrammingToTheInterface/README.md -------------------------------------------------------------------------------- /Chapter04/P84_VarAndDiamondOperator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P84_VarAndDiamondOperator/README.md -------------------------------------------------------------------------------- /Chapter04/P84_VarAndDiamondOperator/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P84_VarAndDiamondOperator/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P85_AssigningArrayToVar/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P85_AssigningArrayToVar/README.md -------------------------------------------------------------------------------- /Chapter04/P85_AssigningArrayToVar/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P85_AssigningArrayToVar/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P86_VarInCompoundDeclarations/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P86_VarInCompoundDeclarations/README.md -------------------------------------------------------------------------------- /Chapter04/P87_VarAndVariablesScope/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P87_VarAndVariablesScope/README.md -------------------------------------------------------------------------------- /Chapter04/P87_VarAndVariablesScope/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P87_VarAndVariablesScope/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P88_VarAndTernaryOperator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P88_VarAndTernaryOperator/README.md -------------------------------------------------------------------------------- /Chapter04/P88_VarAndTernaryOperator/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P88_VarAndTernaryOperator/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P89_VarForLoops/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P89_VarForLoops/README.md -------------------------------------------------------------------------------- /Chapter04/P89_VarForLoops/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P89_VarForLoops/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P89_VarForLoops/src/modern/challenge/Player.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Player { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter04/P90_VarAndStreams/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P90_VarAndStreams/README.md -------------------------------------------------------------------------------- /Chapter04/P90_VarAndStreams/dummy.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter04/P90_VarAndStreams/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P90_VarAndStreams/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P91_VarBreakNestedLargeChainsOfExpressions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P91_VarBreakNestedLargeChainsOfExpressions/README.md -------------------------------------------------------------------------------- /Chapter04/P92_VarAndMethodReturnAndArgumentsTypes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P92_VarAndMethodReturnAndArgumentsTypes/README.md -------------------------------------------------------------------------------- /Chapter04/P92_VarAndMethodReturnAndArgumentsTypes/src/modern/challenge/Player.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Player { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter04/P92_VarAndMethodReturnAndArgumentsTypes/src/modern/challenge/Report.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Report { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter04/P93_VarAndAnonymousClasses/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P93_VarAndAnonymousClasses/README.md -------------------------------------------------------------------------------- /Chapter04/P93_VarAndAnonymousClasses/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P93_VarAndAnonymousClasses/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P93_VarAndAnonymousClasses/src/modern/challenge/Player.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Player { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter04/P94_VarFinalAndEffectivelyFinal/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P94_VarFinalAndEffectivelyFinal/README.md -------------------------------------------------------------------------------- /Chapter04/P95_VarInLambdas/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P95_VarInLambdas/README.md -------------------------------------------------------------------------------- /Chapter04/P95_VarInLambdas/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P95_VarInLambdas/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P95_VarInLambdas/src/modern/challenge/Square.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P95_VarInLambdas/src/modern/challenge/Square.java -------------------------------------------------------------------------------- /Chapter04/P96_VarAndTryWithResources/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P96_VarAndTryWithResources/README.md -------------------------------------------------------------------------------- /Chapter04/P96_VarAndTryWithResources/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P96_VarAndTryWithResources/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P96_VarAndTryWithResources/welcome.txt: -------------------------------------------------------------------------------- 1 | Welcome message 2 | -------------------------------------------------------------------------------- /Chapter04/P97_VarAndGenericTypes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P97_VarAndGenericTypes/README.md -------------------------------------------------------------------------------- /Chapter04/P97_VarAndGenericTypes/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P97_VarAndGenericTypes/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter04/P98_VarWildcardsCovariantsContravariants/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/P98_VarWildcardsCovariantsContravariants/README.md -------------------------------------------------------------------------------- /Chapter04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter04/README.md -------------------------------------------------------------------------------- /Chapter05/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/.gitignore -------------------------------------------------------------------------------- /Chapter05/BONUS_1_ChunkList/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/BONUS_1_ChunkList/README.md -------------------------------------------------------------------------------- /Chapter05/BONUS_1_ChunkList/head-to-head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/BONUS_1_ChunkList/head-to-head.png -------------------------------------------------------------------------------- /Chapter05/BONUS_1_ChunkList/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/BONUS_1_ChunkList/pom.xml -------------------------------------------------------------------------------- /Chapter05/BONUS_2_ConvertIterableToList/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/BONUS_2_ConvertIterableToList/README.md -------------------------------------------------------------------------------- /Chapter05/BONUS_2_ConvertIterableToList/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/BONUS_2_ConvertIterableToList/pom.xml -------------------------------------------------------------------------------- /Chapter05/BONUS_3_ConvertListVtoMapKListV/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/BONUS_3_ConvertListVtoMapKListV/README.md -------------------------------------------------------------------------------- /Chapter05/BONUS_3_ConvertListVtoMapKListV/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/BONUS_3_ConvertListVtoMapKListV/pom.xml -------------------------------------------------------------------------------- /Chapter05/P100_FindElementInArray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P100_FindElementInArray/README.md -------------------------------------------------------------------------------- /Chapter05/P100_FindElementInArray/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P100_FindElementInArray/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P100_FindElementInArray/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P100_FindElementInArray/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter05/P101_CheckTwoArraysEqualsMismatch/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P101_CheckTwoArraysEqualsMismatch/README.md -------------------------------------------------------------------------------- /Chapter05/P102_CompareArraysLexicographically/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P102_CompareArraysLexicographically/README.md -------------------------------------------------------------------------------- /Chapter05/P103_StreamFromArray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P103_StreamFromArray/README.md -------------------------------------------------------------------------------- /Chapter05/P103_StreamFromArray/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P103_StreamFromArray/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P104_MinMaxAvgArray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P104_MinMaxAvgArray/README.md -------------------------------------------------------------------------------- /Chapter05/P104_MinMaxAvgArray/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P104_MinMaxAvgArray/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P104_MinMaxAvgArray/src/modern/challenge/MathArrays.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P104_MinMaxAvgArray/src/modern/challenge/MathArrays.java -------------------------------------------------------------------------------- /Chapter05/P104_MinMaxAvgArray/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P104_MinMaxAvgArray/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter05/P105_ReverseArray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P105_ReverseArray/README.md -------------------------------------------------------------------------------- /Chapter05/P105_ReverseArray/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P105_ReverseArray/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P105_ReverseArray/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P105_ReverseArray/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter05/P105_ReverseArray/src/modern/challenge/ReverseArrays.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P105_ReverseArray/src/modern/challenge/ReverseArrays.java -------------------------------------------------------------------------------- /Chapter05/P106_FillingSettingArray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P106_FillingSettingArray/README.md -------------------------------------------------------------------------------- /Chapter05/P106_FillingSettingArray/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P106_FillingSettingArray/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P107_NextGreaterElement/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P107_NextGreaterElement/README.md -------------------------------------------------------------------------------- /Chapter05/P107_NextGreaterElement/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P107_NextGreaterElement/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P107_NextGreaterElement/src/modern/challenge/Nge.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P107_NextGreaterElement/src/modern/challenge/Nge.java -------------------------------------------------------------------------------- /Chapter05/P108_IncreaseArraySize/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P108_IncreaseArraySize/README.md -------------------------------------------------------------------------------- /Chapter05/P108_IncreaseArraySize/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P108_IncreaseArraySize/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P109_UnmodifiableImmutableCollection/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P109_UnmodifiableImmutableCollection/README.md -------------------------------------------------------------------------------- /Chapter05/P110_MapDefaultValue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P110_MapDefaultValue/README.md -------------------------------------------------------------------------------- /Chapter05/P110_MapDefaultValue/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P110_MapDefaultValue/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P111_AbsentPresentInMap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P111_AbsentPresentInMap/README.md -------------------------------------------------------------------------------- /Chapter05/P111_AbsentPresentInMap/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P111_AbsentPresentInMap/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P112_RemoveFromMap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P112_RemoveFromMap/README.md -------------------------------------------------------------------------------- /Chapter05/P112_RemoveFromMap/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P112_RemoveFromMap/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P113_ReplaceEntriesMap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P113_ReplaceEntriesMap/README.md -------------------------------------------------------------------------------- /Chapter05/P113_ReplaceEntriesMap/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P113_ReplaceEntriesMap/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P113_ReplaceEntriesMap/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P113_ReplaceEntriesMap/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter05/P114_CompareMaps/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P114_CompareMaps/README.md -------------------------------------------------------------------------------- /Chapter05/P114_CompareMaps/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P114_CompareMaps/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P114_CompareMaps/src/modern/challenge/Maps.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P114_CompareMaps/src/modern/challenge/Maps.java -------------------------------------------------------------------------------- /Chapter05/P114_CompareMaps/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P114_CompareMaps/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter05/P115_MergeMaps/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P115_MergeMaps/README.md -------------------------------------------------------------------------------- /Chapter05/P115_MergeMaps/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P115_MergeMaps/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P115_MergeMaps/src/modern/challenge/Maps.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P115_MergeMaps/src/modern/challenge/Maps.java -------------------------------------------------------------------------------- /Chapter05/P115_MergeMaps/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P115_MergeMaps/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter05/P116_CopyMap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P116_CopyMap/README.md -------------------------------------------------------------------------------- /Chapter05/P116_CopyMap/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P116_CopyMap/pom.xml -------------------------------------------------------------------------------- /Chapter05/P116_CopyMap/src/main/java/modern/challenge/A.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P116_CopyMap/src/main/java/modern/challenge/A.java -------------------------------------------------------------------------------- /Chapter05/P116_CopyMap/src/main/java/modern/challenge/B.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P116_CopyMap/src/main/java/modern/challenge/B.java -------------------------------------------------------------------------------- /Chapter05/P116_CopyMap/src/main/java/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P116_CopyMap/src/main/java/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P116_CopyMap/src/main/java/modern/challenge/Maps.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P116_CopyMap/src/main/java/modern/challenge/Maps.java -------------------------------------------------------------------------------- /Chapter05/P117_SortMap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P117_SortMap/README.md -------------------------------------------------------------------------------- /Chapter05/P117_SortMap/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P117_SortMap/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P117_SortMap/src/modern/challenge/Maps.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P117_SortMap/src/modern/challenge/Maps.java -------------------------------------------------------------------------------- /Chapter05/P117_SortMap/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P117_SortMap/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter05/P118_RemovAllFromCollectionByPredicate/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P118_RemovAllFromCollectionByPredicate/README.md -------------------------------------------------------------------------------- /Chapter05/P119_ConvertCollectionInArray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P119_ConvertCollectionInArray/README.md -------------------------------------------------------------------------------- /Chapter05/P120_FilterCollectionByList/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P120_FilterCollectionByList/README.md -------------------------------------------------------------------------------- /Chapter05/P120_FilterCollectionByList/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P120_FilterCollectionByList/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P121_ReplaceElementsOfList/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P121_ReplaceElementsOfList/README.md -------------------------------------------------------------------------------- /Chapter05/P121_ReplaceElementsOfList/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P121_ReplaceElementsOfList/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P121_ReplaceElementsOfList/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P121_ReplaceElementsOfList/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter05/P122_ArrayBlockingQueue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_ArrayBlockingQueue/README.md -------------------------------------------------------------------------------- /Chapter05/P122_ConcurrentHashMap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_ConcurrentHashMap/README.md -------------------------------------------------------------------------------- /Chapter05/P122_ConcurrentLinkedDeque/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_ConcurrentLinkedDeque/README.md -------------------------------------------------------------------------------- /Chapter05/P122_ConcurrentLinkedDequeAsStack/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_ConcurrentLinkedDequeAsStack/README.md -------------------------------------------------------------------------------- /Chapter05/P122_CopyOnWriteArrayList/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_CopyOnWriteArrayList/README.md -------------------------------------------------------------------------------- /Chapter05/P122_CopyOnWriteArraySet/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_CopyOnWriteArraySet/README.md -------------------------------------------------------------------------------- /Chapter05/P122_DelayQueue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_DelayQueue/README.md -------------------------------------------------------------------------------- /Chapter05/P122_DelayQueue/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_DelayQueue/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P122_DelayQueue/src/modern/challenge/TrainDelay.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_DelayQueue/src/modern/challenge/TrainDelay.java -------------------------------------------------------------------------------- /Chapter05/P122_LinkedTransferQueue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_LinkedTransferQueue/README.md -------------------------------------------------------------------------------- /Chapter05/P122_PriorityBlockingQueue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_PriorityBlockingQueue/README.md -------------------------------------------------------------------------------- /Chapter05/P122_Stack/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_Stack/README.md -------------------------------------------------------------------------------- /Chapter05/P122_Stack/src/modern/challenge/ThreadSafeStack.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_Stack/src/modern/challenge/ThreadSafeStack.java -------------------------------------------------------------------------------- /Chapter05/P122_SynchronousQueue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_SynchronousQueue/README.md -------------------------------------------------------------------------------- /Chapter05/P122_forEachConcurrentHashMap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_forEachConcurrentHashMap/README.md -------------------------------------------------------------------------------- /Chapter05/P122_mappingCountConcurrentHashMap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_mappingCountConcurrentHashMap/README.md -------------------------------------------------------------------------------- /Chapter05/P122_reduceConcurrentHashMap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_reduceConcurrentHashMap/README.md -------------------------------------------------------------------------------- /Chapter05/P122_searchConcurrentHashMap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_searchConcurrentHashMap/README.md -------------------------------------------------------------------------------- /Chapter05/P122_setViewConcurrentHashMap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P122_setViewConcurrentHashMap/README.md -------------------------------------------------------------------------------- /Chapter05/P123_BreadthFirstSearch/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P123_BreadthFirstSearch/README.md -------------------------------------------------------------------------------- /Chapter05/P123_BreadthFirstSearch/src/modern/challenge/Graph.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P123_BreadthFirstSearch/src/modern/challenge/Graph.java -------------------------------------------------------------------------------- /Chapter05/P123_BreadthFirstSearch/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P123_BreadthFirstSearch/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P124_Trie/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P124_Trie/README.md -------------------------------------------------------------------------------- /Chapter05/P124_Trie/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P124_Trie/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P124_Trie/src/modern/challenge/Node.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P124_Trie/src/modern/challenge/Node.java -------------------------------------------------------------------------------- /Chapter05/P124_Trie/src/modern/challenge/Trie.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P124_Trie/src/modern/challenge/Trie.java -------------------------------------------------------------------------------- /Chapter05/P125_Tuple/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P125_Tuple/README.md -------------------------------------------------------------------------------- /Chapter05/P125_Tuple/src/modern/challenge/Bounds.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P125_Tuple/src/modern/challenge/Bounds.java -------------------------------------------------------------------------------- /Chapter05/P125_Tuple/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P125_Tuple/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P125_Tuple/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P125_Tuple/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter05/P125_Tuple/src/modern/challenge/Pair.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P125_Tuple/src/modern/challenge/Pair.java -------------------------------------------------------------------------------- /Chapter05/P126_UnionFind/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P126_UnionFind/README.md -------------------------------------------------------------------------------- /Chapter05/P126_UnionFind/src/modern/challenge/DisjointSet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P126_UnionFind/src/modern/challenge/DisjointSet.java -------------------------------------------------------------------------------- /Chapter05/P126_UnionFind/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P126_UnionFind/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P127_FenwickTree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P127_FenwickTree/README.md -------------------------------------------------------------------------------- /Chapter05/P127_FenwickTree/src/modern/challenge/FenwickTree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P127_FenwickTree/src/modern/challenge/FenwickTree.java -------------------------------------------------------------------------------- /Chapter05/P127_FenwickTree/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P127_FenwickTree/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P128_BloomFilter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P128_BloomFilter/README.md -------------------------------------------------------------------------------- /Chapter05/P128_BloomFilter/src/modern/challenge/BloomFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P128_BloomFilter/src/modern/challenge/BloomFilter.java -------------------------------------------------------------------------------- /Chapter05/P128_BloomFilter/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P128_BloomFilter/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P99_SortArray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P99_SortArray/README.md -------------------------------------------------------------------------------- /Chapter05/P99_SortArray/src/modern/challenge/ArraySorts.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P99_SortArray/src/modern/challenge/ArraySorts.java -------------------------------------------------------------------------------- /Chapter05/P99_SortArray/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P99_SortArray/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter05/P99_SortArray/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/P99_SortArray/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter05/README.md -------------------------------------------------------------------------------- /Chapter06/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/.gitignore -------------------------------------------------------------------------------- /Chapter06/BONUS_1_GetCurrentProjectRootDirectory/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/BONUS_1_GetCurrentProjectRootDirectory/README.md -------------------------------------------------------------------------------- /Chapter06/BONUS_1_GetCurrentProjectRootDirectory/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/BONUS_1_GetCurrentProjectRootDirectory/pom.xml -------------------------------------------------------------------------------- /Chapter06/BONUS_2_CopyFileBenchmark/nb-configuration.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/BONUS_2_CopyFileBenchmark/nb-configuration.xml -------------------------------------------------------------------------------- /Chapter06/BONUS_2_CopyFileBenchmark/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/BONUS_2_CopyFileBenchmark/pom.xml -------------------------------------------------------------------------------- /Chapter06/BONUS_2_CopyFileBenchmark/rafa_copy/README.txt: -------------------------------------------------------------------------------- 1 | In this folder we copy the file used by benchmark. -------------------------------------------------------------------------------- /Chapter06/BONUS_2_CopyFileBenchmark/rafa_org/Rafa Best Shots.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/BONUS_2_CopyFileBenchmark/rafa_org/Rafa Best Shots.mp4 -------------------------------------------------------------------------------- /Chapter06/BONUS_2_CopyFileBenchmark/results/benchmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/BONUS_2_CopyFileBenchmark/results/benchmark.png -------------------------------------------------------------------------------- /Chapter06/P129_CreateFilePaths/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P129_CreateFilePaths/README.md -------------------------------------------------------------------------------- /Chapter06/P129_CreateFilePaths/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P129_CreateFilePaths/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P130_ConvertFilePaths/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P130_ConvertFilePaths/README.md -------------------------------------------------------------------------------- /Chapter06/P130_ConvertFilePaths/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P130_ConvertFilePaths/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P131_JoinPaths/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P131_JoinPaths/README.md -------------------------------------------------------------------------------- /Chapter06/P131_JoinPaths/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P131_JoinPaths/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P132_PathBetweenTwoLocations/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P132_PathBetweenTwoLocations/README.md -------------------------------------------------------------------------------- /Chapter06/P133_CompareFilePaths/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P133_CompareFilePaths/README.md -------------------------------------------------------------------------------- /Chapter06/P133_CompareFilePaths/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P133_CompareFilePaths/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P134_FileCopyViaFileVisitor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P134_FileCopyViaFileVisitor/README.md -------------------------------------------------------------------------------- /Chapter06/P134_FileCopyViaFileVisitor/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P134_FileCopyViaFileVisitor/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P134_FileDeleteViaFileVisitor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P134_FileDeleteViaFileVisitor/README.md -------------------------------------------------------------------------------- /Chapter06/P134_FileMoveViaFileVisitor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P134_FileMoveViaFileVisitor/README.md -------------------------------------------------------------------------------- /Chapter06/P134_FileMoveViaFileVisitor/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P134_FileMoveViaFileVisitor/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P134_FileSearchViaFileVisitor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P134_FileSearchViaFileVisitor/README.md -------------------------------------------------------------------------------- /Chapter06/P134_SimpleWalkingPaths/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P134_SimpleWalkingPaths/README.md -------------------------------------------------------------------------------- /Chapter06/P134_SimpleWalkingPaths/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P134_SimpleWalkingPaths/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P134_SimpleWalkingPathsWithStream/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P134_SimpleWalkingPathsWithStream/README.md -------------------------------------------------------------------------------- /Chapter06/P135_SimpleWatchingPaths/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P135_SimpleWatchingPaths/README.md -------------------------------------------------------------------------------- /Chapter06/P135_SimpleWatchingPaths/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P135_SimpleWatchingPaths/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P135_WatchPrinterTray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P135_WatchPrinterTray/README.md -------------------------------------------------------------------------------- /Chapter06/P135_WatchPrinterTray/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P135_WatchPrinterTray/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P135_WatchPrinterTray/src/modern/challenge/Printer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P135_WatchPrinterTray/src/modern/challenge/Printer.java -------------------------------------------------------------------------------- /Chapter06/P135_WatchVideoCaptureSystem/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P135_WatchVideoCaptureSystem/README.md -------------------------------------------------------------------------------- /Chapter06/P136_StreamFile/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P136_StreamFile/README.md -------------------------------------------------------------------------------- /Chapter06/P136_StreamFile/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P136_StreamFile/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P137_SearchFilesInFileTree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P137_SearchFilesInFileTree/README.md -------------------------------------------------------------------------------- /Chapter06/P137_SearchFilesInFileTree/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P137_SearchFilesInFileTree/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P138_ReadWriteTextFilesEfficiently/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P138_ReadWriteTextFilesEfficiently/README.md -------------------------------------------------------------------------------- /Chapter06/P138_ReadWriteTextFilesEfficiently/chinese.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P138_ReadWriteTextFilesEfficiently/chinese.txt -------------------------------------------------------------------------------- /Chapter06/P139_ReadWriteBinaryFilesEfficiently/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P139_ReadWriteBinaryFilesEfficiently/README.md -------------------------------------------------------------------------------- /Chapter06/P139_ReadWriteBinaryFilesEfficiently/data.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P139_ReadWriteBinaryFilesEfficiently/data.bin -------------------------------------------------------------------------------- /Chapter06/P140_SearchInBigFiles/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P140_SearchInBigFiles/README.md -------------------------------------------------------------------------------- /Chapter06/P140_SearchInBigFiles/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P140_SearchInBigFiles/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P140_SearchInBigFiles/src/modern/challenge/TextFiles.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P140_SearchInBigFiles/src/modern/challenge/TextFiles.java -------------------------------------------------------------------------------- /Chapter06/P140_SearchInBigFiles/story.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P140_SearchInBigFiles/story.txt -------------------------------------------------------------------------------- /Chapter06/P141_CSVFileToObject/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_CSVFileToObject/README.md -------------------------------------------------------------------------------- /Chapter06/P141_CSVFileToObject/melon.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_CSVFileToObject/melon.csv -------------------------------------------------------------------------------- /Chapter06/P141_CSVFileToObject/src/modern/challenge/Csvs.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_CSVFileToObject/src/modern/challenge/Csvs.java -------------------------------------------------------------------------------- /Chapter06/P141_CSVFileToObject/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_CSVFileToObject/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P141_CSVFileToObject/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_CSVFileToObject/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaGson/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaGson/README.md -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaGson/melons_array.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaGson/melons_array.json -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaGson/melons_map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaGson/melons_map.json -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaGson/melons_raw.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaGson/melons_raw.json -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaGson/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaGson/pom.xml -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaJackson/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaJackson/README.md -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaJackson/melons_array.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaJackson/melons_array.json -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaJackson/melons_map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaJackson/melons_map.json -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaJackson/melons_raw.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaJackson/melons_raw.json -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaJackson/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaJackson/pom.xml -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaJsonb/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaJsonb/README.md -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaJsonb/melons_array.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaJsonb/melons_array.json -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaJsonb/melons_map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaJsonb/melons_map.json -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaJsonb/melons_raw.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaJsonb/melons_raw.json -------------------------------------------------------------------------------- /Chapter06/P141_JSONFileToObjectViaJsonb/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P141_JSONFileToObjectViaJsonb/pom.xml -------------------------------------------------------------------------------- /Chapter06/P142_CreateTemporaryDirectory/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P142_CreateTemporaryDirectory/README.md -------------------------------------------------------------------------------- /Chapter06/P142_CreateTemporaryFile/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P142_CreateTemporaryFile/README.md -------------------------------------------------------------------------------- /Chapter06/P142_CreateTemporaryFile/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P142_CreateTemporaryFile/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P142_DeleteTemporaryDirectoryViaDeleteOnExit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P142_DeleteTemporaryDirectoryViaDeleteOnExit/README.md -------------------------------------------------------------------------------- /Chapter06/P142_DeleteTemporaryDirectoryViaShutdownHook/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P142_DeleteTemporaryDirectoryViaShutdownHook/README.md -------------------------------------------------------------------------------- /Chapter06/P142_DeleteTemporaryFileViaDELETE_ON_CLOSE/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P142_DeleteTemporaryFileViaDELETE_ON_CLOSE/README.md -------------------------------------------------------------------------------- /Chapter06/P142_DeleteTemporaryFileViaDeleteOnExit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P142_DeleteTemporaryFileViaDeleteOnExit/README.md -------------------------------------------------------------------------------- /Chapter06/P142_DeleteTemporaryFileViaShutdownHook/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P142_DeleteTemporaryFileViaShutdownHook/README.md -------------------------------------------------------------------------------- /Chapter06/P143_FilteringFiles/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P143_FilteringFiles/README.md -------------------------------------------------------------------------------- /Chapter06/P143_FilteringFiles/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P143_FilteringFiles/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/README.md -------------------------------------------------------------------------------- /Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/chinese1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/chinese1.txt -------------------------------------------------------------------------------- /Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/chinese2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/chinese2.txt -------------------------------------------------------------------------------- /Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/file1.txt -------------------------------------------------------------------------------- /Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/file2.txt -------------------------------------------------------------------------------- /Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/file3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/file3.txt -------------------------------------------------------------------------------- /Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/file4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P144_DiscoverMismatchesBetweenTwoFiles/file4.txt -------------------------------------------------------------------------------- /Chapter06/P145_CircularByteBuffer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P145_CircularByteBuffer/README.md -------------------------------------------------------------------------------- /Chapter06/P145_CircularByteBuffer/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P145_CircularByteBuffer/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P146_TokenizingFileContent/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P146_TokenizingFileContent/README.md -------------------------------------------------------------------------------- /Chapter06/P146_TokenizingFileContent/clothes.txt: -------------------------------------------------------------------------------- 1 | Top|white\10/XXL&Swimsuit|black\5/L 2 | Coat|red\11/M&Golden Jacket|yellow\12/XL 3 | Denim|Blue\22/M -------------------------------------------------------------------------------- /Chapter06/P146_TokenizingFileContent/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P146_TokenizingFileContent/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/P147_WriteFormattedOutputToFile/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P147_WriteFormattedOutputToFile/README.md -------------------------------------------------------------------------------- /Chapter06/P148_WorkingWithScanner/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P148_WorkingWithScanner/README.md -------------------------------------------------------------------------------- /Chapter06/P148_WorkingWithScanner/doubles.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P148_WorkingWithScanner/doubles.txt -------------------------------------------------------------------------------- /Chapter06/P148_WorkingWithScanner/people.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P148_WorkingWithScanner/people.txt -------------------------------------------------------------------------------- /Chapter06/P148_WorkingWithScanner/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/P148_WorkingWithScanner/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter06/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter06/README.md -------------------------------------------------------------------------------- /Chapter07/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/.gitignore -------------------------------------------------------------------------------- /Chapter07/P149_InspectPackages/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P149_InspectPackages/README.md -------------------------------------------------------------------------------- /Chapter07/P149_InspectPackages/commons-lang3-3.9.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P149_InspectPackages/commons-lang3-3.9.jar -------------------------------------------------------------------------------- /Chapter07/P149_InspectPackages/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P149_InspectPackages/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter07/P149_InspectPackages/src/modern/challenge/Packages.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P149_InspectPackages/src/modern/challenge/Packages.java -------------------------------------------------------------------------------- /Chapter07/P149_InspectPackages/src/org/dummy/Dummy2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P149_InspectPackages/src/org/dummy/Dummy2.java -------------------------------------------------------------------------------- /Chapter07/P150_InspectingClasses/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P150_InspectingClasses/README.md -------------------------------------------------------------------------------- /Chapter07/P150_InspectingClasses/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P150_InspectingClasses/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter07/P150_InspectingClasses/src/modern/challenge/Pair.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P150_InspectingClasses/src/modern/challenge/Pair.java -------------------------------------------------------------------------------- /Chapter07/P150_InspectingClasses/src/modern/challenge/Tuple.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public abstract class Tuple { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter07/P151_InstantiateViaReflectedConstructor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P151_InstantiateViaReflectedConstructor/README.md -------------------------------------------------------------------------------- /Chapter07/P151_InstantiateViaReflectedConstructor/guava-16.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P151_InstantiateViaReflectedConstructor/guava-16.0.1.jar -------------------------------------------------------------------------------- /Chapter07/P151_InstantiateViaReflectedConstructor/test.txt: -------------------------------------------------------------------------------- 1 | dummy file -------------------------------------------------------------------------------- /Chapter07/P152_GetAnnotationOnReceiverType/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P152_GetAnnotationOnReceiverType/README.md -------------------------------------------------------------------------------- /Chapter07/P153_GetSyntheticBridgeConstructs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P153_GetSyntheticBridgeConstructs/README.md -------------------------------------------------------------------------------- /Chapter07/P154_CheckVariableNumberArguments/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P154_CheckVariableNumberArguments/README.md -------------------------------------------------------------------------------- /Chapter07/P155_CheckDefaultMethods/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P155_CheckDefaultMethods/README.md -------------------------------------------------------------------------------- /Chapter07/P155_CheckDefaultMethods/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P155_CheckDefaultMethods/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter07/P155_CheckDefaultMethods/src/modern/challenge/Slicer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P155_CheckDefaultMethods/src/modern/challenge/Slicer.java -------------------------------------------------------------------------------- /Chapter07/P156_NestBasedAccessControl/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P156_NestBasedAccessControl/README.md -------------------------------------------------------------------------------- /Chapter07/P156_NestBasedAccessControl/src/modern/challenge/Car.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P156_NestBasedAccessControl/src/modern/challenge/Car.java -------------------------------------------------------------------------------- /Chapter07/P156_NestBasedAccessControl/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P156_NestBasedAccessControl/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter07/P156_ReflectionNestBasedAccessControl/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P156_ReflectionNestBasedAccessControl/README.md -------------------------------------------------------------------------------- /Chapter07/P157_FetchGettersSetters/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P157_FetchGettersSetters/README.md -------------------------------------------------------------------------------- /Chapter07/P157_FetchGettersSetters/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P157_FetchGettersSetters/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter07/P157_FetchGettersSetters/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P157_FetchGettersSetters/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter07/P157_GenerateGettersSetters/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P157_GenerateGettersSetters/README.md -------------------------------------------------------------------------------- /Chapter07/P157_GenerateGettersSetters/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P157_GenerateGettersSetters/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter07/P158_ReflectingAnnotations/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P158_ReflectingAnnotations/README.md -------------------------------------------------------------------------------- /Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Fruit.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Fruit.java -------------------------------------------------------------------------------- /Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Packt.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Packt.java -------------------------------------------------------------------------------- /Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Ripe.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Ripe.java -------------------------------------------------------------------------------- /Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Seed.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Seed { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Shape.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Shape.java -------------------------------------------------------------------------------- /Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Unit.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P158_ReflectingAnnotations/src/modern/challenge/Unit.java -------------------------------------------------------------------------------- /Chapter07/P158_ReflectingAnnotations/src/modern/challenge/package-info.java: -------------------------------------------------------------------------------- 1 | @Packt 2 | package modern.challenge; 3 | -------------------------------------------------------------------------------- /Chapter07/P159_InvokeInstanceMethod/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P159_InvokeInstanceMethod/README.md -------------------------------------------------------------------------------- /Chapter07/P159_InvokeInstanceMethod/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P159_InvokeInstanceMethod/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter07/P159_InvokeInstanceMethod/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P159_InvokeInstanceMethod/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter07/P159_InvokeInstanceMethod/src/modern/challenge/Seed.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Seed { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter07/P160_GetStaticMethods/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P160_GetStaticMethods/README.md -------------------------------------------------------------------------------- /Chapter07/P160_GetStaticMethods/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P160_GetStaticMethods/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter07/P160_GetStaticMethods/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P160_GetStaticMethods/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter07/P160_GetStaticMethods/src/modern/challenge/Seed.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Seed { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter07/P160_GetStaticMethods/src/modern/challenge/Slice.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P160_GetStaticMethods/src/modern/challenge/Slice.java -------------------------------------------------------------------------------- /Chapter07/P161_GenericTypesOfMethodsFieldsExceptions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P161_GenericTypesOfMethodsFieldsExceptions/README.md -------------------------------------------------------------------------------- /Chapter07/P161_GenericTypesOfMethodsFieldsExceptions/src/modern/challenge/Fruit.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Fruit { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter07/P161_GenericTypesOfMethodsFieldsExceptions/src/modern/challenge/Seed.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Seed { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter07/P162_GetPublicAndPrivateFields/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P162_GetPublicAndPrivateFields/README.md -------------------------------------------------------------------------------- /Chapter07/P162_GetPublicAndPrivateFields/src/modern/challenge/Juicer.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Juicer { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter07/P162_GetPublicAndPrivateFields/src/modern/challenge/Peeler.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Peeler { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter07/P163_WorkingWithArray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P163_WorkingWithArray/README.md -------------------------------------------------------------------------------- /Chapter07/P163_WorkingWithArray/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P163_WorkingWithArray/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter07/P164_InspectModules/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P164_InspectModules/README.md -------------------------------------------------------------------------------- /Chapter07/P164_InspectPackagesInModules/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P164_InspectPackagesInModules/README.md -------------------------------------------------------------------------------- /Chapter07/P165_DynamicProxies/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P165_DynamicProxies/README.md -------------------------------------------------------------------------------- /Chapter07/P165_DynamicProxies/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/P165_DynamicProxies/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter07/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter07/README.md -------------------------------------------------------------------------------- /Chapter08/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/.gitignore -------------------------------------------------------------------------------- /Chapter08/P166_WritingFunctionalInterfaces/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P166_WritingFunctionalInterfaces/README.md -------------------------------------------------------------------------------- /Chapter08/P168_ExecuteAroundPattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P168_ExecuteAroundPattern/README.md -------------------------------------------------------------------------------- /Chapter08/P168_ExecuteAroundPattern/doubles.txt: -------------------------------------------------------------------------------- 1 | 11.2 2.90 32 -------------------------------------------------------------------------------- /Chapter08/P168_ExecuteAroundPattern/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P168_ExecuteAroundPattern/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter08/P169_FactoryPattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P169_FactoryPattern/README.md -------------------------------------------------------------------------------- /Chapter08/P169_FactoryPattern/src/modern/challenge/Cantaloupe.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P169_FactoryPattern/src/modern/challenge/Cantaloupe.java -------------------------------------------------------------------------------- /Chapter08/P169_FactoryPattern/src/modern/challenge/Fruit.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public interface Fruit { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter08/P169_FactoryPattern/src/modern/challenge/Gac.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Gac implements Fruit { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter08/P169_FactoryPattern/src/modern/challenge/Hemi.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Hemi implements Fruit { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter08/P169_FactoryPattern/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P169_FactoryPattern/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter08/P169_FactoryPattern/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P169_FactoryPattern/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter08/P169_FactoryPattern/src/modern/challenge/MelonFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P169_FactoryPattern/src/modern/challenge/MelonFactory.java -------------------------------------------------------------------------------- /Chapter08/P169_FactoryPattern/src/modern/challenge/TriFunction.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P169_FactoryPattern/src/modern/challenge/TriFunction.java -------------------------------------------------------------------------------- /Chapter08/P170_StrategyPattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P170_StrategyPattern/README.md -------------------------------------------------------------------------------- /Chapter08/P170_StrategyPattern/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P170_StrategyPattern/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter08/P170_StrategyPattern/src/modern/challenge/Remover.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P170_StrategyPattern/src/modern/challenge/Remover.java -------------------------------------------------------------------------------- /Chapter08/P171_TemplateMethodPattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P171_TemplateMethodPattern/README.md -------------------------------------------------------------------------------- /Chapter08/P171_TemplateMethodPattern/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P171_TemplateMethodPattern/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter08/P171_TemplateMethodPattern/src/modern/challenge/Pizza.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Pizza { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter08/P172_ObserverPattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P172_ObserverPattern/README.md -------------------------------------------------------------------------------- /Chapter08/P172_ObserverPattern/src/modern/challenge/FireStation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P172_ObserverPattern/src/modern/challenge/FireStation.java -------------------------------------------------------------------------------- /Chapter08/P172_ObserverPattern/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P172_ObserverPattern/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter08/P173_ LoanPattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P173_ LoanPattern/README.md -------------------------------------------------------------------------------- /Chapter08/P173_ LoanPattern/doubles.txt: -------------------------------------------------------------------------------- 1 | 11.2 2.90 32 -------------------------------------------------------------------------------- /Chapter08/P173_ LoanPattern/src/modern/challenge/Formula.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P173_ LoanPattern/src/modern/challenge/Formula.java -------------------------------------------------------------------------------- /Chapter08/P173_ LoanPattern/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P173_ LoanPattern/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter08/P174_ DecoratorPattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P174_ DecoratorPattern/README.md -------------------------------------------------------------------------------- /Chapter08/P174_ DecoratorPattern/src/modern/challenge/Cake.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P174_ DecoratorPattern/src/modern/challenge/Cake.java -------------------------------------------------------------------------------- /Chapter08/P174_ DecoratorPattern/src/modern/challenge/Cream.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P174_ DecoratorPattern/src/modern/challenge/Cream.java -------------------------------------------------------------------------------- /Chapter08/P174_ DecoratorPattern/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P174_ DecoratorPattern/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter08/P174_ DecoratorPattern/src/modern/challenge/Nuts.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P174_ DecoratorPattern/src/modern/challenge/Nuts.java -------------------------------------------------------------------------------- /Chapter08/P174_LambdaBasedDecoratorPattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P174_LambdaBasedDecoratorPattern/README.md -------------------------------------------------------------------------------- /Chapter08/P175_CascadedBuilderPattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P175_CascadedBuilderPattern/README.md -------------------------------------------------------------------------------- /Chapter08/P176_CommandPattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P176_CommandPattern/README.md -------------------------------------------------------------------------------- /Chapter08/P176_CommandPattern/src/modern/challenge/Command.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P176_CommandPattern/src/modern/challenge/Command.java -------------------------------------------------------------------------------- /Chapter08/P176_CommandPattern/src/modern/challenge/HardDisk.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P176_CommandPattern/src/modern/challenge/HardDisk.java -------------------------------------------------------------------------------- /Chapter08/P176_CommandPattern/src/modern/challenge/IODevice.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P176_CommandPattern/src/modern/challenge/IODevice.java -------------------------------------------------------------------------------- /Chapter08/P176_CommandPattern/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P176_CommandPattern/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter08/P176_CommandPattern/src/modern/challenge/Sequence.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/P176_CommandPattern/src/modern/challenge/Sequence.java -------------------------------------------------------------------------------- /Chapter08/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter08/README.md -------------------------------------------------------------------------------- /Chapter09/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/.gitignore -------------------------------------------------------------------------------- /Chapter09/BONUS_1_ArrayToStreamAndBack/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/BONUS_1_ArrayToStreamAndBack/README.md -------------------------------------------------------------------------------- /Chapter09/BONUS_1_ArrayToStreamAndBack/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/BONUS_1_ArrayToStreamAndBack/pom.xml -------------------------------------------------------------------------------- /Chapter09/P177_TestHighOrderFunctions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P177_TestHighOrderFunctions/README.md -------------------------------------------------------------------------------- /Chapter09/P178_TestMethodsThatUsesLambdas/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P178_TestMethodsThatUsesLambdas/README.md -------------------------------------------------------------------------------- /Chapter09/P179_DebugLambdas/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P179_DebugLambdas/README.md -------------------------------------------------------------------------------- /Chapter09/P179_DebugLambdas/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P179_DebugLambdas/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter09/P180_FilterNonZeroElementsOfStream/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P180_FilterNonZeroElementsOfStream/README.md -------------------------------------------------------------------------------- /Chapter09/P181_InfiniteStreamsTakeWhileDropWhile/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P181_InfiniteStreamsTakeWhileDropWhile/README.md -------------------------------------------------------------------------------- /Chapter09/P182_MapStream/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P182_MapStream/README.md -------------------------------------------------------------------------------- /Chapter09/P182_MapStream/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P182_MapStream/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter09/P182_MapStream/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P182_MapStream/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter09/P182_MapStreamHelpers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P182_MapStreamHelpers/README.md -------------------------------------------------------------------------------- /Chapter09/P182_MapStreamHelpers/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P182_MapStreamHelpers/pom.xml -------------------------------------------------------------------------------- /Chapter09/P183_FindInStream/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P183_FindInStream/README.md -------------------------------------------------------------------------------- /Chapter09/P183_FindInStream/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P183_FindInStream/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter09/P184_MatchInStream/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P184_MatchInStream/README.md -------------------------------------------------------------------------------- /Chapter09/P184_MatchInStream/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P184_MatchInStream/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter09/P185_SumMaxMinInStream/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P185_SumMaxMinInStream/README.md -------------------------------------------------------------------------------- /Chapter09/P185_SumMaxMinInStream/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P185_SumMaxMinInStream/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter09/P185_SumMaxMinInStream/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P185_SumMaxMinInStream/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter09/P186_CollectResultOfStream/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P186_CollectResultOfStream/README.md -------------------------------------------------------------------------------- /Chapter09/P187_JoiningResultsOfStream/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P187_JoiningResultsOfStream/README.md -------------------------------------------------------------------------------- /Chapter09/P188_SummarizationCollectors/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P188_SummarizationCollectors/README.md -------------------------------------------------------------------------------- /Chapter09/P189_Grouping/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P189_Grouping/README.md -------------------------------------------------------------------------------- /Chapter09/P189_Grouping/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P189_Grouping/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter09/P189_Grouping/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P189_Grouping/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter09/P190_Partitioning/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P190_Partitioning/README.md -------------------------------------------------------------------------------- /Chapter09/P190_Partitioning/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P190_Partitioning/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter09/P190_Partitioning/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P190_Partitioning/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter09/P191_FilterFlatAndMapCollectors/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P191_FilterFlatAndMapCollectors/README.md -------------------------------------------------------------------------------- /Chapter09/P192_Teeing/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P192_Teeing/README.md -------------------------------------------------------------------------------- /Chapter09/P192_Teeing/src/modern/challenge/CountSum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P192_Teeing/src/modern/challenge/CountSum.java -------------------------------------------------------------------------------- /Chapter09/P192_Teeing/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P192_Teeing/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter09/P192_Teeing/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P192_Teeing/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter09/P192_Teeing/src/modern/challenge/MinMax.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P192_Teeing/src/modern/challenge/MinMax.java -------------------------------------------------------------------------------- /Chapter09/P192_Teeing/src/modern/challenge/WeightsAndTotal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P192_Teeing/src/modern/challenge/WeightsAndTotal.java -------------------------------------------------------------------------------- /Chapter09/P193_WritingCustomCollector/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P193_WritingCustomCollector/README.md -------------------------------------------------------------------------------- /Chapter09/P194_MethodReference/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P194_MethodReference/README.md -------------------------------------------------------------------------------- /Chapter09/P194_MethodReference/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P194_MethodReference/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter09/P194_MethodReference/src/modern/challenge/Melon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P194_MethodReference/src/modern/challenge/Melon.java -------------------------------------------------------------------------------- /Chapter09/P195_ParallelProcessingOfStreams/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P195_ParallelProcessingOfStreams/README.md -------------------------------------------------------------------------------- /Chapter09/P195_Spliterator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P195_Spliterator/README.md -------------------------------------------------------------------------------- /Chapter09/P195_Spliterator/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P195_Spliterator/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter09/P196_NullSafeStreams/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P196_NullSafeStreams/README.md -------------------------------------------------------------------------------- /Chapter09/P196_NullSafeStreams/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P196_NullSafeStreams/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter09/P197_ComposingFunctionsPredicatesComparators/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P197_ComposingFunctionsPredicatesComparators/README.md -------------------------------------------------------------------------------- /Chapter09/P198_DefaultMethods/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P198_DefaultMethods/README.md -------------------------------------------------------------------------------- /Chapter09/P198_DefaultMethods/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P198_DefaultMethods/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter09/P198_DefaultMethods/src/modern/challenge/Polygon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P198_DefaultMethods/src/modern/challenge/Polygon.java -------------------------------------------------------------------------------- /Chapter09/P198_DefaultMethods/src/modern/challenge/Square.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/P198_DefaultMethods/src/modern/challenge/Square.java -------------------------------------------------------------------------------- /Chapter09/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter09/README.md -------------------------------------------------------------------------------- /Chapter10/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/.gitignore -------------------------------------------------------------------------------- /Chapter10/P199_ThreadLifecycleState/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P199_ThreadLifecycleState/README.md -------------------------------------------------------------------------------- /Chapter10/P200_ObjectVsClassLevelLocking/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P200_ObjectVsClassLevelLocking/README.md -------------------------------------------------------------------------------- /Chapter10/P201_SimpleExecutor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P201_SimpleExecutor/README.md -------------------------------------------------------------------------------- /Chapter10/P201_SimpleExecutor/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P201_SimpleExecutor/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter10/P201_SimpleThreadPoolExecutor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P201_SimpleThreadPoolExecutor/README.md -------------------------------------------------------------------------------- /Chapter10/P202_ThreadPoolSingleThread_TransferQueue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P202_ThreadPoolSingleThread_TransferQueue/README.md -------------------------------------------------------------------------------- /Chapter10/P203_ThreadPoolFixed_ConcurrentLinkedQueue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P203_ThreadPoolFixed_ConcurrentLinkedQueue/README.md -------------------------------------------------------------------------------- /Chapter10/P203_ThreadPoolFixed_TransferQueue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P203_ThreadPoolFixed_TransferQueue/README.md -------------------------------------------------------------------------------- /Chapter10/P204_ThreadPoolCached_LinkedBlockingQueue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P204_ThreadPoolCached_LinkedBlockingQueue/README.md -------------------------------------------------------------------------------- /Chapter10/P206_CallableAndFuture/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P206_CallableAndFuture/README.md -------------------------------------------------------------------------------- /Chapter10/P206_CallableAndFuture/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P206_CallableAndFuture/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter10/P207_InvokeMultipleCallable/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P207_InvokeMultipleCallable/README.md -------------------------------------------------------------------------------- /Chapter10/P207_InvokeMultipleCallableDoNotWaitAll/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P207_InvokeMultipleCallableDoNotWaitAll/README.md -------------------------------------------------------------------------------- /Chapter10/P208_Latches/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P208_Latches/README.md -------------------------------------------------------------------------------- /Chapter10/P208_Latches/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P208_Latches/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter10/P208_Latches/src/modern/challenge/ServerInstance.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P208_Latches/src/modern/challenge/ServerInstance.java -------------------------------------------------------------------------------- /Chapter10/P208_Latches/src/modern/challenge/ServerService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P208_Latches/src/modern/challenge/ServerService.java -------------------------------------------------------------------------------- /Chapter10/P209_Barrier/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P209_Barrier/README.md -------------------------------------------------------------------------------- /Chapter10/P209_Barrier/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P209_Barrier/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter10/P209_Barrier/src/modern/challenge/ServerInstance.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P209_Barrier/src/modern/challenge/ServerInstance.java -------------------------------------------------------------------------------- /Chapter10/P209_Barrier/src/modern/challenge/ServerService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P209_Barrier/src/modern/challenge/ServerService.java -------------------------------------------------------------------------------- /Chapter10/P210_Exchangers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P210_Exchangers/README.md -------------------------------------------------------------------------------- /Chapter10/P210_Exchangers/src/modern/challenge/AssemblyLine.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P210_Exchangers/src/modern/challenge/AssemblyLine.java -------------------------------------------------------------------------------- /Chapter10/P210_Exchangers/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P210_Exchangers/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter10/P211_Semaphore/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P211_Semaphore/README.md -------------------------------------------------------------------------------- /Chapter10/P211_Semaphore/src/modern/challenge/Barbershop.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P211_Semaphore/src/modern/challenge/Barbershop.java -------------------------------------------------------------------------------- /Chapter10/P211_Semaphore/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P211_Semaphore/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter10/P212_Phaser/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P212_Phaser/README.md -------------------------------------------------------------------------------- /Chapter10/P212_Phaser/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P212_Phaser/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter10/P212_Phaser/src/modern/challenge/ServerInstance.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P212_Phaser/src/modern/challenge/ServerInstance.java -------------------------------------------------------------------------------- /Chapter10/P212_Phaser/src/modern/challenge/ServerService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/P212_Phaser/src/modern/challenge/ServerService.java -------------------------------------------------------------------------------- /Chapter10/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter10/README.md -------------------------------------------------------------------------------- /Chapter11/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/.gitignore -------------------------------------------------------------------------------- /Chapter11/P213_ThreadInterruption/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P213_ThreadInterruption/README.md -------------------------------------------------------------------------------- /Chapter11/P213_ThreadInterruption/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P213_ThreadInterruption/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter11/P214_ForkJoinCountedCompleter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P214_ForkJoinCountedCompleter/README.md -------------------------------------------------------------------------------- /Chapter11/P214_ForkJoinFibonacci/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P214_ForkJoinFibonacci/README.md -------------------------------------------------------------------------------- /Chapter11/P214_ForkJoinFibonacci/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P214_ForkJoinFibonacci/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter11/P214_ForkJoinSum/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P214_ForkJoinSum/README.md -------------------------------------------------------------------------------- /Chapter11/P214_ForkJoinSum/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P214_ForkJoinSum/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter11/P215_compareAndSetForkJoinTaskTag/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P215_compareAndSetForkJoinTaskTag/README.md -------------------------------------------------------------------------------- /Chapter11/P216_CompletableFuture/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P216_CompletableFuture/README.md -------------------------------------------------------------------------------- /Chapter11/P216_CompletableFuture/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P216_CompletableFuture/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter11/P217_ComposeCombineCompletableFuture/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P217_ComposeCombineCompletableFuture/README.md -------------------------------------------------------------------------------- /Chapter11/P218_onSpinWait/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P218_onSpinWait/README.md -------------------------------------------------------------------------------- /Chapter11/P218_onSpinWait/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P218_onSpinWait/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter11/P218_onSpinWait/src/modern/challenge/StartService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P218_onSpinWait/src/modern/challenge/StartService.java -------------------------------------------------------------------------------- /Chapter11/P219_Cancellation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P219_Cancellation/README.md -------------------------------------------------------------------------------- /Chapter11/P219_Cancellation/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P219_Cancellation/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter11/P219_Cancellation/src/modern/challenge/RandomList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P219_Cancellation/src/modern/challenge/RandomList.java -------------------------------------------------------------------------------- /Chapter11/P220_ThreadLocal/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P220_ThreadLocal/README.md -------------------------------------------------------------------------------- /Chapter11/P220_ThreadLocal/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P220_ThreadLocal/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter11/P220_ThreadLocalCustomer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P220_ThreadLocalCustomer/README.md -------------------------------------------------------------------------------- /Chapter11/P220_ThreadLocalCustomer/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P220_ThreadLocalCustomer/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter11/P221_AddersAndAccumulators/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P221_AddersAndAccumulators/README.md -------------------------------------------------------------------------------- /Chapter11/P221_AtomicAction/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P221_AtomicAction/README.md -------------------------------------------------------------------------------- /Chapter11/P221_AtomicAction/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P221_AtomicAction/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter11/P221_AtomicOperations/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P221_AtomicOperations/README.md -------------------------------------------------------------------------------- /Chapter11/P221_AtomicOperations/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P221_AtomicOperations/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter11/P222_ReentrantLock/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P222_ReentrantLock/README.md -------------------------------------------------------------------------------- /Chapter11/P222_ReentrantLock_LockInterruptibly/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P222_ReentrantLock_LockInterruptibly/README.md -------------------------------------------------------------------------------- /Chapter11/P222_ReentrantLock_NewCondition/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P222_ReentrantLock_NewCondition/README.md -------------------------------------------------------------------------------- /Chapter11/P222_ReentrantLock_TryLock/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P222_ReentrantLock_TryLock/README.md -------------------------------------------------------------------------------- /Chapter11/P223_ReentrantLockReadWriteLock/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P223_ReentrantLockReadWriteLock/README.md -------------------------------------------------------------------------------- /Chapter11/P224_StampedLock/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P224_StampedLock/README.md -------------------------------------------------------------------------------- /Chapter11/P224_StampedLock_tryConvertToWriteLock/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P224_StampedLock_tryConvertToWriteLock/README.md -------------------------------------------------------------------------------- /Chapter11/P225_DiningPhilosophers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P225_DiningPhilosophers/README.md -------------------------------------------------------------------------------- /Chapter11/P225_DiningPhilosophers/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/P225_DiningPhilosophers/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter11/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter11/README.md -------------------------------------------------------------------------------- /Chapter12/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/.gitignore -------------------------------------------------------------------------------- /Chapter12/P226_InitializingOptional/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P226_InitializingOptional/README.md -------------------------------------------------------------------------------- /Chapter12/P226_InitializingOptional/src/modern/challenge/Book.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Book { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter12/P227_GetAndMissingValue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P227_GetAndMissingValue/README.md -------------------------------------------------------------------------------- /Chapter12/P227_GetAndMissingValue/src/modern/challenge/Book.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Book { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter12/P227_GetAndMissingValue/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P227_GetAndMissingValue/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter12/P228_AlreadyConstructedDefaultValue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P228_AlreadyConstructedDefaultValue/README.md -------------------------------------------------------------------------------- /Chapter12/P229_NonExistentDefaultValue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P229_NonExistentDefaultValue/README.md -------------------------------------------------------------------------------- /Chapter12/P230_ThrowingNoSuchElementException/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P230_ThrowingNoSuchElementException/README.md -------------------------------------------------------------------------------- /Chapter12/P231_NullReferences/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P231_NullReferences/README.md -------------------------------------------------------------------------------- /Chapter12/P231_NullReferences/src/modern/challenge/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P231_NullReferences/src/modern/challenge/Book.java -------------------------------------------------------------------------------- /Chapter12/P231_NullReferences/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P231_NullReferences/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter12/P232_ConsumingPresentOptional/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P232_ConsumingPresentOptional/README.md -------------------------------------------------------------------------------- /Chapter12/P233_ReturningPresentOptional/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P233_ReturningPresentOptional/README.md -------------------------------------------------------------------------------- /Chapter12/P234_ChainingLambdas/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P234_ChainingLambdas/README.md -------------------------------------------------------------------------------- /Chapter12/P234_ChainingLambdas/src/modern/challenge/Author.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P234_ChainingLambdas/src/modern/challenge/Author.java -------------------------------------------------------------------------------- /Chapter12/P234_ChainingLambdas/src/modern/challenge/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P234_ChainingLambdas/src/modern/challenge/Book.java -------------------------------------------------------------------------------- /Chapter12/P234_ChainingLambdas/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P234_ChainingLambdas/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter12/P235_OptionalForGettingValue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P235_OptionalForGettingValue/README.md -------------------------------------------------------------------------------- /Chapter12/P236_OptionalForFields/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P236_OptionalForFields/README.md -------------------------------------------------------------------------------- /Chapter12/P236_OptionalForFields/src/modern/challenge/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P236_OptionalForFields/src/modern/challenge/Book.java -------------------------------------------------------------------------------- /Chapter12/P236_OptionalForFields/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P236_OptionalForFields/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter12/P237_OptionalInConstructorsArgs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P237_OptionalInConstructorsArgs/README.md -------------------------------------------------------------------------------- /Chapter12/P238_OptionalInSetterArgs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P238_OptionalInSetterArgs/README.md -------------------------------------------------------------------------------- /Chapter12/P239_OptionalInMethodArgs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P239_OptionalInMethodArgs/README.md -------------------------------------------------------------------------------- /Chapter12/P239_OptionalInMethodArgs/src/modern/challenge/Format.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Format { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter12/P239_OptionalInMethodArgs/src/modern/challenge/Renderer.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public interface Renderer { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter12/P240_OptionalEmptyListOrArray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P240_OptionalEmptyListOrArray/README.md -------------------------------------------------------------------------------- /Chapter12/P240_OptionalEmptyListOrArray/src/modern/challenge/Book.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Book { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter12/P241_OptionalInCollections/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P241_OptionalInCollections/README.md -------------------------------------------------------------------------------- /Chapter12/P241_OptionalInCollections/src/modern/challenge/Book.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Book { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter12/P242_OptionalOfAndOfNullable/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P242_OptionalOfAndOfNullable/README.md -------------------------------------------------------------------------------- /Chapter12/P243_NonGenericOptionalInt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P243_NonGenericOptionalInt/README.md -------------------------------------------------------------------------------- /Chapter12/P244_AssertingEqualityOfOptional/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P244_AssertingEqualityOfOptional/README.md -------------------------------------------------------------------------------- /Chapter12/P244_AssertingEqualityOfOptional/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P244_AssertingEqualityOfOptional/pom.xml -------------------------------------------------------------------------------- /Chapter12/P245_OptionalMapAndFlatMap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P245_OptionalMapAndFlatMap/README.md -------------------------------------------------------------------------------- /Chapter12/P246_OptionalFilter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P246_OptionalFilter/README.md -------------------------------------------------------------------------------- /Chapter12/P246_OptionalFilter/src/modern/challenge/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P246_OptionalFilter/src/modern/challenge/Book.java -------------------------------------------------------------------------------- /Chapter12/P246_OptionalFilter/src/modern/challenge/Bookstore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P246_OptionalFilter/src/modern/challenge/Bookstore.java -------------------------------------------------------------------------------- /Chapter12/P246_OptionalFilter/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P246_OptionalFilter/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter12/P247_OptionalStream/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P247_OptionalStream/README.md -------------------------------------------------------------------------------- /Chapter12/P247_OptionalStream/src/modern/challenge/Book.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Book { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter12/P247_OptionalStream/src/modern/challenge/Bookstore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P247_OptionalStream/src/modern/challenge/Bookstore.java -------------------------------------------------------------------------------- /Chapter12/P247_OptionalStream/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P247_OptionalStream/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter12/P248_IdentitySensitiveOperations/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P248_IdentitySensitiveOperations/README.md -------------------------------------------------------------------------------- /Chapter12/P248_IdentitySensitiveOperations/src/modern/challenge/Book.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Book { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter12/P249_ReturnBooleanEmptyOptional/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/P249_ReturnBooleanEmptyOptional/README.md -------------------------------------------------------------------------------- /Chapter12/P249_ReturnBooleanEmptyOptional/src/modern/challenge/Cart.java: -------------------------------------------------------------------------------- 1 | package modern.challenge; 2 | 3 | public class Cart { 4 | } 5 | -------------------------------------------------------------------------------- /Chapter12/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter12/README.md -------------------------------------------------------------------------------- /Chapter13/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/.gitignore -------------------------------------------------------------------------------- /Chapter13/P250_QueryParametersBuilder/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P250_QueryParametersBuilder/README.md -------------------------------------------------------------------------------- /Chapter13/P250_QueryParametersBuilder/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P250_QueryParametersBuilder/pom.xml -------------------------------------------------------------------------------- /Chapter13/P250_QueryParametersBuilder/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13/P251_SimpleGETSync/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P251_SimpleGETSync/README.md -------------------------------------------------------------------------------- /Chapter13/P251_SimpleGETSync/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P251_SimpleGETSync/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P252_SettingProxy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P252_SettingProxy/README.md -------------------------------------------------------------------------------- /Chapter13/P252_SettingProxy/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P252_SettingProxy/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P253_SettingGettingHeaders/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P253_SettingGettingHeaders/README.md -------------------------------------------------------------------------------- /Chapter13/P254_SpecifyingHTTPMethod/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P254_SpecifyingHTTPMethod/README.md -------------------------------------------------------------------------------- /Chapter13/P255_SettingRequestBody/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P255_SettingRequestBody/README.md -------------------------------------------------------------------------------- /Chapter13/P255_SettingRequestBody/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P255_SettingRequestBody/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P255_SettingRequestBody/user.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P255_SettingRequestBody/user.json -------------------------------------------------------------------------------- /Chapter13/P256_ConnectionAuthentication/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P256_ConnectionAuthentication/README.md -------------------------------------------------------------------------------- /Chapter13/P257_SettingTimeout/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P257_SettingTimeout/README.md -------------------------------------------------------------------------------- /Chapter13/P257_SettingTimeout/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P257_SettingTimeout/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P258_SettingRedirectPolicy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P258_SettingRedirectPolicy/README.md -------------------------------------------------------------------------------- /Chapter13/P259_SyncAsync/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P259_SyncAsync/README.md -------------------------------------------------------------------------------- /Chapter13/P259_SyncAsync/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P259_SyncAsync/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P259_SyncAsync/src/modern/challenge/SyncRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P259_SyncAsync/src/modern/challenge/SyncRequest.java -------------------------------------------------------------------------------- /Chapter13/P260_HandlingCookies/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P260_HandlingCookies/README.md -------------------------------------------------------------------------------- /Chapter13/P260_HandlingCookies/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P260_HandlingCookies/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P261_ResponseInformation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P261_ResponseInformation/README.md -------------------------------------------------------------------------------- /Chapter13/P261_ResponseInformation/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P261_ResponseInformation/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P262_ResponseBodyTypes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P262_ResponseBodyTypes/README.md -------------------------------------------------------------------------------- /Chapter13/P262_ResponseBodyTypes/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P262_ResponseBodyTypes/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P263_JsonViaHttpClient/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P263_JsonViaHttpClient/README.md -------------------------------------------------------------------------------- /Chapter13/P263_JsonViaHttpClient/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P263_JsonViaHttpClient/pom.xml -------------------------------------------------------------------------------- /Chapter13/P264_Compression/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P264_Compression/README.md -------------------------------------------------------------------------------- /Chapter13/P264_Compression/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P264_Compression/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P265_FormData/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P265_FormData/README.md -------------------------------------------------------------------------------- /Chapter13/P265_FormData/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P265_FormData/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P266_DownloadOfFile/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P266_DownloadOfFile/README.md -------------------------------------------------------------------------------- /Chapter13/P266_DownloadOfFile/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P266_DownloadOfFile/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P266_DownloadOfFileDownload/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P266_DownloadOfFileDownload/README.md -------------------------------------------------------------------------------- /Chapter13/P267_Upload/LoremIpsum.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P267_Upload/LoremIpsum.txt -------------------------------------------------------------------------------- /Chapter13/P267_Upload/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P267_Upload/README.md -------------------------------------------------------------------------------- /Chapter13/P267_Upload/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P267_Upload/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P268_ServerPush/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P268_ServerPush/README.md -------------------------------------------------------------------------------- /Chapter13/P268_ServerPush/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P268_ServerPush/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P268_ServerPushToDisk/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P268_ServerPushToDisk/README.md -------------------------------------------------------------------------------- /Chapter13/P268_ServerPushToDisk/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P268_ServerPushToDisk/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P268_ServerPushToMap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P268_ServerPushToMap/README.md -------------------------------------------------------------------------------- /Chapter13/P268_ServerPushToMap/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P268_ServerPushToMap/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/P269_WebSocket/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P269_WebSocket/README.md -------------------------------------------------------------------------------- /Chapter13/P269_WebSocket/src/modern/challenge/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/P269_WebSocket/src/modern/challenge/Main.java -------------------------------------------------------------------------------- /Chapter13/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/Chapter13/README.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Java-Coding-Problems/HEAD/README.md --------------------------------------------------------------------------------