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
11188_3
package com.example.mwojcik.recyclerviewone; import android.support.annotation.Nullable; import android.support.v7.util.DiffUtil; import java.util.List; /*** * DiffUtil sluzy do porownywania kolekcji, list. Dostepny od v24 w RecyclerView support v7. *DiffUtil requires O(N) space to find the minimal number of addi...
MaksymilianWojcik/Mastering_RecyclerView
app/src/main/java/com/example/mwojcik/recyclerviewone/RecyclerViewDiffUtilCallback.java
1,407
// Tutaj zalozyłem, że każdy item ma inne ID!! Generalnie tak być powinno. no chyba
line_comment
pl
package com.example.mwojcik.recyclerviewone; import android.support.annotation.Nullable; import android.support.v7.util.DiffUtil; import java.util.List; /*** * DiffUtil sluzy do porownywania kolekcji, list. Dostepny od v24 w RecyclerView support v7. *DiffUtil requires O(N) space to find the minimal number of addi...
11188_4
package com.example.mwojcik.recyclerviewone; import android.support.annotation.Nullable; import android.support.v7.util.DiffUtil; import java.util.List; /*** * DiffUtil sluzy do porownywania kolekcji, list. Dostepny od v24 w RecyclerView support v7. *DiffUtil requires O(N) space to find the minimal number of addi...
MaksymilianWojcik/Mastering_RecyclerView
app/src/main/java/com/example/mwojcik/recyclerviewone/RecyclerViewDiffUtilCallback.java
1,407
//że updejtujemy jakiś item
line_comment
pl
package com.example.mwojcik.recyclerviewone; import android.support.annotation.Nullable; import android.support.v7.util.DiffUtil; import java.util.List; /*** * DiffUtil sluzy do porownywania kolekcji, list. Dostepny od v24 w RecyclerView support v7. *DiffUtil requires O(N) space to find the minimal number of addi...
11188_5
package com.example.mwojcik.recyclerviewone; import android.support.annotation.Nullable; import android.support.v7.util.DiffUtil; import java.util.List; /*** * DiffUtil sluzy do porownywania kolekcji, list. Dostepny od v24 w RecyclerView support v7. *DiffUtil requires O(N) space to find the minimal number of addi...
MaksymilianWojcik/Mastering_RecyclerView
app/src/main/java/com/example/mwojcik/recyclerviewone/RecyclerViewDiffUtilCallback.java
1,407
/*** * Sprawdza czy dwa itemy mają te same dane. Wywoływane przez DiffUtil tylko jeżeli areItemsTheSame zwróci prawdę. */
block_comment
pl
package com.example.mwojcik.recyclerviewone; import android.support.annotation.Nullable; import android.support.v7.util.DiffUtil; import java.util.List; /*** * DiffUtil sluzy do porownywania kolekcji, list. Dostepny od v24 w RecyclerView support v7. *DiffUtil requires O(N) space to find the minimal number of addi...
11188_6
package com.example.mwojcik.recyclerviewone; import android.support.annotation.Nullable; import android.support.v7.util.DiffUtil; import java.util.List; /*** * DiffUtil sluzy do porownywania kolekcji, list. Dostepny od v24 w RecyclerView support v7. *DiffUtil requires O(N) space to find the minimal number of addi...
MaksymilianWojcik/Mastering_RecyclerView
app/src/main/java/com/example/mwojcik/recyclerviewone/RecyclerViewDiffUtilCallback.java
1,407
/*** * Jeżeli areItemTheSamge zwróci prawdę i areContentsTheSame zwróci false, to DiffUtil wywoła te metode go uzyskania * payloadu o zmianach. Nie trzeba tego używać. * Obiekt zwracany przez te metode jest dispatchowany z DiffResult używająć notifyItemRangeChanged(position,count,payload), ktory * w...
block_comment
pl
package com.example.mwojcik.recyclerviewone; import android.support.annotation.Nullable; import android.support.v7.util.DiffUtil; import java.util.List; /*** * DiffUtil sluzy do porownywania kolekcji, list. Dostepny od v24 w RecyclerView support v7. *DiffUtil requires O(N) space to find the minimal number of addi...
11190_0
package CheckingMouse; import java.awt.Color; import java.awt.Cursor; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.MouseEvent; import java.awt.geom.AffineTransform; import java.awt.geom.Point2D; import org.apache.commons.collections15.Factory; import edu.uci.ics.jung.algorithms.layout....
gre123/SMiP-Metody-Formalne-
SMiP/src/CheckingMouse/EditingCheckingGraphMousePlugin.java
4,281
/** * A plugin that can create vertices, undirected edges, and directed edges using * mouse gestures. This plugin allows for user defined behavior to determine * whether a vertex or edge should be added to the graph. In addition, * parameters for a vertex or edge can be interactively set here prior to being * adde...
block_comment
pl
package CheckingMouse; import java.awt.Color; import java.awt.Cursor; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.MouseEvent; import java.awt.geom.AffineTransform; import java.awt.geom.Point2D; import org.apache.commons.collections15.Factory; import edu.uci.ics.jung.algorithms.layout....
11190_8
package CheckingMouse; import java.awt.Color; import java.awt.Cursor; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.MouseEvent; import java.awt.geom.AffineTransform; import java.awt.geom.Point2D; import org.apache.commons.collections15.Factory; import edu.uci.ics.jung.algorithms.layout....
gre123/SMiP-Metody-Formalne-
SMiP/src/CheckingMouse/EditingCheckingGraphMousePlugin.java
4,281
//wypadałoby aktualizować stany tylko sąsiednich wierzchołków a nie całości
line_comment
pl
package CheckingMouse; import java.awt.Color; import java.awt.Cursor; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.MouseEvent; import java.awt.geom.AffineTransform; import java.awt.geom.Point2D; import org.apache.commons.collections15.Factory; import edu.uci.ics.jung.algorithms.layout....
11190_11
package CheckingMouse; import java.awt.Color; import java.awt.Cursor; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.MouseEvent; import java.awt.geom.AffineTransform; import java.awt.geom.Point2D; import org.apache.commons.collections15.Factory; import edu.uci.ics.jung.algorithms.layout....
gre123/SMiP-Metody-Formalne-
SMiP/src/CheckingMouse/EditingCheckingGraphMousePlugin.java
4,281
//tylko do testów, wypada robić to inaczej:
line_comment
pl
package CheckingMouse; import java.awt.Color; import java.awt.Cursor; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.MouseEvent; import java.awt.geom.AffineTransform; import java.awt.geom.Point2D; import org.apache.commons.collections15.Factory; import edu.uci.ics.jung.algorithms.layout....
11190_13
package CheckingMouse; import java.awt.Color; import java.awt.Cursor; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.MouseEvent; import java.awt.geom.AffineTransform; import java.awt.geom.Point2D; import org.apache.commons.collections15.Factory; import edu.uci.ics.jung.algorithms.layout....
gre123/SMiP-Metody-Formalne-
SMiP/src/CheckingMouse/EditingCheckingGraphMousePlugin.java
4,281
//wypadałoby aktualizować stany tylko sąsiednich wierzchołków a nie całości
line_comment
pl
package CheckingMouse; import java.awt.Color; import java.awt.Cursor; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.MouseEvent; import java.awt.geom.AffineTransform; import java.awt.geom.Point2D; import org.apache.commons.collections15.Factory; import edu.uci.ics.jung.algorithms.layout....
11192_0
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
zorawek/dev-journey
src/main/java/net/zorawski/basics/HelloWorld.java
1,484
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
block_comment
pl
/* Witaj świecie! Rytuał <SUF>*/ package net.zorawski.basics; // Słowo kluczowe package, wskazuje na to do jakiego pakietu należy dana klasa. O pakietach możesz myśleć jak // o katalogach grupujących klasy. Także ta klas znajduje się w katalogu net\zorawski\basics. // W przypadku twojego pierwszego programu może się o...
11192_1
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
zorawek/dev-journey
src/main/java/net/zorawski/basics/HelloWorld.java
1,484
// Słowo kluczowe package, wskazuje na to do jakiego pakietu należy dana klasa. O pakietach możesz myśleć jak
line_comment
pl
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
11192_2
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
zorawek/dev-journey
src/main/java/net/zorawski/basics/HelloWorld.java
1,484
// o katalogach grupujących klasy. Także ta klas znajduje się w katalogu net\zorawski\basics.
line_comment
pl
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
11192_3
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
zorawek/dev-journey
src/main/java/net/zorawski/basics/HelloWorld.java
1,484
// W przypadku twojego pierwszego programu może się okazać, że nie ma słówka package. Oznacza to, że klasa jest
line_comment
pl
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
11192_4
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
zorawek/dev-journey
src/main/java/net/zorawski/basics/HelloWorld.java
1,484
// w pakiecie domyślnym. Taka sytuacja występuje jedynie w bardzo prostych programach.
line_comment
pl
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
11192_5
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
zorawek/dev-journey
src/main/java/net/zorawski/basics/HelloWorld.java
1,484
// O pakietach opowiemy sobie przy innej okazji. Na razie niech nie przeszkadzają!
line_comment
pl
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
11192_6
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
zorawek/dev-journey
src/main/java/net/zorawski/basics/HelloWorld.java
1,484
/* Poniżej znajduje się deklaracja klasy publicznej HelloWorld. I od razu wpadamy w tarapaty bo sporo się tu dzieje. Q: Co to jest klasa publiczna? A: Jest to klasa, która jest dostępna w całej aplikacji. - Nazwa klasy i nazwa pliku musi się zgadzać. - Może być wiele klas w jednym pliku, ale dopuszczalna jest tylko je...
block_comment
pl
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
11192_7
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
zorawek/dev-journey
src/main/java/net/zorawski/basics/HelloWorld.java
1,484
/* Poniżej znajduje się deklaracja specjalnej metody main. Metoda main, oznacza że klasa może być uruchomiona jak program. Tutaj kilka uwag: - Sygnatura metody jest zawsze taka sama: public static void main(String[] args) - Różne klasy mogą mieć różne metody main. Także twój program może działać inaczej...
block_comment
pl
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
11192_8
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
zorawek/dev-journey
src/main/java/net/zorawski/basics/HelloWorld.java
1,484
// A tutaj już sam kod odpowiedzlany za wydrukowanie tekstu na ekranie. Pewnie już zauważyłaś,
line_comment
pl
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
11192_9
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
zorawek/dev-journey
src/main/java/net/zorawski/basics/HelloWorld.java
1,484
// że nie jest to takie proste?
line_comment
pl
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
11192_10
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
zorawek/dev-journey
src/main/java/net/zorawski/basics/HelloWorld.java
1,484
// Najpierw wskazujemy klasę System. Następnie za pomocą operatora . (dot) dostajemy się do statycznego obiektu
line_comment
pl
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
11192_11
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
zorawek/dev-journey
src/main/java/net/zorawski/basics/HelloWorld.java
1,484
// out. Out reprezentuje obiekt drukujący na standardowe wyjście. A na samym końcu wywołujemy metodę println.
line_comment
pl
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
11192_12
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
zorawek/dev-journey
src/main/java/net/zorawski/basics/HelloWorld.java
1,484
// I voila! Tylko tyle trzeba, aby ożywić ekran. Jeżeli chciałabyś coś wypisać na standardowy błąd to mogłabyś
line_comment
pl
/* Witaj świecie! Rytuał zakończony, bogowie zaspokojeni, ale pytania pozostały. Pomimo faktu, że wykonujemy bardzo prostą operację wyświetlenia napisu na ekranie, tak naprawę bardzo wiele się dzieje. I przez dużą część społęczności programistycznej jest to uważan za dużą wadę Java (tak zwany bloat). Dla porówniania,...
11193_0
package ats.v1.query.validator; import ats.v1.query.token.QueryToken; import ats.v1.query.token.QueryTokenType; import ats.v1.query.token.QueryTokenTypeProvider; import java.util.List; import java.util.stream.Collectors; public class QueryValidator { private final QueryTokenTypeProvider provider = new QueryToke...
WooooCash/Testowanie_SPA
src/main/java/ats/v1/query/validator/QueryValidator.java
451
//todo jakby się komuś nudziło to można zrefaktorować to trochę, poprzenosić do oddzielnych metod,
line_comment
pl
package ats.v1.query.validator; import ats.v1.query.token.QueryToken; import ats.v1.query.token.QueryTokenType; import ats.v1.query.token.QueryTokenTypeProvider; import java.util.List; import java.util.stream.Collectors; public class QueryValidator { private final QueryTokenTypeProvider provider = new QueryToke...
11193_1
package ats.v1.query.validator; import ats.v1.query.token.QueryToken; import ats.v1.query.token.QueryTokenType; import ats.v1.query.token.QueryTokenTypeProvider; import java.util.List; import java.util.stream.Collectors; public class QueryValidator { private final QueryTokenTypeProvider provider = new QueryToke...
WooooCash/Testowanie_SPA
src/main/java/ats/v1/query/validator/QueryValidator.java
451
//albo wgl wymyślić jakiś lepszy sposób na to...
line_comment
pl
package ats.v1.query.validator; import ats.v1.query.token.QueryToken; import ats.v1.query.token.QueryTokenType; import ats.v1.query.token.QueryTokenTypeProvider; import java.util.List; import java.util.stream.Collectors; public class QueryValidator { private final QueryTokenTypeProvider provider = new QueryToke...
11194_2
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// obiekt przekazywany pomiędzy kolejnymi wywołaniami 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_3
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// obiekt po którym iterujemy
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_4
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// w przypadku array lub tuple
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_5
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.rcebula.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// w przypadku dict
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// ostatnio zwrócona wartość
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// referencja do struktury przechowującej dane pomocnicze
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// jeżeli pierwsze wywołanie funkcji foreach to przygotowujemy
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// tworzymy nowy obiekt foreach info
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// ustawiamy, żeby następnym razem przy zwróceniu jakiejś wartości została wywołana nasza
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// sprawdź czy iterable jest typu array, dict lub tuple
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// pobierz nazwę 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// utwórz Data String
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_16
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// stwórz strukturę przekazywaną pomiędzy kolejnymi wywołaniami 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_17
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// dodaj pole add_par jeżeli to konieczne
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_18
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// utwórz Data struct
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_19
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// inaczej array lub tuple
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_20
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// skopiuj z d do tymczasowej tablicy
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_21
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// inaczej nie pierwsze wywołanie, więc ściągamy parametr ze stosu parametrów
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_22
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// ta częśc jest trochę tricky
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_23
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// musimy dostać się do wartości zwróconej przez 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_24
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// Została ona odłożona na stos parametrów, więc ściągamy ze stosu aktualnej funkcji jeden
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_25
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// sprawdź czy nie zwrócono błędu, jeżeli tak to zwróć
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_26
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// jeżeli nie jest dostępny
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_27
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// ustaw, żeby już nie wywoływać funkcji FOREACH
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_28
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// zwróc ostatnią wartość
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_29
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// iteruj po kolejnym elemencie
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_30
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// stwórz strukturę el z dwoma polami: val i key
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_31
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// wywołaj funkcję CALL_BY_NAME, przekazując do niej 3 parametry: funName, el, obj
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_32
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// jeżeli funkcja CALL_BY_NAME zwróciła error to zwracamy
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_33
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// inaczej tuple lub array
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_34
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// jeżeli nie jest dostępny
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_35
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// ustaw, żeby już nie wywoływać funkcji FOREACH
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_36
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// zwróc ostatnią wartość
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_37
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// stwórz strukturę el z polem val
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_38
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// wywołaj funkcję CALL_BY_NAME, przekazując do niej 3 parametry: funName, el, obj
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11194_39
/* * 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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
bercik/BIO
bsc_thesis/attachments/src/bio/pl/rcebula/module/modules/IterModule.java
2,536
// jeżeli funkcja CALL_BY_NAME zwróciła error to zwracamy
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.module.modules; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List...
11195_0
package pl.zajavka.infrastructure.database.repository.jpa; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import pl.zajavka.infrastructure.database.entity.CarToBuyEntity; import java.util.List; impor...
0xRobert1997/Workshops
src/Workshops/no19_spring_web_mvc/carDealership_w19/src/main/java/pl/zajavka/infrastructure/database/repository/jpa/CarToBuyJpaRepository.java
324
// jeśli samochód nie ma faktury znaczy że jest dostępny do sprzedaży
line_comment
pl
package pl.zajavka.infrastructure.database.repository.jpa; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import pl.zajavka.infrastructure.database.entity.CarToBuyEntity; import java.util.List; impor...
11195_1
package pl.zajavka.infrastructure.database.repository.jpa; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import pl.zajavka.infrastructure.database.entity.CarToBuyEntity; import java.util.List; impor...
0xRobert1997/Workshops
src/Workshops/no19_spring_web_mvc/carDealership_w19/src/main/java/pl/zajavka/infrastructure/database/repository/jpa/CarToBuyJpaRepository.java
324
// pierwsze query może trochę bardziej obciążyć bazę danych
line_comment
pl
package pl.zajavka.infrastructure.database.repository.jpa; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import pl.zajavka.infrastructure.database.entity.CarToBuyEntity; import java.util.List; impor...
11196_0
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
Morswin12/zajavka-warsztaty
src/main/java/WARSZTATY/Warsztat_16_ORM_I_HIBERNATE/P_32_Querying_Criteria_API_cz1/CustomerRepository.java
3,104
//tworzymy parametr1, do którego później się odniesiemy w query.setParameter() poniżej, do podania where'a
line_comment
pl
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
11196_1
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
Morswin12/zajavka-warsztaty
src/main/java/WARSZTATY/Warsztat_16_ORM_I_HIBERNATE/P_32_Querying_Criteria_API_cz1/CustomerRepository.java
3,104
// dodajemy where odnośnie do maila
line_comment
pl
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
11196_2
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
Morswin12/zajavka-warsztaty
src/main/java/WARSZTATY/Warsztat_16_ORM_I_HIBERNATE/P_32_Querying_Criteria_API_cz1/CustomerRepository.java
3,104
// tu podajemy maila, po którym będzie szukał
line_comment
pl
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
11196_3
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
Morswin12/zajavka-warsztaty
src/main/java/WARSZTATY/Warsztat_16_ORM_I_HIBERNATE/P_32_Querying_Criteria_API_cz1/CustomerRepository.java
3,104
// poniżej inne szczegółowanie zapytań:
line_comment
pl
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
11196_8
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
Morswin12/zajavka-warsztaty
src/main/java/WARSZTATY/Warsztat_16_ORM_I_HIBERNATE/P_32_Querying_Criteria_API_cz1/CustomerRepository.java
3,104
// z sortowaniem po telefonie
line_comment
pl
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
11196_9
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
Morswin12/zajavka-warsztaty
src/main/java/WARSZTATY/Warsztat_16_ORM_I_HIBERNATE/P_32_Querying_Criteria_API_cz1/CustomerRepository.java
3,104
// drukuje pojedynczy rezultat lub null
line_comment
pl
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
11196_10
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
Morswin12/zajavka-warsztaty
src/main/java/WARSZTATY/Warsztat_16_ORM_I_HIBERNATE/P_32_Querying_Criteria_API_cz1/CustomerRepository.java
3,104
// drukuje pojedynczy rezultat lub rzuca wyjątek, gdy jest więcej wyników lub nie ma żadnego
line_comment
pl
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
11196_11
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
Morswin12/zajavka-warsztaty
src/main/java/WARSZTATY/Warsztat_16_ORM_I_HIBERNATE/P_32_Querying_Criteria_API_cz1/CustomerRepository.java
3,104
// Użyjemy tu Interfejsu Tuple, który opakowuje naszych Customer'ów trochę jak lista ?
line_comment
pl
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
11196_13
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
Morswin12/zajavka-warsztaty
src/main/java/WARSZTATY/Warsztat_16_ORM_I_HIBERNATE/P_32_Querying_Criteria_API_cz1/CustomerRepository.java
3,104
// możemy także wykonać distinct
line_comment
pl
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
11196_14
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
Morswin12/zajavka-warsztaty
src/main/java/WARSZTATY/Warsztat_16_ORM_I_HIBERNATE/P_32_Querying_Criteria_API_cz1/CustomerRepository.java
3,104
// W przypadku Tuple musimy dodać np.: .get(0), aby pobrać pierwszą pozycję tu "name"
line_comment
pl
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
11196_15
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
Morswin12/zajavka-warsztaty
src/main/java/WARSZTATY/Warsztat_16_ORM_I_HIBERNATE/P_32_Querying_Criteria_API_cz1/CustomerRepository.java
3,104
// drukuje pojedynczy rezultat lub null
line_comment
pl
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
11196_16
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
Morswin12/zajavka-warsztaty
src/main/java/WARSZTATY/Warsztat_16_ORM_I_HIBERNATE/P_32_Querying_Criteria_API_cz1/CustomerRepository.java
3,104
// drukuje pojedynczy rezultat lub rzuca wyjątek, gdy jest więcej wyników lub nie ma żadnego
line_comment
pl
package WARSZTATY.Warsztat_16_ORM_I_HIBERNATE.P_32_Querying_Criteria_API_cz1; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.ParameterExpression; import jakarta.persistence.criteria.Root; impo...
11198_2
package tillerino.tillerinobot.lang; import java.util.List; import java.util.concurrent.ThreadLocalRandom; import org.tillerino.osuApiModel.Mods; import org.tillerino.osuApiModel.OsuApiUser; import org.tillerino.ppaddict.chat.GameChatResponse; import org.tillerino.ppaddict.chat.GameChatResponse.Action; import org.til...
megahello/Tillerinobot
tillerinobot/src/main/java/tillerino/tillerinobot/lang/Polish.java
3,268
//github.com/Tillerino/Tillerinobot/wiki/Contact powiedzieć mu] o tym. (odwołanie "
line_comment
pl
package tillerino.tillerinobot.lang; import java.util.List; import java.util.concurrent.ThreadLocalRandom; import org.tillerino.osuApiModel.Mods; import org.tillerino.osuApiModel.OsuApiUser; import org.tillerino.ppaddict.chat.GameChatResponse; import org.tillerino.ppaddict.chat.GameChatResponse.Action; import org.til...
11198_4
package tillerino.tillerinobot.lang; import java.util.List; import java.util.concurrent.ThreadLocalRandom; import org.tillerino.osuApiModel.Mods; import org.tillerino.osuApiModel.OsuApiUser; import org.tillerino.ppaddict.chat.GameChatResponse; import org.tillerino.ppaddict.chat.GameChatResponse.Action; import org.til...
megahello/Tillerinobot
tillerinobot/src/main/java/tillerino/tillerinobot/lang/Polish.java
3,268
//github.com/Tillerino/Tillerinobot/wiki/FAQ Często zadawane pytania]";
line_comment
pl
package tillerino.tillerinobot.lang; import java.util.List; import java.util.concurrent.ThreadLocalRandom; import org.tillerino.osuApiModel.Mods; import org.tillerino.osuApiModel.OsuApiUser; import org.tillerino.ppaddict.chat.GameChatResponse; import org.tillerino.ppaddict.chat.GameChatResponse.Action; import org.til...
11198_5
package tillerino.tillerinobot.lang; import java.util.List; import java.util.concurrent.ThreadLocalRandom; import org.tillerino.osuApiModel.Mods; import org.tillerino.osuApiModel.OsuApiUser; import org.tillerino.ppaddict.chat.GameChatResponse; import org.tillerino.ppaddict.chat.GameChatResponse.Action; import org.til...
megahello/Tillerinobot
tillerinobot/src/main/java/tillerino/tillerinobot/lang/Polish.java
3,268
//osu.ppy.sh/users/1698537 Pawwit] i [https://osu.ppy.sh/users/8488688 Lil Silv] nauczyli mnie mówić po polsku. Jeśli uważasz, że gdzieś się pomylili, napisz do nich na osu!");
line_comment
pl
package tillerino.tillerinobot.lang; import java.util.List; import java.util.concurrent.ThreadLocalRandom; import org.tillerino.osuApiModel.Mods; import org.tillerino.osuApiModel.OsuApiUser; import org.tillerino.ppaddict.chat.GameChatResponse; import org.tillerino.ppaddict.chat.GameChatResponse.Action; import org.til...
11198_6
package tillerino.tillerinobot.lang; import java.util.List; import java.util.concurrent.ThreadLocalRandom; import org.tillerino.osuApiModel.Mods; import org.tillerino.osuApiModel.OsuApiUser; import org.tillerino.ppaddict.chat.GameChatResponse; import org.tillerino.ppaddict.chat.GameChatResponse.Action; import org.til...
megahello/Tillerinobot
tillerinobot/src/main/java/tillerino/tillerinobot/lang/Polish.java
3,268
//dagobah.net/flash/Cursor_Invisible.swf gra], w którą pewnie ssiesz!",
line_comment
pl
package tillerino.tillerinobot.lang; import java.util.List; import java.util.concurrent.ThreadLocalRandom; import org.tillerino.osuApiModel.Mods; import org.tillerino.osuApiModel.OsuApiUser; import org.tillerino.ppaddict.chat.GameChatResponse; import org.tillerino.ppaddict.chat.GameChatResponse.Action; import org.til...
11198_8
package tillerino.tillerinobot.lang; import java.util.List; import java.util.concurrent.ThreadLocalRandom; import org.tillerino.osuApiModel.Mods; import org.tillerino.osuApiModel.OsuApiUser; import org.tillerino.ppaddict.chat.GameChatResponse; import org.tillerino.ppaddict.chat.GameChatResponse.Action; import org.til...
megahello/Tillerinobot
tillerinobot/src/main/java/tillerino/tillerinobot/lang/Polish.java
3,268
//www.reddit.com/r/osugame dank memy] powinny Ci pomóc zabić czas.",
line_comment
pl
package tillerino.tillerinobot.lang; import java.util.List; import java.util.concurrent.ThreadLocalRandom; import org.tillerino.osuApiModel.Mods; import org.tillerino.osuApiModel.OsuApiUser; import org.tillerino.ppaddict.chat.GameChatResponse; import org.tillerino.ppaddict.chat.GameChatResponse.Action; import org.til...
11212_6
/* ### * IP: GHIDRA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
NationalSecurityAgency/ghidra
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/CpuSubTypes.java
2,849
/* * MC98000 (PowerPC) subtypes */
block_comment
pl
/* ### * IP: GHIDRA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
11313_0
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
dawidolko/Programming-Java
JavaGUI/.Courses/Courses1/Lesson4/MojeOkienko.java
1,029
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4
line_comment
pl
//[Programowanie Java <SUF> package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko extends JFrame implements ActionListener { JButton bPodajDate, bWyjście; // deklaracja przycisk...
11313_1
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
dawidolko/Programming-Java
JavaGUI/.Courses/Courses1/Lesson4/MojeOkienko.java
1,029
// układ jaki ma nasze okno
line_comment
pl
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
11313_2
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
dawidolko/Programming-Java
JavaGUI/.Courses/Courses1/Lesson4/MojeOkienko.java
1,029
// przycisk o nazwie bPodajDate
line_comment
pl
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
11313_3
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
dawidolko/Programming-Java
JavaGUI/.Courses/Courses1/Lesson4/MojeOkienko.java
1,029
// rozmiar przycisku który stworzyliśmy
line_comment
pl
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
11313_5
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
dawidolko/Programming-Java
JavaGUI/.Courses/Courses1/Lesson4/MojeOkienko.java
1,029
// dodajemy do przycisku "bPodajDate" (źródło zdarzeń) słuchacza "addActionListener" (this - to cała ramka)
line_comment
pl
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
11313_6
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
dawidolko/Programming-Java
JavaGUI/.Courses/Courses1/Lesson4/MojeOkienko.java
1,029
// Nazwa oraz napis w oknie etykiety.
line_comment
pl
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
11313_7
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
dawidolko/Programming-Java
JavaGUI/.Courses/Courses1/Lesson4/MojeOkienko.java
1,029
// lWyświetlDate.setForeground(Color.PINK); // zmiana koloru napisu na etykiecie 1 sposób
line_comment
pl
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
11313_8
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
dawidolko/Programming-Java
JavaGUI/.Courses/Courses1/Lesson4/MojeOkienko.java
1,029
// Czcionka, styl, rozmiar
line_comment
pl
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
11313_9
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
dawidolko/Programming-Java
JavaGUI/.Courses/Courses1/Lesson4/MojeOkienko.java
1,029
// dzięki temu okno się zamyka po przyciśnięciu przycisku X
line_comment
pl
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
11313_10
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
dawidolko/Programming-Java
JavaGUI/.Courses/Courses1/Lesson4/MojeOkienko.java
1,029
// dzięki temu widać okno, jest ono widoczne
line_comment
pl
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
11313_11
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
dawidolko/Programming-Java
JavaGUI/.Courses/Courses1/Lesson4/MojeOkienko.java
1,029
// tworzymy Obiekt do actionEventa, który umożliwi nam przypisanie przyciskom poszczegolnych działań
line_comment
pl
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
11313_12
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
dawidolko/Programming-Java
JavaGUI/.Courses/Courses1/Lesson4/MojeOkienko.java
1,029
// <-- Ta komenda wypisuje nam treść JLabel, ponieważ metoda Date nie jest w trybie tekstowym, dodajemy toString
line_comment
pl
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
11313_13
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
dawidolko/Programming-Java
JavaGUI/.Courses/Courses1/Lesson4/MojeOkienko.java
1,029
// System.out.println(new Date()); // wypisywanie daty poprzez słuchacza
line_comment
pl
//[Programowanie Java GUI - lekcja 4: JLabel] - https://www.youtube.com/watch?v=Hys5d2WEaR8&list=PL3298E3EB8CFDE9BA&index=4 package Lesson4; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; public class MojeOkienko exte...
11317_0
/* W pliku `Main9.java` napisz program rysujący, na podstawie wartości zmiennej `n`, następujący schemat: (Przykład dla `n = 3`) ``` * 2 3 * * 3 * * * ``` Do stworzenia takiego zapisu, w środku zagnieżdżonej pętli, użyj wyrażenia warunkowego `if`, dzięki któremu zdecydujesz czy wypisać gwiazdkę, czy licznik z zagni...
ac189223/Prework_Java_d
Main9.java
296
/* W pliku `Main9.java` napisz program rysujący, na podstawie wartości zmiennej `n`, następujący schemat: (Przykład dla `n = 3`) ``` * 2 3 * * 3 * * * ``` Do stworzenia takiego zapisu, w środku zagnieżdżonej pętli, użyj wyrażenia warunkowego `if`, dzięki któremu zdecydujesz czy wypisać gwiazdkę, czy licznik z zagni...
block_comment
pl
/* W pliku `Main9.java` <SUF>*/ public class Main9 { public static void main(String[] args) { int n = 9; for (int i = 1; i <= n; i++) { for (int j = 1; j <= n; j++) { if (i >= j) { System.out.print("* "); } else { System.out.print(j + " "); } } System.out.print...
11319_1
package gui; import javax.swing.*; import java.awt.*; /** * Created by Marek on 2014-12-16. * Awesome panel with boids options */ public class BoidOptions extends JPanel { BoidOptions() { setBorder(BorderFactory.createTitledBorder(Messages.getString("BoidOptions.parametersBorderName"))); GridLa...
jakufort/BattleSimulation
src/main/java/gui/BoidOptions.java
1,024
// dzięki temu zabiegowi slidery nie są rozciągnięte na cały obszar komórki 'GridLayout'
line_comment
pl
package gui; import javax.swing.*; import java.awt.*; /** * Created by Marek on 2014-12-16. * Awesome panel with boids options */ public class BoidOptions extends JPanel { BoidOptions() { setBorder(BorderFactory.createTitledBorder(Messages.getString("BoidOptions.parametersBorderName"))); GridLa...
11320_0
public class Statycznosc { public static void main(String[] args) { double wynik = Matematyka.dodaj(10, 15); //Dzięki statyczności można bezpośrednio odwołać sie do metody w klasie //Matematyka test = new Matematyka(); //double wynik = test.dodaj(10, 20); //Nie potrzebujemy tworzyć ...
MattiusW/CV
Java/Statycznosc.java
226
//Dzięki statyczności można bezpośrednio odwołać sie do metody w klasie
line_comment
pl
public class Statycznosc { public static void main(String[] args) { double wynik = Matematyka.dodaj(10, 15); //Dzięki statyczności <SUF> //Matematyka test = new Matematyka(); //double wynik = test.dodaj(10, 20); //Nie potrzebujemy tworzyć instancji System.out.println(wynik); S...
11320_1
public class Statycznosc { public static void main(String[] args) { double wynik = Matematyka.dodaj(10, 15); //Dzięki statyczności można bezpośrednio odwołać sie do metody w klasie //Matematyka test = new Matematyka(); //double wynik = test.dodaj(10, 20); //Nie potrzebujemy tworzyć ...
MattiusW/CV
Java/Statycznosc.java
226
//Matematyka test = new Matematyka();
line_comment
pl
public class Statycznosc { public static void main(String[] args) { double wynik = Matematyka.dodaj(10, 15); //Dzięki statyczności można bezpośrednio odwołać sie do metody w klasie //Matematyka test <SUF> //double wynik = test.dodaj(10, 20); //Nie potrzebujemy tworzyć instancji ...
11320_2
public class Statycznosc { public static void main(String[] args) { double wynik = Matematyka.dodaj(10, 15); //Dzięki statyczności można bezpośrednio odwołać sie do metody w klasie //Matematyka test = new Matematyka(); //double wynik = test.dodaj(10, 20); //Nie potrzebujemy tworzyć ...
MattiusW/CV
Java/Statycznosc.java
226
//double wynik = test.dodaj(10, 20); //Nie potrzebujemy tworzyć instancji
line_comment
pl
public class Statycznosc { public static void main(String[] args) { double wynik = Matematyka.dodaj(10, 15); //Dzięki statyczności można bezpośrednio odwołać sie do metody w klasie //Matematyka test = new Matematyka(); //double wynik <SUF> System.out.println(wynik); System...
11320_3
public class Statycznosc { public static void main(String[] args) { double wynik = Matematyka.dodaj(10, 15); //Dzięki statyczności można bezpośrednio odwołać sie do metody w klasie //Matematyka test = new Matematyka(); //double wynik = test.dodaj(10, 20); //Nie potrzebujemy tworzyć ...
MattiusW/CV
Java/Statycznosc.java
226
//Nadanie statyczności metodzie
line_comment
pl
public class Statycznosc { public static void main(String[] args) { double wynik = Matematyka.dodaj(10, 15); //Dzięki statyczności można bezpośrednio odwołać sie do metody w klasie //Matematyka test = new Matematyka(); //double wynik = test.dodaj(10, 20); //Nie potrzebujemy tworzyć ...
11323_0
class MyThread2 implements Runnable { Thread thrd; //zmienna thrd przechowuje referencję wątku static SumArray sa = new SumArray(); int a[]; int answer; //tworzy nowy wątek dzięki implementacji Runnable MyThread2(String name, int nums[]) { thrd = new Thread(this, name); //w momencie two...
LukasMod/JavaElementaryApps
src/MyThread2.java
344
//zmienna thrd przechowuje referencję wątku
line_comment
pl
class MyThread2 implements Runnable { Thread thrd; //zmienna thrd <SUF> static SumArray sa = new SumArray(); int a[]; int answer; //tworzy nowy wątek dzięki implementacji Runnable MyThread2(String name, int nums[]) { thrd = new Thread(this, name); //w momencie tworzenia wątek otrzymuje ...
11323_1
class MyThread2 implements Runnable { Thread thrd; //zmienna thrd przechowuje referencję wątku static SumArray sa = new SumArray(); int a[]; int answer; //tworzy nowy wątek dzięki implementacji Runnable MyThread2(String name, int nums[]) { thrd = new Thread(this, name); //w momencie two...
LukasMod/JavaElementaryApps
src/MyThread2.java
344
//tworzy nowy wątek dzięki implementacji Runnable
line_comment
pl
class MyThread2 implements Runnable { Thread thrd; //zmienna thrd przechowuje referencję wątku static SumArray sa = new SumArray(); int a[]; int answer; //tworzy nowy <SUF> MyThread2(String name, int nums[]) { thrd = new Thread(this, name); //w momencie tworzenia wątek otrzymuje nazwę ...