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
20508_8
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package lista5; /** * * @author stachu */ class Lista { private Wezel first; private Wezel last; private class Wezel ...
sjwilczynski/Studies
15-16/Winter/Java/Programming in Java/lista5/src/lista5/Lista.java
1,335
/** * wstawia parę p do listy * @param p */
block_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package lista5; /** * * @author stachu */ class Lista { private Wezel first; private Wezel last; private class Wezel ...
20508_10
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package lista5; /** * * @author stachu */ class Lista { private Wezel first; private Wezel last; private class Wezel ...
sjwilczynski/Studies
15-16/Winter/Java/Programming in Java/lista5/src/lista5/Lista.java
1,335
// w przypisuje referencje do w.next i dlatego z first nic zlego sie nie dzieje
line_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package lista5; /** * * @author stachu */ class Lista { private Wezel first; private Wezel last; private class Wezel ...
20508_11
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package lista5; /** * * @author stachu */ class Lista { private Wezel first; private Wezel last; private class Wezel ...
sjwilczynski/Studies
15-16/Winter/Java/Programming in Java/lista5/src/lista5/Lista.java
1,335
/** * zwraca rozmiar listy * @return */
block_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package lista5; /** * * @author stachu */ class Lista { private Wezel first; private Wezel last; private class Wezel ...
20508_12
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package lista5; /** * * @author stachu */ class Lista { private Wezel first; private Wezel last; private class Wezel ...
sjwilczynski/Studies
15-16/Winter/Java/Programming in Java/lista5/src/lista5/Lista.java
1,335
/** * sparwdza czy para jest w liscie * @param s * @return */
block_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package lista5; /** * * @author stachu */ class Lista { private Wezel first; private Wezel last; private class Wezel ...
20508_13
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package lista5; /** * * @author stachu */ class Lista { private Wezel first; private Wezel last; private class Wezel ...
sjwilczynski/Studies
15-16/Winter/Java/Programming in Java/lista5/src/lista5/Lista.java
1,335
/** * usuwa wszytskie elementy z listy */
block_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package lista5; /** * * @author stachu */ class Lista { private Wezel first; private Wezel last; private class Wezel ...
20509_0
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Jest to główne okno aplikacji MobiUwB. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_1
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Kod zwrotny dla uruchomienia widoku Ustawień/Opcji. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_2
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Jest to usługa odpowiedzialna za sprawdzanie dostępności oraz rodzaju Internetu. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_3
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Pobiera usługę od sprawdzania Internetu. * @return Usługa od sprawdzania Internetu. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_4
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Ten przycisk odpowiada za dostęp do wysuwanego bocznego menu. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_5
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Jest to fragment dla tego widoku, zawierający sporą jego część. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_6
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Wygląd z wysuwanym bocznym menu. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_7
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Lista jednostek w wysuwanym bocznym menu. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_8
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Kontener na listę jednostek w wysuwanym bocznym menu. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_9
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Aktualnie zaznaczona pozycja na liście wysuwanego bocznego menu. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_10
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Czas na ponowne dotknięcie przycisku back, aby wyłączyć aplikację. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_11
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Dzieje się, gdy Android tworzy ten widok. * Zmusza Androida aby wyświetlił przycisk Menu. * Nadaje widok z XML oraz wywołuje funkcję inicjalizującą. * @param savedInstanceState Zapisany stan widoku na wypadek ponownego tworzenia go. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_12
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Dzieje się, gdy system operacyjny pozbywa się tego widoku z pamięci urządzenia. * Zatrzymuje usługę sprawdzania Internetu. * Aktywuje usługę powiadomień. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_13
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Dzieje się, gdy już widok zostanie utworzony. * Zatrzymuje usługę notyfikacyjną. * @param savedInstanceState Zapisany stan widoku na wypadek ponownego tworzenia go. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_14
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Dzieje się gdy Android tworzy menu. * Tworzy menu z XML. * @param menu Menu. * @return Czy utworzono menu. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_15
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Dzieje się gdy dotkniemy jakiegoś elemenu menu. * Deleguje dotknięcie do klasy MenuMethods. * @param item Dotknięty element w menu. * @return Czy nadpisać tę akcję. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_16
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Dzieje się gdy Android zmieni konfigurację w trakcie działania * tego widoku. * @param newConfig Nowa konfiguracja. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_17
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Dzieje się gdy dotkniemy przycisku back. * Stopuje wyłaczenie aplikacji do czasu dwukliku back. * Stopuje wyłączenie aplikacji do czasu uzyskania pierwszej * możliwej strony WWW. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_18
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Wydarza się gdy dotkniemy przycisku i nie zostanie on obsłużony * przez jakąkolwiek kontrolkę w tym widoku. * Obsługujemy tutaj przycisk back w podobny sposób, co * w metodzie onBackPressed. * @param keyCode Kod dotkniętego przycisku. * @param event Wydarzenie dotknięcia przyc...
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_19
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Ustanawia domyślne właściwości dla tego widoku. * W skład nich wchodzą tytuł widoku zależny od jednostki, * utworzenie fragmentu z przeglądarką. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_20
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Inicjalizuje kontrolki tego widoku. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_21
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Inicjalizuje sprawdzacza stanu Internetu. * Nadaje wszystkie typy sprawdzanego Internetu. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_22
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Reprezentuje nasłuchiwacz na utracone połączenie. * Raportuje o tym za pomocą powiadomień Toast. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_23
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Reprezentuje nasłuchiwacz na zmieniony typ połączenia. * Raportuje o tym za pomocą powiadomień Toast. * Odświeża przeglądarkę. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_24
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Inicjalizuje różne kontrolki związane z bocznym wysuwanym menu. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_25
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Inicjalizuje boczne wysuwane menu nadając mu elementy * pobrane z listy z pliku Właściwości. * Ponadto nadaje wydarzenia związane z wyborem tych elementów. * Będzie odświeżać stronę WWW przy wyborze jakiegoś elementu. * Nadaje też domyślnie zaznaczony element. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_26
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Metoda wymuszająca na androidzie aby wyświetlił on menu button. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_32
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * {@inheritDoc} * Czyta nowe ustawienia, jeżeli zgodzi się kod zwrotny dla * ekranu Ustawień/Opcji. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20509_33
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/view/mainactivity/MainActivity.java
5,567
/** * Czyta nowe ustawienia z ekranu Ustawień/Opcji. */
block_comment
pl
package pl.edu.uwb.mobiuwb.view.mainactivity; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bund...
20510_0
package com.app.remote_controller_app.fragments; import android.os.Bundle; import androidx.constraintlayout.widget.ConstraintLayout; import androidx.fragment.app.Fragment; import androidx.navigation.fragment.NavHostFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup;...
kazdyrkeicam/remote_controller
app/app/src/main/java/com/app/remote_controller_app/fragments/EditMode.java
594
/* Co się dzieje po kliknięciu przycisku "Wybór komponentów" */
block_comment
pl
package com.app.remote_controller_app.fragments; import android.os.Bundle; import androidx.constraintlayout.widget.ConstraintLayout; import androidx.fragment.app.Fragment; import androidx.navigation.fragment.NavHostFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup;...
20511_0
package pl.north93.northplatform.minigame.elytrarace.arena; import com.destroystokyo.paper.Title; import org.bukkit.ChatColor; import org.bukkit.Sound; import org.bukkit.entity.Player; import org.bukkit.util.Vector; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToSt...
northpl93/NorthPlatform
Sources/MiniGame/ElytraRace/src/main/java/pl/north93/northplatform/minigame/elytrarace/arena/StartCountdown.java
998
// dzieje sie tak gdy podczas odliczania przelaczymy na initialising/lobby
line_comment
pl
package pl.north93.northplatform.minigame.elytrarace.arena; import com.destroystokyo.paper.Title; import org.bukkit.ChatColor; import org.bukkit.Sound; import org.bukkit.entity.Player; import org.bukkit.util.Vector; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToSt...
20512_0
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
Deevo87/Distributed-Systems
lab4/Ice/Ice/src/sr/ice/client/IceClient.java
3,088
// 1. Inicjalizacja ICE
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
20512_1
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
Deevo87/Distributed-Systems
lab4/Ice/Ice/src/sr/ice/client/IceClient.java
3,088
// 2. Uzyskanie referencji obiektu na podstawie linii w pliku konfiguracyjnym (wówczas aplikację należy uruchomić z argumentem --Ice.config=config.client)
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
20512_3
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
Deevo87/Distributed-Systems
lab4/Ice/Ice/src/sr/ice/client/IceClient.java
3,088
// 2. Uzyskanie referencji obiektu - to samo co powyżej, ale mniej ładnie
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
20512_4
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
Deevo87/Distributed-Systems
lab4/Ice/Ice/src/sr/ice/client/IceClient.java
3,088
//opcja -z włącza możliwość kompresji wiadomości
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
20512_5
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
Deevo87/Distributed-Systems
lab4/Ice/Ice/src/sr/ice/client/IceClient.java
3,088
//opcja -z włącza możliwość kompresji wiadomości
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
20512_6
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
Deevo87/Distributed-Systems
lab4/Ice/Ice/src/sr/ice/client/IceClient.java
3,088
// 3. Rzutowanie, zawężanie (do typu Calc)
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
20512_7
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
Deevo87/Distributed-Systems
lab4/Ice/Ice/src/sr/ice/client/IceClient.java
3,088
//CalcPrx obj1 = CalcPrx.uncheckedCast(base1); //na czym polega różnica?
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
20512_8
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
Deevo87/Distributed-Systems
lab4/Ice/Ice/src/sr/ice/client/IceClient.java
3,088
// 4. Wywołanie zdalnych operacji i zmiana trybu proxy dla obiektu obj1
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
20512_9
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
Deevo87/Distributed-Systems
lab4/Ice/Ice/src/sr/ice/client/IceClient.java
3,088
//wysłanie dodatkowych danych stanowiących kontekst wywołania
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
20512_11
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
Deevo87/Distributed-Systems
lab4/Ice/Ice/src/sr/ice/client/IceClient.java
3,088
//future-based 1. zlecenie wyłania
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
20512_13
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
Deevo87/Distributed-Systems
lab4/Ice/Ice/src/sr/ice/client/IceClient.java
3,088
//co się dzieje "w sieci"?
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
20512_15
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
Deevo87/Distributed-Systems
lab4/Ice/Ice/src/sr/ice/client/IceClient.java
3,088
//sensowne tylko dla operacji wywoływanych w trybie batch
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public s...
20514_1
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
/** * * @author Sławomir Marczyński */
block_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_2
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Najpierw pytamy o rozmiar ekranu. Uwaga: w systemach z wieloma
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_4
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Tworzymy głowne (ale jeszcze puste) okno programu i określamy
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_5
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// jego preferowany rozmiar.
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_6
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Tworzymy menadżera layout'u (parametr FlowLayout.LEADING
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_7
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// dosuwa elementy do tej strony ramki od której zaczyna się czytać
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_8
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// tekst - czyli do lewej jeżeli tekst jest od lewej-do-prawej).
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_9
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Podpinamy menadżera do okna (a w zasadzie do "contentu" okna).
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_10
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Tworzymy guzik i wstawiamy go do "contentu" okna.
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_11
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Naciśnięcie guzika zostanie zgłoszone do "listenera" (wzorzec
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_12
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Obserwator), którym - w tym konkretnym przypadku - jest klasa
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_13
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// anonimowa implementująca interfejs ActionListener zapisana
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_14
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// w notacji lambda. Yep, to jest trochę skomplikowane i zakręcone.
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_15
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// W czasie tworzenia guzika tłumaczymy nazwę na tę która odpowiada
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_16
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// danemu "locale". Możnaby zorganizować to także i w ten sposób,
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_17
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// że zamiast tworzyć JButton tworzylibyśmy obiekt subklasy klasy
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_18
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// JButton, np. MyL10nJButton, którego konstruktor (ew. fabryka)
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_19
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// kapsułkowałby proces tłumaczenia. Pozostaje jednak problem
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_20
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// - jak zmieniać język w trakcie działania programu - czyli już
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_21
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// po rozpoczęciu jego pracy.
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_22
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Ten fragment programu zostaje wywołany kiedyś, gdzieś,
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_23
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// w odpowiedzi na naciśnięcie guzika. Czyli nie bezpośrednio
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_24
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// przed dodaniem/pokazaniem guzika - ale dopiero gdy ten guzik
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_25
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Najpierw tworzymy sobie obiekt chooser i konfigurujemy go.
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_26
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Potem każemu mu wyświetlić dialog wyboru plików i katalogów.
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_27
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Następnie - ale tylko wtedy gdy użytkownik zaakceptował
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_28
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// wybór ("ok" lub coś podobnego) - robimy co trzeba.
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_29
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Patrz też https://mkyong.com/swing/java-swing-jfilechooser-example
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_30
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// processFiles jest napisaną przez nas metodą - patrz niżej
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_31
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Dopasowujemy do siebie rozmiaru elementów (tak aby każdy był
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_32
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// nie mniejszy niż preferowana wielkość) i pokazywanie/uruchamianie
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_33
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
/** * Metoda która dostaje tablicę files - z plikami jako takimi i z katalogami * (folderami) w których mogą być pliki oraz katalogi - i która wypisuje * nazwy wszystkich plików jakie tylko odnajdzie. * * @param files tablica obiektów File */
block_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_34
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Nie ma konieczności sprawdzania czy file != null, bo nie
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_35
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// powinno być. Ale chyba też nie zaszkodzi. Zamiast println
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_36
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// może być oczywiście robione coś innego - to czego akurat
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_37
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// będziemy potrzebowali we własnym programie.
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_38
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Sprawdzanie czy plik nie jest plikiem ukrytym ukrywa pliki.
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_39
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Nie wiadomo co - ani katalog, ani zwykły plik
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_40
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
/** * Lokalizacja programu: dopasowywanie jego działania do potrzeb użytkownika * tak aby mógł go obsługiwać w swoim języku naturalnym oraz wszystkimi * innymi ustawieniami jakie są dla niego najodpowiedniejsze. */
block_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_41
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
/** * Ustalanie look-and-feel (tzw. laf), czyli jaki mają wygladać kontrolki - * czy mają przypominać te znane z MS Windows, czy raczej takie jakie są na * komputerach Apple, czy może jeszcze inne?! */
block_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_42
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Tablica zawierająca preferowane i tablica zawierające dostępne LaF.
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_43
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Są one final, bo nie będą modyfikowane po utworzeniu.
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_44
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// @todo: dopisać więcej
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_45
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// Negocjowanie jaki LaF ma być użyty - ponieważ dostępnych LaF jest
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_46
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// niewiele (kilka, może kilkanaście) i niewiele jest preferowanych LaF
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_47
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// - to użycie dwóch pętli for (jak poniżej) nie jest aż tak złe... jak
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_48
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// mogłoby się to wydawać. Przechwytywanie wyjątków (try-catch) jest
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_49
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// konieczne, ale - poza odnotowaniem że coś się dzieje - nie wymaga
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_50
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// szczególnych kroków - w najgorszym razie nic się nie uda i pozostanie
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20514_51
/* * The MIT License * * Copyright 2020 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
filesindirectory/src/filesindirectory/Program.java
2,980
// standardowy wygląd kontrolek - co jest dobrym rozwiązaniem.
line_comment
pl
/* * The MIT License * * Copyright 2020 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...
20515_0
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public static void main(String[...
xRaw27/SR_WIET_2023
lab4/lab/Ice/src/sr/ice/client/IceClient.java
3,319
// 1. Inicjalizacja ICE
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public static void main(String[...
20515_1
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public static void main(String[...
xRaw27/SR_WIET_2023
lab4/lab/Ice/src/sr/ice/client/IceClient.java
3,319
// 2. Uzyskanie referencji obiektu na podstawie linii w pliku konfiguracyjnym (wówczas aplikację należy uruchomić z argumentem --Ice.config=config.client)
line_comment
pl
package sr.ice.client; import Demo.A; import Demo.CalcPrx; import com.zeroc.Ice.*; import java.io.IOException; import java.lang.Exception; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.concurrent.CompletableFuture; public class IceClient { public static void main(String[...