This is a great library. But in Netbeans I am seeing a handful of compilation errors, all of the following types and all relating to the various "create" factory methods:
E.G.
public static <T extends="" ContinuousCurve2D=""> PolyCurve2D<T> create(
Collection<T> curves)....
name clash: <T#1>create(Collection<T#1>) in PolyCurve2D and <T#2>create(Collection<T#2>) in CurveArray2D have the same erasure, yet neither hides the other
where T#1,T#2 are type-variables:
T#1 extends ContinuousCurve2D declared in method <T#1>create(Collection<T#1>)
T#2 extends Curve2D declared in method <T#2>create(Collection<T#2>)
Last edit: Malcolm Lidierth 2013-04-01
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I did not encounter the problem with Eclipse, but if you can not compile this is a problem. I suppose the problems comes from multiple generic definition from parent classes. I will try to investigate this.
regards,
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is a great library. But in Netbeans I am seeing a handful of compilation errors, all of the following types and all relating to the various "create" factory methods:
E.G.
public static <T extends="" ContinuousCurve2D=""> PolyCurve2D<T> create(
Collection<T> curves)....
name clash: <T#1>create(Collection<T#1>) in PolyCurve2D and <T#2>create(Collection<T#2>) in CurveArray2D have the same erasure, yet neither hides the other
where T#1,T#2 are type-variables:
T#1 extends ContinuousCurve2D declared in method <T#1>create(Collection<T#1>)
T#2 extends Curve2D declared in method <T#2>create(Collection<T#2>)
Last edit: Malcolm Lidierth 2013-04-01
Hi Malcolm,
thank you for reporting the problem,
I did not encounter the problem with Eclipse, but if you can not compile this is a problem. I suppose the problems comes from multiple generic definition from parent classes. I will try to investigate this.
regards,
David