From 461a2b2dee8aeb646b3e7b5c6311c0eeeeacfac3 Mon Sep 17 00:00:00 2001 From: Victor Date: Tue, 1 Oct 2013 10:10:14 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BE=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D0=BA=20=D0=9B=D0=A0=20=E2=84=962?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nbproject/build-impl.xml | 2809 +++++++++++++++++---------------- nbproject/genfiles.properties | 16 +- src/res/desc2_0.txt | 3 + src/res/desc2_1.txt | 3 + src/res/desc2_2.txt | 12 + src/res/desc2_3.txt | 7 + src/res/desc2_4.txt | 3 + src/tse/LR_2.java | 47 + 8 files changed, 1490 insertions(+), 1410 deletions(-) create mode 100644 src/res/desc2_0.txt create mode 100644 src/res/desc2_1.txt create mode 100644 src/res/desc2_2.txt create mode 100644 src/res/desc2_3.txt create mode 100644 src/res/desc2_4.txt create mode 100644 src/tse/LR_2.java diff --git a/nbproject/build-impl.xml b/nbproject/build-impl.xml index 606a362..647f0ef 100644 --- a/nbproject/build-impl.xml +++ b/nbproject/build-impl.xml @@ -1,1402 +1,1407 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set test.src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No tests executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - Must select one file in the IDE or set profile.class - This target only works when run from inside the NetBeans IDE. - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - Must select some files in the IDE or set test.includes - - - - - Must select one file in the IDE or set run.class - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - Must select some files in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - Must select one file in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/nbproject/genfiles.properties b/nbproject/genfiles.properties index 2e28e6f..48a7fed 100644 --- a/nbproject/genfiles.properties +++ b/nbproject/genfiles.properties @@ -1,8 +1,8 @@ -build.xml.data.CRC32=d6379fba -build.xml.script.CRC32=47ea1871 -build.xml.stylesheet.CRC32=8064a381@1.68.0.46 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=d6379fba -nbproject/build-impl.xml.script.CRC32=c20eaf60 -nbproject/build-impl.xml.stylesheet.CRC32=cdba79fa@1.68.0.46 +build.xml.data.CRC32=d6379fba +build.xml.script.CRC32=47ea1871 +build.xml.stylesheet.CRC32=8064a381@1.68.0.46 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=d6379fba +nbproject/build-impl.xml.script.CRC32=b7b0a098 +nbproject/build-impl.xml.stylesheet.CRC32=5a01deb7@1.69.0.46 diff --git a/src/res/desc2_0.txt b/src/res/desc2_0.txt new file mode 100644 index 0000000..c14c24e --- /dev/null +++ b/src/res/desc2_0.txt @@ -0,0 +1,3 @@ + +Написать программу, демонстрирующую различные способы копирования и сравнения массивов + \ No newline at end of file diff --git a/src/res/desc2_1.txt b/src/res/desc2_1.txt new file mode 100644 index 0000000..39c192d --- /dev/null +++ b/src/res/desc2_1.txt @@ -0,0 +1,3 @@ + +Выполнить задание 1 для двумерных массивов строк. Объяснить результаты. + \ No newline at end of file diff --git a/src/res/desc2_2.txt b/src/res/desc2_2.txt new file mode 100644 index 0000000..df8adb1 --- /dev/null +++ b/src/res/desc2_2.txt @@ -0,0 +1,12 @@ + +Для своего варианта задания:
+- в базовом классе определить конструктор по умолчанию, конструктор с параметрами и копирующий конструктор;
+- в базовом классе переопределить все не финальные методы класса Object;
+- несколько объектов (как базового, так и производного класса) сохранить в один массив;
+- пройти по массиву и для каждого объекта:
+- вывести название класса этого объекта;
+- вывести результаты работы методов, определенных в базовом классе;
+- если возможно, вывести результаты работы методов, определенных только в производном классе
+Вариант 11 (тут 4):
+Создать класс "эллипс". Эллипс задавать целочисленными координатами вершин описанного вокруг него прямоугольника. Реализовать методы класса (статические) и методы реализации для нахождения координат центра эллипса, площади эллипса, расстояния между центрами двух эллипсов. Создать производный класс «окружность», в котором переопределить метод toString() и добавить метод проверки, лежит ли заданная точка внутри окружности + \ No newline at end of file diff --git a/src/res/desc2_3.txt b/src/res/desc2_3.txt new file mode 100644 index 0000000..610e4cd --- /dev/null +++ b/src/res/desc2_3.txt @@ -0,0 +1,7 @@ + +Объединить созданные объекты своего класса в коллекцию ArrayList.
Реализовать добавление, удаление элементов в коллекции, а также вывод коллекции на экран. Реализовать операцию по варианту двумя способами:
+- с помощью методов класса Collectcions;
+- без использования методов класса Collectcions
+
+Отсортировать коллекцию эллипсов по величине их площади
+ \ No newline at end of file diff --git a/src/res/desc2_4.txt b/src/res/desc2_4.txt new file mode 100644 index 0000000..886fa76 --- /dev/null +++ b/src/res/desc2_4.txt @@ -0,0 +1,3 @@ + +(Для программистов) Создать коллекцию HashMap, где ключами являются объекты вашего класса, а значения определяются по варианту. Реализовать добавление, удаление, поиск элементов в коллекции, а также вывод коллекции в виде пар "ключ – значение".
Значение – строка, содержащая текстовую подпись к эллипсу + \ No newline at end of file diff --git a/src/tse/LR_2.java b/src/tse/LR_2.java new file mode 100644 index 0000000..4e22eff --- /dev/null +++ b/src/tse/LR_2.java @@ -0,0 +1,47 @@ +package tse; + +/** + * @author aNNiMON + */ +public class LR_2 implements ILabRab { + + private static final String[] TITLES = { + "Копирование и сравнение массивов", + "Двумерный массив строк", + "3", + "4", + "5" + }; + + @Override + public void execute(int index) { + switch(index) { + case 0: + + break; + case 1: + + break; + case 2: + + break; + case 3: + + break; + case 4: + + break; + } + } + + @Override + public String[] getTitles() { + return TITLES; + } + + @Override + public String getDescription(int index) { + return Util.readDescription(1, index); + } + +}