public void preWrite() {List<Property> pList = new ArrayList<>();int i=0;for (Property p : _properties) {if (p == null) continue;p.setIndex(i++);pList.add(p);}for (Property p : pList) p.preWrite();}

public void PreWrite(){List<Property> properties = new List<Property>(_properties.Count);for (int i = 0; i < _properties.Count; i++)properties.Add(_properties[i]);for (int k = 0; k < properties.Count; k++){properties[ k ].Index = k;}_blocks = PropertyBlock.CreatePropertyBlockArray(_bigBigBlockSize, properties);for (int k = 0; k < properties.Count; k++){properties[ k ].PreWrite();}}
