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 |
|---|---|---|---|---|---|---|---|---|
16289_6 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | // Informujemy presenter o rozpoznaniu komendy głosowej. | line_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_7 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Zdarzenie, które oznjamia o zakończeniu rozpoznawania komendy głosowej.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_8 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | // zaczynamy znowu słuchąć słowa kluczowego. | line_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_9 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Zdarzenie, które oznjamia o wykryciu mowy podczas nasłuchiwania słowa kluczowego.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_10 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Zdarzenie, które oznjamia o zakończenia słuchania mowy podczas nasłuchiwania słowa kluczowego.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_11 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Pokazuje widżet pogody.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_12 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Ukrywa widżet pogody.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_13 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Pokazuje widżet czasu.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_14 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Ukrywa widżet czasu.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_15 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Pokazuje widżet z wiadomościami Tvn.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_16 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Pokazuje widżet z wiadomościami Polsatu.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_17 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Ukrywa wszystkie wiadomości.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_18 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Pokazuje widżet kalendarza.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_19 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Ukrywa widżet kalendarza.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_20 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Zmienia miesiąć kalendarza na kolejny.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_21 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Zmienia miesiąć kalendarza na poprzedni.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_22 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Wyświetla powiadomienie o błędzie.
*
* @param message w parametrze zwraca wiadomość błędu.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_23 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Zamyka okno aplikacji.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_24 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Uruchamia ponownie aplikację.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16289_25 | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... | hypeapps/black-mirror | app/src/main/java/pl/hypeapps/blackmirror/ui/features/home/HomeActivity.java | 2,851 | /**
* Uruchamia ponownie aplikację.
*/ | block_comment | pl | package pl.hypeapps.blackmirror.ui.features.home;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
impo... |
16291_0 | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... | Aktyn/kulka-w-tarapatach | src/gra/Weather.java | 1,091 | //typ pogody: 0 - snieg, 1 - deszcz
| line_comment | pl | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... |
16291_1 | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... | Aktyn/kulka-w-tarapatach | src/gra/Weather.java | 1,091 | //obiekt potrzebny do generowania losowych wartosci czasteczek
| line_comment | pl | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... |
16291_2 | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... | Aktyn/kulka-w-tarapatach | src/gra/Weather.java | 1,091 | //odlcizanie czasu do mozliwego stworzenia nowej czasteczki
| line_comment | pl | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... |
16291_3 | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... | Aktyn/kulka-w-tarapatach | src/gra/Weather.java | 1,091 | //czestotliwosc generowania nowych czasteczek
| line_comment | pl | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... |
16291_4 | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... | Aktyn/kulka-w-tarapatach | src/gra/Weather.java | 1,091 | //obliczenia czasteczek pogody
| line_comment | pl | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... |
16291_5 | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... | Aktyn/kulka-w-tarapatach | src/gra/Weather.java | 1,091 | //liczenie czasu do mozliwosci generowania nowej czasteczki
| line_comment | pl | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... |
16291_6 | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... | Aktyn/kulka-w-tarapatach | src/gra/Weather.java | 1,091 | //czyszczenie textury z opengl
| line_comment | pl | package gra;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBindTexture;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gui.Bounds;
import org.newdawn.slick.opengl.Texture;
public class Weather {
private Texture texture;//... |
16293_0 | package chmura.przykłady.ProducenciKonsumenci;
class Opcje {
static final int bufor = 2;
static final int iluProducentow = 8;
static final int iluKonsumentow = 8;
// czas w milisekundach, jednorodne prawdopodobieństwo dla czasów z zakresu
static final int[] zakresCzasuProd = new int[]{2000, 3000};... | mbalc/college | 2.1/PW/Java/task/chmura/src/chmura/przykłady/ProducenciKonsumenci/Opcje.java | 274 | // czas w milisekundach, jednorodne prawdopodobieństwo dla czasów z zakresu | line_comment | pl | package chmura.przykłady.ProducenciKonsumenci;
class Opcje {
static final int bufor = 2;
static final int iluProducentow = 8;
static final int iluKonsumentow = 8;
// czas w <SUF>
static final int[] zakresCzasuProd = new int[]{2000, 3000};
static final int[] zakresCzasuKons = new int[]{4000, 50... |
16293_1 | package chmura.przykłady.ProducenciKonsumenci;
class Opcje {
static final int bufor = 2;
static final int iluProducentow = 8;
static final int iluKonsumentow = 8;
// czas w milisekundach, jednorodne prawdopodobieństwo dla czasów z zakresu
static final int[] zakresCzasuProd = new int[]{2000, 3000};... | mbalc/college | 2.1/PW/Java/task/chmura/src/chmura/przykłady/ProducenciKonsumenci/Opcje.java | 274 | // tylko do testów - równoznaczne ze zwiększeniem zakresCzasuProd | line_comment | pl | package chmura.przykłady.ProducenciKonsumenci;
class Opcje {
static final int bufor = 2;
static final int iluProducentow = 8;
static final int iluKonsumentow = 8;
// czas w milisekundach, jednorodne prawdopodobieństwo dla czasów z zakresu
static final int[] zakresCzasuProd = new int[]{2000, 3000};... |
16293_2 | package chmura.przykłady.ProducenciKonsumenci;
class Opcje {
static final int bufor = 2;
static final int iluProducentow = 8;
static final int iluKonsumentow = 8;
// czas w milisekundach, jednorodne prawdopodobieństwo dla czasów z zakresu
static final int[] zakresCzasuProd = new int[]{2000, 3000};... | mbalc/college | 2.1/PW/Java/task/chmura/src/chmura/przykłady/ProducenciKonsumenci/Opcje.java | 274 | // tylko do testów - równoznaczne ze zwiększeniem zakresCzasuKons | line_comment | pl | package chmura.przykłady.ProducenciKonsumenci;
class Opcje {
static final int bufor = 2;
static final int iluProducentow = 8;
static final int iluKonsumentow = 8;
// czas w milisekundach, jednorodne prawdopodobieństwo dla czasów z zakresu
static final int[] zakresCzasuProd = new int[]{2000, 3000};... |
16295_0 | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... | OstryDzik/TrafficControl | src/Lights/CrossingLights.java | 1,026 | // Czas trwania swiatel | line_comment | pl | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... |
16295_1 | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... | OstryDzik/TrafficControl | src/Lights/CrossingLights.java | 1,026 | // w "kwantach" czasu | line_comment | pl | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... |
16295_2 | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... | OstryDzik/TrafficControl | src/Lights/CrossingLights.java | 1,026 | // Interfejs dostepu do stanu swiatel | line_comment | pl | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... |
16295_3 | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... | OstryDzik/TrafficControl | src/Lights/CrossingLights.java | 1,026 | // Ustawia dane o gestosci ruchu w obu kierunkach | line_comment | pl | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... |
16295_4 | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... | OstryDzik/TrafficControl | src/Lights/CrossingLights.java | 1,026 | /**
* Trigger dla kolejnego kwantu czasu na swiatlach
* @return true, jesli stan swiatel zostal zmieniony
* false, wpp
*/ | block_comment | pl | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... |
16295_5 | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... | OstryDzik/TrafficControl | src/Lights/CrossingLights.java | 1,026 | // ewentualna interwencja automatu | line_comment | pl | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... |
16295_6 | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... | OstryDzik/TrafficControl | src/Lights/CrossingLights.java | 1,026 | /**
* Zmienia swiatla na przeciwne
*/ | block_comment | pl | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... |
16295_11 | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... | OstryDzik/TrafficControl | src/Lights/CrossingLights.java | 1,026 | /**
* Resetuje swiatla, tj wszystkie ustawienia gestosci ruchu,
* pozostalych tickow etc, kolor pozostaje bez zmian
*/ | block_comment | pl | package Lights;
import java.util.HashMap;
public class CrossingLights {
private final static int DEFAULT_TICK_COUNT = 12;
private final static int YELLOW_TICKS = 2;
public enum State{
GREEN, // poziomo zielone
YELLOW,
YELLOW_VERTICAL,
RED, // poziomo czerwone
}
private State horizo... |
16304_2 | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... | gre123/SmartParkowanie | SmartParkowanie/src/Data/Simulator.java | 1,617 | /**
* Konstruktor przyjmuje wygenerowan� list� pojazd�w bior�cych udzia� w symulacji
* Godzina symulacji zostaje ustawiona na 00:00
* @param vehicleList
*/ | block_comment | pl | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... |
16304_5 | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... | gre123/SmartParkowanie | SmartParkowanie/src/Data/Simulator.java | 1,617 | /**
* Metoda wykorzystywana przy symulacji- manipulacja wirtualnym czasem. Inkrementacja minut.
*/ | block_comment | pl | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... |
16304_6 | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... | gre123/SmartParkowanie | SmartParkowanie/src/Data/Simulator.java | 1,617 | /**
* Metoda wykorzystywana przy symulacji- manipulacja wirtualnym czasem. Inkrementacja godzin.
*/ | block_comment | pl | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... |
16304_7 | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... | gre123/SmartParkowanie | SmartParkowanie/src/Data/Simulator.java | 1,617 | /**
* Metoda realizuj�ca symulacj� przep�ywu czasu.
*/ | block_comment | pl | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... |
16304_9 | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... | gre123/SmartParkowanie | SmartParkowanie/src/Data/Simulator.java | 1,617 | /**
* Metoda ustawiaj�ca godziene wirtualnego czasu symulacji.
* @param val
*/ | block_comment | pl | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... |
16304_10 | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... | gre123/SmartParkowanie | SmartParkowanie/src/Data/Simulator.java | 1,617 | /**
* Metoda ustawiaj�ca minute wirtualnego czasu symulacji.
* @param val
*/ | block_comment | pl | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... |
16304_12 | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... | gre123/SmartParkowanie | SmartParkowanie/src/Data/Simulator.java | 1,617 | /**
* Metoda zwraca list� pojazd�w.
* @return
*/ | block_comment | pl | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... |
16304_13 | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... | gre123/SmartParkowanie | SmartParkowanie/src/Data/Simulator.java | 1,617 | /**
* Metoda zwraca aktualn� godzin� wirtualnego czasu symulacji.
* @return
*/ | block_comment | pl | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... |
16304_14 | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... | gre123/SmartParkowanie | SmartParkowanie/src/Data/Simulator.java | 1,617 | /**
* Metoda zwraca aktualn� minut� wirtuualnego czasu symulacji.
* @return
*/ | block_comment | pl | package Data;
import Model.Vehicle;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TreeMap;
import javax.swing.JLabel;
public class Simulator {
//*******************************************************************... |
16305_0 | package sklep;
import relokacjasezonowa.*;
import relokacjawzgledempopytu.Metoda1;
import relokacjawzgledempopytu.Metoda2;
import relokacjawzgledempopytu.Metoda3;
import relokacjawzgledempopytu.RelokacjaWzgledemPopytu;
import javax.swing.table.DefaultTableModel;
import java.io.*;
import java.lang.reflect.Array;
impor... | poradajakub/Projekt-Sklep | src/sklep/Sklep.java | 4,253 | // tablica z regałami | line_comment | pl | package sklep;
import relokacjasezonowa.*;
import relokacjawzgledempopytu.Metoda1;
import relokacjawzgledempopytu.Metoda2;
import relokacjawzgledempopytu.Metoda3;
import relokacjawzgledempopytu.RelokacjaWzgledemPopytu;
import javax.swing.table.DefaultTableModel;
import java.io.*;
import java.lang.reflect.Array;
impor... |
16305_1 | package sklep;
import relokacjasezonowa.*;
import relokacjawzgledempopytu.Metoda1;
import relokacjawzgledempopytu.Metoda2;
import relokacjawzgledempopytu.Metoda3;
import relokacjawzgledempopytu.RelokacjaWzgledemPopytu;
import javax.swing.table.DefaultTableModel;
import java.io.*;
import java.lang.reflect.Array;
impor... | poradajakub/Projekt-Sklep | src/sklep/Sklep.java | 4,253 | //który jest tydzień symulacji zaczynamy 1 | line_comment | pl | package sklep;
import relokacjasezonowa.*;
import relokacjawzgledempopytu.Metoda1;
import relokacjawzgledempopytu.Metoda2;
import relokacjawzgledempopytu.Metoda3;
import relokacjawzgledempopytu.RelokacjaWzgledemPopytu;
import javax.swing.table.DefaultTableModel;
import java.io.*;
import java.lang.reflect.Array;
impor... |
16305_2 | package sklep;
import relokacjasezonowa.*;
import relokacjawzgledempopytu.Metoda1;
import relokacjawzgledempopytu.Metoda2;
import relokacjawzgledempopytu.Metoda3;
import relokacjawzgledempopytu.RelokacjaWzgledemPopytu;
import javax.swing.table.DefaultTableModel;
import java.io.*;
import java.lang.reflect.Array;
impor... | poradajakub/Projekt-Sklep | src/sklep/Sklep.java | 4,253 | //ilość regałów na ten moment 4 | line_comment | pl | package sklep;
import relokacjasezonowa.*;
import relokacjawzgledempopytu.Metoda1;
import relokacjawzgledempopytu.Metoda2;
import relokacjawzgledempopytu.Metoda3;
import relokacjawzgledempopytu.RelokacjaWzgledemPopytu;
import javax.swing.table.DefaultTableModel;
import java.io.*;
import java.lang.reflect.Array;
impor... |
16305_3 | package sklep;
import relokacjasezonowa.*;
import relokacjawzgledempopytu.Metoda1;
import relokacjawzgledempopytu.Metoda2;
import relokacjawzgledempopytu.Metoda3;
import relokacjawzgledempopytu.RelokacjaWzgledemPopytu;
import javax.swing.table.DefaultTableModel;
import java.io.*;
import java.lang.reflect.Array;
impor... | poradajakub/Projekt-Sklep | src/sklep/Sklep.java | 4,253 | //domyślny jego używamy | line_comment | pl | package sklep;
import relokacjasezonowa.*;
import relokacjawzgledempopytu.Metoda1;
import relokacjawzgledempopytu.Metoda2;
import relokacjawzgledempopytu.Metoda3;
import relokacjawzgledempopytu.RelokacjaWzgledemPopytu;
import javax.swing.table.DefaultTableModel;
import java.io.*;
import java.lang.reflect.Array;
impor... |
16305_4 | package sklep;
import relokacjasezonowa.*;
import relokacjawzgledempopytu.Metoda1;
import relokacjawzgledempopytu.Metoda2;
import relokacjawzgledempopytu.Metoda3;
import relokacjawzgledempopytu.RelokacjaWzgledemPopytu;
import javax.swing.table.DefaultTableModel;
import java.io.*;
import java.lang.reflect.Array;
impor... | poradajakub/Projekt-Sklep | src/sklep/Sklep.java | 4,253 | // System.out.println(dostawa[i][0]+" "+dostawa[i][1]+" "+dostawa[i][2]+" "+dostawa[i][3]+" "+dostawa[i][4]+" "+dostawa[i][5]+" "); | line_comment | pl | package sklep;
import relokacjasezonowa.*;
import relokacjawzgledempopytu.Metoda1;
import relokacjawzgledempopytu.Metoda2;
import relokacjawzgledempopytu.Metoda3;
import relokacjawzgledempopytu.RelokacjaWzgledemPopytu;
import javax.swing.table.DefaultTableModel;
import java.io.*;
import java.lang.reflect.Array;
impor... |
16305_5 | package sklep;
import relokacjasezonowa.*;
import relokacjawzgledempopytu.Metoda1;
import relokacjawzgledempopytu.Metoda2;
import relokacjawzgledempopytu.Metoda3;
import relokacjawzgledempopytu.RelokacjaWzgledemPopytu;
import javax.swing.table.DefaultTableModel;
import java.io.*;
import java.lang.reflect.Array;
impor... | poradajakub/Projekt-Sklep | src/sklep/Sklep.java | 4,253 | /*for(Produkt produkt: promocja) {
if (produkt.getCzyPromocja()) {
Object[] wiersze = {
produkt.getTypProduktu(), produkt.getProducent(), produkt.getCena(), produkt.getWartoscPromocji(), produkt.getDataWaznosci()
};
tabela.addRow(wiersz... | block_comment | pl | package sklep;
import relokacjasezonowa.*;
import relokacjawzgledempopytu.Metoda1;
import relokacjawzgledempopytu.Metoda2;
import relokacjawzgledempopytu.Metoda3;
import relokacjawzgledempopytu.RelokacjaWzgledemPopytu;
import javax.swing.table.DefaultTableModel;
import java.io.*;
import java.lang.reflect.Array;
impor... |
16311_0 | package logicLayer.Route;
import java.text.DecimalFormat;
import java.time.Duration;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
/**
* Klasa odpowiedzialna za trasy uzytkownika, rozszeza klase Kilometrage.
* Trasa sklada sie z: lokacji poczatkowej, lokacji koncowej, czasu trwania, dat... | bruderooo/Dashboard | src/logicLayer/Route/Route.java | 1,085 | /**
* Klasa odpowiedzialna za trasy uzytkownika, rozszeza klase Kilometrage.
* Trasa sklada sie z: lokacji poczatkowej, lokacji koncowej, czasu trwania, daty i czasu poczatku, daty i czasu konca.
*
* @author Daniel Londka
* @author Szymon Jacon
*
* @see logicLayer.Route.Kilometrage
*/ | block_comment | pl | package logicLayer.Route;
import java.text.DecimalFormat;
import java.time.Duration;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
/**
* Klasa odpowiedzialna za <SUF>*/
public class Route extends Kilometrage {
private String startingLocation;
private String endLocation = null;
... |
16311_2 | package logicLayer.Route;
import java.text.DecimalFormat;
import java.time.Duration;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
/**
* Klasa odpowiedzialna za trasy uzytkownika, rozszeza klase Kilometrage.
* Trasa sklada sie z: lokacji poczatkowej, lokacji koncowej, czasu trwania, dat... | bruderooo/Dashboard | src/logicLayer/Route/Route.java | 1,085 | /**
* Konstruktor przyjmujacy lokalizacje poczatkowa i obecny przebieg calkowity pojazdu,
* do obliczenia pozniej dlugosci trasy.
*
* @param routeLength obecny przebieg calkowity pojazdu
* @param startingLocation lokalizacja poczatkowa
*/ | block_comment | pl | package logicLayer.Route;
import java.text.DecimalFormat;
import java.time.Duration;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
/**
* Klasa odpowiedzialna za trasy uzytkownika, rozszeza klase Kilometrage.
* Trasa sklada sie z: lokacji poczatkowej, lokacji koncowej, czasu trwania, dat... |
16311_3 | package logicLayer.Route;
import java.text.DecimalFormat;
import java.time.Duration;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
/**
* Klasa odpowiedzialna za trasy uzytkownika, rozszeza klase Kilometrage.
* Trasa sklada sie z: lokacji poczatkowej, lokacji koncowej, czasu trwania, dat... | bruderooo/Dashboard | src/logicLayer/Route/Route.java | 1,085 | /**
* Metoda odpowiedzialna za zakonczenie trasy przyjmuje lokalizacje koncowa i
* roznice calkowietego przebiegu pojazdu oraz przebiegu zapisanego wczesniej
* w polu route lenght, która jest dlugoscia trasy.
*
* @param endLocation lokalizacja koncowa
* @param routeLength roznica obecnego ... | block_comment | pl | package logicLayer.Route;
import java.text.DecimalFormat;
import java.time.Duration;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
/**
* Klasa odpowiedzialna za trasy uzytkownika, rozszeza klase Kilometrage.
* Trasa sklada sie z: lokacji poczatkowej, lokacji koncowej, czasu trwania, dat... |
16311_4 | package logicLayer.Route;
import java.text.DecimalFormat;
import java.time.Duration;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
/**
* Klasa odpowiedzialna za trasy uzytkownika, rozszeza klase Kilometrage.
* Trasa sklada sie z: lokacji poczatkowej, lokacji koncowej, czasu trwania, dat... | bruderooo/Dashboard | src/logicLayer/Route/Route.java | 1,085 | /**
* Metoda przeksztalcajaca obiekt do postaci lancucha znakow, ktory jest uzywany do wyswietlania tras
* w przeznaczonym do tego oknie.
*
* @return lancuch znakow bedacy reprezentacja obiektu
*/ | block_comment | pl | package logicLayer.Route;
import java.text.DecimalFormat;
import java.time.Duration;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
/**
* Klasa odpowiedzialna za trasy uzytkownika, rozszeza klase Kilometrage.
* Trasa sklada sie z: lokacji poczatkowej, lokacji koncowej, czasu trwania, dat... |
16312_0 | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... | Wojtek120/IMU-velocity-and-displacement-measurements | AndroidApp/app/src/main/java/com/example/wojciech/program/DataProcessing.java | 4,262 | /**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/ | block_comment | pl | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której <SUF>*/
public class DataProcessing
{
/** Kontekst */
private Context context;
/** Wektor z wartsciami czasu i predkosci w moment... |
16312_1 | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... | Wojtek120/IMU-velocity-and-displacement-measurements | AndroidApp/app/src/main/java/com/example/wojciech/program/DataProcessing.java | 4,262 | /** Wektor z wartsciami czasu i predkosci w momentach przejsc z stanu statycvznego do ruchu i na odwrot */ | block_comment | pl | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... |
16312_2 | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... | Wojtek120/IMU-velocity-and-displacement-measurements | AndroidApp/app/src/main/java/com/example/wojciech/program/DataProcessing.java | 4,262 | /** Wektor z wartsciami czasu i predkosci w momentach przejsc z stanu statycvznego do ruchu i na odwrot */ | block_comment | pl | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... |
16312_3 | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... | Wojtek120/IMU-velocity-and-displacement-measurements | AndroidApp/app/src/main/java/com/example/wojciech/program/DataProcessing.java | 4,262 | /** Wektor z wartsciami czasu i predkosci w momentach przejsc z stanu statycvznego do ruchu i na odwrot */ | block_comment | pl | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... |
16312_5 | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... | Wojtek120/IMU-velocity-and-displacement-measurements | AndroidApp/app/src/main/java/com/example/wojciech/program/DataProcessing.java | 4,262 | /**
* Wczytanie danych i obliczanie orientacji, predkosci, kompensacja jej i przemieszczen
*/ | block_comment | pl | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... |
16312_6 | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... | Wojtek120/IMU-velocity-and-displacement-measurements | AndroidApp/app/src/main/java/com/example/wojciech/program/DataProcessing.java | 4,262 | //Filtracja filtrem Madgwicka | line_comment | pl | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... |
16312_7 | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... | Wojtek120/IMU-velocity-and-displacement-measurements | AndroidApp/app/src/main/java/com/example/wojciech/program/DataProcessing.java | 4,262 | //Detekcja stanu statycznego | line_comment | pl | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... |
16312_11 | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... | Wojtek120/IMU-velocity-and-displacement-measurements | AndroidApp/app/src/main/java/com/example/wojciech/program/DataProcessing.java | 4,262 | //dodanie predkosci i czasow w momencie rozpoczecia ruchy | line_comment | pl | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... |
16312_12 | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... | Wojtek120/IMU-velocity-and-displacement-measurements | AndroidApp/app/src/main/java/com/example/wojciech/program/DataProcessing.java | 4,262 | //dodanie predkosci i czasow w momencie zakonczenia ruchy | line_comment | pl | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... |
16312_13 | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... | Wojtek120/IMU-velocity-and-displacement-measurements | AndroidApp/app/src/main/java/com/example/wojciech/program/DataProcessing.java | 4,262 | /**
* Kompensacji predkosci i obliczanie przemieszczen
*/ | block_comment | pl | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... |
16312_17 | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... | Wojtek120/IMU-velocity-and-displacement-measurements | AndroidApp/app/src/main/java/com/example/wojciech/program/DataProcessing.java | 4,262 | /**
* Obliczenie wartosci funkcji liniowej na podstawie dwoch podanych punktow
* @param x - wspolrzedne x punktow
* @param y - wspolrzedne y punktow
* @param value - wpolrzedna x punktu do obliczenia jego wartosci
* @return wartosc y
*/ | block_comment | pl | package com.example.wojciech.program;
import android.content.Context;
import android.database.Cursor;
import android.util.Pair;
import java.util.Vector;
/**
* Klasa w której są przetwarzane dany - z pomiarów pozyskiwane wyniki prędkości oraz przyspieszeń
*/
public class DataProcessing
{
/** Kontekst */
pri... |
16315_1 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Zawiera pomocnicze stałe i funkcje
*
* @author Juliusz Jezierski
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_3 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Maksymalny czas oczekiwania na zakończenie operacji odczytu
* ze strumienia danych równy wyrażony w milisekundach.
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_4 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* String reprezentujący Czas Startowy A4P. Nie używany bo jest równy czasowi
* startowemu wykorzystywanemu przez Javą.
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_5 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Liczba sekund od początku January 1, 1970, 00:00:00 UTC do Czasu Startowego A4P, czyli 0.
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_7 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Kalendarz dla czasu UTC
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_8 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Zamienia long na tablicę bajtów według Little Endian.
*
* @param data zamieniany long
* @param i liczba bajtów z longa, który jest zamieniany
* @return zwracany tablicę bajtów
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_9 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Wstawia long do tablicy bajtów według Little Endian.
*
* @param output tablica bajtów, do której jest wstawiany long
* @param start pozycja w tablicy, od której jest wstawiany long
* @param input wstawiany long
* @param size liczba najmłodszych bajtów longa wstawianych do tablicy
... | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_10 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Zamienia fragment tablicy bajtów na longa według Little Endian.
*
* @param data zamieniana tablica bajtów
* @param start indeks najmłodzego bajtu fragmetu zamienianego na long
* @param size liczba bajtów tablicy zamienianych na long
* @return zamieniony long
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_11 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Zamienia fragment tablicy bajtów na longa według Little Endian.
*
* @param data zamieniana tablica bajtów
* @param size liczba bajtów tablicy zamienianych na long
* @return zamieniony long
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_12 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Zamienia tablicę 2 bajtów na opis wersji (zgodnie z opisem z dokumentacji)
* @param data
* @return zamieniony numter wersji.
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_13 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Zamienia liczbowy typ portu urządzenia na nazwę typu portu.
*
* @param portType liczbowy typ portu
* @return nazwa typu portu
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_14 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Zamienia t na liczbę sekund od Czasu Startowego
* @param t zamieniany Timestamp
* @return liczba sekund od Czasu Startowego
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_15 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Ustawia t na liczbę sekund od Czasu Startowego
* @param t ustawiany Timestamp
* @param secondsTime liczba sekund od Czasu Startowego
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_16 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Zamienia liczbę sekund od Czasu Startowego na Timestamp
* @param secondsTime liczba sekund od Czasu Startowego
* @return zwracany Timestamp
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_17 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Wysyła polecenie do strumienia reprezentującego połączenie do koncentratora
* @param outputStream strumień wyjściowy reprezentujący połączenie do koncentratora
* @param command wysyłane polecenie w postaci dwóch najmłodszych bajtów
* @throws MeteringSessionException
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_18 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Wysyła polecenie wraz z parametrami do strumienia reprezentującego połączenie do koncentratora
* @param outputStream strumień wyjściowy reprezentujący połączenie do koncentratora
* @param command wysyłane polecenie w postaci dwóch najmłodszych bajtów
* @param data parametry polecenia
* @t... | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_19 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Czyści strumień wejściowy reprezentujący połączenie z koncentratora
* @param inputStream strumień wejściowy reprezentujący połączenie z koncentratora
* @throws MeteringSessionSPException w przypadku wystąpienia wyjątku we-wy przy operacji na strumieniu
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_20 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Odczytuje dane ze strumienia wejściowego reprezentującego połączenie z koncentratora
* @param inputStream strumień wejściowy reprezentujący połączenie z koncentratora
* @param buf tablica wypełniana odczytanymi bajtami
* @param size liczba bajtów do odczytania
* @return liczba odczytanych... | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16315_21 | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... | haldiraros/DataAcquisitor | src/hubLibrary/meteringcomreader/Utils.java | 5,089 | /**
* Zamienia heksadecymalny identyfikator urządzenia z pominięciem prefiksu obszaru aplikacji
* na longa
* @param measurerNo heksadecymalny identyfikator urządzenia z prefiksem obszaru aplikacji
* @return zamieniony long
*/ | block_comment | pl | /*
* Copyright (C) 2015 Juliusz Jezierski
*
* 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 ... |
16334_0 |
package mines.model;
/**
* Klasa obsługuje stan czasu rozgrywki.
* @author wojciech
*/
public class Time {
private int second = 0;
public void setTime(int second) {
this.second = second;
}
public void incrementSecond() {
second++;
}
public int getTime() {
return ... | shoter/Saper | src/mines/model/Time.java | 110 | /**
* Klasa obsługuje stan czasu rozgrywki.
* @author wojciech
*/ | block_comment | pl |
package mines.model;
/**
* Klasa obsługuje stan <SUF>*/
public class Time {
private int second = 0;
public void setTime(int second) {
this.second = second;
}
public void incrementSecond() {
second++;
}
public int getTime() {
return second;
}
}
|
16340_1 |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... | 201idzb/project | AL/src/testandexceptions/TestFileInputAdapter.java | 2,651 | /** Zmienna do przechowywania kolumny timestamp (czas zdarzenia). */ | block_comment | pl |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... |
16340_2 |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... | 201idzb/project | AL/src/testandexceptions/TestFileInputAdapter.java | 2,651 | /** Zmienna do przechowywania kolumny loglevel (typ zdarzenia). */ | block_comment | pl |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... |
16340_3 |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... | 201idzb/project | AL/src/testandexceptions/TestFileInputAdapter.java | 2,651 | /** Zmienna do przechowywania kolumny details (opis zdarzenia). */ | block_comment | pl |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... |
16340_4 |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... | 201idzb/project | AL/src/testandexceptions/TestFileInputAdapter.java | 2,651 | /** Zmienna do przechowywania kolejnych spacji w linii z loga. */ | block_comment | pl |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... |
16340_5 |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... | 201idzb/project | AL/src/testandexceptions/TestFileInputAdapter.java | 2,651 | // Testy akceptacyjne - "czarnoskrzynkowe":
| line_comment | pl |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... |
16340_8 |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... | 201idzb/project | AL/src/testandexceptions/TestFileInputAdapter.java | 2,651 | // Powodowalo to, ze nie wszystkie Zdarzenia byly dodawane,
| line_comment | pl |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... |
16340_9 |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... | 201idzb/project | AL/src/testandexceptions/TestFileInputAdapter.java | 2,651 | // zamiast 32 zdarzen (z 38 linii loga) dodalo jedynie 18.
| line_comment | pl |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... |
16340_11 |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... | 201idzb/project | AL/src/testandexceptions/TestFileInputAdapter.java | 2,651 | // i metoda dodawala 32 zdarzenia z 38 linii loga
| line_comment | pl |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... |
16340_12 |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... | 201idzb/project | AL/src/testandexceptions/TestFileInputAdapter.java | 2,651 | // (poprawnie, 6 linii bylo pustych)
| line_comment | pl |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... |
16340_13 |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... | 201idzb/project | AL/src/testandexceptions/TestFileInputAdapter.java | 2,651 | /** metoda testujaca
* sprawdza czy poprawnie wycina kolumne Timestamp.
*/ | block_comment | pl |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... |
16340_14 |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... | 201idzb/project | AL/src/testandexceptions/TestFileInputAdapter.java | 2,651 | /** Format czasu zdarzenia. */ | block_comment | pl |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... |
16340_15 |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... | 201idzb/project | AL/src/testandexceptions/TestFileInputAdapter.java | 2,651 | /** metoda testujaca
* sprawdza czy poprawnie wycina kolumne Timestamp.
*/ | block_comment | pl |
package testandexceptions;
import static org.junit.Assert.assertEquals;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
/** klasa testujaca FileInputAdapter.
* @author Mate... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.