void SortByTable(FPTransition transition, FPNodeHeadTable nodeTable, ref Queue <FPItem> result) { int size = nodeTable.Size(); for (int i = 0; i < size; ++i) { if (transition.ContainItem(nodeTable.At(i).mOwner)) { result.Enqueue(nodeTable.At(i).mOwner); } } }