gw.lang.enhancements.CoreIterableOfNumbersEnhancement.gsx Maven / Gradle / Ivy
package gw.lang.enhancements
uses java.math.BigDecimal
uses java.lang.Iterable
/*
* Copyright 2014 Guidewire Software, Inc.
*/
enhancement CoreIterableOfNumbersEnhancement : Iterable {
reified function average() : BigDecimal {
return this.average( \ i -> i )
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy