Skip to content

Commit

Permalink
Merge pull request #371 from gdgib/G2-1612-NestRecordv1
Browse files Browse the repository at this point in the history
G2-1612 Nest record v1 in a subpackage
  • Loading branch information
gdgib authored Jul 24, 2024
2 parents f3aa7d5 + 52adfb6 commit acd8232
Show file tree
Hide file tree
Showing 17 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.g2forge.alexandria.adt.record;
package com.g2forge.alexandria.adt.record.v1;

import com.g2forge.alexandria.java.adt.tuple.ITuple1GS;
import com.g2forge.alexandria.java.type.IGenericTyped;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.g2forge.alexandria.adt.record;
package com.g2forge.alexandria.adt.record.v1;

import java.util.function.Function;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.g2forge.alexandria.adt.record;
package com.g2forge.alexandria.adt.record.v1;

import com.g2forge.alexandria.java.type.ITyped;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.g2forge.alexandria.adt.record;
package com.g2forge.alexandria.adt.record.v1;

import java.util.Collection;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.g2forge.alexandria.adt.record.map.implementations;
package com.g2forge.alexandria.adt.record.v1.map;

import com.g2forge.alexandria.adt.record.IField;
import com.g2forge.alexandria.adt.record.IFieldType;
import com.g2forge.alexandria.adt.record.v1.IField;
import com.g2forge.alexandria.adt.record.v1.IFieldType;
import com.g2forge.alexandria.java.adt.tuple.ITuple1GS;

import lombok.AllArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.g2forge.alexandria.adt.record.map.implementations;
package com.g2forge.alexandria.adt.record.v1.map;

import java.util.Objects;

import com.g2forge.alexandria.adt.record.IField;
import com.g2forge.alexandria.adt.record.IFieldType;
import com.g2forge.alexandria.adt.record.v1.IField;
import com.g2forge.alexandria.adt.record.v1.IFieldType;

public class MapFieldType<T> implements IFieldType<MapRecord, T> {
protected final String name;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.g2forge.alexandria.adt.record.map.implementations;
package com.g2forge.alexandria.adt.record.v1.map;

import java.util.LinkedHashMap;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.g2forge.alexandria.adt.record.map.implementations;
package com.g2forge.alexandria.adt.record.v1.map;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;

import com.g2forge.alexandria.adt.record.IFieldType;
import com.g2forge.alexandria.adt.record.IRecordType;
import com.g2forge.alexandria.adt.record.v1.IFieldType;
import com.g2forge.alexandria.adt.record.v1.IRecordType;
import com.g2forge.alexandria.java.core.helpers.HCollection;

public class MapRecordType implements IRecordType<MapRecord> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import org.junit.Assert;
import org.junit.Test;

import com.g2forge.alexandria.adt.record.map.implementations.MapFieldType;
import com.g2forge.alexandria.adt.record.map.implementations.MapRecord;
import com.g2forge.alexandria.adt.record.map.implementations.MapRecordType;
import com.g2forge.alexandria.adt.record.v1.map.MapFieldType;
import com.g2forge.alexandria.adt.record.v1.map.MapRecord;
import com.g2forge.alexandria.adt.record.v1.map.MapRecordType;
import com.g2forge.alexandria.java.adt.tuple.ITuple1GS;

public class TestMapRecord {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.g2forge.alexandria.reflection.record.v1.reflected.implementations;

import com.g2forge.alexandria.adt.record.IField;
import com.g2forge.alexandria.adt.record.IFieldType;
import com.g2forge.alexandria.adt.record.v1.IField;
import com.g2forge.alexandria.adt.record.v1.IFieldType;
import com.g2forge.alexandria.java.adt.tuple.ITuple1GS;

import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.g2forge.alexandria.reflection.record.v1.reflected.implementations;

import com.g2forge.alexandria.adt.record.IField;
import com.g2forge.alexandria.adt.record.v1.IField;
import com.g2forge.alexandria.generic.type.java.IJavaUntype;
import com.g2forge.alexandria.java.reflect.annotations.IJavaAnnotations;
import com.g2forge.alexandria.reflection.object.IJavaFieldReflection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.g2forge.alexandria.reflection.record.v1.typedmap;

import com.g2forge.alexandria.adt.record.IFieldType;
import com.g2forge.alexandria.adt.record.v1.IFieldType;
import com.g2forge.alexandria.generic.type.java.typed.IJavaGenericTyped;

public interface IJavaTypedFieldType<R, F> extends IFieldType<R, F>, IJavaGenericTyped<F> {}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.g2forge.alexandria.reflection.record.v1.typedmap;

import com.g2forge.alexandria.adt.record.IRecordType;
import com.g2forge.alexandria.adt.record.v1.IRecordType;
import com.g2forge.alexandria.generic.type.java.typed.IJavaGenericTyped;

public interface IJavaTypedRecordType<R> extends IRecordType<R>, IJavaGenericTyped<R> {}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.g2forge.alexandria.reflection.record.v1.typedmap.implementations;

import com.g2forge.alexandria.adt.record.IField;
import com.g2forge.alexandria.adt.record.IFieldType;
import com.g2forge.alexandria.adt.record.v1.IField;
import com.g2forge.alexandria.adt.record.v1.IFieldType;
import com.g2forge.alexandria.java.adt.tuple.ITuple1GS;

import lombok.AllArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.lang.reflect.Type;
import java.util.Objects;

import com.g2forge.alexandria.adt.record.IField;
import com.g2forge.alexandria.adt.record.v1.IField;
import com.g2forge.alexandria.generic.type.environment.implementations.EmptyTypeEnvironment;
import com.g2forge.alexandria.generic.type.java.HJavaType;
import com.g2forge.alexandria.generic.type.java.IJavaUntype;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import java.util.Collection;
import java.util.Collections;

import com.g2forge.alexandria.adt.record.IFieldType;
import com.g2forge.alexandria.adt.record.v1.IFieldType;
import com.g2forge.alexandria.generic.type.environment.implementations.EmptyTypeEnvironment;
import com.g2forge.alexandria.generic.type.java.IJavaUntype;
import com.g2forge.alexandria.generic.type.java.type.implementations.JavaClassType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import org.junit.Assert;
import org.junit.Test;

import com.g2forge.alexandria.adt.record.IField;
import com.g2forge.alexandria.adt.record.v1.IField;
import com.g2forge.alexandria.java.core.helpers.HCollection;
import com.g2forge.alexandria.reflection.record.v1.reflected.implementations.ReflectedRecordType;

Expand Down

0 comments on commit acd8232

Please sign in to comment.