public Object property(String key) { Object o = super.property(key); if (o == null) { if (!calculatedNominal && NominalStats.creates(key)) { makeNominalStats(); o = super.property(key); } if (!calculatedNumeric && NumericStats.creates(key)) { if (!calculatedNominal) makeNominalStats(); makeNumericStats(); o = super.property(key); } if (!calculatedDate && DateStats.creates(key)) { if (!calculatedNominal) makeNominalStats(); if (!calculatedNumeric) makeNumericStats(); makeDateStats(); o = super.property(key); } } return o; }
private void makeNumericStats() { if (provider != null) NumericStats.populate(this); calculatedNumeric = true; }