Package org.eolang.jeo.improvement
Class ImprovementDistilledObjects
- java.lang.Object
-
- org.eolang.jeo.improvement.ImprovementDistilledObjects
-
- All Implemented Interfaces:
Improvement
public final class ImprovementDistilledObjects extends Object implements Improvement
Distilled objects improvement. You can find the description of the optimization right here- Since:
- 0.1.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.jeo.Improvement
Improvement.Dummy, Improvement.Mock
-
-
Constructor Summary
Constructors Constructor Description ImprovementDistilledObjects()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends Representation>
apply(Collection<? extends Representation> representations)
Apply the improvement.
-
-
-
Method Detail
-
apply
public Collection<? extends Representation> apply(Collection<? extends Representation> representations)
Description copied from interface:Improvement
Apply the improvement.- Specified by:
apply
in interfaceImprovement
- Parameters:
representations
- IRs to optimize.- Returns:
- Optimized IRs.
-
-