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
3993_1
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
/** * Realizacja protokołu po stronie apletu. (wersja druga, która nie korzysta z messageBody) * * @author Macvek * */
block_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_2
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
/** * W przypadku przeładowania bufora, informacja do skryptu o zdarzeniu resetu */
block_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_3
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
// pierwszy argument to nazwa pakietu
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_4
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
// następnie nazwa pola
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_5
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
// i wartość pola
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_6
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
// po zakończeniu pakietu dodajemy znacznik końca
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_7
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
/* * Pakiet kodowany w javascript ma pola messageName i messageParams */
block_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_8
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
// jeżeli nie ma wymaganego pola to ustaw błąd
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_9
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
// wyczyść pola, żeby nie zostało nic po poprzednich obiektach
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_10
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
// Przeszukaj obiekt JS i ustaw odpowiednie wartości dla elementu przejściowego
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_11
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
// Nie znaleziono więcej pól
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_12
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
// Pole zadeklarowane w informacji o pakiecie, ale nie ma go w obiekcie
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_13
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
// ustaw wartość tego pola
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_14
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
// zwróć nazwę pakietu
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_15
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
// Nie używane tutaj, bo rozłączenie jest obsługiwane przez ConnectionManager
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3993_16
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
macvek/Tanks10
src/main/java/tanks10/protocols/TanksProtocolPlainJs2.java
1,114
// zakończono odczytywanie grupy wiadomości, więc wywołaj zapytanie w JS
line_comment
pl
/* This file is part of Tanks10 Project (https://github.com/macvek/Tanks10). Tanks10 Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ver...
3994_3
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/** * Metoda dokonuje ekstrakcji cech z liter. obraz skaluje się i dzieli na * prostokąty równej wielkości. Zlicza się ilość czarnych pikseli w każdym * prostokącie tworząc w ten sposób wektor cech charakterystycznych. * * @param in Obraz wejściowy * @return Wektor cech */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_5
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/* * Obraz zostanie podzielony na kwadraty. W każdym kwadracie zostaną * zliczone czarne piksele. Ilość czarnych pikseli w danym kwadracie będzie * stanowić wektor cech. Pierwiastek z liczby kwadratów musi być liczbą * naturalną */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_6
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//na ile kwadratów podzielić obraz?
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_7
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//konwersja obrazu do tablicy
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_8
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//znalezienie czarnych pikseli w każdym z kwadratów
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_9
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/* * wymalowanie obrazka do sprawka. */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_10
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
// liczbaKwadratow = 4;
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_12
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
// for (int j = 0; j < Math.sqrt(liczbaKwadratow); j++) {
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_25
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
// //konwersja tablicy do obrazu
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_27
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/* * Znalezienie wektora cech. */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_29
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/** * Metoda dokonuje ekstrakcji cech z litery. obraz dzieli się za pomocą linii * pionowych, poziomych i ukośnych na równe części. Za punkty * charakterystyczne uznaje się przecięcia linii z obrazem. * * @param in Obraz wejściowy * @return Wektor cech */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_31
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/* * obraz dzieli się za pomocą linii pionowych, poziomych lub ukośnych na * równe części. Za punkty charakterystyczne uznaje się przecięcia linii z * obrazem. */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_32
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//konwersja obrazu do tablicy. 0 - biały, 1 - czarny
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_33
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/* * Maską będzie tablica o rozmiarach obrazu wejściowego. Osie symetrii * oznaczone będą dwójkami. Pozostałe komórki będą miały wartość zero. * Miejsca przecięcia osi z obrazem (punkty charakterystyczne) będą miały * wartość 3. */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_34
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//dodaję maskę i obraz
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_35
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//redukcja ilości punktów charakterystycznych
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_36
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/* * Wektor cech wyeksportuję w formacie. Trzeba wykomentować, jeśli chce się * eksporotwać obrazek */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_37
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
// * Tym sobie zrobię obrazki do sprawka
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_40
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
// //Przepisujemy tablicę na obraz
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_54
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/** * Przygotowanie litery do ekstrakcji cech. * @param in Obraz wejściowy. * @return Obraz wyjściowy. */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_55
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//długość krawędzi obrazu wyjściowego w px
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_56
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//to zatrzyma operacje przygotowujące literę
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_57
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//ilość iteracji potrzebnych do przygotowania litery
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_58
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//Obcinam białe brzegi
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_59
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//Sprawdzam czy na każdej krawędzi jest przynajmniej jeden czarny piksel
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_60
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
// System.out.println("Ilość iteracji przygotowujących literę do ekstrakcji:"
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_61
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
// + " " + licznik);
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_63
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/** * Metoda do ekstrakcji cech z liter. za punkty charakterystyczne uznaje się * te, które mają mniej lub więcej niż 2 sąsiadów oraz skrajne punkty litery. * Na poniższym obrazku na zielono zaznaczono punkty spełniające warunek * sąsiedztwa, a na czerwono punkty spełniające warunek skrajności. * ...
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_65
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/* * Białe piksele oznaczam jako 0, czarne jako 1, skrajne jako 2, mające * mniej lub więcej niż dwóch sąsiadów jako 3. Najpierw ekstrakcja skrajnych * pikseli. */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_66
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//konwersja obrazu do tablicy
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_68
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//Znajduję współrzędne pikseli mających mniej lub więcej niż 2 sąsiadów
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_69
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//Piksele z listy oznaczam jako 3
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_72
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/* * jeśli dwa punkty leżą w bardzo bliskiej odległości - skleja się je ze * sobą uśredniając ich współrzędne. Korzystam z metody reduction. */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_73
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/* * Wektor cech */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_74
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
// //tym sobie wybiorę co się wyeksportuje jako obrazek
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_77
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
// //Przepisujemy tablicę na obraz
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_96
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/** * Metoda skaluje obrazek do kształtu kwadratowego * * @param in Obraz wejściowy * @param size Długość krawędzi w px * @return Obraz przeskalowany */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_97
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//Obraz wejśćiowy zamieniam na tablicę 0 i 1
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_98
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//Obraz wyjśćiowy zamieniam na tablicę 0
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_99
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//<editor-fold defaultstate="collapsed" desc="Obcięcie białych przestrzeni wokół litery">
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_100
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/** * Metoda obcina białe przestrzenie dookoła litery * * @param in Obraz wejściowy * @return Obraz wyjściowy */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_101
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//malujemy całą literę na biało
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_102
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//<editor-fold defaultstate="collapsed" desc="Redukcja ilości punktów w metodzie sąsiadów.">
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_103
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/** * jeśli dwa punkty leżą w bardzo bliskiej odległości - skleja się je ze sobą * uśredniając ich współrzędne. * * @param in tablica wejściowa * @param liczba liczba do redukcji * @return tablica wyjściowa */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_104
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/* * Promien decyduje o obszarze z jakiego będą redukowane piksele. Np. * promien = 3 oznacza, że piksele z kwadratu o boku 7 (2*3+1) będą * przybliżone jednym pikselem */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_105
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//Robimy obramówkę z białych pikseli
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_106
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//pierwsza współrzędna pozioma, druga pionowa
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_107
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//znal. piksel, więc zostanie wykonana kolejna iteracja
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_109
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//sąsiadów znalezionego piksela dodaję do listy buforowej
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_110
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//Znaleziony piksel oznaczam jako 13
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_111
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//wrzucam współrzędne sąsiadów do listy buforowej
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_112
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/* * wychodzę z podwójnej pętli 'for' szukającej czarnych pikseli w * obrazie */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_113
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
/* * Przeszukujemy dalej otoczenie danego piksela. */
block_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_114
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//sąsiadów piksela dodaje się do listy buforowej.
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_115
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//Znaleziony piksel oznaczam jako 4
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_116
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//wrzucam współrzędne czarnch sąsiadów do listy buforowej
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3994_117
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
hubertgabrys/ocr
src/obrazy/Extraction.java
7,969
//Usuwam piksel z listy buforowej
line_comment
pl
package obrazy; //<editor-fold defaultstate="collapsed" desc="IMPORT"> import java.awt.image.BufferedImage; import java.util.Arrays; import java.util.Deque; import java.util.LinkedList; //</editor-fold> /** * * @author Hubert */ public class Extraction { //<editor-fold defaultstate="collapsed" de...
3995_0
package agh.ics.oop; import java.util.Comparator; import java.util.TreeSet; public class MapBoundary implements IPositionChangeObserver { // To nie jest dobre rozwiązanie, ponieważ mogą być dwa elementy o takich samych koordynatach // W innym rozwiązaniu możemy przechowywać np IWorldMap ale to wymaga sporych...
FIlipHand/AGH_Obiektowe
src/main/java/agh/ics/oop/MapBoundary.java
402
// To nie jest dobre rozwiązanie, ponieważ mogą być dwa elementy o takich samych koordynatach
line_comment
pl
package agh.ics.oop; import java.util.Comparator; import java.util.TreeSet; public class MapBoundary implements IPositionChangeObserver { // To nie <SUF> // W innym rozwiązaniu możemy przechowywać np IWorldMap ale to wymaga sporych modifikacji w kodzie // więc niech będzie na razie tak... private Tre...
3995_1
package agh.ics.oop; import java.util.Comparator; import java.util.TreeSet; public class MapBoundary implements IPositionChangeObserver { // To nie jest dobre rozwiązanie, ponieważ mogą być dwa elementy o takich samych koordynatach // W innym rozwiązaniu możemy przechowywać np IWorldMap ale to wymaga sporych...
FIlipHand/AGH_Obiektowe
src/main/java/agh/ics/oop/MapBoundary.java
402
// W innym rozwiązaniu możemy przechowywać np IWorldMap ale to wymaga sporych modifikacji w kodzie
line_comment
pl
package agh.ics.oop; import java.util.Comparator; import java.util.TreeSet; public class MapBoundary implements IPositionChangeObserver { // To nie jest dobre rozwiązanie, ponieważ mogą być dwa elementy o takich samych koordynatach // W innym <SUF> // więc niech będzie na razie tak... private TreeSet...
3995_2
package agh.ics.oop; import java.util.Comparator; import java.util.TreeSet; public class MapBoundary implements IPositionChangeObserver { // To nie jest dobre rozwiązanie, ponieważ mogą być dwa elementy o takich samych koordynatach // W innym rozwiązaniu możemy przechowywać np IWorldMap ale to wymaga sporych...
FIlipHand/AGH_Obiektowe
src/main/java/agh/ics/oop/MapBoundary.java
402
// więc niech będzie na razie tak...
line_comment
pl
package agh.ics.oop; import java.util.Comparator; import java.util.TreeSet; public class MapBoundary implements IPositionChangeObserver { // To nie jest dobre rozwiązanie, ponieważ mogą być dwa elementy o takich samych koordynatach // W innym rozwiązaniu możemy przechowywać np IWorldMap ale to wymaga sporych...
3996_7
package agh.ics.oop; import agh.ics.oop.model.*; import java.util.ArrayList; import java.util.List; public class World { public static void main(String[] args) { try { List<MoveDirection> moves = OptionsParser.parse(args); // List<Vector2d> animals1 = List.of(new Vector2d(2,2), n...
karmatys8/PO_2023_PT0800_ARMATYS
oolab/src/main/java/agh/ics/oop/World.java
609
// pula wątków jest lepszym pomysłem ponieważ korzystamy z 4 rdzeni (jeżeli są dostępne)
line_comment
pl
package agh.ics.oop; import agh.ics.oop.model.*; import java.util.ArrayList; import java.util.List; public class World { public static void main(String[] args) { try { List<MoveDirection> moves = OptionsParser.parse(args); // List<Vector2d> animals1 = List.of(new Vector2d(2,2), n...
3996_8
package agh.ics.oop; import agh.ics.oop.model.*; import java.util.ArrayList; import java.util.List; public class World { public static void main(String[] args) { try { List<MoveDirection> moves = OptionsParser.parse(args); // List<Vector2d> animals1 = List.of(new Vector2d(2,2), n...
karmatys8/PO_2023_PT0800_ARMATYS
oolab/src/main/java/agh/ics/oop/World.java
609
// więc program będzie się wykonywać około 4 razy szybciej
line_comment
pl
package agh.ics.oop; import agh.ics.oop.model.*; import java.util.ArrayList; import java.util.List; public class World { public static void main(String[] args) { try { List<MoveDirection> moves = OptionsParser.parse(args); // List<Vector2d> animals1 = List.of(new Vector2d(2,2), n...
3997_0
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = n...
Przems0n711/JDK
lessons/3_simple_classes/StudentsTest.java
270
// importy pozwalają na używanie klas z innych pakietów
line_comment
pl
import edu.technischools.java.*; // importy pozwalają <SUF> public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = new Student("Jan", "Kowalski")...
3997_1
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = n...
Przems0n711/JDK
lessons/3_simple_classes/StudentsTest.java
270
// Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny
line_comment
pl
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p <SUF> // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = new Student("Jan", "Kowalski"); // ale klasa student ma już dost...
3997_2
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = n...
Przems0n711/JDK
lessons/3_simple_classes/StudentsTest.java
270
// modyfikator dostępu a jesteśmy w innym pakiecie!
line_comment
pl
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu <SUF> Student s = new Student("Jan", "Kowa...
3997_3
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = n...
Przems0n711/JDK
lessons/3_simple_classes/StudentsTest.java
270
// ale klasa student ma już dostęp publiczny, więc nic nie stoi na
line_comment
pl
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = n...
3997_4
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = n...
Przems0n711/JDK
lessons/3_simple_classes/StudentsTest.java
270
// przeszkodzie żeby ją stworzyć
line_comment
pl
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = n...
3997_5
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = n...
Przems0n711/JDK
lessons/3_simple_classes/StudentsTest.java
270
// ponieważ klasa Student rozszerza klasę Person,
line_comment
pl
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = n...
3997_6
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = n...
Przems0n711/JDK
lessons/3_simple_classes/StudentsTest.java
270
// wszystkie widoczne metody z klasy Person są
line_comment
pl
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = n...
3997_7
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = n...
Przems0n711/JDK
lessons/3_simple_classes/StudentsTest.java
270
// dostępne w klasie Student
line_comment
pl
import edu.technischools.java.*; // importy pozwalają na używanie klas z innych pakietów public class StudentsTest { public static void main(String[] args) { // Person p = new Person() //nie możemy użyć tej klasy, ponieważ ma ona domyślny // modyfikator dostępu a jesteśmy w innym pakiecie! Student s = n...
3998_0
package algorithm; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; /* Question : Kozik pragnie zostać koszykarzem. Po rozmowie z trenerem okazało się, że jest za niski. Kozik jest jednak tak zdeterminowany, że chce spełnić wymagania trenera, nawet jeśli okazałoby s...
jaehyungjeon/AlgorithmNew
algorithm/src/algorithm/BaekJoon_8710.java
498
/* Question : Kozik pragnie zostać koszykarzem. Po rozmowie z trenerem okazało się, że jest za niski. Kozik jest jednak tak zdeterminowany, że chce spełnić wymagania trenera, nawet jeśli okazałoby się to oszustwem. Wpadł więc na genialny pomysł robienia sobie guzów na głowie, aż osiągnie wymagany wzrost. Zauważył, że...
block_comment
pl
package algorithm; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; /* Question : Kozik <SUF>*/ public class BaekJoon_8710 { public static void main(String[] args) throws Exception { // TODO Auto-generated method stub BufferedReader br = new BufferedReader(new...
3999_1
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
slawomirmarczynski/java
udp/src/licensecontrolclient/Program.java
1,650
/** * Program informujący że został uruchomiony. * * @author Sławomir Marczyński */
block_comment
pl
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
3999_2
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
slawomirmarczynski/java
udp/src/licensecontrolclient/Program.java
1,650
/** * Sprawdzanie ważności licencji. * * Sprawdzanie ważności licencji odbywa się przez przesłanie do serwera * prośby o udzielenie odpowiedzi (zgody na uruchomienie programu). * Następnie metoda checkLicense czeka na odpowiedź z serwera, są trzy * możliwości: tak, nie albo brak odpowiedzi...
block_comment
pl
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
3999_3
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
slawomirmarczynski/java
udp/src/licensecontrolclient/Program.java
1,650
// Różne rzeczy mogą się nie udać, np. może nie być możliwe połączenie
line_comment
pl
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
3999_4
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
slawomirmarczynski/java
udp/src/licensecontrolclient/Program.java
1,650
// z serwerem (bo serwer może nie być uruchomiony), może to lub tamto...
line_comment
pl
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
3999_5
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
slawomirmarczynski/java
udp/src/licensecontrolclient/Program.java
1,650
// Dlatego przygotowujemy się na wyjątki - try-catch załatwi sprawę.
line_comment
pl
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
3999_6
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
slawomirmarczynski/java
udp/src/licensecontrolclient/Program.java
1,650
// Protokół UDP przesyła bajty a nie znaki, więc aby przesłać
line_comment
pl
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
3999_7
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
slawomirmarczynski/java
udp/src/licensecontrolclient/Program.java
1,650
// łańcuch znaków trzeba go najpierw zamienić na bajty, ewentualnie
line_comment
pl
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
3999_8
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
slawomirmarczynski/java
udp/src/licensecontrolclient/Program.java
1,650
// wybierając odpowiednie kodowanie znaków.
line_comment
pl
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
3999_9
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
slawomirmarczynski/java
udp/src/licensecontrolclient/Program.java
1,650
// Osobną sprawą jest czy powinniśmy używać łańcuchów znaków,
line_comment
pl
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
3999_10
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
slawomirmarczynski/java
udp/src/licensecontrolclient/Program.java
1,650
// czy też od razu tablic bajtów?
line_comment
pl
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
3999_11
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
slawomirmarczynski/java
udp/src/licensecontrolclient/Program.java
1,650
// To tylko program przykładowy, więc adres serwera jest po prostu
line_comment
pl
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
3999_12
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
slawomirmarczynski/java
udp/src/licensecontrolclient/Program.java
1,650
// ustalony (i to ewentualnie może tak pozostać) oraz jako serwer
line_comment
pl
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
3999_13
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
slawomirmarczynski/java
udp/src/licensecontrolclient/Program.java
1,650
// jest użyty komputer na którym uruchamiany jest program.
line_comment
pl
/* * The MIT License * * Copyright 2022 PI_stanowisko_1. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...