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
32088_2
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
kdomian/StacjaKontroliPojazdow
src/main/java/org/example/Aplication.java
2,421
//Wyświetlanie menu edycji
line_comment
pl
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
32088_3
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
kdomian/StacjaKontroliPojazdow
src/main/java/org/example/Aplication.java
2,421
//Wyświetlanie listy pojazdów
line_comment
pl
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
32088_4
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
kdomian/StacjaKontroliPojazdow
src/main/java/org/example/Aplication.java
2,421
//Wyszukiwanie pojazdu po numerze rejestracyjnym
line_comment
pl
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
32088_5
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
kdomian/StacjaKontroliPojazdow
src/main/java/org/example/Aplication.java
2,421
//Wyświetlanie listy pojazdów
line_comment
pl
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
32088_6
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
kdomian/StacjaKontroliPojazdow
src/main/java/org/example/Aplication.java
2,421
//Dodawanie nowego pojazdu
line_comment
pl
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
32088_7
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
kdomian/StacjaKontroliPojazdow
src/main/java/org/example/Aplication.java
2,421
//bez tej linijki program chciał pobrać numer rejestracyjny od razu po roku produkcji
line_comment
pl
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
32088_8
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
kdomian/StacjaKontroliPojazdow
src/main/java/org/example/Aplication.java
2,421
//sprawdzanie czy numer rejestracyjny nie jest już zajęty
line_comment
pl
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
32088_9
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
kdomian/StacjaKontroliPojazdow
src/main/java/org/example/Aplication.java
2,421
//bez tej linijki program chciał pobrać numer rejestracyjny od razu po roku produkcji
line_comment
pl
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
32088_10
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
kdomian/StacjaKontroliPojazdow
src/main/java/org/example/Aplication.java
2,421
//Metoda uruchamiająca aplikację
line_comment
pl
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
32088_11
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
kdomian/StacjaKontroliPojazdow
src/main/java/org/example/Aplication.java
2,421
//zapis listy pojazdów do pliku
line_comment
pl
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
32088_12
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
kdomian/StacjaKontroliPojazdow
src/main/java/org/example/Aplication.java
2,421
//metoda zwracająca odczytane z pliku pojazdy, a jeżeli plik nie istnieje to tworzy nowy dokument
line_comment
pl
package org.example; import org.example.vehicle.Car; import org.example.vehicle.Motorcycle; import org.example.vehicle.Truck; import org.example.vehicle.Vehicle; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Scanner; //Klasa Aplication zawierająca główną logikę programu public...
32096_0
package pl.lodz.p.it.ssbd2022.ssbd02.controllers; import io.fusionauth.jwt.domain.JWT; import pl.lodz.p.it.ssbd2022.ssbd02.exceptions.*; import pl.lodz.p.it.ssbd2022.ssbd02.mok.dto.AuthTokenDto; import pl.lodz.p.it.ssbd2022.ssbd02.mok.endpoint.AccountEndpoint; import pl.lodz.p.it.ssbd2022.ssbd02.security.JWTHandler; ...
oskarkurczewski/Shutter.app
src/main/java/pl/lodz/p/it/ssbd2022/ssbd02/controllers/AuthController.java
2,017
/** * Kontroler udostępniający końcówki obsługujące uwierzytelnianie * Ścieżka zasobu to /api/auth */
block_comment
pl
package pl.lodz.p.it.ssbd2022.ssbd02.controllers; import io.fusionauth.jwt.domain.JWT; import pl.lodz.p.it.ssbd2022.ssbd02.exceptions.*; import pl.lodz.p.it.ssbd2022.ssbd02.mok.dto.AuthTokenDto; import pl.lodz.p.it.ssbd2022.ssbd02.mok.endpoint.AccountEndpoint; import pl.lodz.p.it.ssbd2022.ssbd02.security.JWTHandler; ...
32096_1
package pl.lodz.p.it.ssbd2022.ssbd02.controllers; import io.fusionauth.jwt.domain.JWT; import pl.lodz.p.it.ssbd2022.ssbd02.exceptions.*; import pl.lodz.p.it.ssbd2022.ssbd02.mok.dto.AuthTokenDto; import pl.lodz.p.it.ssbd2022.ssbd02.mok.endpoint.AccountEndpoint; import pl.lodz.p.it.ssbd2022.ssbd02.security.JWTHandler; ...
oskarkurczewski/Shutter.app
src/main/java/pl/lodz/p/it/ssbd2022/ssbd02/controllers/AuthController.java
2,017
/** * Punkt końcowy pozwalający na uwierzytelnienie użytkownika weryfikując podane przez niego poświadczenia. * W przypadku powodzenia zwracany jest żeton JWT, w przeciwnym wypadku zwracany jest stosowny komunikat * oraz rejestrowana jest nieudana próba logowania dla danego użytkownika. * Ścieżka za...
block_comment
pl
package pl.lodz.p.it.ssbd2022.ssbd02.controllers; import io.fusionauth.jwt.domain.JWT; import pl.lodz.p.it.ssbd2022.ssbd02.exceptions.*; import pl.lodz.p.it.ssbd2022.ssbd02.mok.dto.AuthTokenDto; import pl.lodz.p.it.ssbd2022.ssbd02.mok.endpoint.AccountEndpoint; import pl.lodz.p.it.ssbd2022.ssbd02.security.JWTHandler; ...
32096_2
package pl.lodz.p.it.ssbd2022.ssbd02.controllers; import io.fusionauth.jwt.domain.JWT; import pl.lodz.p.it.ssbd2022.ssbd02.exceptions.*; import pl.lodz.p.it.ssbd2022.ssbd02.mok.dto.AuthTokenDto; import pl.lodz.p.it.ssbd2022.ssbd02.mok.endpoint.AccountEndpoint; import pl.lodz.p.it.ssbd2022.ssbd02.security.JWTHandler; ...
oskarkurczewski/Shutter.app
src/main/java/pl/lodz/p/it/ssbd2022/ssbd02/controllers/AuthController.java
2,017
/** * Punkt końcowy rejestrujący w dzienniku zdarzeń próbę zmiany grupy, * do której przynależy użytkownik w widoku aplikacji * * @param group nazwa grupy, na którą użytkownik dokonać chciał zmiany * @return odpowiedź HTTP * @throws UserNotInGroupException użytkownik nie należy do podanej ...
block_comment
pl
package pl.lodz.p.it.ssbd2022.ssbd02.controllers; import io.fusionauth.jwt.domain.JWT; import pl.lodz.p.it.ssbd2022.ssbd02.exceptions.*; import pl.lodz.p.it.ssbd2022.ssbd02.mok.dto.AuthTokenDto; import pl.lodz.p.it.ssbd2022.ssbd02.mok.endpoint.AccountEndpoint; import pl.lodz.p.it.ssbd2022.ssbd02.security.JWTHandler; ...
32096_3
package pl.lodz.p.it.ssbd2022.ssbd02.controllers; import io.fusionauth.jwt.domain.JWT; import pl.lodz.p.it.ssbd2022.ssbd02.exceptions.*; import pl.lodz.p.it.ssbd2022.ssbd02.mok.dto.AuthTokenDto; import pl.lodz.p.it.ssbd2022.ssbd02.mok.endpoint.AccountEndpoint; import pl.lodz.p.it.ssbd2022.ssbd02.security.JWTHandler; ...
oskarkurczewski/Shutter.app
src/main/java/pl/lodz/p/it/ssbd2022/ssbd02/controllers/AuthController.java
2,017
/** * Punkt końcowy odświeżający żeton JWT * * @param context Kontekst aplikacji * @return odświeżony żeton JWT * @throws BaseApplicationException niepowodzenie operacji */
block_comment
pl
package pl.lodz.p.it.ssbd2022.ssbd02.controllers; import io.fusionauth.jwt.domain.JWT; import pl.lodz.p.it.ssbd2022.ssbd02.exceptions.*; import pl.lodz.p.it.ssbd2022.ssbd02.mok.dto.AuthTokenDto; import pl.lodz.p.it.ssbd2022.ssbd02.mok.endpoint.AccountEndpoint; import pl.lodz.p.it.ssbd2022.ssbd02.security.JWTHandler; ...
32097_0
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Jest to usługa obsługująca Powiadomienia w aplikacji. * Jako oddzielny proces, działa ona w tle wtedy, kiedy aplikacja jest * wyłączona. Dane są pozyskiwane poprzez deserializację * wcześniej zserializowanych danych w samej aplikacji. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_1
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Flaga oznaczająca "ładuj ponownie konfigurację". */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_2
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Flaga oznaczająca "restartuj usługę". */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_3
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Flaga oznaczająca "stop usłudze". */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_4
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Flaga oznaczająca "wystartuj usługę". */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_5
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Wątek wewnętrzny usługi. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_6
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Wydarza się gdy wydajemy jakąś komendę usłudze. * Konfigurujemy co usługa ma zrobić za pomocą flag. * @param intent Intencja wchodząca w tą usługę. * @param flags Flagi do kontroli usługi. * @param startId Startowe ID, nieużywany parametr. * @return Zawsze zwraca flagę, która i...
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_7
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Przetwarza żądanie bazując na flagach. * @param flag Wejściowa flaga. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_8
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Wewnętrzna metoda systemu Android, nieużywana. * @param intent * @return */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_9
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Wydarza się, gdy usługa kończy swoje działanie. * Stopowany jest wtedy wątek wewnętrzny usługi. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_10
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Jest to wątek wewnętrzny usługi, który zapewnia asynchroniczne działanie, * oraz możliwość łatwego włączenia lub wyłączenia operacji bez * zabijania całej usługi. * Do jego zadań należy wysyłanie notyfikacji. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_11
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Determinuje, czy jest aktywny. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_12
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Uogólniony obiekt zawierający dane zwracane przez listę zadań. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_13
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Kiedy ostatnio wysyłaliśmy notyfikacje. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_14
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Aktualny czas. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_16
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Wydarza się tuż przed startem tego procesu. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_17
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Dzieje się w oddzielnym wątku. * Wywołuje wszelkie operacje związane z dostarczeniem * powiadomienia użytkownikowi. * Ponadto wywołuje inicjalizację danych. * @param params Nieużywane parametry. * @return Nieużywana wartość zwracana. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_18
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Sprawdza, czy aplikacja może generować powiadomienia, czy też nie. * @param succeeded Czy generować powiadomienia, czy też nie. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_19
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Enkapsuluje podstawową pętlę generującą powiadomienia. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_20
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Pojedyncze wywołanie pętli generującej powiadomienia. * Sprawdza warunki odnośnie odstępu od wywołania kolejnych powiadomień. * @param interval Przerwa między powiadomieniami. * @param from Czas "od" w zakresie czasu. * @param to Czas "do" w zakresie czasu. ...
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_21
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Metoda ta uruchamia metodę od powiadomień. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_22
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Metoda ta uruchamia metodę od powiadomień, are pod warunkami * zakresu czasu, w jakim użytkownik chciałby otrzymywać powiadomienia. * @param from Czas "od" w zakresie czasu. * @param to Czas "do" w zakresie czasu. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_23
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Metoda ta wykonuje dalsze porównania warunków czasu, po czym * uruchamia wykonywacza notyfikacji. * @param current Aktualny czas. * @param from Czas "od" w zakresie czasu. * @param to Czas "do" w zakresie czasu. */
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_24
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Metoda ta publikuje notyfikacje. * Robi to dla konkretnych kategorii i sprawdza, czy użytkownich chciał, * aby dla danej kategorii otrzymać powiadomienie. * Następnie metoda pobiera aktualną sekcję i dla niej pobiera listę * kanałów informacyjnych, po czym urucham...
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_25
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Metoda ta pobiera zawsze najnowszy plik JSON z kanałami informacyjnymi, * aby wydobyć z niego interesujące użytkownika kanały informacyjne. * Aby to zrealizować, operuje ona na preferencjeach aplikacji w celu pobrania plików * za pomocą kontrolera wersji. * Następ...
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_26
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Funkcja ta inicjalizuje wszelkie dane niezbędne dla procesu generowania powiadomień. * Pobiera ona pliki Konfiguracja, Właściwości, oraz ustawienia z aplikacji, jakie są * wymagane do działania niniejszego generatora powiadomień. * @return Czy inicjalizacja się powiodła. ...
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32097_27
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
iknuwb/mobiUwB-android
app/src/main/java/pl/edu/uwb/mobiuwb/services/notification/NotificationService.java
5,314
/** * Metoda ta wysyła żądane powiadomienia bazując na liście kanałów informacyjnych Feed. * Buduje je oraz przygotowuje, nadając tytuł oraz ikonę. * Czyni to dla konkretnej sekcji, z konkretnym ID notyfikacji aby się one nie podwajały. * @param newestFeeds Kanały informacyjne, d...
block_comment
pl
package pl.edu.uwb.mobiuwb.services.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android....
32109_0
package day_2; import java.util.List; /** * Mikołaj ma przygotowaną listę adresów, pod które musi dostarczyć prezent. Chciałby on * skorzystać z pomocy technologii i wyświetlić listę miast, do których musi pojechać. * Napisz program, który wyświetli w konsoli nazwy miast bez duplikatów. */ public class Task { ...
przeprogramowany/christmas-challenge-2023
src/day_2/Task.java
387
/** * Mikołaj ma przygotowaną listę adresów, pod które musi dostarczyć prezent. Chciałby on * skorzystać z pomocy technologii i wyświetlić listę miast, do których musi pojechać. * Napisz program, który wyświetli w konsoli nazwy miast bez duplikatów. */
block_comment
pl
package day_2; import java.util.List; /** * Mikołaj ma przygotowaną <SUF>*/ public class Task { public static void main(String[] args) { List<Address> addresses = prepareListOfAddresses(); // TODO: Napisz program, który wyświetli w konsoli nazwy // miast bez duplikatów } priva...
32109_1
package day_2; import java.util.List; /** * Mikołaj ma przygotowaną listę adresów, pod które musi dostarczyć prezent. Chciałby on * skorzystać z pomocy technologii i wyświetlić listę miast, do których musi pojechać. * Napisz program, który wyświetli w konsoli nazwy miast bez duplikatów. */ public class Task { ...
przeprogramowany/christmas-challenge-2023
src/day_2/Task.java
387
// TODO: Napisz program, który wyświetli w konsoli nazwy
line_comment
pl
package day_2; import java.util.List; /** * Mikołaj ma przygotowaną listę adresów, pod które musi dostarczyć prezent. Chciałby on * skorzystać z pomocy technologii i wyświetlić listę miast, do których musi pojechać. * Napisz program, który wyświetli w konsoli nazwy miast bez duplikatów. */ public class Task { ...
32109_2
package day_2; import java.util.List; /** * Mikołaj ma przygotowaną listę adresów, pod które musi dostarczyć prezent. Chciałby on * skorzystać z pomocy technologii i wyświetlić listę miast, do których musi pojechać. * Napisz program, który wyświetli w konsoli nazwy miast bez duplikatów. */ public class Task { ...
przeprogramowany/christmas-challenge-2023
src/day_2/Task.java
387
// miast bez duplikatów
line_comment
pl
package day_2; import java.util.List; /** * Mikołaj ma przygotowaną listę adresów, pod które musi dostarczyć prezent. Chciałby on * skorzystać z pomocy technologii i wyświetlić listę miast, do których musi pojechać. * Napisz program, który wyświetli w konsoli nazwy miast bez duplikatów. */ public class Task { ...
32115_0
package day_14; import java.util.List; /** * Mikołaj chciałby sprawdzić, kto zmienił zamówiony prezent. Wyświetl na ekranie * wszystkie osoby, które zmieniły zamówione prezenty. Zrób to w formacie: * "Imię zmienił/a prezent z X na Y". */ public class Solution { private static final String CHILD_UPDATED_GIFT ...
przeprogramowany/christmas-challenge-2023
src/day_14/Solution.java
427
/** * Mikołaj chciałby sprawdzić, kto zmienił zamówiony prezent. Wyświetl na ekranie * wszystkie osoby, które zmieniły zamówione prezenty. Zrób to w formacie: * "Imię zmienił/a prezent z X na Y". */
block_comment
pl
package day_14; import java.util.List; /** * Mikołaj chciałby sprawdzić, <SUF>*/ public class Solution { private static final String CHILD_UPDATED_GIFT = "%s zmienił/a prezent z %s na %s\n"; public static void main(String[] args) { List<ChildGift> childGifts = prepareListOfChildGifts(); St...
32118_0
package pl.poznan.put.cs.si.puttalky; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import morfologik.stemming.IStemmer; import morfologik.stemming.WordData; import morfologik.stemming.polish.PolishStemmer; /** Author: agalawrynowicz<br> * Da...
kpiotrowski/puttalky
src/main/java/pl/poznan/put/cs/si/puttalky/Parser.java
909
/** Author: agalawrynowicz<br> * Date: 19-Dec-2016 */
block_comment
pl
package pl.poznan.put.cs.si.puttalky; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import morfologik.stemming.IStemmer; import morfologik.stemming.WordData; import morfologik.stemming.polish.PolishStemmer; /** Author: agalawrynowicz<br> <SUF...
32133_0
package org.example.gui.addform; import org.example.JDBC; import javax.swing.*; import java.awt.*; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; public class BorrowLogAddForm extends AddForm implements ItemReturning { public BorrowLogAddForm() { super(new Gr...
aSliwska/BibliotekaSQL
aplikacja/src/main/java/org/example/gui/addform/BorrowLogAddForm.java
639
// musi być w kodzie, bo trigger blokowałby zwykłe edytowanie dat (chciałam to udostępnić jako możliwość aplikacji)
line_comment
pl
package org.example.gui.addform; import org.example.JDBC; import javax.swing.*; import java.awt.*; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; public class BorrowLogAddForm extends AddForm implements ItemReturning { public BorrowLogAddForm() { super(new Gr...
32134_1
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//chyba jakoś naprawiłem przypadkiem
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_2
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//gramy na skróty, jakoś klasa statyczna nie chciała się zrobić z niewoadmoego powodu
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_4
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//jeżeli w pamięci nie ma danej strony i jest miejsce, to ją doajemy
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_5
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//nie ma jej, ale brak miejsca
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_6
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//przechodzimy po requestach przeglądając je po kolei
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_7
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//pobieramy wartość reqestu
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_8
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//szukamy kolejnego powtórzenia
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_9
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//opt ustawiamy na odległość do kolejnego wystąpienia
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_10
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
/*for (Zapyt za:arr) {System.out.println("wyliczenie odleglosci" ); System.out.println(za.wartosc + " "+ za.opt+ " " + za.ost);} System.out.println(); System.out.println("==========="); System.out.println();*/
block_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_11
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//usuwamy z pamięci obiekt onajwiększej odległości do kolejnego odwołania
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_12
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//dodatkowe bity odwołań
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_13
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//jeżeli w pamięci już jest dany obiekt
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_14
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//uswuwamy najmniej znaczący bit
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_15
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//na najbardziej znaczące miejsce (nazwa jest myląca, bo dodajemy z lewej tka naprawde) dodajemy 1
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_16
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//nie ma danego obiektu w pamięci i jest miejsce = odajemy go
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_17
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//nie ma obieku i nie ma miejsca
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_18
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//ustawiamy wszystkim obiektom w pamięci najwyższy bit na 0, bo nie było odwołania
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_19
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//szukamy elementu z najmniejszym stringiem referencji (parsując liczbę w stringu na int i szukając go)
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32134_20
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
mahcinek/so3
src/Alg.java
2,820
//usuwamy z pamięci obiekt o najmniejszym ciągu referencji
line_comment
pl
import java.util.ArrayList; import java.util.Random; /** * Created by qwerty on 2016-05-09. */ public class Alg { public int fifo(int[] tab, int wlk) { ArrayList<Integer> arr = new ArrayList<>(); int licznik = 0; for (int i=0;i<tab.length;i++) { for (int h:arr) ...
32167_0
package day_2; import java.util.List; import java.util.Set; import java.util.stream.Collectors; /** * Mikołaj ma przygotowaną listę adresów, pod które musi dostarczyć prezent. Chciałby on * skorzystać z pomocy technologii i wyświetlić listę miast, do których musi pojechać. * Napisz program, który wyświetli w konso...
przeprogramowany/christmas-challenge-2023
src/day_2/Solution.java
421
/** * Mikołaj ma przygotowaną listę adresów, pod które musi dostarczyć prezent. Chciałby on * skorzystać z pomocy technologii i wyświetlić listę miast, do których musi pojechać. * Napisz program, który wyświetli w konsoli nazwy miast bez duplikatów. */
block_comment
pl
package day_2; import java.util.List; import java.util.Set; import java.util.stream.Collectors; /** * Mikołaj ma przygotowaną <SUF>*/ public class Solution { public static void main(String[] args) { List<Address> addresses = prepareListOfAddresses(); Set<String> sortedAddresses = addresses.stre...
32171_0
package pl.sdacademy.designpatterns.observer; public class ConcreteValueObserver extends Observer { public ConcreteValueObserver(Subject subject) { super(subject); } @Override public void update() { // chciałoby się zrobić coś takiego subject.getValue() ale nie System.out.pri...
MattWroclaw/DesignPatterns
src/main/java/pl/sdacademy/designpatterns/observer/ConcreteValueObserver.java
113
// chciałoby się zrobić coś takiego subject.getValue() ale nie
line_comment
pl
package pl.sdacademy.designpatterns.observer; public class ConcreteValueObserver extends Observer { public ConcreteValueObserver(Subject subject) { super(subject); } @Override public void update() { // chciałoby się <SUF> System.out.println("Subject value changed and now is: ...
32179_0
package server; import common.ClientInterface; import common.ServerInterface; import java.rmi.RemoteException; import java.util.ArrayList; import java.util.List; public class Server implements ServerInterface { private List<ClientInterface> clients = new ArrayList<ClientInterface>(); public Stri...
krk-factory/rmi
RMIServer.raw/src/server/Server.java
250
// wypisanie wszystkim klientom danej wiadomości - zdalne wywołanie showMessage()
line_comment
pl
package server; import common.ClientInterface; import common.ServerInterface; import java.rmi.RemoteException; import java.util.ArrayList; import java.util.List; public class Server implements ServerInterface { private List<ClientInterface> clients = new ArrayList<ClientInterface>(); public Stri...
32180_0
package Hinge; public interface Card { // Interfejs karta - uzywany przede wszystkim do tworzenia // specjalnych list z kartami - talia, reka, cmentarz, linia /*----------------------------------------- ...
pmatejko/Hinge
src/Hinge/Card.java
142
// Interfejs karta - uzywany przede wszystkim do tworzenia
line_comment
pl
package Hinge; public interface Card { // Interfejs karta <SUF> // specjalnych list z kartami - talia, reka, cmentarz, linia /*----------------------------------------- Method ----------------...
32180_1
package Hinge; public interface Card { // Interfejs karta - uzywany przede wszystkim do tworzenia // specjalnych list z kartami - talia, reka, cmentarz, linia /*----------------------------------------- ...
pmatejko/Hinge
src/Hinge/Card.java
142
// specjalnych list z kartami - talia, reka, cmentarz, linia
line_comment
pl
package Hinge; public interface Card { // Interfejs karta - uzywany przede wszystkim do tworzenia // specjalnych list <SUF> /*----------------------------------------- Method -----------------...
32180_3
package Hinge; public interface Card { // Interfejs karta - uzywany przede wszystkim do tworzenia // specjalnych list z kartami - talia, reka, cmentarz, linia /*----------------------------------------- ...
pmatejko/Hinge
src/Hinge/Card.java
142
// Metoda uzywana do zapisywania w Stringu nazwy,
line_comment
pl
package Hinge; public interface Card { // Interfejs karta - uzywany przede wszystkim do tworzenia // specjalnych list z kartami - talia, reka, cmentarz, linia /*----------------------------------------- ...
32180_4
package Hinge; public interface Card { // Interfejs karta - uzywany przede wszystkim do tworzenia // specjalnych list z kartami - talia, reka, cmentarz, linia /*----------------------------------------- ...
pmatejko/Hinge
src/Hinge/Card.java
142
// atrybutow i linii na ktorej ma zostac umieszczona karta
line_comment
pl
package Hinge; public interface Card { // Interfejs karta - uzywany przede wszystkim do tworzenia // specjalnych list z kartami - talia, reka, cmentarz, linia /*----------------------------------------- ...
32181_0
import java.util.*; public class Algorithm { private ArrayList<Observation> testArray, trainingArray; private int K; public Algorithm(int K) { this.testArray = Service.parse("data\\test.csv"); this.trainingArray = Service.parse("data\\training.csv"); this.K = K; } // Note:...
ceswer/NAI
k-Nearest-Neighbours/src/Algorithm.java
823
// Note: rachunek odległości euklidesowej
line_comment
pl
import java.util.*; public class Algorithm { private ArrayList<Observation> testArray, trainingArray; private int K; public Algorithm(int K) { this.testArray = Service.parse("data\\test.csv"); this.trainingArray = Service.parse("data\\training.csv"); this.K = K; } // Note:...
32181_1
import java.util.*; public class Algorithm { private ArrayList<Observation> testArray, trainingArray; private int K; public Algorithm(int K) { this.testArray = Service.parse("data\\test.csv"); this.trainingArray = Service.parse("data\\training.csv"); this.K = K; } // Note:...
ceswer/NAI
k-Nearest-Neighbours/src/Algorithm.java
823
// Note: określenie typu odnośnie k-najbliższych sąsiadów, odzerowanie poprzednich danych
line_comment
pl
import java.util.*; public class Algorithm { private ArrayList<Observation> testArray, trainingArray; private int K; public Algorithm(int K) { this.testArray = Service.parse("data\\test.csv"); this.trainingArray = Service.parse("data\\training.csv"); this.K = K; } // Note:...
32181_2
import java.util.*; public class Algorithm { private ArrayList<Observation> testArray, trainingArray; private int K; public Algorithm(int K) { this.testArray = Service.parse("data\\test.csv"); this.trainingArray = Service.parse("data\\training.csv"); this.K = K; } // Note:...
ceswer/NAI
k-Nearest-Neighbours/src/Algorithm.java
823
// Note: przejście po wszystkim danym treningowym dla określenia prawdziwego typu każdego z danych testowych
line_comment
pl
import java.util.*; public class Algorithm { private ArrayList<Observation> testArray, trainingArray; private int K; public Algorithm(int K) { this.testArray = Service.parse("data\\test.csv"); this.trainingArray = Service.parse("data\\training.csv"); this.K = K; } // Note:...
32184_0
package com.mycompany.zajecia.players; import java.util.Scanner; public class PlayerHuman extends Player{ private final Scanner scanner = new Scanner(System.in); public PlayerHuman(){} public PlayerHuman(String name){ super(name); //wywołuje konstruktor klasy nadrzędnej, ...
Neot0x/PIO-zajecia
players/PlayerHuman.java
153
//wywołuje konstruktor klasy nadrzędnej, musi być pierszy nad wszystkim
line_comment
pl
package com.mycompany.zajecia.players; import java.util.Scanner; public class PlayerHuman extends Player{ private final Scanner scanner = new Scanner(System.in); public PlayerHuman(){} public PlayerHuman(String name){ super(name); //wywołuje konstruktor <SUF> } ...
32185_0
package com.lorepo.icf.properties; import java.util.ArrayList; import java.util.List; /** * Klasa implementuje bazowe functionalności potrzebne wszystkim property provider * * @author Krzysztof Langner */ public class BasicPropertyProvider implements IPropertyProvider { private List<IProperty> properties = ne...
icplayer/icfoundation
src/main/java/com/lorepo/icf/properties/BasicPropertyProvider.java
584
/** * Klasa implementuje bazowe functionalności potrzebne wszystkim property provider * * @author Krzysztof Langner */
block_comment
pl
package com.lorepo.icf.properties; import java.util.ArrayList; import java.util.List; /** * Klasa implementuje bazowe <SUF>*/ public class BasicPropertyProvider implements IPropertyProvider { private List<IProperty> properties = new ArrayList<IProperty>(); private List<IPropertyListener> propertyListeners = new ...
32186_1
/* * Copyright (C) 2002 - 2024 The Rseslib Contributors * * This file is part of Rseslib. * * Rseslib is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * ...
awojna/Rseslib
src/main/java/rseslib/qmak/UI/iQProjectProperties.java
3,757
/** * <p>Title: Dialog opcji projektu</p> * <p>Description: pokazanie opcji projektu do wy�wietlenia</p> * * @author Krzysiek && Trickster's autors * @version 1.0 */
block_comment
pl
/* * Copyright (C) 2002 - 2024 The Rseslib Contributors * * This file is part of Rseslib. * * Rseslib is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * ...
32186_2
/* * Copyright (C) 2002 - 2024 The Rseslib Contributors * * This file is part of Rseslib. * * Rseslib is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * ...
awojna/Rseslib
src/main/java/rseslib/qmak/UI/iQProjectProperties.java
3,757
// przypisanie wartosci wszystkim potrzebnym kontrolkom
line_comment
pl
/* * Copyright (C) 2002 - 2024 The Rseslib Contributors * * This file is part of Rseslib. * * Rseslib is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * ...
32186_3
/* * Copyright (C) 2002 - 2024 The Rseslib Contributors * * This file is part of Rseslib. * * Rseslib is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * ...
awojna/Rseslib
src/main/java/rseslib/qmak/UI/iQProjectProperties.java
3,757
//TODO: jakies rzeczy zwiazane z nacisnieciem Ok (sprawdzewnie poprawnosci)
line_comment
pl
/* * Copyright (C) 2002 - 2024 The Rseslib Contributors * * This file is part of Rseslib. * * Rseslib is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * ...
32200_1
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
/** * Obsługa świata. worldLogic to główna pętla działania. */
block_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_2
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// klient, który nie wybrał jeszcze swojej roli
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_3
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// obiekt nie kontrolowany przez gracza
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_4
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// wysyłamy pinga co sekunde
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_5
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// czy w ostatniej klatce zmieniła się liczba graczy
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_6
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// jest tutaj używany do budowania broadcastowej wiadomości
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_7
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// lista obiektów do utworzenia przy kolejnej klatce
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_8
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// Ustawiany jako updateBuffer gdy nie ma nic do wysłania
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_9
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// Tutaj jest trzymana wiadomość z updatem
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_10
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// Ogólnego przeznaczenia \\
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_11
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// Utworzenie pojedynczej animacji, nie zapamiętywanej na serwerze (np. eksplozja)
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_12
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// Ta animacja jest przyporządkowana do ID, np. animacja strzału
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_13
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// Tworzy nowego obserwatora
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_14
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// Tworzy nowego entity administratora
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_15
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// Tworzy nowego entity dla nowego połączenia
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_16
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// Tworzy nowego entity dla SOLDATAA!!!!!!
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_17
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// lista z imionami, używana do usunięcia duplikatów
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
32200_18
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/world/TanksWorld.java
6,615
// sprawdza czy podany kolor jest poprawny
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...