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 |
|---|---|---|---|---|---|---|---|---|
20170_2 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | /**
* Metoda kopiujca zdjęcia do folderu docelowego, odpowiada za utworzenie podfolderów, sortowanie plików i wywołąnie zadania kopiowania.
*
* @param sourceDirectory katalog źródłowy
* @param destinationDirectory katalog docelowy
*/ | block_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_3 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | //Sprawdzamy czy użytkownik podał scieżkę do folderu | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_4 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | //Tworzymy listę plików z wspieranym formatem | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_5 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | //Konwertujemy obiekty typu File na ImageFile | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_6 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | //Sortujemy obiekty typu ImageFile wg daty utworzenia | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_7 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | //Używamy słownika aby przechowywać nazwę podfolderu (data) i liczność | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_8 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | //Sprawdzamy czy istnieje już w folderze docelowym folder z datą (YYYY-MM-DD) | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_9 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | //Tworzymy folder i inkrementujemy słownik | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_10 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | // Dodaj nowy wpis do mapy | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_11 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | //Uwzgledniamy, że folder o tej nazwie już może istnieć stąd metoda getOrDefault | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_12 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | // Inkrementuj wartość w mapie | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_13 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | //Tworzymy zadania kopiowania w oddzielnych wątkach | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_14 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | //Wyswietl komunikat zakonczenia pracy | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_15 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | /***
* Klasa która odpowiada za zamknięcie egzekutora, przed zamknięciem aplikacji
*/ | block_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_16 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | //Zaniechaj przyjmowanie nowych zadań, ale zaczekaj na już działające | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_17 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | //Wymuś zatrzymanie zadań po przekroczeniu limitu | line_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20170_18 | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... | wojtex20/ImageSorter | src/main/java/pl/wit/projekt/imagesorter/controller/ImageSorterController.java | 1,495 | /***
* Metoda pomocnicza, pobiera string z datą i czasem i usuwa z niego czas.
* @param dateTimeString (w formacie 2023-06-02T14:30:00)
* @return string z samą datą (w formacie 2023-06-02)
*/ | block_comment | pl | package pl.wit.projekt.imagesorter.controller;
import pl.wit.projekt.imagesorter.model.ImageFile;
import pl.wit.projekt.imagesorter.thread.ImageCopyTask;
import pl.wit.projekt.imagesorter.util.FileUtils;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ExecutorService;... |
20171_1 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //powiązanie klasy z istniejącym reporyztorium. Obiekty tych klas są zarządzane przez Springa. Skanuje klasy aby znaleźć powiązania. | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_2 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //pod spodem @Controller, niżej @Component. SPRING MA KONTEKST - MIEJSCE, GDZIE ZNAJDUJĄ SIE WSZYSTKIE BEAN'Y. | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_3 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //ta fabryka logów będzie tworzyła logi z klasy taskcontroller | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_4 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //repozytorium na którym działamy. Rezygnujemy ze SpringData.REST. Clean architecture | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_5 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //taskrepository jest Beanem Springowym i zostanie tu wstrzyknięte | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_6 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //dzięki temu co wyżej mamy już dostępne repozytorium i możemy nadpisać metody z @RepositoryRest | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_7 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //nadpisuję mapowanie, informuję że ta metoda powinna być używana zamiast domyślnej. Również adnotacja @RequestMapping ("poziom wyżej") | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_8 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //tutaj przekazuję parametry, dzieki temu widzę metadane w odpowiedzi z serwera (mam controller, stąd to wynika. Repozytorium robi to samo.) | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_9 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //wcześniej miałem <?> i też działało | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_10 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //dostajemy kolekcję wszystkich tasków. Zwrócony obiekt jav'owy. Nie musimy nawet używać adnotacji ResponceEntity, Spring sam zwraca obiekt typu Lista (który dostał w JSON). Abstrakcja @ResponceEntity pozwala nam łatwiej dawać parametry. | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_11 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //nadpisując tą metodę straciliśmy dostęp do danych typu _embedded, _links (a więc tych pozwalających na pisanie API zgodnie z HATEOAS). Aby to odzyskać można skorzystać z projektu Spring HATEOAS | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_12 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //metoda zwracająca listę wszystkich Tasków | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_13 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //przeciążamy metodę. Odpali się, jeśli nie podamy żadnych parametrów. | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_14 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //Pageable to struktura danych Springa, obiekt który pozwala nam na stronicowanie (ctrl + b - do dokumentacji). Spring wstrzykuje obiekty do metod jeśli zmapuje matodę na podstawie rządania http. | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_15 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //z hierarchi wynika, że nasze repozytorium dziedziczy z JPARepository, a ono z PagingAndSortingRepository (która ma metodę findAll()) | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_17 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //id mamy zdefiniowane w adresie | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_18 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //zadziała tak samo jak @Transactional, zostanie zapisane w bazie danych | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_19 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //aspekt. Dla Springa jest to znak, że na początku ma być begin, | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_20 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | // na końcu end, warunek public. Dzięki temu Hibernate zmieni w bazie danych status jak w metodzie (zrobi commit). | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_21 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //jesli adnotacja Transactional, to zawsze metoda publiczna. Jeśli poleci wyjątek (unchecked) to cała transakcja się nie wykona. | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20171_23 | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... | Jacentus/todoapp | src/main/java/todoapp/todoapp/controller/TaskController.java | 1,540 | //dla danego task ustawiamy Done na zaprzeczenie jego aktualnego stanu | line_comment | pl | package todoapp.todoapp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import todoapp.todoapp.model.Task;
import todoapp.todoapp.model.TaskRepository;... |
20172_4 | package co.devfoundry;
public class FlightLeg {
private final String from;
private final String to;
private int price;
private boolean delayed;
private FlightLeg(FlightLegBuilder builder) {
this.from = builder.from;
this.to = builder.to;
this.delayed = builder.delayed;
... | j4sysiak/Preparation | WzorceProjektowe/Kreacyjne/BuilderWithInnerClass3/src/main/java/co/devfoundry/FlightLeg.java | 489 | // nie może być bo from jest final, tak samo to i delayed | line_comment | pl | package co.devfoundry;
public class FlightLeg {
private final String from;
private final String to;
private int price;
private boolean delayed;
private FlightLeg(FlightLegBuilder builder) {
this.from = builder.from;
this.to = builder.to;
this.delayed = builder.delayed;
... |
20172_7 | package co.devfoundry;
public class FlightLeg {
private final String from;
private final String to;
private int price;
private boolean delayed;
private FlightLeg(FlightLegBuilder builder) {
this.from = builder.from;
this.to = builder.to;
this.delayed = builder.delayed;
... | j4sysiak/Preparation | WzorceProjektowe/Kreacyjne/BuilderWithInnerClass3/src/main/java/co/devfoundry/FlightLeg.java | 489 | // price nie jest final więc można go wyciągać stąd: | line_comment | pl | package co.devfoundry;
public class FlightLeg {
private final String from;
private final String to;
private int price;
private boolean delayed;
private FlightLeg(FlightLegBuilder builder) {
this.from = builder.from;
this.to = builder.to;
this.delayed = builder.delayed;
... |
20176_0 | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... | cafebabepl/studia-bigdata-dyplom | src/main/java/org/kozlowscy/studia/bigdata/dyplom/dictionary/CountryDictionaryGenerator.java | 1,043 | /**
* Konstruuje słownik synonimów dla nazw państw w oparciu o listę państw zgodnie ze standardem ISO-3166.
*/ | block_comment | pl | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... |
20176_1 | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... | cafebabepl/studia-bigdata-dyplom | src/main/java/org/kozlowscy/studia/bigdata/dyplom/dictionary/CountryDictionaryGenerator.java | 1,043 | // w nazwach państw występują "," stąd zmiana "domyślnego" separatora | line_comment | pl | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... |
20176_2 | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... | cafebabepl/studia-bigdata-dyplom | src/main/java/org/kozlowscy/studia/bigdata/dyplom/dictionary/CountryDictionaryGenerator.java | 1,043 | /**
* Zwraca pierwszy niepusty element.
*/ | block_comment | pl | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... |
20176_4 | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... | cafebabepl/studia-bigdata-dyplom | src/main/java/org/kozlowscy/studia/bigdata/dyplom/dictionary/CountryDictionaryGenerator.java | 1,043 | /**
* Filtr definicji państw.
*/ | block_comment | pl | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... |
20176_5 | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... | cafebabepl/studia-bigdata-dyplom | src/main/java/org/kozlowscy/studia/bigdata/dyplom/dictionary/CountryDictionaryGenerator.java | 1,043 | // odczyt linii pliku | line_comment | pl | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... |
20176_6 | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... | cafebabepl/studia-bigdata-dyplom | src/main/java/org/kozlowscy/studia/bigdata/dyplom/dictionary/CountryDictionaryGenerator.java | 1,043 | // pominięcie nagłówka pliku | line_comment | pl | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... |
20176_7 | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... | cafebabepl/studia-bigdata-dyplom | src/main/java/org/kozlowscy/studia/bigdata/dyplom/dictionary/CountryDictionaryGenerator.java | 1,043 | // sparsowanie wiersza dla każdego państwa | line_comment | pl | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... |
20176_8 | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... | cafebabepl/studia-bigdata-dyplom | src/main/java/org/kozlowscy/studia/bigdata/dyplom/dictionary/CountryDictionaryGenerator.java | 1,043 | // filtr państw niezależnych | line_comment | pl | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... |
20176_10 | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... | cafebabepl/studia-bigdata-dyplom | src/main/java/org/kozlowscy/studia/bigdata/dyplom/dictionary/CountryDictionaryGenerator.java | 1,043 | // złączenie nazwy państwa i zbioru synonimów | line_comment | pl | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... |
20176_11 | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... | cafebabepl/studia-bigdata-dyplom | src/main/java/org/kozlowscy/studia/bigdata/dyplom/dictionary/CountryDictionaryGenerator.java | 1,043 | // zapis wynikowego słownika | line_comment | pl | package org.kozlowscy.studia.bigdata.dyplom.dictionary;
import com.google.common.base.Joiner;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.jboss.logging.Logger;
import org.kozlowscy.studia.bigdata.dyplom.model.Country;
import org.kozlowscy.studia.bigdata.dyplom.dictio... |
20177_0 | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... | jakubLabendowicz/Study | Term 6/Programowanie aplikacji mobilnych na platforme Android/Projekty/Project 3/app/src/main/java/pl/pollub/projekt3/ZadanieAsynchroniczne.java | 787 | // typ parametrów, postępu, wyniku | line_comment | pl | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... |
20177_1 | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... | jakubLabendowicz/Study | Term 6/Programowanie aplikacji mobilnych na platforme Android/Projekty/Project 3/app/src/main/java/pl/pollub/projekt3/ZadanieAsynchroniczne.java | 787 | //obowiązkowa, wywoływana w osobnym wątku | line_comment | pl | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... |
20177_2 | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... | jakubLabendowicz/Study | Term 6/Programowanie aplikacji mobilnych na platforme Android/Projekty/Project 3/app/src/main/java/pl/pollub/projekt3/ZadanieAsynchroniczne.java | 787 | //odbieranie danych, zamykanie plików i połączenia.. | line_comment | pl | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... |
20177_3 | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... | jakubLabendowicz/Study | Term 6/Programowanie aplikacji mobilnych na platforme Android/Projekty/Project 3/app/src/main/java/pl/pollub/projekt3/ZadanieAsynchroniczne.java | 787 | //w trakcie wykonania zadania można wysłać informację o postępie | line_comment | pl | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... |
20177_6 | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... | jakubLabendowicz/Study | Term 6/Programowanie aplikacji mobilnych na platforme Android/Projekty/Project 3/app/src/main/java/pl/pollub/projekt3/ZadanieAsynchroniczne.java | 787 | //po zakończeniu zadania zwracamy wynik | line_comment | pl | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... |
20177_7 | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... | jakubLabendowicz/Study | Term 6/Programowanie aplikacji mobilnych na platforme Android/Projekty/Project 3/app/src/main/java/pl/pollub/projekt3/ZadanieAsynchroniczne.java | 787 | //opcjonalna, wywoływana w wątku GUI | line_comment | pl | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... |
20177_8 | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... | jakubLabendowicz/Study | Term 6/Programowanie aplikacji mobilnych na platforme Android/Projekty/Project 3/app/src/main/java/pl/pollub/projekt3/ZadanieAsynchroniczne.java | 787 | //aktualizacja informacji o postępie | line_comment | pl | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... |
20177_9 | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... | jakubLabendowicz/Study | Term 6/Programowanie aplikacji mobilnych na platforme Android/Projekty/Project 3/app/src/main/java/pl/pollub/projekt3/ZadanieAsynchroniczne.java | 787 | //opcjonalna wywoływana w wątku GUI | line_comment | pl | package pl.pollub.projekt3;
import android.os.AsyncTask;
import android.os.Environment;
import android.widget.TextView;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.Ma... |
20178_0 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //wskazanie tabelek w kontrolerze ^^, następnie trzeba zainicjować | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_1 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //musimy "nauczyć" naszą tabelkę, co jest na co mapowane - co gdzie ma być wpisane | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_2 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //na koniec pobieramy dane do tabeli | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_3 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //włączamy obsługę dwukliknięcia (metoda edycji) | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_4 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //wskazujemy tabelkę, pozwalamy na edycję tabelki | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_5 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //bierzemy kolumnę,wywoujemy setCellFactory, przekazujemy metodę | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_6 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //dodaje osobę wpisana w pola do tabelki | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_7 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //tworzenie obiektu wraz z wartościami pól | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_8 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //dodanie nowego obiektu do tabelki | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_9 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //czyszczenie wartości w polach | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_10 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //potrzebne, aby nie wywalało wyjątku o ewentualnym braku wiersza | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_11 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //pobieramy do observablelist (ktora przechowuje obiekty Person) | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_13 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //sprawdz co zostało kliknite i przypisz zawartość wiersza | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_14 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //weź wybrana osobę, przejdź sie po wszystkich osobach i jeśli dopasujesz - usuń | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_15 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //wykonaj for each, znajdz wybrana osobe we wszystkich osobach, | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_16 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | // i jesli wybrana osoba bedzie pasowala ze wszystkimi osobami - wywal z listy | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_17 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //tabelka jest pusta - nic nie rób | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_18 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //klikniecie i odczytanie zawartości całego wiersza | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_19 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //sprawdza czy tabela nie jest | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_20 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | // pusta w tym miejscu (np. nagłówek) | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_21 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //tylko pojedyncza komorka zostanie | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_22 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | // zaznaczona po kliknieciu | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_23 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //zaznacza komórkę, którą będziemy klikać | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_24 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //odczytuje coś w rodzaju indeksu (pozycji komórki) tabeli. Na końcu '0', | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_25 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | // ponieważ odczytuje tylko 1 wiersz | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_26 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //pobieramy numer wiersza | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_27 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //odkrywamy co sie kryje pod numerem wiersza | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_28 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //sięgnij po dane, ale z konkretnego wiersza i przypisujemy do osoby numer | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_29 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //bierzemy z pozycji kolumnę | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_30 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //z przecięcia kolumny i wiersza odczytujemy wartość (obiektu - Person) | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_31 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | // i wrzucamy do łańcucha, przypisanie do zmiennej | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_32 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //nasza "baza danych" - póki nie znamy baz | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_33 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //obsługa podwójnego klinięcia i edycji komórki | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_34 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //zwraca obiekt (osobę) | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_35 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //odbieramy event, to nowa wartość i rzutujemy na String | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_36 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //dodajemy funkcjonalność, wypisuje w konsoli tabelę/wiersz po zmianie | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_37 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //dodajemy funkcjonalność, wypisuje w konsoli tabelę/wiersz po zmianie | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_38 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //teraz chciałbym osoby po zmianie wyświetlić | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_39 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //tutaj można dodać zapis do pliku. ale w tym przykładzie pokazujemy WSZYSTKIE wyniki (stąd FOR) | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_40 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //musi być argument, bo już nie chcemy całości przeszukiwać | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_41 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //metoda wywołująca okno, abyśmy mogli przesłać tam dane | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
20178_42 | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... | LukasMod/ElementaryJavaFX | src/Main4/MainWindowController4.java | 2,887 | //najpierw odbieramy numer wiersza klikniety w tabelce | line_comment | pl | package Main4;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.