Class PCollections
java.lang.Object
org.sonarsource.analyzer.commons.collections.PCollections
-
Method Summary
-
Method Details
-
emptySet
Returns a persistent set containing zero elements.- Type Parameters:
E- thePSet's element type- Returns:
- an empty
PSet
-
emptyMap
Returns a persistent map containing zero mappings.- Type Parameters:
E- thePMap's key typeV- thePMap's value type- Returns:
- an empty
PMap
-
emptyStack
Returns a persistent stack containing zero elements.- Type Parameters:
E- thePStack's element type- Returns:
- an empty
PStack
-