public static final StatValue createStatValue ( Object aPattern , String aName , Interval [ ] aIntervals ) { return createStatValue ( StatValueTypeUtility . object2type ( aPattern ) , aName , aIntervals ) ; }
This method creates a new StatValue instance . The new object will be from the same type as the given template object .