Class PathSets
java.lang.Object
com.inductiveautomation.historian.gateway.api.paths.PathSets
Collectors for sets of qualified paths.
-
Method Summary
-
Method Details
-
toPathSet
Collects into an unmodifiable hash set. Use it instead ofCollectors.toUnmodifiableSet()for path sets: that collector'sSet.oftable probes linearly on unspread hash codes, so runs of sequential tag names cluster into long probe chains and a large collect takes seconds instead of milliseconds.- Type Parameters:
T- the path type.- Returns:
- a collector producing an unmodifiable set; safe for parallel streams.
-