Skip to content

Commit 4da9816

Browse files
committed
MASSIVE CHANGE: rename Group to Algebra
1 parent 80eeeac commit 4da9816

File tree

498 files changed

+827
-827
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

498 files changed

+827
-827
lines changed

src/main/java/nom/bdezonia/zorbage/groups/G.java renamed to src/main/java/nom/bdezonia/zorbage/algebras/G.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2525
* POSSIBILITY OF SUCH DAMAGE.
2626
*/
27-
package nom.bdezonia.zorbage.groups;
27+
package nom.bdezonia.zorbage.algebras;
2828

2929
import nom.bdezonia.zorbage.type.data.bigint.UnboundedIntGroup;
3030
import nom.bdezonia.zorbage.type.data.bool.BooleanGroup;

src/main/java/nom/bdezonia/zorbage/algorithm/AdjacentFind.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
package nom.bdezonia.zorbage.algorithm;
2828

29-
import nom.bdezonia.zorbage.type.algebra.Group;
29+
import nom.bdezonia.zorbage.type.algebra.Algebra;
3030
import nom.bdezonia.zorbage.type.storage.IndexedDataSource;
3131

3232
/**
@@ -45,7 +45,7 @@ private AdjacentFind() {}
4545
* @param value
4646
* @return
4747
*/
48-
public static <T extends Group<T,U>, U>
48+
public static <T extends Algebra<T,U>, U>
4949
long compute(T group, IndexedDataSource<?,U> a)
5050
{
5151
return compute(group, 0, a.size(), a);
@@ -60,7 +60,7 @@ long compute(T group, IndexedDataSource<?,U> a)
6060
* @param count
6161
* @return
6262
*/
63-
public static <T extends Group<T,U>, U>
63+
public static <T extends Algebra<T,U>, U>
6464
long compute(T group, long start, long count, IndexedDataSource<?,U> a)
6565
{
6666
if (start+count < 2) return start+count;

src/main/java/nom/bdezonia/zorbage/algorithm/AllOf.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
package nom.bdezonia.zorbage.algorithm;
2828

2929
import nom.bdezonia.zorbage.condition.Condition;
30-
import nom.bdezonia.zorbage.type.algebra.Group;
30+
import nom.bdezonia.zorbage.type.algebra.Algebra;
3131
import nom.bdezonia.zorbage.type.storage.IndexedDataSource;
3232

3333
/**
@@ -46,7 +46,7 @@ private AllOf() {}
4646
* @param condition
4747
* @return
4848
*/
49-
public static <T extends Group<T,U>, U>
49+
public static <T extends Algebra<T,U>, U>
5050
boolean compute(T group, Condition<U> condition, IndexedDataSource<?,U> a)
5151
{
5252
return compute(group, condition, 0, a.size(), a);
@@ -61,7 +61,7 @@ boolean compute(T group, Condition<U> condition, IndexedDataSource<?,U> a)
6161
* @param count
6262
* @return
6363
*/
64-
public static <T extends Group<T,U>, U>
64+
public static <T extends Algebra<T,U>, U>
6565
boolean compute(T group, Condition<U> condition, long start, long count, IndexedDataSource<?,U> a)
6666
{
6767
U value = group.construct();

src/main/java/nom/bdezonia/zorbage/algorithm/AnyOf.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
package nom.bdezonia.zorbage.algorithm;
2828

2929
import nom.bdezonia.zorbage.condition.Condition;
30-
import nom.bdezonia.zorbage.type.algebra.Group;
30+
import nom.bdezonia.zorbage.type.algebra.Algebra;
3131
import nom.bdezonia.zorbage.type.storage.IndexedDataSource;
3232

3333
/**
@@ -46,7 +46,7 @@ private AnyOf() {}
4646
* @param condition
4747
* @return
4848
*/
49-
public static <T extends Group<T,U>, U>
49+
public static <T extends Algebra<T,U>, U>
5050
boolean compute(T group, Condition<U> condition, IndexedDataSource<?,U> a)
5151
{
5252
return compute(group, condition, 0, a.size(), a);
@@ -61,7 +61,7 @@ boolean compute(T group, Condition<U> condition, IndexedDataSource<?,U> a)
6161
* @param count
6262
* @return
6363
*/
64-
public static <T extends Group<T,U>, U>
64+
public static <T extends Algebra<T,U>, U>
6565
boolean compute(T group, Condition<U> condition, long start, long count, IndexedDataSource<?,U> a)
6666
{
6767
U value = group.construct();

src/main/java/nom/bdezonia/zorbage/algorithm/Average.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import nom.bdezonia.zorbage.type.algebra.Unity;
3131
import nom.bdezonia.zorbage.type.storage.IndexedDataSource;
3232
import nom.bdezonia.zorbage.type.algebra.Addition;
33-
import nom.bdezonia.zorbage.type.algebra.Group;
33+
import nom.bdezonia.zorbage.type.algebra.Algebra;
3434

3535
/**
3636
*
@@ -46,7 +46,7 @@ private Average() {}
4646
* @param storage
4747
* @param result
4848
*/
49-
public static <T extends Group<T,U> & Addition<U> & Invertible<U> & Unity<U>, U>
49+
public static <T extends Algebra<T,U> & Addition<U> & Invertible<U> & Unity<U>, U>
5050
void compute(T grp, IndexedDataSource<?,U> storage, U result)
5151
{
5252
U sum = grp.construct();

src/main/java/nom/bdezonia/zorbage/algorithm/BinarySearch.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
package nom.bdezonia.zorbage.algorithm;
2828

29-
import nom.bdezonia.zorbage.type.algebra.Group;
29+
import nom.bdezonia.zorbage.type.algebra.Algebra;
3030
import nom.bdezonia.zorbage.type.algebra.Ordered;
3131
import nom.bdezonia.zorbage.type.storage.IndexedDataSource;
3232

@@ -53,7 +53,7 @@ private BinarySearch() {
5353
* @param value
5454
* @return
5555
*/
56-
public static <T extends Group<T,U> & Ordered<U>, U>
56+
public static <T extends Algebra<T,U> & Ordered<U>, U>
5757
long compute(T group, U value, long start, long count, IndexedDataSource<?,U> data)
5858
{
5959
U tmp = group.construct();

src/main/java/nom/bdezonia/zorbage/algorithm/BoolToUInt1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
package nom.bdezonia.zorbage.algorithm;
2828

29-
import nom.bdezonia.zorbage.groups.G;
29+
import nom.bdezonia.zorbage.algebras.G;
3030
import nom.bdezonia.zorbage.procedure.Procedure2;
3131
import nom.bdezonia.zorbage.type.data.bool.BooleanMember;
3232
import nom.bdezonia.zorbage.type.data.int1.UnsignedInt1Member;

src/main/java/nom/bdezonia/zorbage/algorithm/Clamp.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
package nom.bdezonia.zorbage.algorithm;
2828

29-
import nom.bdezonia.zorbage.type.algebra.Group;
29+
import nom.bdezonia.zorbage.type.algebra.Algebra;
3030
import nom.bdezonia.zorbage.type.algebra.Ordered;
3131

3232
/**
@@ -44,7 +44,7 @@ public class Clamp {
4444
* @param value
4545
* @param result
4646
*/
47-
public static <T extends Group<T,U> & Ordered<U>, U>
47+
public static <T extends Algebra<T,U> & Ordered<U>, U>
4848
void compute(T group, U min, U max, U value, U result)
4949
{
5050
if (group.isLess().call(max, min))

src/main/java/nom/bdezonia/zorbage/algorithm/ComplexRootOfUnity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
package nom.bdezonia.zorbage.algorithm;
2828

29-
import nom.bdezonia.zorbage.groups.G;
29+
import nom.bdezonia.zorbage.algebras.G;
3030
import nom.bdezonia.zorbage.type.data.float64.complex.ComplexFloat64Member;
3131

3232
/**

src/main/java/nom/bdezonia/zorbage/algorithm/Conjugate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
package nom.bdezonia.zorbage.algorithm;
2828

29-
import nom.bdezonia.zorbage.type.algebra.Group;
29+
import nom.bdezonia.zorbage.type.algebra.Algebra;
3030
import nom.bdezonia.zorbage.type.storage.IndexedDataSource;
3131

3232
/**
@@ -47,7 +47,7 @@ private Conjugate() {}
4747
* @param b
4848
* @param c
4949
*/
50-
public static <T extends Group<T,U> & nom.bdezonia.zorbage.type.algebra.Conjugate<U>,U>
50+
public static <T extends Algebra<T,U> & nom.bdezonia.zorbage.type.algebra.Conjugate<U>,U>
5151
void compute(T group, IndexedDataSource<?,U> a, IndexedDataSource<?,U> b)
5252
{
5353
U tmpA = group.construct();

0 commit comments

Comments
 (0)