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
22348_6
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/intermediate_code/IntermediateCode.java
2,922
// dopóki nie będzie końca pliku
line_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
22348_7
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/intermediate_code/IntermediateCode.java
2,922
// przeczytaj nagłówek funkcji
line_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
22348_8
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/intermediate_code/IntermediateCode.java
2,922
// pobierz obiekt związany z funkcją
line_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
22348_9
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/intermediate_code/IntermediateCode.java
2,922
// nazwa parametru 1
line_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
22348_10
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/intermediate_code/IntermediateCode.java
2,922
// nazwa kolejnego parametru
line_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
22348_11
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/intermediate_code/IntermediateCode.java
2,922
// linijka w której zaczynamy czytać kod funkcji
line_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
22348_12
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/intermediate_code/IntermediateCode.java
2,922
// czytaj kod linia po linijce
line_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
22348_13
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/intermediate_code/IntermediateCode.java
2,922
// przesuwamy cel skoku tak jakbyśmy linie dla każdej funkcji numerowali od zera
line_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
22348_14
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/intermediate_code/IntermediateCode.java
2,922
// dodajemy linię do funkcji
line_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
22348_15
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/intermediate_code/IntermediateCode.java
2,922
// wczytujemy kolejny opcode
line_comment
pl
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.intermediate_code; import java.io.DataInputStream; import java.io.EOFException; import java.io.FileInputStream; imp...
22349_1
/* *********************************************************************** * * project: org.matsim.* * * * *********************************************************************** * * ...
otfrom/matsim
playgrounds/michalm/src/main/java/playground/michalm/poznan/demand/taxi/PoznanServedRequestsReader.java
1,031
// ID Przyjęte Wydane Skąd-dług Skąd-szer Dokąd-dług Dokąd-szer Id.taxi
line_comment
pl
/* *********************************************************************** * * project: org.matsim.* * * * *********************************************************************** * * ...
22350_1
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
michalsosn/IOGeocaching
android-client/android-client/src/main/java/pl/lodz/p/ftims/geocaching/dao/ProfilesAccessDao.java
3,877
/** * Konstruktor obiektu klasy. Niezbedny parametr to obiekt klasy Context z pakietu android.content * */
block_comment
pl
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
22350_2
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
michalsosn/IOGeocaching
android-client/android-client/src/main/java/pl/lodz/p/ftims/geocaching/dao/ProfilesAccessDao.java
3,877
/** * Metoda zmieniajaca haslo uzytkownika. Na podstawie parametrow w postaci obiektu klasy Credentials i String (nowe haslo) tworzony jest obiekt dataModel.ChangePasswordRequest. * * Zwrocona watosc logiczna jest stanem logicznym powodzenia operacji. * */
block_comment
pl
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
22350_3
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
michalsosn/IOGeocaching
android-client/android-client/src/main/java/pl/lodz/p/ftims/geocaching/dao/ProfilesAccessDao.java
3,877
/** * Metoda zmieniajaca ranking uzytkownikow w postaci listy. Do odpowiedniego webservicu jest wysylany pakiet HTTPGET * * Odpowiedzia jest obiekt klasy dataModel.Reply ktory nastepnie jest konwertowany na obiekt listy obiektow klasy RankingEntry * */
block_comment
pl
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
22350_4
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
michalsosn/IOGeocaching
android-client/android-client/src/main/java/pl/lodz/p/ftims/geocaching/dao/ProfilesAccessDao.java
3,877
//no niby skąd mam ją wziąć wpisane na sztywno żeby nie wywalało
line_comment
pl
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
22350_5
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
michalsosn/IOGeocaching
android-client/android-client/src/main/java/pl/lodz/p/ftims/geocaching/dao/ProfilesAccessDao.java
3,877
/** * Metoda tworzaca nowego uzytkownika. Na podstawie parametrow w postaci obiektu klasy Credentials i Profile tworzony jest obiekt dataModel.CreateUserRequest. * * Zwrocona watosc logiczna jest stanem logicznym powodzenia operacji. * */
block_comment
pl
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
22350_6
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
michalsosn/IOGeocaching
android-client/android-client/src/main/java/pl/lodz/p/ftims/geocaching/dao/ProfilesAccessDao.java
3,877
/** * Metoda logujaca uzytkownika. Na podstawie parametrow w postaci obiektu klasy Credentials tworzony jest obiekt dataModel.LoginRequest. * * Zwrocona watosc logiczna jest stanem logicznym powodzenia operacji. * */
block_comment
pl
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
22350_7
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
michalsosn/IOGeocaching
android-client/android-client/src/main/java/pl/lodz/p/ftims/geocaching/dao/ProfilesAccessDao.java
3,877
/** * Metoda zwracajaca pelen profil uzytkownika. Do odpowiedniego webservicu wysylany jest obiekt dataModel.ProfileRequest stworzony na podstawie obiektu klasy Credentials. * * Otrzymany obiket dataModel.Profile jest zamieniany na obiekt klasy Profile z logiki klienta i zwracany * */
block_comment
pl
package pl.lodz.p.ftims.geocaching.dao; import android.content.Context; import android.os.StrictMode; import pl.lodz.p.ftims.geocaching.model.*; import pl.lodz.p.ftims.geocaching.model.Credentials; import pl.lodz.p.ftims.geocaching.model.Profile; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstre...
22352_1
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
dzytko/sem2m-java-ee
lab10/src/main/java/com/example/lab10/config/WebSecurityConfig.java
792
// wiedział skąd załadowad użytkownika w celu dopasowania
line_comment
pl
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22352_2
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
dzytko/sem2m-java-ee
lab10/src/main/java/com/example/lab10/config/WebSecurityConfig.java
792
// Zastosowano haszowanie hasła za pomocą BCryptPasswordEncoder
line_comment
pl
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22352_3
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
dzytko/sem2m-java-ee
lab10/src/main/java/com/example/lab10/config/WebSecurityConfig.java
792
// W przykładzie nie ma potrzeby stosowania zabezpieczenia przed CSRF
line_comment
pl
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22352_4
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
dzytko/sem2m-java-ee
lab10/src/main/java/com/example/lab10/config/WebSecurityConfig.java
792
// poniższe żądanie nie wymaga uwierzytelniania
line_comment
pl
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22352_5
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
dzytko/sem2m-java-ee
lab10/src/main/java/com/example/lab10/config/WebSecurityConfig.java
792
// wszystkie pozostałe żądania wymagają uwierzytelniania
line_comment
pl
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22352_6
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
dzytko/sem2m-java-ee
lab10/src/main/java/com/example/lab10/config/WebSecurityConfig.java
792
// sesja jest bezstanowa, nie przechowuje stanu użytkownika
line_comment
pl
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22352_7
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
dzytko/sem2m-java-ee
lab10/src/main/java/com/example/lab10/config/WebSecurityConfig.java
792
// Dodanie filtra w celu walidacji tokena dla każdego żądania
line_comment
pl
package com.example.lab10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22353_0
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
Lavertis/mgr-sem2-jee
lab_9/src/main/java/org/pollub/lab_9/config/WebSecurityConfig.java
822
// Konfiguracja menadżera AuthenticationManager tak, aby wiedział, skąd załadować użytkownika w celu dopasowania
line_comment
pl
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
22353_1
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
Lavertis/mgr-sem2-jee
lab_9/src/main/java/org/pollub/lab_9/config/WebSecurityConfig.java
822
// danych uwierzytelniających. Zastosowano haszowanie hasła za pomocą BCryptPasswordEncoder.
line_comment
pl
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
22353_2
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
Lavertis/mgr-sem2-jee
lab_9/src/main/java/org/pollub/lab_9/config/WebSecurityConfig.java
822
// W tym przykładzie niepotrzebne jest zabezpieczenie CSRF
line_comment
pl
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
22353_3
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
Lavertis/mgr-sem2-jee
lab_9/src/main/java/org/pollub/lab_9/config/WebSecurityConfig.java
822
// te żądania nie wymagają uwierzytelniania
line_comment
pl
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
22353_4
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
Lavertis/mgr-sem2-jee
lab_9/src/main/java/org/pollub/lab_9/config/WebSecurityConfig.java
822
// pozostałe żądania wymagają uwierzytelniania
line_comment
pl
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
22353_5
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
Lavertis/mgr-sem2-jee
lab_9/src/main/java/org/pollub/lab_9/config/WebSecurityConfig.java
822
// zastosowana sesja bezstanowa — sesja nie przechowuje
line_comment
pl
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
22353_6
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
Lavertis/mgr-sem2-jee
lab_9/src/main/java/org/pollub/lab_9/config/WebSecurityConfig.java
822
// Dodanie filtra do walidacji tokena przy każdym żądaniu
line_comment
pl
package org.pollub.lab_9.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security....
22354_0
package com.example.myapplication; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.CheckBox; import android.widget.ImageView; import android.widg...
markup54/QuizGory3Pgr2
app/src/main/java/com/example/myapplication/MainActivity.java
1,250
//będzie zerem piszemy dla przejrzystości:)
line_comment
pl
package com.example.myapplication; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.CheckBox; import android.widget.ImageView; import android.widg...
22354_1
package com.example.myapplication; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.CheckBox; import android.widget.ImageView; import android.widg...
markup54/QuizGory3Pgr2
app/src/main/java/com/example/myapplication/MainActivity.java
1,250
//TODO widok z zakonczeniem testu
line_comment
pl
package com.example.myapplication; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.CheckBox; import android.widget.ImageView; import android.widg...
22354_2
package com.example.myapplication; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.CheckBox; import android.widget.ImageView; import android.widg...
markup54/QuizGory3Pgr2
app/src/main/java/com/example/myapplication/MainActivity.java
1,250
//wiadomo skąd dokąd
line_comment
pl
package com.example.myapplication; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.CheckBox; import android.widget.ImageView; import android.widg...
22354_3
package com.example.myapplication; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.CheckBox; import android.widget.ImageView; import android.widg...
markup54/QuizGory3Pgr2
app/src/main/java/com/example/myapplication/MainActivity.java
1,250
//TODO przekazać w intencji jakie pytanie
line_comment
pl
package com.example.myapplication; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.CheckBox; import android.widget.ImageView; import android.widg...
22355_0
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
Lavertis/mgr-sem2-jee
lab_10/src/main/java/org/pollub/lab_10/config/WebSecurityConfig.java
830
// Konfiguracja menadżera AuthenticationManager tak, aby wiedział, skąd załadować użytkownika w celu dopasowania
line_comment
pl
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22355_1
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
Lavertis/mgr-sem2-jee
lab_10/src/main/java/org/pollub/lab_10/config/WebSecurityConfig.java
830
// danych uwierzytelniających. Zastosowano haszowanie hasła za pomocą BCryptPasswordEncoder.
line_comment
pl
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22355_2
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
Lavertis/mgr-sem2-jee
lab_10/src/main/java/org/pollub/lab_10/config/WebSecurityConfig.java
830
// W tym przykładzie niepotrzebne jest zabezpieczenie CSRF
line_comment
pl
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22355_3
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
Lavertis/mgr-sem2-jee
lab_10/src/main/java/org/pollub/lab_10/config/WebSecurityConfig.java
830
// te żądania nie wymagają uwierzytelniania
line_comment
pl
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22355_4
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
Lavertis/mgr-sem2-jee
lab_10/src/main/java/org/pollub/lab_10/config/WebSecurityConfig.java
830
// pozostałe żądania wymagają uwierzytelniania
line_comment
pl
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22355_5
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
Lavertis/mgr-sem2-jee
lab_10/src/main/java/org/pollub/lab_10/config/WebSecurityConfig.java
830
// zastosowana sesja bezstanowa — sesja nie przechowuje
line_comment
pl
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22355_6
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
Lavertis/mgr-sem2-jee
lab_10/src/main/java/org/pollub/lab_10/config/WebSecurityConfig.java
830
// Dodanie filtra do walidacji tokena przy każdym żądaniu
line_comment
pl
package org.pollub.lab_10.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security...
22358_0
package pl.marek.knx; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedList; import pl.marek.knx.PopupMenuItem; import pl.marek.knx.PopupMenuDialog.PopupMenuItemListener; import pl.marek.knx.database.DatabaseManagerImpl; import pl.marek.knx.database.Project; import pl.marek.knx.interfa...
glocklueng/knxscada
knx/src/main/java/pl/marek/knx/ProjectsActivity.java
5,272
//TODO Przemyśleć czy pole author ma sens, i ewentualnie skąd je pobrać
line_comment
pl
package pl.marek.knx; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedList; import pl.marek.knx.PopupMenuItem; import pl.marek.knx.PopupMenuDialog.PopupMenuItemListener; import pl.marek.knx.database.DatabaseManagerImpl; import pl.marek.knx.database.Project; import pl.marek.knx.interfa...
22362_0
package pl.marek.knx; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedList; import pl.marek.knx.PopupMenuItem; import pl.marek.knx.PopupMenuDialog.PopupMenuItemListener; import pl.marek.knx.database.DatabaseManagerImpl; import pl.marek.knx.database.Project; import pl.marek.knx.interfa...
glocklueng/knxscada
knxscada/application/src/main/java/pl/marek/knx/ProjectsActivity.java
5,262
//TODO Przemyśleć czy pole author ma sens, i ewentualnie skąd je pobrać
line_comment
pl
package pl.marek.knx; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedList; import pl.marek.knx.PopupMenuItem; import pl.marek.knx.PopupMenuDialog.PopupMenuItemListener; import pl.marek.knx.database.DatabaseManagerImpl; import pl.marek.knx.database.Project; import pl.marek.knx.interfa...
22363_1
package com.example.jee_laboratorium_9.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springfra...
Kacper-adamiak/Java_pai_laboratorium
jee_laboratorium_9/src/main/java/com/example/jee_laboratorium_9/security/WebSecurityConfig.java
762
// wiedział skąd załadować użytkownika w celu dopasowania
line_comment
pl
package com.example.jee_laboratorium_9.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springfra...
22363_2
package com.example.jee_laboratorium_9.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springfra...
Kacper-adamiak/Java_pai_laboratorium
jee_laboratorium_9/src/main/java/com/example/jee_laboratorium_9/security/WebSecurityConfig.java
762
// Zastosowano haszowanie hasła za pomocą BCryptPasswordEncoder
line_comment
pl
package com.example.jee_laboratorium_9.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springfra...
22364_1
package com.example.jee_laboratorium_10.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Lazy; import org.springframework.security.authe...
Kacper-adamiak/Java_pai_laboratorium
jee_laboratorium_10/src/main/java/com/example/jee_laboratorium_10/security/WebSecurityConfig.java
788
// wiedział skąd załadować użytkownika w celu dopasowania
line_comment
pl
package com.example.jee_laboratorium_10.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Lazy; import org.springframework.security.authe...
22364_2
package com.example.jee_laboratorium_10.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Lazy; import org.springframework.security.authe...
Kacper-adamiak/Java_pai_laboratorium
jee_laboratorium_10/src/main/java/com/example/jee_laboratorium_10/security/WebSecurityConfig.java
788
// Zastosowano haszowanie hasła za pomocą BCryptPasswordEncoder
line_comment
pl
package com.example.jee_laboratorium_10.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Lazy; import org.springframework.security.authe...
22365_2
/* * Copyright (C) 2016 robert * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed...
bercik/BIO
impl/bioc/src/pl/rcebula/code_generation/final_steps/AddInformationsAboutFiles.java
778
// nowa linia na początku
line_comment
pl
/* * Copyright (C) 2016 robert * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed...
22365_3
/* * Copyright (C) 2016 robert * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed...
bercik/BIO
impl/bioc/src/pl/rcebula/code_generation/final_steps/AddInformationsAboutFiles.java
778
// dodajemy na początek informację o pliku
line_comment
pl
/* * Copyright (C) 2016 robert * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed...
22365_4
/* * Copyright (C) 2016 robert * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed...
bercik/BIO
impl/bioc/src/pl/rcebula/code_generation/final_steps/AddInformationsAboutFiles.java
778
// numer, nazwa, skąd1, skąd2, ..., skądn, nowa_linia
line_comment
pl
/* * Copyright (C) 2016 robert * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed...
22370_0
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/fakes/BodyFake.java
933
/** * Obiekt fake reprezentujący część ciała węża na planszy. */
block_comment
pl
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący <SUF>*/ public class BodyFake extends GameFake implements Serializable...
22370_1
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/fakes/BodyFake.java
933
/** * Id węża. */
block_comment
pl
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
22370_2
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/fakes/BodyFake.java
933
/** * Kierunek skąd przyszedł wąż na dane pole. */
block_comment
pl
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
22370_3
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/fakes/BodyFake.java
933
/** * Kierunek w którym idzie wąż z danego pola. */
block_comment
pl
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
22370_4
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/fakes/BodyFake.java
933
/** * Rozmiar węża na danym polu. */
block_comment
pl
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
22370_5
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/fakes/BodyFake.java
933
/** * Tworzy nowy obiekt części ciała węża. * * @param snakeNumber id węa * @param from kierunek skąd przyszedł wąż na dane pole. * @param to kierunek dokąd idzie wąż z danego pola * @param bodySize rozmiar części ciała na danym polu */
block_comment
pl
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
22370_6
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/fakes/BodyFake.java
933
/** * Zwraca rozmiar węża. * * @return rozmiar węża */
block_comment
pl
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
22370_7
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/fakes/BodyFake.java
933
/** * Zwraca kierunek skąd przyszedł wąż. * * @return kierunek skąd wąż przyszedł na dane pole */
block_comment
pl
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
22370_8
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/fakes/BodyFake.java
933
/** * Zwraca kierunek do którego idzie wąż w wybranego pola. * * @return kierunek dokąd wąż idzie z wybranego pola */
block_comment
pl
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
22370_9
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/fakes/BodyFake.java
933
/** * Zwraca ID węża. * * @return numer ID węża */
block_comment
pl
package pl.bestsoft.snake.model.fakes; import pl.bestsoft.snake.model.model.BodySize; import pl.bestsoft.snake.model.model.Direction; import pl.bestsoft.snake.model.model.SnakeNumber; import java.io.Serializable; /** * Obiekt fake reprezentujący część ciała węża na planszy. */ public class BodyFake extends GameFak...
22371_0
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/model/SnakeBody.java
981
/** * Część ciała węża. */
block_comment
pl
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. <SUF>*/ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** *...
22371_1
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/model/SnakeBody.java
981
/** * Położenie czeęci ciała na planszy. */
block_comment
pl
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała <SUF>*/ final private Coordinates coordinates; /** * opis kierunku c...
22371_2
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/model/SnakeBody.java
981
/** * opis kierunku częci ciała, kierunek przy wejściu na dane pole */
block_comment
pl
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
22371_3
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/model/SnakeBody.java
981
/** * opis kierunku części ciała, kierune przy wyjściu z danego pola */
block_comment
pl
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
22371_4
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/model/SnakeBody.java
981
/** * Rozmiar części ciała */
block_comment
pl
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
22371_5
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/model/SnakeBody.java
981
/** * Tworzy nową część ciała * * @param coordinates położenie czci ciaa * @param from kierunek skąd wąż przyszedł na pole * @param to kierunek dokąd wąż idzie z tego pola */
block_comment
pl
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
22371_6
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/model/SnakeBody.java
981
/** * Informacja o położeniu częci ciała. * * @return */
block_comment
pl
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
22371_7
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/model/SnakeBody.java
981
/** * informacja o rozmiarze częci ciała. * * @return BIG jeśli w tym miejscu znajdowało się jabłko zjedzone przez węża */
block_comment
pl
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
22371_8
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/model/SnakeBody.java
981
/** * Informacja o tym skąd wąż przyszedł na to miejsce na planszy. * * @return */
block_comment
pl
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
22371_9
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/model/SnakeBody.java
981
/** * Informacja o tym dokąd wąż idzie z tego miejsca na planszy. * * @return */
block_comment
pl
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
22371_10
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/model/SnakeBody.java
981
/** * Wzrost części ciała po zjedzeniu jabłka. */
block_comment
pl
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
22371_11
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/model/SnakeBody.java
981
/** * Ustawienie kierunku z którego przyszedł wąż na dane miejsze na planszy. * * @param from */
block_comment
pl
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
22371_12
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
DanielMichalski/snake-client-server
src/main/java/pl/bestsoft/snake/model/model/SnakeBody.java
981
/** * Ustawienie kierunku w którym wąż idzie z tego miejsca na planszy. * * @param to */
block_comment
pl
package pl.bestsoft.snake.model.model; import java.io.Serializable; /** * Część ciała węża. */ public class SnakeBody implements Serializable { private static final long serialVersionUID = 1L; /** * Położenie czeęci ciała na planszy. */ final private Coordinates coordinates; /** * opi...
22377_0
package variousExcersises; public class MethodUsage { /*ta klasa wykorzystuje (np. testuje) inną klasę Pen public class Pentest { public static void main(String[] args) { Pen bluePen = new Pen(); //tworzenie instancji obiektu przy użyciu konstrukotra (inicjalizacja komórek pamięci) bluePen....
PawelKulfan/Java-Projects
src/main/java/variousExcersises/MethodUsage.java
531
/*ta klasa wykorzystuje (np. testuje) inną klasę Pen public class Pentest { public static void main(String[] args) { Pen bluePen = new Pen(); //tworzenie instancji obiektu przy użyciu konstrukotra (inicjalizacja komórek pamięci) bluePen.color = "blue";//parametr obiektu z klasy Pen blueP...
block_comment
pl
package variousExcersises; public class MethodUsage { /*ta klasa wykorzystuje <SUF>*/ }
22381_0
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
toniemasz/JavaApkTravel
src/pl/java/project/ShowDetails.java
1,021
// Pobierz ikonę z JLabel
line_comment
pl
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
22381_1
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
toniemasz/JavaApkTravel
src/pl/java/project/ShowDetails.java
1,021
// Sprawdź, czy ikona jest obiektem ImageIcon
line_comment
pl
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
22381_2
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
toniemasz/JavaApkTravel
src/pl/java/project/ShowDetails.java
1,021
// Tutaj możesz przekształcać obraz, na przykład zmieniając rozmiar
line_comment
pl
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
22381_3
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
toniemasz/JavaApkTravel
src/pl/java/project/ShowDetails.java
1,021
// Utwórz nową ikonę na podstawie przekształconego obrazu
line_comment
pl
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
22381_4
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
toniemasz/JavaApkTravel
src/pl/java/project/ShowDetails.java
1,021
// Ustaw przekształconą ikonę z powrotem na JLabel
line_comment
pl
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
22381_5
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
toniemasz/JavaApkTravel
src/pl/java/project/ShowDetails.java
1,021
// Obsłuż przypadki, gdy ikona nie jest obiektem ImageIcon
line_comment
pl
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
22381_6
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
toniemasz/JavaApkTravel
src/pl/java/project/ShowDetails.java
1,021
// Wczytaj drugą wartość
line_comment
pl
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
22381_7
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
toniemasz/JavaApkTravel
src/pl/java/project/ShowDetails.java
1,021
// Ustawienie położenia na środku ekranu, jeśli brak referencji do MainWindow
line_comment
pl
package pl.java.project; import javax.swing.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class ShowDetails extends JDialog { public JPanel contentPane; private JButton buttonOK; private JLabel titleLabel; private JLabel kilometersLa...
22392_0
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// Stworz klase Zbiornik
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase <SUF> // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieWody...
22392_1
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność.
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada <SUF> // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieWody(ile) - ale nie możesz odlać więcej...
22392_2
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// należy stworzyć następujące operacje:
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć <SUF> // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieWody(ile) - ale n...
22392_3
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void <SUF> // - void odlanieWody(ile) - ale nie możesz odlać więcej niż masz // - void przelanieW...
22392_4
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// - void odlanieWody(ile) - ale nie możesz odlać więcej niż masz
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void <SUF> //...
22392_5
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// - void przelanieWody(skad, ile) - przelewa wode ze zbiornika skąd do naszego (pod warunkiem, że przelew jest możliwy)
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
22392_6
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// stworz metody ktore pozwalaja:
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
22392_7
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// - znalezc zbiornik w ktorym jest najwiecej wody
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
22392_8
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// - znalezc zbiornik ktory jest najbardziej zapelniony
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
22392_9
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// - znalezc wszystkie puste zbiorniki.
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
22392_10
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// Każda operacja na zbiorniku jest rejestrowana,
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
22392_11
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// dla każdej operacji pamiętamy: datę i czas jej wykonania, jej nazwę, zbiornik na którym była ona wykonana
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
22392_12
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// oraz ilość wody jaka była brana pod uwagę, oraz to czy operacja się powiodła czy nie.
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
22392_13
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// Należy zaimplementować taką funkcjonalność oraz dodatkowo stworzyć metody które:
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
22392_14
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// - pozwalają znaleźć zbiornik na którym było najwiecej operacji zakonczonych niepowodzeniem
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
22392_15
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...
KubaRajewski/Kurs
src/dalsze/podstawy/interfejsy/zbiornik/Main.java
1,064
// - pozwalają znaleźć zbiornik w którym było najwięcej operacji danego typu (typ podajemy jako argument metody)
line_comment
pl
package dalsze.podstawy.interfejsy.zbiornik; // Stworz klase Zbiornik // zbiornik posiada nastepujace atrybuty: nazwę oraz pojemność. // należy stworzyć następujące operacje: // - void dolanieWody(ile) - ale w zbiorniku nie moze byc wiecej wody niz wynosi pojemnosc // - void odlanieW...