File tree Expand file tree Collapse file tree 5 files changed +15
-13
lines changed
main/java/org/optimizationBenchmarking/utils/math/functions/compound
test/java/codeGen/org/optimizationBenchmarking/utils/math/functions/compound Expand file tree Collapse file tree 5 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 19
19
* {@link org.optimizationBenchmarking.utils.math.functions.UnaryFunction
20
20
* 1-ary} which returns a constant value.
21
21
*/
22
- final class _Const1 extends UnaryFunction implements Iterable < Object > {
23
-
22
+ final class _Const1 extends UnaryFunction
23
+ implements Iterable < Object >, ICloneable {
24
24
/** the serial version uid */
25
25
private static final long serialVersionUID = 1L ;
26
26
@@ -34,7 +34,7 @@ final class _Const1 extends UnaryFunction implements Iterable<Object> {
34
34
* Create the
35
35
* {@link org.optimizationBenchmarking.utils.math.functions.compound._Const1}
36
36
* , a function which returns a constant value.
37
- *
37
+ *
38
38
* @param constant
39
39
* the instance of {@link java.lang.Number} holding the constant
40
40
* value returned by this function
Original file line number Diff line number Diff line change 19
19
* {@link org.optimizationBenchmarking.utils.math.functions.BinaryFunction
20
20
* 2-ary} which returns a constant value.
21
21
*/
22
- final class _Const2 extends BinaryFunction implements Iterable < Object > {
23
-
22
+ final class _Const2 extends BinaryFunction
23
+ implements Iterable < Object >, ICloneable {
24
24
/** the serial version uid */
25
25
private static final long serialVersionUID = 1L ;
26
26
@@ -34,7 +34,7 @@ final class _Const2 extends BinaryFunction implements Iterable<Object> {
34
34
* Create the
35
35
* {@link org.optimizationBenchmarking.utils.math.functions.compound._Const2}
36
36
* , a function which returns a constant value.
37
- *
37
+ *
38
38
* @param constant
39
39
* the instance of {@link java.lang.Number} holding the constant
40
40
* value returned by this function
Original file line number Diff line number Diff line change 19
19
* {@link org.optimizationBenchmarking.utils.math.functions.TernaryFunction
20
20
* 3-ary} which returns a constant value.
21
21
*/
22
- final class _Const3 extends TernaryFunction implements Iterable < Object > {
23
-
22
+ final class _Const3 extends TernaryFunction
23
+ implements Iterable < Object >, ICloneable {
24
24
/** the serial version uid */
25
25
private static final long serialVersionUID = 1L ;
26
26
@@ -34,7 +34,7 @@ final class _Const3 extends TernaryFunction implements Iterable<Object> {
34
34
* Create the
35
35
* {@link org.optimizationBenchmarking.utils.math.functions.compound._Const3}
36
36
* , a function which returns a constant value.
37
- *
37
+ *
38
38
* @param constant
39
39
* the instance of {@link java.lang.Number} holding the constant
40
40
* value returned by this function
Original file line number Diff line number Diff line change 20
20
* 4-ary} which returns a constant value.
21
21
*/
22
22
final class _Const4 extends QuaternaryFunction
23
- implements Iterable <Object > {
24
-
23
+ implements Iterable <Object >, ICloneable {
25
24
/** the serial version uid */
26
25
private static final long serialVersionUID = 1L ;
27
26
@@ -35,7 +34,7 @@ final class _Const4 extends QuaternaryFunction
35
34
* Create the
36
35
* {@link org.optimizationBenchmarking.utils.math.functions.compound._Const4}
37
36
* , a function which returns a constant value.
38
- *
37
+ *
39
38
* @param constant
40
39
* the instance of {@link java.lang.Number} holding the constant
41
40
* value returned by this function
Original file line number Diff line number Diff line change @@ -1699,7 +1699,10 @@ private final void __const(final int m) throws IOException {
1699
1699
.getSimpleName ());
1700
1700
bw .print (" implements " );//$NON-NLS-1$
1701
1701
bw .print (Iterable .class .getSimpleName ());
1702
- bw .println ("<Object> {" );//$NON-NLS-1$
1702
+ bw .println ("<Object>" );//$NON-NLS-1$
1703
+ bw .print (',' );
1704
+ bw .print (ICloneable .class .getSimpleName ());
1705
+ bw .print ('{' );
1703
1706
1704
1707
bw .println ();
1705
1708
bw .println ("/** the serial version uid */" );//$NON-NLS-1$
You can’t perform that action at this time.
0 commit comments