Added size() method to SwaptionDataLattice
@@ -601,6 +601,13 @@ public class SwaptionDataLattice implements Serializable {
}
}
+ /**
+ * @return The number of entries in the lattice.
+ */
+ public int size() {
+ return entryMap.size();
+ }
+
/**
* @return The reference date of the swaptions.
*/
