+
+ private void addLengthStatistics( final Species species, final DescriptiveStatistics length_statistic ) {
+ if ( getLengthStatistics().containsKey( species ) ) {
+ throw new IllegalArgumentException( "length statistics for [" + species.getSpeciesId() + "] already added" );
+ }
+ getLengthStatistics().put( species, length_statistic );
+ }
+
+ private SortedMap<Species, DescriptiveStatistics> getLengthStatistics() {
+ return _length_statistics;
+ }