id stringlengths 36 36 | meta stringlengths 429 697 | url stringlengths 27 109 | tokens int64 137 584 | domain_prefix stringlengths 16 106 | score float64 0.16 0.3 | code_content stringlengths 960 1.25k |
|---|---|---|---|---|---|---|
cfb699ea-62dc-4bf2-8622-247d82bbc503 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-07 18:14:39", "repo_name": "htchepannou/login-app", "sub_path": "/src/main/java/com/tchepannou/app/login/service/login/LogoutCommand.java", "file_name": "LogoutCommand.java", "file_ext": "java", "file_size_in_... | https://github.com/htchepannou/login-app | 209 | FILENAME: LogoutCommand.java | 0.264358 | package com.tchepannou.app.login.service.login;
import com.tchepannou.app.login.client.v1.Constants;
import com.tchepannou.app.login.service.CommandContext;
import com.tchepannou.app.login.service.impl.AbstractSecuredCommand;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context... |
b94b1b53-7cf4-4d37-9a7b-672f28c94fe0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-15 02:59:27", "repo_name": "kris37/JavaDemo", "sub_path": "/src/main/java/jvm/io/reactor/Analysit.java", "file_name": "Analysit.java", "file_ext": "java", "file_size_in_byte": 1078, "line_count": 43, "lang": "... | https://github.com/kris37/JavaDemo | 256 | FILENAME: Analysit.java | 0.264358 | package jvm.io.reactor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.concurrent.atomic.AtomicInteger;
/**
* Created with IntelliJ IDEA.
*
* @author panqiang37@gmail.com
* @version kris37
* Date: 2018/11/23 下午2:28
* To change this template use File | Settings | File Templates.
* De... |
a1fb02b4-a66e-4a4d-98df-c9e63883e6b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-04 08:58:30", "repo_name": "devpuck/zz-core", "sub_path": "/src/main/java/com/zz/core/util/ApiResultUtil.java", "file_name": "ApiResultUtil.java", "file_ext": "java", "file_size_in_byte": 1101, "line_count": 4... | https://github.com/devpuck/zz-core | 259 | FILENAME: ApiResultUtil.java | 0.283781 | package com.zz.core.util;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference;
import com.alibaba.fastjson.util.ParameterizedTypeImpl;
import com.zz.core.api.ApiResult;
import java.lang.reflect.Type;
import java.util.List;
public class ApiResultUtil
{
... |
3fafa119-552d-453f-ac7b-6186eaa3ef58 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-16 09:08:04", "repo_name": "jdolf/javagame", "sub_path": "/src/placeholder/game/screen/overlay/contextmenu/entry/ContextMenuEntry.java", "file_name": "ContextMenuEntry.java", "file_ext": "java", "file_size_in_... | https://github.com/jdolf/javagame | 226 | FILENAME: ContextMenuEntry.java | 0.26971 | /*
* 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 placeholder.game.screen.overlay.contextmenu.entry;
import placeholder.game.util.Dimension;
import javafx.scene.paint.C... |
94a7aeff-8596-464c-b34a-e0fc26758dfd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-16 00:31:19", "repo_name": "MadTribe/jwechat-parent", "sub_path": "/jwechat-api-core/src/main/java/org/madtribe/wechat/core/client/jsapi/JSAPITicket.java", "file_name": "JSAPITicket.java", "file_ext": "java", ... | https://github.com/MadTribe/jwechat-parent | 257 | FILENAME: JSAPITicket.java | 0.26588 | package org.madtribe.wechat.core.client.jsapi;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.Date;
public class JSAPITicket {
@Valid
@NotNull
@JsonProperty("errcode")
private int errorCode;
@Valid
@... |
d15fcd7d-a3b2-43a9-885c-30a3ade8b10c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-01-14T18:42:00", "repo_name": "desprezj/twissandra-java", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1134, "line_count": 32, "lang": "en", "doc_type": "text", "... | https://github.com/desprezj/twissandra-java | 298 | FILENAME: README.md | 0.272799 | twissandra-java
===============
Twitter on Cassandra in Java
Deps:
+ Maven: this will load our build deps.
+ Cassandra 0.6: the important thing.
+ Pelops: this is how we talk to the important thing.
+ Wicket: this is how we show other people the important thing.
Setup:
+ Install Cassandra 0.6 from http://... |
b4af8999-e9df-42c7-b776-cad603c3c98e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-11 16:31:23", "repo_name": "Anass-ABEA/SimpleSwingApplication", "sub_path": "/src/com/projet/interfaces/Login.java", "file_name": "Login.java", "file_ext": "java", "file_size_in_byte": 1219, "line_count": 47, ... | https://github.com/Anass-ABEA/SimpleSwingApplication | 213 | FILENAME: Login.java | 0.278257 | package com.projet.interfaces;
import com.projet.intermediary.AuthenticationForm;
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class Login extends MyJDialog {
private JPanel panel1;
private JTextField textLogin;
private JPasswordField textPassword;... |
e0ef1ec2-59f4-474d-9344-c42bed5c34da | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-11 10:34:57", "repo_name": "sebastienlebecq/amensite", "sub_path": "/src/fr/nations/amen/client/mvp/places/SouvenirDetailsPlace.java", "file_name": "SouvenirDetailsPlace.java", "file_ext": "java", "file_size_i... | https://github.com/sebastienlebecq/amensite | 258 | FILENAME: SouvenirDetailsPlace.java | 0.290981 | package fr.nations.amen.client.mvp.places;
import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;
import com.google.gwt.place.shared.Prefix;
public class SouvenirDetailsPlace extends Place {
private String photoId;
private String startPage;
private String category;
... |
a0e0bb41-fd44-4c82-9c16-1e8254e06371 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-09 15:29:22", "repo_name": "fedpet/Galactic-Adventures", "sub_path": "/src/it/unibo/oop17/ga_game/model/entities/components/OneTimeTriggerable.java", "file_name": "OneTimeTriggerable.java", "file_ext": "java",... | https://github.com/fedpet/Galactic-Adventures | 246 | FILENAME: OneTimeTriggerable.java | 0.277473 | package it.unibo.oop17.ga_game.model.entities.components;
import it.unibo.oop17.ga_game.model.entities.events.TriggeredEvent;
/**
* A {@link Triggerable} component for triggerable entities that can be triggered only once.
*/
public class OneTimeTriggerable extends AbstractEntityComponent implements Triggerable {
... |
c5a12351-2898-4759-9dcc-08069761875f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-17 08:44:02", "repo_name": "AlexYu-MrSAY/MemeTinder", "sub_path": "/src/main/java/com/company/syugai/serealization_deserealization/MemeDeserialization.java", "file_name": "MemeDeserialization.java", "file_ext"... | https://github.com/AlexYu-MrSAY/MemeTinder | 219 | FILENAME: MemeDeserialization.java | 0.29584 | package com.company.syugai.serealization_deserealization;
import com.company.syugai.model.Meme;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.deser.std.StdDeserializ... |
0fdc19a2-3511-4bd9-a5c5-769f4ef2df3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-09 21:47:01", "repo_name": "theknut/XposedGELSettings", "sub_path": "/src/de/theknut/xposedgelsettings/hooks/notificationbadges/PendingNotification.java", "file_name": "PendingNotification.java", "file_ext": "... | https://github.com/theknut/XposedGELSettings | 236 | FILENAME: PendingNotification.java | 0.255344 | package de.theknut.xposedgelsettings.hooks.notificationbadges;
import android.content.ComponentName;
import android.content.pm.ResolveInfo;
/**
* Created by Alexander Schulz on 06.09.2014.
*/
public class PendingNotification {
private ComponentName componentName;
private int count;
public PendingNotifi... |
24bfc19a-e888-4a09-85de-d1c647dcaaa4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-23 07:04:17", "repo_name": "anyjava/jpa-book", "sub_path": "/src/main/java/jpabook/start/Board.java", "file_name": "Board.java", "file_ext": "java", "file_size_in_byte": 1221, "line_count": 66, "lang": "en", "... | https://github.com/anyjava/jpa-book | 267 | FILENAME: Board.java | 0.23231 | package jpabook.start;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
/**
* Created by anyjava on 2016. 3. 18..
*/
@Entity
public class Board {
@Id
@Column(name = "BOARD_ID")
private String id;
private String title;
private String content;
... |
be824a5e-fad6-4689-b034-9c08e7c880e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-07T18:39:03", "repo_name": "rista404/deno-debug", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1100, "line_count": 46, "lang": "en", "doc_type": "text", "blob_... | https://github.com/rista404/deno-debug | 312 | FILENAME: README.md | 0.23793 | # Deno Debug [](https://travis-ci.org/rista404/deno-debug)
<img width="647" src="https://raw.githubusercontent.com/rista404/deno-debug/master/demo.png">
Debug utility for deno.
## Usage
```javascript
import debug from "https://deno.land/x/d... |
7f62cac5-21b1-4ec6-950b-f948456c59da | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-23 07:29:43", "repo_name": "hieutran111/TranMinhHieu_android_kiemtraTK2", "sub_path": "/TMH_Cau1/app/src/main/java/com/example/student/tmh_cau1/MainActivity.java", "file_name": "MainActivity.java", "file_ext":... | https://github.com/hieutran111/TranMinhHieu_android_kiemtraTK2 | 280 | FILENAME: MainActivity.java | 0.287768 | package com.example.student.tmh_cau1;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ListView;
import java.util.ArrayList;
public class MainActivity extends AppCompatActivity {
ListView lvFilm;
@Override
protected void onCreate(Bundle savedInstanceState) ... |
ba617890-76a6-4da2-a6d7-07949b1bcf6a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-17 01:58:23", "repo_name": "guohongji/spring-cloud", "sub_path": "/feign-service/src/main/java/com/shylock/feignservice/UserFeignController.java", "file_name": "UserFeignController.java", "file_ext": "java", "... | https://github.com/guohongji/spring-cloud | 212 | FILENAME: UserFeignController.java | 0.217338 | package com.shylock.feignservice;
import com.shylock.feignservice.feign.UserService;
import com.shylock.userservice.bean.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
/**
* Created by macro on 2019/8/29.
*/
@RestController
@RequestMapping("/us... |
39cf5108-3930-4539-a2ae-8cc9acc03f53 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-26 10:55:45", "repo_name": "xpttxsok123/coffee-life", "sub_path": "/cl-log-center/src/main/java/com/coffee/life/log/center/controller/LogController.java", "file_name": "LogController.java", "file_ext": "java",... | https://github.com/xpttxsok123/coffee-life | 270 | FILENAME: LogController.java | 0.247987 | package com.coffee.life.log.center.controller;
import com.coffee.life.framework.domain.log.Log;
import com.coffee.life.framework.model.response.Page;
import com.coffee.life.log.center.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMa... |
8cb45dcf-8782-40cc-8b6f-b1c1127c9d56 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-29 05:35:37", "repo_name": "FedorovVladimir/ChessMatch", "sub_path": "/src/main/java/real_data_base/entity_from_data_base/CityEntity.java", "file_name": "CityEntity.java", "file_ext": "java", "file_size_in_byt... | https://github.com/FedorovVladimir/ChessMatch | 275 | FILENAME: CityEntity.java | 0.29584 | package real_data_base.entity_from_data_base;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name = "CITY", schema = "vladimir7_match", catalog = "")
public class CityEntity {
private int id;
private int code;
private String name;
@Id
@Column(name = "ID")
public int getI... |
c2c6623b-7309-4b2e-89e0-dbe31f84d90d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-13 03:35:18", "repo_name": "vishvajitravalji/servlet-and-jsp", "sub_path": "/src/java/model/dao/LoginDao.java", "file_name": "LoginDao.java", "file_ext": "java", "file_size_in_byte": 1186, "line_count": 46, "l... | https://github.com/vishvajitravalji/servlet-and-jsp | 206 | FILENAME: LoginDao.java | 0.27513 |
package model.dao;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import model.LoginBean.LoginBean;
import model.db.DBConnection;
/**
*
* @author St-201906349
*/
public class LoginDao {
public String authenticateUser(LoginBean loginbea... |
f75cf81a-570f-41c5-9535-4013bef9f2fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-16T13:06:31", "repo_name": "dankaiurchenko/all_labs_5_year", "sub_path": "/security_labs/src/main/java/com/danarossa/states/SenderStateTwo.java", "file_name": "SenderStateTwo.java", "file_ext": "java", "file_s... | https://github.com/dankaiurchenko/all_labs_5_year | 210 | FILENAME: SenderStateTwo.java | 0.256832 | package com.danarossa.states;
import com.danarossa.Package;
public class SenderStateTwo extends AbstractClientState {
public SenderStateTwo(AbstractClientState one, boolean file) {
super(one, file);
}
public void receivePackage(Package aPackage) throws Exception {
if (file) {
... |
f31bab09-9fbb-4a7b-aa29-098e4f8836a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-29 07:25:30", "repo_name": "NIck0526/webProgram", "sub_path": "/web04_FormServlet/src/checkbox/servlet/CheckboxServlet.java", "file_name": "CheckboxServlet.java", "file_ext": "java", "file_size_in_byte": 1060,... | https://github.com/NIck0526/webProgram | 218 | FILENAME: CheckboxServlet.java | 0.267408 | package checkbox.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class CheckboxServlet extends HttpServlet {
private sta... |
f808425e-626e-4b06-9397-997229379ee3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-23 01:57:20", "repo_name": "KevinCT/projectGamma", "sub_path": "/AndroidProject/Gasqueue/app/src/main/java/pekl/gasqueue/com/gasqueue/model/StopWatch.java", "file_name": "StopWatch.java", "file_ext": "java", "... | https://github.com/KevinCT/projectGamma | 242 | FILENAME: StopWatch.java | 0.291787 |
package pekl.gasqueue.com.gasqueue.model;
import java.util.Scanner;
import java.util.Timer;
import java.util.TimerTask;
import java.util.Scanner;
import java.util.Timer;
import java.util.TimerTask;
public class StopWatch {
private static int interval;
static Timer timer;
private static int currentTim... |
81e0ef26-fc74-4a0f-8e30-084a3ae5f82d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-03 15:09:22", "repo_name": "OlegSidor/SmartCraftAuction", "sub_path": "/src/smartcraft/auction/Items/SortItems/Che2Exp.java", "file_name": "Che2Exp.java", "file_ext": "java", "file_size_in_byte": 1153, "line_c... | https://github.com/OlegSidor/SmartCraftAuction | 244 | FILENAME: Che2Exp.java | 0.283781 | package smartcraft.auction.Items.SortItems;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.NamespacedKey;
import org.bukkit.inventory.ItemFlag;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.persistence.PersistentDataType;
import smartcra... |
48268dce-469a-4c7b-be80-0b90b978c847 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-21 14:13:21", "repo_name": "hardenikhil/Selenium_Nikhil", "sub_path": "/src/newpackage/myclass.java", "file_name": "myclass.java", "file_ext": "java", "file_size_in_byte": 1159, "line_count": 47, "lang": "en",... | https://github.com/hardenikhil/Selenium_Nikhil | 253 | FILENAME: myclass.java | 0.278257 | package newpackage;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class myclass {
public static void main(String... |
c721d043-588f-4539-9760-b14ba82482c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-15T04:24:39", "repo_name": "JainamZobaliya/Househepers_Web-Development_Internship", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1092, "line_count": 21, "lang"... | https://github.com/JainamZobaliya/Househepers_Web-Development_Internship | 273 | FILENAME: README.md | 0.210766 | # Househepers_Web-Development_Internship
Django-Project-House-Helpers This is a Django project done by me and my group. Developed a website (The website topic is similar to UrbanClap where household services are provided by helpers and professionals and all of it is coordinated online ) using Django.
Visit the website:... |
b6a034ff-5b48-4b8e-8759-8139a5940b5a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-11T10:20:14", "repo_name": "thirtyfiveparts/live", "sub_path": "/repos/live/packages/tools/webstorm/jetbrains-project/docs/future-features.md", "file_name": "future-features.md", "file_ext": "md", "file_si... | https://github.com/thirtyfiveparts/live | 244 | FILENAME: future-features.md | 0.195594 | # Future Features
> Ideas for future features.
### Generate a project
_TODO_
### Create scopes for each sub-package
_TODO_
In the Project Tool Window you can have it only show files and folders from a scope (defined as a regex).
This tool allows scopes to be automatically created for each package.
- Scopes can ... |
953367a7-6853-4467-90c3-2b99a5dd25e5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-01 16:29:33", "repo_name": "Dicxie1/InvMusica", "sub_path": "/src/main/java/modelo/Conexion.java", "file_name": "Conexion.java", "file_ext": "java", "file_size_in_byte": 1186, "line_count": 38, "lang": "en", "... | https://github.com/Dicxie1/InvMusica | 211 | FILENAME: Conexion.java | 0.217338 | package modelo;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Connection;
import com.mysql.cj.jdbc.exceptions.CommunicationsException;
import javax.swing.JOptionPane;
public class Conexion {
private String driver = "com.mysql.cj.jdbc.Driver";
private String url = "jdbc:mysql://lo... |
8fd6fd41-9a1b-438e-97cd-bcc5ddc6e9d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-12-01 21:36:13", "repo_name": "mohammadsj2/AP_5", "sub_path": "/src/Network/Message.java", "file_name": "Message.java", "file_ext": "java", "file_size_in_byte": 1221, "line_count": 68, "lang": "en", "doc_type": "... | https://github.com/mohammadsj2/AP_5 | 256 | FILENAME: Message.java | 0.250913 | package Network;
import Network.Client.Client;
public class Message
{
String text;
Client client;
// Message replied;
String repliedText;
Client repliedClient;
public Message(Client client, String text, Message replied)
{
this.text = text;
this.client = client;
if ... |
2770ffc7-d384-47b6-9f23-77304f66aaff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-31 02:36:52", "repo_name": "josefalcon/friendly", "sub_path": "/app/src/main/java/falcon/com/friendly/resolver/CallLogResolver.java", "file_name": "CallLogResolver.java", "file_ext": "java", "file_size_in_byte... | https://github.com/josefalcon/friendly | 196 | FILENAME: CallLogResolver.java | 0.26588 | package falcon.com.friendly.resolver;
import android.content.ContentResolver;
import android.database.Cursor;
import android.net.Uri;
import android.provider.CallLog;
public class CallLogResolver {
private final ContentResolver contentResolver;
public CallLogResolver(final ContentResolver contentResolver) {
... |
2433da92-68df-46d0-977d-b4e44ec1a05b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-03-09T04:26:46", "repo_name": "AutumnIDavis/digitalClock", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1043, "line_count": 23, "lang": "en", "doc_type": "text", ... | https://github.com/AutumnIDavis/digitalClock | 192 | FILENAME: README.md | 0.253861 | # digitalClock
A digital clock written with HTML, CSS, and JavaScript
This clock changes it's greeting message and background image in relation to time in JS.
Language: HTML, CSS, JavaScript
I. Goal
---------
To sucessfully link three different types of files (JavaScript, HTML, CSS) to one, and create a working, dig... |
700c1a7a-5025-4010-99b9-9ba1b94a657d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-18 08:33:51", "repo_name": "suns303/hi", "sub_path": "/src/passwordre.java", "file_name": "passwordre.java", "file_ext": "java", "file_size_in_byte": 1093, "line_count": 43, "lang": "en", "doc_type": "code", "... | https://github.com/suns303/hi | 272 | FILENAME: passwordre.java | 0.281406 | import java.util.Scanner;
/**
* Created by danawacomputer on 2017-04-05.
*/
public class passwordre {
public static void main(String[]args){
Scanner in = new Scanner(System.in);
System.out.println("단어하나를 입력하세요");
String soonsung = in.nextLine();
String prefix ="$$";
Strin... |
49849a49-1e3a-4a32-9e1f-a90a54fd6751 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-15T05:36:08", "repo_name": "JakeJMattson/DirectoryFlattener", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1186, "line_count": 35, "lang": "en", "doc_type": "t... | https://github.com/JakeJMattson/DirectoryFlattener | 321 | FILENAME: README.md | 0.272025 | <p align="center">
<a href="https://kotlinlang.org/">
<img src="https://img.shields.io/badge/Kotlin-1.3.70-blue.svg" alt="Kotlin 1.3.70">
</a>
<a href="LICENSE.md">
<img src="https://img.shields.io/github/license/JakeJMattson/DirectoryFlattener.svg" alt="license">
</a>
</p>
# DirectoryFlattener
<p ali... |
db630744-51ca-4892-96d2-18735ae21651 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-15 20:45:40", "repo_name": "Evan8456/Quiz-Applet", "sub_path": "/FileChooser.java", "file_name": "FileChooser.java", "file_ext": "java", "file_size_in_byte": 1074, "line_count": 41, "lang": "en", "doc_type": "... | https://github.com/Evan8456/Quiz-Applet | 223 | FILENAME: FileChooser.java | 0.282196 | import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.filechooser.FileNameExtensionFilter;
import java.io.*;
public class FileChooser
/*
* By: Evan NG
* ICS4U0-D1
* 323058826
*/
{
private static String fileName;
public static void chooseFile()
{ // create... |
ff08d3c4-a902-4b17-ac75-9f7b08923efa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-02 12:06:02", "repo_name": "mustaevrmn/restapp", "sub_path": "/src/main/java/ru/mustaev/restapp/service/ClientService.java", "file_name": "ClientService.java", "file_ext": "java", "file_size_in_byte": 1030, "l... | https://github.com/mustaevrmn/restapp | 188 | FILENAME: ClientService.java | 0.284576 | package ru.mustaev.restapp.service;
import org.springframework.stereotype.Service;
import ru.mustaev.restapp.domain.Client;
import ru.mustaev.restapp.repo.ClientRepository;
import java.util.List;
import java.util.Optional;
@Service
public class ClientService {
private final ClientRepository clientRepository;
... |
fdffef5e-c26a-40eb-a445-2d7c1cde6cf6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-19 10:32:03", "repo_name": "homertruong66/research", "sub_path": "/uma/src/main/java/com/hoang/uma/common/dto/ResponseDto.java", "file_name": "ResponseDto.java", "file_ext": "java", "file_size_in_byte": 1138, ... | https://github.com/homertruong66/research | 253 | FILENAME: ResponseDto.java | 0.23231 | package com.hoang.uma.common.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
/**
* homertruong
*/
public class ResponseDto implements Serializable {
private static final long serialVersionUID = 1398775962163354764L;
@JsonProperty
private int status = 1;
@J... |
7f4c27c0-a5b4-48ce-967d-f45f373d8af8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-29 14:56:46", "repo_name": "drendina/CommerceApp", "sub_path": "/src/main/java/com/sopra/model/Cart.java", "file_name": "Cart.java", "file_ext": "java", "file_size_in_byte": 1160, "line_count": 67, "lang": "en... | https://github.com/drendina/CommerceApp | 262 | FILENAME: Cart.java | 0.278257 | package com.sopra.model;
import org.springframework.stereotype.Repository;
import javax.persistence.*;
import java.io.Serializable;
@Repository
@Entity
@Table(name = "cart")
public class Cart implements Serializable {
@Id
@Column
@GeneratedValue(strategy = GenerationType.AUTO)
private int idCart;
... |
f4b5c87d-228a-4e07-b660-5e857809c61d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-01 02:41:37", "repo_name": "MichaelTran502/Helsinki-MOOC-Java-Programming-II", "sub_path": "/part08-Part08_07.Abbreviations/src/main/java/Abbreviations.java", "file_name": "Abbreviations.java", "file_ext": "ja... | https://github.com/MichaelTran502/Helsinki-MOOC-Java-Programming-II | 236 | FILENAME: Abbreviations.java | 0.285372 |
import java.util.HashMap;
/*
* 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.
*/
/**
*
* @author michael
*/
public class Abbreviations {
private HashMap<String, String> hashma... |
1d4c71a3-aba8-4a4f-a109-284b52355e16 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-14 01:44:09", "repo_name": "beisir/ThreeMagicNumber", "sub_path": "/dataweb/src/main/java/com/hc360/dataweb/service/impl/UpdownExcelServiceImpl.java", "file_name": "UpdownExcelServiceImpl.java", "file_ext": "j... | https://github.com/beisir/ThreeMagicNumber | 247 | FILENAME: UpdownExcelServiceImpl.java | 0.276691 | package com.hc360.dataweb.service.impl;
import com.hc360.dataweb.dao.UpdownExcelMapper;
import com.hc360.dataweb.model.OrderMoveTable;
import com.hc360.dataweb.model.TaskTable;
import com.hc360.dataweb.service.UpdownExcelService;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autow... |
535c08bf-dae0-4fe9-85aa-a62fd8709e5d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-26 02:37:25", "repo_name": "yiranyyu/2019SummerBlogBackend_Deprecated", "sub_path": "/src/main/java/buaasoft/blog/utils/Responses.java", "file_name": "Responses.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/yiranyyu/2019SummerBlogBackend_Deprecated | 193 | FILENAME: Responses.java | 0.216012 | package buaasoft.blog.utils;
import com.alibaba.fastjson.JSONObject;
/**
* @author Yirany
* @version 1.0
* @since 8/25/2019
**/
public class Responses {
public static String userNotFoundResponse(String username) {
JSONObject response = new JSONObject();
response.put(Constants.STATUS, false);
... |
f6268b7a-a55a-48bb-a776-8d868a0336ac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-09-12T23:31:08", "repo_name": "davidmkirby/Coursework", "sub_path": "/ECE420 - Senior Design II/Code/I2C_string/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1135, "line_count":... | https://github.com/davidmkirby/Coursework | 300 | FILENAME: README.md | 0.278257 | ## Adafruit I2C FRAM 16-bit Strings ##
This driver is for the [Adafruit I2C FRAM](https://www.adafruit.com/product/1895) breakout.
Install this library & example by downloading the .zip file from this Git and unzipping it into your Arduino > Library folder ([more info here](https://www.arduino.cc/en/Guide/Libraries))... |
46a27b75-2ec5-44b8-b7b0-f041a7ea55d3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-16 07:29:42", "repo_name": "Dean-Hu-Nan/deanframework", "sub_path": "/src/main/java/com/dean4j/framework/uitl/PropsUtil.java", "file_name": "PropsUtil.java", "file_ext": "java", "file_size_in_byte": 1295, "lin... | https://github.com/Dean-Hu-Nan/deanframework | 252 | FILENAME: PropsUtil.java | 0.243642 | package com.dean4j.framework.uitl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
* 提供加载配置文件公共类
*
* @author hunan
* @since 1.0.0
*/
public final class PropsUtil {
private... |
9eec4099-076e-4751-bb96-424174af67a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-25 03:03:13", "repo_name": "utrycloud/openticket", "sub_path": "/src/main/java/com/utry/openticket/config/DevolopMvc.java", "file_name": "DevolopMvc.java", "file_ext": "java", "file_size_in_byte": 1186, "line_... | https://github.com/utrycloud/openticket | 222 | FILENAME: DevolopMvc.java | 0.224055 | package com.utry.openticket.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
... |
6e0ff1e4-9fb0-48de-aa9e-19c8bbd74ec4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-15 12:07:31", "repo_name": "xuxiaowei-com-cn/captcha", "sub_path": "/src/main/java/cn/com/xuxiaowei/captcha/servlet/SpecCaptchaHttpServlet.java", "file_name": "SpecCaptchaHttpServlet.java", "file_ext": "java",... | https://github.com/xuxiaowei-com-cn/captcha | 246 | FILENAME: SpecCaptchaHttpServlet.java | 0.2227 | package cn.com.xuxiaowei.captcha.servlet;
import com.pig4cloud.captcha.SpecCaptcha;
import lombok.extern.slf4j.Slf4j;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSe... |
45286f5a-1920-4d00-b27d-1422aa946fc1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-01 12:08:27", "repo_name": "fengyhaispeech/learngit2", "sub_path": "/app/src/main/java/com/yihengke/robotspeech/clockUtils/MyAlarmReceiver.java", "file_name": "MyAlarmReceiver.java", "file_ext": "java", "file_... | https://github.com/fengyhaispeech/learngit2 | 232 | FILENAME: MyAlarmReceiver.java | 0.259826 | package com.yihengke.robotspeech.clockUtils;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import com.yihengke.robotspeech.activity.ClockActivity;
/**
* Created by android on 2016/3/21.
*
* @author YHX
*/
public class MyAlarmRece... |
28d24ac7-ddfd-4ab6-ab83-4214fab0bd1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-06 10:03:39", "repo_name": "codermahadi/drawerNavigation", "sub_path": "/app/src/main/java/com/example/mahadi/drowerlayout/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_i... | https://github.com/codermahadi/drawerNavigation | 195 | FILENAME: MainActivity.java | 0.216012 | package com.example.mahadi.drowerlayout;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
public class MainActivity extends AppCompatAct... |
74ccc8c1-d7f3-47b5-bc6f-2a5e3c8ba9fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-29 14:02:03", "repo_name": "mercutiy/MambaTest", "sub_path": "/app/src/main/java/ru/mamba/test/mambatest/api/controller/SecretAuth.java", "file_name": "SecretAuth.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/mercutiy/MambaTest | 224 | FILENAME: SecretAuth.java | 0.289372 | package ru.mamba.test.mambatest.api.controller;
import org.json.JSONException;
import org.json.JSONObject;
import ru.mamba.test.mambatest.api.Request;
public class SecretAuth extends Controller<SecretAuth.Model> implements Authorise {
private final static String METHOD = Request.POST;
private final static... |
f24bf197-3aba-46a4-a1a6-2d26fc1f8ca4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-08 18:52:52", "repo_name": "dasilva-gabriel/spigot-projects", "sub_path": "/2014-pvp-warcraft/2020-SheepWars/src/fr/cmuagab/sheepwars/event/player/PlayerPickupItem.java", "file_name": "PlayerPickupItem.java", ... | https://github.com/dasilva-gabriel/spigot-projects | 269 | FILENAME: PlayerPickupItem.java | 0.272799 | package fr.cmuagab.sheepwars.event.player;
import fr.cmuagab.sheepwars.SheepWarsPlugin;
import fr.cmuagab.sheepwars.event.SheepListener;
import fr.cmuagab.sheepwars.handler.Sheep;
import fr.cmuagab.sheepwars.handler.Step;
import fr.cmuagab.sheepwars.handler.Team;
import org.bukkit.event.EventHandler;
import org.bukki... |
f0104021-c139-462b-b5f5-522f0d73d86f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-07T21:24:01", "repo_name": "pjhg14/ApartMate", "sub_path": "/src/com/graham/apartmate/ui/windows/dbgwindow/DebugWindowController.java", "file_name": "DebugWindowController.java", "file_ext": "java", "file_size... | https://github.com/pjhg14/ApartMate | 232 | FILENAME: DebugWindowController.java | 0.26588 | package com.graham.apartmate.ui.windows.dbgwindow;
import com.graham.apartmate.database.utilities.unordered.TestingData;
import com.graham.apartmate.main.Main;
import com.graham.apartmate.ui.res.classes.FXMLLocation;
import javafx.fxml.FXML;
import javafx.scene.control.Alert;
import javafx.scene.control.ButtonType;
i... |
8b32d58e-958c-484a-a6a8-d497afeeb285 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-15 12:50:06", "repo_name": "dilipduraiswamy/HouseHoldIncomeCalculator", "sub_path": "/HouseHoldIncomeCalculator/src/com/one/jan/one/dto/Items.java", "file_name": "Items.java", "file_ext": "java", "file_size_in... | https://github.com/dilipduraiswamy/HouseHoldIncomeCalculator | 303 | FILENAME: Items.java | 0.279042 | /**
*
*/
package com.one.jan.one.dto;
/**
* @author dilip.duraiswamy
*
*/
public class Items {
private String itemName;
private float itemCost;
private int quantity;
/**
* @return the quantity
*/
public int getQuantity() {
return quantity;
}
/**
* @param quantity
* ... |
658b73ed-f7e9-4c38-8ace-f04521b85dce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-22 07:43:59", "repo_name": "WassiW80/MoodAnalyzer", "sub_path": "/src/main/java/com/moodanalyzer/MoodAnalyzer.java", "file_name": "MoodAnalyzer.java", "file_ext": "java", "file_size_in_byte": 1078, "line_count... | https://github.com/WassiW80/MoodAnalyzer | 211 | FILENAME: MoodAnalyzer.java | 0.256832 | package com.moodanalyzer;
import com.moodanalyzer.exception.MoodAnalysisException;
public class MoodAnalyzer {
private String message;
public MoodAnalyzer() {
message = "default";
}
public MoodAnalyzer(String message) {
this.message = message;
}
private String analyseMood(St... |
d172191a-784c-4dd0-9970-0ad9373b8f6a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-17 19:04:54", "repo_name": "qazkth/hw", "sub_path": "/3/src/server/startup/Server.java", "file_name": "Server.java", "file_ext": "java", "file_size_in_byte": 1157, "line_count": 42, "lang": "en", "doc_type": "... | https://github.com/qazkth/hw | 220 | FILENAME: Server.java | 0.29584 | /*
* 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 server.startup;
import java.rmi.Naming;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.... |
36fe268b-44a9-490a-9828-a9c08ad47f6f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-21 08:22:12", "repo_name": "yOneChu/hyo_pms", "sub_path": "/src/main/java/org/kyhslam/controller/HelloController.java", "file_name": "HelloController.java", "file_ext": "java", "file_size_in_byte": 1090, "line... | https://github.com/yOneChu/hyo_pms | 228 | FILENAME: HelloController.java | 0.195594 | package org.kyhslam.controller;
import lombok.extern.slf4j.Slf4j;
import org.dom4j.rule.Mode;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import java.lang.reflect.Member;
@Controller
@Slf4j
public class HelloControl... |
48af7b5c-4c27-4f5c-bec0-98209d14d998 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-06 10:28:28", "repo_name": "susiha/AspectJLecture", "sub_path": "/app/src/main/java/com/susiha/aspectjlecture/SecondaryActivity.java", "file_name": "SecondaryActivity.java", "file_ext": "java", "file_size_in_b... | https://github.com/susiha/AspectJLecture | 218 | FILENAME: SecondaryActivity.java | 0.249447 | package com.susiha.aspectjlecture;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.susiha.aspectjlecture.bean.FirstBean;
import com.susiha.aspectjlecture.fast.ThirdActivity;
public class SecondaryActivity extends Activity {
public stati... |
aa8245ab-3e0b-4696-bf0c-581e2a5983d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-02-02T09:30:48", "repo_name": "apache/servicecomb-docs", "sub_path": "/java-chassis-reference/en_US/docs/packaging/standalone.md", "file_name": "standalone.md", "file_ext": "md", "file_size_in_byte": 1112, "l... | https://github.com/apache/servicecomb-docs | 231 | FILENAME: standalone.md | 0.273574 | ## Concept Description
A Standalone container that loads Spring with a simple Main, because the service usually does not require the properties of a Web container such as Tomcat/JBoss, and there is no need to use the Web container to load the service. The microframework provides a standalone deployment run mode. The s... |
b9b929a4-bc26-4367-a30d-2c45cde3c577 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-26 21:38:10", "repo_name": "doaaessam98/steganography-app", "sub_path": "/app/src/main/java/com/example/steganography/base/BaseFragment.java", "file_name": "BaseFragment.java", "file_ext": "java", "file_size_i... | https://github.com/doaaessam98/steganography-app | 181 | FILENAME: BaseFragment.java | 0.26588 | package com.example.steganography.base;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.databinding.ViewDataBinding;
import androidx.fragment.app.Fragment;
p... |
d933b5ae-7379-4300-8053-1e190bd0f4da | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-10 11:22:58", "repo_name": "Lubycon/DEVTI-back", "sub_path": "/src/main/java/com/lubycon/devti/domain/event_log/dto/EventLogPostDto.java", "file_name": "EventLogPostDto.java", "file_ext": "java", "file_size_in... | https://github.com/Lubycon/DEVTI-back | 251 | FILENAME: EventLogPostDto.java | 0.272025 | package com.lubycon.devti.domain.event_log.dto;
import com.lubycon.devti.global.code.EventType;
import com.lubycon.devti.global.code.TestType;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
impor... |
758597cb-2f4d-49be-85c8-2a7a075c2cb2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-20 10:29:27", "repo_name": "junkdog/artemis-odb", "sub_path": "/artemis-fluid/artemis-fluid-core/src/main/java/com/artemis/generator/model/type/TypeModel.java", "file_name": "TypeModel.java", "file_ext": "java... | https://github.com/junkdog/artemis-odb | 238 | FILENAME: TypeModel.java | 0.272025 | package com.artemis.generator.model.type;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;
/**
* Sourcecode generator agnostic model of class.
* <p>
* @author Daan van Yperen
*/
public class TypeModel {
public String name = "unnamed";
public String packageName = "com.arte... |
b0471aff-71f7-47ec-961a-6cc2bd27fda4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-07 14:46:15", "repo_name": "disconnect101/FPO_portal", "sub_path": "/Farmer App/app/src/main/java/com/example/ruralcaravan/ResponseClasses/LoginResponse.java", "file_name": "LoginResponse.java", "file_ext": "j... | https://github.com/disconnect101/FPO_portal | 230 | FILENAME: LoginResponse.java | 0.206894 | package com.example.ruralcaravan.ResponseClasses;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"statuscode",
"token",... |
4dcfaa08-7c45-45fa-ac74-6c1a9003b737 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-15 11:21:46", "repo_name": "rmatag/TrafficDrones", "sub_path": "/src/main/java/com/rmatag/traffic/components/Dispatcher.java", "file_name": "Dispatcher.java", "file_ext": "java", "file_size_in_byte": 1221, "li... | https://github.com/rmatag/TrafficDrones | 257 | FILENAME: Dispatcher.java | 0.264358 | package com.rmatag.traffic.components;
import com.rmatag.traffic.TrafficDronesApp;
import com.rmatag.traffic.dto.DroneMessage;
import com.rmatag.traffic.dto.DroneMessageType;
import java.util.List;
public class Dispatcher implements Runnable {
public static final String SIMULATION_TIMEOUT = "08:10:00";
priv... |
0cc3f085-8a35-4822-b67b-b0b44bbbd135 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-02 17:23:40", "repo_name": "Vladeslaw/Vlad2122", "sub_path": "/Homework/Lesson1/part2/Foodgoods.java", "file_name": "Foodgoods.java", "file_ext": "java", "file_size_in_byte": 1071, "line_count": 24, "lang": "e... | https://github.com/Vladeslaw/Vlad2122 | 245 | FILENAME: Foodgoods.java | 0.274351 | public class Foodgoods {
public char name // name of the rpoduct
public float prc; // price in dollars
public float mas; // weight in kilograms
public float vol; // volume in liters
public byte expd; // day of expiration
public byte expm; // motnth of expiration
public byte expy; // year of expiration
public... |
89a63195-df9a-4e42-a032-a3659fcdb248 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-06-27T15:02:35", "repo_name": "mkbaldwin/notes-public", "sub_path": "/conferences/2019-DevNexus/2019-03-07-DevNexus-S5-Spring_Security.md", "file_name": "2019-03-07-DevNexus-S5-Spring_Security.md", "file_ext"... | https://github.com/mkbaldwin/notes-public | 237 | FILENAME: 2019-03-07-DevNexus-S5-Spring_Security.md | 0.193147 | # Spring Security 5.1
Rob Winch / @rob_winch
Live demo of some microservices and setting up Spring Security
* Example application with spring security 5.1 and oauth2
* Using [Keycloak](https://www.keycloak.org/about.html) as the sample IdP for OAuth
* OAUTH scopes
* Kind of like roles?
* `@Authentication... |
a5b255ec-2405-41b5-985b-5d89b99ffad5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-12 11:11:11", "repo_name": "vijayOL/demo", "sub_path": "/src/main/java/com/will/demo/controller/HelloController.java", "file_name": "HelloController.java", "file_ext": "java", "file_size_in_byte": 1105, "line_... | https://github.com/vijayOL/demo | 249 | FILENAME: HelloController.java | 0.221351 | package com.will.demo.controller;
import com.will.demo.vo.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.*;
/**
* @Description:
* @see: demo
* @Date 2018/1/24 15:07
* @Author Vijay Tan... |
d2568596-07a5-4dd9-b117-6c25d6ffce6b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-06 08:32:33", "repo_name": "yaowenyu0927/helloGit", "sub_path": "/springboot-order-rabbitmq-consumer/src/main/java/com/ausware/yao/service/MessageAck/Producer.java", "file_name": "Producer.java", "file_ext": "... | https://github.com/yaowenyu0927/helloGit | 234 | FILENAME: Producer.java | 0.261331 | package com.ausware.yao.service.MessageAck;
import com.ausware.yao.utils.RabbitMQUtils;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.MessageProperties;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.Scanner;
import java.util.concurrent.TimeoutException;
publi... |
77cead39-8f58-4479-aebf-2810a1b7bb80 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-15 12:33:59", "repo_name": "assemtynyshtybay/AndroidLab7", "sub_path": "/JobDeveloper/app/src/main/java/com/example/jobdeveloper/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_... | https://github.com/assemtynyshtybay/AndroidLab7 | 182 | FILENAME: MainActivity.java | 0.218669 | package com.example.jobdeveloper;
import androidx.appcompat.app.AppCompatActivity;
import android.app.FragmentManager;
import android.os.Bundle;
import com.google.android.material.tabs.TabLayout;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceSta... |
8673cdda-e287-480b-bf50-8540444ee75d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-20 15:15:45", "repo_name": "gustavolira/radargun", "sub_path": "/core/src/main/java/org/radargun/sysmonitor/SystemSlaveMonitor.java", "file_name": "SystemSlaveMonitor.java", "file_ext": "java", "file_size_in_b... | https://github.com/gustavolira/radargun | 233 | FILENAME: SystemSlaveMonitor.java | 0.278257 | package org.radargun.sysmonitor;
import org.radargun.state.ServiceListener;
import org.radargun.state.SlaveState;
import org.radargun.traits.Lifecycle;
/**
* Retrieves system statistics from slave nodes.
*/
public class SystemSlaveMonitor extends AbstractMonitors<SlaveState, ServiceListener> implements ServiceListe... |
beff9378-db41-45b7-9a11-ff60a3ecc222 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-22 19:52:03", "repo_name": "relax94/smapme_main", "sub_path": "/app/src/main/java/com/studio/a4kings/qr_code_app/Utils/DialogUtils.java", "file_name": "DialogUtils.java", "file_ext": "java", "file_size_in_byte... | https://github.com/relax94/smapme_main | 224 | FILENAME: DialogUtils.java | 0.272025 | package com.studio.a4kings.qr_code_app.Utils;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import com.studio.a4kings.qr_code_app.R;
/**
* Created by DUX on 03.05.2016.
*/
public class DialogUtils {
Context context;
AlertDialog dialog;
ImageUtil... |
73509b9e-0ceb-4232-9f5f-694cb3b6cda5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-01 20:33:41", "repo_name": "MaxHronic/adaptcourse", "sub_path": "/src/main/java/sructures/AdaptError.java", "file_name": "AdaptError.java", "file_ext": "java", "file_size_in_byte": 1136, "line_count": 56, "lan... | https://github.com/MaxHronic/adaptcourse | 252 | FILENAME: AdaptError.java | 0.258326 | package sructures;
/**
* Created by JR on 21.04.2016.
*/
public class AdaptError extends Exception {
private int errorCode;
private String errDescription;
private boolean m_throwMe;
public AdaptError() {
errDescription = "Success";
m_throwMe = true;
}
public AdaptError(int c... |
66cc54c6-823b-4a6c-9f2e-cfa09cad6582 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-19 07:30:42", "repo_name": "alejopalacioduque/spring-webflux", "sub_path": "/src/main/java/com/reactor/academic/mapper/CourseMapper.java", "file_name": "CourseMapper.java", "file_ext": "java", "file_size_in_by... | https://github.com/alejopalacioduque/spring-webflux | 252 | FILENAME: CourseMapper.java | 0.295027 | package com.reactor.academic.mapper;
import com.reactor.academic.documment.Course;
import com.reactor.academic.dto.CourseDTO;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
@Component
public class Cou... |
8a62163b-f3d5-4a06-a00a-8ccc0537cc76 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-09-03T07:13:57", "repo_name": "smkim89/UberQL-Server", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1085, "line_count": 53, "lang": "en", "doc_type": "text", "blo... | https://github.com/smkim89/UberQL-Server | 263 | FILENAME: README.md | 0.246533 | UBERQL-SERVER
=============
#### Config
1. yarn add typescript ts-node ts-node nodemon --dev
2. yarn add tslint-config-prettier --dev
3. yarn add @types/node --dev
<hr/>
## 참고
- DefinitelyTyped : TypeScript의 타입 정의를 제공하는 리포지터리 서비스
## Resolvers
### Public Resolvers:
- Sign In / Sign Up with Facebook
- Sign In with Em... |
33006654-d4fb-475c-9629-dbf5cf30869c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-05 02:37:18", "repo_name": "mengshijian/okdeer-mall", "sub_path": "/okdeer-mall-activity/src/main/java/com/okdeer/mall/activity/discount/job/ActivityDiscountJob.java", "file_name": "ActivityDiscountJob.java", ... | https://github.com/mengshijian/okdeer-mall | 309 | FILENAME: ActivityDiscountJob.java | 0.286968 | package com.okdeer.mall.activity.discount.job;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dangdang.ddframe.job.api.JobExecutionMultipleShardingContext;
import com.dangdang.ddframe.job... |
c477eba0-fdac-4804-a22c-fec1737fb3f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-24 09:43:08", "repo_name": "altamira/data-model", "sub_path": "/src/main/java/br/com/altamira/data/model/shipping/planning/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1136, "... | https://github.com/altamira/data-model | 275 | FILENAME: User.java | 0.236516 | package br.com.altamira.data.model.shipping.planning;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
/**
*
* @author
*/
@Entity(name = "br.com.altamira.data.model.shipping.plann... |
b012eb7c-d3db-481a-8461-f8f84e52ff27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-10 15:06:38", "repo_name": "freshchen/fresh-ad-system", "sub_path": "/ad-gateway/src/main/java/com/ecnu/lingc/ad/gateway/filter/PreRequestFilter.java", "file_name": "PreRequestFilter.java", "file_ext": "java",... | https://github.com/freshchen/fresh-ad-system | 272 | FILENAME: PreRequestFilter.java | 0.229535 | package com.ecnu.lingc.ad.gateway.filter;
import com.netflix.zuul.ZuulFilter;
import com.netflix.zuul.context.RequestContext;
import com.netflix.zuul.exception.ZuulException;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.netflix.zuul.filters.support.FilterConstants;
import org.springframework.ster... |
00c7c835-250a-4c4e-ac52-1f956655ad5a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-09 03:37:08", "repo_name": "anvh2/WalletBook", "sub_path": "/04_Implement/02_Source/SaveMyMoneyV3/app/src/main/java/com/example/black/savemymoneyv3/mActivity/AboutUsActivity.java", "file_name": "AboutUsActivit... | https://github.com/anvh2/WalletBook | 170 | FILENAME: AboutUsActivity.java | 0.198064 | package com.example.black.savemymoneyv3.mActivity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.MenuItem;
import com.example.black.savemymoneyv3.R;
public class AboutUsActivity extends AppCompatActivity {
privat... |
b8eef4bb-93fa-4766-9662-846879c4ca24 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-18 12:47:23", "repo_name": "LMU2018/WarungDanaNew", "sub_path": "/app/src/main/java/com/lmu/warungdana/Response/ListLogDesc.java", "file_name": "ListLogDesc.java", "file_ext": "java", "file_size_in_byte": 1186... | https://github.com/LMU2018/WarungDanaNew | 270 | FILENAME: ListLogDesc.java | 0.212069 | package com.lmu.warungdana.Response;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class ListLogDesc {
@SerializedName("id")
@Expose
private Integer id;
@SerializedName("id_mst_log_status")
@Expose
private Integer idMstLogStatus;
@Seri... |
ca586187-25ec-4096-a18d-5d41ecfd54a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-03 21:40:28", "repo_name": "ojan2021/mapversity", "sub_path": "/app/src/main/java/com/example/mapversitydemo/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1220,... | https://github.com/ojan2021/mapversity | 210 | FILENAME: MainActivity.java | 0.208179 | package com.example.mapversitydemo;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
public class MainActivity extends AppCompatActivity {
pu... |
f52a30e7-8920-4e3b-84c0-7a871a952acb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-18 07:55:11", "repo_name": "draklorx/villages_overhauled", "sub_path": "/src/main/java/space/gamr/villages_overhauled/data/client/ModItemModelProvider.java", "file_name": "ModItemModelProvider.java", "file_ext... | https://github.com/draklorx/villages_overhauled | 225 | FILENAME: ModItemModelProvider.java | 0.236516 | package space.gamr.villages_overhauled.data.client;
import net.minecraft.block.Block;
import net.minecraft.data.DataGenerator;
import net.minecraftforge.client.model.generators.ItemModelProvider;
import net.minecraftforge.client.model.generators.ModelProvider;
import net.minecraftforge.common.data.ExistingFileHelper;
... |
ccd589c0-cdf3-4ffc-ab82-b12833321dbe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-26 11:37:49", "repo_name": "alysson12/automationPratice", "sub_path": "/src/pageObjects/java/pages/MyAccountPage.java", "file_name": "MyAccountPage.java", "file_ext": "java", "file_size_in_byte": 1135, "line_c... | https://github.com/alysson12/automationPratice | 227 | FILENAME: MyAccountPage.java | 0.292595 | package pages;
import locators.LocatorsDresses;
import locators.LocatorsMyAccount;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import ... |
00802e57-c603-46b4-b1c0-2fc6ed2ab564 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-22 19:05:02", "repo_name": "TimurDubov/JavaRush", "sub_path": "/questtwo/eighthlevel/lecture11/MergingFiles.java", "file_name": "MergingFiles.java", "file_ext": "java", "file_size_in_byte": 1160, "line_count":... | https://github.com/TimurDubov/JavaRush | 201 | FILENAME: MergingFiles.java | 0.26588 | package questtwo.eighthlevel.lecture11;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStreamReader;
public class MergingFiles {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new In... |
38468d61-5dab-460e-a245-62f4249c7555 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-08-02T08:48:35", "repo_name": "Tenvolin/HotkeyRebinder", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1083, "line_count": 17, "lang": "en", "doc_type": "text", "b... | https://github.com/Tenvolin/HotkeyRebinder | 236 | FILENAME: README.md | 0.236516 | # HotkeyRebinder
This is a program designed to mute, create and rebind hotkeys. This program makes use of WINAPI and thus only works on Windows.
# How to Use
The user will be prompted to keypress a hotkey, before keypressing a resulting action. After binding, the user has to begin the event handling loop. At this poin... |
50e29c4e-0ac8-4d79-849e-578fb4192358 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-13 02:54:06", "repo_name": "Sir-Baconn/Photos", "sub_path": "/src/stuff/UserFocusPhotoController.java", "file_name": "UserFocusPhotoController.java", "file_ext": "java", "file_size_in_byte": 1085, "line_count"... | https://github.com/Sir-Baconn/Photos | 256 | FILENAME: UserFocusPhotoController.java | 0.261331 | package stuff;
import java.util.ArrayList;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.layout.Pane;
public class UserFocusPhotoController {
@FXML
private Pane layout;
@FXML
private ImageView imageView;
... |
4ef65140-47b9-45a5-818c-dcb8e224a032 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-27 06:08:16", "repo_name": "YAtOff/rx-lecture", "sub_path": "/RxExamples/src/main/java/bg/nemetschek/theory/promise/Promise.java", "file_name": "Promise.java", "file_ext": "java", "file_size_in_byte": 1092, "l... | https://github.com/YAtOff/rx-lecture | 232 | FILENAME: Promise.java | 0.295027 | package bg.nemetschek.theory.promise;
import java.util.function.Consumer;
import java.util.function.Function;
public class Promise <T> {
private T result;
public static void main(String[] args) {
Promise<Integer> promise = Promise.runAsync(1);
promise.thenAccept(result -> System.out.println("... |
0f51a17d-e482-4104-a4f1-db8516a90312 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-05 09:02:17", "repo_name": "toopa/ImOnIt", "sub_path": "/app/src/main/java/com/toopa/imonit/model/Task.java", "file_name": "Task.java", "file_ext": "java", "file_size_in_byte": 1184, "line_count": 60, "lang": ... | https://github.com/toopa/ImOnIt | 250 | FILENAME: Task.java | 0.239349 | package com.toopa.imonit.model;
import java.util.UUID;
/**
* Created by Toopa on 24/02/2015.
*/
public class Task {
private UUID id;
private String description;
private TaskStatus status;
public Task(final String description) {
this(UUID.randomUUID(), description);
}
public Task... |
90eecebd-4d4c-4495-b492-1882d3a09e2e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-10 12:38:34", "repo_name": "gerritjvv/pseidon", "sub_path": "/pseidon-plugin/src/main/java/pseidon/util/Util.java", "file_name": "Util.java", "file_ext": "java", "file_size_in_byte": 1221, "line_count": 46, "l... | https://github.com/gerritjvv/pseidon | 238 | FILENAME: Util.java | 0.283781 | package pseidon.util;
import pseidon.plugin.Plugin;
import us.bpsm.edn.Named;
import java.util.*;
import java.util.stream.Stream;
/**
* Simple utility functions
*/
public class Util {
public static final <T> Collection<T> reverse(Collection<T> coll){
List<T> list = new ArrayList<>(coll);
Colle... |
81a875fb-4c29-4a00-94de-ca1d1d671f2e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-11 23:57:37", "repo_name": "IronMustang3711/frc2019", "sub_path": "/src/main/java/org/usfirst/frc3711/deepspace/commands/ManualTalonControl.java", "file_name": "ManualTalonControl.java", "file_ext": "java", "f... | https://github.com/IronMustang3711/frc2019 | 248 | FILENAME: ManualTalonControl.java | 0.259826 | package org.usfirst.frc3711.deepspace.commands;
import com.ctre.phoenix.motorcontrol.ControlMode;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard;
import org.usfirst.frc3711.deepspace.Robot;
import org.usfirst.frc3711.deepspace.subsystems.TalonSubsystem;
public cla... |
fba91c08-4309-4171-b140-3ce5c7500395 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-15 12:30:06", "repo_name": "KIRTISHD/E-PreCAT-System", "sub_path": "/Backend/E-PreCAT-1/src/main/java/project/mainpackage/sample/UserResponseController.java", "file_name": "UserResponseController.java", "file_... | https://github.com/KIRTISHD/E-PreCAT-System | 216 | FILENAME: UserResponseController.java | 0.287768 | package project.mainpackage.sample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind... |
e4a68340-d915-4215-af04-12ec5dccf938 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-01 22:40:57", "repo_name": "tschmidleithner/edge-monitoring", "sub_path": "/trace-parser/src/main/java/at/ac/tuwien/tschmidleithner/edgemonitoring/traceparser/service/impl/TimestepService.java", "file_name": "... | https://github.com/tschmidleithner/edge-monitoring | 225 | FILENAME: TimestepService.java | 0.242206 | package at.ac.tuwien.tschmidleithner.edgemonitoring.traceparser.service.impl;
import at.ac.tuwien.tschmidleithner.edgemonitoring.shared.domain.Timestep;
import at.ac.tuwien.tschmidleithner.edgemonitoring.traceparser.dao.ITimestepDao;
import at.ac.tuwien.tschmidleithner.edgemonitoring.traceparser.service.AbstractServic... |
a024531e-8305-4c2b-9ed3-25c303cfe7c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-13 16:07:09", "repo_name": "colddew/micro-service", "sub_path": "/micro-service-server2/src/main/java/edu/ustc/server/config/CassandraConfig.java", "file_name": "CassandraConfig.java", "file_ext": "java", "fil... | https://github.com/colddew/micro-service | 205 | FILENAME: CassandraConfig.java | 0.286169 | package edu.ustc.server.config;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation... |
7899a2e5-a303-406f-a4dc-c3fe1a56cf7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-14 06:56:45", "repo_name": "warterWu/my-javaweb-project-demo", "sub_path": "/testjava/src/main/java/test/ReflectionAndPerformance/TestGetFieldsClassType.java", "file_name": "TestGetFieldsClassType.java", "file... | https://github.com/warterWu/my-javaweb-project-demo | 195 | FILENAME: TestGetFieldsClassType.java | 0.280616 | package test.ReflectionAndPerformance;
import java.lang.reflect.Field;
import test.json.pojo;
public class TestGetFieldsClassType {
public static void main(String[] args) {
for(Field f: pojo.class.getDeclaredFields()){
StringBuilder sb = new StringBuilder();
... |
c61f76c5-6980-4e53-90b8-d748a32c25b4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-05 23:13:36", "repo_name": "sofiane10/filmApp", "sub_path": "/src/main/java/fr/sofiane/applications/controller/FilmController.java", "file_name": "FilmController.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/sofiane10/filmApp | 257 | FILENAME: FilmController.java | 0.274351 | package fr.sofiane.applications.controller;
import fr.sofiane.applications.dto.ActeurDto;
import fr.sofiane.applications.dto.FilmDto;
import fr.sofiane.applications.repository.FilmRepository;
import fr.sofiane.applications.service.FilmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.s... |
bd6771b1-354f-4ba2-99d5-5a2c43c63c57 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-03 14:36:38", "repo_name": "18710603308/Altman", "sub_path": "/src/main/java/com/mzy/queue/ArrayBlockingQueueDemo.java", "file_name": "ArrayBlockingQueueDemo.java", "file_ext": "java", "file_size_in_byte": 112... | https://github.com/18710603308/Altman | 248 | FILENAME: ArrayBlockingQueueDemo.java | 0.271252 | package com.mzy.queue;
import java.util.ArrayList;
import java.util.concurrent.ArrayBlockingQueue;
/**
* @Author Jack Miao
* @date 2021/2/25 15:11
* @desc
*/
public class ArrayBlockingQueueDemo {
public static void main(String[] args) throws InterruptedException {
ArrayBlockingQueue<String> queue = ... |
b147f94b-08fd-4544-a36c-173d18edb931 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-16 14:39:02", "repo_name": "shsun/xray_java", "sub_path": "/x/x-service/src/main/java/org/ibase4j/core/SysServerListener.java", "file_name": "SysServerListener.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/shsun/xray_java | 187 | FILENAME: SysServerListener.java | 0.240775 | package org.ibase4j.core;
import javax.servlet.ServletContextEvent;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import base.listener.XServerListener;
import org.ibase4j.service.SysDicService;
import org.ibase4j.service.SysUserService;
import org.springframework.web.context.Cont... |
c30d2dfe-e1af-4615-ac58-95bc6b04e6ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-09 08:48:30", "repo_name": "jackpoit/MySpring", "sub_path": "/SpringDemo02/src/main/java/com/woniuxy/test/DBTest.java", "file_name": "DBTest.java", "file_ext": "java", "file_size_in_byte": 1198, "line_count": ... | https://github.com/jackpoit/MySpring | 269 | FILENAME: DBTest.java | 0.292595 | package com.woniuxy.test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.jdbc.core.JdbcTemplate;
import javax.sql.DataSource;
import java.sql.SQLException;
/**
* @Author: rua
* @Date: 2021/8/14 16:00
* @D... |
5875f90b-4c0d-4a4f-b5f2-57bd24f39b38 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-28 17:46:09", "repo_name": "ColonelKai/IronForgePack", "sub_path": "/src/main/java/colonelkai/ironforgepack/localdeathmessage/LocalDeathMessageListener.java", "file_name": "LocalDeathMessageListener.java", "fi... | https://github.com/ColonelKai/IronForgePack | 276 | FILENAME: LocalDeathMessageListener.java | 0.294215 | package colonelkai.ironforgepack.localdeathmessage;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.PlayerDeathEvent;
import org.bukkit.Ch... |
d64c2fe7-fc80-4a25-a5a4-3da2b53f9e86 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-30 10:34:49", "repo_name": "XJLXR/AndroidDemo", "sub_path": "/myRefresh/src/main/java/com/demo/android/myswiperef/MainActitity.java", "file_name": "MainActitity.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/XJLXR/AndroidDemo | 259 | FILENAME: MainActitity.java | 0.283781 | package com.demo.android.myswiperef;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
/**
* Created by XiongRun on 2017/5/9.
*/
public class MainActitity exte... |
49a76143-9e96-463c-9422-f79f5c6aebaf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-17 23:52:46", "repo_name": "vasilnv/Authentication-Server", "sub_path": "/java-course-project/src/bg/sofia/uni/fmi/mjt/auth/domain/commands/CommandRemoveAdmin.java", "file_name": "CommandRemoveAdmin.java", "fi... | https://github.com/vasilnv/Authentication-Server | 210 | FILENAME: CommandRemoveAdmin.java | 0.277473 | package bg.sofia.uni.fmi.mjt.auth.domain.commands;
import java.nio.channels.SocketChannel;
import bg.sofia.uni.fmi.mjt.auth.domain.Domain;
public class CommandRemoveAdmin implements CommandOperation{
private static final String STRING_DELIMITER = " ";
private static final int SESSION_ID_ARGUMENT = 1;
pri... |
d91f7225-c64c-4e30-8692-92b20cc16f45 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-05-18 01:28:39", "repo_name": "RosianeSantos/PrimerioTrabalho", "sub_path": "/src/br/edu/ifnmg/Teste/DataAcess/BancoDados.java", "file_name": "BancoDados.java", "file_ext": "java", "file_size_in_byte": 1138, "lin... | https://github.com/RosianeSantos/PrimerioTrabalho | 222 | FILENAME: BancoDados.java | 0.229535 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package br.edu.ifnmg.Teste.DataAcess;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @a... |
543d74f4-4da1-4ff8-a554-25cd69e4438c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-06 06:23:07", "repo_name": "skettios/Project-Semester-Reboot", "sub_path": "/src/main/java/com/skettios/lpreboot/gfx/TransitionTween.java", "file_name": "TransitionTween.java", "file_ext": "java", "file_size_i... | https://github.com/skettios/Project-Semester-Reboot | 249 | FILENAME: TransitionTween.java | 0.282988 | package com.skettios.lpreboot.gfx;
import com.skettios.lpreboot.entity.component.SpriteRenderer;
/**
* Only transition for now is fade until I learn the maths for the rest xd
*/
public class TransitionTween
{
public enum TransitionType
{
FADE_IN,
FADE_OUT
}
private TransitionType ty... |
4ee91509-d805-48f4-8608-c71358089e7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-25 09:49:34", "repo_name": "Akshat-Shah12/Tic-Tac-Toe", "sub_path": "/TicTacToe/app/src/main/java/com/example/tictactoe/Start.java", "file_name": "Start.java", "file_ext": "java", "file_size_in_byte": 1111, "l... | https://github.com/Akshat-Shah12/Tic-Tac-Toe | 220 | FILENAME: Start.java | 0.273574 | package com.example.tictactoe;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.text.Editable;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
public class Start extends AppCompatActivity {
EditText p1... |
0981c0c3-1c3e-4c18-ac51-44c520505971 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-08 10:07:16", "repo_name": "targaryenj/JTab", "sub_path": "/app/src/main/java/com/example/jdm/jtab/view/CustomViewPager.java", "file_name": "CustomViewPager.java", "file_ext": "java", "file_size_in_byte": 1250... | https://github.com/targaryenj/JTab | 268 | FILENAME: CustomViewPager.java | 0.295027 | package com.example.jdm.jtab.view;
import android.content.Context;
import android.graphics.Rect;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
/**
* 自定义ViewPager,重写onInterceptTouchEvent,解决子视图和ViewPager的滑动冲突
* Created by JDM on ... |
2e3c099f-cba2-4d1c-8ee6-ce4d1ce44773 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-24 13:10:14", "repo_name": "luzhenting66/springcloud-demo", "sub_path": "/hello-service/src/main/java/cn/ppl/hello/controller/HelloController.java", "file_name": "HelloController.java", "file_ext": "java", "fi... | https://github.com/luzhenting66/springcloud-demo | 250 | FILENAME: HelloController.java | 0.228156 | package cn.ppl.hello.controller;
import cn.ppl.hello.entity.User;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/springcloud-demo/hello/")
public class HelloController {
@Value("${server.port}")
private int port;
... |
46b9f71d-98ab-46b8-b54b-bce001d98733 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-28 15:07:43", "repo_name": "fcu-d0486484/Android-HW3", "sub_path": "/app/src/main/java/md/iecs/fcu/lab4/Sayhello.java", "file_name": "Sayhello.java", "file_ext": "java", "file_size_in_byte": 973, "line_count":... | https://github.com/fcu-d0486484/Android-HW3 | 174 | FILENAME: Sayhello.java | 0.247987 | package md.iecs.fcu.lab4;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class Sayhello extends AppCompatActivity {
Button back;
EditText output;
@Overr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.