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 |
|---|---|---|---|---|---|---|
5e8be436-60cb-45e1-a578-c62c67c3c62a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-06 17:11:38", "repo_name": "alghubari2017/Myvegetable2", "sub_path": "/src/main/java/com/alghubari/myfv/modle/Product.java", "file_name": "Product.java", "file_ext": "java", "file_size_in_byte": 1073, "line_co... | https://github.com/alghubari2017/Myvegetable2 | 250 | FILENAME: Product.java | 0.252384 | package com.alghubari.myfv.modle;
public class Product {
private String productName1;
private String productUnite1;
private int productPrice1;
// private int photoUrl1;
public Product(String productName1, String productUnite1, int productPrice1) {
this.productName1 = productName1;
... |
af9c8bbe-d5f0-4062-ad77-4930407bebe6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-10-18T15:01:58", "repo_name": "mohammadmoustafa/MongoDB-Driver-for-Java", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1160, "line_count": 34, "lang": "en", "doc_... | https://github.com/mohammadmoustafa/MongoDB-Driver-for-Java | 269 | FILENAME: README.md | 0.216012 | # MongoDB Driver for Java
This driver was created as a means to simplify the use of MongoDB within a Java project.
## Current Version
The current version of the driver supports MongoDB **v3.5**
## Installation
### Maven
Add the following to your `pom.xml`:
```
<dependencies>
<dependency>
<groupId>org.mong... |
48950ccc-7718-42f2-9ad8-2a3b1072774d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-07 14:15:44", "repo_name": "gaoyan0723/px-submission-tool", "sub_path": "/src/main/java/uk/ac/ebi/pride/gui/form/SummaryDescriptor.java", "file_name": "SummaryDescriptor.java", "file_ext": "java", "file_size_i... | https://github.com/gaoyan0723/px-submission-tool | 234 | FILENAME: SummaryDescriptor.java | 0.281406 | package uk.ac.ebi.pride.gui.form;
import uk.ac.ebi.pride.App;
import uk.ac.ebi.pride.gui.form.comp.ContextAwareNavigationPanelDescriptor;
import uk.ac.ebi.pride.gui.navigation.Navigator;
import javax.help.HelpBroker;
import javax.swing.*;
/**
* SummaryDescriptor
*
* @author Rui Wang
* @version $Id$
*/
public cl... |
7c36adb6-d0c6-4e05-9b3e-13006ef9ee7e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-16 15:49:37", "repo_name": "santosh-suresh/jCIS", "sub_path": "/src/main/java/com/jifflenow/cis/models/ErrorMessage.java", "file_name": "ErrorMessage.java", "file_ext": "java", "file_size_in_byte": 1044, "line... | https://github.com/santosh-suresh/jCIS | 210 | FILENAME: ErrorMessage.java | 0.212069 | package com.jifflenow.cis.models;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.HashMap;
import java.util.Map;
public class ErrorMessage {
private int status;
private String message;
private Map<String, String> errors = new HashMap<String, String>();
public ErrorMessage(... |
d745f53d-903e-4db4-9421-97927ec82431 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-09-01 14:16:26", "repo_name": "ihmcrobotics/ihmc-open-robotics-software", "sub_path": "/ihmc-parameter-tuner/src/main/java/us/ihmc/parameterTuner/guiElements/GuiElement.java", "file_name": "GuiElement.java", "fil... | https://github.com/ihmcrobotics/ihmc-open-robotics-software | 247 | FILENAME: GuiElement.java | 0.286169 | package us.ihmc.parameterTuner.guiElements;
public abstract class GuiElement
{
public static final String SEPERATOR = ":";
private final String name;
private final GuiRegistry parent;
private final String uniqueName;
public GuiElement(String name, GuiRegistry parent)
{
this(name, parent, crea... |
090207d5-b743-4099-99a2-009255bb72e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-16 09:56:14", "repo_name": "nathajagdish/All-in-one", "sub_path": "/app/src/main/java/com/example/playstore/Local_Nepal.java", "file_name": "Local_Nepal.java", "file_ext": "java", "file_size_in_byte": 1221, "l... | https://github.com/nathajagdish/All-in-one | 244 | FILENAME: Local_Nepal.java | 0.214691 | package com.example.playstore;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
public class Local_Nepal extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedIn... |
b09a82a7-479e-478e-9893-2a3e7ef81a1f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-03-17T10:32:07", "repo_name": "ArtyCake/Fit-Your-Fat", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1137, "line_count": 28, "lang": "en", "doc_type": "text", "blo... | https://github.com/ArtyCake/Fit-Your-Fat | 251 | FILENAME: README.md | 0.290981 | # Fit Your Fat
[Play Market](https://play.google.com/store/apps/details?id=com.artycake.fityourfat) | [Demo video](https://youtu.be/A8gNM5Ku5Ew)
A simple and convenient timer for your workouts.
### Main features
- A timer for interval training, running in the background
- Notifications about changing exercises with s... |
a367454e-be91-4c25-adc5-b5bb064b237a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-28 07:08:01", "repo_name": "liubo0501/myspring", "sub_path": "/SpringWebsocket/src/main/java/com/netposa/springsocket/WebSocketService.java", "file_name": "WebSocketService.java", "file_ext": "java", "file_siz... | https://github.com/liubo0501/myspring | 246 | FILENAME: WebSocketService.java | 0.279042 | package com.netposa.springsocket;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.simp.SimpMessagingTemplate;
import org.springframework.stereotype.Service;
import org.springframework.web.util.HtmlUtils;
@Service
public class WebSocketService {
@Autowired
pri... |
c4f67c32-b2c3-4f75-9f93-9ee1802e3e7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-11-02 10:18:01", "repo_name": "siriusbetta/SeaBattle", "sub_path": "/src/com/seabattle/Water.java", "file_name": "Water.java", "file_ext": "java", "file_size_in_byte": 1067, "line_count": 61, "lang": "en", "doc_t... | https://github.com/siriusbetta/SeaBattle | 300 | FILENAME: Water.java | 0.287768 | package com.seabattle;
public class Water{
//private Ship ship;
//if dangerWater is 0 the field is clear, 1 connects with ship and -1 is busy by ship
private int dangerWater;
int x;
int y;
public Water(int x, int y) {
this.x = x;
this.y = y;
setDangerWater(0);
}
public int getDangerWater() {
re... |
c786724d-5836-46a3-b25c-536ee30f46cc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-03 00:45:34", "repo_name": "lshstyle/my-react", "sub_path": "/react-server/src/main/java/com/example/wechat/controller/GoodsController.java", "file_name": "GoodsController.java", "file_ext": "java", "file_size... | https://github.com/lshstyle/my-react | 220 | FILENAME: GoodsController.java | 0.225417 | package com.example.wechat.controller;
import com.example.react.util.HttpStatus;
import com.example.react.util.Result;
import com.example.wechat.entity.Image;
import com.example.wechat.service.FloorService;
import com.example.wechat.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
i... |
8d8911ad-37b6-44c1-af7a-c848f1836faa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-06 16:06:27", "repo_name": "rajagopal-nallapu/ParkingSystem", "sub_path": "/src/com/parkingsystem/Token.java", "file_name": "Token.java", "file_ext": "java", "file_size_in_byte": 1219, "line_count": 48, "lang"... | https://github.com/rajagopal-nallapu/ParkingSystem | 230 | FILENAME: Token.java | 0.287768 | package com.parkingsystem;
import java.util.Date;
public class Token {
private String tokenNumber;
private Slot slotInformation;
private Car carInformation;
private Date tokenDate;
private long checkoutTime;
public Token(String tokenNumber, Slot slotInformation, Car carInformation)
... |
bf10027b-9a87-405f-992e-a5f17b2a8c4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-13 18:49:43", "repo_name": "guhama/dataConv", "sub_path": "/src/main/java/com/premierinc/informatics/dataconv/DataConversionStatus.java", "file_name": "DataConversionStatus.java", "file_ext": "java", "file_siz... | https://github.com/guhama/dataConv | 244 | FILENAME: DataConversionStatus.java | 0.280616 | package com.premierinc.informatics.dataconv;
/**
* The Enum DataConversionStatus.
*
* @author ypatil
*/
public enum DataConversionStatus {
QMR_BLOCK("QB"), AE_PENDING("AP"), QMR_RUN("QR"), QMR_COMPLETE("QC");
private String statusCode;
/**
* Instantiates a new data conversion status.
*
* @param st... |
d5d4a52a-351e-4952-9bc7-2838c36f45e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-29 20:08:35", "repo_name": "breno-cn/message-board", "sub_path": "/src/main/java/com/forum/board/controller/BoardController.java", "file_name": "BoardController.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/breno-cn/message-board | 176 | FILENAME: BoardController.java | 0.239349 | package com.forum.board.controller;
import com.forum.board.service.BoardService;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.... |
d46cf161-fe25-4315-a184-f4d5b37d7543 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-12 06:15:20", "repo_name": "yanbospark/world", "sub_path": "/world/src/main/java/com/world/controller/back/LoginCtrl.java", "file_name": "LoginCtrl.java", "file_ext": "java", "file_size_in_byte": 1103, "line_c... | https://github.com/yanbospark/world | 216 | FILENAME: LoginCtrl.java | 0.242206 | package com.world.controller.back;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframew... |
f0bcc8f4-1921-411d-b2a0-c99609d99595 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-12 13:57:04", "repo_name": "devdoott/CampusChat", "sub_path": "/app/src/main/java/com/buyhatke/chat_application_admin/Admin.java", "file_name": "Admin.java", "file_ext": "java", "file_size_in_byte": 1159, "lin... | https://github.com/devdoott/CampusChat | 229 | FILENAME: Admin.java | 0.239349 | package com.buyhatke.chat_application_admin;
import android.content.Context;
import android.content.Intent;
import com.google.firebase.storage.StorageReference;
public class Admin{
private String fullName;
private String id;
private String packageName;
public String getEmail() {
return email... |
ff9085ed-a2fa-4539-8da8-798342a44bd3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-21 10:03:28", "repo_name": "marcoslop/bitbucket-plugin", "sub_path": "/src/main/java/com/cloudbees/jenkins/plugins/BitBucketTrigger.java", "file_name": "BitBucketTrigger.java", "file_ext": "java", "file_size_i... | https://github.com/marcoslop/bitbucket-plugin | 242 | FILENAME: BitBucketTrigger.java | 0.245085 | package com.cloudbees.jenkins.plugins;
import hudson.Extension;
import hudson.model.AbstractProject;
import hudson.model.Item;
import hudson.plugins.git.GitStatus;
import hudson.triggers.Trigger;
import hudson.triggers.TriggerDescriptor;
import jenkins.model.Jenkins;
import org.eclipse.jgit.transport.URIish;
import or... |
519cb174-7532-4137-9913-d2a525773d93 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-17 03:37:05", "repo_name": "BetterSora/Algorithm", "sub_path": "/src/main/java/cn/java/jdkproxy/JDKDynamicProxyClient.java", "file_name": "JDKDynamicProxyClient.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/BetterSora/Algorithm | 220 | FILENAME: JDKDynamicProxyClient.java | 0.26588 | package cn.java.jdkproxy;
import sun.misc.ProxyGenerator;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Proxy;
public class JDKDynamicProxyClient {
public static void main(String[] args) {
... |
07b3855d-55db-4db6-9693-d8d1f8dd9429 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-09 10:22:45", "repo_name": "qndc/Crowdfunding", "sub_path": "/Atcrowdfunding-potal-impl/src/main/java/com/atguigu/atcrowdfunding/potal/service/impl/MemberServiceImpl.java", "file_name": "MemberServiceImpl.java... | https://github.com/qndc/Crowdfunding | 257 | FILENAME: MemberServiceImpl.java | 0.292595 | package com.atguigu.atcrowdfunding.potal.service.impl;
import com.atguigu.atcrowdfunding.bean.Member;
import com.atguigu.atcrowdfunding.potal.dao.MemberMapper;
import com.atguigu.atcrowdfunding.potal.service.MemberService;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
imp... |
992b82d2-9efd-4ab8-806f-7eaf3193e8b4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-24T14:51:15", "repo_name": "abaydar/tech_networking_client", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1157, "line_count": 21, "lang": "en", "doc_type": "te... | https://github.com/abaydar/tech_networking_client | 253 | FILENAME: README.md | 0.247987 | # Welcome to Tech Networking!
This app was designed for anyone new to the tech field and looking to connect with other techies!
## Installation
To install this to your local computer, fork and clone this repository. Once you are in the "tech_networking_client" directory, run `npm install` to load all dependencies.... |
fe3c564b-378e-4fc4-a3df-ea8869d7adc7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-12 12:28:38", "repo_name": "fgyLian/myblog", "sub_path": "/src/main/java/com/fgy/myblog/service/impl/UserInfoServiceImpl.java", "file_name": "UserInfoServiceImpl.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/fgyLian/myblog | 242 | FILENAME: UserInfoServiceImpl.java | 0.275909 | package com.fgy.myblog.service.impl;
import com.fgy.myblog.bean.UserInfo;
import com.fgy.myblog.dao.UserInfoMapper;
import com.fgy.myblog.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public clas... |
abb516b7-2404-46a8-87bb-b817a3b58652 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-19 20:20:50", "repo_name": "firsachi/softtouch", "sub_path": "/softtouch/src/main/java/ua/kiev/softtouch/validations/CpmpanyValidator.java", "file_name": "CpmpanyValidator.java", "file_ext": "java", "file_size... | https://github.com/firsachi/softtouch | 202 | FILENAME: CpmpanyValidator.java | 0.289372 | package ua.kiev.softtouch.validations;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.ValidationUtils;
import org.springframework.validation.Validator;
import ua.kiev.so... |
22ff3a24-1533-4f37-b055-3324cf1ea231 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-13 08:53:05", "repo_name": "katrinpuik/ToDoWebApplication", "sub_path": "/src/main/java/servlets/DoneServlet.java", "file_name": "DoneServlet.java", "file_ext": "java", "file_size_in_byte": 1022, "line_count":... | https://github.com/katrinpuik/ToDoWebApplication | 180 | FILENAME: DoneServlet.java | 0.29584 | package servlets;
import com.mysql.jdbc.StringUtils;
import service.TodoService;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;
import java.util.logging.Logger;
... |
911ca00b-44c8-48c7-85b1-fc2b8c4420e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-02 02:46:59", "repo_name": "r17171709/AndroidCommonLibrary", "sub_path": "/app/src/main/java/com/renyu/androidcommonlibrary/activity/SVGActivity.java", "file_name": "SVGActivity.java", "file_ext": "java", "fil... | https://github.com/r17171709/AndroidCommonLibrary | 221 | FILENAME: SVGActivity.java | 0.217338 | package com.renyu.androidcommonlibrary.activity;
import android.graphics.Color;
import androidx.appcompat.widget.AppCompatImageView;
import androidx.vectordrawable.graphics.drawable.VectorDrawableCompat;
import com.renyu.androidcommonlibrary.R;
import com.renyu.commonlibrary.baseact.BaseActivity;
/**
* Created by Ad... |
97f46701-b703-47ce-ac3c-db76de9bbd3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-14 07:57:43", "repo_name": "yoooooona/yuna", "sub_path": "/swing/src/component/JFileChooserTest1.java", "file_name": "JFileChooserTest1.java", "file_ext": "java", "file_size_in_byte": 1116, "line_count": 48, "... | https://github.com/yoooooona/yuna | 258 | FILENAME: JFileChooserTest1.java | 0.277473 | package component;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.UIManager;
import javax.swing.border.EmptyBorder;
public class JFileChooserTest1 extends JFrame {
private JPanel contentPane;
/**
... |
c3b751c4-c39b-4f01-bfff-624158f4ecf0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-19 10:20:35", "repo_name": "mutukulasureshkumar/BMSAssistance", "sub_path": "/src/main/java/com/java/chatbot/repository/Repository.java", "file_name": "Repository.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/mutukulasureshkumar/BMSAssistance | 199 | FILENAME: Repository.java | 0.261331 | package com.java.chatbot.repository;
import com.java.chatbot.model.Movies;
import org.springframework.context.annotation.Configuration;
import java.util.ArrayList;
import java.util.HashMap;
@Configuration
public class Repository {
private static HashMap<String, Movies> database = new HashMap<String, Movi... |
d81e6ade-9c0d-49e1-80c9-0d8aec51ce44 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-23 07:05:46", "repo_name": "feixiaoan/SSM-maven-", "sub_path": "/ssm/ssm_utils/src/main/java/com/xiaofei/ssm/utils/DateUtils.java", "file_name": "DateUtils.java", "file_ext": "java", "file_size_in_byte": 1143,... | https://github.com/feixiaoan/SSM-maven- | 273 | FILENAME: DateUtils.java | 0.275909 | package com.xiaofei.ssm.utils;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* <Description> <br>
* 进行日期转换
* @author 小飞<br>
* @version 1.0<br>
* @createDate 2019/05/31<br>
* @see com.xiaofei.ssm.utils <br>
*/
public class DateUtils {
/**
* 把日期转换为字符串
... |
d2d989f0-c2ea-4136-a136-36a0966cb680 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-01-16T07:18:53", "repo_name": "sampwing/ansible-digitalocean-security", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1001, "line_count": 38, "lang": "en", "doc_ty... | https://github.com/sampwing/ansible-digitalocean-security | 248 | FILENAME: README.md | 0.183594 | setting up ufw : http://docs.ansible.com/ansible/ufw_module.html
vagrant up --provider virtualbox
vagrant destroy
check http://jamesdacosta.com/first-steps-with-vagrant-ansible-and-aws/ for next steps and do it with digitial ocean
-- kicked off digital ocean deploy w/
ansible-playbook private/ansible/droplet.yml ... |
68498625-c9ac-48cb-b795-d3584f38dfbd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-19 16:15:59", "repo_name": "AleTid5/UTN_PAII_TP3", "sub_path": "/app/src/main/java/src/Activities/ui/account/AccountFragment.java", "file_name": "AccountFragment.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/AleTid5/UTN_PAII_TP3 | 161 | FILENAME: AccountFragment.java | 0.216012 | package src.Activities.ui.account;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.ViewModelProvider;
import com.example.tp3_pa_grupo_3.R;
publi... |
70fb55e6-8e7b-4473-a1dd-9d89b61b4b86 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-19 23:55:31", "repo_name": "ThePlay3r/FancyChangeAnimation", "sub_path": "/src/main/java/me/pljr/fancychangeanimation/FancyChangeAnimation.java", "file_name": "FancyChangeAnimation.java", "file_ext": "java", "... | https://github.com/ThePlay3r/FancyChangeAnimation | 207 | FILENAME: FancyChangeAnimation.java | 0.252384 | package me.pljr.fancychangeanimation;
import me.pljr.fancychangeanimation.listeners.FoodLevelChangeListener;
import me.pljr.fancychangeanimation.listeners.PlayerExpChangeListener;
import org.bukkit.plugin.java.JavaPlugin;
public final class FancyChangeAnimation extends JavaPlugin {
private static FancyChangeAnima... |
8300a33a-9728-464c-89c1-0b3eba803608 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-17 15:26:11", "repo_name": "Samir009/Upasarga", "sub_path": "/app/src/main/java/com/samir/upasarga/activities/SwipeToRefresh.java", "file_name": "SwipeToRefresh.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/Samir009/Upasarga | 167 | FILENAME: SwipeToRefresh.java | 0.258326 | package com.samir.upasarga.activities;
import androidx.appcompat.app.AppCompatActivity;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import android.os.Bundle;
import android.widget.TextView;
import com.samir.upasarga.R;
public class SwipeToRefresh extends AppCompatActivity {
SwipeRefreshLayout... |
42720e9a-4692-41fa-b12c-ba6b4638c6eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-08 03:48:20", "repo_name": "345618264/ssm1", "sub_path": "/my-ssm/src/main/java/com/mytest/controller/DeptController.java", "file_name": "DeptController.java", "file_ext": "java", "file_size_in_byte": 1047, "l... | https://github.com/345618264/ssm1 | 244 | FILENAME: DeptController.java | 0.23793 | package com.mytest.controller;
import com.mytest.entity.Dept;
import com.mytest.service.DeptService;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import j... |
e7a2d9c6-fd46-44a1-b869-6df7505fbaf3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-12 03:06:04", "repo_name": "omarabdeddaim/Management_Application", "sub_path": "/promotion.java", "file_name": "promotion.java", "file_ext": "java", "file_size_in_byte": 1022, "line_count": 60, "lang": "en", "... | https://github.com/omarabdeddaim/Management_Application | 208 | FILENAME: promotion.java | 0.250913 |
package gestion_ressources_humains;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Date;
public class promotion {
private float date;
private ArrayList<Employées> Employees;
//constructeur
public promotion(float date) {
this.date= date;//la date cité... |
289f7734-f880-4560-b0cf-34f15cf708ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-02-25T02:34:51", "repo_name": "ASBausch/ww-exercise", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1050, "line_count": 24, "lang": "en", "doc_type": "text", "blob... | https://github.com/ASBausch/ww-exercise | 240 | FILENAME: README.md | 0.252384 | NPM install required
I built the site using Node / Express / Angular. To get things running:
* Clone the following repo into a new directory: https://github.com/ASBausch/ww-exercise
* From within the directory run 'npm install'
* Once install is complete, run 'npm start'
* Visit http://localhost:3000 to view the site... |
7ab95d72-97b0-4d0c-9829-71f9bed50a28 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-08 00:40:19", "repo_name": "George-Poulos/Minimal-Average-Distance", "sub_path": "/src/City.java", "file_name": "City.java", "file_ext": "java", "file_size_in_byte": 1021, "line_count": 46, "lang": "en", "doc_... | https://github.com/George-Poulos/Minimal-Average-Distance | 246 | FILENAME: City.java | 0.267408 | /**
* Created by : George Poulos
* Class : CS342 HW1 ---- Fall 2016
* Author Code Number : 655P
*
* This file holds the class that defines City, this class holds
* an Integer variable that holds the city index, a String that
* holds the name of the city, and another string that holds the
* name of the state tha... |
f12c71f2-dcbd-4f6e-9755-7aa258525876 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-19 15:18:35", "repo_name": "mingletxt/webflux", "sub_path": "/src/main/java/com/mingle/webflux/demo/Test.java", "file_name": "Test.java", "file_ext": "java", "file_size_in_byte": 1026, "line_count": 39, "lang"... | https://github.com/mingletxt/webflux | 216 | FILENAME: Test.java | 0.282988 | package com.mingle.webflux.demo;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
import java.util.Date;
import java.util.Optional;
import java.util.Random;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.core.scheduler.Schedulers;
imp... |
5366ecfb-3078-4aad-9cf9-1e8d70e97371 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-15 10:59:47", "repo_name": "Tom-The-Geek/BulkBlockEdit", "sub_path": "/src/main/java/me/geek/tom/BulkBlockChange/actions/TaskManager.java", "file_name": "TaskManager.java", "file_ext": "java", "file_size_in_by... | https://github.com/Tom-The-Geek/BulkBlockEdit | 200 | FILENAME: TaskManager.java | 0.250913 | package me.geek.tom.BulkBlockChange.actions;
// import org.bukkit.ChatColor;
import com.google.common.collect.Lists;
import me.geek.tom.BulkBlockChange.BulkBlockChange;
import org.bukkit.ChatColor;
import org.bukkit.Server;
import org.bukkit.scheduler.BukkitRunnable;
import java.util.List;
public class TaskManager e... |
f468cf8f-44b6-4ae4-a16a-8a4567b00b3f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-10 04:01:22", "repo_name": "kousun12/flopsfever", "sub_path": "/src/com/illinois/ncsa/Settings.java", "file_name": "Settings.java", "file_ext": "java", "file_size_in_byte": 1028, "line_count": 40, "lang": "en"... | https://github.com/kousun12/flopsfever | 183 | FILENAME: Settings.java | 0.255344 | package com.illinois.ncsa;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import framework.FileIO;
public class Settings {
public static boolean soundEnabled = true;
public static voi... |
91fe3bfb-a4a5-4d71-a68e-80f6732c1244 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-26 09:03:33", "repo_name": "ValentinStoyanov/mongoDBcloudtest", "sub_path": "/src/main/java/com/model/Coordinate.java", "file_name": "Coordinate.java", "file_ext": "java", "file_size_in_byte": 1029, "line_coun... | https://github.com/ValentinStoyanov/mongoDBcloudtest | 210 | FILENAME: Coordinate.java | 0.220007 | package com.model;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "coordinates")
public class Coordinate {
public Coordinate(String latitude, String longitude, String altitude, String time) {
super();
this.latitude = latitude;... |
a85b8f42-c066-49bf-b3d8-bc0d529b5318 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-06 16:28:14", "repo_name": "ck2860/Java-Projects", "sub_path": "/homework-22-ck2860/src/Session/EchoClient.java", "file_name": "EchoClient.java", "file_ext": "java", "file_size_in_byte": 1044, "line_count": 32... | https://github.com/ck2860/Java-Projects | 188 | FILENAME: EchoClient.java | 0.273574 | package Session;
import java.io.*;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
public class EchoClient {
public static void main(String[] args) throws IOException {
// InetAddress local = InetAddress.getLocalHost();
//// System.out.println(loc... |
82814fcf-c600-44de-b69e-e2cd327a4f95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-07 14:48:35", "repo_name": "namtv1997/Vdt", "sub_path": "/VPDT1/app/src/main/java/com/vpdt/vpdt/model/Noinhan.java", "file_name": "Noinhan.java", "file_ext": "java", "file_size_in_byte": 996, "line_count": 48,... | https://github.com/namtv1997/Vdt | 239 | FILENAME: Noinhan.java | 0.228156 | package com.vpdt.vpdt.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Noinhan implements Parcelable {
@SerializedName("mthu")
@Expose
private String mthu;
protected Noinhan(Parce... |
da9857ca-e528-4cdd-95d5-6e83556ebb25 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-12 16:47:53", "repo_name": "falka164/MountApp", "sub_path": "/src/FileManager.java", "file_name": "FileManager.java", "file_ext": "java", "file_size_in_byte": 1234, "line_count": 39, "lang": "en", "doc_type": ... | https://github.com/falka164/MountApp | 229 | FILENAME: FileManager.java | 0.29584 | import java.io.*;
import java.util.LinkedList;
import java.util.List;
public class FileManager {
public void readFile(String filePath) throws IOException {
//FileReader odczyt pliku znak po znaku, dlatego opakowany w strumień BufferedReader
FileReader fileReader = new FileReader(filePath);
... |
1f776551-22b8-4a12-8209-2dca305a6cae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-16 03:45:01", "repo_name": "FPhoenixCorneaE/Ignorance", "sub_path": "/ALiYunOSS/src/main/java/com/alibaba/sdk/android/common/auth/PlainTextAKSKCredentialProvider.java", "file_name": "PlainTextAKSKCredentialPro... | https://github.com/FPhoenixCorneaE/Ignorance | 223 | FILENAME: PlainTextAKSKCredentialProvider.java | 0.212069 | package com.alibaba.sdk.android.common.auth;
import com.alibaba.sdk.android.common.auth.CredentialProvider;
/**
* Created by zhouzhuo on 11/4/15.
*/
public class PlainTextAKSKCredentialProvider extends CredentialProvider {
private String accessKeyId;
private String accessKeySecret;
/**
* 用阿里云提供的Ac... |
16f98f1b-0078-48b3-89de-52599f429c0a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-13 11:14:27", "repo_name": "zinoviy23/SimpleDB4Java", "sub_path": "/res/Executor.java", "file_name": "Executor.java", "file_ext": "java", "file_size_in_byte": 1117, "line_count": 44, "lang": "en", "doc_type": ... | https://github.com/zinoviy23/SimpleDB4Java | 196 | FILENAME: Executor.java | 0.261331 | package db;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class Executor {
private final Connection connection;
public Executor(Connection connection) {
this.connection = connection;
}
public int executeUpdate(String qu... |
93d6890e-8299-4688-95f1-2397dac96f2a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-02 06:53:45", "repo_name": "rlnsy/bollhorst-game-of-life", "sub_path": "/res/AudioPlayer.java", "file_name": "AudioPlayer.java", "file_ext": "java", "file_size_in_byte": 993, "line_count": 36, "lang": "en", "d... | https://github.com/rlnsy/bollhorst-game-of-life | 199 | FILENAME: AudioPlayer.java | 0.282196 | package res;
import java.io.*;
import java.net.URL;
import javax.sound.sampled.*;
import javax.swing.*;
public class AudioPlayer {
private final String SOUND_DIR = "sounds/";
/*
* pre: none
* post: creates a temporary player and uses it to play clip "name"
*/
public static void playCli... |
a918ddc3-f8ae-49cb-9c59-284ce0b7d307 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-10 06:29:54", "repo_name": "edkins/pantheist", "sub_path": "/src/main/java/io/pantheist/api/flatdir/model/ListFileItemImpl.java", "file_name": "ListFileItemImpl.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/edkins/pantheist | 225 | FILENAME: ListFileItemImpl.java | 0.249447 | package io.pantheist.api.flatdir.model;
import javax.inject.Inject;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.inject.assistedinject.Assisted;
import io.pantheist.common.util.OtherPreconditions;
final class ListFileItemImpl implements ListFileItem
{
private final String url;
private f... |
9b94d565-a893-4a8e-acfe-9f4c9a6f0e0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-12-09 03:17:08", "repo_name": "XingCloud/JavaSDK", "sub_path": "/src/com/xingcloud/framework/integration/http/protocol/StatusServiceProtocol.java", "file_name": "StatusServiceProtocol.java", "file_ext": "java", "... | https://github.com/XingCloud/JavaSDK | 220 | FILENAME: StatusServiceProtocol.java | 0.26971 | package com.xingcloud.framework.integration.http.protocol;
import java.io.IOException;
import com.xingcloud.framework.context.stream.input.JSONInputStream;
import com.xingcloud.framework.integration.http.stream.input.HTTPInputStream;
import com.xingcloud.framework.service.request.ServiceRequest;
/**
* 状态协议服务类
*
... |
da5e1583-c832-426c-ab0e-2dd8ff7a5322 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-14 15:18:07", "repo_name": "tanlocle0495/MODEL-MVP", "sub_path": "/app/src/main/java/efood/com/mvp/Views/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 969, "lin... | https://github.com/tanlocle0495/MODEL-MVP | 183 | FILENAME: MainActivity.java | 0.264358 | package efood.com.mvp.Views;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import efood.com.mvp.Persenter.CouterPersenter;
import efood.com.mvp.R;
public class MainActivity extends AppCompatActivity implements CounterView {
Butt... |
955547d5-034d-4a0d-84dd-8dbcb366b456 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-08 07:19:50", "repo_name": "AbhishekXenatix/jinkinsDemo", "sub_path": "/jenkinsDemo/src/test/java/stepDef/Stepj.java", "file_name": "Stepj.java", "file_ext": "java", "file_size_in_byte": 1015, "line_count": 38... | https://github.com/AbhishekXenatix/jinkinsDemo | 220 | FILENAME: Stepj.java | 0.271252 | package stepDef;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
//import org.openqa.selenium.firefox.FirefoxDriver;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
//import io.cucumber.java.en.Given;
//impo... |
f25ed1c4-3b4b-4e16-96e1-70c1ba4cb14d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-22 12:05:30", "repo_name": "divyanshuguptaososofficial/AndroidAgeCalculator", "sub_path": "/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1008, "line_count": 38... | https://github.com/divyanshuguptaososofficial/AndroidAgeCalculator | 170 | FILENAME: MainActivity.java | 0.267408 | package com.example.ages;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.DatePicker;
import android.widget.TextView;
import android.view.*;
public class MainActivity extends AppCompatActivity {
@Override
protecte... |
6f4fe577-e162-435b-a00f-9ab44b6dc42c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-27 01:56:26", "repo_name": "MorphiaOrg/morphia", "sub_path": "/core/src/main/java/dev/morphia/mapping/lifecycle/UntypedEntityListenerAdapter.java", "file_name": "UntypedEntityListenerAdapter.java", "file_ext":... | https://github.com/MorphiaOrg/morphia | 243 | FILENAME: UntypedEntityListenerAdapter.java | 0.290981 | package dev.morphia.mapping.lifecycle;
import java.lang.reflect.Method;
import java.util.List;
import dev.morphia.Datastore;
import dev.morphia.EntityListener;
import dev.morphia.annotations.EntityListeners;
import dev.morphia.annotations.internal.MorphiaInternal;
import org.bson.Document;
/**
* This class wraps t... |
99402281-dcf3-4afd-a6bd-877ae4601d99 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-09 03:27:25", "repo_name": "Kushima/microservices-tutorial", "sub_path": "/recarga-e-pagamento/src/main/java/org/edu/kushima/service/RecPagService.java", "file_name": "RecPagService.java", "file_ext": "java", ... | https://github.com/Kushima/microservices-tutorial | 220 | FILENAME: RecPagService.java | 0.224055 | package org.edu.kushima.service;
import java.net.InetAddress;
import java.net.UnknownHostException;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import org.wildfly.swarm.spi.runtime.annotations.ConfigurationValue;
@ApplicationScoped
public class RecPagService {
@Inject
@Configur... |
5eeb5b4c-3895-415f-86b5-a76fa2727cd2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-20 16:53:04", "repo_name": "puffershy/puffer-spider", "sub_path": "/src/main/java/com/puffer/spider/crawler/AmazonCrawler.java", "file_name": "AmazonCrawler.java", "file_ext": "java", "file_size_in_byte": 1021... | https://github.com/puffershy/puffer-spider | 223 | FILENAME: AmazonCrawler.java | 0.214691 | package com.puffer.spider.crawler;
import com.puffer.spider.common.constants.Constants;
import com.puffer.spider.entity.AmazonItem;
import com.puffer.spider.processor.AmazonItemPiperline;
import org.springframework.stereotype.Component;
import us.codecraft.webmagic.downloader.HttpClientDownloader;
import javax.annota... |
9b8b0e7d-12ab-4ae0-8cf1-3607272ae79a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2012-09-30T13:23:57", "repo_name": "opyate/typesafe-stack-cookbook", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1020, "line_count": 46, "lang": "en", "doc_type": "te... | https://github.com/opyate/typesafe-stack-cookbook | 229 | FILENAME: README.md | 0.256832 | Description
===========
Installs the Typesafe Stack.
Requirements
============
Platform
--------
* Ubuntu/Debian/Amazon
* No others--pull requests welcome.
Recipes
=======
default
-------
Include the default recipe in a run list, to get `typesafe_stack`.
Usage
=====
Simply include the `typesafe_stack` recipe ... |
5d084454-580c-4f11-bcdd-5fc2db1a8d45 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-10 02:17:21", "repo_name": "nimeifu/project2", "sub_path": "/src/com/company/Employee.java", "file_name": "Employee.java", "file_ext": "java", "file_size_in_byte": 966, "line_count": 51, "lang": "en", "doc_typ... | https://github.com/nimeifu/project2 | 189 | FILENAME: Employee.java | 0.258326 | package com.company;
public abstract class Employee {
public static int EmployeeID=0;
private int employeeID;
private String FirstName;
private String Compensation;
private double salary;
public Employee(String Compensation,String FirstName,double AnnualOrHourly)
{
this.Compensatio... |
76ec181a-9b92-4b78-8fb9-3e15dd28cc17 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-05 02:27:57", "repo_name": "wang-shun/transaction", "sub_path": "/foreground/listed/src/main/java/com/sinochem/crude/trade/listed/model/vo/DictionaryVO.java", "file_name": "DictionaryVO.java", "file_ext": "jav... | https://github.com/wang-shun/transaction | 263 | FILENAME: DictionaryVO.java | 0.226784 | package com.sinochem.crude.trade.listed.model.vo;
import java.io.Serializable;
/**
* 瀛楀吀鐨刅O
* @author Yichen Zhao
* date: 20180301
*/
public class DictionaryVO implements Serializable {
/**
* 编号
*/
private Integer code;
/**
* 中文
*/
private String zhName;
/**
* 英文
... |
3d042f74-ca23-4425-995f-e078323c2cde | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-28 10:51:20", "repo_name": "practice-mix/springmvc-multi-servlet-path", "sub_path": "/src/main/java/com/practice/springmvc/multi_servlet_path/foo/FooHelloController.java", "file_name": "FooHelloController.java... | https://github.com/practice-mix/springmvc-multi-servlet-path | 191 | FILENAME: FooHelloController.java | 0.249447 | package com.practice.springmvc.multi_servlet_path.foo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.context.request.WebRequest;
import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import... |
c3728248-b1aa-468b-994c-bf91f368f2fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-07 14:37:57", "repo_name": "tbatty7/async-rest-service", "sub_path": "/src/test/java/com/example/asyncrestservice/ReflectiveVisitorTest.java", "file_name": "ReflectiveVisitorTest.java", "file_ext": "java", "fi... | https://github.com/tbatty7/async-rest-service | 237 | FILENAME: ReflectiveVisitorTest.java | 0.295027 | package com.example.asyncrestservice;
import com.example.asyncrestservice.reflective.visitor.pattern.*;
import org.junit.Test;
public class ReflectiveVisitorTest {
@Test
public void testIt() {
Element[] list = {new This(), new That(), new TheOther()};
UpVisitor up = new UpVisitor();
Do... |
5d0fc82d-5df4-4493-a4bf-1cf7f2bc919b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-09 08:47:32", "repo_name": "zhuanee/classroom_booking", "sub_path": "/src/main/java/com/network/booking/controller/TestController.java", "file_name": "TestController.java", "file_ext": "java", "file_size_in_by... | https://github.com/zhuanee/classroom_booking | 255 | FILENAME: TestController.java | 0.255344 | package com.network.booking.controller;
import com.network.booking.entities.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
import java.util.*;
@RestController
public class TestController {
@GetMapping("/user"... |
d390f3c5-22d9-4d58-a46a-765536677d7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-05 14:54:27", "repo_name": "irfancoder/MyCurtin", "sub_path": "/app/src/main/java/com/irfan/draft1/Maps/Coordinates.java", "file_name": "Coordinates.java", "file_ext": "java", "file_size_in_byte": 1018, "line_... | https://github.com/irfancoder/MyCurtin | 213 | FILENAME: Coordinates.java | 0.23092 | package com.irfan.draft1.Maps;
import java.io.Serializable;
/**
* Created by irfan on 27/07/2017.
*/
public class Coordinates implements Serializable {
private Double latitude, longitude;
private float bearing;
private int speed;
public Coordinates() {
}
public Coordinates(Double latit... |
b0f0bf41-f62e-45c7-8b2d-1e1c4b18063d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-01 09:36:17", "repo_name": "hanschristian2710/CritterMaps", "sub_path": "/src/Lion.java", "file_name": "Lion.java", "file_ext": "java", "file_size_in_byte": 994, "line_count": 48, "lang": "en", "doc_type": "co... | https://github.com/hanschristian2710/CritterMaps | 249 | FILENAME: Lion.java | 0.277473 | import java.awt.Color;
public class Lion extends Critter {
private int steps;
private int[] movesDir = { NORTH, SOUTH, EAST, WEST };
private int counter;
private int thenMove;
public Lion(int steps) {
super();
this.steps = steps;
counter = steps;
}
public int getSteps() {
return steps;
}
public in... |
d3e77f41-430d-45f6-84fe-5a4f53b6d60c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-13 07:44:26", "repo_name": "zhangyu84848245/butterfly", "sub_path": "/src/main/java/org/fantasy/bean/registry/RecoverableServiceRegistry.java", "file_name": "RecoverableServiceRegistry.java", "file_ext": "java... | https://github.com/zhangyu84848245/butterfly | 214 | FILENAME: RecoverableServiceRegistry.java | 0.275909 | package org.fantasy.bean.registry;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.fantasy.service.AbstractService;
/**
* 暂时没实现
* @author fantasy
*
*/
public abstract class RecoverableServiceRegi... |
b15e2bb7-f75c-4120-b3f2-cc06a31b4080 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-25 03:28:15", "repo_name": "yangtie34/projects", "sub_path": "/jinghua/DM/src/com/jhkj/mosdc/permission/po/TsJsCdzy.java", "file_name": "TsJsCdzy.java", "file_ext": "java", "file_size_in_byte": 1023, "line_cou... | https://github.com/yangtie34/projects | 320 | FILENAME: TsJsCdzy.java | 0.240775 | package com.jhkj.mosdc.permission.po;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* 角色 菜单资源表
*
* @author evan
*
*/
@Entity
@Table(name = "TS_JS_CDZY")
public class TsJsCdzy implements java.io.Serializable {
private static ... |
c96625ba-ea3b-4bd7-a99f-8b49de67e15d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-12 13:06:35", "repo_name": "linkaicheng/S2S4H4_book_shop", "sub_path": "/book_shop_v1.1/src/com/change/mall/adminuser/dao/AdminUserDao.java", "file_name": "AdminUserDao.java", "file_ext": "java", "file_size_in... | https://github.com/linkaicheng/S2S4H4_book_shop | 205 | FILENAME: AdminUserDao.java | 0.283781 | package com.change.mall.adminuser.dao;
import java.util.List;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import com.change.mall.adminuser.vo.AdminUser;
public class AdminUserDao {
private SessionFactory sessionFactory;
// Dao完成登录的代码
public Sessio... |
303e71b3-a4e1-4408-8578-9046bbdbc336 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-17 13:41:10", "repo_name": "akarchevskiy/datakernel", "sub_path": "/boot-triggers/src/main/java/io/datakernel/trigger/Trigger.java", "file_name": "Trigger.java", "file_ext": "java", "file_size_in_byte": 1041, ... | https://github.com/akarchevskiy/datakernel | 215 | FILENAME: Trigger.java | 0.253861 | package io.datakernel.trigger;
import java.util.function.Supplier;
public final class Trigger {
private final Severity severity;
private final String component;
private final String name;
private final Supplier<TriggerResult> triggerFunction;
Trigger(Severity severity, String component, String name,
Su... |
2a4436a7-9138-4bff-8b71-e83c9d3324cc | {"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/practicedemo/Disabledevmode.java", "file_name": "Disabledevmode.java", "file_ext": "java", "file_size_in_byte": 992, "line_count": 41... | https://github.com/hardenikhil/Selenium_Nikhil | 223 | FILENAME: Disabledevmode.java | 0.214691 | package practicedemo;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeTest;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import org.testng.annotations.AfterTest;
public clas... |
e09b43bc-51b3-4ba3-a32b-8c95dc6cf9f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-12-02 16:49:37", "repo_name": "KeyMove/RedisPipe", "sub_path": "/src/com/github/KeyMove/Tools/JSTools.java", "file_name": "JSTools.java", "file_ext": "java", "file_size_in_byte": 1024, "line_count": 34, "lang": "... | https://github.com/KeyMove/RedisPipe | 211 | FILENAME: JSTools.java | 0.278257 | /*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package com.github.KeyMove.Tools;
import javax.script.ScriptContext;
import javax.script.ScriptEngine;
import javax.sc... |
2e891da2-af1f-4a17-b0ea-5e0773ea92cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-11-29T17:28:25", "repo_name": "bsilvia/BSOS", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1032, "line_count": 15, "lang": "en", "doc_type": "text", "blob_id": "8... | https://github.com/bsilvia/BSOS | 271 | FILENAME: README.md | 0.23231 | BSOS
============
A Browser-based virtual Operating System for Operating Systems CMSC 422L111
View the latest submission of the project <a href="http://bsilvia.github.com/BSOS">here</a>.
<a href="http://labouseur.com/courses/os/iProject1.pdf">iProject1</a> - First set of enhancements to code base. Due 9/19.
<a hre... |
2b84180a-037c-458e-bfee-fca5b4b14de4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-23 15:19:07", "repo_name": "one1on/sgj-scraper", "sub_path": "/src/main/java/de/one1on/sgjscraper/model/Comment.java", "file_name": "Comment.java", "file_ext": "java", "file_size_in_byte": 1057, "line_count": ... | https://github.com/one1on/sgj-scraper | 230 | FILENAME: Comment.java | 0.225417 | package de.one1on.sgjscraper.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.ToString;
import org.joda.time.DateTime;
@Data
@ToString(of = {"id", "timestamp", "votes"})
public class Comment {
@SerializedName("id")
@Expose
... |
f4d2616b-fd38-4d24-91e2-405dbf97c2aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-27 04:54:04", "repo_name": "luxious1993/login_management_service_demo", "sub_path": "/src/main/java/com/luxious/lmsd/violation/login/CurrentEmployeeValidator.java", "file_name": "CurrentEmployeeValidator.java"... | https://github.com/luxious1993/login_management_service_demo | 194 | FILENAME: CurrentEmployeeValidator.java | 0.250913 | package com.luxious.lmsd.violation.login;
import com.luxious.lmsd.dao.EmployeeDao;
import com.luxious.lmsd.model.datastore.Employee;
import com.luxious.lmsd.model.service.LoginValidationResult;
import com.luxious.lmsd.model.service.LoginViolationType;
import org.springframework.beans.factory.annotation.Autowired;
impo... |
ec95cfbe-ab66-4ebf-bd08-177051d0da56 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-18 16:03:54", "repo_name": "corymintz/mongosocket", "sub_path": "/src/mongosocket/examples/SimpleClientExample.java", "file_name": "SimpleClientExample.java", "file_ext": "java", "file_size_in_byte": 1016, "li... | https://github.com/corymintz/mongosocket | 190 | FILENAME: SimpleClientExample.java | 0.235108 | package mongosocket.examples;
import com.mongodb.MongoNamespace;
import mongosocket.MongoSocket;
import mongosocket.MongoSocketClient;
import mongosocket.MongoSocketConnectFailedException;
import java.io.IOException;
import java.io.OutputStream;
public class SimpleClientExample {
public static void main(String[... |
1357df53-3cbd-42cb-9424-2ff94ddcc1e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-18 23:30:53", "repo_name": "howard123/Rest-Json-Acct", "sub_path": "/gs-rest-service/src/main/java/RestfulServ/Account.java", "file_name": "Account.java", "file_ext": "java", "file_size_in_byte": 1047, "line_c... | https://github.com/howard123/Rest-Json-Acct | 222 | FILENAME: Account.java | 0.289372 | package RestfulServ;
import hibernate.AccountFinding;
import java.util.ArrayList;
import java.util.List;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@RestCo... |
01b54f3a-4a4e-477e-90d1-2e65b9be9a81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-04 10:04:06", "repo_name": "sival19/Mystudies", "sub_path": "/CourseSystem2/src/com/company/Course.java", "file_name": "Course.java", "file_ext": "java", "file_size_in_byte": 1038, "line_count": 46, "lang": "e... | https://github.com/sival19/Mystudies | 213 | FILENAME: Course.java | 0.262842 | package com.company;
public class Course {
public String name;
public Student[] participants;
public int studentCount = 0;
public void enroll(Student std) {
participants[studentCount] = std;
studentCount++;
}
public void remove(Student std)
{
for (int i = 0; i < s... |
49e45d05-8f09-45fd-a779-44c4c41a5e41 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-08 00:09:07", "repo_name": "spencerSunLingWei/Java_start_up", "sub_path": "/FileCharCopyTest.java", "file_name": "FileCharCopyTest.java", "file_ext": "java", "file_size_in_byte": 1023, "line_count": 42, "lang"... | https://github.com/spencerSunLingWei/Java_start_up | 191 | FILENAME: FileCharCopyTest.java | 0.271252 | package com.stage1.part4.task2;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
public class FileCharCopyTest {
public static void main(String[] args) {
FileReader fr = null;
FileWriter fw = null;
try {
fr = new FileReader("/Users/spencersun/... |
f7d2a2d4-2525-4e8e-8c4d-b49b9cb00f80 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-16 20:52:21", "repo_name": "PolkovnikMedved/pdb-examen", "sub_path": "/src/main/java/be/solodoukhin/dao/SQLOrderDAO.java", "file_name": "SQLOrderDAO.java", "file_ext": "java", "file_size_in_byte": 967, "line_c... | https://github.com/PolkovnikMedved/pdb-examen | 228 | FILENAME: SQLOrderDAO.java | 0.258326 | package be.solodoukhin.dao;
import be.solodoukhin.model.Order;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.List;
/**
* @author SOLODOUKHIN VIKTOR
* <p>
* date 16/06/18
*/
public abstract class SQLOrderDAO implements IOrderDAO {
private static final Logger logger = LoggerFactory... |
703ecd49-09ce-4f92-8cf8-1aa516d2b04e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-23 19:12:49", "repo_name": "PaulinaBinas/tachoactivecms", "sub_path": "/src/main/java/com/binas/tachographcms/service/impl/AdminServiceImpl.java", "file_name": "AdminServiceImpl.java", "file_ext": "java", "fil... | https://github.com/PaulinaBinas/tachoactivecms | 231 | FILENAME: AdminServiceImpl.java | 0.262842 | package com.binas.tachographcms.service.impl;
import com.binas.tachographcms.model.entity.Admin;
import com.binas.tachographcms.repository.AdminRepository;
import com.binas.tachographcms.service.AdminService;
import javassist.NotFoundException;
import org.springframework.stereotype.Service;
import javax.security.auth... |
b9c5aa74-7e0d-4cea-89cc-a3115b1a4e8a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-05 13:05:02", "repo_name": "Haamseongho/checkApp", "sub_path": "/app/src/main/java/project/checkapp/haams/checkapp/front_end/LoginActivity.java", "file_name": "LoginActivity.java", "file_ext": "java", "file_si... | https://github.com/Haamseongho/checkApp | 178 | FILENAME: LoginActivity.java | 0.216012 | package project.checkapp.haams.checkapp.front_end;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import project.checkapp.haams.checkapp.R;
public class LoginActivity extends AppCompatActivity implement... |
e770bb5f-703b-4165-92d2-27115ddbbc5f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-28T14:13:25", "repo_name": "chuanjiangma/Notes", "sub_path": "/03.debug/00.windows-vs/Remote-Debug-with-VS-Remote-Debugger.md", "file_name": "Remote-Debug-with-VS-Remote-Debugger.md", "file_ext": "md", "fi... | https://github.com/chuanjiangma/Notes | 239 | FILENAME: Remote-Debug-with-VS-Remote-Debugger.md | 0.261331 | # Remote Debug with VS Remote Debugger
[toc]
## Preparations
Referring to [official document](https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging?view=vs-2019), download the remote debug tool and install it to the target remote machine. On the first time start remote debugger, it will ask for con... |
e0cd9885-1664-40ab-b643-142cf0f6c9e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-21 01:51:24", "repo_name": "YuDongZhang/SQLearn", "sub_path": "/app/src/main/java/com/example/sqlearn/DBHelper.java", "file_name": "DBHelper.java", "file_ext": "java", "file_size_in_byte": 1204, "line_count": ... | https://github.com/YuDongZhang/SQLearn | 261 | FILENAME: DBHelper.java | 0.290981 | package com.example.sqlearn;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by pateo on 18-9-19.
*/
public class DBHelper extends SQLiteOpenHelper {
// 数据库文件名
public static final String DB_NAME = "my_database.db... |
5ed5331d-cb9d-491c-a9e0-a32506a85689 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-20 00:11:49", "repo_name": "sridevi123-design/WebDriverMaven", "sub_path": "/src/test/java/webdriverMaven/LoginTest.java", "file_name": "LoginTest.java", "file_ext": "java", "file_size_in_byte": 1023, "line_co... | https://github.com/sridevi123-design/WebDriverMaven | 217 | FILENAME: LoginTest.java | 0.249447 | package webdriverMaven;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.AfterSuite;
import org.testng.annotations.BeforeSuite;
import org.testng.annotations.Test;
//import io.github.bonigarcia.wdm.ChromeDriverManager;
/... |
ae28e6fa-be68-4124-bff8-cf26a751801b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-08 19:05:49", "repo_name": "jasons157/cowboywiki", "sub_path": "/src/main/java/personal/jasonevans/cowboywiki/entity/Role.java", "file_name": "Role.java", "file_ext": "java", "file_size_in_byte": 1007, "line_c... | https://github.com/jasons157/cowboywiki | 234 | FILENAME: Role.java | 0.246533 | package personal.jasonevans.cowboywiki.entity;
import javax.persistence.*;
/**
* A POJO class that maps to the "role"
* table in the cowboy_project schema.
*
* Every NEW role type is set to autoincrement that id,
* so all numbers map to a role type.
*/
@Entity
@Table(name = "role")
public class Role {
@Id
... |
9832fb89-a6f6-45c2-9d21-12f6ab366772 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-02 09:35:02", "repo_name": "alexwu59/smart", "sub_path": "/src/main/java/com/ws/test/HelloServlet.java", "file_name": "HelloServlet.java", "file_ext": "java", "file_size_in_byte": 1045, "line_count": 38, "lang... | https://github.com/alexwu59/smart | 171 | FILENAME: HelloServlet.java | 0.236516 | package com.ws.test;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDat... |
cc944b28-a9da-41cf-b537-f880d2ce206e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-28 23:31:17", "repo_name": "Edd002/Desenvolvimento-Web-Back-end-workspace", "sub_path": "/Lab03Listener/src/AlertaListener.java", "file_name": "AlertaListener.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/Edd002/Desenvolvimento-Web-Back-end-workspace | 214 | FILENAME: AlertaListener.java | 0.247987 | import java.util.concurrent.atomic.AtomicInteger;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
public class AlertaListener implements HttpSessionL... |
384bf1ff-8c27-4645-93fa-35a81b9bcbb0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-29 09:53:15", "repo_name": "kkamdooong/acas", "sub_path": "/src/main/java/com/kkamdooong/acas/controller/AcasController.java", "file_name": "AcasController.java", "file_ext": "java", "file_size_in_byte": 998, ... | https://github.com/kkamdooong/acas | 203 | FILENAME: AcasController.java | 0.262842 | package com.kkamdooong.acas.controller;
import com.kkamdooong.acas.model.AutoCompleteItem;
import com.kkamdooong.acas.service.AcasService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import java.net.UR... |
e5996b19-9ba0-415b-8db5-34c9de067b9b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-02 10:56:13", "repo_name": "892031083/mplayer1", "sub_path": "/app/src/main/java/com/example/mplayer1/music/beaninfo/ScreenBroadcastReceiver.java", "file_name": "ScreenBroadcastReceiver.java", "file_ext": "jav... | https://github.com/892031083/mplayer1 | 260 | FILENAME: ScreenBroadcastReceiver.java | 0.23793 | package com.example.mplayer1.music.beaninfo;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.example.mplayer1.AppManager;
import com.example.mplayer1.music.LockScreenMusicAvtivity;
import com.example.mplayer1.music.MsplayActivity;
import com.example.m... |
7ec46082-92d9-490d-bc97-5bc7ec7d7a0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-03 03:42:58", "repo_name": "unisung/mvc", "sub_path": "/MVCTest01/src/controller/MyController.java", "file_name": "MyController.java", "file_ext": "java", "file_size_in_byte": 1041, "line_count": 38, "lang": "... | https://github.com/unisung/mvc | 180 | FILENAME: MyController.java | 0.282196 | package controller;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
imp... |
081c65d5-d1e8-4f32-a61b-710baeeade61 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-06-21 14:26:22", "repo_name": "zz3599/Triplanner308", "sub_path": "/src/java/com/triplanner/model/DB.java", "file_name": "DB.java", "file_ext": "java", "file_size_in_byte": 1009, "line_count": 33, "lang": "en", "... | https://github.com/zz3599/Triplanner308 | 238 | FILENAME: DB.java | 0.278257 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.triplanner.model;
/**
*
* @author brook
*/
import java.sql.*;
public class DB {
//private static String url = "jdbc:mysql://TriPlanner308.db.10332557.hostedresource.com:3306/TriPlanner308?zeroDateTim... |
4e723746-d333-42d6-b05d-d4fd0a743288 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-11 13:46:25", "repo_name": "xingling1122/CasualNotes", "sub_path": "/app/src/main/java/com/xl/projectno/utils/InputSoftUtils.java", "file_name": "InputSoftUtils.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/xingling1122/CasualNotes | 183 | FILENAME: InputSoftUtils.java | 0.240775 | package com.xl.projectno.utils;
import android.content.Context;
import android.view.inputmethod.InputMethodManager;
import android.widget.TextView;
/**
* Created by Administrator on 2017/3/23.
*/
public class InputSoftUtils {
public static void closeInputSoft(TextView textView) {
InputMethodM... |
94c2708c-4220-4023-8c45-48274cf0a409 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-07 17:11:43", "repo_name": "Atracks/Autocopmpleter", "sub_path": "/src/main/java/ru/bravery_and_stupidity/skbwordpadspring/system_tools/Toolkit.java", "file_name": "Toolkit.java", "file_ext": "java", "file_siz... | https://github.com/Atracks/Autocopmpleter | 214 | FILENAME: Toolkit.java | 0.286968 | package ru.bravery_and_stupidity.skbwordpadspring.system_tools;
import ru.sugarbaron_bicycles.library.exceptions.CriticalOperationFailed;
import ru.sugarbaron_bicycles.library.exceptions.NeedFixCode;
public final class Toolkit {
public static void requireNotNull(Object referenceToCheck) {
if(null == refe... |
dda04410-3b85-48d7-9dcd-7658b58cad57 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-08 14:38:25", "repo_name": "UncleSniper/uake", "sub_path": "/src/org/unclesniper/uake/syntax/ShortLiteral.java", "file_name": "ShortLiteral.java", "file_ext": "java", "file_size_in_byte": 1048, "line_count": 4... | https://github.com/UncleSniper/uake | 258 | FILENAME: ShortLiteral.java | 0.288569 | package org.unclesniper.uake.syntax;
import org.unclesniper.uake.Location;
import org.unclesniper.uake.CompilationContext;
import org.unclesniper.uake.LiteralExceedsRangeException;
public class ShortLiteral extends Expression {
private final String specifier;
private final short value;
public ShortLiteral(Locat... |
c958614d-7695-47c0-8c53-97d2727b4076 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-03 08:03:30", "repo_name": "daydreamer1988/CommonApplication", "sub_path": "/app/src/main/java/common/com/activity/BaseActivity.java", "file_name": "BaseActivity.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/daydreamer1988/CommonApplication | 246 | FILENAME: BaseActivity.java | 0.27513 | package common.com.activity;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import common.com.MyApplication;
import common.com.custom.PgDialog;
import common.com.globle.Appconstants;
/**
* Created by Aus... |
3bdce40e-3691-4a06-82cf-094ea0c10471 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-18 03:14:36", "repo_name": "xiaoaojianghu007/fastdex", "sub_path": "/sample/app/src/main/java/com/example/fertilizercrm/common/httpclient/expand/FilterInputStream.java", "file_name": "FilterInputStream.java", ... | https://github.com/xiaoaojianghu007/fastdex | 224 | FILENAME: FilterInputStream.java | 0.250913 | package com.example.fertilizercrm.common.httpclient.expand;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/**
* filter stream
* @author tong
*
*/
public class FilterInputStream extends InputStream {
protected volatile InputStream in; //将要被装饰的字节输入流
private OutputStream out;... |
210c089c-2286-4a26-b8ce-56f15f79895b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-09-22 07:37:05", "repo_name": "KingsleyYau/LiveClient", "sub_path": "/android/QNLiveShow_Anchor/liveshowApp/src/main/java/com/qpidnetwork/anchor/framework/services/KillNotificationsService.java", "file_name": "Ki... | https://github.com/KingsleyYau/LiveClient | 208 | FILENAME: KillNotificationsService.java | 0.236516 | package com.qpidnetwork.anchor.framework.services;
import android.app.NotificationManager;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
/**
* APP被杀清除通知栏服务
*/
public class KillNotificationsService extends Service {
... |
ef93aef2-a48d-46a2-8157-2f783acd928a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-25 03:56:58", "repo_name": "Justis-Lamanna/fallapalooza-v3", "sub_path": "/src/main/java/de/fallapalooza/streamapi/annotation/processor/OffsetCellDefinitionWrapper.java", "file_name": "OffsetCellDefinitionWrap... | https://github.com/Justis-Lamanna/fallapalooza-v3 | 209 | FILENAME: OffsetCellDefinitionWrapper.java | 0.284576 | package de.fallapalooza.streamapi.annotation.processor;
import com.google.api.services.sheets.v4.model.ValueRange;
import de.fallapalooza.streamapi.annotation.model.Point;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
@RequiredArg... |
9f7d35fb-c08e-4da6-a806-9d5b88288e29 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-15 17:44:17", "repo_name": "Zap123/SimpleReport", "sub_path": "/src/com/zap123/DataSources/SQliteDatabase.java", "file_name": "SQliteDatabase.java", "file_ext": "java", "file_size_in_byte": 1019, "line_count":... | https://github.com/Zap123/SimpleReport | 255 | FILENAME: SQliteDatabase.java | 0.278257 | package com.zap123.DataSources;
import com.dieselpoint.norm.Database;
import com.zaxxer.hikari.HikariConfig;
import com.zaxxer.hikari.HikariDataSource;
import javax.sql.DataSource;
import java.sql.SQLException;
/**
* Created by luca on 13/11/15.
* Extends Norm.Database to support SQLite
*/
public class SQliteData... |
3dba8019-c82f-4c9a-af99-f5be9a71d526 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-30 16:26:09", "repo_name": "JulesSauvinet/simplyeventmanager", "sub_path": "/src/main/java/fr/univlyon1/sem/utils/json/JsonArray.java", "file_name": "JsonArray.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/JulesSauvinet/simplyeventmanager | 226 | FILENAME: JsonArray.java | 0.276691 | package fr.univlyon1.sem.utils.json;
import java.util.ArrayList;
import java.util.List;
/**
* Created by jordan on 21/10/15.
*/
public class JsonArray extends JsonValue {
List<JsonValue> values;
JsonArray(Object values[]) {
this.values = new ArrayList<>(values.length);
for (Object value :... |
04c86430-1cd3-4661-8d13-4b67c7a7b1c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-30T02:53:10", "repo_name": "gconnect/rentme-app", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1053, "line_count": 25, "lang": "en", "doc_type": "text", "blob_... | https://github.com/gconnect/rentme-app | 271 | FILENAME: README.md | 0.194368 | # RentMe Cross-Platform Mobile Application
RentMe is a solution that will enable individuals/users to rent an item for a given fee as would be required by the item owner. Payment can either be paid through card transfers using Flutterwave or airtime using Reloadly depending on the accepted payment option of the owner ... |
bc41533f-a5b0-4a4a-b304-9c57c068ac41 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-26 19:14:40", "repo_name": "marcalperapoch/concurrency-test", "sub_path": "/concurrency-test-extension/src/main/java/com/perapoch/concurrencytest/Tester.java", "file_name": "Tester.java", "file_ext": "java", "... | https://github.com/marcalperapoch/concurrency-test | 197 | FILENAME: Tester.java | 0.285372 | package com.perapoch.concurrencytest;
import java.util.concurrent.CountDownLatch;
import java.util.function.IntConsumer;
public class Tester implements Runnable {
private final IntConsumer action;
private final CountDownLatch startLatch;
private final CountDownLatch stopLatch;
private final int times... |
47b070cd-a8f6-4d73-963f-c44d1de85a87 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-12 17:32:38", "repo_name": "codeaudit/traceprov", "sub_path": "/src/main/java/eu/trentorise/opendata/traceprov/TraceProvConfig.java", "file_name": "TraceProvConfig.java", "file_ext": "java", "file_size_in_byte... | https://github.com/codeaudit/traceprov | 229 | FILENAME: TraceProvConfig.java | 0.267408 | /*
* Copyright 2015 Trento Rise (trentorise.eu)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
fcb8495d-0253-44e8-a9b9-8791352f028a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-19 17:37:33", "repo_name": "R4K0/TheIronGiant", "sub_path": "/Java/src/milosz/Employee.java", "file_name": "Employee.java", "file_ext": "java", "file_size_in_byte": 1027, "line_count": 53, "lang": "en", "doc_t... | https://github.com/R4K0/TheIronGiant | 265 | FILENAME: Employee.java | 0.262842 | package milosz;
public class Employee {
private String PPS;
private String FirstName;
private String SecondName;
private boolean Manager = false;
public Employee(String pPS, String firstName, String secondName) {
super();
PPS = pPS;
FirstName = firstName;
SecondName = secondName;
}
public Employee(S... |
57bfe354-c048-4945-8f4d-7d4dac082812 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-19 01:59:58", "repo_name": "vinispasov/BeerTag", "sub_path": "/BeerTagAndroid/app/src/main/java/com/beertag/views/beerdetails/AddTagDialog.java", "file_name": "AddTagDialog.java", "file_ext": "java", "file_siz... | https://github.com/vinispasov/BeerTag | 191 | FILENAME: AddTagDialog.java | 0.23231 | package com.beertag.views.beerdetails;
import android.app.AlertDialog;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import com.beertag.R;
import butterknife.BindView;
import butter... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.