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 |
|---|---|---|---|---|---|---|---|---|
3999_14 | /*
* 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 | // Jako numer portu używamy 80, co jest trikiem umożliwiającym | 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_15 | /*
* 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 | // obejście większości firewalli. Nie jest to dobre dla docelowego | 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_16 | /*
* 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 | // rozwiązania, ale do prób powinno się nadać. | 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_17 | /*
* 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 | // Domyślnie timeout jest równy 0, zmieniamy na 10 sekund. | 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_18 | /*
* 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 | // 10 tysięcy milisekund | 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_19 | /*
* 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 | // Wysyłanie zapytania do serwera, a w zasadzie wysyłanie zapytania | 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_20 | /*
* 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 | // zaadresowanego do serwera "w Internet" (serwer nie musi dział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_21 | /*
* 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 | // W zasadzie nie jest to operacja blokująca, program spędzi w send | 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_22 | /*
* 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 | // tylko tyle czasu ile to niezbędne. | 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_23 | /*
* 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 | // Odbieranie odpowiedzi jest operacją blokuącą, nie zakończy się | 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_24 | /*
* 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 | // dopóki odpowiedź nie przyjdzie. | 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_25 | /*
* 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 | // Jeżeli odpowiedź jest pozytywna zwracana jest wartość true. | 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_26 | /*
* 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 | // Porównywanie przez quals jest prawidłowe, bo chcemy porównywać | 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_27 | /*
* 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 | // Nic nie rób, po prostu jeżeli jest błąd to nie ma zgody na start. | 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,... |
4000_12 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // każdy Client jest typem ChatClient, tworzymy więc obiekt tego typu | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_13 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // i inicjalizujemy jako ClientDH | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_14 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // Pobieramy do Streama klucz publiczny klienta, ponieważ wiemy że | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_15 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // aktualny obiekt jest właściwie obiektem ClientDH, więc możemy castować, | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_16 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // żeby odwołać się do metod z klasy ClientDH (bo nie każdy ChatClient ma publiczne klucze etc.) | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_18 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // Dominik otrzymuje publiczny klucz Karola - klucz jest obiektem ByteArrayOutPutStream, | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_19 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // zaś dwie pozostałe argumenty to nazwa pliku zawierającego podpis cyfrowy oraz pliku | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_20 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // zawierającego klucz publiczny (ALE NIE TEN DO SZYFROWANIA KOMUNIKACJI, TYLKO DO PODPISU CYFROWEGO) | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_21 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // oba pliki powinny być wysłane np. korzystając z RemoteInputStream | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_23 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // Karol chce wysłać wiadomość - to już są metody, które może wywołać każdy ChatClient | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_24 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // Karol generuje iv. (ponieważ enckrypcja jest w modzie CBC) | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_25 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // Karol zapisuje zaenkryptowaną wiadomość do strumienia - teraz można ją wysłać na serwer. | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_26 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // do odszyfrowania potrzebny jest ten sam iv, więc też zapisywany do strumienia | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_27 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // i można go wysłać na serwer. | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_28 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | //// Powiedzmy, że serwer otrzymuje obie wiadomości i coś tam sobie robi. | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_29 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // Dominik otrzymuje wiadomość od serwera (otrzymuje obiekt ByteArrayOutputStream | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_30 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // - powinien być input, ale już chuj.) oczywiście kazdy ChatClient może zrobić to, co Dominik teraz. | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_31 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // Dominik otrzymuje iv. | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_32 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // Dominik jako typ ChatClient może decryptować mając wiadomość i iv. | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4000_33 |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... | zdoonio/SecureClient | src/com/clients/ClientDH.java | 3,408 | // Dominik odczytuje wiadomość i wypisuje na ekranie. | line_comment | pl |
package com.clients;
import com.security.DiffieHellman;
import com.security.IvGenerator;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
4001_0 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | /**
* Klasa węzła drzewa
*/ | block_comment | pl | /**
* Klasa węzła drzewa <SUF>*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value =... |
4001_1 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | /**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/ | block_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła <SUF>*/
TreeElement(Type element) {
value = element;
leftLeaf = null;
rightLeaf = nu... |
4001_2 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | /**
* Klasa drzewa
*/ | block_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_3 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | /**
* Bazowy konstruktor nowego drzewa
*/ | block_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_4 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | /**
* Funkcja sprawdzająca czy drzewo jest puste
* @return true jeśli drzewo jest puste, false w przeciwnym wypadku
*/ | block_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_5 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | /**
* Funkcja dodająca element drzewa
* @param element dodawany element
*/ | block_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_6 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | /**
* Funkcja usuwająca węzeł zawierający dany element i obsługująca jego ewentualne poddrzewo
* @param element wartość elementu do usunięcia
*/ | block_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_7 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Jeśli nie ma dzieci | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_8 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Jeśli ma tylko jedno dziecko | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_9 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Jeśli ma dwoje dzieci | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_10 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Lewe dziecko nie ma prawego dziecka więc prawe dziecko przepinamy do lewego dziecka i zastępujemy nim węzeł | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_11 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Prawe dziecko nie ma lewego dziecka więc lewe dziecko przepinamy do prawego dziecka i zastępujemy nim węzeł | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_12 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Jeśli nie ma dzieci | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_13 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Jeśli ma tylko jedno dziecko | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_14 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Jeśli ma dwoje dzieci | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_15 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Lewe dziecko nie ma prawego dziecka więc prawe dziecko przepinamy do lewego dziecka i zastępujemy nim węzeł | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_16 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Prawe dziecko nie ma lewego dziecka więc lewe dziecko przepinamy do prawego dziecka i zastępujemy nim węzeł | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_17 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Jeśli nie ma dzieci | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_18 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Jeśli ma tylko jedno dziecko | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_19 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Jeśli ma dwoje dzieci | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_20 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Lewe dziecko nie ma prawego dziecka więc prawe dziecko przepinamy do lewego dziecka i zastępujemy nim węzeł | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_21 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Prawe dziecko nie ma lewego dziecka więc lewe dziecko przepinamy do prawego dziecka i zastępujemy nim węzeł | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_22 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //Jeśli jest taka możliwość to przechodzimy do kolejnego węzła | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_23 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //System.out.println("Nie ma takiego elementu"); | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_24 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | //System.out.println("Nie ma takiego elementu"); | line_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_25 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | /**
* Funkcja rekurencyjna obsługująca wyświetlanie drzewa
* @param node obecnie wyświetlany węzeł
* @param prefix prefix dodawany przy wyświetlaniu = poziom głębokości w drzewie
*/ | block_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_26 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | /**
* Funkcja wyświetlająca drzewo - najpierw wyświetla węzeł, następnie jego lewe poddrzewo jeśli istnieje, a na końcu jego prawe poddrzewo jeśli istnieje
* @return Ciąg znaków z kolejnymi węzłami po enterach
*/ | block_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4001_27 | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... | GoodFloor/Studia | pwr_sem2/Kurs Programowania/Lista7/Tree.java | 2,869 | /**
* Funkcja sprawdzająca czy podana wartość istnieje w drzewie
* @param searched szukana wartość
* @return true jeśli wartość istnieje, false w przeciwnym wypadku
*/ | block_comment | pl | /**
* Klasa węzła drzewa
*/
class TreeElement<Type extends Comparable<Type>> {
final Type value;
TreeElement<Type> leftLeaf;
TreeElement<Type> rightLeaf;
/**
* Konstruktor nowego węzła
* @param element wartość elementu w nowym węźle
*/
TreeElement(Type element) {
value = ele... |
4002_0 | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie odpowiednie... | KamilMatejuk/University | Java/Master_Theorem/zad.java | 1,455 | /** main - wywolanie odpowiedniego rodzaju sortowania */ | block_comment | pl | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie <SUF>*/
... |
4002_2 | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie odpowiednie... | KamilMatejuk/University | Java/Master_Theorem/zad.java | 1,455 | // sprawdzenie master theorem | line_comment | pl | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie odpowiednie... |
4002_3 | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie odpowiednie... | KamilMatejuk/University | Java/Master_Theorem/zad.java | 1,455 | /** funckja generująca posortowaną rosnącą listę o rozmiarze n */ | block_comment | pl | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie odpowiednie... |
4002_4 | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie odpowiednie... | KamilMatejuk/University | Java/Master_Theorem/zad.java | 1,455 | /**
* zgodnie z Masters Theorem
* T(n) = a * T(n/b) + f(n),
* gdzie: a = 1, b = 2, f(n) = O(1)
* czyli:
* T(n) = T(n/2) + O(1)
*
* c = log_b(a) = log_2(1) = 0
* f(n) = O(n^d) => d = 0
*
* c = d, więc zgodnie z Masters Theorem:
... | block_comment | pl | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie odpowiednie... |
4002_5 | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie odpowiednie... | KamilMatejuk/University | Java/Master_Theorem/zad.java | 1,455 | // sinteje takie k, że dla każdego n: | line_comment | pl | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie odpowiednie... |
4002_6 | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie odpowiednie... | KamilMatejuk/University | Java/Master_Theorem/zad.java | 1,455 | // k * log(n) > wartości z Array | line_comment | pl | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie odpowiednie... |
4002_7 | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie odpowiednie... | KamilMatejuk/University | Java/Master_Theorem/zad.java | 1,455 | /**
* T(n) = T(n/2) + O(1)
* rozpisując otrzymam:
* T(n) = O(1) + ( O(1) + ( O(1) + ( O(1) + ( .. ) ) ) )
* T(n) = O(1) * log(n)
*/ | block_comment | pl | /* Kamil Matejuk */
import java.io.IOException;
import java.util.*;
public class zad3 {
public static boolean GENERATE_STATS = true;
static ArrayList<Long> comparisonsOfN = new ArrayList<>();
static ArrayList<Long> timesOfN = new ArrayList<>();
static int compare;
/** main - wywolanie odpowiednie... |
4003_0 | package com.foo.widget.client;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.user.client.ui.IndexedPanel;
import com.google.gwt.user.client.ui.RichTextArea;
import com.vaadin.terminal.gwt.c... | ghik/custom-widget | src/main/java/com/foo/widget/client/VAwesomeRichTextArea.java | 691 | /**
* Dość paskudny hack, za pomocą którego dostajemy się do zwrapowanej przez
* VRichTextArea instancji RichTextArea, która to niestety jest w prywatnym
* polu...
*
* @return
*/ | block_comment | pl | package com.foo.widget.client;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.user.client.ui.IndexedPanel;
import com.google.gwt.user.client.ui.RichTextArea;
import com.vaadin.terminal.gwt.c... |
4003_1 | package com.foo.widget.client;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.user.client.ui.IndexedPanel;
import com.google.gwt.user.client.ui.RichTextArea;
import com.vaadin.terminal.gwt.c... | ghik/custom-widget | src/main/java/com/foo/widget/client/VAwesomeRichTextArea.java | 691 | /**
* Metoda odbierająca od serwera informacje o zmianach.
*/ | block_comment | pl | package com.foo.widget.client;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.user.client.ui.IndexedPanel;
import com.google.gwt.user.client.ui.RichTextArea;
import com.vaadin.terminal.gwt.c... |
4003_2 | package com.foo.widget.client;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.user.client.ui.IndexedPanel;
import com.google.gwt.user.client.ui.RichTextArea;
import com.vaadin.terminal.gwt.c... | ghik/custom-widget | src/main/java/com/foo/widget/client/VAwesomeRichTextArea.java | 691 | // serwer nie wysyła na razie nic nowego, więc nie trzeba tu nic dodawać | line_comment | pl | package com.foo.widget.client;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.user.client.ui.IndexedPanel;
import com.google.gwt.user.client.ui.RichTextArea;
import com.vaadin.terminal.gwt.c... |
4003_3 | package com.foo.widget.client;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.user.client.ui.IndexedPanel;
import com.google.gwt.user.client.ui.RichTextArea;
import com.vaadin.terminal.gwt.c... | ghik/custom-widget | src/main/java/com/foo/widget/client/VAwesomeRichTextArea.java | 691 | /**
* Metoda wysyłająca do serwera informację o zaznaczonym tekście przy każdym
* puszczeniu lewego przycisku myszy. To jest przykładowe zachowanie -
* kwestia kiedy wysyłać informację do serwera jest do przemyślenia w
* kontekście konkretnego użycia.
*/ | block_comment | pl | package com.foo.widget.client;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.user.client.ui.IndexedPanel;
import com.google.gwt.user.client.ui.RichTextArea;
import com.vaadin.terminal.gwt.c... |
4003_4 | package com.foo.widget.client;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.user.client.ui.IndexedPanel;
import com.google.gwt.user.client.ui.RichTextArea;
import com.vaadin.terminal.gwt.c... | ghik/custom-widget | src/main/java/com/foo/widget/client/VAwesomeRichTextArea.java | 691 | /**
* To trzeba jakoś sprytnie zaimplementować, pewnie z użyciem javascriptu.
*/ | block_comment | pl | package com.foo.widget.client;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.user.client.ui.IndexedPanel;
import com.google.gwt.user.client.ui.RichTextArea;
import com.vaadin.terminal.gwt.c... |
4004_0 | package part04;
public class Part04_16 {
public static void main(String[] args) {
int a = 10;
int b = 20;
int c = 20;
System.out.println("a > b && b > c");
System.out.println(a > b && b > c);
System.out.println();
System.out.println("a > b && b > c || a >... | p-pawel/java-school | przyklady/src/part04/Part04_16.java | 562 | // <----- ZAGADKA kolejność operacji, | line_comment | pl | package part04;
public class Part04_16 {
public static void main(String[] args) {
int a = 10;
int b = 20;
int c = 20;
System.out.println("a > b && b > c");
System.out.println(a > b && b > c);
System.out.println();
System.out.println("a > b && b > c || a >... |
4004_1 | package part04;
public class Part04_16 {
public static void main(String[] args) {
int a = 10;
int b = 20;
int c = 20;
System.out.println("a > b && b > c");
System.out.println(a > b && b > c);
System.out.println();
System.out.println("a > b && b > c || a >... | p-pawel/java-school | przyklady/src/part04/Part04_16.java | 562 | // wyjaśnienie: pierwsza część jest false więc druga nawet nie jest wyznaczana (stąd brak efektów ++) | line_comment | pl | package part04;
public class Part04_16 {
public static void main(String[] args) {
int a = 10;
int b = 20;
int c = 20;
System.out.println("a > b && b > c");
System.out.println(a > b && b > c);
System.out.println();
System.out.println("a > b && b > c || a >... |
4004_5 | package part04;
public class Part04_16 {
public static void main(String[] args) {
int a = 10;
int b = 20;
int c = 20;
System.out.println("a > b && b > c");
System.out.println(a > b && b > c);
System.out.println();
System.out.println("a > b && b > c || a >... | p-pawel/java-school | przyklady/src/part04/Part04_16.java | 562 | // System.out.println(~true); // <- nie można tak odwrócić booleana, tylko z "!", np. "!true" | line_comment | pl | package part04;
public class Part04_16 {
public static void main(String[] args) {
int a = 10;
int b = 20;
int c = 20;
System.out.println("a > b && b > c");
System.out.println(a > b && b > c);
System.out.println();
System.out.println("a > b && b > c || a >... |
4005_1 | import java.util.Arrays;
public class NajszybszySpadek {
private final double[] x = new double[2];
private final double[] xNew = new double[x.length];
private final double[] g = new double[x.length];
private double k = 0.5;
private final double e = 0.002;
public NajszybszySpadek() {
... | Pikei/Metody-podejmowania-Ryzyka | src/NajszybszySpadek.java | 883 | // sprawdzona funkcja ze znanym minimum i współrzędnymi | line_comment | pl | import java.util.Arrays;
public class NajszybszySpadek {
private final double[] x = new double[2];
private final double[] xNew = new double[x.length];
private final double[] g = new double[x.length];
private double k = 0.5;
private final double e = 0.002;
public NajszybszySpadek() {
... |
4005_2 | import java.util.Arrays;
public class NajszybszySpadek {
private final double[] x = new double[2];
private final double[] xNew = new double[x.length];
private final double[] g = new double[x.length];
private double k = 0.5;
private final double e = 0.002;
public NajszybszySpadek() {
... | Pikei/Metody-podejmowania-Ryzyka | src/NajszybszySpadek.java | 883 | // z założenia pod więcej wymiarów, przykładowo jakby było dla 100 wymiarów. | line_comment | pl | import java.util.Arrays;
public class NajszybszySpadek {
private final double[] x = new double[2];
private final double[] xNew = new double[x.length];
private final double[] g = new double[x.length];
private double k = 0.5;
private final double e = 0.002;
public NajszybszySpadek() {
... |
4005_3 | import java.util.Arrays;
public class NajszybszySpadek {
private final double[] x = new double[2];
private final double[] xNew = new double[x.length];
private final double[] g = new double[x.length];
private double k = 0.5;
private final double e = 0.002;
public NajszybszySpadek() {
... | Pikei/Metody-podejmowania-Ryzyka | src/NajszybszySpadek.java | 883 | // Aktualna funkcja operuje na 2 współrzędnych, ale odpowiednio modyfikując zwracane wartości metoda zwróci pochodną zarówno po x1, x50, czy x100 | line_comment | pl | import java.util.Arrays;
public class NajszybszySpadek {
private final double[] x = new double[2];
private final double[] xNew = new double[x.length];
private final double[] g = new double[x.length];
private double k = 0.5;
private final double e = 0.002;
public NajszybszySpadek() {
... |
4005_6 | import java.util.Arrays;
public class NajszybszySpadek {
private final double[] x = new double[2];
private final double[] xNew = new double[x.length];
private final double[] g = new double[x.length];
private double k = 0.5;
private final double e = 0.002;
public NajszybszySpadek() {
... | Pikei/Metody-podejmowania-Ryzyka | src/NajszybszySpadek.java | 883 | /*
założenia algorytmu:
wybierz punkt startowy, np (1,1)
oblicz gradient funkcji w tym punkcie
od obecnego punktu odejmij gradient*krok
jeśli f(x)<f(xNew) zmniejsz krok (nie ma tutaj optymalizacji kroku więc dlatego jest on zmniejszany)
w przeciwnym razie x = zNew
jeśli |Gradient(Xi)|^2 <= e... | block_comment | pl | import java.util.Arrays;
public class NajszybszySpadek {
private final double[] x = new double[2];
private final double[] xNew = new double[x.length];
private final double[] g = new double[x.length];
private double k = 0.5;
private final double e = 0.002;
public NajszybszySpadek() {
... |
4006_0 | package pliki;
import java.io.File;
public class DeleteFile {
public static void main(String[] args) {
File file = new File("plik.txt");
if(file.delete()){ //<--zwraca wartość logiczną więc można sprawdzić czy istnieje plik czy nie
System.out.println("Plik usunięty");
}else{
... | Teserat/Java-learning | src/pliki/DeleteFile.java | 132 | //<--zwraca wartość logiczną więc można sprawdzić czy istnieje plik czy nie | line_comment | pl | package pliki;
import java.io.File;
public class DeleteFile {
public static void main(String[] args) {
File file = new File("plik.txt");
if(file.delete()){ //<--zwraca wartość <SUF>
System.out.println("Plik usunięty");
}else{
System.out.println("nie znaleziono pli... |
4009_1 | package dzikizachod;
import java.util.List;
/**
*
* @author squar
*/
public class StrategiaBandytyCierpliwa extends StrategiaBandyty {
public StrategiaBandytyCierpliwa() {}
@Override
public int strzel(Gracz gracz, int liczbaKart) {
List<WidokGracza> widokGraczy;
WidokGracza aktualn... | Squar89/Dziki-zachod | src/dzikizachod/StrategiaBandytyCierpliwa.java | 735 | /* jeśli szeryf jest w zasięgu bandyty, to automatycznie staje się jego celem
* dlatego interesuje nas przedział [0, indeksGracza) */ | block_comment | pl | package dzikizachod;
import java.util.List;
/**
*
* @author squar
*/
public class StrategiaBandytyCierpliwa extends StrategiaBandyty {
public StrategiaBandytyCierpliwa() {}
@Override
public int strzel(Gracz gracz, int liczbaKart) {
List<WidokGracza> widokGraczy;
WidokGracza aktualn... |
4009_2 | package dzikizachod;
import java.util.List;
/**
*
* @author squar
*/
public class StrategiaBandytyCierpliwa extends StrategiaBandyty {
public StrategiaBandytyCierpliwa() {}
@Override
public int strzel(Gracz gracz, int liczbaKart) {
List<WidokGracza> widokGraczy;
WidokGracza aktualn... | Squar89/Dziki-zachod | src/dzikizachod/StrategiaBandytyCierpliwa.java | 735 | /* gracze stoją w kole, więc gracz o indeksie widokGraczy.size(), to
* gracz o indeksie 0, czyli szeryf na którym skończymy szukanie celu */ | block_comment | pl | package dzikizachod;
import java.util.List;
/**
*
* @author squar
*/
public class StrategiaBandytyCierpliwa extends StrategiaBandyty {
public StrategiaBandytyCierpliwa() {}
@Override
public int strzel(Gracz gracz, int liczbaKart) {
List<WidokGracza> widokGraczy;
WidokGracza aktualn... |
4009_3 | package dzikizachod;
import java.util.List;
/**
*
* @author squar
*/
public class StrategiaBandytyCierpliwa extends StrategiaBandyty {
public StrategiaBandytyCierpliwa() {}
@Override
public int strzel(Gracz gracz, int liczbaKart) {
List<WidokGracza> widokGraczy;
WidokGracza aktualn... | Squar89/Dziki-zachod | src/dzikizachod/StrategiaBandytyCierpliwa.java | 735 | /* jeśli szeryf nie jest w zasięgu, to zgodnie ze strategią bandyta czeka,
* więc zwraca -1, które jest sygnałem braku akcji ze strony gracza */ | block_comment | pl | package dzikizachod;
import java.util.List;
/**
*
* @author squar
*/
public class StrategiaBandytyCierpliwa extends StrategiaBandyty {
public StrategiaBandytyCierpliwa() {}
@Override
public int strzel(Gracz gracz, int liczbaKart) {
List<WidokGracza> widokGraczy;
WidokGracza aktualn... |
4010_0 | package variousExcersises;
public class BookEmpty {
public String trescKsiazki;
private static final String[] VALID_AUTHORS = {"Marek", "Stefan", "Gienek"};
private String name;
private boolean isCoverOn = true;
private double price = 44.32;
private String author;
public void setCoverOn(){... | PawelKulfan/Java-Projects | src/main/java/variousExcersises/BookEmpty.java | 506 | //bezpieczny setter, który sprawdza czy wpisywany author jest z prawidłowego zakresu | line_comment | pl | package variousExcersises;
public class BookEmpty {
public String trescKsiazki;
private static final String[] VALID_AUTHORS = {"Marek", "Stefan", "Gienek"};
private String name;
private boolean isCoverOn = true;
private double price = 44.32;
private String author;
public void setCoverOn(){... |
4010_1 | package variousExcersises;
public class BookEmpty {
public String trescKsiazki;
private static final String[] VALID_AUTHORS = {"Marek", "Stefan", "Gienek"};
private String name;
private boolean isCoverOn = true;
private double price = 44.32;
private String author;
public void setCoverOn(){... | PawelKulfan/Java-Projects | src/main/java/variousExcersises/BookEmpty.java | 506 | //equals porównywanie stringów | line_comment | pl | package variousExcersises;
public class BookEmpty {
public String trescKsiazki;
private static final String[] VALID_AUTHORS = {"Marek", "Stefan", "Gienek"};
private String name;
private boolean isCoverOn = true;
private double price = 44.32;
private String author;
public void setCoverOn(){... |
4010_2 | package variousExcersises;
public class BookEmpty {
public String trescKsiazki;
private static final String[] VALID_AUTHORS = {"Marek", "Stefan", "Gienek"};
private String name;
private boolean isCoverOn = true;
private double price = 44.32;
private String author;
public void setCoverOn(){... | PawelKulfan/Java-Projects | src/main/java/variousExcersises/BookEmpty.java | 506 | //printuje stały tekst + zmienną w zależności od parametru trescKsiazki przypisanego do danej ksiązki | line_comment | pl | package variousExcersises;
public class BookEmpty {
public String trescKsiazki;
private static final String[] VALID_AUTHORS = {"Marek", "Stefan", "Gienek"};
private String name;
private boolean isCoverOn = true;
private double price = 44.32;
private String author;
public void setCoverOn(){... |
4010_3 | package variousExcersises;
public class BookEmpty {
public String trescKsiazki;
private static final String[] VALID_AUTHORS = {"Marek", "Stefan", "Gienek"};
private String name;
private boolean isCoverOn = true;
private double price = 44.32;
private String author;
public void setCoverOn(){... | PawelKulfan/Java-Projects | src/main/java/variousExcersises/BookEmpty.java | 506 | //sprawdzenie, czy okładka jest zamknięta, więc nie da się przeczytać | line_comment | pl | package variousExcersises;
public class BookEmpty {
public String trescKsiazki;
private static final String[] VALID_AUTHORS = {"Marek", "Stefan", "Gienek"};
private String name;
private boolean isCoverOn = true;
private double price = 44.32;
private String author;
public void setCoverOn(){... |
4011_4 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... | Mackowic/projektPZ | projekt/src/projekt/TestujController.java | 7,122 | /**
* Anonimowa metoda dla przycisku b_zadania - otwiera widok
* Moje_zadania.fxml gdzie mozna zobaczyc swoje zadania
*
* @exception IOExeption ex - wyjatek odnoscie otwierania i
* znajdywania plików fmxl
*/ | block_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... |
4011_5 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... | Mackowic/projektPZ | projekt/src/projekt/TestujController.java | 7,122 | /**
* Anonimowa metoda dla przycisku b_moje_dane - otwiera widok
* moje_dane.fxml gdzie mozna dane swojego konta
*
* @exception IOExeption ex - wyjatek odnoscie otwierania i
* znajdywania plików fmxl
*/ | block_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... |
4011_6 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... | Mackowic/projektPZ | projekt/src/projekt/TestujController.java | 7,122 | /**
* Anonimowa metoda dla przycisku b_wiecej - otwiera widok
* ZadanieX.fxml gdzie znajduja sie informacje o zadaniu
*
* @exception IOExeption ex - wyjatek odnoscie otwierania i
* znajdywania plików fmxl
*/ | block_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... |
4011_7 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... | Mackowic/projektPZ | projekt/src/projekt/TestujController.java | 7,122 | /**
* Anonimowa metoda dla przycisku b_uzytkownicy - otwiera widok
* uzytkownicy.fxml gdzie mozna stworzyc nowego uzytkownika, usunac
* uzytkownika
*
* @exception IOExeption ex - wyjatek odnoscie otwierania i
* znajdywania plików fmxl
... | block_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... |
4011_8 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... | Mackowic/projektPZ | projekt/src/projekt/TestujController.java | 7,122 | /**
* Anonimowa metoda dla przycisku b_projekty - otwiera widok
* Projekty.fxml gdzie mozna zobaczyc i utworzyc swoje projekty
*
* @exception IOExeption ex - wyjatek odnoscie otwierania i
* znajdywania plików fmxl
*/ | block_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... |
4011_9 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... | Mackowic/projektPZ | projekt/src/projekt/TestujController.java | 7,122 | /**
* Anonimowa metoda dla przycisku b_wyloguj - otwiera widok
* login.fxml gdzie mozna sie zalogowac do konta
*
* @exception IOExeption ex - wyjatek odnoscie otwierania i
* znajdywania plików fmxl
* @exception SQLException ex - wyjatek... | block_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... |
4011_11 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... | Mackowic/projektPZ | projekt/src/projekt/TestujController.java | 7,122 | /**
* Anonimowa metoda dla przycisku b_testuj - otwiera widok
* testuj.fxml gdzie mozna przetestowac
*
* @exception IOExeption ex - wyjatek odnoscie otwierania i
* znajdywania plików fmxl
*/ | block_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... |
4011_12 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... | Mackowic/projektPZ | projekt/src/projekt/TestujController.java | 7,122 | /**
* Anonimowa metoda dla tabeli tv_testuj - za pomaca fetchingu
* zbiera dane z kliknietego wiersza tabeli, wysyla zapytanie do
* bazy i zapisuje dane od zmiennych
*
* @exception SQLException ex - wyjatek zajmujący się obsługą bazy
* ... | block_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... |
4011_13 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... | Mackowic/projektPZ | projekt/src/projekt/TestujController.java | 7,122 | /**
* Anonimowa metoda dla przycisku b_dobrze - otwiera widok
* testuj.fxml gdzie mozna zatwierdzic zadanie
*
* @exception IOExeption ex - wyjatek odnoscie otwierania i
* znajdywania plików fmxl
* @exception SQLException ex - wyjatek za... | block_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... |
4011_14 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... | Mackowic/projektPZ | projekt/src/projekt/TestujController.java | 7,122 | /**
* Anonimowa metoda dla przycisku b_zle - otwiera widok testuj.fxml
* gdzie mozna cofnac zadanie
*
* @exception IOExeption ex - wyjatek odnoscie otwierania i
* znajdywania plików fmxl
* @exception SQLException ex - wyjatek zajmujący ... | block_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... |
4011_15 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... | Mackowic/projektPZ | projekt/src/projekt/TestujController.java | 7,122 | /**
* Anonimowa metoda dla przycisku b_lokalne - otwiera widok
* ZadanieX.fxml gdzie znajduja sie informacje o zadaniu
*
* @exception IOExeption ex - wyjatek odnoscie otwierania i
* znajdywania plików fmxl
*/ | block_comment | pl | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projekt;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.