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
22826_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 pl.rcebula.module.modules; import java.util.Arrays; import java.util.List; import java.util.Scanner; import pl.rcebula.interna...
bercik/BIO
impl/bio/src/pl/rcebula/module/modules/IoModule.java
1,207
// sprawdź czy typu string
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 pl.rcebula.module.modules; import java.util.Arrays; import java.util.List; import java.util.Scanner; import pl.rcebula.interna...
22826_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 pl.rcebula.module.modules; import java.util.Arrays; import java.util.List; import java.util.Scanner; import pl.rcebula.interna...
bercik/BIO
impl/bio/src/pl/rcebula/module/modules/IoModule.java
1,207
// wyświetl na ekran
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 pl.rcebula.module.modules; import java.util.Arrays; import java.util.List; import java.util.Scanner; import pl.rcebula.interna...
22826_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 pl.rcebula.module.modules; import java.util.Arrays; import java.util.List; import java.util.Scanner; import pl.rcebula.interna...
bercik/BIO
impl/bio/src/pl/rcebula/module/modules/IoModule.java
1,207
// jeżeli tylko jeden string w input to zwróć jeden element
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 pl.rcebula.module.modules; import java.util.Arrays; import java.util.List; import java.util.Scanner; import pl.rcebula.interna...
22826_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 pl.rcebula.module.modules; import java.util.Arrays; import java.util.List; import java.util.Scanner; import pl.rcebula.interna...
bercik/BIO
impl/bio/src/pl/rcebula/module/modules/IoModule.java
1,207
// inaczej zwróć 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 pl.rcebula.module.modules; import java.util.Arrays; import java.util.List; import java.util.Scanner; import pl.rcebula.interna...
22827_2
package fragments; import android.app.Activity; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; import com.example.filmdrawer...
shahsparx/filmdrawer
app/src/main/java/fragments/FilmFragment.java
727
//w sumie jakieś ruskie wyniki, więc rezygnuję
line_comment
pl
package fragments; import android.app.Activity; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; import com.example.filmdrawer...
22828_0
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
Olamon/pizzaFAP
application/pizzaProject/src/utils/StringUtils.java
1,087
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */
block_comment
pl
/* * Pomocnicze funkcje - <SUF>*/ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.secu...
22828_1
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
Olamon/pizzaFAP
application/pizzaProject/src/utils/StringUtils.java
1,087
// wstawia delimiter między elementy i zwraca jako jeden String
line_comment
pl
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
22828_2
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
Olamon/pizzaFAP
application/pizzaProject/src/utils/StringUtils.java
1,087
// służy do konwersji wyniku zapytania SQL (ResultSet) do kolekcji stringów
line_comment
pl
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
22828_3
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
Olamon/pizzaFAP
application/pizzaProject/src/utils/StringUtils.java
1,087
// w której wiersze są jednym stringiem, z kolumnami rozdzielonymi przecinkiem
line_comment
pl
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
22828_4
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
Olamon/pizzaFAP
application/pizzaProject/src/utils/StringUtils.java
1,087
//do przedstawiania hashy md5 w postaci stringa
line_comment
pl
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
22828_5
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
Olamon/pizzaFAP
application/pizzaProject/src/utils/StringUtils.java
1,087
//jeśli się da, przedstawia łańcuch jako integer, a jeśli nie, zwraca alt
line_comment
pl
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
22828_6
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
Olamon/pizzaFAP
application/pizzaProject/src/utils/StringUtils.java
1,087
//jeśli się da, przedstawia łańcuch jako float, a jeśli nie, zwraca alt
line_comment
pl
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
22828_7
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
Olamon/pizzaFAP
application/pizzaProject/src/utils/StringUtils.java
1,087
//hasło jest zahaszowane przez jakieś MD5, przy logowaniu porównuje się hasz wejścia z tym polem
line_comment
pl
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
22828_8
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
Olamon/pizzaFAP
application/pizzaProject/src/utils/StringUtils.java
1,087
//TODO md5 to zły wybór - służy raczej do obliczania skrótów, niż do szyfrowania
line_comment
pl
/* * Pomocnicze funkcje - joina chyba nie ma we wbudowanych bibliotekach javy */ package utils; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import java.io.UnsupportedEncodingException; imp...
22831_0
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
tymsoncyferki/OptiCar
src/main/java/CarList.java
1,413
// Przefiltrowane i posortowane samochody
line_comment
pl
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
22831_1
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
tymsoncyferki/OptiCar
src/main/java/CarList.java
1,413
// Panel do wyświetlania samochodów
line_comment
pl
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
22831_2
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
tymsoncyferki/OptiCar
src/main/java/CarList.java
1,413
// Dodawanie kolejnych paneli samochodów
line_comment
pl
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
22831_3
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
tymsoncyferki/OptiCar
src/main/java/CarList.java
1,413
// Powrót do poprzedniej strony
line_comment
pl
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
22831_4
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
tymsoncyferki/OptiCar
src/main/java/CarList.java
1,413
// Przejście do kolejnej strony
line_comment
pl
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
22831_5
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
tymsoncyferki/OptiCar
src/main/java/CarList.java
1,413
// Jeśli przed nami są jakieś wygenerowane strony (czyli jeśli się cofaliśmy) przechodzimy dalej,
line_comment
pl
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
22831_6
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
tymsoncyferki/OptiCar
src/main/java/CarList.java
1,413
// wpp tworzymy nową stronę z kolejnymi samochodami
line_comment
pl
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
22831_7
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
tymsoncyferki/OptiCar
src/main/java/CarList.java
1,413
// Powrót do menu
line_comment
pl
import tech.tablesaw.api.Table; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class CarList extends JPanel implements ActionListener { static int listCount = 0; // liczba stron static int listNumber = 0; // ...
22832_0
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
/** * Główna klasa obsługująca wątek służący do pomiar czasu ślizgu * @author mateusz * */
block_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_1
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
// pierwsza fotocela (Start)
line_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_2
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
// druga fotocela (pierwszy pomiar pośredni)
line_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_3
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
// trzecia fotocela (drugi pomiar pośredni)
line_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_4
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
// czwarta fotocela (trzeci pomiar pośredni)
line_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_5
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
// piąta fotocela (pomiar na mecie)
line_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_6
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
/** * Wątek uruchamiany co ~10msec który sprawdza czy nie przyszły nowe dane z chronometru */
block_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_8
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
/* * Wątek chodzi w nieskończonej pętli ze sleep na końcu, co zabezpiecza przed CPU load 100% */
block_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_9
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
/* * Sprawdzenie czy nie wystawiono flagi resetującej maszynę stanu */
block_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_10
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
/* * Sprawdzanie czy z portu szeregowego przyszły jakieś nowe dane */
block_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_11
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
/* * Sekcja krytyczna */
block_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_12
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
/* * Koniec sekcji krytycznej */
block_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_13
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
/* * Parsowanie danych otrzymanych po RSie */
block_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_14
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
/* * Koniec parsowania */
block_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_15
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
/* * Maszyna stanów */
block_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_16
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
// brak break jest tutaj zamierzony
line_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_17
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
// zapisywanie timestampu przejśćia w stane V1_ROTATE czyli czasu startu
line_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_18
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
// zapisywanie timestampu przejśćia w stane V1_ROTATE czyli czasu startu
line_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_19
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
/* * Obliczanie czasów */
block_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22832_20
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/chrono/Chrono.java
3,089
/* * Usypianie wątku na 10msec */
block_comment
pl
package pl.jeleniagora.mks.chrono; import java.time.LocalTime; import java.util.Vector; import static java.time.temporal.ChronoUnit.NANOS; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.events.LandedStateReached; import pl.jeleniagora.mks.exceptions.AppCo...
22835_0
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/events/ChangeCompetition.java
1,804
/** * Statyczna metoda ustawiająca referencję na kontekst aplikacji. Kontekst jest jedynym stanem przechowywanym * wewnątrz klasy. Nie zmienia to jednak faktu, że klasa i jej metody ma dość dużo side-effect * @param context */
block_comment
pl
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
22835_1
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/events/ChangeCompetition.java
1,804
/** * Metoda służy o zmainy aktualnie przeprowadzanej konkurencji, jej użycie powoduje ustawienie również aktualnego ślizgu na * pierwszy niezakończony ślizg z całej konkurencji * @param toThis * @param updateGui Ustawienie na true powoduje że metoda zmieni również konkurencję pokazywaną w CompManagerze * @t...
block_comment
pl
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
22835_3
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/events/ChangeCompetition.java
1,804
/* * Sprawdzenie czy podana na wejściu konkrencja istnieje w ogóle w tych zawodach */
block_comment
pl
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
22835_4
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/events/ChangeCompetition.java
1,804
/* * Przestawianie aktualnej konkurencji */
block_comment
pl
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
22835_5
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/events/ChangeCompetition.java
1,804
/* * Wyszukiwanie pierwszego nie zakończonego ślizgu */
block_comment
pl
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
22835_6
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/events/ChangeCompetition.java
1,804
/* * Jeżeli użytkownik chce się przełączyć na konkurencję która jest już zakończona */
block_comment
pl
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
22835_7
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/events/ChangeCompetition.java
1,804
// sprawdzanie czy aktualny ślizg jest treningiem czy nie
line_comment
pl
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
22835_8
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/events/ChangeCompetition.java
1,804
// sprawdzenie czy aktualny ślizg jest pierwszym punktownm czy kolejnym punktowanym
line_comment
pl
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
22835_9
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/events/ChangeCompetition.java
1,804
/* * Wyszukiwanie pierwszego saneczkarza który jeszcze nie jechał i ustawianie go jako następnego */
block_comment
pl
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
22835_11
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/events/ChangeCompetition.java
1,804
/* * Indeks pod którym w wektorze występuje aktualnie zakończone konkurencja */
block_comment
pl
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
22835_12
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/events/ChangeCompetition.java
1,804
/* * Jeżeli są jeszcze jakieś konkurencje do rozegrania */
block_comment
pl
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
22835_13
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
SP8EBC/MKS_JG
src/pl/jeleniagora/mks/events/ChangeCompetition.java
1,804
/* * Jeżeli nie ma już żadanych konkurencji do rozegrania to */
block_comment
pl
package pl.jeleniagora.mks.events; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import pl.jeleniagora.mks.exceptions.AppContextUninitializedEx; import pl.jeleniagora.mks.exceptions.MissingCompetitionEx; import pl.jeleniagora.mks.exceptions.NoMoreCompetitionsEx; import pl.jeleniago...
22836_0
package pl.crm.app.controllers; import lombok.RequiredArgsConstructor; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import pl.crm.app.domain.DTOs.RealEstateDto; import pl.crm.app.domain.models.RealEstate; import pl.crm.app...
Dragdas/CRM-real-estate-manager
src/main/java/pl/crm/app/controllers/RealEstateController.java
778
//update - delete premis //TODO by krzysiek - przemyśleć zabezpieczenia, kaskadowanie itp
line_comment
pl
package pl.crm.app.controllers; import lombok.RequiredArgsConstructor; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import pl.crm.app.domain.DTOs.RealEstateDto; import pl.crm.app.domain.models.RealEstate; import pl.crm.app...
22836_1
package pl.crm.app.controllers; import lombok.RequiredArgsConstructor; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import pl.crm.app.domain.DTOs.RealEstateDto; import pl.crm.app.domain.models.RealEstate; import pl.crm.app...
Dragdas/CRM-real-estate-manager
src/main/java/pl/crm/app/controllers/RealEstateController.java
778
//delete - niemożliwe jeżeli są jakieś lokale //TODO by krzysiek
line_comment
pl
package pl.crm.app.controllers; import lombok.RequiredArgsConstructor; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import pl.crm.app.domain.DTOs.RealEstateDto; import pl.crm.app.domain.models.RealEstate; import pl.crm.app...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// iterujemy po wszystkich polach struktury
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// jeżeli struktura zawierała jakieś pola
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// obcinamy dwa ostatnie znaki (średnik i spację)
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// sprawdź czy referencje nie są te same
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// sprawdź czy liczby
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// sprawdź czy jedna z nich to nie float
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// sprawdź czy kolekcje
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// porównaj czy rozmiary te same
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_10
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// porównaj wszystkie elementy
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// jeżeli przynajmniej jeden nie jest taki sam to false
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// sprawdź czy typy te same
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// iterujemy po wszystkich wpisach w mapie 1
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// pobieramy element pod tym samym kluczem w mapie 2
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// jeżeli nie istnieje to zwracamy false
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_16
/* * 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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// jeżeli obiekty pod tym samym kluczem nie są równe to false
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// sprawdzamy czy obydwie struktury mają taką samą ilość pól
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22837_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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
bercik/BIO
impl/bio/src/pl/rcebula/module/utils/Datas.java
2,309
// sprawdzamy czy mają pola o tej samej nazwie i czy obiekty pod tymi polami są takie same
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 pl.rcebula.module.utils; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry...
22838_3
import ElementsExtensions.AnimalMovement.AnimalMovement; import Enums.AnimalMovementOptions; import Enums.FoodGrowOptions; import Enums.GenesOptions; import Enums.MapOptions; import Gui.Others.IntEntry; import Gui.Simulation.SimulationView; import Models.SettingsWrapper; import Models.SimulationSettings; import javafx....
psp515/EvolutionGenerator
EvolutionGenerator/src/main/java/App.java
6,063
// jakieś wcześniejsze wartości zanim wklepałem to do JSONa
line_comment
pl
import ElementsExtensions.AnimalMovement.AnimalMovement; import Enums.AnimalMovementOptions; import Enums.FoodGrowOptions; import Enums.GenesOptions; import Enums.MapOptions; import Gui.Others.IntEntry; import Gui.Simulation.SimulationView; import Models.SettingsWrapper; import Models.SimulationSettings; import javafx....
22840_0
package agh.ics.oop; import java.util.HashSet; import java.util.Objects; import java.util.Set; /* w celu zaimplementowania mechanizmu, wykluczającego pojawienie się dwóch zwierząt w tym samym miejscu należy dodać metodę isOccupied(Vector2d vector) sprawdzająca czy w danym miejscu jest już jakieś zwierzę, następnie pr...
wniewiara/Programowanie-Obiektowe
oolab/src/main/java/agh/ics/oop/Animal.java
897
/* w celu zaimplementowania mechanizmu, wykluczającego pojawienie się dwóch zwierząt w tym samym miejscu należy dodać metodę isOccupied(Vector2d vector) sprawdzająca czy w danym miejscu jest już jakieś zwierzę, następnie przy każdej próbie przesunięcia się zwierzęta należy sprawdzać czy może pójść w dane miejsce, jeżel...
block_comment
pl
package agh.ics.oop; import java.util.HashSet; import java.util.Objects; import java.util.Set; /* w celu zaimplementowania <SUF>*/ public class Animal { private MapDirection direction = MapDirection.North; private Vector2d position = new Vector2d(2,2); private final IWorldMap map; private Set<IPositio...
22842_0
package pl.lodz.p.it.ssbd2015.web.context; import java.util.HashMap; import java.util.Map; import java.util.function.Consumer; /** * Wersja {@link Consumer}, która nie musi być zdefiniowana dla wszystkich swoich argumentów. * Metoda akceptująca wykonuje na argumencie działanie odpowiednie dla argumentów jego typu, ...
adamkrol93/eExam
src/main/java/pl/lodz/p/it/ssbd2015/web/context/PartialConsumer.java
1,163
/** * Wersja {@link Consumer}, która nie musi być zdefiniowana dla wszystkich swoich argumentów. * Metoda akceptująca wykonuje na argumencie działanie odpowiednie dla argumentów jego typu, bądź nie robi * nic jeżeli takie działanie nie zostało zdefiniowane. * Zawiera kilka metod ułatwiających łączenie PartialConsum...
block_comment
pl
package pl.lodz.p.it.ssbd2015.web.context; import java.util.HashMap; import java.util.Map; import java.util.function.Consumer; /** * Wersja {@link Consumer}, <SUF>*/ public final class PartialConsumer { public final static PartialConsumer ID = new PartialConsumer(); private final static Consumer idConsumer...
22842_1
package pl.lodz.p.it.ssbd2015.web.context; import java.util.HashMap; import java.util.Map; import java.util.function.Consumer; /** * Wersja {@link Consumer}, która nie musi być zdefiniowana dla wszystkich swoich argumentów. * Metoda akceptująca wykonuje na argumencie działanie odpowiednie dla argumentów jego typu, ...
adamkrol93/eExam
src/main/java/pl/lodz/p/it/ssbd2015/web/context/PartialConsumer.java
1,163
/** * Tworzy PartialConsumera zdefiniowanego dla pojedynczej klasy. * Można potem takich konsumentów połączyć. * @param clazz Klasa, dla której będzie zdefiniowany. * @param action Konsument obiektów takiej klasy. * @param <T> Parametr typu taki jak klasa clazz. * @return PartialConsumer z...
block_comment
pl
package pl.lodz.p.it.ssbd2015.web.context; import java.util.HashMap; import java.util.Map; import java.util.function.Consumer; /** * Wersja {@link Consumer}, która nie musi być zdefiniowana dla wszystkich swoich argumentów. * Metoda akceptująca wykonuje na argumencie działanie odpowiednie dla argumentów jego typu, ...
22842_2
package pl.lodz.p.it.ssbd2015.web.context; import java.util.HashMap; import java.util.Map; import java.util.function.Consumer; /** * Wersja {@link Consumer}, która nie musi być zdefiniowana dla wszystkich swoich argumentów. * Metoda akceptująca wykonuje na argumencie działanie odpowiednie dla argumentów jego typu, ...
adamkrol93/eExam
src/main/java/pl/lodz/p/it/ssbd2015/web/context/PartialConsumer.java
1,163
/** * Wykonuje na obiekcie działanie zdefiniowane dla obiektów jego klasy. * Jeżeli takiego działania nie mamy, nic nie zmienia. * @param t Obiekt do konsumpcji. */
block_comment
pl
package pl.lodz.p.it.ssbd2015.web.context; import java.util.HashMap; import java.util.Map; import java.util.function.Consumer; /** * Wersja {@link Consumer}, która nie musi być zdefiniowana dla wszystkich swoich argumentów. * Metoda akceptująca wykonuje na argumencie działanie odpowiednie dla argumentów jego typu, ...
22842_3
package pl.lodz.p.it.ssbd2015.web.context; import java.util.HashMap; import java.util.Map; import java.util.function.Consumer; /** * Wersja {@link Consumer}, która nie musi być zdefiniowana dla wszystkich swoich argumentów. * Metoda akceptująca wykonuje na argumencie działanie odpowiednie dla argumentów jego typu, ...
adamkrol93/eExam
src/main/java/pl/lodz/p/it/ssbd2015/web/context/PartialConsumer.java
1,163
/** * Sprawdza, czy PartialConsumer jest zdefiniowany dla klasy danego obiektu, tzn. czy wykona jakąś akcję * na nim jakby go przekazać. * @param t Obiekt do konsumpcji. * @return Czy dla obiektu jest zdefiniowane jakieś działanie. */
block_comment
pl
package pl.lodz.p.it.ssbd2015.web.context; import java.util.HashMap; import java.util.Map; import java.util.function.Consumer; /** * Wersja {@link Consumer}, która nie musi być zdefiniowana dla wszystkich swoich argumentów. * Metoda akceptująca wykonuje na argumencie działanie odpowiednie dla argumentów jego typu, ...
22842_4
package pl.lodz.p.it.ssbd2015.web.context; import java.util.HashMap; import java.util.Map; import java.util.function.Consumer; /** * Wersja {@link Consumer}, która nie musi być zdefiniowana dla wszystkich swoich argumentów. * Metoda akceptująca wykonuje na argumencie działanie odpowiednie dla argumentów jego typu, ...
adamkrol93/eExam
src/main/java/pl/lodz/p/it/ssbd2015/web/context/PartialConsumer.java
1,163
/** * Łączy dwóch PartialConsumerów w ten sposób, iż dla obiektów, gdzie pierwszy z nich nie jest zdefiniowany, * zostanie wywołany drugi. Nie modyfikuje tego ani drugiego konsumenta, zwraca nowego. * @param other drugi PartialConsumer * @return PartialConsumer - połączenie pierwszego i drugiego Par...
block_comment
pl
package pl.lodz.p.it.ssbd2015.web.context; import java.util.HashMap; import java.util.Map; import java.util.function.Consumer; /** * Wersja {@link Consumer}, która nie musi być zdefiniowana dla wszystkich swoich argumentów. * Metoda akceptująca wykonuje na argumencie działanie odpowiednie dla argumentów jego typu, ...
22842_5
package pl.lodz.p.it.ssbd2015.web.context; import java.util.HashMap; import java.util.Map; import java.util.function.Consumer; /** * Wersja {@link Consumer}, która nie musi być zdefiniowana dla wszystkich swoich argumentów. * Metoda akceptująca wykonuje na argumencie działanie odpowiednie dla argumentów jego typu, ...
adamkrol93/eExam
src/main/java/pl/lodz/p/it/ssbd2015/web/context/PartialConsumer.java
1,163
/** * Tworzy pełnego Consumera typu T, który ma wszystkie definicje z tego, a we wszystkich pozostałych przypadkach * fallbackuje na konsumenta przekazanego w argumencie. Faworyzowane są definicje PartialConsumera. * @param consumer Konsument obiektów pewnej klasy. * @param <T> Typ dla którego zosta...
block_comment
pl
package pl.lodz.p.it.ssbd2015.web.context; import java.util.HashMap; import java.util.Map; import java.util.function.Consumer; /** * Wersja {@link Consumer}, która nie musi być zdefiniowana dla wszystkich swoich argumentów. * Metoda akceptująca wykonuje na argumencie działanie odpowiednie dla argumentów jego typu, ...
22843_0
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
EnderGed/Heimdallr
Heimdallr/src/com/horn/game/MainActivity.java
2,263
//ustanawianie polaczenia z internetem
line_comment
pl
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
22843_2
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
EnderGed/Heimdallr
Heimdallr/src/com/horn/game/MainActivity.java
2,263
//klawisz do wskazówek
line_comment
pl
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
22843_3
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
EnderGed/Heimdallr
Heimdallr/src/com/horn/game/MainActivity.java
2,263
//klawisz do stawiania bomb
line_comment
pl
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
22843_4
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
EnderGed/Heimdallr
Heimdallr/src/com/horn/game/MainActivity.java
2,263
// sprawdzanie, czy GPS jest wlaczony
line_comment
pl
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
22843_5
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
EnderGed/Heimdallr
Heimdallr/src/com/horn/game/MainActivity.java
2,263
// jesli nie dziala, to popros uzytkownika, zeby wlaczyl GPS
line_comment
pl
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
22843_9
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
EnderGed/Heimdallr
Heimdallr/src/com/horn/game/MainActivity.java
2,263
//wszedłeś w bombę
line_comment
pl
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
22843_10
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
EnderGed/Heimdallr
Heimdallr/src/com/horn/game/MainActivity.java
2,263
//przydałyby się jeszcze jakieś wibracje
line_comment
pl
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
22843_11
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
EnderGed/Heimdallr
Heimdallr/src/com/horn/game/MainActivity.java
2,263
//powinna być minigra
line_comment
pl
package com.horn.game; import java.nio.ByteBuffer; import com.horn.heimdallr.R; import com.horn.heimdallr.TCPClient; import com.horn.heimdallr.tcp; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Gravity; import android.view.LayoutIn...
22844_0
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
MichalBrylka/KotlinStreams
app/src/main/java/Expressions.java
803
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression
line_comment
pl
//oto system <SUF> interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abstract class BinaryExpression implements IExpression { private final IExpression left; private final IExpression right; public BinaryExpression(I...
22844_1
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
MichalBrylka/KotlinStreams
app/src/main/java/Expressions.java
803
//TODO dodaj pozostałe operatory, opcjonalnie także inne typu wyrażeń np. wywołanie funkcji
line_comment
pl
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
22844_2
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
MichalBrylka/KotlinStreams
app/src/main/java/Expressions.java
803
// TODO tu dodasz jakieś operacje na podstawie poniższych zadań
line_comment
pl
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
22844_3
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
MichalBrylka/KotlinStreams
app/src/main/java/Expressions.java
803
//TODO Jest tu 1 wzorzec projektowy który bardziej niż cokolwiek innego tutaj pasuje do problemu. Znajdź go albo zaimplementuj zadanie po swojemu
line_comment
pl
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
22844_4
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
MichalBrylka/KotlinStreams
app/src/main/java/Expressions.java
803
//1. napisz funkcję która zwróci nam zapis wyrażenia (String) w formie "literał OPERATOR literał" np. dla powyższego to będzie "1 + 2 * 3". Jeśli dodasz swoje operacje np. wywołanie funkcji to zaproponuj jak to się będzie formatowało
line_comment
pl
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
22844_5
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
MichalBrylka/KotlinStreams
app/src/main/java/Expressions.java
803
//2. napisz funkcję która zwróci nam zapis wyrażenia (String) w RPN: https://en.wikipedia.org/wiki/Reverse_Polish_notation
line_comment
pl
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
22844_6
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
MichalBrylka/KotlinStreams
app/src/main/java/Expressions.java
803
//3. napisz funkcję która zwróci nam zapis wyrażenia (String) w MathMl: https://en.wikipedia.org/wiki/MathML
line_comment
pl
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
22844_7
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
MichalBrylka/KotlinStreams
app/src/main/java/Expressions.java
803
// Możesz założyć że dzielenie ładnie się zapisuje ułamkami (mfrac). Po prostu ma być ładnie ;-)
line_comment
pl
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
22844_8
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
MichalBrylka/KotlinStreams
app/src/main/java/Expressions.java
803
//4. (dodatkowe) napisz funkcję która zwróci nam zapis wyrażenia w formie obrazu np. może to być bitmapa, dokument PDF (można użyć bibliotek iText lub PdfBox), albo dowolny inny format
line_comment
pl
//oto system w którym obejmujemy abstrakcją dowolne wyrażenia matematyczne. Nie zastanawiaj się jak się je parsuje, tylko załóż, że dane Ci będzie jakaś instancja IExpression interface IExpression { } record Literal(float value) implements IExpression { } enum Operator { PLUS, MINUS, TIMES, DIVIDE, POWER } abst...
22846_0
/** * @author Bardski Grzegorz S20198 */ package zad1; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.ServerSocketChannel; import ...
Barteck197/PJ-TPO-2
src/zad1/ChatServer.java
2,784
/** * @author Bardski Grzegorz S20198 */
block_comment
pl
/** * @author Bardski Grzegorz <SUF>*/ package zad1; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.ServerSocketChannel; import java...
22846_1
/** * @author Bardski Grzegorz S20198 */ package zad1; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.ServerSocketChannel; import ...
Barteck197/PJ-TPO-2
src/zad1/ChatServer.java
2,784
/* * Wymagania konstrukcyjne: * - użycie selektora * - serwer może obsługiwać równolegle wielu klientów, * - ale obsługa żądań klientów odbywa się w jednym wątku */
block_comment
pl
/** * @author Bardski Grzegorz S20198 */ package zad1; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.ServerSocketChannel; import ...