PIbd-21 Potapov N.S. LabWork06 Hard #6
@ -9,7 +9,7 @@ public class ExtensionDrawingPlane {
|
||||
if (strs.length == 5) {
|
||||
return new DrawingPlane(
|
||||
Integer.parseInt(strs[0]),
|
||||
Integer.parseInt(strs[1]),
|
||||
Double.parseDouble(strs[1]),
|
||||
new Color(
|
||||
Integer.parseInt(strs[2]),
|
||||
Integer.parseInt(strs[3]),
|
||||
@ -21,7 +21,7 @@ public class ExtensionDrawingPlane {
|
||||
if (strs.length == 10) {
|
||||
return new DrawingStormtrooper(
|
||||
Integer.parseInt(strs[0]),
|
||||
Integer.parseInt(strs[1]),
|
||||
Double.parseDouble(strs[1]),
|
||||
new Color(
|
||||
Integer.parseInt(strs[2]),
|
||||
Integer.parseInt(strs[3]),
|
||||
|
@ -10,7 +10,7 @@ import java.io.IOException;
|
||||
|
||||
public class PlanesGenericStorage {
|
||||
final HashMap<String, PlanesGenericCollection<DrawingPlane, DrawingObjectPlane>> _planeStorages;
|
||||
private static final String _separatorForKeyValue = "|";
|
||||
private static final String _separatorForKeyValue = "@";
|
||||
private static final String _separatorRecords = ";";
|
||||
private static final String _separatorForObject = ":";
|
||||
private static final String _keyword = "PlanesStorage";
|
||||
|
Loading…
Reference in New Issue
Block a user