just run the discretehedging sample. obscure error....
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalArgumentException: Class should be anonymous or extended from a generic class
at org.jquantlib.math.randomnumbers.GenericPseudoRandom.makeSequenceGenerator(GenericPseudoRandom.java:133)
at org.jquantlib.math.randomnumbers.PseudoRandom.makeSequenceGenerator(PseudoRandom.java:36)
at org.jquantlib.examples.utils.ReplicationError.compute(ReplicationError.java:124)
at org.jquantlib.examples.DiscreteHedging.main(DiscreteHedging.java:92)
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Class should be anonymous or extended from a generic class
at org.jquantlib.math.randomnumbers.GenericPseudoRandom.makeSequenceGenerator(GenericPseudoRandom.java:99)
... 3 more
Caused by: java.lang.IllegalArgumentException: Class should be anonymous or extended from a generic class
at org.jquantlib.lang.reflect.TypeToken.getType(TypeToken.java:83)
at org.jquantlib.lang.reflect.TypeToken.getClazz(TypeToken.java:97)
at org.jquantlib.math.randomnumbers.GenericPseudoRandom.makeSequenceGenerator(GenericPseudoRandom.java:95)
... 3 more
reorganized the code. stopped because of problems using the randomsequence generator.