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 |
|---|---|---|---|---|---|---|---|---|
20761_9 | package pl.sdacademy.stream;
import pl.sdacademy.stream.movie.Film;
import java.time.LocalDate;
import java.util.*;
import java.util.stream.Collectors;
public class FilmMain {
public static void main(String[] args) {
List<Film> filmy = Arrays.asList( //nasza biblioteczka filmów jest skromna, ale wiele m... | mikewojtyna/sdacademy-examples | 24_programowanie_funkcyjne/src/main/java/pl/sdacademy/stream/FilmMain.java | 1,553 | //funkcją flatMap w naszym streamie "spłaszczamy" strukturę naszych filmów - nie jest to już lista obiektów zawierających listy aktorów, ale stream zawierający elementy wszystkich list aktorów - jest więc "płaski"- | line_comment | pl | package pl.sdacademy.stream;
import pl.sdacademy.stream.movie.Film;
import java.time.LocalDate;
import java.util.*;
import java.util.stream.Collectors;
public class FilmMain {
public static void main(String[] args) {
List<Film> filmy = Arrays.asList( //nasza biblioteczka filmów jest skromna, ale wiele m... |
20761_10 | package pl.sdacademy.stream;
import pl.sdacademy.stream.movie.Film;
import java.time.LocalDate;
import java.util.*;
import java.util.stream.Collectors;
public class FilmMain {
public static void main(String[] args) {
List<Film> filmy = Arrays.asList( //nasza biblioteczka filmów jest skromna, ale wiele m... | mikewojtyna/sdacademy-examples | 24_programowanie_funkcyjne/src/main/java/pl/sdacademy/stream/FilmMain.java | 1,553 | //aby uniknąć powtórzeń, naszą listę zamieniamy na zbiór - Set | line_comment | pl | package pl.sdacademy.stream;
import pl.sdacademy.stream.movie.Film;
import java.time.LocalDate;
import java.util.*;
import java.util.stream.Collectors;
public class FilmMain {
public static void main(String[] args) {
List<Film> filmy = Arrays.asList( //nasza biblioteczka filmów jest skromna, ale wiele m... |
20761_11 | package pl.sdacademy.stream;
import pl.sdacademy.stream.movie.Film;
import java.time.LocalDate;
import java.util.*;
import java.util.stream.Collectors;
public class FilmMain {
public static void main(String[] args) {
List<Film> filmy = Arrays.asList( //nasza biblioteczka filmów jest skromna, ale wiele m... | mikewojtyna/sdacademy-examples | 24_programowanie_funkcyjne/src/main/java/pl/sdacademy/stream/FilmMain.java | 1,553 | //metodą groupingBy możemy wskazać w jaki sposób chcemy pogrupować obiekty - w naszym przypadku dostaniemy mapę, której kluczami będą reżyserzy, a wartościami listy filmów, które wyreżyserowali | line_comment | pl | package pl.sdacademy.stream;
import pl.sdacademy.stream.movie.Film;
import java.time.LocalDate;
import java.util.*;
import java.util.stream.Collectors;
public class FilmMain {
public static void main(String[] args) {
List<Film> filmy = Arrays.asList( //nasza biblioteczka filmów jest skromna, ale wiele m... |
20761_12 | package pl.sdacademy.stream;
import pl.sdacademy.stream.movie.Film;
import java.time.LocalDate;
import java.util.*;
import java.util.stream.Collectors;
public class FilmMain {
public static void main(String[] args) {
List<Film> filmy = Arrays.asList( //nasza biblioteczka filmów jest skromna, ale wiele m... | mikewojtyna/sdacademy-examples | 24_programowanie_funkcyjne/src/main/java/pl/sdacademy/stream/FilmMain.java | 1,553 | //aby nie modyfikować obiektów oryginalnej listy, tworzymy kopię elementu... | line_comment | pl | package pl.sdacademy.stream;
import pl.sdacademy.stream.movie.Film;
import java.time.LocalDate;
import java.util.*;
import java.util.stream.Collectors;
public class FilmMain {
public static void main(String[] args) {
List<Film> filmy = Arrays.asList( //nasza biblioteczka filmów jest skromna, ale wiele m... |
20761_13 | package pl.sdacademy.stream;
import pl.sdacademy.stream.movie.Film;
import java.time.LocalDate;
import java.util.*;
import java.util.stream.Collectors;
public class FilmMain {
public static void main(String[] args) {
List<Film> filmy = Arrays.asList( //nasza biblioteczka filmów jest skromna, ale wiele m... | mikewojtyna/sdacademy-examples | 24_programowanie_funkcyjne/src/main/java/pl/sdacademy/stream/FilmMain.java | 1,553 | // ...którą to następnie modyfikujemy... | line_comment | pl | package pl.sdacademy.stream;
import pl.sdacademy.stream.movie.Film;
import java.time.LocalDate;
import java.util.*;
import java.util.stream.Collectors;
public class FilmMain {
public static void main(String[] args) {
List<Film> filmy = Arrays.asList( //nasza biblioteczka filmów jest skromna, ale wiele m... |
20761_14 | package pl.sdacademy.stream;
import pl.sdacademy.stream.movie.Film;
import java.time.LocalDate;
import java.util.*;
import java.util.stream.Collectors;
public class FilmMain {
public static void main(String[] args) {
List<Film> filmy = Arrays.asList( //nasza biblioteczka filmów jest skromna, ale wiele m... | mikewojtyna/sdacademy-examples | 24_programowanie_funkcyjne/src/main/java/pl/sdacademy/stream/FilmMain.java | 1,553 | //... i zwracamy jako efekt działania naszej lambdy | line_comment | pl | package pl.sdacademy.stream;
import pl.sdacademy.stream.movie.Film;
import java.time.LocalDate;
import java.util.*;
import java.util.stream.Collectors;
public class FilmMain {
public static void main(String[] args) {
List<Film> filmy = Arrays.asList( //nasza biblioteczka filmów jest skromna, ale wiele m... |
20762_1 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Move mo... | natalia-szymczyk/aries-game | games-src/BoardGame/src/main/java/put/ai/games/game/Board.java | 479 | /**
* Stan planszy
*/ | block_comment | pl | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
<SUF>*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Mo... |
20762_3 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Move mo... | natalia-szymczyk/aries-game | games-src/BoardGame/src/main/java/put/ai/games/game/Board.java | 479 | /**
* Zwraca listę wszystkich ruchów dopuszczalnych w danym układzie planszy Dla wszystkich tych ruchów zachodzi:
* <code>move.getColor()==color</code>.
*/ | block_comment | pl | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Move mo... |
20762_4 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Move mo... | natalia-szymczyk/aries-game | games-src/BoardGame/src/main/java/put/ai/games/game/Board.java | 479 | /**
* Zwraca rozmiar planszy
*/ | block_comment | pl | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Move mo... |
20762_5 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Move mo... | natalia-szymczyk/aries-game | games-src/BoardGame/src/main/java/put/ai/games/game/Board.java | 479 | /**
* Zwraca kolor pionka zajmującego pole o współrzędnych (x,y). Dla niepoprawnych współrzędnych zwracana jest wartość
* odpowiadająca pustemu polu
*/ | block_comment | pl | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Move mo... |
20762_6 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Move mo... | natalia-szymczyk/aries-game | games-src/BoardGame/src/main/java/put/ai/games/game/Board.java | 479 | /**
* Wycofuje ruch move, przywracając planszę do stanu sprzed tego ruchu
*/ | block_comment | pl | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Move mo... |
20762_7 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Move mo... | natalia-szymczyk/aries-game | games-src/BoardGame/src/main/java/put/ai/games/game/Board.java | 479 | /**
* Tworzy dokładną, głęboką kopię tej planszy, która nie współdzieli z nią żadnych obiektów
*/ | block_comment | pl | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Move mo... |
20762_8 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Move mo... | natalia-szymczyk/aries-game | games-src/BoardGame/src/main/java/put/ai/games/game/Board.java | 479 | /**
* Gracz zwyciężający w danym układzie planszy zakladajac, ze najblizszy ruch ma zrobic currentPlayer. null oznacza
* brak zdefiniowanego zwycięzcy (rozgrywka w toku), a EMPTY remis
*/ | block_comment | pl | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package put.ai.games.game;
import java.util.List;
import put.ai.games.game.Player.Color;
/**
* Stan planszy
*/
public interface Board extends Cloneable {
/**
* Zrób ruch move
*/
void doMove(Move mo... |
20764_3 | /*******************************************************************************
* This file is part of the RozkladPKP project.
*
* RozkladPKP 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, ... | KrzysztofT/rozkladpkp-android | src/org/tyszecki/rozkladpkp/DatabaseHelper.java | 2,566 | //TODO: Ograniczenie liczby wywołań openDatabase. | line_comment | pl | /*******************************************************************************
* This file is part of the RozkladPKP project.
*
* RozkladPKP 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, ... |
20764_10 | /*******************************************************************************
* This file is part of the RozkladPKP project.
*
* RozkladPKP 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, ... | KrzysztofT/rozkladpkp-android | src/org/tyszecki/rozkladpkp/DatabaseHelper.java | 2,566 | //getWriteableDatabase nie wywoła onUpgrade kiedy wersja starej bazy będzie równa 0 | line_comment | pl | /*******************************************************************************
* This file is part of the RozkladPKP project.
*
* RozkladPKP 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, ... |
20764_17 | /*******************************************************************************
* This file is part of the RozkladPKP project.
*
* RozkladPKP 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, ... | KrzysztofT/rozkladpkp-android | src/org/tyszecki/rozkladpkp/DatabaseHelper.java | 2,566 | /*
* Te metody utworzono, aby ominąć wewnętrzny mechanizm SQLiteOpenHelpera.
* Metoda onCreate zostałaby wywołana przed skopiowaniem bazy z katalogu assets,
* co sprawiłoby że zmiany przez nią wprowadzone zostałyby cofnięte.
*/ | block_comment | pl | /*******************************************************************************
* This file is part of the RozkladPKP project.
*
* RozkladPKP 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, ... |
20767_0 | public class Gra {
private Gracz[] gracze;
private int stawka;
private int rundyŁącznie = 0;
public Gra(Gracz[] gracze, int stawka) {
this.gracze = gracze;
this.stawka = stawka;
}
public void symuluj() {
while (true) {
for (Gracz gracz : gracze)
... | pixelkubek/PO-kolokwia | 2019/mb/Gra.java | 801 | // Szukamy maksymalną kartę wśród wszytkach kart graczy | line_comment | pl | public class Gra {
private Gracz[] gracze;
private int stawka;
private int rundyŁącznie = 0;
public Gra(Gracz[] gracze, int stawka) {
this.gracze = gracze;
this.stawka = stawka;
}
public void symuluj() {
while (true) {
for (Gracz gracz : gracze)
... |
20768_0 | package com.project.config;
import java.util.Base64;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.web.client.RestClient;
... | Mefunio/project-web-app | src/main/java/com/project/config/SecurityConfig.java | 400 | // adres wstrzykiwany z pliku application.properties | line_comment | pl | package com.project.config;
import java.util.Base64;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.web.client.RestClient;
... |
20768_1 | package com.project.config;
import java.util.Base64;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.web.client.RestClient;
... | Mefunio/project-web-app | src/main/java/com/project/config/SecurityConfig.java | 400 | // nazwa użytkownika wstrzykiwana z pliku application.properties | line_comment | pl | package com.project.config;
import java.util.Base64;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.web.client.RestClient;
... |
20768_2 | package com.project.config;
import java.util.Base64;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.web.client.RestClient;
... | Mefunio/project-web-app | src/main/java/com/project/config/SecurityConfig.java | 400 | // hasło użytkownika wstrzykiwane z pliku application.properties | line_comment | pl | package com.project.config;
import java.util.Base64;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.web.client.RestClient;
... |
20768_3 | package com.project.config;
import java.util.Base64;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.web.client.RestClient;
... | Mefunio/project-web-app | src/main/java/com/project/config/SecurityConfig.java | 400 | // dzięki adnotacji @Bean Spring uruchomi metodę i zarejestruje w kontenerze obiekt przez nią zwrócony, | line_comment | pl | package com.project.config;
import java.util.Base64;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.web.client.RestClient;
... |
20768_4 | package com.project.config;
import java.util.Base64;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.web.client.RestClient;
... | Mefunio/project-web-app | src/main/java/com/project/config/SecurityConfig.java | 400 | // natomiast adnotacja @Autowired i/lub konstruktor użyte w innej klasie spowodują jego wstrzyknięcie | line_comment | pl | package com.project.config;
import java.util.Base64;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.web.client.RestClient;
... |
20770_0 | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... | RobertZagorski/AlcatelChargingServer | src/com/sng/ProfileTable.java | 2,256 | /**Okno pracownicy będzie podzielone na 2 części horyzontalnie*/ | block_comment | pl | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... |
20770_1 | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... | RobertZagorski/AlcatelChargingServer | src/com/sng/ProfileTable.java | 2,256 | /**Górna część okna pracowników*/ | block_comment | pl | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... |
20770_2 | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... | RobertZagorski/AlcatelChargingServer | src/com/sng/ProfileTable.java | 2,256 | /**Dolna część panelu pracowników*/ | block_comment | pl | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... |
20770_3 | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... | RobertZagorski/AlcatelChargingServer | src/com/sng/ProfileTable.java | 2,256 | /**Tablica wyswietlająca dane pobrane z bazy danych (jeszcze nie ma z nią połączenia)*/ | block_comment | pl | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... |
20770_4 | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... | RobertZagorski/AlcatelChargingServer | src/com/sng/ProfileTable.java | 2,256 | /**Tworzenie panelu z klawiszami na dole okienka Pracownicy*/ | block_comment | pl | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... |
20770_5 | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... | RobertZagorski/AlcatelChargingServer | src/com/sng/ProfileTable.java | 2,256 | /**Tworzenie górnego panelu wyświetlającego dane*/ | block_comment | pl | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... |
20770_8 | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... | RobertZagorski/AlcatelChargingServer | src/com/sng/ProfileTable.java | 2,256 | /**Model wyświetlanej tablicy. Najważniejsze są dane {@link data}} oraz {@link columnNames}*/ | block_comment | pl | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... |
20770_9 | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... | RobertZagorski/AlcatelChargingServer | src/com/sng/ProfileTable.java | 2,256 | /**Funkcja służąca do uaktualnia nazwa kolumn tabeli*/ | block_comment | pl | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... |
20770_10 | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... | RobertZagorski/AlcatelChargingServer | src/com/sng/ProfileTable.java | 2,256 | /**Funkcja służąca do uaktualniania zawartości tabeli*/ | block_comment | pl | package com.sng;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPan... |
20771_1 | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... | mateusz-dziurdziak/ROCK-Algorithm | src/main/java/pl/dziurdziak/rock/math/ClusterQueue.java | 1,072 | /**
* Wewnętrza kolejka elementów zawierających grupę oraz wartość z nią powiązaną. Uszeregowana malejąco wg wartości
*/ | block_comment | pl | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... |
20771_2 | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... | mateusz-dziurdziak/ROCK-Algorithm | src/main/java/pl/dziurdziak/rock/math/ClusterQueue.java | 1,072 | /**
* @return rozmiar kolejki
*/ | block_comment | pl | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... |
20771_3 | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... | mateusz-dziurdziak/ROCK-Algorithm | src/main/java/pl/dziurdziak/rock/math/ClusterQueue.java | 1,072 | /**
* @return grupę będącą na początku kolejki
* @throws java.lang.IllegalArgumentException gdy kolejka jest pusta
*/ | block_comment | pl | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... |
20771_4 | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... | mateusz-dziurdziak/ROCK-Algorithm | src/main/java/pl/dziurdziak/rock/math/ClusterQueue.java | 1,072 | /**
* @return wartośc powiązaną z grupą będącą na początku kolejki
* @throws java.lang.IllegalArgumentException gdy kolejka jest pusta
*/ | block_comment | pl | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... |
20771_5 | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... | mateusz-dziurdziak/ROCK-Algorithm | src/main/java/pl/dziurdziak/rock/math/ClusterQueue.java | 1,072 | /**
* Dodaje grupę wraz z zadaną wartością
*
* @param cluster grupa
* @param value wartość
*/ | block_comment | pl | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... |
20771_6 | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... | mateusz-dziurdziak/ROCK-Algorithm | src/main/java/pl/dziurdziak/rock/math/ClusterQueue.java | 1,072 | /**
* Usuwa grupę z kolejki
*
* @param cluster grupa
* @return {@code true} jeśli grupa istniała w kolejce, {@code false} wpp
*/ | block_comment | pl | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... |
20771_7 | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... | mateusz-dziurdziak/ROCK-Algorithm | src/main/java/pl/dziurdziak/rock/math/ClusterQueue.java | 1,072 | /**
* Zmienia wartość grup. Jeśli grupy nie ma w kolejce to ją dodaje
*
* @param cluster grupa
* @param value wartość
*/ | block_comment | pl | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... |
20771_8 | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... | mateusz-dziurdziak/ROCK-Algorithm | src/main/java/pl/dziurdziak/rock/math/ClusterQueue.java | 1,072 | /**
* Zwraca informację czy kolejka zawiera grupę
*
* @param cluster grupa
* @return {@code true} jeśli kolejka zawiera grupę, {@code false} wpp
*/ | block_comment | pl | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... |
20771_9 | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... | mateusz-dziurdziak/ROCK-Algorithm | src/main/java/pl/dziurdziak/rock/math/ClusterQueue.java | 1,072 | /**
* @return wszystkie grupy z kolejki
*/ | block_comment | pl | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... |
20771_10 | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... | mateusz-dziurdziak/ROCK-Algorithm | src/main/java/pl/dziurdziak/rock/math/ClusterQueue.java | 1,072 | /**
* Klasa wykoszystywana w wewnętrznej kolejce
* @param <T> typ punktu
*/ | block_comment | pl | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... |
20771_11 | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... | mateusz-dziurdziak/ROCK-Algorithm | src/main/java/pl/dziurdziak/rock/math/ClusterQueue.java | 1,072 | /**
* Wartość elementu
*/ | block_comment | pl | package pl.dziurdziak.rock.math;
import com.google.common.base.Preconditions;
import pl.dziurdziak.rock.dao.Cluster;
import pl.dziurdziak.rock.dao.Point;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Precondition... |
20772_0 | package agh.ics.oop;
import java.util.Comparator;
import java.util.SortedSet;
import java.util.TreeSet;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class MapBoundary implements IPositionChangeObserver {
private SortedSet<PosTypeEntry> positionsX;
private Sorted... | sgfn/miscellaneous | uni/s3_po/src/main/java/agh/ics/oop/MapBoundary.java | 1,083 | // usuń trawę (na wszelki wypadek), jeśli zwierzę z niej zeszło/na nią weszło | line_comment | pl | package agh.ics.oop;
import java.util.Comparator;
import java.util.SortedSet;
import java.util.TreeSet;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class MapBoundary implements IPositionChangeObserver {
private SortedSet<PosTypeEntry> positionsX;
private Sorted... |
20772_1 | package agh.ics.oop;
import java.util.Comparator;
import java.util.SortedSet;
import java.util.TreeSet;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class MapBoundary implements IPositionChangeObserver {
private SortedSet<PosTypeEntry> positionsX;
private Sorted... | sgfn/miscellaneous | uni/s3_po/src/main/java/agh/ics/oop/MapBoundary.java | 1,083 | // trawa nie ma nóg | line_comment | pl | package agh.ics.oop;
import java.util.Comparator;
import java.util.SortedSet;
import java.util.TreeSet;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class MapBoundary implements IPositionChangeObserver {
private SortedSet<PosTypeEntry> positionsX;
private Sorted... |
20773_0 | package efs.task.reflection;
import java.lang.annotation.Annotation;
import java.util.Collection;
import java.util.Collections;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.HashSet;
import java.util.Set;
public class ClassInspector {
/**
... | EPAM-Online-Courses/task-7-zywczak | src/main/java/efs/task/reflection/ClassInspector.java | 1,159 | /**
* Metoda powinna wyszukać we wszystkich zadeklarowanych przez klasę polach te które oznaczone
* są adnotacją podaną jako drugi parametr wywołania tej metody. Wynik powinien zawierać tylko
* unikalne nazwy pól (bez powtórzeń).
*
* @param type klasa (typ) poddawana analizie
* @param annotation... | block_comment | pl | package efs.task.reflection;
import java.lang.annotation.Annotation;
import java.util.Collection;
import java.util.Collections;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.HashSet;
import java.util.Set;
public class ClassInspector {
/**
... |
20773_1 | package efs.task.reflection;
import java.lang.annotation.Annotation;
import java.util.Collection;
import java.util.Collections;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.HashSet;
import java.util.Set;
public class ClassInspector {
/**
... | EPAM-Online-Courses/task-7-zywczak | src/main/java/efs/task/reflection/ClassInspector.java | 1,159 | /**
* Metoda powinna wyszukać wszystkie zadeklarowane bezpośrednio w klasie metody oraz te
* implementowane przez nią pochodzące z interfejsów, które implementuje. Wynik powinien zawierać
* tylko unikalne nazwy metod (bez powtórzeń).
*
* @param type klasa (typ) poddawany analizie
* @return lista zawie... | block_comment | pl | package efs.task.reflection;
import java.lang.annotation.Annotation;
import java.util.Collection;
import java.util.Collections;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.HashSet;
import java.util.Set;
public class ClassInspector {
/**
... |
20773_2 | package efs.task.reflection;
import java.lang.annotation.Annotation;
import java.util.Collection;
import java.util.Collections;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.HashSet;
import java.util.Set;
public class ClassInspector {
/**
... | EPAM-Online-Courses/task-7-zywczak | src/main/java/efs/task/reflection/ClassInspector.java | 1,159 | /**
* Metoda powinna odszukać konstruktor zadeklarowany w podanej klasie który przyjmuje wszystkie
* podane parametry wejściowe. Należy tak przygotować implementację aby nawet w przypadku gdy
* pasujący konstruktor jest prywatny udało się poprawnie utworzyć nową instancję obiektu
* <p>
* Przykładowe użyc... | block_comment | pl | package efs.task.reflection;
import java.lang.annotation.Annotation;
import java.util.Collection;
import java.util.Collections;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.HashSet;
import java.util.Set;
public class ClassInspector {
/**
... |
20774_0 | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... | nkowalik/inzynierka | src/main/java/com/ceg/gui/GUIManageTaskController.java | 2,942 | /**
* Klasa reprezentująca kontroler okna dodawania zadania.
*/ | block_comment | pl | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... |
20774_1 | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... | nkowalik/inzynierka | src/main/java/com/ceg/gui/GUIManageTaskController.java | 2,942 | /**
* Wyświetla okno dodawania zadania.
* @throws IOException
*/ | block_comment | pl | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... |
20774_2 | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... | nkowalik/inzynierka | src/main/java/com/ceg/gui/GUIManageTaskController.java | 2,942 | /**
* Wpisuje do okna edycji zadania kod i polecenie z okna głównego.
* @param task Zadanie pobrane z okna głównego.
*/ | block_comment | pl | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... |
20774_3 | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... | nkowalik/inzynierka | src/main/java/com/ceg/gui/GUIManageTaskController.java | 2,942 | /**
* Aktualizuje tekst polecenia.
* @param content Obiekt klasy Text zawierający informacje o tekście i stanie znaczników.
*/ | block_comment | pl | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... |
20774_4 | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... | nkowalik/inzynierka | src/main/java/com/ceg/gui/GUIManageTaskController.java | 2,942 | /**
* Wpisuje do okna treść polecenia dla wybranego typu zadania.
* @param index Numer wybranego zadania.
*/ | block_comment | pl | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... |
20774_5 | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... | nkowalik/inzynierka | src/main/java/com/ceg/gui/GUIManageTaskController.java | 2,942 | /**
* Ustawia typ wybranego zadania, zmienia nagłówek okna dodawania zadania na odpowiadający wybranemu typowi.
*/ | block_comment | pl | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... |
20774_6 | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... | nkowalik/inzynierka | src/main/java/com/ceg/gui/GUIManageTaskController.java | 2,942 | /**
* Kończy tworzenie zadania w GUI. Tworzy nowy obiekt zadania, uzupełnia jego dane i zapisuje w egzaminie.
* Dodaje nową zakładkę z zadaniem i przełącza sie na nią.
* @param event
* @throws Exception
*/ | block_comment | pl | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... |
20774_7 | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... | nkowalik/inzynierka | src/main/java/com/ceg/gui/GUIManageTaskController.java | 2,942 | /**
* Przywraca pole polecenia po dodawaniu własnego typu zadania
*/ | block_comment | pl | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... |
20774_8 | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... | nkowalik/inzynierka | src/main/java/com/ceg/gui/GUIManageTaskController.java | 2,942 | /**
* Czyści pola znajdujące się w oknie dodawania zadania.
*/ | block_comment | pl | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... |
20774_9 | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... | nkowalik/inzynierka | src/main/java/com/ceg/gui/GUIManageTaskController.java | 2,942 | /**
* Przerywa edycję i zamyka okno dodawania zadania.
* @param event
* @throws Exception
*/ | block_comment | pl | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... |
20774_10 | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... | nkowalik/inzynierka | src/main/java/com/ceg/gui/GUIManageTaskController.java | 2,942 | /**
* Wyświetla okno wyboru pliku i ładuje go po zatwierdzeniu.
*/ | block_comment | pl | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... |
20774_11 | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... | nkowalik/inzynierka | src/main/java/com/ceg/gui/GUIManageTaskController.java | 2,942 | /**
* Laduje plik wybrany w oknie wyboru wpisując jego zawartość w polu CodeArea.
* @param file
* @throws IOException
*/ | block_comment | pl | package com.ceg.gui;
import com.ceg.examContent.*;
import com.ceg.utils.Alerts;
import com.ceg.utils.ContentCssClass;
import com.ceg.utils.FileChooserCreator;
import com.ceg.xml.TaskData;
import com.ceg.xml.TasksLoading;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
im... |
20775_0 | package pulson.hibernate.mapped_superclass;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
@Getter
@Setter
@NoArgsConstructor
@Mapped... | MichalPula/Hibernate | src/main/java/pulson/hibernate/mapped_superclass/Person.java | 286 | //Dziedziczenie pozostaje na poziomie klasy i obiektu. Nie jest widoczne w bazie danych i nie ma na nią wpływu. | line_comment | pl | package pulson.hibernate.mapped_superclass;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
@Getter
@Setter
@NoArgsConstructor
@Mapped... |
20775_1 | package pulson.hibernate.mapped_superclass;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
@Getter
@Setter
@NoArgsConstructor
@Mapped... | MichalPula/Hibernate | src/main/java/pulson/hibernate/mapped_superclass/Person.java | 286 | //Nadklasa person nie jest zapisywana do bazy danych. Jej pola zostaną tylko dołączone do tabel przechowujących rekordy podklas. | line_comment | pl | package pulson.hibernate.mapped_superclass;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
@Getter
@Setter
@NoArgsConstructor
@Mapped... |
20775_2 | package pulson.hibernate.mapped_superclass;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
@Getter
@Setter
@NoArgsConstructor
@Mapped... | MichalPula/Hibernate | src/main/java/pulson/hibernate/mapped_superclass/Person.java | 286 | //W bazie pojawi się tabela employees z kolumnami person_id, person_name i company_name. | line_comment | pl | package pulson.hibernate.mapped_superclass;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
@Getter
@Setter
@NoArgsConstructor
@Mapped... |
20776_0 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Klasa wyświetlająca plansze i umożliwiająca rozgrywkę.
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze <SUF>... |
20776_1 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Konstruktor klasy GameWindow
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_2 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Metoda wczytująca odpowiednie liczby związane z poziomem trudności oraz tworząca odpowiednią liczbę duszków
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_3 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | //to nie powinno sie zdarzyć | line_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_4 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Metoda zamieniająca mapę jako tablicę liczb int na tablicę obiektów MapBlock, które mają rozróżnialne typy
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_5 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Metoda sprawdzająca, czy w miejscu w którym znajduje się pacman jest kulka do zjedzenia lub bonus.
* Jeśli gracz napotka na bonus, na okres pęciu sekund zwiększona zostanie jego szybkość oraz zapewniona będzie nieśmiertelność
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_6 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Metoda obsługująca kolizje postaci z otoczeniem - sprawdzająca czy w kierunku, w którym porusza się postać czeka na nią zderzenie ze ścianą
* @param walker - obiekt klasy Character (pacman lub duszek) dla którego ma zostać sprawodzona kolizja
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_7 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | //zamiana położenia postaci ze współrzędnych całego frame'a na współrzędne mapy [0,20] | line_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_8 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Metoda wprawiająca w ruch obiekty na ekranie
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_9 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Metoda kontrolująca przechodzenie poszczególnych poziomów rozgrywki.
* Gdy gracz ukończy ostatnią planszę, gra zostanie zakończona a tu zostanie obliczony jego wynik
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_10 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Metoda kontrolująca ubywające życia po zderzeniu z duszkami.
* Gdy życia kończą się, gra zostaje przerwana
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_11 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Metoda zatrzymująca czas gry
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_12 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Metoda pozwalająca wyświetlić wiadomość startową na ekranie
* @param g2d - kontekst graficzny
* @param message - treść wiadomości
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_13 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Metoda paintComponent(), tu odbywa się rysowanie graficznych elementów na ekranie
* @param g
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_14 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | //narysowanie wiadomości startowej | line_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_15 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | //rysowanie czasu gry | line_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_16 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | //rysowanie numeru poziomu | line_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_17 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | //rysowanie wskaźnika bonusu | line_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_18 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Metoda wybierająca kierunek kolejnego ruchu duszka po zderzeniu ze ścianą
* @param ghost - wybiera, którego duszka na ekranie ma dotyczyć ruch
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_19 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Metoda pomocnicza sprawdzająca czy dwa obiekty dotykają się, badając ich współrzędne na ekranie.
* @param first - obiekt numer 1
* @param second - obiekt numer 2
* @return wartość typu Boolean mówiąca czy obiekty przekazane jako paramtery dotykają się
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_20 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Klasa obsługująca akcje związane z ruchem Pacmana
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20776_21 | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... | jamajk/pacman | src/prozeman/GameWindow.java | 5,607 | /**
* Klasa obsługująca pozostałe akcje wywołane przez gracza
*/ | block_comment | pl | package prozeman;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* Klasa wyświetlająca plansze i umo... |
20778_2 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //Label info2 = new Label("Parametry należy umieścić w pliku: WCC_PARAMETERS.txt"); | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_3 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //HBox na przyciski | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_4 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //Pole tekstowe - plik wynikowy | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_5 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //Pole tekstowe - plik wejściowy | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_6 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //przycisk wybierz plik wejściowy | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_7 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //Pole tekstowe - plik parametrów | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_8 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //przycisk plik parametrów | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_9 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //HBox na przyciski | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_11 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //HBox na wybranie pliku wejściowego | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_12 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //HBox na wybranie pliku parametrów | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_13 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //Hbox plik wynikowy | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_14 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //przycisk plik parametrów | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_15 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //przycisk plik wejściowy | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_17 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | // przycisk SCV do WCC | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_18 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //Sprawdzam ile jest wyrażeń aby stworzyć odpowiednią tablicę | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
20778_19 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... | jaceksen/parser | src/javafxapplication1/JavaFXApplication1.java | 4,902 | //Pobieram parametry do tablicy | line_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxapplication1;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.