Class Selector.ShapeMatch
- Enclosing interface:
- Selector
Represents a selector match found in the model.
 
The getShape method is used to get the shape that matched,
 and all of the contextual variables that were set when the match
 occurred can be accessed using typical Map methods like
 get, contains, etc.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> 
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.util.HashMapclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMapequals, hashCode, toString
- 
Constructor Details- 
ShapeMatch- Parameters:
- shape- Shape that matched.
- variables- Variables that matched. This map is copied into ShapeMatch.
 
 
- 
- 
Method Details- 
getShapeGets the matching shape.- Returns:
- Returns the matching shape.
 
 
-