Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith committed Mar 6, 2024
1 parent a49987d commit ec2c3e9
Show file tree
Hide file tree
Showing 43 changed files with 173 additions and 1,499 deletions.
1 change: 0 additions & 1 deletion engine/processor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dependencies {
api project(':qst-type')
api project(':engine-chunk')

implementation project(':engine-time')
Classpaths.inheritImmutables(project)

Classpaths.inheritJUnitPlatform(project)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,47 +82,6 @@ static <T> ObjectProcessor<T> noop(List<Type<?>> outputTypes, boolean fillWithNu
return new ObjectProcessorNoop<>(outputTypes, fillWithNullValue);
}

/**
* Creates a "combined" object processor. The resulting {@link ObjectProcessor#outputTypes()} is the combined
* in-order outputs from {@code processors} and the {@link ObjectProcessor#processAll(ObjectChunk, List)}
* implementation is the in-order processing of {@code processors}.
*
* @param processors the processors
* @return the combined object processor
* @param <T> the object type
*/
static <T> ObjectProcessor<T> combined(List<ObjectProcessor<? super T>> processors) {
return ObjectProcessorCombined.of(processors);
}

/**
* Creates a mapped object processor by applying the function {@code f} to the in chunk of type {@code T} to produce
* a mapped in chunk of type {@code R}, and then delegates to {@code delegate} for processing.
*
* @param f the function
* @param delegate the delegate
* @return the mapped object processor
* @param <T> the in type
* @param <R> the mapped in type
*/
static <T, R> ObjectProcessor<T> map(Function<? super T, ? extends R> f, ObjectProcessor<? super R> delegate) {
return ObjectProcessorMap.of(f, delegate);
}

/**
*
* @param inType the input type
* @return the object processor
* @param <T> the input type
*/
static <T> ObjectProcessor<T> simple(GenericType<T> inType) {
return ObjectProcessorSimple.of(inType);
}

static <T> ObjectProcessor<T> empty() {
return ObjectProcessorEmpty.of();
}

/**
* The relationship between {@link #outputTypes() output types} and the {@link #processAll(ObjectChunk, List)
* processAll out param} {@link WritableChunk#getChunkType()}.
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit ec2c3e9

Please sign in to comment.