/src/main/java/net/finmath/montecarlo/interestrate/products/components/IndexedValue.java
final Set<String> indexUnderylingNames = index.queryUnderlyings ( ) ;
public String getCurrency() { return underlying.getCurrency(); } @Override public Set<String> queryUnderlyings() { final Set<String> underlyingNames = underlying.queryUnderlyings(); <extra_id_0> if(underlyingNames == null && indexUnderylingNames == null) { return null; } else if(underlyingNames != null && indexUnderylingNames == null) { return underlyingNames; } else if(underlyingNames == null && indexUnderylingNames != null) { return indexUnderylingNames;