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 |
|---|---|---|---|---|---|---|
cd4e047a-6b1d-44d4-bdb0-d43c376afce7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-24 14:53:51", "repo_name": "clementzentz/Todoc", "sub_path": "/app/src/main/java/com/cleanup/todoc/viewModel/TaskViewModel.java", "file_name": "TaskViewModel.java", "file_ext": "java", "file_size_in_byte": 105... | https://github.com/clementzentz/Todoc | 202 | FILENAME: TaskViewModel.java | 0.281406 | package com.cleanup.todoc.viewModel;
import android.app.Application;
import androidx.annotation.NonNull;
import androidx.lifecycle.AndroidViewModel;
import androidx.lifecycle.LiveData;
import com.cleanup.todoc.model.Task;
import com.cleanup.todoc.model.TaskAndProject;
import com.cleanup.todoc.repository.TaskReposito... |
565468e0-747e-4c2d-8836-4ce36b2e95ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-15 17:28:52", "repo_name": "YUHAO-ZX/Magazine", "sub_path": "/persistence/src/main/java/com/woom/magazine/persistence/hbase/schema/Field.java", "file_name": "Field.java", "file_ext": "java", "file_size_in_byte... | https://github.com/YUHAO-ZX/Magazine | 304 | FILENAME: Field.java | 0.272025 | /**
* Alipay.com Inc.
* Copyright (c) 2004-2018 All Rights Reserved.
*/
package com.woom.magazine.persistence.hbase.schema;
/**
* 字段
*
* @author yuhao.zx
* @version $Id: Field.java, v 0.1 2018年10月30日 11:06 PM yuhao.zx Exp $
*/
public class Field {
private Type type;
private String fieldName;
/... |
c4838a31-e43a-469a-b835-90cedea32abb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-24 21:17:12", "repo_name": "magisto16/TugasBesarPBOITERA", "sub_path": "/src/VendingMachineItera/Connect.java", "file_name": "Connect.java", "file_ext": "java", "file_size_in_byte": 1011, "line_count": 38, "la... | https://github.com/magisto16/TugasBesarPBOITERA | 189 | FILENAME: Connect.java | 0.224055 | /*
* 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 VendingMachineItera;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import... |
5d20d0b7-2a1f-4f10-87d2-d2219bd546ad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-04-01T12:10:11", "repo_name": "xsteadfastx/MusicCodes", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1023, "line_count": 34, "lang": "en", "doc_type": "text", "bl... | https://github.com/xsteadfastx/MusicCodes | 225 | FILENAME: README.md | 0.239349 | MusicCodes
==========
A webapp for generating and managing download codes and serving the files.

## Usage ##
```
Usage:
MusicCodes.py run
MusicCodes.py create <number>
MusicCodes.py add <number>
MusicCodes.py show
MusicCodes.py voucher --all
MusicCodes.py vouche... |
5c413353-2410-4d6f-9904-5d0d3f865933 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-04T18:03:17", "repo_name": "PyAmsterdam/py-meetups", "sub_path": "/events/2019-05-16-crunchr/talk2.md", "file_name": "talk2.md", "file_ext": "md", "file_size_in_byte": 1124, "line_count": 24, "lang": "en",... | https://github.com/PyAmsterdam/py-meetups | 226 | FILENAME: talk2.md | 0.183594 | Talk2: Writing Custom Kubernetes Resource Controllers with Python
=================================================================
by [Jan van der Vegt](https://github.com/janvdvegt)
Jan is a data scientist that worked at KLM for 3.5 years before starting
Cubonacci, a machine learning life cycle management platform.... |
212d29f4-debe-4eb1-bdab-6a69ad41aa0f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-02-11 11:02:26", "repo_name": "sanjeeva/TechnologyShowCase", "sub_path": "/src/main/java/com/sample/core/utilities/lang/ReflectionUtilities.java", "file_name": "ReflectionUtilities.java", "file_ext": "java", "fil... | https://github.com/sanjeeva/TechnologyShowCase | 217 | FILENAME: ReflectionUtilities.java | 0.290176 | package com.sample.core.utilities.lang;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
public final class ReflectionUtilities {
private ReflectionUtilities() {
throw new UnsupportedOperationException("Utility modules should not be instantiated");
}
publ... |
7caa5a54-b558-4f42-a29f-cae83f51c7ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-10T09:05:48", "repo_name": "AmsterdamUMC/AmsterdamUMCdb", "sub_path": "/concepts/lifesupport/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1172, "line_count": 18, "lang": "en... | https://github.com/AmsterdamUMC/AmsterdamUMCdb | 272 | FILENAME: README.md | 0.249447 | <img src="../../img/logo_amds.png" alt="Logo" height="128px"/>
# AmsterdamUMCdb - Freely Accessible ICU Database
version 1.0.2 March 2020
Copyright © 2003-2020 Amsterdam UMC - Amsterdam Medical Data Science
# Life Support
This folder contains code to extract the life support a patient has received.
# Mechani... |
440820ce-21ab-4059-81b3-f396ed4bd735 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-20 11:10:07", "repo_name": "ZhendeLiang/realHeart", "sub_path": "/src/main/java/com/liangzd/realHeart/VO/SuccJson.java", "file_name": "SuccJson.java", "file_ext": "java", "file_size_in_byte": 1127, "line_count... | https://github.com/ZhendeLiang/realHeart | 306 | FILENAME: SuccJson.java | 0.246533 | package com.liangzd.realHeart.VO;
/**
*
* @Description: 返回正确的消息数据,用于需要页面跳转
* @author liangzd
* @date 2018年6月20日 下午4:00:33
*/
public class SuccJson {
private Integer setTime;//时间
private String msg;//返回消息
private String url;//返回准备跳转地址
private boolean jump;//是否跳转
public Integer getSetTime() {
return setTime... |
a8fa4238-5655-456f-8063-bd6446d67793 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-28 21:08:30", "repo_name": "kineks0-0/Get-CoolApk-s-Fans", "sub_path": "/CoolApkFans/src/io/FileWrite.java", "file_name": "FileWrite.java", "file_ext": "java", "file_size_in_byte": 1101, "line_count": 41, "lan... | https://github.com/kineks0-0/Get-CoolApk-s-Fans | 209 | FILENAME: FileWrite.java | 0.287768 | package io;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
public class FileWrite {
public static void write2File(String FileName, String str) {
File file = new File(FileName);
if (!file.exists()) {
try {
file.create... |
cd3bf158-d8ab-446c-8615-eeb92a4ac7b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-07 06:49:36", "repo_name": "youlookbetteronline/MessagesApplication", "sub_path": "/app/src/main/java/com/example/gav/messagesapplication/viewholders/OtherMessageViewHolder.java", "file_name": "OtherMessageVie... | https://github.com/youlookbetteronline/MessagesApplication | 215 | FILENAME: OtherMessageViewHolder.java | 0.252384 | package com.example.gav.messagesapplication.viewholders;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import com.bumptech.glide.request.RequestOptions;
import com.example.gav.messagesapplication.R;
import com.example.gav.messagesapplicatio... |
c2aa1f0b-3053-4645-a488-da2baa531d90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-07T05:59:54", "repo_name": "danieljungdong/travelapp", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1125, "line_count": 38, "lang": "en", "doc_type": "text", "... | https://github.com/danieljungdong/travelapp | 263 | FILENAME: README.md | 0.210766 | # travelapp
This is a project requirement for Udacity's front end nanodegree program.
## Learning goals
My goals for this course is to learn the following
- Use webpack to manage the front end and back end code and enable faster testing
- Gain more experience directly developing and styling a webpage with display:gri... |
42066eaa-7761-41bd-af0d-4137386bcaf5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-20 07:54:47", "repo_name": "Luomingbear/likeMosaic", "sub_path": "/android/app/src/main/java/cn/bearever/likemosaic/MosaiApplication.java", "file_name": "MosaiApplication.java", "file_ext": "java", "file_size_... | https://github.com/Luomingbear/likeMosaic | 258 | FILENAME: MosaiApplication.java | 0.259826 | package cn.bearever.likemosaic;
import android.util.Log;
import cn.bearever.mingbase.app.BaseApplication;
import io.agora.rtc.RtcEngine;
/**
* @author luoming
* @date 2020/4/16
*/
public class MosaiApplication extends BaseApplication {
private AgoraEventHandler mHandler;
private RtcEngine mRtcEngine;
... |
ac5646dd-f1a7-4441-9fdd-9c3838eed264 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-21 22:15:52", "repo_name": "haadbaig/medic", "sub_path": "/app/src/main/java/com/example/project/models/Doctor.java", "file_name": "Doctor.java", "file_ext": "java", "file_size_in_byte": 1029, "line_count": 53... | https://github.com/haadbaig/medic | 212 | FILENAME: Doctor.java | 0.220007 | package com.example.project.models;
import java.io.Serializable;
import java.util.ArrayList;
public class Doctor implements Serializable {
String name;
ArrayList<String> comments;
int rating;
String desc;
String specialization;
public Doctor(){};
public Doctor(String n, ArrayList<String>... |
ccbfc07b-8e1a-4809-858c-ce37e6e7542e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-18 12:04:24", "repo_name": "skywtchr/MessengerProject", "sub_path": "/Server/src/Client/ServiceHandlersWithKSoap/AuthenticationHandler.java", "file_name": "AuthenticationHandler.java", "file_ext": "java", "fil... | https://github.com/skywtchr/MessengerProject | 192 | FILENAME: AuthenticationHandler.java | 0.26971 | package Client.ServiceHandlersWithKSoap;
import Contract.DTO.Credentials;
import org.ksoap2.serialization.SoapPrimitive;
public class AuthenticationHandler extends ServiceBaseHandler {
public AuthenticationHandler() {
super(Configuration.AUTHENTICATION_MODULE_NAME);
}
public void registerUser(Cr... |
267abafd-638a-4386-bee3-da75d48740e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-14 13:47:10", "repo_name": "oopalinska/bank-project", "sub_path": "/src/main/java/org/kaczucha/service/TransactionService.java", "file_name": "TransactionService.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/oopalinska/bank-project | 173 | FILENAME: TransactionService.java | 0.291787 | package org.kaczucha.service;
import lombok.RequiredArgsConstructor;
import org.kaczucha.controller.dto.TransactionRequest;
import org.kaczucha.repository.TransactionRepository;
import org.kaczucha.repository.entity.TransactionEntity;
import org.springframework.stereotype.Service;
import java.time.OffsetDateTime;
@Se... |
811194b5-ea11-4da9-879d-8b8b63f9e996 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-08 08:44:42", "repo_name": "mrdaddy/XMLGate", "sub_path": "/src/main/java/by/iba/railway/eticket/xml/objs/request/express/ScheduleStationG19Request.java", "file_name": "ScheduleStationG19Request.java", "file_e... | https://github.com/mrdaddy/XMLGate | 231 | FILENAME: ScheduleStationG19Request.java | 0.259826 | package by.iba.railway.eticket.xml.objs.request.express;
import by.iba.railway.eticket.xml.objs.request.BaseRequest;
import javax.xml.bind.annotation.*;
@XmlRootElement(name = "GtExpress_Request")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GtExpress_RequestType", propOrder = {
"station",
"date"
}... |
52958ad8-503c-4051-8e8d-11e650b90d22 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-26 14:39:30", "repo_name": "AnnieOmsk/it-conference", "sub_path": "/src/main/java/org/happydev/core/model/event/HallEventType.java", "file_name": "HallEventType.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/AnnieOmsk/it-conference | 224 | FILENAME: HallEventType.java | 0.272799 | package org.happydev.core.model.event;
import org.happydev.core.model.NamedType;
import org.happydev.core.model.WrongTypeNameException;
/**
* A type of the Hall event
*/
public class HallEventType extends NamedType {
/**
* A type for conferences
*/
public static final String CONFERENCE_TYPE_NAME ... |
e9011c62-86db-4f3c-9295-fd671e11cab2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-17 18:44:17", "repo_name": "EleC0TroN/AS", "sub_path": "/src/main/java/com/electron/alloyssmelter/blocks/SmelterRecipe.java", "file_name": "SmelterRecipe.java", "file_ext": "java", "file_size_in_byte": 1125, "... | https://github.com/EleC0TroN/AS | 261 | FILENAME: SmelterRecipe.java | 0.294215 | package com.electron.alloyssmelter.blocks;
import com.electron.alloyssmelter.ModBlocks;
import com.electron.alloyssmelter.ModRecipes;
import net.minecraft.block.Blocks;
import net.minecraft.client.gui.screen.inventory.SmithingTableScreen;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.*;
impor... |
0e7126b7-6c59-4b6f-b3be-bd998772604c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-10 17:03:00", "repo_name": "georgefox6/FootballLeague", "sub_path": "/src/main/java/FootballLeague/FootballLeagueFrontend/AlertBox.java", "file_name": "AlertBox.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/georgefox6/FootballLeague | 205 | FILENAME: AlertBox.java | 0.253861 | package FootballLeague.FootballLeagueFrontend;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.control.Button;
import javafx.scene.layout.*;
import javafx.stage.Modality;
import javafx.stage.Stage;
public class AlertBox {
public static void display(String... |
91bcc1b4-39ed-4060-bd7b-1a3d5d98ab5e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-19 17:21:10", "repo_name": "KristinLee1997/Gaea", "sub_path": "/gaea-server/src/test/java/com/aries/user/gaea/server/service/CompanyServiceTest.java", "file_name": "CompanyServiceTest.java", "file_ext": "java"... | https://github.com/KristinLee1997/Gaea | 227 | FILENAME: CompanyServiceTest.java | 0.224055 | package com.aries.user.gaea.server.service;
import com.aries.user.gaea.server.model.po.Company;
import com.aries.user.gaea.server.service.impl.CompanyServiceImpl;
import com.aries.user.gaea.server.utils.UUIDUtils;
import org.apache.commons.codec.binary.Base64;
import org.junit.Test;
public class CompanyServiceTest {... |
07ab70d8-e37e-4185-b95e-6a4b8f51946d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-27 22:44:19", "repo_name": "rafibr/oopProject-UAS", "sub_path": "/src/trntravel/koneksi.java", "file_name": "koneksi.java", "file_ext": "java", "file_size_in_byte": 1172, "line_count": 44, "lang": "en", "doc_t... | https://github.com/rafibr/oopProject-UAS | 223 | FILENAME: koneksi.java | 0.267408 | /*
* 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 trntravel;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;... |
52b02b53-adab-4a03-8b70-b59361732650 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-13 12:00:43", "repo_name": "kacperski195605/PKMHAIJR", "sub_path": "/src/main/java/pkmhaijr/model/dbEntities/CreditCard.java", "file_name": "CreditCard.java", "file_ext": "java", "file_size_in_byte": 1058, "li... | https://github.com/kacperski195605/PKMHAIJR | 295 | FILENAME: CreditCard.java | 0.258326 | package pkmhaijr.model.dbEntities;
import lombok.Data;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
/**
* Created by patry on 23/04/17.
*/
@Data
@Entity
@Table(name = "CREDIT_CARDS")
public class CreditCard {
@Id
@GeneratedValue(strate... |
b97e37ea-5421-492f-ba0b-7c991523f85b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-23 06:23:25", "repo_name": "nuzla/Projtact-Management-System-Java", "sub_path": "/src/Model/LargeProject.java", "file_name": "LargeProject.java", "file_ext": "java", "file_size_in_byte": 1071, "line_count": 53... | https://github.com/nuzla/Projtact-Management-System-Java | 218 | FILENAME: LargeProject.java | 0.27513 | /*
* 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 Model;
/**
*
* @author Nuzla
*/
public class LargeProject extends Project{
private int time;
privat... |
7224d0a6-7c70-408c-882b-e9b246c701db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-26 20:34:43", "repo_name": "deonisij-tyrov/asset-accounting", "sub_path": "/src/main/java/com/maks/assetaccounting/controller/SecurityController.java", "file_name": "SecurityController.java", "file_ext": "java... | https://github.com/deonisij-tyrov/asset-accounting | 203 | FILENAME: SecurityController.java | 0.253861 | package com.maks.assetaccounting.controller;
import com.maks.assetaccounting.dto.UserDto;
import com.maks.assetaccounting.entity.User;
import com.maks.assetaccounting.service.user.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.we... |
5bd5985f-59a4-4adb-ba74-0fee79983d5c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-05-27T11:23:02", "repo_name": "cltl/DutchFrameNetAnnotation", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1171, "line_count": 59, "lang": "en", "doc_type": "text... | https://github.com/cltl/DutchFrameNetAnnotation | 293 | FILENAME: README.md | 0.23231 | # Dutch FrameNet Annotation
The goal of this tool is to enable annotation for Dutch FrameNet.
## Install npm
Please install [npm](https://www.npmjs.com/get-npm).
## Install node.js
Please install node.js
On Mac, one possibility is to run:
```bash
npm install node@13.10.1
```
On Ubuntu, [this](https://tecadmin.net... |
a9bd5ce4-9891-4ad0-b02d-8c45ef380393 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-09 10:39:12", "repo_name": "kjp0907/BowlingKing", "sub_path": "/app/src/main/java/com/example/tacademy/bowlingkingproject/TabPager/model/BowlingInfo.java", "file_name": "BowlingInfo.java", "file_ext": "java", ... | https://github.com/kjp0907/BowlingKing | 253 | FILENAME: BowlingInfo.java | 0.278257 | package com.example.tacademy.bowlingkingproject.TabPager.model;
import java.util.HashMap;
import java.util.Map;
/**
* Created by Tacademy on 2017-02-09.
*/
public class BowlingInfo {
String location;
String score;
Map<String,Boolean> needs = new HashMap<>();
public BowlingInfo(String location,... |
6165e242-46d7-467e-9839-9740e900c334 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-01 10:06:38", "repo_name": "SheenGitHub/testfirstjava", "sub_path": "/src/main/java/network/GetURL.java", "file_name": "GetURL.java", "file_ext": "java", "file_size_in_byte": 1173, "line_count": 48, "lang": "e... | https://github.com/SheenGitHub/testfirstjava | 247 | FILENAME: GetURL.java | 0.259826 | package network;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
/**
* Created by Administrator on 2016/4/6.
*/
public class GetURL {
public static String curl = "http://115.28.19... |
d2622d06-c1f6-444b-a959-3c1b6cd37158 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-13 07:04:01", "repo_name": "hsjiang/DataBinding", "sub_path": "/app/src/main/java/com/morly/driver/base/BaseNavFragment.java", "file_name": "BaseNavFragment.java", "file_ext": "java", "file_size_in_byte": 1062... | https://github.com/hsjiang/DataBinding | 229 | FILENAME: BaseNavFragment.java | 0.246533 | package com.morly.driver.base;
import android.databinding.ViewDataBinding;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import com.common.library.viewModel.BaseViewModel;
import com.morly.driver.R;
import com.morly.driver.widget.AppNavigationBar;
import butterknife.... |
9845c0b1-6a7b-4c63-8586-b349689dd520 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-21 10:46:29", "repo_name": "Silentdoer/demos", "sub_path": "/Demo.SpringBoot进阶三/commonsjarusage/src/main/java/me/silentdoer/commonsjarusage/BeanCopierEntrance.java", "file_name": "BeanCopierEntrance.java", "fi... | https://github.com/Silentdoer/demos | 258 | FILENAME: BeanCopierEntrance.java | 0.256832 | package me.silentdoer.commonsjarusage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import net.sf.cglib.beans.BeanCopier;
/**
* @author liqi.wang
* @version 1.0.0
*/
public class BeanCopierEntrance {
public s... |
52a408fe-b494-47f3-b5e3-07169aea5367 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-06 02:20:05", "repo_name": "sndpoffcl/Upstac-App", "sub_path": "/Upstac-Master/src/main/java/com/upstac/TestLab/entity/BookingDO.java", "file_name": "BookingDO.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/sndpoffcl/Upstac-App | 233 | FILENAME: BookingDO.java | 0.255344 | package com.upstac.TestLab.entity;
import com.fasterxml.jackson.annotation.JsonBackReference;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
@Data
@Entity
@Table(name = "BOOKING")
public class BookingDO extends BaseDO{
@Id
@GeneratedValue(generator = "seque... |
89b65fab-291b-4397-bf48-12f75e16813b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-29T09:06:20", "repo_name": "pologood/inno72-front", "sub_path": "/inno72-alarm-service/src/main/java/com/inno72/service/impl/AlarmDetailLogServiceImpl.java", "file_name": "AlarmDetailLogServiceImpl.java", "fil... | https://github.com/pologood/inno72-front | 238 | FILENAME: AlarmDetailLogServiceImpl.java | 0.29584 | package com.inno72.service.impl;
import java.util.List;
import javax.annotation.Resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.inno72.common.AbstractService;
import com.inno... |
3b4a9ec2-6b0b-4727-9dd1-d1adc9c82709 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-03 13:48:55", "repo_name": "wayne06/em-sys", "sub_path": "/em/src/main/java/xyz/qzpx/em/service/impl/RecordServiceImpl.java", "file_name": "RecordServiceImpl.java", "file_ext": "java", "file_size_in_byte": 107... | https://github.com/wayne06/em-sys | 225 | FILENAME: RecordServiceImpl.java | 0.275909 | package xyz.qzpx.em.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xyz.qzpx.em.dao.RecordDOMapper;
import xyz.qzpx.em.dataObject.RecordDO;
import xyz.qzpx.em.service.RecordService;
import java.util.Date;
import java.util.List;
@Servi... |
bc6595c7-240d-49a7-af95-f132f77537f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-11 03:15:57", "repo_name": "ambuj-mehra/cosmos-checkout", "sub_path": "/checkout/src/main/java/com/cosmos/controller/OmsController.java", "file_name": "OmsController.java", "file_ext": "java", "file_size_in_by... | https://github.com/ambuj-mehra/cosmos-checkout | 236 | FILENAME: OmsController.java | 0.284576 | package com.cosmos.controller;
import com.cosmos.checkout.dto.*;
import com.cosmos.service.IomsService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
/**
* The type Oms controller.
*
* @autho... |
3c52ae10-aa68-4a58-bfd2-c7fe65781b93 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-25 08:01:21", "repo_name": "q1113225201/java-learn", "sub_path": "/src/main/java/com/sjl/learn/interceptor/AccessTokenInterceptor.java", "file_name": "AccessTokenInterceptor.java", "file_ext": "java", "file_si... | https://github.com/q1113225201/java-learn | 173 | FILENAME: AccessTokenInterceptor.java | 0.210766 | package com.sjl.learn.interceptor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@Compone... |
964b2c94-e4f9-4470-9c58-97f8f53ce8a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-04 04:07:08", "repo_name": "zanghongtu2006/alphabeta", "sub_path": "/service/src/main/java/com/caiguantianxia/service/exception/BaseException.java", "file_name": "BaseException.java", "file_ext": "java", "file... | https://github.com/zanghongtu2006/alphabeta | 231 | FILENAME: BaseException.java | 0.23231 | package com.caiguantianxia.service.exception;
import com.caiguantianxia.service.dto.BaseErrorCode;
import lombok.Data;
/**
* @author : Hongtu Zang
* @date : Created in 下午6:34 19-4-24
*/
@Data
public class BaseException extends RuntimeException {
private Integer errorCode;
public BaseException(BaseErrorCo... |
21781325-7499-428e-9489-e41145df925c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-10-19 06:32:32", "repo_name": "GHlicm/springboot-component", "sub_path": "/src/main/java/com/li/utils/ThymelafUtils.java", "file_name": "ThymelafUtils.java", "file_ext": "java", "file_size_in_byte": 1257, "line_c... | https://github.com/GHlicm/springboot-component | 273 | FILENAME: ThymelafUtils.java | 0.259826 | package com.li.utils;
import org.thymeleaf.TemplateEngine;
import org.thymeleaf.context.Context;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Map;
public class ThymelafUtils {
/**
* 生成页面的方法
* @param variables 传入参数
* @param dirPath 文件目录地址
* @... |
3fd62b81-f974-43bf-967c-556937e63323 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-23 20:21:01", "repo_name": "JoeBurnside/CamraMobileApp", "sub_path": "/app/src/main/java/com/example/n0451564/nottinghamcamra/Events.java", "file_name": "Events.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/JoeBurnside/CamraMobileApp | 185 | FILENAME: Events.java | 0.199308 | package com.example.n0451564.nottinghamcamra;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class Events extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanc... |
0bd7040d-aa7d-4c5a-b4c4-58497ddcd1e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-15 03:12:21", "repo_name": "onlywin7788/zenca-integration-platform", "sub_path": "/example/mi-api-manager/src/main/java/com/mocomsys/mi/manager/entity/product/ProductEntity.java", "file_name": "ProductEntity.j... | https://github.com/onlywin7788/zenca-integration-platform | 231 | FILENAME: ProductEntity.java | 0.264358 | package com.mocomsys.mi.manager.entity.product;
import com.mocomsys.mi.manager.entity.common.CommonDateEntity;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.*;
import java.io.Serializable;
@Entity
@Table(name = "product")
@Getter
@Setter
... |
a025fa54-801b-4310-960d-b86869de4de5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-28 10:15:01", "repo_name": "Jagerfield/Mobile-Contacts-Library", "sub_path": "/MobileContactsLib/src/main/java/jagerfield/mobilecontactslibrary/ContactFields/EmailField.java", "file_name": "EmailField.java", "... | https://github.com/Jagerfield/Mobile-Contacts-Library | 220 | FILENAME: EmailField.java | 0.27513 | package jagerfield.mobilecontactslibrary.ContactFields;
import android.database.Cursor;
import android.provider.ContactsContract;
import jagerfield.mobilecontactslibrary.Abstracts.FieldParent;
import jagerfield.mobilecontactslibrary.ElementContainers.EmailContainer;
import com.google.gson.annotations.Expose;
import j... |
1cd22cb3-44ea-4bdb-9c5c-7beaaa177d18 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-09 14:25:42", "repo_name": "iggydv/Kalaha", "sub_path": "/kalaha-model/src/main/java/com/ignatius/data/objects/Pit.java", "file_name": "Pit.java", "file_ext": "java", "file_size_in_byte": 1168, "line_count": 5... | https://github.com/iggydv/Kalaha | 289 | FILENAME: Pit.java | 0.282988 | package com.ignatius.data.objects;
/**
* @author Ignatius de Villiers
* @since 12 December 2018
*/
public class Pit {
private int stones;
/**
* A @{@link Board} Object consists of multiple Pit objects, which are editable by the @{@link Player} associated
* with that side
*
* @param sto... |
d3fd0710-01d7-44f5-8424-c3d8322ce3e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-02 14:03:28", "repo_name": "heyisuifeng/spring-in-action-test", "sub_path": "/src/main/java/com/ace/entity/UserRole.java", "file_name": "UserRole.java", "file_ext": "java", "file_size_in_byte": 1124, "line_cou... | https://github.com/heyisuifeng/spring-in-action-test | 271 | FILENAME: UserRole.java | 0.288569 | package com.ace.entity;
import javax.persistence.*;
/**
* Created by leaf.ye on 2016/10/17.
*/
@Entity
@Table(name = "t_user_role", schema = "shiro_test", catalog = "")
@IdClass(UserRolePK.class)
public class UserRole {
private int userId;
private int roleId;
@Id
@Column(name = "user_id")
publi... |
d150b3f9-078f-4976-bb87-69a6b40517f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-18 01:23:18", "repo_name": "jameszkw/demo", "sub_path": "/src/main/java/com/zkw/concurrent/java_Multithread_programmingbook/C5/c5_1_2/Run4.java", "file_name": "Run4.java", "file_ext": "java", "file_size_in_byt... | https://github.com/jameszkw/demo | 250 | FILENAME: Run4.java | 0.249447 | package com.zkw.concurrent.java_Multithread_programmingbook.C5.c5_1_2;
import java.util.Calendar;
import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;
/**
* Timer类中的cancel()方法有时并不一定停止执行计划任务,而是正常执行。(这个我没有测出来!!!)
* */
public class Run4 {
static int i=0;
static public class MyTask extends... |
fa10e186-ef66-4764-b788-83f6d8f2735c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-25 03:05:29", "repo_name": "tahmidMahmud/CraftDemo", "sub_path": "/pet-clinic-svcs/src/main/java/com/tahmid/petclinicsvcs/service/VetService.java", "file_name": "VetService.java", "file_ext": "java", "file_siz... | https://github.com/tahmidMahmud/CraftDemo | 249 | FILENAME: VetService.java | 0.281406 | package com.tahmid.petclinicsvcs.service;
import com.tahmid.petclinicsvcs.model.Vet;
import com.tahmid.petclinicsvcs.repository.VetRepository;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Optional;
@Service
public class VetService {
private final VetRepository repositor... |
8397f41f-c5ba-4b5e-b4a5-52309b63237b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-02 19:05:42", "repo_name": "marcsabate7/MiniActv-3-ANDROID-part2", "sub_path": "/app/src/main/java/com/marc/miniactivity3_part2/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_s... | https://github.com/marcsabate7/MiniActv-3-ANDROID-part2 | 193 | FILENAME: MainActivity.java | 0.224055 | package com.marc.miniactivity3_part2;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
Button third;
@Override... |
cabc9c2c-0add-4a9c-ba9e-067a95b09547 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-02 09:31:03", "repo_name": "leowang-long/study", "sub_path": "/JDBDao/src/main/java/com/leowang/dao/jdbdao/model/Table.java", "file_name": "Table.java", "file_ext": "java", "file_size_in_byte": 1297, "line_cou... | https://github.com/leowang-long/study | 333 | FILENAME: Table.java | 0.262842 | package com.leowang.dao.jdbdao.model;
import java.util.List;
/**
* @ClassName: Table
* @Description: 数据表结构
* @author: 王龙(leowang)
* @date: 2019年6月3日 下午8:01:08
*
* 注意:本内容仅限于个人学习使用,禁止外泄以及用于其他的商业目地
*/
public class Table {
//表表名
private String name;
//主键
private List... |
c4b39416-c183-486f-bb46-d2b91795d6c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-08 22:27:40", "repo_name": "mrtbyram/wefox", "sub_path": "/src/main/java/com/muratbayram/wefox/adapter/PaymentKafkaReader.java", "file_name": "PaymentKafkaReader.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/mrtbyram/wefox | 207 | FILENAME: PaymentKafkaReader.java | 0.255344 | package com.muratbayram.wefox.adapter;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.muratbayram.wefox.core.model.PaymentDTO;
import com.muratbayram.wefox.core.service.PaymentManager;
import org.springframework.kafka.annotation.KafkaListener;
... |
c7657772-705e-4d9e-b115-f8dc0204067c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-16 19:45:08", "repo_name": "Blondas/planner2", "sub_path": "/AghPlanner/src/main/java/pl/edu/agh/planner/domain/BuildingEntity.java", "file_name": "BuildingEntity.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/Blondas/planner2 | 226 | FILENAME: BuildingEntity.java | 0.255344 | package pl.edu.agh.planner.domain;
import javax.persistence.*;
import java.util.Set;
@Entity(name = "building")
public class BuildingEntity {
@Id
@SequenceGenerator(name="building_id_seq", sequenceName="building_id_seq", allocationSize=1)
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator="bui... |
d5253732-e993-4acf-993e-1008bd5caa89 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-06 14:00:51", "repo_name": "jackanderson11/NetBeansProjects", "sub_path": "/Human/src/human/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1124, "line_count": 46, "lang": "en", ... | https://github.com/jackanderson11/NetBeansProjects | 292 | FILENAME: Main.java | 0.274351 |
package human;
import java.util.Scanner;
public class Main {
public static void main(String []args){
System.out.println("Hello World! Here are some facts about me...");
Human Jack = new Human("Jack", "Blue", 16, 11, 69, "Kathryn Anderson", "Michael Anderson");
Human Bo = new Human("Bo", ... |
f53df0cd-f8d1-41fa-a030-b0e4fef257bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-19 12:41:01", "repo_name": "tomasperezmolina/lfg", "sub_path": "/src/main/java/persistence/entity/GameInPlatformEntityPK.java", "file_name": "GameInPlatformEntityPK.java", "file_ext": "java", "file_size_in_byt... | https://github.com/tomasperezmolina/lfg | 264 | FILENAME: GameInPlatformEntityPK.java | 0.290981 | package persistence.entity;
import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Objects;
/**
* @author Tomas Perez Molina
*/
public class GameInPlatformEntityPK implements Serializable {
private int gamePlatformId;
private int gameId;
@Column(name... |
e8168f83-0edf-4044-93b0-0cf82f964c3b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-10 10:22:10", "repo_name": "yichengjie/netty-study2", "sub_path": "/hello-world/src/main/java/com/yicj/chapter11/HttpXmlClientHandler.java", "file_name": "HttpXmlClientHandler.java", "file_ext": "java", "file_... | https://github.com/yichengjie/netty-study2 | 239 | FILENAME: HttpXmlClientHandler.java | 0.278257 | package com.yicj.chapter11;
import com.yicj.chapter11.codec.entity.OrderFacoty;
import com.yicj.chapter11.codec.entity.HttpXmlRequest;
import com.yicj.chapter11.codec.entity.HttpXmlResponse;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import lombok.extern.slf4j.S... |
f38b0aac-c6b2-4702-93b4-8925f6ad7135 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-10T01:28:04", "repo_name": "nn1ks/rwarden", "sub_path": "/rwarden_crypto/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1069, "line_count": 24, "lang": "en", "doc_type": "text... | https://github.com/nn1ks/rwarden | 287 | FILENAME: README.md | 0.205615 | # rwarden_crypto
[](https://crates.io/crates/rwarden_crypto)
[](https://docs.rs/rwarden_crypto)
[](https://github.com/nn1ks/r... |
05a353be-a390-4042-a0ed-579b80d8fc32 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-29 21:53:44", "repo_name": "yashkhandelwal/logAggregator", "sub_path": "/src/main/java/com/log/aggregator/consumer/FileWriterConsumer.java", "file_name": "FileWriterConsumer.java", "file_ext": "java", "file_si... | https://github.com/yashkhandelwal/logAggregator | 202 | FILENAME: FileWriterConsumer.java | 0.239349 | package com.log.aggregator.consumer;
import com.google.gson.Gson;
import com.log.aggregator.utils.LogThreadState;
import com.log.aggregator.utils.QDestination;
import com.log.aggregator.utils.QObject;
/**
* Created by yashkhandelwal
*/
public class FileWriterConsumer extends AbstractConsumingThread {
public Fil... |
6f1ccfc4-4247-4d81-bac1-fcc314af7d9b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-23 01:12:09", "repo_name": "phuongtn2/TramHuong", "sub_path": "/src/main/java/com/tramhuong/services/impl/StaticServiceImpl.java", "file_name": "StaticServiceImpl.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/phuongtn2/TramHuong | 224 | FILENAME: StaticServiceImpl.java | 0.255344 | package com.tramhuong.services.impl;
import com.tramhuong.dto.StaticDto;
import com.tramhuong.dto.TermDto;
import com.tramhuong.mapper.StaticMapper;
import com.tramhuong.services.StaticService;
import com.tramhuong.services.error.ServiceException;
import org.springframework.beans.factory.annotation.Autowired;
import o... |
1c5cfe47-37ea-4a21-95c5-3d54a8287c95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-24 12:15:52", "repo_name": "Asadrao125/Xpendings", "sub_path": "/app/src/main/java/com/gexton/xpendings/adapters/ViewpagerAdapterVisiblistyCategories.java", "file_name": "ViewpagerAdapterVisiblistyCategories.j... | https://github.com/Asadrao125/Xpendings | 245 | FILENAME: ViewpagerAdapterVisiblistyCategories.java | 0.288569 | package com.gexton.xpendings.adapters;
import com.gexton.xpendings.fragments.VisiblistyExpenseFragment;
import com.gexton.xpendings.fragments.VisiblistyIncomeFragment;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentPagerAdapter;
public class ... |
736933a5-8f60-425b-9043-df2418eeb167 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-21 13:36:39", "repo_name": "mahmoudhakam/Springboot-akka-cache", "sub_path": "/Sprinboot-googleCache/src/main/java/com/se/onprem/dto/ws/PartSearchResponse.java", "file_name": "PartSearchResponse.java", "file_e... | https://github.com/mahmoudhakam/Springboot-akka-cache | 220 | FILENAME: PartSearchResponse.java | 0.250913 | package com.se.onprem.dto.ws;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.Json... |
24c0e225-34a2-4b80-aa79-f012a52a4d16 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-03 09:10:55", "repo_name": "yb-hub/springcloud", "sub_path": "/cloud-provider-payment-hystrix8003/src/main/java/com/yb/demo/service/PaymentGlobalService.java", "file_name": "PaymentGlobalService.java", "file_e... | https://github.com/yb-hub/springcloud | 268 | FILENAME: PaymentGlobalService.java | 0.259826 | package com.yb.demo.service;
import com.netflix.hystrix.contrib.javanica.annotation.DefaultProperties;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixProperty;
import org.springframework.stereotype.Service;
import sun.awt.SunHints;
... |
5d48d523-48dc-4b55-8551-7711205b2b10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-10 08:55:38", "repo_name": "chaoyueLin/jetpackDemo", "sub_path": "/lifecycledemo/app/src/main/java/com/example/lifecycledemo/BasePresenter.java", "file_name": "BasePresenter.java", "file_ext": "java", "file_si... | https://github.com/chaoyueLin/jetpackDemo | 242 | FILENAME: BasePresenter.java | 0.288569 | package com.example.lifecycledemo;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleOwner;
/*****************************************************************
* * File: - BasePresenter
* * Description:
* * Version: 1.0
* * Date :... |
0ddc600f-c803-4ca7-a260-c91a1c8622e9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-15 07:47:24", "repo_name": "Kishidle/Work-Practice", "sub_path": "/AMSPractice/src/amspractice/Controller/SQLConnection.java", "file_name": "SQLConnection.java", "file_ext": "java", "file_size_in_byte": 1087, ... | https://github.com/Kishidle/Work-Practice | 211 | FILENAME: SQLConnection.java | 0.229535 | /*
* 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 amspractice.Controller;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
*
* @a... |
417051cd-f49b-4045-9541-64aa034da0b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-07 05:42:03", "repo_name": "playthesong/song-request-backend", "sub_path": "/src/main/java/live/playthesong/songrequest/domain/letter/request/inner/SongRequest.java", "file_name": "SongRequest.java", "file_ext... | https://github.com/playthesong/song-request-backend | 211 | FILENAME: SongRequest.java | 0.233706 | package live.playthesong.songrequest.domain.letter.request.inner;
import live.playthesong.songrequest.global.constant.ValidationCondition;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
@NoArgsC... |
e32774c0-c03f-488f-b3ae-0a4676da323e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-20 12:01:23", "repo_name": "ZHYzhy-github/Android_job", "sub_path": "/ListView2/app/src/main/java/com/example/android/mytwolistview/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "fi... | https://github.com/ZHYzhy-github/Android_job | 178 | FILENAME: MainActivity.java | 0.239349 | package com.example.android.mytwolistview;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.TextView;
import static com.example.android.mytwolistview.R.id.findlist;
public cla... |
8ba6efcd-fe83-4d48-a001-89d7149bb3f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-06 10:58:23", "repo_name": "rickkim90/spring_web-practice", "sub_path": "/src/main/java/com/jojoldu/webservice/service/PostsService.java", "file_name": "PostsService.java", "file_ext": "java", "file_size_in_by... | https://github.com/rickkim90/spring_web-practice | 233 | FILENAME: PostsService.java | 0.287768 | package com.rickkim90.webservice.service;
import com.rickkim90.webservice.domain.posts.PostsRepository;
import com.rickkim90.webservice.dto.posts.PostsMainResponseDto;
import com.rickkim90.webservice.dto.posts.PostsSaveRequestDto;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;
import ... |
dd8e7fd5-18fb-4b8c-a098-a423fcce0360 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-06-07T04:34:57", "repo_name": "issmirnov/soteria", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1171, "line_count": 28, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/issmirnov/soteria | 332 | FILENAME: README.md | 0.255344 | # Soteria
A simple bot that sends files to a user.
## Usage
1. Create a bot by talking to https://telegram.me/BotFather. Copy down the TOKEN.
2. compile and run this binary, passing the token as a flag (`--token` or environment variable (`TOKEN=xxx`)).
This will start up the bot in echo mode. Start a chat with y... |
2859cafd-bd27-4796-a9d8-b2eac2c24436 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-31 10:54:00", "repo_name": "poolborges/com-poolborges-example", "sub_path": "/com.poolborges.example.springframework/com.poolborges.example.spring/src/main/java/com/poolborges/example/spring/model/Book.java", ... | https://github.com/poolborges/com-poolborges-example | 234 | FILENAME: Book.java | 0.208179 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.poolborges.example.spring.model;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
/**
*
* @author PauloBorges
*... |
ba1adb31-c889-4d0a-ae29-79868c09ba21 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-04 08:14:31", "repo_name": "Catfeeds/myWorkspace", "sub_path": "/hlj_android_customer/src/me/suncloud/marrymemo/model/ThirdBind.java", "file_name": "ThirdBind.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/Catfeeds/myWorkspace | 273 | FILENAME: ThirdBind.java | 0.26588 | package me.suncloud.marrymemo.model;
import android.os.Parcel;
import android.os.Parcelable;
/**
* 第三方绑定Model
* Created by jinxin on 2017/1/7 0007.
*/
public class ThirdBind implements Parcelable {
long id;
String type;//qq,sina,weixin
public long getId() {
return id;
}
public void s... |
40a002da-ce07-4549-8293-c6ffd0285e55 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-23 06:53:00", "repo_name": "Qtrain/Java", "sub_path": "/src/Networking/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 1125, "line_count": 35, "lang": "en", "doc_type": "code... | https://github.com/Qtrain/Java | 209 | FILENAME: Client.java | 0.275909 | package Networking;
import java.io.*;
import java.net.Socket;
import java.net.UnknownHostException;
public class Client {
public static void main(String[] args) throws UnknownHostException {
String serverName = "localhost";
int port = 2988;
try {
//establish connection
... |
946dbd03-072e-4a69-8898-53382c27f498 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-20 20:22:23", "repo_name": "AZHARDEEN/cloudsystems", "sub_path": "/cloudsystems/SystemJpa/src/main/java/br/com/mcampos/jpa/system/EMail.java", "file_name": "EMail.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/AZHARDEEN/cloudsystems | 264 | FILENAME: EMail.java | 0.292595 | package br.com.mcampos.jpa.system;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import br.com.mcampos.jpa.SimpleTable;
/**
* The persistent class for the e_mail database table.
*
*/
@Entity
@Table( name = "e_mail", sc... |
f2b73c06-e414-4767-9c17-1ee8a2676aa1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-30 22:45:31", "repo_name": "danielbernalo/workshop-reactive", "sub_path": "/vertx/src/main/java/com/nexllence/workshops/reactive/architecture/vertx/ServerHttpVerticle.java", "file_name": "ServerHttpVerticle.ja... | https://github.com/danielbernalo/workshop-reactive | 250 | FILENAME: ServerHttpVerticle.java | 0.255344 | package com.nexllence.workshops.reactive.architecture.vertx;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.AsyncResult;
import io.vertx.ext.web.Router;
import io.vertx.ext.web.RoutingContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ServerHttpVerticle extends AbstractVerticl... |
af1588ac-552e-457d-9339-bc4a2043cb3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-17 09:01:30", "repo_name": "ChrisJun0731/publishCenter", "sub_path": "/src/main/java/com/demo/publishCenter/models/Config.java", "file_name": "Config.java", "file_ext": "java", "file_size_in_byte": 1086, "line... | https://github.com/ChrisJun0731/publishCenter | 254 | FILENAME: Config.java | 0.261331 | package com.demo.publishCenter.models;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Administrator on 2017/9/5.
*/
public class Config {
private List<IPC> commands;
private List<Resource> resources;
public Config(){
this.commands = new ArrayList();
this.resources = new ArrayList<Resour... |
156944a5-7d73-4448-afe9-ca4a48e8245d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-09 08:09:10", "repo_name": "nikstarlord/AutomationRepo", "sub_path": "/SelTestDem/src/Demo/Refresh.java", "file_name": "Refresh.java", "file_ext": "java", "file_size_in_byte": 1103, "line_count": 26, "lang": "... | https://github.com/nikstarlord/AutomationRepo | 209 | FILENAME: Refresh.java | 0.262842 | package Demo;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class Refresh {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver", "/home/nikhil/Downloads/chromedriver_linux64/chromedriver");
... |
1c67f76c-ff8a-45fc-8bb1-c2818978d087 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-15 20:00:38", "repo_name": "araut1/q-csma", "sub_path": "/Code/Qcsma/src/qcsma/filesend.java", "file_name": "filesend.java", "file_ext": "java", "file_size_in_byte": 1125, "line_count": 44, "lang": "en", "doc_... | https://github.com/araut1/q-csma | 237 | FILENAME: filesend.java | 0.29584 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package qcsma;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.net.Socket;
... |
3f1895eb-eba2-40c3-91fe-982077d604df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-09-08 14:24:12", "repo_name": "EsfingeFramework/querybuilder", "sub_path": "/QueryBuilder_MongoDB/src/net/sf/esfinge/querybuilder/mongodb/MongoDBQueryRepresentation.java", "file_name": "MongoDBQueryRepresentation... | https://github.com/EsfingeFramework/querybuilder | 215 | FILENAME: MongoDBQueryRepresentation.java | 0.280616 | package net.sf.esfinge.querybuilder.mongodb;
import java.util.Map;
import java.util.Set;
import org.mongodb.morphia.query.Query;
import net.sf.esfinge.querybuilder.methodparser.QueryRepresentation;
@SuppressWarnings("rawtypes")
public class MongoDBQueryRepresentation implements QueryRepresentation{
p... |
28d09864-6016-4118-960b-26648088839d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-06-28 20:13:48", "repo_name": "smartapps08/addteqtutorials", "sub_path": "/Media Player Service/src/com/myorg/mediaservice/MediaPlayerServiceActivity.java", "file_name": "MediaPlayerServiceActivity.java", "file_e... | https://github.com/smartapps08/addteqtutorials | 231 | FILENAME: MediaPlayerServiceActivity.java | 0.281406 | package com.myorg.mediaservice;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class MediaPlayerServiceActivity extends Activity {
Button btnPlay, btnStop;
/** Called when the activity is first created. */
@... |
9b25c66a-3155-481e-892b-9bc44b1689cc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-31 05:21:59", "repo_name": "Soybeany/CipherMavenPlugin", "sub_path": "/src/main/java/cipher/output/CipherPropertyLoader.java", "file_name": "CipherPropertyLoader.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/Soybeany/CipherMavenPlugin | 214 | FILENAME: CipherPropertyLoader.java | 0.284576 | package cipher.output;
import cipher.core.CipherPropertyUtils;
import cipher.core.CipherUtils;
import cipher.core.UserInfo;
import java.io.IOException;
import java.util.Properties;
/**
* <br>Created by Soybeany on 2019/12/25.
*/
public class CipherPropertyLoader {
public static Properties load(String resource... |
2ebe44dc-6f7d-4881-bf93-7a6a3ef3ba9b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-18 03:09:15", "repo_name": "OneofWolvesBilly/online-demo", "sub_path": "/online-demo/src/main/java/io/github/oneofwolvesbilly/onlinedemo/request/body/UpdateCurrencyRequest.java", "file_name": "UpdateCurrencyRe... | https://github.com/OneofWolvesBilly/online-demo | 250 | FILENAME: UpdateCurrencyRequest.java | 0.228156 | package io.github.oneofwolvesbilly.onlinedemo.request.body;
/**
* 更新幣別請求Body
*
* @author BillyChen
*
*/
public class UpdateCurrencyRequest {
/**
* 流水號
*/
private Integer seqId;
/**
* 彆別縮寫
*/
private String currencyCode;
/**
* 幣別中文
*/
private String currencyName;
... |
29c760e2-ea7c-43e9-ab55-293b9b7c30bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-21 01:51:30", "repo_name": "bestelapp/api", "sub_path": "/src/main/java/com/fontys/backend/entities/Group.java", "file_name": "Group.java", "file_ext": "java", "file_size_in_byte": 1062, "line_count": 53, "lan... | https://github.com/bestelapp/api | 215 | FILENAME: Group.java | 0.272799 | package com.fontys.backend.entities;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "groups")
public class Group {
@GeneratedV... |
3206e71b-f65a-4675-8777-552845032934 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-23 16:29:46", "repo_name": "shailuhari04/FederalBrandsLtdTest", "sub_path": "/app/src/main/java/com/federalbrandsltdtest/remote/RetrofitClient.java", "file_name": "RetrofitClient.java", "file_ext": "java", "fi... | https://github.com/shailuhari04/FederalBrandsLtdTest | 200 | FILENAME: RetrofitClient.java | 0.255344 | package com.federalbrandsltdtest.remote;
import io.reactivex.schedulers.Schedulers;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory;
import retrofit2.converter.gson.GsonConverterFactory;
import java.util.concurrent.TimeUnit;
public class RetrofitClie... |
ae1d7295-c72b-4919-bc60-76701481a4b4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-17 21:24:37", "repo_name": "Demitriy/MyForum", "sub_path": "/src/main/java/com/myforum/service/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1171, "line_c... | https://github.com/Demitriy/MyForum | 239 | FILENAME: UserServiceImpl.java | 0.293404 | package com.myforum.service;
import com.myforum.dao.UserDAO;
import com.myforum.database.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.xml.ws.ServiceMode;
/**
* Created by Dima on 19.03.2017.
*/
@Service
public class UserServiceImpl... |
7c4ca336-97bc-447b-ba46-b775005de99e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-16 16:02:21", "repo_name": "holi-java/api-tests", "sub_path": "/jdk/src/test/java/test/concurrent/CountDownLatchTest.java", "file_name": "CountDownLatchTest.java", "file_ext": "java", "file_size_in_byte": 1005... | https://github.com/holi-java/api-tests | 186 | FILENAME: CountDownLatchTest.java | 0.29584 | package test.concurrent;
import org.hamcrest.matchers.ExceptionMatchers.ExceptionExpectation;
import org.junit.Test;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Future;
import java.util.concurrent.TimeoutException;
import static com.holi.utils.Task.spawn;
import static com.holi.utils.Task... |
c8254331-e011-4e67-904f-dc93e8390065 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-06 15:45:33", "repo_name": "sullivt03/Android-Bike-Guidance", "sub_path": "/app/src/main/java/com/example/tommy_2/bikeguidence/About_Screen.java", "file_name": "About_Screen.java", "file_ext": "java", "file_si... | https://github.com/sullivt03/Android-Bike-Guidance | 220 | FILENAME: About_Screen.java | 0.243642 | package com.example.tommy_2.bikeguidence;
/**
* Created by tommy_2 on 4/6/2015.
*/
//import android.support.v7.app.ActionBarActivity;
import android.app.Activity;
import android.os.Bundle;
import android.content.Intent;
import android.view.View;
import android.widget.Button;
import android.view.animation.Animation;
... |
5570b127-ce61-4ea5-8a1c-1dce23da7956 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-19 15:48:37", "repo_name": "hans0811/Java__SpringCloud-Finchley", "sub_path": "/product/server/src/test/java/com/hans/product/repository/ProductInfoRepositoryTest.java", "file_name": "ProductInfoRepositoryTest... | https://github.com/hans0811/Java__SpringCloud-Finchley | 220 | FILENAME: ProductInfoRepositoryTest.java | 0.290176 | package com.hans.product.repository;
import com.hans.product.dataobject.ProductInfo;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.junit.jupiter.api.Assertions;
import org.springframework.boot.test.context.SpringBootTest;
import java.util.Arrays;
import j... |
85930e55-c147-4b74-9201-ee7d66514913 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-24 08:55:47", "repo_name": "HyeonJung/FMRTE_backend", "sub_path": "/src/main/java/com/hj/fmrtebackend/model/Video.java", "file_name": "Video.java", "file_ext": "java", "file_size_in_byte": 1063, "line_count": ... | https://github.com/HyeonJung/FMRTE_backend | 240 | FILENAME: Video.java | 0.255344 | package com.hj.fmrtebackend.model;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import com.hj.fmrtebackend.common.BaseModel;
import lombok.Getter;
import lombok.Setter;
@Entity
@Getter
@Setter
public class Video extends BaseModel {
/**
*
*/
private static final l... |
55a5530e-afdc-47fc-8d7a-7fa443d5ce8f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-29 14:14:14", "repo_name": "lucijamatulin/SGLab-SCADA-simulator", "sub_path": "/src/main/java/hr/fer/zvne/scada/simulator/config/MachineModel.java", "file_name": "MachineModel.java", "file_ext": "java", "file_... | https://github.com/lucijamatulin/SGLab-SCADA-simulator | 246 | FILENAME: MachineModel.java | 0.245085 | package hr.fer.zvne.scada.simulator.config;
import java.util.Map;
public class MachineModel {
private int id;
private Map<String, String> data;
private Map<String, MachineProperties> measurements;
private Map<String, CommandProperties> commands;
public int getId() {
return id;
}
... |
18bf3aa5-ec04-4da9-89eb-9b889a612d75 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-30 17:01:35", "repo_name": "ferrveciana/BanyolesMamut", "sub_path": "/Backtraking/Activitat.java", "file_name": "Activitat.java", "file_ext": "java", "file_size_in_byte": 1049, "line_count": 54, "lang": "en", ... | https://github.com/ferrveciana/BanyolesMamut | 238 | FILENAME: Activitat.java | 0.277473 | /*
* 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 proactiva;
import java.time.LocalDateTime;
import java.util.List;
/**
*
* @author narcisbustins
*/
public abstract class A... |
6ca082c6-3bd8-4ce3-be46-4a17f60fdc2d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-21T14:31:12", "repo_name": "Tatibara/frauenloop-personal-website", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1178, "line_count": 30, "lang": "en", "doc_type... | https://github.com/Tatibara/frauenloop-personal-website | 406 | FILENAME: README.md | 0.217338 | ## Goal
Start new “real world like” project from scratch.
Introduce the building blocks around React:
- Routing
- State Management
- Project Structure
- Linting
- Styling React Components
- Introduction to Unit Testing
This project can be extended individually. For example, it can be a starting point for a personal w... |
c78e4679-9e34-414b-8235-b21a9b9aa02d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-26 18:23:24", "repo_name": "rubenaml/MobilePOS_", "sub_path": "/app/src/main/java/net/tecgurus/mobilepos/models/entities/ClienteEntity.java", "file_name": "ClienteEntity.java", "file_ext": "java", "file_size_i... | https://github.com/rubenaml/MobilePOS_ | 238 | FILENAME: ClienteEntity.java | 0.20947 | package net.tecgurus.mobilepos.models.entities;
import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;
import android.arch.persistence.room.Relation;
import android.support.annotation.NonNull;
@Entity(tableName = "clientes")
publ... |
761e454c-a341-4938-992b-91102e1199dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-21 07:39:35", "repo_name": "kiranreddy123/RestJunit", "sub_path": "/springboot-unit-example/src/test/java/RestResourceTest.java", "file_name": "RestResourceTest.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/kiranreddy123/RestJunit | 234 | FILENAME: RestResourceTest.java | 0.283781 | import org.junit.Before;
import org.junit.Test;
import org.mockito.InjectMocks;
import org.mockito.Matchers;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders;
import org.springframework.test.web.servlet.result.MockMvcResultMatchers;
import o... |
bff6f776-adb7-410d-9a07-acded603770a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-11 04:37:48", "repo_name": "Ramhardik88/Javabrains.io", "sub_path": "/src/example/matixtrue.java", "file_name": "matixtrue.java", "file_ext": "java", "file_size_in_byte": 1024, "line_count": 53, "lang": "en", ... | https://github.com/Ramhardik88/Javabrains.io | 241 | FILENAME: matixtrue.java | 0.279042 | package example;
import java.util.Scanner;
public class matixtrue
{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.print("enter the size of row");
int row = scan.nextInt();
System.out.print("enter the size of colmun");
int col = s... |
c1976cf0-fe80-4674-90d4-60595650c256 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-20 23:58:31", "repo_name": "NicolasPecot/TestCanvasApplication", "sub_path": "/app/src/main/java/com/tpandroid/nicolas/testcanvasapplication/DragNDropActivity.java", "file_name": "DragNDropActivity.java", "fil... | https://github.com/NicolasPecot/TestCanvasApplication | 202 | FILENAME: DragNDropActivity.java | 0.214691 | package com.tpandroid.nicolas.testcanvasapplication;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
public class DragNDropActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
27f62347-861a-456c-831c-27efdc007804 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-01-26 20:26:41", "repo_name": "it-open/SimpleREST", "sub_path": "/src/main/java/at/itopen/simplerest/conversion/Cookie.java", "file_name": "Cookie.java", "file_ext": "java", "file_size_in_byte": 1125, "line_count... | https://github.com/it-open/SimpleREST | 266 | FILENAME: Cookie.java | 0.242206 | /*
* 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 at.itopen.simplerest.conversion;
/**
*
* @author roland
*/
public class Cookie {
private final String name;
privat... |
b5d6644b-9dcf-4056-8231-e048c8ef138f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-16 16:25:19", "repo_name": "ilshatG/Spring", "sub_path": "/spring_hibernate_cars/src/main/java/ru/job4j/models/CarModel.java", "file_name": "CarModel.java", "file_ext": "java", "file_size_in_byte": 1111, "line... | https://github.com/ilshatG/Spring | 268 | FILENAME: CarModel.java | 0.293404 | package ru.job4j.models;
import java.util.Objects;
/**
* Vehicle model. Corolla, Camry, Prado etc.
*/
public class CarModel {
private long id;
private String name;
// private Set<Brand> brands = new HashSet<>(0);
/*
public Set<Brand> getBrands() {
return brands;
}
public void setBra... |
54127034-5733-426f-8580-b42a8fff3df3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-30 05:28:38", "repo_name": "imzdong/study", "sub_path": "/stone/src/main/java/org/imzdong/study/stone/netty/simple/NettyClient.java", "file_name": "NettyClient.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/imzdong/study | 248 | FILENAME: NettyClient.java | 0.252384 | package org.imzdong.study.stone.netty.simple;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.handler.codec.string.StringEncoder;
/**
*... |
4b4d9ba7-8cbb-4a72-867a-1130234ebee7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-05 08:31:47", "repo_name": "thrilion/MarvelsHeroSearcher", "sub_path": "/app/src/main/java/com/example/thrilion/marvelsherosearcher/Activities/SplashActivity.java", "file_name": "SplashActivity.java", "file_ex... | https://github.com/thrilion/MarvelsHeroSearcher | 220 | FILENAME: SplashActivity.java | 0.2227 | package com.example.thrilion.marvelsherosearcher.Activities;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Window;
import com.example.thrilion.marvelsherosearcher.Adapters.SuperheroListAdapter;
import com.example.thrilion.marvelsherosearc... |
5ff450e8-8dc2-4886-a68e-907746cf58ea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-13 02:09:25", "repo_name": "msu-cis-19/roadrunners-app", "sub_path": "/app/src/main/java/edu/msudenver/roadrunners/db/InventoryDB.java", "file_name": "InventoryDB.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/msu-cis-19/roadrunners-app | 182 | FILENAME: InventoryDB.java | 0.253861 | package edu.msudenver.roadrunners.db;
import android.arch.persistence.room.Database;
import android.arch.persistence.room.Room;
import android.arch.persistence.room.RoomDatabase;
import android.content.Context;
import edu.msudenver.roadrunners.inventory.InventoryItem;
@Database(entities = {InventoryItem.class}, vers... |
2ee5a628-5f35-4ac2-987e-183caf882eb7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-30 12:23:01", "repo_name": "MarselAhmetov/Conferences", "sub_path": "/Conferences/src/main/java/team404/conference/general/exception/RestControllerExceptionHandler.java", "file_name": "RestControllerExceptionH... | https://github.com/MarselAhmetov/Conferences | 175 | FILENAME: RestControllerExceptionHandler.java | 0.250913 | package team404.conference.general.exception;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler;
i... |
ba0674df-ee5e-412f-99df-591784235acc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-12 01:54:57", "repo_name": "haxdds/Solar-Panel-Evolution", "sub_path": "/Rahul/src/Gene.java", "file_name": "Gene.java", "file_ext": "java", "file_size_in_byte": 1038, "line_count": 52, "lang": "en", "doc_type... | https://github.com/haxdds/Solar-Panel-Evolution | 247 | FILENAME: Gene.java | 0.294215 | import java.util.ArrayList;
import java.util.Arrays;
/**
* Created by Rahul on 7/19/2018.
*/
public class Gene {
/**
*
*/
private int[] gene;
public static final int length = 8;
public Gene(int[] gene){
if(gene.length != getLength()) throw new IllegalArgumentException("GENE LENGTH ... |
b941b82a-92ff-41ba-962e-a9e5187416a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-20 14:12:05", "repo_name": "Oops-w/netty-demo", "sub_path": "/src/main/java/com/wsy/server/handler/ChatRequestMessageHandler.java", "file_name": "ChatRequestMessageHandler.java", "file_ext": "java", "file_size... | https://github.com/Oops-w/netty-demo | 239 | FILENAME: ChatRequestMessageHandler.java | 0.259826 | package com.wsy.server.handler;
import com.wsy.message.ChatRequestMessage;
import com.wsy.message.ChatResponseMessage;
import com.wsy.server.session.SessionFactory;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChan... |
137f3c19-d9a6-4756-9090-94ae3b0fbaaf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-30T20:17:41", "repo_name": "alesaudate/camel-s3-kinesis-example", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1027, "line_count": 12, "lang": "en", "doc_type"... | https://github.com/alesaudate/camel-s3-kinesis-example | 255 | FILENAME: README.md | 0.278257 | # Camel example: S3 -> Kinesis -> Back to Camel
This project shows how to wire S3 and Kinesis by reading a CSV file from some S3 bucket, reading every line and then sending a corresponding JSON to Kinesis.
## How to run it
```
./gradlew bootRun -Pargs=--aws.access-key=<AWS ACCESS KEY> --aws.secret-key=<AWS SECRET K... |
bdd0f880-410f-44e8-b503-57d57ab88648 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-14 15:29:33", "repo_name": "black-ant/expengine", "sub_path": "/engine-datacenter/src/main/java/com/gang/etl/datacenter/entity/SyncSetting.java", "file_name": "SyncSetting.java", "file_ext": "java", "file_size... | https://github.com/black-ant/expengine | 264 | FILENAME: SyncSetting.java | 0.201813 | package com.gang.etl.datacenter.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gang.common.lib.to.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;
import... |
1661f7eb-97fb-4241-a50f-fd8557a76b0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-04 19:39:17", "repo_name": "lustigepepe/Public", "sub_path": "/MailClient/fsnavigation/src/fsnavigation/handlers/SetBaseDirectory.java", "file_name": "SetBaseDirectory.java", "file_ext": "java", "file_size_in_... | https://github.com/lustigepepe/Public | 223 | FILENAME: SetBaseDirectory.java | 0.280616 | package fsnavigation.handlers;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.swt.widgets.DirectoryDialog;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.handlers.HandlerUtil;
imp... |
1891cf7f-ea86-439e-9282-815eac3b87b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-17 03:37:32", "repo_name": "HadLuo/java_store", "sub_path": "/hadluo-framework/src/main/java/com/uc/framework/thread/ThreadPools.java", "file_name": "ThreadPools.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/HadLuo/java_store | 272 | FILENAME: ThreadPools.java | 0.282988 | package com.uc.framework.thread;
import java.util.concurrent.Executor;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import com.uc.framework.App;
/***
* 线程... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.