public PaletteRecord() {PColor[] defaultPalette = createDefaultPalette();_colors.ensureCapacity(defaultPalette.length);Collections.addAll(_colors, defaultPalette);}
public PaletteRecord(){PColor[] defaultPalette = CreateDefaultPalette();field_2_colors = new List<PColor>(defaultPalette.Length);for (int i = 0; i < defaultPalette.Length; i++){field_2_colors.Add(defaultPalette[i]);}}