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 |
|---|---|---|---|---|---|---|---|---|
6543_4 | package SERWER_S;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.io.ObjectOutputStream;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Base64;
import java.util.Scanner;
import java.util.StringTokenizer;
... | osinD/Needham-Schroeder-Protocol-Java | src/SERWER_S/S.java | 1,850 | /*
* Przygotowujemy przesłany SecretKey myDesABkey = tekst przez A do zaszyfrowania
*/ | block_comment | pl | package SERWER_S;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.io.ObjectOutputStream;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Base64;
import java.util.Scanner;
import java.util.StringTokenizer;
... |
6543_5 | package SERWER_S;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.io.ObjectOutputStream;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Base64;
import java.util.Scanner;
import java.util.StringTokenizer;
... | osinD/Needham-Schroeder-Protocol-Java | src/SERWER_S/S.java | 1,850 | /*
* Wywołujemy funkcje szyfrującą {Kab,A} kluczem Bs
*/ | block_comment | pl | package SERWER_S;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.io.ObjectOutputStream;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Base64;
import java.util.Scanner;
import java.util.StringTokenizer;
... |
6543_6 | package SERWER_S;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.io.ObjectOutputStream;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Base64;
import java.util.Scanner;
import java.util.StringTokenizer;
... | osinD/Needham-Schroeder-Protocol-Java | src/SERWER_S/S.java | 1,850 | /*
* Metoda zwracająca klucz AB w postaci stringa
*/ | block_comment | pl | package SERWER_S;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.io.ObjectOutputStream;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Base64;
import java.util.Scanner;
import java.util.StringTokenizer;
... |
6543_7 | package SERWER_S;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.io.ObjectOutputStream;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Base64;
import java.util.Scanner;
import java.util.StringTokenizer;
... | osinD/Needham-Schroeder-Protocol-Java | src/SERWER_S/S.java | 1,850 | /*
* Metoda kodująca całą wiadomość przestłanie z A->S
*/ | block_comment | pl | package SERWER_S;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.io.ObjectOutputStream;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Base64;
import java.util.Scanner;
import java.util.StringTokenizer;
... |
6543_9 | package SERWER_S;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.io.ObjectOutputStream;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Base64;
import java.util.Scanner;
import java.util.StringTokenizer;
... | osinD/Needham-Schroeder-Protocol-Java | src/SERWER_S/S.java | 1,850 | /*
* Próbujemy przeslac dwuwymiarową tablicę bajtów
*
*/ | block_comment | pl | package SERWER_S;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.io.ObjectOutputStream;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Base64;
import java.util.Scanner;
import java.util.StringTokenizer;
... |
6543_10 | package SERWER_S;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.io.ObjectOutputStream;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Base64;
import java.util.Scanner;
import java.util.StringTokenizer;
... | osinD/Needham-Schroeder-Protocol-Java | src/SERWER_S/S.java | 1,850 | /*
* Szyfrujemy część do odszyfrowania potem przez stronę B w komunikacji A ->B
* {Kab,A}Kbs
*/ | block_comment | pl | package SERWER_S;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.io.ObjectOutputStream;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Base64;
import java.util.Scanner;
import java.util.StringTokenizer;
... |
6547_0 | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... | snitsweb/Paint.Java | OneEllipse.java | 380 | /** Klasa do tworzenia koła */ | block_comment | pl | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia <SUF>*/
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... |
6547_1 | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... | snitsweb/Paint.Java | OneEllipse.java | 380 | /** Zmienna z kolorem */ | block_comment | pl | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem <SUF>*/
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
... |
6547_2 | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... | snitsweb/Paint.Java | OneEllipse.java | 380 | /** Zmienna, co wkazuje na szubkość modyfikacji figury */ | block_comment | pl | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje <SUF>*/
private double SCALE = 0.1;
/** Kostuktor klasy */
public OneEllipse(float x, f... |
6547_3 | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... | snitsweb/Paint.Java | OneEllipse.java | 380 | /** Metoda, która sprawdza, czy kliknięcie było nad kołem */ | block_comment | pl | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... |
6547_4 | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... | snitsweb/Paint.Java | OneEllipse.java | 380 | /** Metoda zmieniająca współrzędna x*/ | block_comment | pl | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... |
6547_5 | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... | snitsweb/Paint.Java | OneEllipse.java | 380 | /** Metoda zmieniająca współrzędma y */ | block_comment | pl | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... |
6547_6 | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... | snitsweb/Paint.Java | OneEllipse.java | 380 | /** Metoda zmieniająca szerokość */ | block_comment | pl | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... |
6547_7 | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... | snitsweb/Paint.Java | OneEllipse.java | 380 | /** Metoda zmieniająca wysokość */ | block_comment | pl | import java.awt.Color;
import java.awt.geom.Ellipse2D;
/** Klasa do tworzenia koła */
public class OneEllipse extends Ellipse2D.Float {
/** Zmienna z kolorem */
public Color color;
/** Zmienna, co wkazuje na szubkość modyfikacji figury */
private double SCALE = 0.1;
/** Kostuktor klasy */
pu... |
6548_0 | package org.iesparser.main;
public final class Main {
/**
* Klasa main - zrobiona tak, żeby była - żeby projekt dało się uruchomić i
* było widać jak coś działa.
*
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
// napisać j... | rzeszut/iesparser | src/main/java/org/iesparser/main/Main.java | 148 | /**
* Klasa main - zrobiona tak, żeby była - żeby projekt dało się uruchomić i
* było widać jak coś działa.
*
* @param args
*/ | block_comment | pl | package org.iesparser.main;
public final class Main {
/**
* Klasa main - <SUF>*/
public static void main(String[] args) {
// TODO Auto-generated method stub
// napisać jakąś zawartość
// mozna skorzystac z apache commons-cli do parsowania parametrow z
// linii komend
}... |
6548_2 | package org.iesparser.main;
public final class Main {
/**
* Klasa main - zrobiona tak, żeby była - żeby projekt dało się uruchomić i
* było widać jak coś działa.
*
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
// napisać j... | rzeszut/iesparser | src/main/java/org/iesparser/main/Main.java | 148 | // napisać jakąś zawartość | line_comment | pl | package org.iesparser.main;
public final class Main {
/**
* Klasa main - zrobiona tak, żeby była - żeby projekt dało się uruchomić i
* było widać jak coś działa.
*
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
// napisać j... |
6548_3 | package org.iesparser.main;
public final class Main {
/**
* Klasa main - zrobiona tak, żeby była - żeby projekt dało się uruchomić i
* było widać jak coś działa.
*
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
// napisać j... | rzeszut/iesparser | src/main/java/org/iesparser/main/Main.java | 148 | // mozna skorzystac z apache commons-cli do parsowania parametrow z | line_comment | pl | package org.iesparser.main;
public final class Main {
/**
* Klasa main - zrobiona tak, żeby była - żeby projekt dało się uruchomić i
* było widać jak coś działa.
*
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
// napisać j... |
6550_0 | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... | snitsweb/Paint.Java | OneTriangle.java | 747 | /** Klasa do tworzenia trójkąta */ | block_comment | pl | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia <SUF>*/
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = new ... |
6550_1 | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... | snitsweb/Paint.Java | OneTriangle.java | 747 | /** Objekt tworżący trójkąt */ | block_comment | pl | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt <SUF>*/
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[]... |
6550_2 | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... | snitsweb/Paint.Java | OneTriangle.java | 747 | /** Tablica przyhowująca współrzędne trójkąta*/ | block_comment | pl | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne <SUF>*/
public double points[][] = new... |
6550_3 | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... | snitsweb/Paint.Java | OneTriangle.java | 747 | /** Zmienna z kolorem */ | block_comment | pl | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... |
6550_4 | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... | snitsweb/Paint.Java | OneTriangle.java | 747 | /** Zmienna, co wkazuje na szubkość modyfikacji figury */ | block_comment | pl | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... |
6550_5 | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... | snitsweb/Paint.Java | OneTriangle.java | 747 | /** Metoda tworząca trójkąt z współrzędnuch wierzchołków trójkąt */ | block_comment | pl | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... |
6550_6 | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... | snitsweb/Paint.Java | OneTriangle.java | 747 | /** Metoda, która sprawdza, czy kliknięcie było nad trójkątem */ | block_comment | pl | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... |
6550_7 | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... | snitsweb/Paint.Java | OneTriangle.java | 747 | /** Metoda zmieniająca współrzędna x*/ | block_comment | pl | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... |
6550_8 | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... | snitsweb/Paint.Java | OneTriangle.java | 747 | /** Metoda zmieniająca współrzędma y */ | block_comment | pl | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... |
6550_9 | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... | snitsweb/Paint.Java | OneTriangle.java | 747 | /** Metoda zmieniająca rozmiar */ | block_comment | pl | import java.awt.*;
import java.awt.geom.GeneralPath;
import java.io.Serializable;
/** Klasa do tworzenia trójkąta */
public class OneTriangle implements Serializable{
/** Objekt tworżący trójkąt */
public GeneralPath trojkat;
/** Tablica przyhowująca współrzędne trójkąta*/
public double points[][] = ... |
6551_0 | /* Napisz klasę SolidFilledPolygon dziedziczącą po Polygon. Klasa powinna
posiadać prywatne pole String color ustawiane, obok tablicy punktów, w
konstruktorze. Przemodeluj funkcję toSvg w interfejsie Shape tak, aby możliwe
było przekazanie jej parametru typu String, który zostanie umieszczony w tagu
rysowanego obiektu.... | pmkosela/programowanie_obiektowe_lab | lab3/src/SolidFilledPolygon.java | 361 | /* Napisz klasę SolidFilledPolygon dziedziczącą po Polygon. Klasa powinna
posiadać prywatne pole String color ustawiane, obok tablicy punktów, w
konstruktorze. Przemodeluj funkcję toSvg w interfejsie Shape tak, aby możliwe
było przekazanie jej parametru typu String, który zostanie umieszczony w tagu
rysowanego obiektu.... | block_comment | pl | /* Napisz klasę SolidFilledPolygon <SUF>*/
public class SolidFilledPolygon extends Polygon {
private String color;
public SolidFilledPolygon(Vec2[] points, String color) {
super(points);
this.color = color;
}
@Override
public String toSvg(String parameters){
String output = ... |
6552_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 version.... | macvek/Tanks10 | src/main/java/tanks10/world/entity/God.java | 546 | /* God jest to entity które jest adminem systemu.
* Żeby było przypisane do połaczenia
* Wszystkie operacje są wykonywane przez setAttribute i getAttribute
*/ | 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 version.... |
6553_0 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | /**
* Wszytskie czesci robota patrolujacego zlozone razem
*/ | block_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_1 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // pilot do sterowania ruchu robota | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_2 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // to nasza podstawowa czynnosc. | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_4 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // czekaj aż dojedziesz | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_5 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // albo dojechałeś, albo zaczął się atak: zatrzymaj silniki | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_6 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // jeśli nie było akcji ataku, to możesz zawrócić | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_7 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // rozpocznij akcje ataku gdy intruz w zasiegu | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_8 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // sprawdz czy wykrywasz intruza | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_9 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // jesli TAK: ostrzez dzwiekiem | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_10 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // poczekaj 3 sekundy | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_11 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // sprawdz czy nadal wykrywasz intruza | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_12 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // jesli TAK: ostrzelaj dzialkiem | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_13 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // jesli NIE: wylacz dzialko | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_14 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | /**
* glowny blok programu
*/ | block_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_15 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // przygotuj akcje robota | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_16 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // specjalny koordynator akcji | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6553_17 | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... | RoboCap/mindstorms | leJOS/workspace/NXTTest/src/pl/robocap/RobotStroz.java | 1,241 | // poczekaj na naciśnięcie jakiegokolwiek przycisku | line_comment | pl | package pl.robocap;
import lejos.nxt.Button;
import lejos.nxt.ColorSensor;
import lejos.nxt.LCD;
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.Sound;
import lejos.nxt.UltrasonicSensor;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.subsumption.Arbitrator;
import lejos... |
6554_0 | import java.util.Map;
/**
* Interfejs sklepu. Wszyskie metody mogą być wywoływane współbieżnie. Metoda
* delivery jako jedyna może doprowadzić to zablokowania pracy wywołującego ją
* wątku (stan wątku WAITING). Pozostałe metody muszą dać się wywołać pomimo
* istniejących zablokowanych wątków oczekujących na zakońc... | bestemic/Jezyk_Java_2021-2022 | zad8/src/ShopInterface.java | 756 | /**
* Interfejs sklepu. Wszyskie metody mogą być wywoływane współbieżnie. Metoda
* delivery jako jedyna może doprowadzić to zablokowania pracy wywołującego ją
* wątku (stan wątku WAITING). Pozostałe metody muszą dać się wywołać pomimo
* istniejących zablokowanych wątków oczekujących na zakończenie metody
* purchas... | block_comment | pl | import java.util.Map;
/**
* Interfejs sklepu. Wszyskie <SUF>*/
public interface ShopInterface {
/**
* Dostawa dóbr do sklepu. Dostawa opisana jest w postaci mapy. Kluczem jest
* nazwa dostarczonego produktu, wartością ilość dostarczonych sztuk. Efektem
* ubocznym metody jest zakończenie oczekiwania wszystkich ... |
6554_1 | import java.util.Map;
/**
* Interfejs sklepu. Wszyskie metody mogą być wywoływane współbieżnie. Metoda
* delivery jako jedyna może doprowadzić to zablokowania pracy wywołującego ją
* wątku (stan wątku WAITING). Pozostałe metody muszą dać się wywołać pomimo
* istniejących zablokowanych wątków oczekujących na zakońc... | bestemic/Jezyk_Java_2021-2022 | zad8/src/ShopInterface.java | 756 | /**
* Dostawa dóbr do sklepu. Dostawa opisana jest w postaci mapy. Kluczem jest
* nazwa dostarczonego produktu, wartością ilość dostarczonych sztuk. Efektem
* ubocznym metody jest zakończenie oczekiwania wszystkich tych wątków, które
* wywołały metodę purchase dla towaru, którego nie było w sklepie w
* wystar... | block_comment | pl | import java.util.Map;
/**
* Interfejs sklepu. Wszyskie metody mogą być wywoływane współbieżnie. Metoda
* delivery jako jedyna może doprowadzić to zablokowania pracy wywołującego ją
* wątku (stan wątku WAITING). Pozostałe metody muszą dać się wywołać pomimo
* istniejących zablokowanych wątków oczekujących na zakońc... |
6554_2 | import java.util.Map;
/**
* Interfejs sklepu. Wszyskie metody mogą być wywoływane współbieżnie. Metoda
* delivery jako jedyna może doprowadzić to zablokowania pracy wywołującego ją
* wątku (stan wątku WAITING). Pozostałe metody muszą dać się wywołać pomimo
* istniejących zablokowanych wątków oczekujących na zakońc... | bestemic/Jezyk_Java_2021-2022 | zad8/src/ShopInterface.java | 756 | /**
* Zakup towaru o podanej nazwie (productName) w liczbie quantity sztuk. W
* przypadku braku takiego towaru lub braku odpowiedniej ilości sztuk towaru
* wątek, który wywołał metodę jest blokowany do czasu dostawy zawierającej ten
* produkt. Jeśli sklep posiada na stanie odpowiednią ilość sztuk towaru zakup
... | block_comment | pl | import java.util.Map;
/**
* Interfejs sklepu. Wszyskie metody mogą być wywoływane współbieżnie. Metoda
* delivery jako jedyna może doprowadzić to zablokowania pracy wywołującego ją
* wątku (stan wątku WAITING). Pozostałe metody muszą dać się wywołać pomimo
* istniejących zablokowanych wątków oczekujących na zakońc... |
6554_3 | import java.util.Map;
/**
* Interfejs sklepu. Wszyskie metody mogą być wywoływane współbieżnie. Metoda
* delivery jako jedyna może doprowadzić to zablokowania pracy wywołującego ją
* wątku (stan wątku WAITING). Pozostałe metody muszą dać się wywołać pomimo
* istniejących zablokowanych wątków oczekujących na zakońc... | bestemic/Jezyk_Java_2021-2022 | zad8/src/ShopInterface.java | 756 | /**
* Aktualny stan magazynu. Mapa zawiera informacje o wszystkich towarach, które
* zostały dostarczone do sklepu, nawet jeśli w magazynie nie ma ani jednej
* sztuki danego towaru (wszystkie zostały sprzedane). Kluczem jest nazwa
* towaru, wartością aktualna liczba szuk towaru w magazynie sklepu.
*
* @ret... | block_comment | pl | import java.util.Map;
/**
* Interfejs sklepu. Wszyskie metody mogą być wywoływane współbieżnie. Metoda
* delivery jako jedyna może doprowadzić to zablokowania pracy wywołującego ją
* wątku (stan wątku WAITING). Pozostałe metody muszą dać się wywołać pomimo
* istniejących zablokowanych wątków oczekujących na zakońc... |
6556_1 | import javax.swing.SwingUtilities;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
Biblioteka bib = new Biblioteka();
bib.dodajCzytelnika(new Czytelnik("Jan", "Kowalski",... | drezew/gui-2 | Main.java | 589 | /* 1 Rozbuduj przykładowy system o następujące elementy:
1.1 Dodawanie książek.
1.2 Usuwanie czytelników.
1.3 Usuwanie książek.
1.4 Zwrot książki.
1.5 Wyświetlanie informacji o koncie czytelnika (o wypożyczonych przez niego książkach).
1.6 Wyświetlanie informacji o ksi... | block_comment | pl | import javax.swing.SwingUtilities;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
Biblioteka bib = new Biblioteka();
bib.dodajCzytelnika(new Czytelnik("Jan", "Kowalski",... |
6557_1 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // UWAGA: komentarze po dwóch ukośnikach są - w tym konkretnym projekcie
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_2 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // - przeznaczone dla uczących się programowania i omawiają rzeczy
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_3 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // zupełnie oczywiste. W "normalnych programach" nie byłoby ich wcale.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_4 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // Nazwa pakietu zasadniczo powinna być odwróconą nazwą domeny, czyli jeżeli
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_5 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // mamy zarejestrowaną domenę misie.pl (i adres e-mail Jan.Kowalski@misie.pl)
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_6 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // to sugerowana nazwa pakietu to pl.misie.calculator. Dlaczego? Aby nasz (ten
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_7 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // który właśnie tworzymy) pakiet miał nazwę zupełnie różną niż nazwa jakiego-
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_8 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // kolwiek innego pakietu na świecie. A jeżeli nie mamy własnej (albo firmowej)
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_9 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // domeny? No cóż, możemy nazwać nasz pakiet w jakiś inny, sensowny sposób.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_10 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // Dobrze byłoby jednak unikać nazwy java, javax... i ogólniej nazw jakie są
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_11 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // używane/zarezerwowane dla standardowych bibliotek Javy.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_12 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // Importowanie klasy Scanner dedykowanej do usprawnienia czytania tekstów
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_13 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // będących ciągami znaków. Jest to duże ułatwienie, którego nie było pierwotnie
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_14 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | /**
* Program demonstrujący współdziałanie klas/obiektów w języku Java: oblicznane
* są wartości wyrażeń takich jak 2+3, -5*+6E+2, 9/0 itp.
*
* @author Sławomir Marczyński
*/ | block_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_15 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | /**
* Informacje wyświetlane na konsoli wprowadzające w sposób użycia programu.
*/ | block_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_16 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // W programowaniu obiektowym (OOP) przyjęto nazywać metodami te funkcje
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_17 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // i procedury które są definiowane dla określonej klasy i obiektów tej
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_18 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // klasy. Miało to sens w C++, w którym to języku programowania potrzebne
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_19 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // może być rozróżnienie pomiędzy "zwykłymi funkcjami" i "funkcjami jakie są
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_20 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // w klasach". (Osobną sprawą są subtelne różnice w znaczeniu słowa
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_21 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // "funkcja" w matematyce i informatyce.)
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_22 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // Metoda intro() jest prywatna, bo z założenia będzie wywoływana wewnątrz
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_23 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // klasy Calculator i stosujemy zasadę minimalnego uprzywilejowania (PoLP).
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_24 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // W uproszczeniu: blokujemy wpływ intro() na to na co nie jest celem i nie
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_25 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // jest potrzebne do prawidłowego działania tejże intro().
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_26 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // Metoda intro() musi być statyczna jeżeli ma być wywoływana przez
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_27 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // statyczną klasę main. To że jest statyczna nie jest niczym złym,
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_28 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // ale niesie konsekwencje i jest niekiedy krępujące: nie można używać this,
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_29 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // statyczna funkcja może używać tylko statycznych składowych klasy, są
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_30 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // problemy związane z wielowątkowością.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_31 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // System.out jest po prostu obiektem reprezentującym strumień systemowy
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_32 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // stdout. Strumienie stderr i stdin to odpowiednio System.err oraz
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_33 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // System.in. Metoda println po prostu stara się wypisać wszystko co da
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_34 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // się jakoś przekształcić na łańcuch znaków, w tym oczywiście same
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_35 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // łańcuchy znaków też. Od metody print - czyli println-bez-ln - różni
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_36 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // ją to że po wypisaniu dodaje jeszcze znaki oznaczające koniec linii.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_37 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // Dla dociekliwych: czy można to zrobić lepiej/inaczej? Z pewnością.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_38 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // Na przykład zamiast wywoływać czterokrotnie metodę println() można
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_39 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // byłoby od razu wypisać cały tekst. Czy znacząco usprawniłoby to
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_40 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // działanie programu? Wątpliwe. Zmiana prędkości działania byłaby
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_41 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // niezauważalna, rozmiar program też zmieniłby się nieznacznie.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_42 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // Zaplątalibyśmy się w szczegóły które zupełnie nie są istotne dla
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_43 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // ogólnej jakości programu.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_44 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | /**
* Początek, stąd zaczyna się wykonanie programu.
*
* @param args argumenty wywołania programu (nie używane)
*/ | block_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_45 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // Dlaczego main musi być public?
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_46 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // Bo musi wywołać się z zewnątrz, musi być widoczna nie tylko wewnątrz
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_47 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // pakietu w którym jest zdefiniowana.
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_48 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // Dlaczego main musi być static?
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
6557_49 | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... | slawomirmarczynski/java | calculator/src/calculator/Calculator.java | 4,001 | // Z założenia funkcja main jest wywoływana na początku, zanim będziemy
| line_comment | pl | /*
* The MIT License
*
* Copyright 2016, 2021 Sławomir Marczyński.
*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.