Пример #1
0
 /// <summary>
 /// Atomically filter out items that return false when a predicate is applied
 /// </summary>
 /// <param name="pred">Predicate</param>
 /// <returns>New map with items filtered</returns>
 public static Map <K, V> filter <K, V>(Map <K, V> map, Func <K, V, bool> predicate) =>
 map.Filter(predicate);
Пример #2
0
 public State(Map <ProcessName, ClusterNode> members, IActorSystem system)
 {
     Members = members.Filter(node => node != null);
     System  = system;
 }
Пример #3
0
 public State(Map <ProcessName, ClusterNode> members)
 {
     Members = members.Filter(node => node != null);
 }