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 |
|---|---|---|---|---|---|---|---|---|
6557_50 | /*
* 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 | // mieli obiekty jakiekolwiek obiekty (nie będzie żadnego obiektu klasy
| 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_51 | /*
* 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 | // Calculator). Chociaż nic nie przeszkadza aby wywoływać main póżniej,
| 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_52 | /*
* 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 po prostu zwykle się tego nie robi, bo i po co?
| 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_53 | /*
* 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 | // Jakie są problemy z tym że main jest 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_54 | /*
* 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 | // Jeżeli nie zostaną utworzone obiekty to main może używać tylko tego
| 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_55 | /*
* 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 | // co jest statyczne (słowo kluczowe static). To niepotrzebnie wymusza
| 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_56 | /*
* 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 | // abyśmy nadużywali static do wyszystkiego. Zauważmy że metoda 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_57 | /*
* 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 statyczna właśnie po to aby mogła być wywołana w static main().
| 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_58 | /*
* 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 | // Ciekawostka: zamiast intro() można użyć calculator.Calculator.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_59 | /*
* 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 | // - czyli podając nazwę pakietu, nazwę klasy i nazwę statycznej metody.
| 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_60 | /*
* 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 | // Aby wyjść z zaklętego kręgu "statyczne w statycznych" możemy, tak jak
| 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_61 | /*
* 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 | // poniżej, stworzyć nowy obiekt. Niestatyczne metody tego obiektu mogą
| 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_62 | /*
* 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ć wywołane ze statycznej metody w której ten obiekt jest dostępny.
| 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_63 | /*
* 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 | // Krótszą forma zapisu tego samego to prostu (new Calculator()).run();
| 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_64 | /*
* 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 tak jak jest poniżej też jest ładnie.
| 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_65 | /*
* 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 run mogłaby nazywać się inaczej, na przykład execute(), ale akurat
* nazywa się run(). To w przyszłości może ułatwić przekształcenie klasy
* Calculator w klasę zgodną z interfejsem Runnnable.
*/ | 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_66 | /*
* 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 | // Tworzymy obiekt klasy Scanner i wrzucamy go do zmiennej mającej nazwę
| 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_67 | /*
* 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 | // scanner i typ Scanner. Obiekt ten jest wyspecjalizowany w czytaniu
| 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_68 | /*
* 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 | // danych zapisanych jako łańcuchy znaków. Zmienna scanner jest zmienną
| 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_69 | /*
* 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 | // lokalną, bo nie potrzebujemy "globalnego scanera" i zupełnie nam
| 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_70 | /*
* 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 | // wystarcza lokalna (wewnątrz run()) definicja.
| 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_71 | /*
* 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 Javie są pętle z while, z do-while i for ("zwykła" i for-all),
| 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_72 | /*
* 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 | // są też instrukcje break i continue. Połączenie pętli while(true)
| 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_73 | /*
* 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 instrukcji warunkowej z break pozwala podejmować decyzję
| 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_74 | /*
* 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 | // o przerwaniu iteracji w dowolnym miejscu wewnątrz pętli.
| 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_75 | /*
* 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żna zastąpić pętlę while(true) przez while(loop), gdzie loop jest
| 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_76 | /*
* 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 | // zmienną typu boolean równą początkowo true i w odpowiednim momencie
| 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_77 | /*
* 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 | // przyjmującą wartość false, a w ten sposób wyeliminować break.
| 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_78 | /*
* 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 Javie final oznacza wartości które nie będą zmieniać swoich
| 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_79 | /*
* 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 | // wartości po zainicjowaniu. Czyli stałe. Sens używania final jest
| 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_80 | /*
* 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 | // dwojaki: po pierwsze chroni przed przypadkową zmianą, po drugie
| 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_81 | /*
* 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 | // pokazuje intencje programisty.
| 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_82 | /*
* 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 nie użyć po prostu System.out.print("-->") ?
| 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_83 | /*
* 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 | // Zdefiniowanie stałej PROMPT daje bardziej samodokumentujący się
| 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_84 | /*
* 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 | // kod źródłowy: zamiast wypisywać "coś" wypisywany jest PROMPT,
| 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_85 | /*
* 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 | // czyli coś czego znaczenie jest (być może) od razu zrozumiałe.
| 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_86 | /*
* 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 | // Zamiast szczegółowo analizować co wpisał użytkownik w odpowiedzi
| 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_87 | /*
* 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 | // po prostu czytamy całą linijkę tekstu. Zauważmy że moglibyśmy
| 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_88 | /*
* 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 ogóle nie importować klasy Scanner i nie używać bezpośrednio
| 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_89 | /*
* 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 | // jej metod, ale obudować ją fasadową klasą Input (lub o zbliżonej
| 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_90 | /*
* 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 | // nazwie) mającą np. metodę Input.getLine(String prompt). Był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_91 | /*
* 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 | // szczególnie opłacalne gdyby czytanie całej linii tekstu 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_92 | /*
* 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ło wielokrotnie, w wielu miejscach w programie.
| 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_93 | /*
* 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 | // dodatkowa linia odstępu
| 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_94 | /*
* 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 | // Jeżeli linia jest pusta (należałoby sprawdzić dokładniej co 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_95 | /*
* 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 | // oznacza, tj. czy np. linia tekstu zawierająca spację jest pusta)
| 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_96 | /*
* 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 przerwać pętlę, co doprowadzi do zakończenia 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_97 | /*
* 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 | // Tworzymy nowe wyrażenie - i to jest bardzo proste, bo wystarczy
| 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_98 | /*
* 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 | // tylko wywołać create z odpowiednim parametrem. W programowaniu
| 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_99 | /*
* 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 | // obiektowym chodzi właśnie o to aby - gdy mamy już obiekty - 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_100 | /*
* 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żywanie obiektów było maksymalnie łatwe.
| 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_101 | /*
* 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 | // Mając wyrażenie możemy je wypisać i wypisać jego wartość.
| 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_102 | /*
* 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 | // Zauważmy że i tym razem jest to bardzo proste, bo wszystko
| 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_103 | /*
* 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 | // co trudne jest ukryte wewnątrz klasy Expression.
| 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_104 | /*
* 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: w tym miejscu jest finezyjny błąd - Expression.create()
| 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_105 | /*
* 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ła zgodnie z aktywnymi ustawieniami odnośnie formatu liczb
| 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_106 | /*
* 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 | // (czyli używa przecinka dziesiętnego lub kropki dziesiętnej
| 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_107 | /*
* 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 | // zależnie od ustawionego Locale) - natomiast println() zawsze
| 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_108 | /*
* 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 | // wypisuje liczby z kropką dziesiętną. Czyli jeżeli znakiem ułamka
| 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_109 | /*
* 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ędzie przecinek to zachowane programu będzie niespójne - będzie
| 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_110 | /*
* 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 | // oczekiwał wpisywanie z przecinkiem, ale pokazywał z kropką.
| 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_111 | /*
* 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 oczywiście można naprawić używając tu metody printf()
| 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_113 | /*
* 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 w metodzie toString() zdefiniowanej w klasie Expression.
| 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... |
6558_0 | package agh.ics.oop;
import java.util.LinkedHashMap;
import java.util.Random;
public class GrassField extends AbstractWorldMap{
private final int fieldNumber;
private final LinkedHashMap<Vector2d, Grass> grass;
public GrassField(int fieldNumber){
this.fieldNumber = fieldNumber;
this.gra... | MaOlszewska/ObjectOrientedProgramming-2021 | src/main/java/agh/ics/oop/GrassField.java | 554 | // najpierw instrukcja do wykonania | line_comment | pl | package agh.ics.oop;
import java.util.LinkedHashMap;
import java.util.Random;
public class GrassField extends AbstractWorldMap{
private final int fieldNumber;
private final LinkedHashMap<Vector2d, Grass> grass;
public GrassField(int fieldNumber){
this.fieldNumber = fieldNumber;
this.gra... |
6558_1 | package agh.ics.oop;
import java.util.LinkedHashMap;
import java.util.Random;
public class GrassField extends AbstractWorldMap{
private final int fieldNumber;
private final LinkedHashMap<Vector2d, Grass> grass;
public GrassField(int fieldNumber){
this.fieldNumber = fieldNumber;
this.gra... | MaOlszewska/ObjectOrientedProgramming-2021 | src/main/java/agh/ics/oop/GrassField.java | 554 | // instanceof -sprawdzam czy zwracany obiekt z danego pola jest trawą | line_comment | pl | package agh.ics.oop;
import java.util.LinkedHashMap;
import java.util.Random;
public class GrassField extends AbstractWorldMap{
private final int fieldNumber;
private final LinkedHashMap<Vector2d, Grass> grass;
public GrassField(int fieldNumber){
this.fieldNumber = fieldNumber;
this.gra... |
6558_2 | package agh.ics.oop;
import java.util.LinkedHashMap;
import java.util.Random;
public class GrassField extends AbstractWorldMap{
private final int fieldNumber;
private final LinkedHashMap<Vector2d, Grass> grass;
public GrassField(int fieldNumber){
this.fieldNumber = fieldNumber;
this.gra... | MaOlszewska/ObjectOrientedProgramming-2021 | src/main/java/agh/ics/oop/GrassField.java | 554 | // pozniej sprawdzany warunek, czyli wykona sie przynamnije raz | line_comment | pl | package agh.ics.oop;
import java.util.LinkedHashMap;
import java.util.Random;
public class GrassField extends AbstractWorldMap{
private final int fieldNumber;
private final LinkedHashMap<Vector2d, Grass> grass;
public GrassField(int fieldNumber){
this.fieldNumber = fieldNumber;
this.gra... |
6558_3 | package agh.ics.oop;
import java.util.LinkedHashMap;
import java.util.Random;
public class GrassField extends AbstractWorldMap{
private final int fieldNumber;
private final LinkedHashMap<Vector2d, Grass> grass;
public GrassField(int fieldNumber){
this.fieldNumber = fieldNumber;
this.gra... | MaOlszewska/ObjectOrientedProgramming-2021 | src/main/java/agh/ics/oop/GrassField.java | 554 | // dodaje kępke do trawnika | line_comment | pl | package agh.ics.oop;
import java.util.LinkedHashMap;
import java.util.Random;
public class GrassField extends AbstractWorldMap{
private final int fieldNumber;
private final LinkedHashMap<Vector2d, Grass> grass;
public GrassField(int fieldNumber){
this.fieldNumber = fieldNumber;
this.gra... |
6558_4 | package agh.ics.oop;
import java.util.LinkedHashMap;
import java.util.Random;
public class GrassField extends AbstractWorldMap{
private final int fieldNumber;
private final LinkedHashMap<Vector2d, Grass> grass;
public GrassField(int fieldNumber){
this.fieldNumber = fieldNumber;
this.gra... | MaOlszewska/ObjectOrientedProgramming-2021 | src/main/java/agh/ics/oop/GrassField.java | 554 | // aby można było się tam ruszyć musi być puste pole lub być kępka trawy | line_comment | pl | package agh.ics.oop;
import java.util.LinkedHashMap;
import java.util.Random;
public class GrassField extends AbstractWorldMap{
private final int fieldNumber;
private final LinkedHashMap<Vector2d, Grass> grass;
public GrassField(int fieldNumber){
this.fieldNumber = fieldNumber;
this.gra... |
6559_0 | package spirites;
import factories.SpriteFactory;
import java.util.List;
import java.util.Random;
/**
* Spirite Holders -przechowuje jeden typ obiektow, ma wlasna ich fabryke, albo wgl zrobic to abkstrakcyjnie.
*/
public class SpiriteHolders {
public static int MAX_SPIRITES;
SpriteFactory spriteFactory;
... | Mateoswiatek/JavaZombieGame | src/spirites/SpiriteHolders.java | 459 | /**
* Spirite Holders -przechowuje jeden typ obiektow, ma wlasna ich fabryke, albo wgl zrobic to abkstrakcyjnie.
*/ | block_comment | pl | package spirites;
import factories.SpriteFactory;
import java.util.List;
import java.util.Random;
/**
* Spirite Holders -przechowuje <SUF>*/
public class SpiriteHolders {
public static int MAX_SPIRITES;
SpriteFactory spriteFactory;
//TODO zamiast listy, zrobić słownik, i tutaj zrobić schedule tworzenia,... |
6559_1 | package spirites;
import factories.SpriteFactory;
import java.util.List;
import java.util.Random;
/**
* Spirite Holders -przechowuje jeden typ obiektow, ma wlasna ich fabryke, albo wgl zrobic to abkstrakcyjnie.
*/
public class SpiriteHolders {
public static int MAX_SPIRITES;
SpriteFactory spriteFactory;
... | Mateoswiatek/JavaZombieGame | src/spirites/SpiriteHolders.java | 459 | //TODO zamiast listy, zrobić słownik, i tutaj zrobić schedule tworzenia, tutaj też ma być jakaś lista fabryk? | line_comment | pl | package spirites;
import factories.SpriteFactory;
import java.util.List;
import java.util.Random;
/**
* Spirite Holders -przechowuje jeden typ obiektow, ma wlasna ich fabryke, albo wgl zrobic to abkstrakcyjnie.
*/
public class SpiriteHolders {
public static int MAX_SPIRITES;
SpriteFactory spriteFactory;
... |
6559_2 | package spirites;
import factories.SpriteFactory;
import java.util.List;
import java.util.Random;
/**
* Spirite Holders -przechowuje jeden typ obiektow, ma wlasna ich fabryke, albo wgl zrobic to abkstrakcyjnie.
*/
public class SpiriteHolders {
public static int MAX_SPIRITES;
SpriteFactory spriteFactory;
... | Mateoswiatek/JavaZombieGame | src/spirites/SpiriteHolders.java | 459 | // Tak aby można było z jednego miejsca zarządzać wszystkimi obiektami które są produkowane | line_comment | pl | package spirites;
import factories.SpriteFactory;
import java.util.List;
import java.util.Random;
/**
* Spirite Holders -przechowuje jeden typ obiektow, ma wlasna ich fabryke, albo wgl zrobic to abkstrakcyjnie.
*/
public class SpiriteHolders {
public static int MAX_SPIRITES;
SpriteFactory spriteFactory;
... |
6559_3 | package spirites;
import factories.SpriteFactory;
import java.util.List;
import java.util.Random;
/**
* Spirite Holders -przechowuje jeden typ obiektow, ma wlasna ich fabryke, albo wgl zrobic to abkstrakcyjnie.
*/
public class SpiriteHolders {
public static int MAX_SPIRITES;
SpriteFactory spriteFactory;
... | Mateoswiatek/JavaZombieGame | src/spirites/SpiriteHolders.java | 459 | // zawsze ponad linia horyzonut (1000, 460-(int)(scale*Zombie.HEIGHT), scale))); | line_comment | pl | package spirites;
import factories.SpriteFactory;
import java.util.List;
import java.util.Random;
/**
* Spirite Holders -przechowuje jeden typ obiektow, ma wlasna ich fabryke, albo wgl zrobic to abkstrakcyjnie.
*/
public class SpiriteHolders {
public static int MAX_SPIRITES;
SpriteFactory spriteFactory;
... |
6559_4 | package spirites;
import factories.SpriteFactory;
import java.util.List;
import java.util.Random;
/**
* Spirite Holders -przechowuje jeden typ obiektow, ma wlasna ich fabryke, albo wgl zrobic to abkstrakcyjnie.
*/
public class SpiriteHolders {
public static int MAX_SPIRITES;
SpriteFactory spriteFactory;
... | Mateoswiatek/JavaZombieGame | src/spirites/SpiriteHolders.java | 459 | // Dotykaja ziemi dolnej: (1000, 680-(int)(scale*Zombie.HEIGHT), scale)); | line_comment | pl | package spirites;
import factories.SpriteFactory;
import java.util.List;
import java.util.Random;
/**
* Spirite Holders -przechowuje jeden typ obiektow, ma wlasna ich fabryke, albo wgl zrobic to abkstrakcyjnie.
*/
public class SpiriteHolders {
public static int MAX_SPIRITES;
SpriteFactory spriteFactory;
... |
6560_0 | package Builder;
import java.util.ArrayList;
// W przyszłości pizza mogłaby dziedziczyć po czymś, aby było bardziej uniwersalne
public class Pizza extends Jedzonko{
private ArrayList<String> dodatki;
private boolean seroweBrzegi;
private String sos;
public Pizza() {
dodatki = new ArrayList<>();
}
pu... | JAck0b/Wzorceprojektowe | src/Builder/Pizza.java | 406 | // W przyszłości pizza mogłaby dziedziczyć po czymś, aby było bardziej uniwersalne | line_comment | pl | package Builder;
import java.util.ArrayList;
// W przyszłości <SUF>
public class Pizza extends Jedzonko{
private ArrayList<String> dodatki;
private boolean seroweBrzegi;
private String sos;
public Pizza() {
dodatki = new ArrayList<>();
}
public ArrayList<String> getDodatki() {
return dodatki;
... |
6561_0 | /**
*
* @author Wasilewski Bartosz S20296
*
*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.... | wabarto/pjatk-UTP | UTP3/UTP3/src/zad2/Main.java | 744 | /**
*
* @author Wasilewski Bartosz S20296
*
*/ | block_comment | pl | /**
*
* @author Wasilewski Bartosz <SUF>*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.Patter... |
6561_1 | /**
*
* @author Wasilewski Bartosz S20296
*
*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.... | wabarto/pjatk-UTP | UTP3/UTP3/src/zad2/Main.java | 744 | // Operacja flines zawiera odczyt pliku, zatem może powstac wyjątek IOException | line_comment | pl | /**
*
* @author Wasilewski Bartosz S20296
*
*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.... |
6561_2 | /**
*
* @author Wasilewski Bartosz S20296
*
*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.... | wabarto/pjatk-UTP | UTP3/UTP3/src/zad2/Main.java | 744 | // Wymagane jest, aby tę operację zdefiniowac jako lambda-wyrażenie | line_comment | pl | /**
*
* @author Wasilewski Bartosz S20296
*
*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.... |
6561_3 | /**
*
* @author Wasilewski Bartosz S20296
*
*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.... | wabarto/pjatk-UTP | UTP3/UTP3/src/zad2/Main.java | 744 | // Ale z lambda wyrażeń nie możemy przekazywac obsługi wyjatków do otaczającego bloku | line_comment | pl | /**
*
* @author Wasilewski Bartosz S20296
*
*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.... |
6561_4 | /**
*
* @author Wasilewski Bartosz S20296
*
*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.... | wabarto/pjatk-UTP | UTP3/UTP3/src/zad2/Main.java | 744 | // I wobec tego musimy pisać w definicji flines try { } catch { } | line_comment | pl | /**
*
* @author Wasilewski Bartosz S20296
*
*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.... |
6561_5 | /**
*
* @author Wasilewski Bartosz S20296
*
*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.... | wabarto/pjatk-UTP | UTP3/UTP3/src/zad2/Main.java | 744 | // Jak spowodować, aby nie było to konieczne i w przypadku powstania wyjątku IOException | line_comment | pl | /**
*
* @author Wasilewski Bartosz S20296
*
*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.... |
6561_6 | /**
*
* @author Wasilewski Bartosz S20296
*
*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.... | wabarto/pjatk-UTP | UTP3/UTP3/src/zad2/Main.java | 744 | // zadziałała klauzula throws metody main | line_comment | pl | /**
*
* @author Wasilewski Bartosz S20296
*
*/
package zad2;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.... |
6566_0 | package folderek;
import java.util.Arrays;
import java.util.List;
public class City extends Polygon{
public final Point center;
private String cityName;
private double wallLength;
public String getCityName() {
return cityName;
}
public City(Point center, String cityName, double wallL... | Kwi4t3k/programowanie_java | kolos1_2023/src/folderek/City.java | 392 | // zasady Javy wymagają, aby pierwszą operacją w konstruktorze klasy podrzędnej było wywołanie konstruktora klasy nadrzędnej. Dlatego super musi być użyte przed this. (nie można używać super i this jednocześnie w konstruktorze, ponieważ oba muszą być pierwszą instrukcją w konstruktorze.) | line_comment | pl | package folderek;
import java.util.Arrays;
import java.util.List;
public class City extends Polygon{
public final Point center;
private String cityName;
private double wallLength;
public String getCityName() {
return cityName;
}
public City(Point center, String cityName, double wallL... |
6568_0 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | //jak true to błędy | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_1 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | //jak true to 2 graczy | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_3 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | //rzutowanie z całkowitych na znaki | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_5 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | // Wybór trybu gry | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_6 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | //czy małe czy duże q i tak wyłączy | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_7 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | // Konwersja wyboru na liczbę | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_9 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | //od dwóch graczy | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_10 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | // Tworzenie gracza 2 | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_11 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | // zeby IA z błedami | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_12 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | //jak gracz jest pierwszy a nie to PC | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_13 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | //-1 bo w tablicy od 0 | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_14 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | //przesłanie gdzie ruch | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_15 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | // Sprawdzanie czy jest remis | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_17 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | // tylko jak 2 graczy | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_18 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | //zabezpieczenie jakby nie było od 1-9 | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_21 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | // tylko jak wszystko pełne | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_23 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | //łańcuch z planszy | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
6568_24 | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... | dawidolko/Programming-Java | Projects/projectsObjectOriented/Tic_tac/Board.java | 2,700 | //dołącza do konca | line_comment | pl | import java.util.Scanner;
import java.io.IOException;
import java.util.InputMismatchException;
public class Board {
private char[] cells = new char[9]; //stan planszy
private Scanner scanner = new Scanner(System.in);
private AI ai = new AI(this); //Obiekt AI
private boolean aiErrors = false; //jak true... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.