file_id stringlengths 5 10 | content stringlengths 57 33.1k | repo stringlengths 8 77 | path stringlengths 6 174 | token_length int64 19 8.19k | original_comment stringlengths 7 10.6k | comment_type stringclasses 2
values | detected_lang stringclasses 1
value | prompt stringlengths 21 33.1k |
|---|---|---|---|---|---|---|---|---|
3824_1 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | /**
* Zadanko 1 - na rozgrzewke!
*
* Sprwadźmy czy podana macierz jest kwadratowa, tzn. czy ma tyle samo wieszy i kolumn.
*
* Pozniej to zadanie bedzie potrzebne, wiec je zrob! :))
*/ | block_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_2 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // jakis wiersz z macierzy moze wyciagnac np tak: | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_3 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // char[] wiersz = macierz[0]; // to jest akurat pierwszy wiersz | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_4 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // wstaw true do czyKwadratowa jezeli jest rzeczywiscie kwadratowa | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_5 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | /**
* Zadanko 2 - dalej sie grzejemy!
*
* Sprawdzamy czy podane macierze maja tyle samo wierszy i kolumn
*/ | block_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_6 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | /**
* Zadanko 3 - juz coś róbmy!
* Bierzemy macierz na wejsciu i dodajemy wszystkie jej elementy po kolei jak leci i zwracamy to co otrzymamy.
*/ | block_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_7 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // jakies for petle pewnie... i cos z ta zmienna sumaElementow musimy robic... | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_8 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | /**
* Zadanko 4 - działamy!.
*
* Bierzemy dwie macierze i dodajemy ich rownolezace komorki do siebie i wstawiamy je do macierzy wynikowej
* tzn.: bierzemy komorke z wiersza 0 i kolumny 0 w pierwszej macierzy i bierzemy komorke z wiersza 0 i kolumny 0
* drugiej macierzy i dodajemy ich wartos... | block_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_9 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // Tu tylko sprawdzamy czy ich ilosc wierszy i kolumn sie zgadza... | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_10 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // UWAGA uzywamy tu funkcji z zadania 2!!! | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_11 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | //Co tu bedzie? :o | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_12 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // pewnie jakaś pętla... a moze dwie nawet... pewnie tez cos z macierzWynikowa trzeba robic... nie? | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_13 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // jak juz wszystko wyliczylismy to zwracamy nasza macierz wynikowa do swiata zewnetrznego! paaa! | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_14 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // na zawsze pozostaniesz w naszych sercach :'( | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_15 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | /**
* Zadanko 5! - dalej dalej!
*
* Mamy macierz kwadratową(ma tyle samo wiersz co i kolumn) znaków na przykłąd taką:
*
* a b c
* e f g
* h i j
*
* i teraz chcemy aby jej przekątne wypelnic jakimś znakiem. Na przykład: 'o'
*
* Ma wyglądać tak:
*
* ... | block_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_16 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // Tylko uwazaj! Uzywamy tu funkcji z zadania 1! | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_17 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // jezeli nie jest kwadratowa, to instrukcja return; zaprzestaniemy wykonywac cokolwiek w niej... | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_18 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // Dla przekątnej z lewego gornego rogu do dolnego prawego - dwie zagniezdzone petle for i sprawdzamy czy akurat | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_19 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // jestesmy na komorkach przekatnej. | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_20 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | /*//przekatna z lewego gornego rogu do prawego dolnego
for (int i = 0; i < macierzZnakow.length; i++) {
for (int j = 0; j < macierzZnakow[i].length; j++) {
if (i == j){
macierzZnakow[i][j] = znakDoWypelnienia;
}
}
}
for... | block_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_21 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // dwie petle - bez zagniedzen | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_22 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | /*for (int i = 0; i < macierzZnakow.length; i++) {
macierzZnakow[i][i] = znakDoWypelnienia;
}
for (int i = 0; i < macierzZnakow.length; i++) {
macierzZnakow[i][macierzZnakow.length-1-i] = znakDoWypelnienia;
}*/ | block_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_23 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // Ambitniej(i lepiej tak naprawde) tylko jedną petla na przekątną! Jest to bardzo proste i o wiele wydajniejsze. | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_24 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // Dla drugiej przekatnej z prawego gornego do lewego dolnego tak samo. | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_25 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // Super ambitniej bedzie uzyc tylko jednej pętli for dla dwoch przekatnych. To juz jest Mt. Everest wydajnosci | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_26 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | /**
* Zadanie 6! Uff! Ale to było dobre!
*
* Ogólnie sprawa ma się tak:
* mamy takie macierze znakow
*
* macierz pierwsza:
* J A V
* J E S
* O K T
*
* macierz druga:
* A
* T
* J
*
* I chce... | block_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_27 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // jezeli maja inna liczbe wierszy to nic z tego, nie zdzialamy nic wiecej... | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_28 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // zwracamy smutna macierz zero na zero :( | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_29 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // O TO! O to trzeba wyliczyc jakos, nie? | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_31 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // Wg mnie beda dwie podwojne petle for! | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_32 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // Jedna aby przekopiowac znaki z pierwszej | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_33 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | /*
wynikowa
v
J A V
J E S
O K E
*/ | block_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_37 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // pierwsza i druga macierz maja tyle samo wierszy i kolumn | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_38 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | // natomiast trzecia macierz ma odwrotna liczbe wierwszy i kolumn jak dwie pierwsze | line_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_44 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | /**
* Takie cos do drukowania macierzy znakow...
*/ | block_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3824_45 | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... | KNJPJATK/GrupaPodstawowa | Spotkanie 3/src/Zadania3.java | 6,353 | /**
* Takie cos do drukowania macierzy liczb...
*/ | block_comment | pl | /**
* ZADANKA PO SPOTKANIU 3!
*
* Zadanka robimy po kolei!
*
* Zrobimy zadanie 1, odpalamy kod, jak jest dobrze, to dostaniemy komunikat o tym ze jest dobrze.
* Jak nie, to poprawimy i probujemy jeszcze raz.
*
* W razie pytan, uwag, zastrzezen i zali -> tomasz@wojda.net albo andrew.torski@gmail.com
* Albo na g... |
3825_0 | /*
*/
package pl.edu.netbeans.algorithms;
import java.util.logging.Level;
import java.util.logging.Logger;
import prefuse.data.Graph;
/**
* Poniższa klasa służy jedynie testowaniu czy i jak często wołana jest akcja
* Przedstawia również logowanie do output window
* @author ktoso
*/
public class MockTSSolverActio... | ktoso/TravelingSalesman-NBP | Algorithms/src/pl/edu/netbeans/algorithms/MockTSSolverAction.java | 325 | /**
* Poniższa klasa służy jedynie testowaniu czy i jak często wołana jest akcja
* Przedstawia również logowanie do output window
* @author ktoso
*/ | block_comment | pl | /*
*/
package pl.edu.netbeans.algorithms;
import java.util.logging.Level;
import java.util.logging.Logger;
import prefuse.data.Graph;
/**
* Poniższa klasa służy <SUF>*/
public class MockTSSolverAction extends SolverAction implements TSSolverAction {//bo zdaje się tak sensownie jest do tego się dobrać przez lookup n... |
3825_1 | /*
*/
package pl.edu.netbeans.algorithms;
import java.util.logging.Level;
import java.util.logging.Logger;
import prefuse.data.Graph;
/**
* Poniższa klasa służy jedynie testowaniu czy i jak często wołana jest akcja
* Przedstawia również logowanie do output window
* @author ktoso
*/
public class MockTSSolverActio... | ktoso/TravelingSalesman-NBP | Algorithms/src/pl/edu/netbeans/algorithms/MockTSSolverAction.java | 325 | //bo zdaje się tak sensownie jest do tego się dobrać przez lookup następnie | line_comment | pl | /*
*/
package pl.edu.netbeans.algorithms;
import java.util.logging.Level;
import java.util.logging.Logger;
import prefuse.data.Graph;
/**
* Poniższa klasa służy jedynie testowaniu czy i jak często wołana jest akcja
* Przedstawia również logowanie do output window
* @author ktoso
*/
public class MockTSSolverActio... |
3827_2 | import java.util.*;
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
public class Server extends Thread{
public static int port = 8080;
public static ServerSocket serverSocket = null;
public static List<Player> players = new ArrayList<>();
public static List<Room> rooms = new ArrayList<>();
... | darialasecka/bomberman | server/src/Server.java | 677 | //coś co ogarnie klientów | line_comment | pl | import java.util.*;
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
public class Server extends Thread{
public static int port = 8080;
public static ServerSocket serverSocket = null;
public static List<Player> players = new ArrayList<>();
public static List<Room> rooms = new ArrayList<>();
... |
3829_0 | package pl.robocap;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
/**
* Jeśli wykryje coś w swoim otoczeniu (określony dystans), zatrzymuje się i
* wydaje dźwięk
*/
public class WykryjIntruza {
public static void main(String[] args) {
UltrasonicSensor sonar = new Ultra... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/WykryjIntruza.java | 225 | /**
* Jeśli wykryje coś w swoim otoczeniu (określony dystans), zatrzymuje się i
* wydaje dźwięk
*/ | block_comment | pl | package pl.robocap;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
/**
* Jeśli wykryje coś <SUF>*/
public class WykryjIntruza {
public static void main(String[] args) {
UltrasonicSensor sonar = new UltrasonicSensor(SensorPort.S4);
while (true) {
sonar.ping();
if (... |
3831_1 |
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class HashTables {
public static void main(String[] args) {
// ex.1 find first non-repeatable character
String test = "a green apple";
System.out.println(firstNonRepeatable(test));
... | krzysztofjuszczyk/JavaCodeWithMosh | src/HashTables.java | 464 | //rozw. 1 tworzymy mapę char / ilość wystąpień | line_comment | pl |
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class HashTables {
public static void main(String[] args) {
// ex.1 find first non-repeatable character
String test = "a green apple";
System.out.println(firstNonRepeatable(test));
... |
3831_2 |
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class HashTables {
public static void main(String[] args) {
// ex.1 find first non-repeatable character
String test = "a green apple";
System.out.println(firstNonRepeatable(test));
... | krzysztofjuszczyk/JavaCodeWithMosh | src/HashTables.java | 464 | // można poprawić wywołaniem raz toCharArray i operatorem trójarg. | line_comment | pl |
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class HashTables {
public static void main(String[] args) {
// ex.1 find first non-repeatable character
String test = "a green apple";
System.out.println(firstNonRepeatable(test));
... |
3831_3 |
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class HashTables {
public static void main(String[] args) {
// ex.1 find first non-repeatable character
String test = "a green apple";
System.out.println(firstNonRepeatable(test));
... | krzysztofjuszczyk/JavaCodeWithMosh | src/HashTables.java | 464 | // iterujemy jeszcze raz i zwracamy pierwsze wystąpienie | line_comment | pl |
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class HashTables {
public static void main(String[] args) {
// ex.1 find first non-repeatable character
String test = "a green apple";
System.out.println(firstNonRepeatable(test));
... |
3832_1 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // UWAGA: komentarze po dwóch ukośnikach są - w tym konkretnym projekcie
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_2 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // - przeznaczone dla uczących się programowania i omawiają rzeczy
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_3 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // zupełnie oczywiste. W "normalnych programach" nie byłoby ich wcale.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_4 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | /**
* Program pokazujący jak, programując obiektowo i używając koncepcji modelu,
* widoku i kontrolera (MVC), można zaprogramować "grę w życie" będącą dość
* prostym automatem komórkowym.
*
* Opis gry w życie (life game) można znaleźć takż w Wikipedii:
* https://pl.wikipedia.org/wiki/Gra_w_%C5%BCycie
*
... | block_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_5 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // W zasadzie nie potrzebowalibyśmy może klasy App (skrót od Application,
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_6 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // moglibyśmy użyć innej nazwy, np. Application, Program, MiniLife), jednak
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_7 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // wygodnie jest mieć coś, co reprezentuje aplikację jako taką, całościowo.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_8 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // Takim czymś będzie obiekt klasy App, a jego utworzeniem zajmie się metoda
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_9 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // main(). Oczywiście main() musi być publiczne (tak samo App) oraz static.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_10 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | /**
* Program (aplikację) można wywołać bez parametrów, albo z parametrem
* określającym jak duża ma być plansza.
*
* @param args args[0] może określać rozmiar planszy jako liczbę zapisaną
* jako łańcuch znaków
*/ | block_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_11 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // Najpierw tworzymy nowy obiekt klasy App i to dostarczając jego
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_12 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // konstruktorowi parametry wywołania programu (jako tablicę łańcuchów
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_13 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // znaków). Potem uruchamiamy (cokolwiek może to znaczyć) ten obiekt
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_14 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // app wywołując jego metodę run().
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_15 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // Co robi konstruktor? Co robi metoda run? A to zależy - zależy od tego
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_16 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // co my chcemy żeby robiły - przecież to my napiszemy odpowiednie
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_17 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // kawałki kodu - my określimy jak mają działać.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_18 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // Trik z tworzeniem app w ten sposób pozwala uwolnić się od problemów
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_19 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // jakie wynikałyby z programowania wewnątrz metody statycznej (takiej
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_20 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // jaką jest funkcja main). Po prostu run() jest już static.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_21 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // Aplikacja z czegoś tam się składa, tzn. klasa App ma - zdefiniowane jako
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_22 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // pola ("zmienne zdefiniowane dla obiektu") komponenty - takie jak poniżej
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_23 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // options, model i view. Są one prywatne, bo nie chcemy aby coś nam popsuło
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_24 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // zabawę - np. pomyłkowe podmienienie czegoś jakoś. Jak jest private to
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_25 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // raczej tego rodzaju przypadków nie będzie.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_26 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // Moglibyśmy np. zadeklarować Model m zamiast Model model, ale choć
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_27 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // Model model itp. sposób pisania identyfikatorów wyglądają niezbyt
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_28 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // inteligentnie, to w praktyce takie nazwy doskonale się sprawdzają
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_29 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // - od razu widać co jest jakiej klasy. Małe i duże litery to nie to samo!
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_30 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // Czy ma sens aby zmienne options, model i view były tutaj określone jako
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_31 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // final? Ogólnie i teoretycznie final należy stosować możliwie często,
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_32 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // jednak bez przesady - nic szczególnego tym razem nie osiągniemy.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_33 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | /**
* Konstruktor obiektów jakie są składnikami aplikacji, to jest tych z
* których aplikacja jest (będzie po wywołaniu konstruktora) złożona.
*
* @param args parametry wywołania programu, takie jak w main()
*/ | block_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_34 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | /**
* Metoda dokonująca rozruchu działania całej aplikacji.
*/ | block_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_35 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // Model już mamy i ten model jest zupełnie ok, ponieważ konstruktor
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_36 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // obiektu model zadziałał i dostarczył kompletny model (więc taki który
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_37 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // w pełni jest skonstruowany). Teraz rysujemy co mamy.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_38 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // Moglibyśmy zrobić to inteligentnie, tak aby każda zmiana w modelu
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_39 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // automatycznie wywoływała view.paint(). Model musiałby jednak wiedzieć
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_40 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // że ma jakiś view i być może więcej niż jeden. Zamiast tego wywołujemy
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_41 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // view.paint() po prostu na zewnąrz klasy model - model nic nie wie
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_42 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // o tym że jest jakaś obiekt view, klasa View i że coś się dzieje
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_43 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // Ups, to bardzo uproszczone - powinniśmy mieć jeszcze (aby było MVC)
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_44 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // obiekt klasy Controller (tj. taki który odbiera polecenia wydawane
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_45 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // przez użytkownika i modyfikuje model) - ale go nie mamy, bo na razie
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_46 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // nie jest potrzebny. A w zasadzie za prawie-kontroler służy właśnie
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_48 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // Pętla for poniżej jest paskudna - wbite na sztywno 10 i ogólnie
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3832_49 | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | slawomirmarczynski/java | minilife/src/minilife/App.java | 2,204 | // powinna być zastąpiona czymś innym. Ale wystarcza na początek.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2021 Sławomir Marczyński.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
3833_0 | package domain;
import java.math.BigDecimal;
import java.time.LocalDate;
public class Product {
private long id;
private String productName;
private int quantity;
private BigDecimal price;
//Produkty są magiczne i wszystkie tego samego typu tracą ważność tego samego dnia jak coś. KappaPride
... | alienator35/Szop | src/main/java/domain/Product.java | 315 | //Produkty są magiczne i wszystkie tego samego typu tracą ważność tego samego dnia jak coś. KappaPride | line_comment | pl | package domain;
import java.math.BigDecimal;
import java.time.LocalDate;
public class Product {
private long id;
private String productName;
private int quantity;
private BigDecimal price;
//Produkty są <SUF>
private LocalDate expirationDate;
public void setId(long id) {
this.... |
3836_0 | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... | sewerynstawiarski/Learning-Programming-Academy | KursYouTube/MyFrame5.java | 572 | // do combox można wysyłać tylko dane referencyjne !! | line_comment | pl | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... |
3836_2 | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... | sewerynstawiarski/Learning-Programming-Academy | KursYouTube/MyFrame5.java | 572 | // w nawiasie można też wymienić, ale trzeba użyć wrapper class | line_comment | pl | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... |
3836_3 | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... | sewerynstawiarski/Learning-Programming-Academy | KursYouTube/MyFrame5.java | 572 | //comboBox.setEditable(true); // sprawi, że w okienku będzie można coś wpisać, żeby znaleźć na liście | line_comment | pl | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... |
3836_4 | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... | sewerynstawiarski/Learning-Programming-Academy | KursYouTube/MyFrame5.java | 572 | //System.out.println(comboBox.getItemCount()); // ta funkcja pokaże ile jest na liście przedmiotów | line_comment | pl | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... |
3836_6 | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... | sewerynstawiarski/Learning-Programming-Academy | KursYouTube/MyFrame5.java | 572 | //comboBox.insertItemAt("Orzeł", 0); // dodaje do listy w danym miejscu wyznaczonym przez index | line_comment | pl | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... |
3836_7 | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... | sewerynstawiarski/Learning-Programming-Academy | KursYouTube/MyFrame5.java | 572 | //comboBox.setSelectedIndex(3); // sprawia, że domyślnie pierwsza pokazuje się odpowiedź z danym indexem | line_comment | pl | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... |
3836_8 | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... | sewerynstawiarski/Learning-Programming-Academy | KursYouTube/MyFrame5.java | 572 | //comboBox.removeItem("kotek"); // usuwa z listy dany obiekt | line_comment | pl | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... |
3836_9 | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... | sewerynstawiarski/Learning-Programming-Academy | KursYouTube/MyFrame5.java | 572 | //comboBox.removeItemAt(1); // usuwa obiekt o danym indeksie | line_comment | pl | package com.HighLand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyFrame5 extends JFrame implements ActionListener {
JComboBox comboBox;
MyFrame5() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.