Java number related and examples

This commit is contained in:
YuCheng Hu 2021-09-23 15:00:31 -04:00
parent e6b16cbf16
commit 32311cd138
2 changed files with 54 additions and 101 deletions

View File

@ -4,102 +4,9 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="2a855b03-5ee0-4324-b916-110994784a14" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/compiler.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/encodings.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/encodings.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/modules.xml" beforeDir="false" />
<list default="true" id="2a855b03-5ee0-4324-b916-110994784a14" name="Changes" comment="Update change to different folder and set to rebuild">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/core-java-modules/core-java-annotations/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/core-java-modules/core-java-annotations/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/core-java-modules/core-java-datetime-conversion/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/core-java-modules/core-java-datetime-conversion/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/core-java-modules/core-java-datetime-conversion/src/test/java/com/baeldung/datetime/ConvertInstantToTimestampUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/core-java-modules/core-java-datetime-conversion/src/test/java/com/baeldung/datetime/ConvertInstantToTimestampUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/core-java-modules/core-java-io/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/core-java-modules/core-java-io/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/core-java-modules/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/core-java-modules/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions-2/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions-2/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/baeldung/convertlisttomap/ListToMapConverter.java" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/ossez/convertlisttomap/ListToMapConverter.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/baeldung/modelmapper/MapperUtil.java" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/ossez/modelmapper/MapperUtil.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/baeldung/modelmapper/User.java" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/ossez/modelmapper/User.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/baeldung/modelmapper/UserDTO.java" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/ossez/modelmapper/UserDTO.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/baeldung/modelmapper/UserList.java" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/ossez/modelmapper/UserList.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/baeldung/modelmapper/UserListDTO.java" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/ossez/modelmapper/UserListDTO.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/baeldung/modelmapper/UsersListConverter.java" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions-2/src/main/java/com/ossez/modelmapper/UsersListConverter.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions-2/src/test/java/com/baeldung/arrayconversion/ArrayToListConversionUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions-2/src/test/java/com/ossez/arrayconversion/ArrayToListConversionUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions-2/src/test/java/com/baeldung/convertarraytostring/ArrayToStringUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions-2/src/test/java/com/ossez/convertarraytostring/ArrayToStringUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions-2/src/test/java/com/baeldung/convertlisttomap/ListToMapUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions-2/src/test/java/com/ossez/convertlisttomap/ListToMapUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions-2/src/test/java/com/baeldung/modelmapper/UsersListMappingUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions-2/src/test/java/com/ossez/modelmapper/UsersListMappingUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions-2/src/test/java/com/baeldung/setiteration/SetIteration.java" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions-2/src/test/java/com/ossez/setiteration/SetIteration.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-collections-conversions/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/java-collections-conversions/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/.idea/.gitignore" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/.idea/compiler.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/.idea/encodings.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/.idea/jarRepositories.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/.idea/misc.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/.idea/runConfigurations.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/.idea/vcs.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/README.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/algorithms/primechecker/BigIntegerPrimeChecker.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/algorithms/primechecker/BigIntegerPrimeChecker.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/algorithms/primechecker/BruteForcePrimeChecker.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/algorithms/primechecker/BruteForcePrimeChecker.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/algorithms/primechecker/OptimisedPrimeChecker.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/algorithms/primechecker/OptimisedPrimeChecker.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/algorithms/primechecker/PrimeChecker.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/algorithms/primechecker/PrimeChecker.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/algorithms/primechecker/PrimesPrimeChecker.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/algorithms/primechecker/PrimesPrimeChecker.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/area/circle/Circle.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/area/circle/Circle.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/area/circle/CircleArea.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/area/circle/CircleArea.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/binarynumbers/BinaryNumbers.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/binarynumbers/BinaryNumbers.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/lcm/BigIntegerLCM.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/lcm/BigIntegerLCM.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/lcm/EuclideanAlgorithm.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/lcm/EuclideanAlgorithm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/lcm/PrimeFactorizationAlgorithm.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/lcm/PrimeFactorizationAlgorithm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/lcm/SimpleAlgorithm.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/lcm/SimpleAlgorithm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/nan/NaNExample.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/nan/NaNExample.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/pow/PowerExample.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/pow/PowerExample.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/main/java/com/ossez/prime/PrimeGenerator.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/main/java/com/ossez/prime/PrimeGenerator.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/test/java/com/ossez/algorithms/primechecker/PrimeCheckerUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/test/java/com/ossez/algorithms/primechecker/PrimeCheckerUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/test/java/com/ossez/binarynumbers/BinaryNumbersUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/test/java/com/ossez/binarynumbers/BinaryNumbersUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/test/java/com/ossez/java/math/MathUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/test/java/com/ossez/java/math/MathUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/test/java/com/ossez/lcm/BigIntegerLCMUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/test/java/com/ossez/lcm/BigIntegerLCMUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/test/java/com/ossez/lcm/EuclideanAlgorithmUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/test/java/com/ossez/lcm/EuclideanAlgorithmUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/test/java/com/ossez/lcm/PrimeFactorizationAlgorithmUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/test/java/com/ossez/lcm/PrimeFactorizationAlgorithmUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/test/java/com/ossez/lcm/SimpleAlgorithmUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/test/java/com/ossez/lcm/SimpleAlgorithmUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/test/java/com/ossez/lossyconversion/ConversionTechniquesUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/test/java/com/ossez/lossyconversion/ConversionTechniquesUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/test/java/com/ossez/prime/PrimeGeneratorUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/src/test/java/com/ossez/prime/PrimeGeneratorUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers-2/src/test/java/com/ossez/primechecker/PrimeCheckerUnitTest.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/README.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/java/com/ossez/maths/BigDecimalDemo.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/java/com/ossez/maths/BigDecimalDemo.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/java/com/ossez/maths/FloatingPointArithmetic.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/java/com/ossez/maths/FloatingPointArithmetic.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/java/com/ossez/maths/Round.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/java/com/ossez/maths/Round.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/java/com/ossez/nth/root/calculator/NthRootCalculator.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/java/com/ossez/nth/root/calculator/NthRootCalculator.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/java/com/ossez/nth/root/main/Main.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/java/com/ossez/nth/root/main/Main.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/java/com/ossez/numberofdigits/Benchmarking.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/java/com/ossez/numberofdigits/Benchmarking.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/java/com/ossez/numberofdigits/NumberOfDigits.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/java/com/ossez/numberofdigits/NumberOfDigits.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/java/com/ossez/numberofdigits/NumberOfDigitsDriver.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/java/com/ossez/numberofdigits/NumberOfDigitsDriver.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/java/com/ossez/pairsaddupnumber/DifferentPairs.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/java/com/ossez/pairsaddupnumber/DifferentPairs.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/java/com/ossez/pairsaddupnumber/ExistingPairs.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/java/com/ossez/pairsaddupnumber/ExistingPairs.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/java/com/ossez/pairsaddupnumber/FindPairs.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/java/com/ossez/pairsaddupnumber/FindPairs.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/java/com/ossez/random/SecureRandomDemo.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/java/com/ossez/random/SecureRandomDemo.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/java/com/ossez/string/DoubleToString.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/java/com/ossez/string/DoubleToString.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/resources/log4j.properties" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/resources/log4j.properties" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/main/resources/logback.xml" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/main/resources/logback.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/decimalformat/DecimalFormatExamplesUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/decimalformat/DecimalFormatExamplesUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/maths/BigDecimalDemoUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/maths/BigDecimalDemoUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/maths/BigDecimalImplUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/maths/BigDecimalImplUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/maths/BigIntegerDemoUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/maths/BigIntegerDemoUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/maths/BigIntegerImplUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/maths/BigIntegerImplUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/maths/FloatingPointArithmeticUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/maths/FloatingPointArithmeticUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/maths/MathSinUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/maths/MathSinUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/maths/RoundUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/maths/RoundUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/nth/root/calculator/NthRootCalculatorUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/nth/root/calculator/NthRootCalculatorUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/nth/root/main/MainUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/nth/root/main/MainUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/numberofdigits/NumberOfDigitsIntegrationTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/numberofdigits/NumberOfDigitsIntegrationTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/pairsaddupnumber/DifferentPairsUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/pairsaddupnumber/DifferentPairsUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/pairsaddupnumber/ExistingPairsUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/pairsaddupnumber/ExistingPairsUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/random/JavaRandomUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/random/JavaRandomUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/removingdecimals/RemovingDecimalsManualTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/removingdecimals/RemovingDecimalsManualTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/removingdecimals/RemovingDecimalsUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/removingdecimals/RemovingDecimalsUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/java-numbers/src/test/java/com/ossez/string/DoubleToStringUnitTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers/src/test/java/com/ossez/string/DoubleToStringUnitTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/parent-java/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/test/java/com/ossez/codebank/algorithm/tests/VariableTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/com/ossez/codebank/algorithm/tests/VariableTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/parent-java/java-numbers-2/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/parent-java/java-numbers-2/README.md" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -117,13 +24,27 @@
<component name="PropertiesComponent">
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
<property name="TF_FMT" value="false" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="node.js.detected.package.eslint" value="true" />
<property name="node.js.detected.package.tslint" value="true" />
<property name="node.js.selected.package.eslint" value="(autodetect)" />
<property name="node.js.selected.package.tslint" value="(autodetect)" />
</component>
<component name="RunManager">
<component name="RunManager" selected="Application.NaNExample">
<configuration name="NaNExample" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.ossez.nan.NaNExample" />
<module name="java-numbers-2" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.ossez.nan.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="PrimeCheckerUnitTest.whenCheckIsPrime_thenTrue" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
<module name="java-numbers-2" />
<extension name="coverage">
@ -169,6 +90,7 @@
</configuration>
<recent_temporary>
<list>
<item itemvalue="Application.NaNExample" />
<item itemvalue="JUnit.PrimeCheckerUnitTest.whenCheckIsPrime_thenTrue" />
</list>
</recent_temporary>
@ -182,11 +104,42 @@
<option name="presentableId" value="Default" />
<updated>1632408056518</updated>
<workItem from="1632408057926" duration="1144000" />
<workItem from="1632417263821" duration="622000" />
<workItem from="1632417263821" duration="2908000" />
</task>
<task id="LOCAL-00001" summary="修改项目到不同的路径">
<created>1632420206392</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1632420206392</updated>
</task>
<task id="LOCAL-00002" summary="Update change to different folder and set to rebuild">
<created>1632420268850</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1632420268850</updated>
</task>
<option name="localTasksCounter" value="3" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="Vcs.Log.Tabs.Properties">
<option name="TAB_STATES">
<map>
<entry key="MAIN">
<value>
<State />
</value>
</entry>
</map>
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="修改项目到不同的路径" />
<MESSAGE value="Update change to different folder and set to rebuild" />
<option name="LAST_COMMIT_MESSAGE" value="Update change to different folder and set to rebuild" />
</component>
</project>

View File

@ -1,12 +1,12 @@
## Java Number Cookbooks and Examples
## Java 数字相关的文章和实例
This module contains articles about numbers in Java.
本模块中包含了与 Java 数字相关的一些文章
### Relevant Articles
### 相关文章
- [Lossy Conversion in Java](https://www.baeldung.com/java-lossy-conversion)
- [A Guide to the Java Math Class](https://www.baeldung.com/java-lang-math)
- [Calculate the Area of a Circle in Java](https://www.baeldung.com/java-calculate-circle-area)
- [NaN in Java](https://www.baeldung.com/java-not-a-number)
- [Java 中的 NaN](https://www.ossez.com/t/java-nan/13748)
- [Generating Prime Numbers in Java](https://www.baeldung.com/java-generate-prime-numbers)
- [Using Math.pow in Java](https://www.baeldung.com/java-math-pow)
- [Check If a Number Is Prime in Java](https://www.baeldung.com/java-prime-numbers)