Package gw.internal.gosu.properties
Class PropertiesTypeLoader.TypeNameSet
java.lang.Object
gw.internal.gosu.properties.PropertiesTypeLoader.TypeNameSet
- Enclosing class:
- PropertiesTypeLoader
Set of case insensitive type names with operation to quickly find which type names in the set are possible
matches for a full type name. A match is a prefix which is either an exact match or matches up to the
package separator (.). So, for example, given the full name one.two.three then one, one.two and one.two.three
are all matches.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTo
(Collection<String> names) findMatchesFor
(String fullName) private int
getIndexOfLastPossibleMatch
(String fullName) private boolean
private boolean
-
Field Details
-
_names
-
-
Constructor Details
-
TypeNameSet
-
-
Method Details
-
addTo
-
findMatchesFor
-
getIndexOfLastPossibleMatch
-
isPrefix
-
isMatch
-