From bf12be25ac3a138a1f24a4828e63e2cd233f5b7f Mon Sep 17 00:00:00 2001 From: Mattrixwv Date: Wed, 30 Jun 2021 17:52:08 -0400 Subject: [PATCH] Updated comments --- src/main/java/mattrixwv/Algorithms.java | 2 -- .../java/mattrixwv/SieveOfEratosthenes.java | 21 +++++++++++++++++++ .../mattrixwv/SieveOfEratosthenesBig.java | 21 +++++++++++++++++++ .../mattrixwv/TestSieveOfEratosthenes.java | 21 +++++++++++++++++++ 4 files changed, 63 insertions(+), 2 deletions(-) diff --git a/src/main/java/mattrixwv/Algorithms.java b/src/main/java/mattrixwv/Algorithms.java index 0f949d1..247d639 100644 --- a/src/main/java/mattrixwv/Algorithms.java +++ b/src/main/java/mattrixwv/Algorithms.java @@ -20,8 +20,6 @@ Copyright (C) 2021 Matthew Ellison You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ - - package mattrixwv; diff --git a/src/main/java/mattrixwv/SieveOfEratosthenes.java b/src/main/java/mattrixwv/SieveOfEratosthenes.java index 153a04a..d9e264d 100644 --- a/src/main/java/mattrixwv/SieveOfEratosthenes.java +++ b/src/main/java/mattrixwv/SieveOfEratosthenes.java @@ -1,3 +1,24 @@ +//JavaClasses/src/main/java/mattrixwv/SieveOfEratosthenes.java +//Matthew Ellison +// Created: 06-30-21 +//Modified: 06-30-21 +//This class uses to Sieve of Eratosthenes to generate an infinite number of primes +/* +Copyright (C) 2021 Matthew Ellison + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ package mattrixwv; diff --git a/src/main/java/mattrixwv/SieveOfEratosthenesBig.java b/src/main/java/mattrixwv/SieveOfEratosthenesBig.java index 7e62ff4..1e7db98 100644 --- a/src/main/java/mattrixwv/SieveOfEratosthenesBig.java +++ b/src/main/java/mattrixwv/SieveOfEratosthenesBig.java @@ -1,3 +1,24 @@ +//JavaClasses/src/main/java/mattrixwv/SieveOfEratosthenesBig.java +//Matthew Ellison +// Created: 06-30-21 +//Modified: 06-30-21 +//This class uses to Sieve of Eratosthenes to generate an infinite number of primes +/* +Copyright (C) 2021 Matthew Ellison + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ package mattrixwv; diff --git a/src/test/java/mattrixwv/TestSieveOfEratosthenes.java b/src/test/java/mattrixwv/TestSieveOfEratosthenes.java index a218ba4..de5b93b 100644 --- a/src/test/java/mattrixwv/TestSieveOfEratosthenes.java +++ b/src/test/java/mattrixwv/TestSieveOfEratosthenes.java @@ -1,3 +1,24 @@ +//JavaClasses/src/test/java/mattrixwv/TestSieveOfEratosthenes.java +//Matthew Ellison +// Created: 06-30-21 +//Modified: 06-30-21 +//This class uses to Sieve of Eratosthenes to generate an infinite number of primes +/* +Copyright (C) 2021 Matthew Ellison + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ package mattrixwv;