file_id stringlengths 5 10 | content stringlengths 96 41.7k | repo stringlengths 7 108 | path stringlengths 8 198 | token_length int64 28 8.19k | original_comment stringlengths 5 5.74k | comment_type stringclasses 2
values | detected_lang stringclasses 1
value | prompt stringlengths 47 41.6k |
|---|---|---|---|---|---|---|---|---|
11193_1 | package com.steen.controllers;
import com.steen.models.*;
import com.steen.velocity.VelocityTemplateEngine;
import spark.ModelAndView;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static com.steen.Main.p_layout;
import static com.steen.Main.sfp;
import static... | 0912293/PythonMasterRace | src/main/java/com/steen/controllers/CartController.java | 697 | // "Neem aub. contact op met de sitebeheerder als dit vaak voor komt.."; | line_comment | nl | package com.steen.controllers;
import com.steen.models.*;
import com.steen.velocity.VelocityTemplateEngine;
import spark.ModelAndView;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static com.steen.Main.p_layout;
import static com.steen.Main.sfp;
import static... |
119882_4 | import java.awt.*;
import java.util.ArrayList;
public class EventThingy{
private String eventName;
private double sRecord;
private ArrayList<Student> students; //arraylist met studenten die meedoen
public EventThingy(String eventName){
this.eventName = eventName;
this.students = new Ar... | 0974201/code-bin | java/EventThingy.java | 418 | //lopot foor list n kwjkt of naam matchet me t studnet naam. | line_comment | nl | import java.awt.*;
import java.util.ArrayList;
public class EventThingy{
private String eventName;
private double sRecord;
private ArrayList<Student> students; //arraylist met studenten die meedoen
public EventThingy(String eventName){
this.eventName = eventName;
this.students = new Ar... |
31907_10 | package com.example.idek;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
import androidx... | 0974201/qr-ding | app/src/main/java/com/example/idek/qrReaderFragment.java | 670 | //verwerkt wat er uit de scanding is gekomen | line_comment | nl | package com.example.idek;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
import androidx... |
42150_11 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package rekenmachine;
/**
*
* @author adeliae
*/
public class Telraam extends javax.swing.JFrame {
//"" achter strings gezet om... | 0974201/rekenmachine2 | src/rekenmachine/Telraam.java | 6,708 | //zodat je niet telkens op de c knop hoeft te klikken om een nieuwe | line_comment | nl | /*
* 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 rekenmachine;
/**
*
* @author adeliae
*/
public class Telraam extends javax.swing.JFrame {
//"" achter strings gezet om... |
87789_6 |
package mongodbtest;
import com.mongodb.BasicDBObject;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.DBCursor;
import com.mongodb.DBObject;
import com.mongodb.MongoClient;
import com.mongodb.util.JSON;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Array... | 0NightBot0/DevDatabase | assignment 2/MongoDB/src/mongodbtest/MongoDBTest.java | 1,099 | // creëren hiermee bsn nummers van 5 cijfers | line_comment | nl |
package mongodbtest;
import com.mongodb.BasicDBObject;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.DBCursor;
import com.mongodb.DBObject;
import com.mongodb.MongoClient;
import com.mongodb.util.JSON;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Array... |
158349_80 | package com.spaceproject.math;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Vector3;
import java.math.BigDecimal;
import java.util.Arrays;
/**
* Disclaimer: I am not a physicist. There may be errata but I will do my best.
* Sources:
* https://en.wikipedia... | 0XDE57/SpaceProject | core/src/com/spaceproject/math/Physics.java | 6,603 | //5772K = 502nm = 597 THz = green light | line_comment | nl | package com.spaceproject.math;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Vector3;
import java.math.BigDecimal;
import java.util.Arrays;
/**
* Disclaimer: I am not a physicist. There may be errata but I will do my best.
* Sources:
* https://en.wikipedia... |
194699_31 | /**
* Mengen nichtnegativer ganzer Zahlen in kompakter
* Speicherrepraesentation: ob eine Zahl in der Menge enthalten
* ist, wird durch EIN BIT im Speicher erfasst!
*
* <br>
* Beispiel:
* <br>
* <code>
* <br>IntSet set = new IntSet(8);
* <br>int a[] = { 1, 3, 4, 5 };
* <br>set.include( a );
* <br>
* <br> ... | 0dentitaet/gdp | gdp/IntSet.java | 2,008 | /**
* IntSet Mengen-Iterator
*/ | block_comment | nl | /**
* Mengen nichtnegativer ganzer Zahlen in kompakter
* Speicherrepraesentation: ob eine Zahl in der Menge enthalten
* ist, wird durch EIN BIT im Speicher erfasst!
*
* <br>
* Beispiel:
* <br>
* <code>
* <br>IntSet set = new IntSet(8);
* <br>int a[] = { 1, 3, 4, 5 };
* <br>set.include( a );
* <br>
* <br> ... |
169665_5 | package gameapplication.model.chess.piece.pieces;
import gameapplication.model.chess.Board;
import gameapplication.model.chess.piece.Piece;
import gameapplication.model.chess.piece.PieceColor;
import gameapplication.model.chess.spot.Spot;
import java.util.List;
public class Pawn extends Piece {
int numOfRowsFrom... | 0xBienCuit/ChessGame | src/gameapplication/model/chess/piece/pieces/Pawn.java | 1,930 | //Bekijk als target column 1 naar rechts of 1 naar links van origineele spot is. | line_comment | nl | package gameapplication.model.chess.piece.pieces;
import gameapplication.model.chess.Board;
import gameapplication.model.chess.piece.Piece;
import gameapplication.model.chess.piece.PieceColor;
import gameapplication.model.chess.spot.Spot;
import java.util.List;
public class Pawn extends Piece {
int numOfRowsFrom... |
183866_81 | /* -*-mode:java; c-basic-offset:2; -*- */
/*
Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above... | 0xRustlang/keepass2android | src/java/JavaFileStorage/app/src/main/java/com/jcraft/jsch/jzlib/Tree.java | 7,044 | // zero code length. | line_comment | nl | /* -*-mode:java; c-basic-offset:2; -*- */
/*
Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above... |
23167_8 | package XML;
import Correction.Correction;
import Correction.Corrector;
import java.awt.geom.FlatteningPathIterator;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringReader;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
public class XML... | 0xSMN/2.2-Leertaak_3 | Data_Processor/XML/XML_Parser.java | 2,091 | //Datum van versturen van deze gegevens, formaat: yyyy-mm-dd | line_comment | nl | package XML;
import Correction.Correction;
import Correction.Corrector;
import java.awt.geom.FlatteningPathIterator;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringReader;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
public class XML... |
25614_5 | package spel;
import spel.ingamehelp.ToonIngameHelp;
import spel.opties.ToonIngameOpties;
import spel.winnaar.ToonWinnaar;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
/**
* Cr... | 0xbart/QuixoJavaGame | src/spel/SpelBord.java | 6,762 | //Blokjes worden aangemaakt met bijbehorende afbeeldingen. | line_comment | nl | package spel;
import spel.ingamehelp.ToonIngameHelp;
import spel.opties.ToonIngameOpties;
import spel.winnaar.ToonWinnaar;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
/**
* Cr... |
185101_1 | package dev.bearz.whattodo;
import java.util.ArrayList;
import java.util.HashMap;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.ListActivity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bun... | 1070rik/What-To-Do | app/src/main/java/dev/bearz/whattodo/events.java | 1,207 | //nijdeken.com/wtd/api.php"; | line_comment | nl | package dev.bearz.whattodo;
import java.util.ArrayList;
import java.util.HashMap;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.ListActivity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bun... |
142662_2 | package bpp_sim.Functions;
import bpp_sim.Doos;
import bpp_sim.Product;
import java.util.ArrayList;
/*
Onze eigen bedachte functie - FullNFD
Ofwel - Even/uneven-functie
*/
public class FirstFullNFD implements BPP{
@Override
public ArrayList<Doos> berekenOplossing(ArrayList<Product> producten) {
... | 13r1ckz/KBS-Magazijn | BPP-SIMULATOR/src/bpp_sim/Functions/FirstFullNFD.java | 523 | /*
Gooi het in een nieuwe lijst:
EVEN-ONEVEN-EVEN-ONEVEN-EVEN-ONEVEN-EVEN-ONEVEN-EVEN-ONEVEN-EVEN-ONEVEN-EVEN-ONEVEN-EVEN.
*/ | block_comment | nl | package bpp_sim.Functions;
import bpp_sim.Doos;
import bpp_sim.Product;
import java.util.ArrayList;
/*
Onze eigen bedachte functie - FullNFD
Ofwel - Even/uneven-functie
*/
public class FirstFullNFD implements BPP{
@Override
public ArrayList<Doos> berekenOplossing(ArrayList<Product> producten) {
... |
23465_5 | package org.firstinspires.ftc.teamcode.robotparts;
import com.qualcomm.robotcore.hardware.DcMotorEx;
import com.qualcomm.robotcore.hardware.HardwareMap;
public class Arm {
/** De positie */
public int position = 0;
public int offset = 0;
/** Ben ik al aan het stoppen? */
boolean ikBenAanHetStopp... | 16788-TheEncryptedGentlemen/FtcRobotController | TeamCode/src/main/java/org/firstinspires/ftc/teamcode/robotparts/Arm.java | 631 | // onzin van bram | line_comment | nl | package org.firstinspires.ftc.teamcode.robotparts;
import com.qualcomm.robotcore.hardware.DcMotorEx;
import com.qualcomm.robotcore.hardware.HardwareMap;
public class Arm {
/** De positie */
public int position = 0;
public int offset = 0;
/** Ben ik al aan het stoppen? */
boolean ikBenAanHetStopp... |
126393_17 | import java.util.ArrayList;
import java.util.LinkedList;
public class genrictree {
public static class Node {
int data = 0;
ArrayList<Node> childs;
Node(int data) {
this.data = data;
this.childs = new ArrayList<>();
}
}
// public static int height(... | 1dudecoder/DSAlgo | genric tree/genrictree.java | 2,257 | // distanceBetweenNodes(root.left, d1, d2); | line_comment | nl | import java.util.ArrayList;
import java.util.LinkedList;
public class genrictree {
public static class Node {
int data = 0;
ArrayList<Node> childs;
Node(int data) {
this.data = data;
this.childs = new ArrayList<>();
}
}
// public static int height(... |
190714_3 | import java.util.ArrayList;
import java.util.List;
public class Dungeon {
private List<Map> levels;
private int INITIAL_EXP = 100;
private int currentLevelIndex;
public Dungeon(){
levels = new ArrayList<>();
initializeLevels();
currentLevelIndex = 0;
}
private void i... | 2000eBe/SE2024_Textbased_RPG | src/main/java/Dungeon.java | 3,486 | // Level 4 | line_comment | nl | import java.util.ArrayList;
import java.util.List;
public class Dungeon {
private List<Map> levels;
private int INITIAL_EXP = 100;
private int currentLevelIndex;
public Dungeon(){
levels = new ArrayList<>();
initializeLevels();
currentLevelIndex = 0;
}
private void i... |
15219_17 | package com.rs2.world;
import java.util.Arrays;
import java.util.Objects;
import java.util.Optional;
import com.rs2.game.npcs.Npc;
import com.rs2.game.players.Player;
import com.rs2.game.players.PlayerHandler;
/**
* @author Andrew (Mr Extremez) - added all the boundaries
* @author Jason http://www.rune-server.org/m... | 2006-Scape/2006Scape | 2006Scape Server/src/main/java/com/rs2/world/Boundary.java | 6,623 | //Varrock West | line_comment | nl | package com.rs2.world;
import java.util.Arrays;
import java.util.Objects;
import java.util.Optional;
import com.rs2.game.npcs.Npc;
import com.rs2.game.players.Player;
import com.rs2.game.players.PlayerHandler;
/**
* @author Andrew (Mr Extremez) - added all the boundaries
* @author Jason http://www.rune-server.org/m... |
197151_0 | package at.htl.entity;
import javax.persistence.*;
import java.time.LocalDate;
@Entity
public class Auftritt {
//region Fields
@Id
@Column(name = "id", nullable = false)
private Long id;
private String ort;
private int anzahlAnPlattler;
private int verdienst;
private String plattler;... | 2122-4ahif-nvs/01-microproject-christophhandel | backend/src/main/java/at/htl/entity/Auftritt.java | 430 | //region Fields | line_comment | nl | package at.htl.entity;
import javax.persistence.*;
import java.time.LocalDate;
@Entity
public class Auftritt {
//re<SUF>
@Id
@Column(name = "id", nullable = false)
private Long id;
private String ort;
private int anzahlAnPlattler;
private int verdienst;
private String plattler;
/... |
37899_1 | import java.util.ArrayList;
public class Bedrijf {
private ArrayList<Voertuig> voertuigen;
public Bedrijf() {
this.voertuigen = new ArrayList<>();
}
public void add(Voertuig voertuig) {
this.voertuigen.add(voertuig);
}
public double getBelasting() {
double belasting =... | 22-avo-programmeren-thomasmore/oop-bedrijf | src/Bedrijf.java | 500 | // %.2f betekent de double b.getBelasting() die volgt na de tekst afronden op 2 cijfers | line_comment | nl | import java.util.ArrayList;
public class Bedrijf {
private ArrayList<Voertuig> voertuigen;
public Bedrijf() {
this.voertuigen = new ArrayList<>();
}
public void add(Voertuig voertuig) {
this.voertuigen.add(voertuig);
}
public double getBelasting() {
double belasting =... |
138137_2 | package be.thomasmore.screeninfo.controllers;
import be.thomasmore.screeninfo.model.Spot;
import be.thomasmore.screeninfo.repositories.SpotRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springf... | 22-project-programmeren-thomasmore/MechelenFeest | src/main/java/be/thomasmore/screeninfo/controllers/MapController.java | 636 | //gaan chekken dat je filters gebruikt | line_comment | nl | package be.thomasmore.screeninfo.controllers;
import be.thomasmore.screeninfo.model.Spot;
import be.thomasmore.screeninfo.repositories.SpotRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springf... |
18917_0 | package be.thomasmore.qrace.model;
// de mascottes zijn de verschillende characters binnen QRace
public class Mascot {
private String name;
private String description;
public Mascot(String name, String description) {
this.name = name;
this.description = description;
}
public Strin... | 22-project-programmeren-thomasmore/QRace | src/main/java/be/thomasmore/qrace/model/Mascot.java | 147 | // de mascottes zijn de verschillende characters binnen QRace | line_comment | nl | package be.thomasmore.qrace.model;
// de<SUF>
public class Mascot {
private String name;
private String description;
public Mascot(String name, String description) {
this.name = name;
this.description = description;
}
public String getName() {
return name;
}
publi... |
70177_11 | package frc.robot.subsystems.climber;
import com.revrobotics.CANSparkMax;
import com.revrobotics.CANSparkMaxLowLevel.MotorType;
import edu.wpi.first.math.MathUtil;
import edu.wpi.first.math.controller.PIDController;
import edu.wpi.first.networktables.NetworkTable;
import edu.wpi.first.networktables.NetworkTableEntry;... | 2202Programming/FRC2022 | src/main/java/frc/robot/subsystems/climber/Climber.java | 3,485 | // in degs-err out: vel deg/s | line_comment | nl | package frc.robot.subsystems.climber;
import com.revrobotics.CANSparkMax;
import com.revrobotics.CANSparkMaxLowLevel.MotorType;
import edu.wpi.first.math.MathUtil;
import edu.wpi.first.math.controller.PIDController;
import edu.wpi.first.networktables.NetworkTable;
import edu.wpi.first.networktables.NetworkTableEntry;... |
132832_4 | package Shipflex;
import Boat.Boat;
import Boat.Option;
import Customer.CustomCustomer;
import Customer.BusinessCustomer;
import Customer.FoundationCustomer;
import Customer.GovermentCustomer;
import DataInOut.Info;
import DataInOut.Printer;
import java.util.ArrayList;
import java.util.List;
public class Quote {
... | 22082476/PROJ1-Milkshake | src/Shipflex/Quote.java | 2,270 | //Totaal prijs boot incl btw | line_comment | nl | package Shipflex;
import Boat.Boat;
import Boat.Option;
import Customer.CustomCustomer;
import Customer.BusinessCustomer;
import Customer.FoundationCustomer;
import Customer.GovermentCustomer;
import DataInOut.Info;
import DataInOut.Printer;
import java.util.ArrayList;
import java.util.List;
public class Quote {
... |
122929_4 | package com.ebookfrenzy.gametest;
import android.content.Context;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;
import android.graphics.Rect;
import android.graphics.Typeface;
import android.util.Displ... | 2645/integration_multiscreen_groep1_app | gameTest/app/src/main/java/com/ebookfrenzy/gametest/GamePanel.java | 1,487 | // blokje uit het scherm | line_comment | nl | package com.ebookfrenzy.gametest;
import android.content.Context;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;
import android.graphics.Rect;
import android.graphics.Typeface;
import android.util.Displ... |
31177_16 | /*
* $Header$
* $Revision: 1321 $
* $Date: 2008-04-26 17:30:06 -0700 (Sat, 26 Apr 2008) $
*
* ====================================================================
*
* Copyright 2000-2002 bob mcwhirter & James Strachan.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or witho... | 2chilled/scalesXml | jaxen/src/main/java/scales/xml/jaxen/ScalesBaseJaxenXPath.java | 5,991 | // Helpers | line_comment | nl | /*
* $Header$
* $Revision: 1321 $
* $Date: 2008-04-26 17:30:06 -0700 (Sat, 26 Apr 2008) $
*
* ====================================================================
*
* Copyright 2000-2002 bob mcwhirter & James Strachan.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or witho... |
97298_18 | package TzukEitan.launchers;
import java.util.LinkedList;
import java.util.List;
import TzukEitan.listeners.WarEventListener;
import TzukEitan.missiles.DefenseMissile;
import TzukEitan.missiles.EnemyMissile;
import TzukEitan.utils.IdGenerator;
import TzukEitan.utils.Utils;
import TzukEitan.war.WarLogger;
import TzukE... | 2lambda123/IronDome2 | IronDome2/src/TzukEitan/launchers/IronDome.java | 1,028 | // Event | line_comment | nl | package TzukEitan.launchers;
import java.util.LinkedList;
import java.util.List;
import TzukEitan.listeners.WarEventListener;
import TzukEitan.missiles.DefenseMissile;
import TzukEitan.missiles.EnemyMissile;
import TzukEitan.utils.IdGenerator;
import TzukEitan.utils.Utils;
import TzukEitan.war.WarLogger;
import TzukE... |
32107_11 | package view;
import java.awt.Color;
import java.util.HashMap;
import java.awt.Graphics;
import javax.swing.JPanel;
import logic.Counter;
/**
* The Class represent the population of actors in a piechart
*/
public class PieChart extends JPanel
{
// width of the frame
private int width;
// height of the frame
pr... | 2ntense/foxes-and-rabbits-v2 | src/view/PieChart.java | 608 | // teller van een kleeur delen door de totaal en keer 360 graden | line_comment | nl | package view;
import java.awt.Color;
import java.util.HashMap;
import java.awt.Graphics;
import javax.swing.JPanel;
import logic.Counter;
/**
* The Class represent the population of actors in a piechart
*/
public class PieChart extends JPanel
{
// width of the frame
private int width;
// height of the frame
pr... |
90566_3 | package com.example.snackapp.Model;
import android.content.Context;
import android.util.Log;
import androidx.room.Database;
import androidx.room.Room;
import androidx.room.RoomDatabase;
import androidx.sqlite.db.SupportSQLiteDatabase;
import com.example.snackapp.DAO.BestellingDao;
import com.example.snackapp.DAO.Use... | 2speef10/SnackApp | app/src/main/java/com/example/snackapp/Model/DatabaseHelper.java | 463 | // Voorbeeld: db.execSQL("CREATE TABLE IF NOT EXISTS ..."); | line_comment | nl | package com.example.snackapp.Model;
import android.content.Context;
import android.util.Log;
import androidx.room.Database;
import androidx.room.Room;
import androidx.room.RoomDatabase;
import androidx.sqlite.db.SupportSQLiteDatabase;
import com.example.snackapp.DAO.BestellingDao;
import com.example.snackapp.DAO.Use... |
137200_6 | package com.example.villoapp.Views;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import com.example.villoapp... | 2speef10/VilloApp | app/src/main/java/com/example/villoapp/Views/LoginActivity.java | 595 | // Geef een foutmelding als de velden leeg zijn | line_comment | nl | package com.example.villoapp.Views;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import com.example.villoapp... |
8360_0 | package controller;
import java.util.Calendar;
import javax.json.Json;
import javax.json.JsonObjectBuilder;
import model.PrIS;
import server.Conversation;
import server.Handler;
public class SysteemDatumController implements Handler {
/**
* De SysteemDatumController klasse moet alle systeem (en test)-gerelatee... | 3YH/GP_Startapplicatie | src/controller/SysteemDatumController.java | 455 | /**
* De SysteemDatumController klasse moet alle systeem (en test)-gerelateerde aanvragen
* afhandelen. Methode handle() kijkt welke URI is opgevraagd en laat
* dan de juiste methode het werk doen. Je kunt voor elke nieuwe URI
* een nieuwe methode schrijven.
*
* @param infoSys - het toegangspunt tot het do... | block_comment | nl | package controller;
import java.util.Calendar;
import javax.json.Json;
import javax.json.JsonObjectBuilder;
import model.PrIS;
import server.Conversation;
import server.Handler;
public class SysteemDatumController implements Handler {
/**
* De <SUF>*/
public SysteemDatumController(PrIS infoSys) {
}
public ... |
135543_0 | package com.yannickhj.ohwdash.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import javax.persistence.*;... | 3YH/ohw_dashboard | src/main/java/com/yannickhj/ohwdash/model/Sign.java | 1,036 | //Aanmaken entiteit en dmv. Hibernate annotaties aanmaken in de database | line_comment | nl | package com.yannickhj.ohwdash.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import javax.persistence.*;... |
59316_9 | //
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1 generiert
// Siehe <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2018.1... | 3dcitydb/importer-exporter | impexp-vis-plugin/src-gen/main/java/net/opengis/kml/_2/LineStringType.java | 2,447 | /**
* Legt den Wert der tessellate-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/ | block_comment | nl | //
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1 generiert
// Siehe <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2018.1... |
105013_3 | public class KiwiTester
{
public static void main(String[] args)
{
// testing both null and normal constructor
KiwiBird kiwi1 = new KiwiBird();
KiwiBird kiwi2 = new KiwiBird("Alexa", 15.0, "Brown Kiwi", "Male", "Coromandel", 10.0, 4);
// testing all accessors
System.out.p... | 3zachm/APCS-Misc | Pre-AP/KiwiBird/KiwiTester.java | 1,196 | // testing void methods | line_comment | nl | public class KiwiTester
{
public static void main(String[] args)
{
// testing both null and normal constructor
KiwiBird kiwi1 = new KiwiBird();
KiwiBird kiwi2 = new KiwiBird("Alexa", 15.0, "Brown Kiwi", "Male", "Coromandel", 10.0, 4);
// testing all accessors
System.out.p... |
11706_0 | /*
* Bestelling onderhoudt een lijst met objecten van BestelMedicijn. Een lijst met objecten van Bestelling wordt
* hogerop door Voorraadbeheer onderhouden.
* Op deze manier vermijden we een te complexe structuur binnenin de verschillende klassen.
*/
import java.text.ParseException;
import java.util.ArrayLis... | 4SDDeMeyerKaya/Voorraadbeheer4SD | src/Bestelling.java | 879 | /*
* Bestelling onderhoudt een lijst met objecten van BestelMedicijn. Een lijst met objecten van Bestelling wordt
* hogerop door Voorraadbeheer onderhouden.
* Op deze manier vermijden we een te complexe structuur binnenin de verschillende klassen.
*/ | block_comment | nl | /*
* Bes<SUF>*/
import java.text.ParseException;
import java.util.ArrayList;
public class Bestelling {
ArrayList<BestelMedicijn> besmedlist = new ArrayList<BestelMedicijn>();
private boolean isBesteld;
private boolean isAangekomen;
public Bestelling(){
isBesteld=false;
isAangekomen=false;
... |
43905_5 | package main;
import java.awt.Font;
import java.awt.Insets;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.JToggleButton;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
public class JModToggleButton extends JModParameterObject {
... | 4c0n/4c0nmedit | jMod/src/main/JModToggleButton.java | 849 | // Als de waarde in de parameter wordt veranderd, wat moet er dan gebeuren...
| line_comment | nl | package main;
import java.awt.Font;
import java.awt.Insets;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.JToggleButton;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
public class JModToggleButton extends JModParameterObject {
... |
6100_2 | package com.twitter.elephantbird.util;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FSDataOutputStream;
import org.apache.hadoop.fs.FileStatus;
import org.apache.hadoop.fs.FileSystem;
import org.apach... | 50onRed/elephant-bird | core/src/main/java/com/twitter/elephantbird/util/LzoUtils.java | 999 | // older version of hadoop-lzo. | line_comment | nl | package com.twitter.elephantbird.util;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FSDataOutputStream;
import org.apache.hadoop.fs.FileStatus;
import org.apache.hadoop.fs.FileSystem;
import org.apach... |
54049_74 | /*
* Copyright (C) 2012-2022 52°North Spatial Information Research GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with libraries which are l... | 52North/SOS | coding/netcdf/api/src/main/java/org/n52/sos/netcdf/NetCDFUtil.java | 6,479 | // default void checkSrid( int srid, Logger logger ) throws | line_comment | nl | /*
* Copyright (C) 2012-2022 52°North Spatial Information Research GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with libraries which are l... |
96344_29 | /**
* Copyright (C) 2007-2015 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with... | 52North/triturus | src/main/java/org/n52/v3d/triturus/gisimplm/MpTinPolygon.java | 1,338 | //help var | line_comment | nl | /**
* Copyright (C) 2007-2015 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with... |
174733_6 | package org.khan.solver.cubesolver.processor;
import java.util.ArrayList;
import java.util.List;
import org.khan.solver.cubesolver.puzzle.CompatabilityChecker;
import org.khan.solver.cubesolver.puzzle.PuzzlePiece;
import org.khan.solver.cubesolver.puzzle.cube.Cube;
/**
* Abstract puzzle solver class to ac... | 5331k/CubeSolver | cubesolver/src/main/java/org/khan/solver/cubesolver/processor/AbstractPuzzleSolver.java | 1,106 | // int j=0;
| line_comment | nl | package org.khan.solver.cubesolver.processor;
import java.util.ArrayList;
import java.util.List;
import org.khan.solver.cubesolver.puzzle.CompatabilityChecker;
import org.khan.solver.cubesolver.puzzle.PuzzlePiece;
import org.khan.solver.cubesolver.puzzle.cube.Cube;
/**
* Abstract puzzle solver class to ac... |
112712_3 | package Application.Create;
import data.Artist;
import data.FestivalPlan;
import data.Performance;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
public class PerformanceAdd {
public PerformanceAdd(FestivalPlan... | 589Hours/FestivalPlanner | src/Application/Create/PerformanceAdd.java | 1,866 | // Label om de gebruiker te informeren over welke informatie hij moet invoeren. | line_comment | nl | package Application.Create;
import data.Artist;
import data.FestivalPlan;
import data.Performance;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
public class PerformanceAdd {
public PerformanceAdd(FestivalPlan... |
73669_5 | /* Tencent is pleased to support the open source community by making Hippy available.
* Copyright (C) 2018 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain... | 5l1v3r1/Hippy | renderer/native/android/src/main/java/com/tencent/renderer/node/RenderNode.java | 6,223 | /**
* Mark node has been deleted.
*/ | block_comment | nl | /* Tencent is pleased to support the open source community by making Hippy available.
* Copyright (C) 2018 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain... |
160594_12 | //jDownloader - Downloadmanager
//Copyright (C) 2009 JD-Team support@jdownloader.org
//
//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 opti... | 5l1v3r1/jdownloader | src/jd/plugins/decrypter/VoirFilms.java | 905 | //(?:\\w+\\.)?voirfilms\\.ec/[^/]+\\.html?" })
| line_comment | nl | //jDownloader - Downloadmanager
//Copyright (C) 2009 JD-Team support@jdownloader.org
//
//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 opti... |
81329_54 | ///////////////////////////////////////////////////////////////////////////////
// For information as to what this class does, see the Javadoc, below. //
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, //
// 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph... | 777Rebecca/tetrad | tetrad-lib/src/main/java/edu/cmu/tetrad/data/DataWriter.java | 2,484 | // Object obj = dataSet.getObject(row, col); | line_comment | nl | ///////////////////////////////////////////////////////////////////////////////
// For information as to what this class does, see the Javadoc, below. //
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, //
// 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph... |
174752_9 | package id.radityo.moviedatabase;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.View;
im... | 7dp/Movie-DB | ayoGAN35/app/src/main/java/id/radityo/moviedatabase/DetailActivity.java | 5,914 | // reviewsList = realmHelper.getAllReviews();
| line_comment | nl | package id.radityo.moviedatabase;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.View;
im... |
173664_1 | /*
* Copyright 2014 - 2015 Stefaan Van Dooren (stefaan.vandooren@gmail.com)
* Copyright 2017 - 2020 Anton Tananaev (anton )
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... | 7erry/iot | src/main/java/org/hazelcast/geocoder/MapQuestGeocoder.java | 630 | //www.mapquestapi.com/geocoding/v1/reverse"; | line_comment | nl | /*
* Copyright 2014 - 2015 Stefaan Van Dooren (stefaan.vandooren@gmail.com)
* Copyright 2017 - 2020 Anton Tananaev (anton )
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
147454_38 | package GA;
import com.sun.xml.internal.ws.server.provider.SyncProviderInvokerTube;
import util.WorkStation;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class GenAlgorithm {
//初始列表
private static List<Chromosome> population = new ArrayList<>();
//种群列表
priva... | 7lldevelopers/FJSP-AGV | src/main/java/GA/GenAlgorithm.java | 1,522 | // if (ch.get(e).getTime()==ch.get(e++).getTime()) | line_comment | nl | package GA;
import com.sun.xml.internal.ws.server.provider.SyncProviderInvokerTube;
import util.WorkStation;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class GenAlgorithm {
//初始列表
private static List<Chromosome> population = new ArrayList<>();
//种群列表
priva... |
106606_14 | /*
* AGCDialog.java
*
* Created on 12 May 2008, 10:37
*/
package radio;
import javax.swing.SpinnerNumberModel;
/**
*
* @author jm57878
*/
public class AGCDialog extends javax.swing.JDialog {
/** Creates new form AGCDialog */
public AGCDialog(java.awt.Frame parent, boolean modal) {
... | 8cH9azbsFifZ/java-sdr | src/radio/AGCDialog.java | 3,490 | //GEN-FIRST:event_decayStateChanged | line_comment | nl | /*
* AGCDialog.java
*
* Created on 12 May 2008, 10:37
*/
package radio;
import javax.swing.SpinnerNumberModel;
/**
*
* @author jm57878
*/
public class AGCDialog extends javax.swing.JDialog {
/** Creates new form AGCDialog */
public AGCDialog(java.awt.Frame parent, boolean modal) {
... |
109127_5 | package com.example.cinsects;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.Log;
import android.view.View;
import android.widget.But... | 8mas/InsecureApp | app/src/main/java/com/example/cinsects/MainActivity.java | 1,351 | //httpbin.org/get"); | line_comment | nl | package com.example.cinsects;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.Log;
import android.view.View;
import android.widget.But... |
14489_5 | package voetbalmanager.controller;
import java.util.HashMap;
import javafx.animation.KeyFrame;
import javafx.animation.KeyValue;
import javafx.animation.Timeline;
import javafx.beans.property.DoubleProperty;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXMLLoader;
import javafx... | 8uurg/OOP-Project-6.2 | src/voetbalmanager/controller/ScreensController.java | 1,184 | // en uiteindelijk tentoonstellen | line_comment | nl | package voetbalmanager.controller;
import java.util.HashMap;
import javafx.animation.KeyFrame;
import javafx.animation.KeyValue;
import javafx.animation.Timeline;
import javafx.beans.property.DoubleProperty;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXMLLoader;
import javafx... |
31685_12 | package DerekBanas;
import java.util.Arrays;
/*
* Translated bby:93design
* Autor: Derek Banas
*/
public class ArrayNedComment {
public static void main(String[] args){
// Een array is een variable die een verzameling van waardes
// van hetzeflde type bevat.
// Een array is zoals een grote doos met all... | 93design/Java_Basis_Opl | extraOefeningenOplossing/8 arrays/DerekBanas/ArrayNedComment.java | 1,319 | // Je kan ook meteen een array meegeven in de vorm van: | line_comment | nl | package DerekBanas;
import java.util.Arrays;
/*
* Translated bby:93design
* Autor: Derek Banas
*/
public class ArrayNedComment {
public static void main(String[] args){
// Een array is een variable die een verzameling van waardes
// van hetzeflde type bevat.
// Een array is zoals een grote doos met all... |
57040_19 | package woordenapplicatie.gui;
/*
* 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.net.URL;
import java.util.ArrayList;
import java.util.Collection;
import java.uti... | 94BasMulder/JCF4MitStijn | WoordenApplicatie/src/woordenapplicatie/gui/WoordenController.java | 1,641 | //aanmaken van een int voor de referentie.
| line_comment | nl | package woordenapplicatie.gui;
/*
* 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.net.URL;
import java.util.ArrayList;
import java.util.Collection;
import java.uti... |
101441_30 | /* Class: ReadItem
* Parent class: Item
* Purpose: To temporarily store info about the read words of a sentence
* Version: Thinknowlogy 2018r4 (New Science)
*************************************************************************/
/* Copyright (C) 2009-2018, Menno Mafait. Your suggestions, modifications,
* c... | 980f/Thinknowlogy | source/Java/org/mafait/thinknowlogy/ReadItem.java | 5,914 | // Example: "De paard is onjuist." | line_comment | nl | /* Class: ReadItem
* Parent class: Item
* Purpose: To temporarily store info about the read words of a sentence
* Version: Thinknowlogy 2018r4 (New Science)
*************************************************************************/
/* Copyright (C) 2009-2018, Menno Mafait. Your suggestions, modifications,
* c... |
138458_3 | public class ExceptionExample {
public static void main(String[] args) {
int a = 10;
//int b = 0; //Het getal kan niet door nul worden gedeeld.//Finally blok werkt.// Code werkt
int b = 2; //5 //Finally blok werkt.//Code werkt
int c;
try {
c = a / b;
... | 9elmaz9/Java_Fundamentals | Chapter14_Exceptions/src/ExceptionExample.java | 186 | // if werkt - komt onmiddellijk hier | line_comment | nl | public class ExceptionExample {
public static void main(String[] args) {
int a = 10;
//int b = 0; //Het getal kan niet door nul worden gedeeld.//Finally blok werkt.// Code werkt
int b = 2; //5 //Finally blok werkt.//Code werkt
int c;
try {
c = a / b;
... |
150156_6 |
package org.CrossApp.lib;
import java.nio.ByteBuffer;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map.Entry;
import java.util.Set;
import java.util.Timer;
import java.util.TimerTask;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.Context;... | 9miao/CrossApp | CrossApp/proj.android/src/org/CrossApp/lib/CrossAppTextField.java | 5,759 | //placeholder text | line_comment | nl |
package org.CrossApp.lib;
import java.nio.ByteBuffer;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map.Entry;
import java.util.Set;
import java.util.Timer;
import java.util.TimerTask;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.Context;... |
53207_42 | package com.amaze.quit.app;
import android.support.v7.app.ActionBar;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.content.res.Resource... | A-Maze/Quit | app/src/main/java/com/amaze/quit/app/Home.java | 3,115 | //user?screen_name=12Quit")); | line_comment | nl | package com.amaze.quit.app;
import android.support.v7.app.ActionBar;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.content.res.Resource... |
40737_1 | package fr.loria.synalp.jtrans.markup.out;
import fr.loria.synalp.jtrans.project.Token;
import fr.loria.synalp.jtrans.project.Phrase;
import fr.loria.synalp.jtrans.project.Project;
import java.io.File;
import java.io.IOException;
import java.io.Writer;
import java.util.Iterator;
import static fr.loria.synalp.jtrans.... | AAmoukrane/jtrans | src/fr/loria/synalp/jtrans/markup/out/TextGridAnonSaver.java | 545 | //sldr.org/voir_depot.php?id=526"; | line_comment | nl | package fr.loria.synalp.jtrans.markup.out;
import fr.loria.synalp.jtrans.project.Token;
import fr.loria.synalp.jtrans.project.Phrase;
import fr.loria.synalp.jtrans.project.Project;
import java.io.File;
import java.io.IOException;
import java.io.Writer;
import java.util.Iterator;
import static fr.loria.synalp.jtrans.... |
10057_14 | package nl.ou.fresnelforms.view;
import java.awt.Cursor;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.geom.Point2D;
import javax.swing.SwingUtilities;
/**
* Mouse listener for all actions performed on lens boxes and property labels.
*/
public class LensDiagramMo... | ABI-Team-30/Fresnel-Forms | src/main/java/nl/ou/fresnelforms/view/LensDiagramMouseAdapter.java | 1,612 | //in ieder geval lensbox geselecteerd, maar misschien ook wel property label
| line_comment | nl | package nl.ou.fresnelforms.view;
import java.awt.Cursor;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.geom.Point2D;
import javax.swing.SwingUtilities;
/**
* Mouse listener for all actions performed on lens boxes and property labels.
*/
public class LensDiagramMo... |
52261_83 | /*
* ALMA - Atacama Large Millimiter Array (c) European Southern Observatory, 2004
* Copyright by ESO (in the framework of the ALMA collaboration), All rights
* reserved
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as publi... | ACS-Community/ACS | LGPL/CommonSoftware/jcontnc/src/alma/acs/nc/AnyAide.java | 5,642 | // to get. | line_comment | nl | /*
* ALMA - Atacama Large Millimiter Array (c) European Southern Observatory, 2004
* Copyright by ESO (in the framework of the ALMA collaboration), All rights
* reserved
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as publi... |
182790_0 | package be.zetta.logisticsdesktop.gui.magazijnier;
import be.zetta.logisticsdesktop.domain.order.entity.OrderStatus;
import be.zetta.logisticsdesktop.domain.order.entity.dto.CustomerOrderDto;
import be.zetta.logisticsdesktop.domain.order.entity.dto.OrderLineDto;
import be.zetta.logisticsdesktop.domain.packaging.entity... | AFIRO/logistics-desktop | src/main/java/be/zetta/logisticsdesktop/gui/magazijnier/BestellingenModel.java | 1,534 | // String properties zijn bidirectioneel verbonden met de text velden in de controller | line_comment | nl | package be.zetta.logisticsdesktop.gui.magazijnier;
import be.zetta.logisticsdesktop.domain.order.entity.OrderStatus;
import be.zetta.logisticsdesktop.domain.order.entity.dto.CustomerOrderDto;
import be.zetta.logisticsdesktop.domain.order.entity.dto.OrderLineDto;
import be.zetta.logisticsdesktop.domain.packaging.entity... |
128058_43 | package eu.linkedeodata.geotriples.geotiff;
//package org.locationtech.jtsexample.io.gml2;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.LineNumberReader;
import java.io.Reader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Hash... | AI-team-UoA/GeoTriples | geotriples-processors/geotriples-r2rml/src/main/java/eu/linkedeodata/geotriples/geotiff/GeoTiffReaderExample.java | 3,267 | //www.opengis.net/def/crs/EPSG/0/"
| line_comment | nl | package eu.linkedeodata.geotriples.geotiff;
//package org.locationtech.jtsexample.io.gml2;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.LineNumberReader;
import java.io.Reader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Hash... |
17481_0 | package nl.han.aim.bewd.wsstringkata;
public class StringKata {
/**
* In deze main worden alle "tests" uitgevoerd die aantonen dat de string calculator naar behoren werkt.
* @param args standaard-args voor uitvoeren vanaf de commandline.
*/
public static void main(String[] args) {
Str... | AIM-CNP/bewd-workshop-string-kata-uitwerking | src/main/java/nl/han/aim/bewd/wsstringkata/StringKata.java | 637 | /**
* In deze main worden alle "tests" uitgevoerd die aantonen dat de string calculator naar behoren werkt.
* @param args standaard-args voor uitvoeren vanaf de commandline.
*/ | block_comment | nl | package nl.han.aim.bewd.wsstringkata;
public class StringKata {
/**
* In <SUF>*/
public static void main(String[] args) {
StringCalculator calc = new StringCalculator();
if(calc.add("") != 0) {
System.out.println("FOUT: lege string levert geen nul op.");
}
if... |
65821_5 | package aimene.doex.bestelling.controller;
import aimene.doex.bestelling.model.Bestelling;
import aimene.doex.bestelling.model.Geld;
import aimene.doex.bestelling.model.Product;
import aimene.doex.bestelling.model.Valuta;
import aimene.doex.bestelling.repository.ProductRepository;
import aimene.doex.bestelling.reposit... | AIM-ENE/doex-opdracht-3 | oefeningen/les-3/voorbereiding/onderdeel2/bestelling/src/main/java/aimene/doex/bestelling/controller/ProductController.java | 932 | // Deze regel hoef je niet op te nemen in het sequentiediagram | line_comment | nl | package aimene.doex.bestelling.controller;
import aimene.doex.bestelling.model.Bestelling;
import aimene.doex.bestelling.model.Geld;
import aimene.doex.bestelling.model.Product;
import aimene.doex.bestelling.model.Valuta;
import aimene.doex.bestelling.repository.ProductRepository;
import aimene.doex.bestelling.reposit... |
64399_29 | package app;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import java.util.Map.Entry;
public class Tabela {
// ~~ nazwaKolumny, zawartoscTejKolumny ~~ tabela
private Map<String, List<String>> tabela;
public Tabela() {
tab... | AKrupaa/Simple-database-in-Java | src/app/Tabela.java | 3,358 | // System.out.println(ent.getKey() + " ==> " + ent.getValue()); | line_comment | nl | package app;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import java.util.Map.Entry;
public class Tabela {
// ~~ nazwaKolumny, zawartoscTejKolumny ~~ tabela
private Map<String, List<String>> tabela;
public Tabela() {
tab... |
199913_35 |
class Customer{
int id,qno,arrivetime,departtime=0,depcountertime,state=0,burgers,leftburgers;
int ht;
Customer left,right;
queue que;
}
class qnode{
int size=0;
int qid;
queue q=new queue();
int qind;
}
class events{
int t=0,priority=0;
Customer c;
int p... | ALKRIS-55/McMAHON-S-BURGERS | MMBurgers.java | 4,907 | // E.deletemin();
| line_comment | nl |
class Customer{
int id,qno,arrivetime,departtime=0,depcountertime,state=0,burgers,leftburgers;
int ht;
Customer left,right;
queue que;
}
class qnode{
int size=0;
int qid;
queue q=new queue();
int qind;
}
class events{
int t=0,priority=0;
Customer c;
int p... |
140661_27 | /*
* Copyright (C) 2014 Trillian Mobile AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | AMONCHO/robovm | cocoatouch/src/main/java/org/robovm/apple/coremedia/CMTimeRange.java | 1,972 | /*<methods>*/ | block_comment | nl | /*
* Copyright (C) 2014 Trillian Mobile AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
200238_33 | /**
* Copyright (c) 2010-2013, openHAB.org and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org... | ANierbeck/openhab | bundles/binding/org.openhab.binding.novelanheatpump/src/main/java/org/openhab/binding/novelanheatpump/HeatpumpCommandType.java | 2,279 | // in german Massentrom | line_comment | nl | /**
* Copyright (c) 2010-2013, openHAB.org and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org... |
78594_58 | package cloudapplications.citycheck.Activities;
import android.content.DialogInterface;
import android.content.Intent;
import android.location.Location;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.provider.Settings;
import android.support.design.widget.F... | AP-IT-GH/CA1819-CityCheck | src/CityCheckApp/app/src/main/java/cloudapplications/citycheck/Activities/GameActivity.java | 5,094 | // Vraag tonen | line_comment | nl | package cloudapplications.citycheck.Activities;
import android.content.DialogInterface;
import android.content.Intent;
import android.location.Location;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.provider.Settings;
import android.support.design.widget.F... |
17870_25 | package be.ap.eaict.geocapture;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.support.v7.app.AppCompatActivity;
import com.google.android.gms.maps.CameraUpdateFactory;
import co... | AP-IT-GH/CA1819-HansAnders | MobApp/app/src/main/java/be/ap/eaict/geocapture/MapActivity.java | 4,115 | //controleren of je binnen een straal van 30m bent om te kunnen capturen. | line_comment | nl | package be.ap.eaict.geocapture;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.support.v7.app.AppCompatActivity;
import com.google.android.gms.maps.CameraUpdateFactory;
import co... |
202629_4 | package com.example.midasvg.pilgrim;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.support.annotation.NonNull;
import android.support.design.widget.NavigationView;
impor... | AP-IT-GH/CA1819-Pilgrim | src/AndroidApp/app/src/main/java/com/example/midasvg/pilgrim/LeaderboardActivity.java | 1,535 | //Nu kan er op de button gedrukt worden | line_comment | nl | package com.example.midasvg.pilgrim;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.support.annotation.NonNull;
import android.support.design.widget.NavigationView;
impor... |
172731_17 | package com.ap.brecht.guitool;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.... | AP-IT-GH/GuiTool | app/src/main/java/com/ap/brecht/guitool/StopwatchFragment.java | 4,743 | //gewoon zo laten :) | line_comment | nl | package com.ap.brecht.guitool;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.... |
129489_6 | package be.eaict.stretchalyzer2;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget... | AP-IT-GH/IP18-StretchAnalyzer02 | app/src/main/java/be/eaict/stretchalyzer2/Settings.java | 880 | //rtc_wakeup --> zorgt ervoor dat de notification ook in sleep mode verschijnt. | line_comment | nl | package be.eaict.stretchalyzer2;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget... |
54725_0 | package com.example.loginregister.ui.home;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.security.PublicKey;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
public class Growschedule {
public int [] Time;
pu... | AP-IT-GH/ap-valley-20-21-apv02 | app/src/main/java/com/example/loginregister/ui/home/Growschedule.java | 356 | //aantal weken dat de plant moet groeien | line_comment | nl | package com.example.loginregister.ui.home;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.security.PublicKey;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
public class Growschedule {
public int [] Time;
pu... |
155819_39 | package com.interproject.piago;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import android.annotation.SuppressLint;
import android.content.DialogInterface;
import android.content.Intent;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevic... | AP-IT-GH/intprojectrepo-piago | PiaGOApp/app/src/main/java/com/interproject/piago/PlayPiago.java | 5,518 | //Is de noot correct, laat dan een groene background kort zien | line_comment | nl | package com.interproject.piago;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import android.annotation.SuppressLint;
import android.content.DialogInterface;
import android.content.Intent;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevic... |
169774_60 | package com.app.vinnie.myapplication;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.Contex... | AP-IT-GH/intprojectrepo-thermo-team | thermo-sauna/app/src/main/java/com/app/vinnie/myapplication/Profile.java | 4,214 | //logout voor ap --> terug naar login activity | line_comment | nl | package com.app.vinnie.myapplication;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.Contex... |
40747_1 | package powerrangers.zordon;
import android.content.Context;
import android.media.MediaPlayer;
import android.speech.tts.TextToSpeech;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.telecom.Connection;
import android.util.Log;
import android.view.Menu;
import android.view.Men... | AP-IT-GH/iot16-zordon | src/Android/Zordon/app/src/main/java/powerrangers/zordon/MainActivity.java | 3,216 | //String[] array = getIntent().getStringArrayExtra("lijst"); | line_comment | nl | package powerrangers.zordon;
import android.content.Context;
import android.media.MediaPlayer;
import android.speech.tts.TextToSpeech;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.telecom.Connection;
import android.util.Log;
import android.view.Menu;
import android.view.Men... |
43930_0 | package be.ap.teamrap.teamrap;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.Menu;
import androi... | AP-IT-GH/sprint-ci-cd-in-team-pm_teamrap | app/src/main/java/be/ap/teamrap/teamrap/MainActivity.java | 471 | //Dit is een zeer mooie comment | line_comment | nl | package be.ap.teamrap.teamrap;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.Menu;
import androi... |
55101_56 | package gr.grnet.eseal;
import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
import com.fasterxml.jackson.databind.ObjectMapper;
import eu.europa.esig.dss.service.http.commons.CommonsDataLoader;
import gr.grnet.eseal.dto.Sign... | ARGOeu/gr.grnet.eseal | eseal/src/test/java/gr/grnet/eseal/DocumentValidationTests.java | 2,538 | // .get("https://sede.minetur.gob.es/Prestadores/TSL/TSL.xml"); | line_comment | nl | package gr.grnet.eseal;
import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
import com.fasterxml.jackson.databind.ObjectMapper;
import eu.europa.esig.dss.service.http.commons.CommonsDataLoader;
import gr.grnet.eseal.dto.Sign... |
24946_25 | package qamatcher;
import java.io.IOException;
import java.io.File;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationE... | ARIA-VALUSPA/AVP | Agent-Core-Final/DM_Tools/QAM/src/main/java/qamatcher/DomDialogsParser.java | 2,099 | //get the dialog element | line_comment | nl | package qamatcher;
import java.io.IOException;
import java.io.File;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationE... |
38342_9 | package mergeSort;
import Main.NamedList;
public class MergeNSort {
public MergeNSort(Integer[] a, Integer N) {
mergeSort(a, 0, a.length, getMax(a)+1, N);
}
public void mergeSort(Integer[] a, int start, int end, Integer INF, Integer N) {
Integer l=end-start;
if(l<N) {
Merge3Sort.mergeSort(a,start,end... | ATGupta/IIITV-LI-Algorithms-Design-and-Analysis | mergeSort/MergeNSort.java | 1,141 | //get min | line_comment | nl | package mergeSort;
import Main.NamedList;
public class MergeNSort {
public MergeNSort(Integer[] a, Integer N) {
mergeSort(a, 0, a.length, getMax(a)+1, N);
}
public void mergeSort(Integer[] a, int start, int end, Integer INF, Integer N) {
Integer l=end-start;
if(l<N) {
Merge3Sort.mergeSort(a,start,end... |
12436_2 | public class TuinDomotica {
private Boolean daglicht;
private Boolean regen;
private Schakelaar slimmeschakelaar;
private int tijdstip;
tijdstip = 21;
public TuinDomotica() {
super();
slimmeschakelaar = Schakelaar.AUTOMATISCH;
}
public Aansturing() {
... | AVANS-SWEN2/tuinieren-wk1-tuinieren-anas-daan | TuinDomotica.java | 369 | // Als de schakelaar op AUTOMATISCH staat zal de verlichting aan gaan tussen 20:00 en 05:00, en de sproeier tussen 20:00 en 05:00 als het niet regent. | line_comment | nl | public class TuinDomotica {
private Boolean daglicht;
private Boolean regen;
private Schakelaar slimmeschakelaar;
private int tijdstip;
tijdstip = 21;
public TuinDomotica() {
super();
slimmeschakelaar = Schakelaar.AUTOMATISCH;
}
public Aansturing() {
... |
25179_6 | import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.LinkedHashMap;
import java.util.Map;
import java.awt.event.ActionListener;
/**
* A graphical view of the simulation grid.
* The view displays a colored rectangle for each location
* representing its contents. It uses a default backg... | AVEHD/fox_bunny | SimulatorView.java | 1,967 | /**
* Methode om een actie uit te voeren wanneer er op een knop wordt geklikt
*/ | block_comment | nl | import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.LinkedHashMap;
import java.util.Map;
import java.awt.event.ActionListener;
/**
* A graphical view of the simulation grid.
* The view displays a colored rectangle for each location
* representing its contents. It uses a default backg... |
160626_1 | package doom;
import static data.Defines.*;
import static data.Limits.*;
import data.mapthing_t;
import defines.*;
import demo.IDoomDemo;
import f.Finale;
import static g.Signals.ScanCode.*;
import java.io.OutputStreamWriter;
import java.util.Arrays;
import java.util.stream.Stream;
import m.Settings;
import mochadoom.... | AXDOOMER/mochadoom | src/doom/DoomStatus.java | 6,293 | // bit flag in doomdata->player | line_comment | nl | package doom;
import static data.Defines.*;
import static data.Limits.*;
import data.mapthing_t;
import defines.*;
import demo.IDoomDemo;
import f.Finale;
import static g.Signals.ScanCode.*;
import java.io.OutputStreamWriter;
import java.util.Arrays;
import java.util.stream.Stream;
import m.Settings;
import mochadoom.... |
33171_1 | package edu.umich.eecs.soar.props.editors;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Arrays;
import java.util.List;
public class ETask {
public int line_pos, cursor_pos;
public String[] vlist;
//public String[] old_vlist;
public List<String> line;
public List<String[]>... | AaronCWacker/PROPs | domains/editors/workspace/EditorsEnvironment/src/edu/umich/eecs/soar/props/editors/ETask.java | 1,059 | //old_vlist = new String[]{vlist[0], vlist[1], vlist[2], vlist[3]};
| line_comment | nl | package edu.umich.eecs.soar.props.editors;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Arrays;
import java.util.List;
public class ETask {
public int line_pos, cursor_pos;
public String[] vlist;
//public String[] old_vlist;
public List<String> line;
public List<String[]>... |
66071_38 | /*****************************************************************************
* Shapeways, Inc Copyright (c) 2011-2018
* Java Source
*
* This source is licensed under the GNU LGPL v2.1
* Please read http://www.gnu.org/copyleft/lgpl.html for more information
*
... | AbFab3D/AbFab3D | src/java/abfab3d/io/output/PolyJetWriter.java | 8,133 | // magenta | line_comment | nl | /*****************************************************************************
* Shapeways, Inc Copyright (c) 2011-2018
* Java Source
*
* This source is licensed under the GNU LGPL v2.1
* Please read http://www.gnu.org/copyleft/lgpl.html for more information
*
... |
77474_1 | package repositories;
import models.Competitie;
import models.Team;
import models.Wedstrijd;
import java.time.LocalDate;
import java.util.ArrayList;
public class SimulatedCompetitieRepository implements CompetitieRepository {
private static CompetitieRepository competitieRepository;
private static Serialized... | AbdulZor/Competition-Management | src/repositories/SimulatedCompetitieRepository.java | 622 | //laad eerst alle competitie objecten en voeg ze toe aan de arraylist competities | line_comment | nl | package repositories;
import models.Competitie;
import models.Team;
import models.Wedstrijd;
import java.time.LocalDate;
import java.util.ArrayList;
public class SimulatedCompetitieRepository implements CompetitieRepository {
private static CompetitieRepository competitieRepository;
private static Serialized... |
89863_24 | package abeellab.pedca;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import dataFitters.GaussianDataFitter;
public class Pedca {
/*
*SacDEL
*-p ... | AbeelLab/Pedca | src/abeellab/pedca/Pedca.java | 4,707 | // -help | line_comment | nl | package abeellab.pedca;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import dataFitters.GaussianDataFitter;
public class Pedca {
/*
*SacDEL
*-p ... |
2268_91 | /**
* %SVN.HEADER%
*/
package net.sf.javaml.clustering;
import java.util.Vector;
import net.sf.javaml.core.Dataset;
import net.sf.javaml.core.DefaultDataset;
import net.sf.javaml.core.DenseInstance;
import net.sf.javaml.core.Instance;
import net.sf.javaml.distance.DistanceMeasure;
import net.sf.javaml.distance.Eucl... | AbeelLab/javaml | src/net/sf/javaml/clustering/AQBC.java | 6,851 | // return de sqrt van de som de kwadraten van de attributen van het | line_comment | nl | /**
* %SVN.HEADER%
*/
package net.sf.javaml.clustering;
import java.util.Vector;
import net.sf.javaml.core.Dataset;
import net.sf.javaml.core.DefaultDataset;
import net.sf.javaml.core.DenseInstance;
import net.sf.javaml.core.Instance;
import net.sf.javaml.distance.DistanceMeasure;
import net.sf.javaml.distance.Eucl... |
148168_3 | /*
* This file is part of dependency-check-core.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | Abinash-Seth/DependencyCheck | core/src/main/java/org/owasp/dependencycheck/data/ossindex/OssindexClientFactory.java | 1,206 | // prefer pkg scheme vs scheme-less variant | line_comment | nl | /*
* This file is part of dependency-check-core.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
163837_0 | package org.example;
import jakarta.persistence.EntityManager;
import jakarta.persistence.EntityManagerFactory;
import jakarta.persistence.EntityTransaction;
import jakarta.persistence.Persistence;
import org.example.domain.Book;
import java.util.List;
import java.util.Scanner;
public class DatabaseHelper {
Stri... | Abrikoos/LibraryProject | Library/src/main/java/org/example/DatabaseHelper.java | 1,741 | //drop methode | line_comment | nl | package org.example;
import jakarta.persistence.EntityManager;
import jakarta.persistence.EntityManagerFactory;
import jakarta.persistence.EntityTransaction;
import jakarta.persistence.Persistence;
import org.example.domain.Book;
import java.util.List;
import java.util.Scanner;
public class DatabaseHelper {
Stri... |
3978_10 | package edu.mit.ll.graphulo.apply;
import com.google.common.collect.Iterators;
import edu.mit.ll.graphulo.skvi.RemoteSourceIterator;
import org.apache.accumulo.core.client.IteratorSetting;
import org.apache.accumulo.core.data.ByteSequence;
import org.apache.accumulo.core.data.Key;
import org.apache.accumulo.core.data.... | Accla/graphulo | src/main/java/edu/mit/ll/graphulo/apply/JaccardDegreeApply.java | 1,496 | // no need to keep entries with value zero | line_comment | nl | package edu.mit.ll.graphulo.apply;
import com.google.common.collect.Iterators;
import edu.mit.ll.graphulo.skvi.RemoteSourceIterator;
import org.apache.accumulo.core.client.IteratorSetting;
import org.apache.accumulo.core.data.ByteSequence;
import org.apache.accumulo.core.data.Key;
import org.apache.accumulo.core.data.... |
30843_37 | /* **************************
* 1-dim arrays
* **************************
*/
// - vaste grootte
// - efficient raadplegen en wegschrijven van en naar index
// - Kan objecten en primitieve types bevatten
// - iets andere syntax
// - toevoegen en verwijderen betekent eigenlijk overschrijven
// Declareren -> variabele... | AchielC123/examens-toegepaste-informatica | Examenperiode januari 2022/11-1 Fundamentals of Programming/Arrays.java | 1,397 | // 11 woorden op regel 2 | line_comment | nl | /* **************************
* 1-dim arrays
* **************************
*/
// - vaste grootte
// - efficient raadplegen en wegschrijven van en naar index
// - Kan objecten en primitieve types bevatten
// - iets andere syntax
// - toevoegen en verwijderen betekent eigenlijk overschrijven
// Declareren -> variabele... |
188662_4 | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | AcmeUI/android_frameworks_base | packages/SystemUI/tests/src/com/android/keyguard/KeyguardSecurityContainerTest.java | 5,333 | /* oneHandedMode= */ | block_comment | nl | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
126537_31 | package b1_sync_stock;
import java.io.IOException;
import java.sql.Connection;
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.Arrays;
import java.util.Calendar;
import j... | AcquaNet/JMC-Integracion | b1_sync_stock/src/main/java/b1_sync_stock/ODBCConnector.java | 5,232 | // UoMCodeTable.get(itemMap.get("ItemCode"))); | line_comment | nl | package b1_sync_stock;
import java.io.IOException;
import java.sql.Connection;
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.Arrays;
import java.util.Calendar;
import j... |
26807_26 | /*
* Copyright 2010-2020 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | Activiti/Activiti | activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/util/json/XML.java | 3,513 | // Nested element | line_comment | nl | /*
* Copyright 2010-2020 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
109505_11 | package org.adaway.ui.hosts;
import android.content.Context;
import android.content.res.Resources;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclervi... | AdAway/AdAway | app/src/main/java/org/adaway/ui/hosts/HostsSourcesAdapter.java | 2,015 | // Get delay in hours | line_comment | nl | package org.adaway.ui.hosts;
import android.content.Context;
import android.content.res.Resources;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclervi... |
149424_4 | package eu.adampacholski.miniOffice.pdfGenerator;
import com.lowagie.text.*;
import com.lowagie.text.Font;
import com.lowagie.text.Rectangle;
import com.lowagie.text.pdf.*;
import eu.adampacholski.miniOffice.invoice.Invoice;
import eu.adampacholski.miniOffice.invoice.InvoiceService;
import jakarta.servlet.http.HttpSer... | Adam-Pacholski/miniOffice | src/main/java/eu/adampacholski/miniOffice/pdfGenerator/PdfGeneratorService.java | 2,613 | //Header | line_comment | nl | package eu.adampacholski.miniOffice.pdfGenerator;
import com.lowagie.text.*;
import com.lowagie.text.Font;
import com.lowagie.text.Rectangle;
import com.lowagie.text.pdf.*;
import eu.adampacholski.miniOffice.invoice.Invoice;
import eu.adampacholski.miniOffice.invoice.InvoiceService;
import jakarta.servlet.http.HttpSer... |
149671_13 | /******************************************************************************
This file is part of A SkyGrid.
A SkyGrid 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
... | AddstarMC/askygrid | src/com/wasteofplastic/askygrid/Locale.java | 5,970 | // Help | line_comment | nl | /******************************************************************************
This file is part of A SkyGrid.
A SkyGrid 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
... |
192646_9 | package com.rydeit.view;
import android.content.ContentValues;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Message;
import android.support.v4.app.DialogFragment;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import a... | Aditya-Khambampati81/rydeit | RydeIT/app/src/main/java/com/rydeit/view/TrackMyRideActivity.java | 7,754 | // OlaAPIClient.getOlaV1APIClient().cancelRide(OlaAPIConstants.getOlaXAppToken(this), | line_comment | nl | package com.rydeit.view;
import android.content.ContentValues;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Message;
import android.support.v4.app.DialogFragment;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import a... |
24419_10 | package nl.game.voorbeeld;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import nl.game.controllers.Controller;
import nl.game.controllers.GameController;
import nl.game.models.GameModel;
import nl.game.models.Model;
import nl.game.services.FirebaseService;
import nl.game.views.GameView;
im... | Admiraal/iipsen | firebase_service_voorbeeld/src/main/java/nl/game/voorbeeld/App.java | 716 | // Deze methode gebruiken we alleen om het programma niet te laten beeïndigen. | line_comment | nl | package nl.game.voorbeeld;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import nl.game.controllers.Controller;
import nl.game.controllers.GameController;
import nl.game.models.GameModel;
import nl.game.models.Model;
import nl.game.services.FirebaseService;
import nl.game.views.GameView;
im... |
213743_11 | package cui;
public class Voorbeeld1DimArray {
public static void main(String[] args) {
new Voorbeeld1DimArray().start();
}
private void start() {
// declaratie
int[] a;
// creatie
a = new int[5];
// declaratie en creatie
int[] b = new int[10];
//Elk element van de array wordt
//automatisc... | AdrenalineGhost/Projects | java/H4/Theory/Theory/src/cui/Voorbeeld1DimArray.java | 661 | //vb elementen van array doorlopen, som bepalen | line_comment | nl | package cui;
public class Voorbeeld1DimArray {
public static void main(String[] args) {
new Voorbeeld1DimArray().start();
}
private void start() {
// declaratie
int[] a;
// creatie
a = new int[5];
// declaratie en creatie
int[] b = new int[10];
//Elk element van de array wordt
//automatisc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.