private ArrayList getData(){ Java.Util.Random numberGenerator = new Java.Util.Random(); ArrayList result = new ArrayList(8); for (int i = 0; i < 20; i++){ ScatterDataEntity entity = new ScatterDataEntity(); entity.value1 = numberGenerator.NextDouble() * 10; entity.value2 = numberGenerator.NextDouble() * 10; result.Add(entity); } return result; }
private ArrayList getData() { Java.Util.Random numberGenerator = new Java.Util.Random(); ArrayList result = new ArrayList(8); for (int i = 0; i < 20; i++) { ScatterDataEntity entity = new ScatterDataEntity(); entity.value1 = numberGenerator.NextDouble() * 10; entity.value2 = numberGenerator.NextDouble() * 10; result.Add(entity); } return(result); }
public override Java.Lang.Object GetValue(Java.Lang.Object p0) { ScatterDataEntity entity = (ScatterDataEntity)p0; return(entity.value2); }