Exemple #1
0
 public void collectAll(ref FastArray <T_ElementType> outElements, ElementPredicate inPredicate)
 {
     if (null == inPredicate)
     {
         return;
     }
     foreach (T_ElementType theElement in this)
     {
         if (!inPredicate(theElement))
         {
             continue;
         }
         outElements.add(theElement);
     }
 }