Generify pt 1
This commit is contained in:
@@ -17,11 +17,13 @@
|
||||
|
||||
package tenor;
|
||||
|
||||
public class QuantizedToSingularTaskRelationship extends TaskRelationship implements ISingularChildTaskRelationship, IQuantizedParentTaskRelationship {
|
||||
public class QuantizedToSingularTaskRelationship
|
||||
extends TaskRelationship<QuantizedTaskNode, ISingularTask>
|
||||
implements ISingularChildTaskRelationship<QuantizedTaskNode>, IQuantizedParentTaskRelationship<ISingularTask> {
|
||||
|
||||
@Override
|
||||
public QuantityRelationship cost() {
|
||||
return x -> child().cost();
|
||||
public IQuantityRelationship cost() {
|
||||
return x -> childTask().cost();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user