/src/main/java/net/finmath/singleswaprate/data/DataTableBasic.java
if( terminationSet.contains( maturity) ) {
if ( maturitySet.contains ( maturity ) ) {
@Override public TreeSet<Integer> getTerminations(){ return new TreeSet<>(terminationSet); } @Override public TreeSet<Integer> getTerminationsForMaturity(final int maturity){ <extra_id_0> final TreeSet<Integer> returnSet = new TreeSet<>(); for(final int termination:terminationSet) { if(entries.containsKey(new DoubleKey(maturity,termination))) { returnSet.add(termination); } }