file_id stringlengths 3 9 | content stringlengths 207 36.5k | repo stringlengths 9 109 | path stringlengths 8 157 | token_length int64 91 8.11k | original_comment stringlengths 7 3.46k | comment_type stringclasses 2
values | detected_lang stringclasses 1
value | prompt stringlengths 137 36.4k |
|---|---|---|---|---|---|---|---|---|
5474_4 | package com.unipi.vnikolis.unipismartalert;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import android.widget.Toast;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
i... | 3ngk1sha/DangerDetect | app/src/main/java/com/unipi/vnikolis/unipismartalert/MapsActivity.java | 1,814 | //εαν πατηθεί το κουμπί "Maps" | line_comment | el | package com.unipi.vnikolis.unipismartalert;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import android.widget.Toast;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
i... |
5457_0 | package info.android_angel.navigationdrawer.model_movie_get_latest;
/**
* Created by ANGELOS on 2017.
*
* Δεν έχει κάτι το object. Το αφήνω κενό.
*
*/
public class MovieGetLatest_spoken_languages {
}
| ANGELOS-TSILAFAKIS/NavigationDrawerPublic | app/src/main/java/info/android_angel/navigationdrawer/model_movie_get_latest/MovieGetLatest_spoken_languages.java | 91 | /**
* Created by ANGELOS on 2017.
*
* Δεν έχει κάτι το object. Το αφήνω κενό.
*
*/ | block_comment | el | package info.android_angel.navigationdrawer.model_movie_get_latest;
/**
* Cre<SUF>*/
public class MovieGetLatest_spoken_languages {
}
|
17272_21 | package eu.europeana.corelib.edm.utils;
import eu.europeana.corelib.definitions.edm.model.metainfo.ImageOrientation;
import eu.europeana.corelib.definitions.solr.DocType;
import eu.europeana.corelib.edm.model.metainfo.ImageMetaInfoImpl;
import eu.europeana.corelib.edm.model.metainfo.VideoMetaInfoImpl;
import eu.europe... | Abbe98/corelib | corelib-schemaorg/src/test/java/eu/europeana/corelib/edm/utils/MockFullBean.java | 6,557 | //el.dbpedia.org/resource/Γεωργία_(δραστηριότητα)"}); | line_comment | el | package eu.europeana.corelib.edm.utils;
import eu.europeana.corelib.definitions.edm.model.metainfo.ImageOrientation;
import eu.europeana.corelib.definitions.solr.DocType;
import eu.europeana.corelib.edm.model.metainfo.ImageMetaInfoImpl;
import eu.europeana.corelib.edm.model.metainfo.VideoMetaInfoImpl;
import eu.europe... |
11039_4 | package gr.rambou.myicarus;
import android.util.Log;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.CookieStore;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.protocol.ClientContext;
import... | AegeanHawks/MobileIcarus | app/src/main/java/gr/rambou/myicarus/Icarus.java | 3,246 | //Παίρνουμε τα cookies | line_comment | el | package gr.rambou.myicarus;
import android.util.Log;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.CookieStore;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.protocol.ClientContext;
import... |
32051_29 | package com.kospeac.smartgreecealert;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.PackageManager;
import android.location.Location;
import andr... | Afrodith/SmartAlertGreece | app/src/main/java/com/kospeac/smartgreecealert/MainActivity.java | 3,938 | //αμα δεν υπαρχει αλλος κοντινος χρηστης τοτε δεν γινεται event earthquake | line_comment | el | package com.kospeac.smartgreecealert;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.PackageManager;
import android.location.Location;
import andr... |
18080_13 | package gr.aueb;
import org.apiguardian.api.API;
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.List;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileReader;
import java.io.PrintStream;
import java.net.U... | Aglag257/Java2_AIApp | app/src/test/java/gr/aueb/BonusContentTest.java | 1,653 | // Καλείστε τη στατική μέθοδο wrapper στην κλάση δοκιμών | line_comment | el | package gr.aueb;
import org.apiguardian.api.API;
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.List;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileReader;
import java.io.PrintStream;
import java.net.U... |
10206_35 | package com.example.hangmangame;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.event.Event;
import javafx.fxml.FXML;
import javafx.scene.control.*;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import... | Aglogallos/Hangman-Game-JavaFx | Hangman_Game/Hangman-Game/src/main/java/com/example/hangmangame/Controller.java | 3,768 | /*Rounds: Μέσω ενός popup παραθύρου θα παρουσιάζει για τα 5
τελευταία ολοκληρωμένα παιχνίδια τις παρακάτω πληροφορίες:
επιλεγμένη λέξη, πλήθος προσπαθειών και νικητή (παίκτης ή
υπολογιστής).
*/ | block_comment | el | package com.example.hangmangame;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.event.Event;
import javafx.fxml.FXML;
import javafx.scene.control.*;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import... |
6074_0 | package booking;
import java.nio.file.Path;
import java.util.HashMap;
import java.util.Map;
public class AvailabilityOfAccommodations implements Runnable{
private Map<String, ReservationDateRange> roomAvailability;
@Override
public void run() {
// Εδώ μπορείτε να ορίσετε μια συνεχή λειτουργία που... | AikVant/distributed_booking_2024 | src/main/java/booking/AvailabilityOfAccommodations.java | 1,206 | // Εδώ μπορείτε να ορίσετε μια συνεχή λειτουργία που θα εκτελείται από το νήμα | line_comment | el | package booking;
import java.nio.file.Path;
import java.util.HashMap;
import java.util.Map;
public class AvailabilityOfAccommodations implements Runnable{
private Map<String, ReservationDateRange> roomAvailability;
@Override
public void run() {
// Εδ<SUF>
while (true) {
// Προ... |
7912_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 com.sphy141.probase.utils;
/**
*
* @author Alan
*/
import java.security.MessageDigest;
import java.security.NoSuchAlgorith... | Alan-III/GroupBuy | groupBuyNetbeans/src/main/java/com/sphy141/probase/utils/CryptoUtils.java | 989 | /*επειδή ο hash-256 είναι μονόδρομος αλγόριθμος κρυπρογάφισης
χρησιμοποιώ τον αλγόριθμο AES προκειμένου να δημιουργήσω μία κρυπτογράφιση για τα δεδομένα της βάσης που είνια ευαίσθητα πχ χρήστη και επιχειρήσεων*/ | block_comment | el | /*
* 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 com.sphy141.probase.utils;
/**
*
* @author Alan
*/
import java.security.MessageDigest;
import java.security.NoSuchAlgorith... |
5142_0 | import java.time.LocalDate;
import java.util.ArrayList;
import java.util.TimerTask;
/*Κλάση <SystemNοtifications>
Η κλάση αυτή αφορά τις ενέργειες του συστήματος οι οποίες εξαρτώνται άμεσα απο τον χρόνο.
Συγκεκριμένα εξυπηρετεί τις περιπτώσεις χρήσης:
Penalty - Use Case Code: 26 (X02),Warning - Use Case Code: 2... | AlexMitsis/LibSoft | src/SystemNotification.java | 1,124 | /*Κλάση <SystemNοtifications>
Η κλάση αυτή αφορά τις ενέργειες του συστήματος οι οποίες εξαρτώνται άμεσα απο τον χρόνο.
Συγκεκριμένα εξυπηρετεί τις περιπτώσεις χρήσης:
Penalty - Use Case Code: 26 (X02),Warning - Use Case Code: 25 (X03)*/ | block_comment | el | import java.time.LocalDate;
import java.util.ArrayList;
import java.util.TimerTask;
/*Κλά<SUF>*/
public class SystemNotification extends TimerTask {
//synarthsh-thread gia ton taktiko elegxo twn kyrwsewn.kaleitai sthn main
public static void checkforActions() {
Warning.checkforWarning();
Penalty.c... |
13673_4 | package gr.aueb.dmst.T21;
import java.util.Scanner;
public class TestApp {
static App app = new App(); // make app global and static
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("Run the program (1)\nExit (0)");
int choice = sc.nextInt... | Alexandra-Stath/Finding-Spare-Parts-Using-AI | Finding-Spare-Parts-Using-AI/src/main/java/gr/aueb/dmst/T21/TestApp.java | 498 | // Διαβάζει την αλλαγή γραμμής που παρέμεινε στο buffer | line_comment | el | package gr.aueb.dmst.T21;
import java.util.Scanner;
public class TestApp {
static App app = new App(); // make app global and static
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("Run the program (1)\nExit (0)");
int choice = sc.nextInt... |
7767_19 | //Δημιουργία κατηγορίας Enroll
package javaproject;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.io.*;
import java.util.logging.Level;
import java.util.logging.Logger;
public class EnrollFrame extends JFrame
{
//Κομμάτι δηλώσεων
private Arra... | AlexandrosPanag/My_Java_Projects | Lesson Enrollment Project/EnrollFrame.java | 2,426 | //Φτιάχνοντας το EnrollFrame
| line_comment | el | //Δημιουργία κατηγορίας Enroll
package javaproject;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.io.*;
import java.util.logging.Level;
import java.util.logging.Logger;
public class EnrollFrame extends JFrame
{
//Κομμάτι δηλώσεων
private Arra... |
42422_0 | /**
* @author Πλέσσιας Αλέξανδρος (ΑΜ.:2025201100068).
*/
package Files;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Ma... | AlexandrosPlessias/IR-CosineSimilarity-vs-Freq | src/Files/Question1And4_1.java | 1,464 | /**
* @author Πλέσσιας Αλέξανδρος (ΑΜ.:2025201100068).
*/ | block_comment | el | /**
* @au<SUF>*/
package Files;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
/**
* Qu... |
2170_4 | package gui;
/*
Η κλάση αναπαριστά μια καρτέλα με όλα τα καταλύματα που βρέθηκαν να πληρούν τα κριτήρια αναζήτησης του χρήστη
@author Anestis Zotos
*/
import api.Accommodation;
import javax.swing.*;
import javax.swing.border.LineBorder;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.aw... | AnestisZotos/Accommodations-rating-platform | gui/FoundAccommodationsFrame.java | 1,401 | //δημιουργία κουμπιών επιλογής των καταλυμάτων,κάθε κουμπί αντιστοιχεί σε ένα κατάλυμα
| line_comment | el | package gui;
/*
Η κλάση αναπαριστά μια καρτέλα με όλα τα καταλύματα που βρέθηκαν να πληρούν τα κριτήρια αναζήτησης του χρήστη
@author Anestis Zotos
*/
import api.Accommodation;
import javax.swing.*;
import javax.swing.border.LineBorder;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.aw... |
1073_22 | /*
Όνομα: Άγγελος Τζώρτζης
Α.Μ.: ice18390094
*/
package netprog_project;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class BankAcc... | Angelos-Tzortzis/University | Netprog_Project/src/java/netprog_project/BankAccountDao.java | 3,067 | // Η παρακάτω συνάρτηση δέχεται ώς όρισμα έναν αριθμό λογαριασμού
| line_comment | el | /*
Όνομα: Άγγελος Τζώρτζης
Α.Μ.: ice18390094
*/
package netprog_project;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class BankAcc... |
1216_6 | package gr.aueb.cf6.myJavaProjects;
import java.util.Scanner;
public class AllroundUnitConverter {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int choice;
/* ΑΡΧΗ ΕΛΕΓΧΟΥ ΕΠΙΛΟΓΗΣ ΚΑΙ ΠΡΟΟΔΟΥ ΠΡΟΓΡΑΜΜΑΤΟΣ
https://www.unitconverters.net/ Length / ... | AntoniouIoannis/new-demo | AllroundUnitConverter.java | 1,628 | /* για να δουμε ποσα δολαρια ειναι */ | block_comment | el | package gr.aueb.cf6.myJavaProjects;
import java.util.Scanner;
public class AllroundUnitConverter {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int choice;
/* ΑΡΧΗ ΕΛΕΓΧΟΥ ΕΠΙΛΟΓΗΣ ΚΑΙ ΠΡΟΟΔΟΥ ΠΡΟΓΡΑΜΜΑΤΟΣ
https://www.unitconverters.net/ Length / ... |
7411_0 | /*Αντιστοιχεί στον οργανισμό που υποστηρίζει το σύστημα donation.*/
import java.util.ArrayList;
class Organization
{
private String name;
private Admin admin;
private ArrayList<Entity> entityList = new ArrayList<Entity>();
private ArrayList<Donator> donatorList = new ArrayList<Donator>();
priva... | Antonis01/OOP_Team_Project_2020-2021 | src/Organisation.java | 1,187 | /*Αντιστοιχεί στον οργανισμό που υποστηρίζει το σύστημα donation.*/ | block_comment | el | /*Αντ<SUF>*/
import java.util.ArrayList;
class Organization
{
private String name;
private Admin admin;
private ArrayList<Entity> entityList = new ArrayList<Entity>();
private ArrayList<Donator> donatorList = new ArrayList<Donator>();
private ArrayList<Beneficiary> beneficiaryList = new ArrayLi... |
7770_1 | package gr.uop.gav.mailerdaemon.util;
import org.xbill.DNS.Lookup;
import org.xbill.DNS.MXRecord;
import org.xbill.DNS.Record;
import org.xbill.DNS.Type;
import javax.naming.directory.InitialDirContext;
import java.util.Arrays;
import java.util.Comparator;
public class WebUtil {
public static MXRecord[] resol... | Arisstath/GAVLab---Email | MailerDaemon/src/main/java/gr/uop/gav/mailerdaemon/util/WebUtil.java | 393 | // Θα κάνουμε sort to records array με αύξουσα σειρά | line_comment | el | package gr.uop.gav.mailerdaemon.util;
import org.xbill.DNS.Lookup;
import org.xbill.DNS.MXRecord;
import org.xbill.DNS.Record;
import org.xbill.DNS.Type;
import javax.naming.directory.InitialDirContext;
import java.util.Arrays;
import java.util.Comparator;
public class WebUtil {
public static MXRecord[] resol... |
3664_11 | package com.RapidPharma;
import java.util.*;
import java.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
import javax.swing.*;
import java.sql.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.RapidPharma.lista_aitima;
public class Dromologhths extends xristi... | Asbaharoon/java-project | java_src/dromologhths.java | 3,551 | //Εδω δημιουργουμε το νεο αιτημα το οποιο έχει τα ίδια πεδία με το προηγούμενο αίτημα εκτός απο τα perigrafh(εδώ ο δρομολογητής συμπληρώνει αυτά που δεν έχουν δρομολογηθεί) ,id_aitimatos(το οποίο είναι
| line_comment | el | package com.RapidPharma;
import java.util.*;
import java.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
import javax.swing.*;
import java.sql.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.RapidPharma.lista_aitima;
public class Dromologhths extends xristi... |
16571_1 | import java.util.Date;
import java.text.*;
//import MyDateLib.java;
public class Foititis {
private static int auxwnArithmos = 0;
private String AM;
private String onomatEpwnymo;
private Date hmeromGennisis;
public Foititis(int etos, String onomatEpwnymo, Date hmeromGennisis) {... | Astodialo/A23 | Foititis.java | 458 | // Δημιουργία αριθμού 3 ψηφίων
| line_comment | el | import java.util.Date;
import java.text.*;
//import MyDateLib.java;
public class Foititis {
private static int auxwnArithmos = 0;
private String AM;
private String onomatEpwnymo;
private Date hmeromGennisis;
public Foititis(int etos, String onomatEpwnymo, Date hmeromGennisis) {... |
30042_5 | package org.hua.dit.oopii_21950_219113.Controller;
import org.hua.dit.oopii_21950_219113.Dao.CityRepository;
import org.hua.dit.oopii_21950_219113.Exceptions.NoSuchCityException;
import org.hua.dit.oopii_21950_219113.Exceptions.NoSuchOpenWeatherCityException;
import org.hua.dit.oopii_21950_219113.Service.CityService;
... | Athanasioschourlias/Travellers-recomendation-App | src/main/java/org/hua/dit/oopii_21950_219113/Controller/TravellersController.java | 1,189 | //TODO: για το free ticket θα βαλουμε ενα switch case για του 12 μηνες του χρονου και καθε μηνα θα εχουμε διαφορερικη πολη για free ticket (αυτο θα γινετε στο frontend) | line_comment | el | package org.hua.dit.oopii_21950_219113.Controller;
import org.hua.dit.oopii_21950_219113.Dao.CityRepository;
import org.hua.dit.oopii_21950_219113.Exceptions.NoSuchCityException;
import org.hua.dit.oopii_21950_219113.Exceptions.NoSuchOpenWeatherCityException;
import org.hua.dit.oopii_21950_219113.Service.CityService;
... |
46342_6 | package gr.aueb.dmst.pijavaparty.proderp.dao;
import gr.aueb.dmst.pijavaparty.proderp.entity.COrderItem;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.... | AthinaDavari/JavaAssignment | proderp/src/main/java/gr/aueb/dmst/pijavaparty/proderp/dao/COrderItemDao.java | 1,340 | //εδω τι θα μπει; | line_comment | el | package gr.aueb.dmst.pijavaparty.proderp.dao;
import gr.aueb.dmst.pijavaparty.proderp.entity.COrderItem;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.... |
617_7 | package tillerino.tillerinobot.lang;
import java.util.List;
import java.util.Random;
import org.tillerino.osuApiModel.Mods;
import org.tillerino.osuApiModel.OsuApiUser;
import tillerino.tillerinobot.CommandHandler.Action;
import tillerino.tillerinobot.CommandHandler.Message;
import tillerino.tillerinobot.CommandHand... | Banbeucmas/Tillerinobot | tillerinobot/src/main/java/tillerino/tillerinobot/lang/Greek.java | 3,297 | //github.com/Tillerino/Tillerinobot/wiki/FAQ Συχνά ερωτώμενες ερωτήσεις]"; | line_comment | el | package tillerino.tillerinobot.lang;
import java.util.List;
import java.util.Random;
import org.tillerino.osuApiModel.Mods;
import org.tillerino.osuApiModel.OsuApiUser;
import tillerino.tillerinobot.CommandHandler.Action;
import tillerino.tillerinobot.CommandHandler.Message;
import tillerino.tillerinobot.CommandHand... |
28487_5 | /*
* Copyright (C) 2005-2012 BetaCONCEPT Limited
*
* This file is part of Astroboa.
*
* Astroboa is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your op... | BetaCONCEPT/astroboa | astroboa-portal-commons/src/main/java/org/betaconceptframework/astroboa/portal/form/AbstractForm.java | 4,286 | //String message = "Δεν συμπληρώσατε τα γράμματα που εμφανίζονται στην εικόνα. Παρακαλώ συμπληρώστε τα γράμματα που βλέπετε στην εικόνα."; | line_comment | el | /*
* Copyright (C) 2005-2012 BetaCONCEPT Limited
*
* This file is part of Astroboa.
*
* Astroboa is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your op... |
5767_6 | import java.util.Scanner;
public class friday13 {
public static void main(String[] args) {
Scanner input =new Scanner(System.in);
System.out.println("Single or Multiple year input ?");
System.out.println("For single year input press (s)");
System.out.println("For multiple year input press (m)");
w... | Bilkouristas/Friday13th | Friday13finder/src/friday13.java | 1,761 | // αφαιρει τα δισεκτα που μπηκαν λαθος πριν
| line_comment | el | import java.util.Scanner;
public class friday13 {
public static void main(String[] args) {
Scanner input =new Scanner(System.in);
System.out.println("Single or Multiple year input ?");
System.out.println("For single year input press (s)");
System.out.println("For multiple year input press (m)");
w... |
1844_8 | package com.example.billy.cainstructionquiz;
import android.app.Dialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.os.Handler;
import android.preference.PreferenceManager;
import android.support.v7.app.App... | Billeclipse/C.A.InstructionQuiz-Project | CAInstructionQuiz/app/src/main/java/com/example/billy/cainstructionquiz/QuizActivity.java | 3,402 | // Η συνάρτηση dialog παίρνει μια μεταβλητή integer οπού όταν είναι 0 σημαίνει ότι είναι νικητήριο dialog και όταν είναι 1 είναι ηττημένο dialog
| line_comment | el | package com.example.billy.cainstructionquiz;
import android.app.Dialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.os.Handler;
import android.preference.PreferenceManager;
import android.support.v7.app.App... |
294_0 | import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.*;
import java.util.*;
import java.util.function.Function;
import java.util.stream.Collectors;
public class Statistics extends JFrame {
private JLabel sumLabel, genreLabel, minLabel, max... | C4Terina/University | Songs/src/Statistics.java | 1,294 | //Αρχικοποιούμε το UI | line_comment | el | import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.*;
import java.util.*;
import java.util.function.Function;
import java.util.stream.Collectors;
public class Statistics extends JFrame {
private JLabel sumLabel, genreLabel, minLabel, max... |
5147_17 | /*
* This file is part of CoAnSys project.
* Copyright (c) 2012-2015 ICM-UW
*
* CoAnSys is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any... | CeON/CoAnSys | document-similarity/document-similarity-logic/src/main/java/pl/edu/icm/coansys/similarity/pig/udf/ExtendedStemmedPairs.java | 1,966 | // String text = "Μεταφορά τεχνολογίας : " + "παράγων αναπτύξεως ή μέσον " | line_comment | el | /*
* This file is part of CoAnSys project.
* Copyright (c) 2012-2015 ICM-UW
*
* CoAnSys is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any... |
13502_1 | /*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this template
*/
package apartease;
import java.sql.ResultSetMetaData;
import java.sql.Connection;
import java.sql.PreparedStatement;
i... | ChrisLoukas007/ApartEase | ApartEase/src/apartease/Profile.java | 4,552 | /**
*
* @author Θεοδόσης
*/ | block_comment | el | /*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this template
*/
package apartease;
import java.sql.ResultSetMetaData;
import java.sql.Connection;
import java.sql.PreparedStatement;
i... |
16407_3 | import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import java.util.concurrent.locks.Condition;
public class Buffer{
private int contents;
//private int size;
//private int front, back;
private int counter = 0;
private Lock lock = new ReentrantLock();
private Condi... | ChristosPts/University-of-Macedonia | Parallel and Distributed Computing/Lab7/LockBufferSize1/Buffer.java | 501 | //this.size = s; δεν χρειάζεται αφου το size ειναι 1
| line_comment | el | import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import java.util.concurrent.locks.Condition;
public class Buffer{
private int contents;
//private int size;
//private int front, back;
private int counter = 0;
private Lock lock = new ReentrantLock();
private Condi... |
352_0 | package regenaration.team4.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PostAuthorize;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annot... | CodeHubGreece/Java4Web2019_SKG_Team4 | project/src/main/java/regenaration/team4/services/DoctorService.java | 792 | //κανω το string που θα μου φέρουν date type. μαλλον λάθος | line_comment | el | package regenaration.team4.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PostAuthorize;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annot... |
1481_12 | package Games;
/*
* @author Despina-Eleana Chrysou
*/
import GetData.*;
import javax.swing.*;
public class Data extends javax.swing.JApplet {
/** Initializes the applet Data */
@Override
public void init() {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" des... | ComradeHadi/DBpedia-Game | ssg/src/Games/Data.java | 1,871 | /*ReadFromFile GetData = new ReadFromFile();
int [] index1=GetData.index1();
int indexall1=0;
for (int i=0;i<31;i++) {
int k=i+1;
int index2=index1[i]-1;
indexall1=index2+indexall1;
//System.out.println("Το ερώτημα "+k+" έχει "+index2... | block_comment | el | package Games;
/*
* @author Despina-Eleana Chrysou
*/
import GetData.*;
import javax.swing.*;
public class Data extends javax.swing.JApplet {
/** Initializes the applet Data */
@Override
public void init() {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" des... |
17268_0 | package gr.smartcity.hackathon.hackathonproject;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
/**
* Αυτή η δραστηριότητα υλοποιεί ένα σύνολο ιδιωτικών υπηρεσιών.
*/
public class PrivateServices exten... | Crowdhackathon-SmartCity2/GMx2 | 004/eMustoras/HackathonProject/app/src/main/java/gr/smartcity/hackathon/hackathonproject/PrivateServices.java | 650 | /**
* Αυτή η δραστηριότητα υλοποιεί ένα σύνολο ιδιωτικών υπηρεσιών.
*/ | block_comment | el | package gr.smartcity.hackathon.hackathonproject;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
/**
* Αυτ<SUF>*/
public class PrivateServices extends AppCompatActivity {
DatabaseConnection conn;
... |
7139_1 | package gr.aueb.cf.ch3;
import java.util.Scanner;
/**
* Πρόγραμμα που ελέγχει εάν
* το έτος είναι δίσεκτο ή όχι
*
* @author D1MK4L
*/
public class BisectApp {
public static void main(String[] args) {
int year = 0;
final int CONT1 = 4;
final int CONT2 = 100;
final int CONT3 = ... | D1MK4L/coding-factory-5-java | src/gr/aueb/cf/ch3/BisectApp.java | 362 | //Συνθήκη ελέγχου δίσεκτου 'ετους | line_comment | el | package gr.aueb.cf.ch3;
import java.util.Scanner;
/**
* Πρόγραμμα που ελέγχει εάν
* το έτος είναι δίσεκτο ή όχι
*
* @author D1MK4L
*/
public class BisectApp {
public static void main(String[] args) {
int year = 0;
final int CONT1 = 4;
final int CONT2 = 100;
final int CONT3 = ... |
14842_17 | package net.stemmaweb.stemmaserver.integrationtests;
import junit.framework.TestCase;
import net.stemmaweb.model.*;
import net.stemmaweb.services.GraphDatabaseServiceProvider;
import net.stemmaweb.stemmaserver.Util;
import org.glassfish.jersey.test.JerseyTest;
import org.neo4j.graphdb.GraphDatabaseService;
import org... | DHUniWien/tradition_repo | src/test/java/net/stemmaweb/stemmaserver/integrationtests/RelationTypeTest.java | 6,300 | // Use πάλιν at 12 and 55 | line_comment | el | package net.stemmaweb.stemmaserver.integrationtests;
import junit.framework.TestCase;
import net.stemmaweb.model.*;
import net.stemmaweb.services.GraphDatabaseServiceProvider;
import net.stemmaweb.stemmaserver.Util;
import org.glassfish.jersey.test.JerseyTest;
import org.neo4j.graphdb.GraphDatabaseService;
import org... |
629_7 | package tillerino.tillerinobot.lang;
import java.util.List;
import java.util.Random;
import org.tillerino.osuApiModel.Mods;
import org.tillerino.osuApiModel.OsuApiUser;
import tillerino.tillerinobot.CommandHandler.Action;
import tillerino.tillerinobot.CommandHandler.Message;
import tillerino.tillerinobot.CommandHand... | Deardrops/Tillerinobot | tillerinobot/src/main/java/tillerino/tillerinobot/lang/Greek.java | 3,361 | //github.com/Tillerino/Tillerinobot/wiki/FAQ Συχνά ερωτώμενες ερωτήσεις]"; | line_comment | el | package tillerino.tillerinobot.lang;
import java.util.List;
import java.util.Random;
import org.tillerino.osuApiModel.Mods;
import org.tillerino.osuApiModel.OsuApiUser;
import tillerino.tillerinobot.CommandHandler.Action;
import tillerino.tillerinobot.CommandHandler.Message;
import tillerino.tillerinobot.CommandHand... |
1654_0 | public class RoomTypeE extends RoomTypeC//Δωμάτιο τύπου C,αλλά με έκπτωση 50% ανά άτομο μετά την τρίτη μέρα.
{
public double getPriceOfRoom()//Μέθοδος για τον υπολογισμό των εσόδων δωματίου τύπου E,λαμβάνοντας υπόψη τα ελάχιστα//
{ //άτομα και μέρες,καθώς και την έκπτωση.
i... | DimitrisKostorrizos/UndergraduateCeidProjects | Project Οντοκεντρικός Προγραμματισμός/Java Project/Hotel Project, Swing/RoomTypeE.java | 420 | //Δωμάτιο τύπου C,αλλά με έκπτωση 50% ανά άτομο μετά την τρίτη μέρα. | line_comment | el | public class RoomTypeE extends RoomTypeC//Δω<SUF>
{
public double getPriceOfRoom()//Μέθοδος για τον υπολογισμό των εσόδων δωματίου τύπου E,λαμβάνοντας υπόψη τα ελάχιστα//
{ //άτομα και μέρες,καθώς και την έκπτωση.
int i=0;
double moneyEarnedFromRoom=0; //Μεταβλητή γ... |
3866_9 | package application;
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextInputDialog;
import javafx.scene.layout.VBox;
import javafx.stage.Stag... | DimitrisManolopoulos/Countries-App | src/application/Main.java | 2,164 | // Εμφάνιση του παραθύρου | line_comment | el | package application;
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextInputDialog;
import javafx.scene.layout.VBox;
import javafx.stage.Stag... |
3482_0 | import java.util.*;
public class Actor {
public String name;
private List<Integer> movieIds;
public Actor(String name) {
this.name = name;
movieIds = new ArrayList<Integer>();
}
public void addId(Integer id) {
this.movieIds.add(id);
}
//Δημιουργία inverted string
... | DimosthenisK/Java_Excercise_2016 | src/Actor.java | 239 | //Δημιουργία inverted string | line_comment | el | import java.util.*;
public class Actor {
public String name;
private List<Integer> movieIds;
public Actor(String name) {
this.name = name;
movieIds = new ArrayList<Integer>();
}
public void addId(Integer id) {
this.movieIds.add(id);
}
//Δη<SUF>
public String t... |
3265_3 | import java.util.Scanner;
import java.io.*;
import java.util.*;
public class UrbanRoute
{
//attributes
/* στον πίνακα point σε κάθε γραμμή αναγράφεται το γνωστό σημείο της πόλης και οι συντεταγμένες του
(ενδεικτικά παρακάτω φαίνονται 2 σημεία της πόλης)*/
private String[][] point = { {"hospital","38.242126","2... | Dionisisarg/B.A.S | B.A.S-master/UrbanRoute.java | 2,353 | //αν η τοποθεσία της αφετηρίας βρίσκεται πριν την τοποθεσία του τερματισμού | line_comment | el | import java.util.Scanner;
import java.io.*;
import java.util.*;
public class UrbanRoute
{
//attributes
/* στον πίνακα point σε κάθε γραμμή αναγράφεται το γνωστό σημείο της πόλης και οι συντεταγμένες του
(ενδεικτικά παρακάτω φαίνονται 2 σημεία της πόλης)*/
private String[][] point = { {"hospital","38.242126","2... |
33122_16 | /*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JDialog.java to edit this template
*/
package wifipasswords;
import com.github.sarxos.webcam.Webcam;
import com.github.sarxos.webcam.WebcamPanel;
import c... | DionysisTheodosis/JavaAps | WifiPasswords1.3/src/wifipasswords/QrScanner.java | 4,329 | //JOptionPane.showMessageDialog(myFrame, "Αποτυχία Σύνδεσης στο Wi-Fi", "Αποτυχία Σύνδεσης", JOptionPane.ERROR_MESSAGE); | line_comment | el | /*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JDialog.java to edit this template
*/
package wifipasswords;
import com.github.sarxos.webcam.Webcam;
import com.github.sarxos.webcam.WebcamPanel;
import c... |
26425_0 | package elak.readinghood.backend.api;
import org.junit.Test;
import java.io.IOException;
import java.util.HashSet;
import static org.junit.Assert.assertEquals;
/**
* Created by Δημήτρης Σβίγγας + Αλέξανδρος Χαλκίδης on 2/9/2018.
*/
public class AppManagerTest {
@Test
public void createTh... | DrMerfy/ReadingHood-Android-Client | app/src/test/java/elak/readinghood/AppManagerTest.java | 2,250 | /**
* Created by Δημήτρης Σβίγγας + Αλέξανδρος Χαλκίδης on 2/9/2018.
*/ | block_comment | el | package elak.readinghood.backend.api;
import org.junit.Test;
import java.io.IOException;
import java.util.HashSet;
import static org.junit.Assert.assertEquals;
/**
* Cre<SUF>*/
public class AppManagerTest {
@Test
public void createThread() throws Exception {
try {
Sys... |
41970_11 | package android.gr.katastima;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.res.Resources;
import android.location.Location;
import android.support.annotation.NonNull;
import androi... | ETS-Android5/nodejsandroidproduction | Android Studio Project/app/src/main/java/android/gr/katastima/MainActivity.java | 3,325 | // Προσφορές | line_comment | el | package android.gr.katastima;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.res.Resources;
import android.location.Location;
import android.support.annotation.NonNull;
import androi... |
3201_40 | package com.eaw1805.orders;
import com.eaw1805.data.constants.AchievementConstants;
import com.eaw1805.data.constants.ArmyConstants;
import com.eaw1805.data.constants.GoodConstants;
import com.eaw1805.data.constants.NewsConstants;
import com.eaw1805.data.constants.OrderConstants;
import com.eaw1805.data.constants.Prod... | EaW1805/engine | src/main/java/com/eaw1805/orders/AbstractOrderProcessor.java | 7,583 | // Τα χ2 και x3 ισχύουν μόνο για τα Ευρωπαικά αν χτίζονται στο SoI ή εκτός SoI | line_comment | el | package com.eaw1805.orders;
import com.eaw1805.data.constants.AchievementConstants;
import com.eaw1805.data.constants.ArmyConstants;
import com.eaw1805.data.constants.GoodConstants;
import com.eaw1805.data.constants.NewsConstants;
import com.eaw1805.data.constants.OrderConstants;
import com.eaw1805.data.constants.Prod... |
9864_8 | package com.eaw1805.www.controllers.remote.hotspot;
import com.eaw1805.data.constants.AdminCommandPoints;
import com.eaw1805.data.constants.ArmyConstants;
import com.eaw1805.data.constants.GoodConstants;
import com.eaw1805.data.constants.NationConstants;
import com.eaw1805.data.constants.OrderConstants;
import com.eaw... | EaW1805/www | src/main/java/com/eaw1805/www/controllers/remote/hotspot/OrderApplyChangesProcessor.java | 7,072 | // Τα χ2 και x3 ισχύουν μόνο για τα Ευρωπαικά αν χτίζονται στο SoI ή εκτός SoI | line_comment | el | package com.eaw1805.www.controllers.remote.hotspot;
import com.eaw1805.data.constants.AdminCommandPoints;
import com.eaw1805.data.constants.ArmyConstants;
import com.eaw1805.data.constants.GoodConstants;
import com.eaw1805.data.constants.NationConstants;
import com.eaw1805.data.constants.OrderConstants;
import com.eaw... |
865_5 | package com.example.eshop3;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
//κάνω implements View.OnclickListener ένας άλλος τρόπος αντί να κάνω setOncliCkListener(new View.On... | EfthimisKele/E_Shop | app/src/main/java/com/example/eshop3/menu_proionta.java | 928 | //χρησιμοποιόντας την findViewById | line_comment | el | package com.example.eshop3;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
//κάνω implements View.OnclickListener ένας άλλος τρόπος αντί να κάνω setOncliCkListener(new View.On... |
16735_0 | package gr.dit.hua.divorce.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springfram... | EliteOneTube/divorce_app_dev_ops | src/main/java/gr/dit/hua/divorce/config/SecurityConfig.java | 759 | //μόλις φτιαχτεί να το αλλάξω
| line_comment | el | package gr.dit.hua.divorce.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springfram... |
6544_1 |
import java.math.BigDecimal;
/**
* @author EvanCoh
* se: ConvertMoneyToString.getVerbal(412444.87)
*/
public class ConvertMoneyToString {
private ConvertMoneyToString() {
}
private static String[] m = {"", "ΕΝΑ ", "ΔΥΟ ", "ΤΡΙΑ ",
"ΤΕΣΣΕΡΑ ", "ΠΕΝΤΕ ", "ΕΞΙ ",
"ΕΠΤΑ ", "ΟΚΤΩ "... | EvanCoh/monetaryAmountToGreek | ConvertMoneyToString.java | 1,860 | //Διαφοροποίησεις των 11,12 ... | line_comment | el |
import java.math.BigDecimal;
/**
* @author EvanCoh
* se: ConvertMoneyToString.getVerbal(412444.87)
*/
public class ConvertMoneyToString {
private ConvertMoneyToString() {
}
private static String[] m = {"", "ΕΝΑ ", "ΔΥΟ ", "ΤΡΙΑ ",
"ΤΕΣΣΕΡΑ ", "ΠΕΝΤΕ ", "ΕΞΙ ",
"ΕΠΤΑ ", "ΟΚΤΩ "... |
2063_27 | package mvc.com.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List... | Evrydiki/TrackingEvaluationBonusSystem | src/mvc/com/dao/EvaluationDao.java | 2,802 | // else if(titles[i].trim().equalsIgnoreCase("Ανάληψη πολύπλοκων στόχων")){
| line_comment | el | package mvc.com.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List... |
23225_1 | import java.util.Scanner;
public class DNAPalindrome {
public static StringDoubleEndedQueueImpl CreateQ(String DNAseq){
StringDoubleEndedQueueImpl s = new StringDoubleEndedQueueImpl();
char[] charArray = DNAseq.toCharArray();
for (int i = 0; i < charArray.... | FANISPAP123/Data-Structure | DS23-project1/DNAPalindrome.java | 715 | // Ελέγχουμε αν το String είναι κενό.
| line_comment | el | import java.util.Scanner;
public class DNAPalindrome {
public static StringDoubleEndedQueueImpl CreateQ(String DNAseq){
StringDoubleEndedQueueImpl s = new StringDoubleEndedQueueImpl();
char[] charArray = DNAseq.toCharArray();
for (int i = 0; i < charArray.... |
11705_0 | // Στο αρχείο Main.java
package bankapp;
import bankapp.model.OverdraftAccount;
import bankapp.model.JointAccount;
/**
* Κύρια κλάση για τον έλεγχο της λειτουργίας των λογαριασμών.
*/
public class Main {
public static void main(String[] args) {
// Δημιουργία λογαριασμών
OverdraftAccount overdraf... | Filippostsak/java-oo-projects | src/bankapp/Main.java | 284 | // Στο αρχείο Main.java | line_comment | el | // Στ<SUF>
package bankapp;
import bankapp.model.OverdraftAccount;
import bankapp.model.JointAccount;
/**
* Κύρια κλάση για τον έλεγχο της λειτουργίας των λογαριασμών.
*/
public class Main {
public static void main(String[] args) {
// Δημιουργία λογαριασμών
OverdraftAccount overdraftAccount = ne... |
22457_1 | package JavaClasses.class1;
public class X {
private int i;
private int j;
public int getI() {return i;}
public int getJ() {return j;}
public void setI(int i1) {
i = i1;
};
public void setJ(int j) {
this.j = j;
};
// constructors
public X (int i, int j) {
... | Firewolf05/JavaClasses | src/JavaClasses/class1/X.java | 176 | // αντίγραφο | line_comment | el | package JavaClasses.class1;
public class X {
private int i;
private int j;
public int getI() {return i;}
public int getJ() {return j;}
public void setI(int i1) {
i = i1;
};
public void setJ(int j) {
this.j = j;
};
// constructors
public X (int i, int j) {
... |
19290_16 | package org.example;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Main {
public static void main(String[] args) {
//Create arraylist of doctors
ArrayList<Doctor> doctors = ... | GTGH-accenture-uom-2/Team4-part1 | src/main/java/org/example/Main.java | 3,081 | //Ελέυθερες χρονικές θυρίδες κάθε εμβολιαστικού | line_comment | el | package org.example;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Main {
public static void main(String[] args) {
//Create arraylist of doctors
ArrayList<Doctor> doctors = ... |
22866_1 | import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import jxl.Workbook;
import jxl.write.Border;
import jxl.write.BorderLineStyle;
import jxl.write.Label;
import jxl.write.WritableCellFormat;
import jxl.write.WritableSheet;
import jxl.write.WritableWorkbook;
import jxl.write.WriteException;
p... | GeorgeMichos13/MyUom | src/XlsWriter.java | 1,130 | //δημιουργια φυλλου excel | line_comment | el | import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import jxl.Workbook;
import jxl.write.Border;
import jxl.write.BorderLineStyle;
import jxl.write.Label;
import jxl.write.WritableCellFormat;
import jxl.write.WritableSheet;
import jxl.write.WritableWorkbook;
import jxl.write.WriteException;
p... |
6291_0 | package gr.conference.menus;
import java.util.Scanner;
public class StartingScreen {
public String user;
public StartingScreen()
{
loadMenu();
}
private void loadMenu()
{
Scanner scanner = new Scanner(System.in);
int flag = 0;
LoginPage lp = new LoginPage();
System.out.println("--------------... | Georgezach24/Project-soft | OneDrive/Desktop/5th Semester/Soft. Eng/final/sys/src/main/java/gr/conference/menus/StartingScreen.java | 424 | //TODO Φτιάξε τι θα γίνεται σε περίπτωση visitor. | line_comment | el | package gr.conference.menus;
import java.util.Scanner;
public class StartingScreen {
public String user;
public StartingScreen()
{
loadMenu();
}
private void loadMenu()
{
Scanner scanner = new Scanner(System.in);
int flag = 0;
LoginPage lp = new LoginPage();
System.out.println("--------------... |
8394_8 | package com.example.brick_breaker_game;
import javafx.animation.Animation;
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.geometry.Bounds;
import javafx.scen... | Giannis1273646/Brick-Breaker-Game | src/main/java/com/example/brick_breaker_game/Controller.java | 2,486 | //Ρυθμίζει την πορεία της μπάλας όταν χτυπάει στα τουβλάκια. Αν αφαιρεθεί τουβλάκι η συνάρτηση επιστρέφει true | line_comment | el | package com.example.brick_breaker_game;
import javafx.animation.Animation;
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.geometry.Bounds;
import javafx.scen... |
3410_39 | package sample;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.image.Image;... | Giannis1273646/Hangman-Game | src/sample/SinglePlayerController.java | 4,870 | //Για να εμφανίζονται οι παύλες των γραμμάτων που δεν έχει βρει ο χρήστης | line_comment | el | package sample;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.image.Image;... |
2923_1 | package sample;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.Button;
import javafx.scene.contro... | Giannis1273646/tic-tac-toe | src/sample/Controller.java | 1,709 | //Ορίζει το χρώμα από το χ | line_comment | el | package sample;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.Button;
import javafx.scene.contro... |
2767_2 | //CompensationRepository.java
// Το πακετο JpaRepository βοηθαει την διαχειριση του compensation στην βαση δεδομενων, δεν χρειαζεται κατι περαιτερω
package com.example.demo.repository;
import com.example.demo.model.Compensation;
import org.springframework.data.jpa.repository.JpaRepository;
public interface Compensati... | GiannisNtz01/farmers | demo/src/main/java/com/example/demo/repository/CompensationRepository.java | 279 | // ΠΕΡΙΜΕΝΕ, ΜΗΝ ΞΕΚΙΝΗΣΕΙΣ ΤΗΝ ΑΝΑΠΤΥΞΗ ΑΚΟΜΑ. ΕΧΕΙ ΚΙΑΛΛΑ ΚΟΜΜΑΤΙΑ ΚΩΔΙΚΑ. | line_comment | el | //CompensationRepository.java
// Το πακετο JpaRepository βοηθαει την διαχειριση του compensation στην βαση δεδομενων, δεν χρειαζεται κατι περαιτερω
package com.example.demo.repository;
import com.example.demo.model.Compensation;
import org.springframework.data.jpa.repository.JpaRepository;
public interface Compensati... |
20353_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 SoftwareEngineering;
import java.time.LocalDateTime;
import java.util.ArrayList;
/**
*
* @author DeRed
*/
... | GiannisP97/Medical_office_2018 | Medical_office/src/SoftwareEngineering/Schedule.java | 411 | // ΔΗΜΙΟΥΡΓΙΑ ΕΝΟΣ TMP APPOINTMENT
| line_comment | el | /*
* 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 SoftwareEngineering;
import java.time.LocalDateTime;
import java.util.ArrayList;
/**
*
* @author DeRed
*/
... |
16379_4 | /*
*Copyright.....
*/
package gr.aueb.elearn.ch1;
/**
* υπολογιζει και εμφανιζει το αθροισμα 2 αριθμων του 12 και του 5
*/
public class DataDemo {
public static void main(String[] args) {
//Δηλωση αρχικοποιηση μεταβλητων
int num1 = 12;
int num2 = 5;
int sum;
... | GioNik7/java-jr-to-mid-level | chapter1/DataDemo.java | 227 | //Εκτυπωση αποτελεσματων
| line_comment | el | /*
*Copyright.....
*/
package gr.aueb.elearn.ch1;
/**
* υπολογιζει και εμφανιζει το αθροισμα 2 αριθμων του 12 και του 5
*/
public class DataDemo {
public static void main(String[] args) {
//Δηλωση αρχικοποιηση μεταβλητων
int num1 = 12;
int num2 = 5;
int sum;
... |
7697_5 | /*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package project_test;
import java.util.List;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNo... | GiorgosG1an/Refugeoly | src/project_test/Game.java | 4,385 | // Προσθέστε το τετράγωνο στο ταμπλό | line_comment | el | /*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package project_test;
import java.util.List;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNo... |
13392_21 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package medlars_collection;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.apache.lucene.index.CorruptIndexException;
import org.apache.lucene.store.LockObtainFaile... | GiorgosPa/Medlars | java code/KnowledgeBase.java | 2,005 | /***
* Επιστρέφει το κείμενο που βρίσκεται ανάμεσα στo <stag></stag>
*
* @param sTag
* @param eElement το parent node (tag element)
* @return
*/ | block_comment | el | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package medlars_collection;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.apache.lucene.index.CorruptIndexException;
import org.apache.lucene.store.LockObtainFaile... |
174_13 | package thesis;
import java.awt.Component;
import java.text.DateFormatSymbols;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.time.format.DateTimeParseException;
import java.util.ArrayList;
import java.util.Date;
im... | Gouvo7/Exam-Schedule-Creator | src/thesis/Utilities.java | 2,919 | // Προσθήκη των ημερομηνιών στις γραμμές της 1ης στήλης | line_comment | el | package thesis;
import java.awt.Component;
import java.text.DateFormatSymbols;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.time.format.DateTimeParseException;
import java.util.ArrayList;
import java.util.Date;
im... |
16406_0 | package gr.aueb.cf.ch3;
import java.util.Scanner;
/**
* Αποφασιζει αν θα αναψει τα φωτα ή οχι
* με βαση αν βρεχει , αν ειναι σκωτεινα
* και αν η ταχυτητα ειναι > 100 χιλ
* Τις τιμες τισ δεινει ο χρητσης
*/
public class LightsOnApp {
public static void main(String[] args) {
Scanner scanner = new Scann... | GregoryPerifanos/Coding-Factory-5-Class-Projects | src/gr/aueb/cf/ch3/LightsOnApp.java | 348 | /**
* Αποφασιζει αν θα αναψει τα φωτα ή οχι
* με βαση αν βρεχει , αν ειναι σκωτεινα
* και αν η ταχυτητα ειναι > 100 χιλ
* Τις τιμες τισ δεινει ο χρητσης
*/ | block_comment | el | package gr.aueb.cf.ch3;
import java.util.Scanner;
/**
* Απο<SUF>*/
public class LightsOnApp {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
boolean isRaining = false;
boolean isDark = false;
int speed = 0;
final int MAX_SPEED = 100;
... |
6661_1 | package gr.aueb.cf.exercise.preliminary;
public class SumApp {
public static void main(String[] args) {
// Δήλωση ακεραίων
int num1 = 19;
int num2 = 30;
int sum = 0;
// Εντολές
sum = num1 + num2;
//Εκτύπωση αποτελέσματος
System.out.println("Το αποτέ... | GregoryPerifanos/java-oo-projects | exercise/preliminary/SumApp.java | 170 | // Εντολές | line_comment | el | package gr.aueb.cf.exercise.preliminary;
public class SumApp {
public static void main(String[] args) {
// Δήλωση ακεραίων
int num1 = 19;
int num2 = 30;
int sum = 0;
// Εν<SUF>
sum = num1 + num2;
//Εκτύπωση αποτελέσματος
System.out.println("Το αποτέ... |
5831_100 | package org.oxford.comlab.perfectref.rewriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
import edu.ntua.image.datastructures.Tree;
import edu.ntua.image.datastructures.TreeNode;
public class Saturator... | HBPMedical/MIPMapRew | src/org/oxford/comlab/perfectref/rewriter/Saturator_Tree.java | 7,789 | /**
* Η συνάρτηση αυτή δεν περιέχει όλους τους κανόνες που υπάρχουν στην getNewQuery επειδή όταν μας δίνεται ένα άτομο R(x,y) σαν extraAtom τότε μας ενδιαφέρουν να υπάρχουν και οι 2 μεταβλητές.
* Η συνάρτηση αυτή στην refine χρησιμοποιείται σε συνδυασμό με τον έλγχο για το εάν το clause στο οποίο πάμε να κάνουμε re... | block_comment | el | package org.oxford.comlab.perfectref.rewriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
import edu.ntua.image.datastructures.Tree;
import edu.ntua.image.datastructures.TreeNode;
public class Saturator... |
28838_29 | package com.example.smartalert;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Locale;
public class Incident {
private String userEmail;
private String type;
private ... | HelenPolychroni/SmartAlert | app/src/main/java/com/example/smartalert/Incident.java | 2,106 | // Επιστροφή της απόστασης σε χιλιόμετρα | line_comment | el | package com.example.smartalert;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Locale;
public class Incident {
private String userEmail;
private String type;
private ... |
44562_1 | package Asteras;
/*
* 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.
*/
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collec... | IliasAlex/Asteras | src/java/Asteras/Results.java | 2,135 | /**
*
* @author Ηλίας
*/ | block_comment | el | package Asteras;
/*
* 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.
*/
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collec... |
9202_0 | /*
ΠΡΟΗΓΜΕΝΑ ΘΕΜΑΤΑ ΑΝΤΙΚΕΙΜΕΝΟΣΤΕΦΟΥΣ ΠΡΟΓΡΑΜΜΑΤΙΣΜΟΥ
ΠΜΣ «Προηγμένα Συστήματα Πληροφορικής - Ανάπτυξη Λογισμικού και Τεχνητής Νοημοσύνης»
ΠΑΝΕΠΙΣΤΗΜΙΟ ΠΕΙΡΑΙΩΣ
Τίτλος Εργασίας: «Precedence Graph Threading using Blockchains»
Φοιτητές:
Παπανικολάου Ηλίας ΜΠΣΠ20039
Δαβλιάνη Ιωάννα ΜΠΣΠ20010
14/3/2021
*/
package... | IliasPapanikolaou/PrecedenceGraph | src/main/java/com/unipi/precedence_graph/PrecedenceGraph.java | 1,475 | /*
ΠΡΟΗΓΜΕΝΑ ΘΕΜΑΤΑ ΑΝΤΙΚΕΙΜΕΝΟΣΤΕΦΟΥΣ ΠΡΟΓΡΑΜΜΑΤΙΣΜΟΥ
ΠΜΣ «Προηγμένα Συστήματα Πληροφορικής - Ανάπτυξη Λογισμικού και Τεχνητής Νοημοσύνης»
ΠΑΝΕΠΙΣΤΗΜΙΟ ΠΕΙΡΑΙΩΣ
Τίτλος Εργασίας: «Precedence Graph Threading using Blockchains»
Φοιτητές:
Παπανικολάου Ηλίας ΜΠΣΠ20039
Δαβλιάνη Ιωάννα ΜΠΣΠ20010
14/3/2021
*/ | block_comment | el | /*
ΠΡΟ<SUF>*/
package com.unipi.precedence_graph;
import java.io.IOException;
import java.sql.Connection;
import java.time.Instant;
import java.util.ArrayList;
import java.util.List;
/**
*
* Main thread calls functions to read p_precedence.txt, p_timings.txt
* and create process instances which are saved in ... |
10412_1 | package com.ipap;
public abstract class Shape {
protected double centerX; // X στο καρτεσιανό επίπεδο
protected double centerY; // Y στο καρτεσιανό επίπεδο
// Constructor
public Shape(double centerX, double centerY) {
this.centerX = centerX;
this.centerY = centerY;
}
// Gette... | IliasPapanikolaou/java-oop-inheritance | src/main/java/com/ipap/Shape.java | 236 | // Y στο καρτεσιανό επίπεδο | line_comment | el | package com.ipap;
public abstract class Shape {
protected double centerX; // X στο καρτεσιανό επίπεδο
protected double centerY; // Y <SUF>
// Constructor
public Shape(double centerX, double centerY) {
this.centerX = centerX;
this.centerY = centerY;
}
// Getters
public dou... |
20877_7 | package org.example;
import java.io.File;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
import java.net.UnknownHostException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.util.Scanner;
public clas... | Ioanna-jpg/GetaRoom-App | backend/src/DummyApplication.java | 1,152 | // Εμφάνιση μενού για τον πελάτη
| line_comment | el | package org.example;
import java.io.File;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
import java.net.UnknownHostException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.util.Scanner;
public clas... |
4388_4 | package payroll;
import java.util.ArrayList;
import java.io.IOException;
import java.io.BufferedWriter;
import java.io.FileWriter;
/**
*
* @author Alexandros Dimitrakopoulos
*/
public class Company
{
//Λίστα με τoυς τύπους των υπαλλήλων
final ArrayList<EmployeeType> types = new ArrayList<>();
//Λ... | JaskJohin/Payroll | src/payroll/Company.java | 1,759 | //Java functional operations (Πρόταση του JDK αντι για την χρήση for) | line_comment | el | package payroll;
import java.util.ArrayList;
import java.io.IOException;
import java.io.BufferedWriter;
import java.io.FileWriter;
/**
*
* @author Alexandros Dimitrakopoulos
*/
public class Company
{
//Λίστα με τoυς τύπους των υπαλλήλων
final ArrayList<EmployeeType> types = new ArrayList<>();
//Λ... |
6842_2 | package basics;
import java.io.Serializable;
/*αναπαριστά τη διαθέσιμη ώρα λειτουργίας για κάθε επιχείρηση*/
/*η κάθε επιχείρηση περιλαμβάνει ένα ArrayList απο πολλά αντικείμενα τύπου OpenHour*/
public class OpenHour implements Serializable{
private Long day; //ημερα λειτουργίας
private String start; //ώ... | JohnChantz/JavaII-YelpAPI-Project | YelpBasics/src/basics/OpenHour.java | 500 | //ημερα λειτουργίας | line_comment | el | package basics;
import java.io.Serializable;
/*αναπαριστά τη διαθέσιμη ώρα λειτουργίας για κάθε επιχείρηση*/
/*η κάθε επιχείρηση περιλαμβάνει ένα ArrayList απο πολλά αντικείμενα τύπου OpenHour*/
public class OpenHour implements Serializable{
private Long day; //ημ<SUF>
private String start; //ώρα ανοίγμα... |
3992_3 |
public class SRTF extends Scheduler {
public SRTF() {
/* TODO: you _may_ need to add some code here */
}
public void addProcess(Process p) {
/* TODO: you need to add some code here */
p.getPCB().setState(ProcessState.READY,CPU.clock); // Βαζουμε την διεργασια απο την σε κατασταση... | JohnOiko/operating-system-scheduler | src/SRTF.java | 572 | // Προσθετουμε μια νεα διεργασια στην λιστα διεργασιων προς εκτελεση | line_comment | el |
public class SRTF extends Scheduler {
public SRTF() {
/* TODO: you _may_ need to add some code here */
}
public void addProcess(Process p) {
/* TODO: you need to add some code here */
p.getPCB().setState(ProcessState.READY,CPU.clock); // Βαζουμε την διεργασια απο την σε κατασταση... |
3851_21 | /*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package it2021091;
import static it2021091.It2021091.personsList;
import static it2021091.It2021091.showsList;
import j... | JohnSkouloudis/JavaMovieManagement | src/it2021091/Admin.java | 3,044 | //εισαγωγη χώρας ηθοποιού | line_comment | el | /*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package it2021091;
import static it2021091.It2021091.personsList;
import static it2021091.It2021091.showsList;
import j... |
8806_10 | package com.example.myevents;
import java.util.List;
import java.util.Map;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.HeaderMap;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrof... | Johnylil/E-Events | app/src/main/java/com/example/myevents/FetchData.java | 796 | // Για login και λήψη token | line_comment | el | package com.example.myevents;
import java.util.List;
import java.util.Map;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.HeaderMap;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrof... |
37010_0 | import java.awt.List;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Outp... | KAUTH/University-Projects | Computer Networks (Java)/Course 1/userApplication.java | 6,673 | /*
*
* Δίκτυα Υπολογιστών I
*
* Experimental Virtual Lab
*
* Παπαδόπουλος Κωνσταντίνος, Α.Ε.Μ. 8677
*
*/ | block_comment | el | import java.awt.List;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Outp... |
1470_10 | package gr.aueb.cf.c1.ch10;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintStream;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Arrays;
import java.util.Scanner;
public class MobileConta... | KONSTANTINOS-EL/MobileContact | MobileContactsApp.java | 2,789 | // όταν ο pivot δείχνει στην arr.length - 1 αυτό σημαίνει ότι δείχνει στην τελευταία θέση και είναι full | line_comment | el | package gr.aueb.cf.c1.ch10;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintStream;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Arrays;
import java.util.Scanner;
public class MobileConta... |
2352_6 | import java.io.IOException;
import java.util.HashSet;
import java.util.Scanner;
public interface UIMethods
{
/**
* Φορτίζει τις αλλαγές που έγιναν κατά την εκτέλεση του προγράμματος σε όλες τις βάσεις δεδομένων που χρησιμοποιούνται
*/
static void updateDatabases() throws IOException
{
Us... | KonnosBaz/AUTh_CSD_Projects | Object Oriented Programming (2021)/src/UIMethods.java | 4,945 | /**
* Διαβάζει ένα καινούργιο password από το terminal
*
* @return το νέο password
*/ | block_comment | el | import java.io.IOException;
import java.util.HashSet;
import java.util.Scanner;
public interface UIMethods
{
/**
* Φορτίζει τις αλλαγές που έγιναν κατά την εκτέλεση του προγράμματος σε όλες τις βάσεις δεδομένων που χρησιμοποιούνται
*/
static void updateDatabases() throws IOException
{
Us... |
1175_20 | package gr.aueb.cf.ch10miniprojects;
import static java.lang.Math.max;
/**
* Finds the maximum sum subArray of a given Array. Popular algorithm called Kadane's algorithm.
* It is based on the simple notion that , while using a for loop to examine the whole Array once
* (in order to not increase the time complexity... | KountourisPanagiotis/aueb-mini-projects | MaximumSumSubArray.java | 2,117 | // Εδώ παρουσιάζετε και το πρόβλημα με αυτήν μεθοδολογία για τον αλγόριθμο του Kadane. | line_comment | el | package gr.aueb.cf.ch10miniprojects;
import static java.lang.Math.max;
/**
* Finds the maximum sum subArray of a given Array. Popular algorithm called Kadane's algorithm.
* It is based on the simple notion that , while using a for loop to examine the whole Array once
* (in order to not increase the time complexity... |
2682_4 | package gr.aueb.cf.unitconverter;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
/**
* The MainActivity class represents the main activity o... | KountourisPanagiotis/unit-converter | app/src/main/java/gr/aueb/cf/unitconverter/MainActivity.java | 619 | // Εμφανίζουμε το textView με το αποτέλεσμα | line_comment | el | package gr.aueb.cf.unitconverter;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
/**
* The MainActivity class represents the main activity o... |
2339_3 | package gr.aueb.cf.ch9;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintStream;
import java.util.Locale;
import java.util.Scanner;
/**
* να διαβάσουμε ακέραιους αριθμούς όσο
* υπάρχει επόμενος και να τους προσθέτουμε και να
* βρίσκουμε τον μέσο όρο
* • Στη συνέχεια να γράφουμε τον μ... | KruglovaOlga/CodingFactoryJava | src/gr/aueb/cf/ch9/IOIntDemo.java | 874 | //Ελέγχει αν ένα String είναι ακέραιος | line_comment | el | package gr.aueb.cf.ch9;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintStream;
import java.util.Locale;
import java.util.Scanner;
/**
* να διαβάσουμε ακέραιους αριθμούς όσο
* υπάρχει επόμενος και να τους προσθέτουμε και να
* βρίσκουμε τον μέσο όρο
* • Στη συνέχεια να γράφουμε τον μ... |
6460_12 | package com.example.physiohut.R2;
import android.content.DialogInterface;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.Fragment;
import androidx.navigation.Navigation;
import android.view.La... | Lab-eurs/physiohut-code | app/src/main/java/com/example/physiohut/R2/R2Fragment.java | 2,420 | //σε αυτό το σημείο θα αποστέλω τα δεδομένα στη ΒΔ | line_comment | el | package com.example.physiohut.R2;
import android.content.DialogInterface;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.Fragment;
import androidx.navigation.Navigation;
import android.view.La... |
7926_1 | package com.evaluation.servlet;
import com.evaluation.beans.Users;
import static com.evaluation.encryption.Encryption.getHash;
import com.evaluation.utils.DBUtils;
import com.evaluation.utils.MyUtils;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import javax.servlet.RequestDisp... | Lefteris-Souflas/Java-Web-App-For-Military-Staff-Evaluation | application/Evaluation/src/main/java/com/evaluation/servlet/LoginServlet.java | 694 | // εναλλακτικά χρησιμοποιώ τον dispatcher | line_comment | el | package com.evaluation.servlet;
import com.evaluation.beans.Users;
import static com.evaluation.encryption.Encryption.getHash;
import com.evaluation.utils.DBUtils;
import com.evaluation.utils.MyUtils;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import javax.servlet.RequestDisp... |
11717_3 | package bookstorePack;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class BookDao {
// Συνδεόμαστε στην βάση δεδομένων books, με username "Vaggel... | Lefti97/UniversityWorks | Network Programming (JAVA)/Final Work/Bookstore/src/java/bookstorePack/BookDao.java | 1,628 | // Λειτουργία 2. Παίρνουμε ένα βιβλίο με ένα ID | line_comment | el | package bookstorePack;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class BookDao {
// Συνδεόμαστε στην βάση δεδομένων books, με username "Vaggel... |
477_3 | //ics 20033
import java.util.*;
public class Connect4 {
public static void main(String[] args) {
System.out.println("This is score4");
//δημιουργια ενος αντικειμενου scanner για τις εισαγωσες απο το πληκτρολογιο
Scanner scan = new Scanner(System.in);
// προτροπή των παιχτων να δωσουν το ονομα τους και... | Leonardpepa/Connect4 | src/Connect4.java | 1,453 | /*προτροπη του πρωτου παιχτη να επιλεξει το chip του και επιλογη του chip
*που απεμεινε στον δευτερο παιχτη*/ | block_comment | el | //ics 20033
import java.util.*;
public class Connect4 {
public static void main(String[] args) {
System.out.println("This is score4");
//δημιουργια ενος αντικειμενου scanner για τις εισαγωσες απο το πληκτρολογιο
Scanner scan = new Scanner(System.in);
// προτροπή των παιχτων να δωσουν το ονομα τους και... |
12_1 | package order;
import java.awt.Color;
import java.util.Date;
import java.util.Random;
import gui.windows.CartWindow;
import login.Login;
import resources.TextResources;
public class CouponFactory {
static Random rand = new Random();
public static Coupon GenerateCoupon(String email) {
String code = "";
// Βαλ... | Leonardpepa/Segaleo | src/order/CouponFactory.java | 574 | // απο κει το μειλ | line_comment | el | package order;
import java.awt.Color;
import java.util.Date;
import java.util.Random;
import gui.windows.CartWindow;
import login.Login;
import resources.TextResources;
public class CouponFactory {
static Random rand = new Random();
public static Coupon GenerateCoupon(String email) {
String code = "";
// Βαλ... |
621_9 | package tillerino.tillerinobot.lang;
import java.util.List;
import java.util.Random;
import org.tillerino.osuApiModel.Mods;
import org.tillerino.osuApiModel.OsuApiUser;
import tillerino.tillerinobot.BeatmapMeta;
import tillerino.tillerinobot.IRCBot.IRCBotUser;
import tillerino.tillerinobot.RecommendationsManager.Rec... | Liby99/Tillerinobot | tillerinobot/src/main/java/tillerino/tillerinobot/lang/Greek.java | 3,750 | //github.com/Tillerino/Tillerinobot/wiki/FAQ Συχνά ερωτώμενες ερωτήσεις]"; | line_comment | el | package tillerino.tillerinobot.lang;
import java.util.List;
import java.util.Random;
import org.tillerino.osuApiModel.Mods;
import org.tillerino.osuApiModel.OsuApiUser;
import tillerino.tillerinobot.BeatmapMeta;
import tillerino.tillerinobot.IRCBot.IRCBotUser;
import tillerino.tillerinobot.RecommendationsManager.Rec... |
29430_4 | import javax.swing.*;
import javax.swing.border.Border;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.util.ArrayList;
import java.util.Locale;
import java.util.ResourceBundle;
public class ... | LukaSt99/Sudoku-GUI | src/DuidokuGUI.java | 2,624 | // εδω κανει το save για τα score(οταν χανει) | line_comment | el | import javax.swing.*;
import javax.swing.border.Border;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.util.ArrayList;
import java.util.Locale;
import java.util.ResourceBundle;
public class ... |
14919_14 | package com.emmanouilpapadimitrou.healthapp.Fragments;
import android.app.AlertDialog;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
im... | ManolisPapd/HealthApp | Android/HealthApp/app/src/main/java/com/emmanouilpapadimitrou/healthapp/Fragments/HistoryFragment.java | 2,079 | //Προβολή παραθύρου για επιβεβαίωση διαγραφής φαρμάκου | line_comment | el | package com.emmanouilpapadimitrou.healthapp.Fragments;
import android.app.AlertDialog;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
im... |
5517_0 | package gr.aueb.cf.ch3;
import java.util.Scanner;
/**
* Υπολογίζει το 1 + 2 + .. + n,
* όπου το ν το δίνει ο χρήστης.
*/
public class SumGenericApp {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int endValue = 0;
int i = 1;
int result = 0;
... | ManosDaskalelis/Java | cf/ch3/SumGenericApp.java | 201 | /**
* Υπολογίζει το 1 + 2 + .. + n,
* όπου το ν το δίνει ο χρήστης.
*/ | block_comment | el | package gr.aueb.cf.ch3;
import java.util.Scanner;
/**
* Υπο<SUF>*/
public class SumGenericApp {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int endValue = 0;
int i = 1;
int result = 0;
System.out.println("Please insert a num");
... |
315_0 | package gr.aueb.cf.ch2;public class InitialsApp {
/**
* Πρόγραμμα που εκτυπώνει τα
* αρχικά του ονόματός μου.
*/
public static void main(String[] args) {
System.out.println("*********" + "\t\t\t\t\t\t\t *" );
System.out.println("*" + "\t\t\t\t\t\t *" + " *");
... | ManosDaskalelis/java-exc | ch2/InitialsApp.java | 284 | /**
* Πρόγραμμα που εκτυπώνει τα
* αρχικά του ονόματός μου.
*/ | block_comment | el | package gr.aueb.cf.ch2;public class InitialsApp {
/**
* Πρό<SUF>*/
public static void main(String[] args) {
System.out.println("*********" + "\t\t\t\t\t\t\t *" );
System.out.println("*" + "\t\t\t\t\t\t *" + " *");
System.out.println("*" + "\t\t\t\t\t\t *" +... |
7573_4 | package View.UI;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
// Πάνελ για το αρχικό μενού.
public class StartingUI extends JPanel {
MouseListener hover = new HoverMouse();
private JPanel buttons;
private final JButton[] button = new JButton[3];
private JLabel chooseM... | ManosKast/Online_Stratego | src/View/UI/StartingUI.java | 1,236 | // Αλλάζει χρώμα στο mode που το mouse περιφέρεται κάποια στιγμή.
| line_comment | el | package View.UI;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
// Πάνελ για το αρχικό μενού.
public class StartingUI extends JPanel {
MouseListener hover = new HoverMouse();
private JPanel buttons;
private final JButton[] button = new JButton[3];
private JLabel chooseM... |
3735_8 | package com.example.tecktrove.util;
import java.util.Calendar;
/**
* Αμετάβλητη κλάση για τη διαχείριση ημερομηνιών
* αγνοώντας την ώρα.
*
*/
public class SimpleCalendar implements Comparable<SimpleCalendar> {
private static final long MILLIS_PER_DAY = 86400000;
private Calendar date;
/**
* Κα... | MariaSchoinaki/TechTrove-App | app/src/main/java/com/example/tecktrove/util/SimpleCalendar.java | 2,161 | /**
* Επιστρέφει {@code true} αν η ημερομηνία είναι.
* μεταγενέστερη μίας άλλης ημερομηνίας
* @param other Η άλλη ημερομηνία
* @return {@code true} αν η ημερομηνία είναι
* μεταγενέστερη της άλλης
*/ | block_comment | el | package com.example.tecktrove.util;
import java.util.Calendar;
/**
* Αμετάβλητη κλάση για τη διαχείριση ημερομηνιών
* αγνοώντας την ώρα.
*
*/
public class SimpleCalendar implements Comparable<SimpleCalendar> {
private static final long MILLIS_PER_DAY = 86400000;
private Calendar date;
/**
* Κα... |
13461_0 | package gr.aueb.cf.ch3;
import java.util.Scanner;
/**
* Εμφανίζει επαναληπτικά ένα μενού
* επιλογών μέχρι ο χρήστης να επιλέξει
* έξοδο.
*/
public class MenuApp {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int choice = 0;
do {
System.out... | Mariamakr/codingfactory23a | src/gr/aueb/cf/ch3/MenuApp.java | 244 | /**
* Εμφανίζει επαναληπτικά ένα μενού
* επιλογών μέχρι ο χρήστης να επιλέξει
* έξοδο.
*/ | block_comment | el | package gr.aueb.cf.ch3;
import java.util.Scanner;
/**
* Εμφ<SUF>*/
public class MenuApp {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int choice = 0;
do {
System.out.println("Επιλέξτε ένα από τα παρακάτω");
System.out.println("1.... |
2888_0 | package com.ethelontismos;
import java.util.List;
public class Ethelo_1 { // main class και σύνδεση με ΑΙ
public static void main(String[] args) throws Exception {
System.out.println("Καλώς ήρθατε στον εΘΕΛΩντισμό! Είστε έτοιμοι για ένα νέο εθελοντικό ταξίδι;");
UsersProfile userProfile = Users... | MariliaGait/TeaMET | src/main/java/com/ethelontismos/Ethelo_1.java | 555 | // main class και σύνδεση με ΑΙ | line_comment | el | package com.ethelontismos;
import java.util.List;
public class Ethelo_1 { // ma<SUF>
public static void main(String[] args) throws Exception {
System.out.println("Καλώς ήρθατε στον εΘΕΛΩντισμό! Είστε έτοιμοι για ένα νέο εθελοντικό ταξίδι;");
UsersProfile userProfile = UsersProfile.collectUserIn... |
3997_3 | /*
This file is part of "Ηλεκτρονική Διακίνηση Εγγράφων Δήμου Αθηναίων(ΗΔΕ)
Documents' Digital Handling/Digital Signature of Municipality of Athens(DDHDS)".
Complementary service to allow digital signing from browser
Copyright (C) <2018> Municipality Of Athens
Service Author Panagiotis Skarv... | MunicipalityOfAthens/MOASS | src/moa/ds/service/athens/gr/preSign.java | 4,749 | //Όλες οι θέσεις των υπογραφών πρέπει να συμπληρωθούν απο τους υπογράφοντες ώστε το έγγραφο να είναι έγκυρο | line_comment | el | /*
This file is part of "Ηλεκτρονική Διακίνηση Εγγράφων Δήμου Αθηναίων(ΗΔΕ)
Documents' Digital Handling/Digital Signature of Municipality of Athens(DDHDS)".
Complementary service to allow digital signing from browser
Copyright (C) <2018> Municipality Of Athens
Service Author Panagiotis Skarv... |
698_1 | package gr.aueb.cf.ch2;
/**
* Demonstrates int data types
*/
public class IntApp {
public static void main(String[] args) {
System.out.printf("Type: %s\t, Size: %2d bits\tMin: %,d, \tMax: %,d\n",
Integer.TYPE, Integer.BYTES * 8, Integer.MIN_VALUE, Integer.MAX_VALUE);
System.out.pr... | MytilinisV/codingfactorytestbed | ch2/IntApp.java | 324 | // %s placeholder για κείμενο. \t (tab) σε κείμενο | line_comment | el | package gr.aueb.cf.ch2;
/**
* Demonstrates int data types
*/
public class IntApp {
public static void main(String[] args) {
System.out.printf("Type: %s\t, Size: %2d bits\tMin: %,d, \tMax: %,d\n",
Integer.TYPE, Integer.BYTES * 8, Integer.MIN_VALUE, Integer.MAX_VALUE);
System.out.pr... |
1075_34 | public class SinglyLinkedList <E> { // E = element
protected static class Node <E> {
protected E element; // Αναφορά στο στοιχείο στο οποίο δείχνει ο συγκεκριμένος κόμβος
protected Node <E> next; // Αναφορά στον αμέσως επόμενο κόμβο της λίστας
public Node (E e, ... | NIKOMAHOS/AUEB_Projects-Exercises | Data Structures with Java/Εργασία 2/src/SinglyLinkedList.java | 1,942 | // Μείωση κατά 1 του πλήθους των κόμβων του πίνακα
| line_comment | el | public class SinglyLinkedList <E> { // E = element
protected static class Node <E> {
protected E element; // Αναφορά στο στοιχείο στο οποίο δείχνει ο συγκεκριμένος κόμβος
protected Node <E> next; // Αναφορά στον αμέσως επόμενο κόμβο της λίστας
public Node (E e, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.