diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/api/Facts.java b/easy-rules-core/src/main/java/org/jeasy/rules/api/Facts.java index 0394bc2..55b8811 100644 --- a/easy-rules-core/src/main/java/org/jeasy/rules/api/Facts.java +++ b/easy-rules-core/src/main/java/org/jeasy/rules/api/Facts.java @@ -89,6 +89,12 @@ public class Facts implements Iterable> { return new HashMap<>(facts); } + /** + * Return an iterator on the set of facts. It is not intended to remove + * facts using this iterator outside of the rules engine (aka other than doing it through rules) + * + * @return an iterator on the set of facts + */ @Override public Iterator> iterator() { return facts.entrySet().iterator();