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 |
|---|---|---|---|---|---|---|
264fd46a-a615-4799-977a-8dca3fcf8a30 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-03 17:24:22", "repo_name": "PoopBear1/CMPUT301", "sub_path": "/labs/lab1/Lab1Demo/app/src/main/java/com/example/simpleparadox/lab1demo/Tweet.java", "file_name": "Tweet.java", "file_ext": "java", "file_size_in_... | https://github.com/PoopBear1/CMPUT301 | 192 | FILENAME: Tweet.java | 0.262842 | package com.example.simpleparadox.lab1demo;
import java.util.Date;
abstract public class Tweet implements Tweetable{
private Date date;
private String message;
Tweet(String message){
if(message.length()>140){
this.message = message.substring(0,140);
}
else{... |
8454261a-b16b-4893-b6dc-368dc652e03c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-07 16:33:36", "repo_name": "MagdaMaSlonia/DeepDiveDynamoDbTutorial", "sub_path": "/src/main/java/com/pluralsight/dynamodb/dao/CommentDao.java", "file_name": "CommentDao.java", "file_ext": "java", "file_size_in... | https://github.com/MagdaMaSlonia/DeepDiveDynamoDbTutorial | 237 | FILENAME: CommentDao.java | 0.26588 | package com.pluralsight.dynamodb.dao;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDB;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBScanExpression;
import com.pluralsight.dynamodb.domain.Comment;
import java.util.List;
pub... |
29cbf915-886b-43e5-a391-bc9cb961d427 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-28 17:32:02", "repo_name": "imranlatur24/KhayumDemo", "sub_path": "/KhayumDemo/app/src/main/java/com/example/khayumdemo/ProfileActivity.java", "file_name": "ProfileActivity.java", "file_ext": "java", "file_siz... | https://github.com/imranlatur24/KhayumDemo | 187 | FILENAME: ProfileActivity.java | 0.206894 | package com.example.khayumdemo;
import android.os.Bundle;
import android.view.MenuItem;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.Toolbar;
public class ProfileActivity extends BaseActivity
{
private Toolbar toolbar;
@Override
protected void onCreate(@Nullable Bundle savedInsta... |
c26c78d1-1c20-4738-9f91-646dda6b5f2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-11 12:00:47", "repo_name": "liaocp666/amireux", "sub_path": "/amireux-core/src/main/java/cn/liaocp/amireux/core/http/MultiReadHttpServletRequest.java", "file_name": "MultiReadHttpServletRequest.java", "file_ex... | https://github.com/liaocp666/amireux | 185 | FILENAME: MultiReadHttpServletRequest.java | 0.229535 | package cn.liaocp.amireux.core.http;
import org.springframework.util.StreamUtils;
import javax.servlet.ServletInputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;
import java.io.*;
/**
* @author Chunping.Liao
*/
public class MultiReadHttpServletRequest ext... |
74f1c683-f9c2-4650-85d6-d85e261970c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-12 13:38:43", "repo_name": "TonyLituo/Test", "sub_path": "/Visa/app/src/main/java/com/dhcc/visa/ui/MyOrderActivity.java", "file_name": "MyOrderActivity.java", "file_ext": "java", "file_size_in_byte": 1177, "li... | https://github.com/TonyLituo/Test | 273 | FILENAME: MyOrderActivity.java | 0.258326 | package com.dhcc.visa.ui;
import android.support.annotation.NonNull;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.dhcc.visa.R;
import com.dhcc.visa.persenter.CommonPresent;
import com.dhcc.visa.ui.base.BaseActivity;
import com.dhcc.visa.ui.base.IBaseView;
impo... |
295785e4-d71f-4823-aa3e-73db245b72f9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-29 21:24:50", "repo_name": "ericosta-dev/studyMaisPW", "sub_path": "/src/main/java/tads/eaj/projeto/service/AulaService.java", "file_name": "AulaService.java", "file_ext": "java", "file_size_in_byte": 1051, "l... | https://github.com/ericosta-dev/studyMaisPW | 216 | FILENAME: AulaService.java | 0.267408 | package tads.eaj.projeto.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tads.eaj.projeto.model.Aula;
import tads.eaj.projeto.repository.AulaRepository;
import java.util.List;
import java.util.Optional;
@Service
public class AulaService {
... |
cbe7159e-7676-4ceb-b719-3084aa1eeaa6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-08-29T22:38:32", "repo_name": "maanijou/ulauncher-ecosia-search", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1165, "line_count": 31, "lang": "en", "doc_type": "... | https://github.com/maanijou/ulauncher-ecosia-search | 301 | FILENAME: README.md | 0.243642 | # Ulauncher
Ulauncher is an Application launcher for Linux.
You can install it from [here](https://ulauncher.io/#Download).
This extension requires Ulauncher version 5.0+.
# Ecosia search Extention for Ulauncher
Ecosia is the search engine that plants trees!
For more information, visit [Ecosia webpage](https:/... |
6c3ce252-a8ad-4384-8381-03751db3819a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-29 02:00:49", "repo_name": "Rewiew/bookmanager", "sub_path": "/src/com/controller/hsgloginController.java", "file_name": "hsgloginController.java", "file_ext": "java", "file_size_in_byte": 1139, "line_count": ... | https://github.com/Rewiew/bookmanager | 251 | FILENAME: hsgloginController.java | 0.258326 | package com.controller;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import com.entity.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.server.UserServer;
@Co... |
b12ba0e1-d954-493c-aae0-e1ce9cfddd57 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-22 00:13:14", "repo_name": "ricardoaruiz/android-superafit", "sub_path": "/app/src/main/java/superafit/rar/com/br/superafit/uitls/DateUtil.java", "file_name": "DateUtil.java", "file_ext": "java", "file_size_in... | https://github.com/ricardoaruiz/android-superafit | 227 | FILENAME: DateUtil.java | 0.250913 | package superafit.rar.com.br.superafit.uitls;
import android.util.Log;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
/**
* Created by ralmendro on 06/06/17.
*/
public class DateUtil {
private static fi... |
4e875e27-0909-4779-9ac6-f03cad9cfe5f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-01 19:02:38", "repo_name": "brueda/Bolt-Squadron", "sub_path": "/app/src/main/java/com/Ben/framework/util/TaskList.java", "file_name": "TaskList.java", "file_ext": "java", "file_size_in_byte": 1012, "line_coun... | https://github.com/brueda/Bolt-Squadron | 257 | FILENAME: TaskList.java | 0.29584 | package com.Ben.framework.util;
import java.util.ArrayList;
/**
* Created by Klaue on 6/8/2015.
*/
public class TaskList {
private static ArrayList<Task> _list;
private static ArrayList<Task> _toAdd;
private static ArrayList<Task> _toDelete;
public TaskList() {
_list = new ArrayList<Task>(... |
8884c4a4-9a57-4c24-9c47-48bd2560b310 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-22 22:06:29", "repo_name": "carbaj03/FitGallery", "sub_path": "/app/src/main/java/com/acv/gallery/GalleryApplication.java", "file_name": "GalleryApplication.java", "file_ext": "java", "file_size_in_byte": 1168... | https://github.com/carbaj03/FitGallery | 201 | FILENAME: GalleryApplication.java | 0.256832 | package com.acv.gallery;
import android.app.Application;
import android.content.Context;
import rx.Scheduler;
import rx.schedulers.Schedulers;
public class GalleryApplication extends Application {
private AppComponent appComponent;
private Scheduler defaultSubscribeScheduler;
@Override
public void ... |
08c6c2d6-d857-49e7-8814-aa2644ca84a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-29 15:41:52", "repo_name": "Irilia/Javacode", "sub_path": "/MyStack/src/daydata/GeneTest.java", "file_name": "GeneTest.java", "file_ext": "java", "file_size_in_byte": 1168, "line_count": 47, "lang": "en", "doc... | https://github.com/Irilia/Javacode | 255 | FILENAME: GeneTest.java | 0.262842 | package daydata;
import java.util.Arrays;
import java.util.Scanner;
public class GeneTest {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String str = in.nextLine();
int n = in.nextInt();
float[] floats = new float[str.length()-n+1];
char[] c... |
ae93bb69-9afe-40eb-a84a-0438520e85b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-23 07:45:19", "repo_name": "quanhengwen/rock_github", "sub_path": "/app/android_things/app/src/main/java/com/example/android_things/Io_list.java", "file_name": "Io_list.java", "file_ext": "java", "file_size_in... | https://github.com/quanhengwen/rock_github | 199 | FILENAME: Io_list.java | 0.247987 | package com.example.android_things;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.Toast;
import com.google.android.things.pio.PeripheralManager;
import java.util.List;
public class Io_list extends Activi... |
2a4a086b-90a6-4e1e-a457-2a8e06c30e21 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-20 08:04:15", "repo_name": "datmv123/trainning", "sub_path": "/J3.L.P0013.The-Suhi-Restaurant/J3.L.P0013/src/java/dal/IntroductionDAO.java", "file_name": "IntroductionDAO.java", "file_ext": "java", "file_size_... | https://github.com/datmv123/trainning | 198 | FILENAME: IntroductionDAO.java | 0.252384 | /*
* 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 dal;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
i... |
d26615a3-4c5d-4437-8765-a726014f5bd0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-08-30T03:07:18", "repo_name": "crazywhalecc/CrazyWorld", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1728, "line_count": 42, "lang": "zh", "doc_type": "text", "b... | https://github.com/crazywhalecc/CrazyWorld | 496 | FILENAME: README.md | 0.275909 | # CrazyWorld
a multiple feature world plugin for PocketMine-MP
Oh....
=====CrazyWorld多世界帮助=====<br>
作者: 鲸鱼 版权所有<br>
插件持续更新中,请加W系列群237043779获取最新版。<br>
本插件仅授权极致插件包转载!<br>
有bug欢迎反馈作者QQ:627577391<br>
=================<br>
命令:<br>
如果安装完输入/cw是英文的话,请先改为中文!<br>
==<br>
1.控制台输入/cw language ch (这个是改变语言为中文)<br>
2.控制台输入/cw admin ... |
dc0edf76-9fb0-4d5d-a674-50b5198a2dac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-24 06:09:19", "repo_name": "lichunqiang/playground", "sub_path": "/app/src/main/java/lzuer/net/playground/ui/pringView/PringViewActivity.java", "file_name": "PringViewActivity.java", "file_ext": "java", "file_... | https://github.com/lichunqiang/playground | 243 | FILENAME: PringViewActivity.java | 0.272025 | package lzuer.net.playground.ui.pringView;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Button;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import lzuer.net.playground.R;
import lzuer.net.pl... |
e724fd77-a3c1-4a9c-9ef7-31e420fdb310 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-21 11:32:34", "repo_name": "skyaa13/extractor", "sub_path": "/src/main/java/com/company/extractor/entity/ControllerMethods.java", "file_name": "ControllerMethods.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/skyaa13/extractor | 228 | FILENAME: ControllerMethods.java | 0.247987 | package com.company.extractor.entity;
import java.lang.reflect.Method;
import java.util.List;
public class ControllerMethods {
private List<Method> getMethods;
private List<Method> postMethods;
private List<Method> putMethods;
private List<Method> patchMethods;
public List<Method> getGetMethods()... |
9110dfed-66f4-4b52-b4f1-b2aedc731c20 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-03-19 08:02:27", "repo_name": "tomdev2008/talkserver", "sub_path": "/src/net/ion/talk/account/Account.java", "file_name": "Account.java", "file_ext": "java", "file_size_in_byte": 1053, "line_count": 47, "lang": "... | https://github.com/tomdev2008/talkserver | 231 | FILENAME: Account.java | 0.272025 | package net.ion.talk.account;
import net.ion.talk.responsebuilder.TalkResponse;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
/**
* Created with IntelliJ IDEA.
* User: Ryun
* Date: 2014. 2. 20.
* Time: 오후 4:15
* To change this template use File | Settings | File Templates.
*/
publ... |
316da443-5de9-4d7f-b669-1d56983c1dc6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-07 02:28:52", "repo_name": "szdksconan/cms", "sub_path": "/system-dao/src/main/java/com/cms/dao/maoyi/enterprise/impl/EnterQualifDaoImpl.java", "file_name": "EnterQualifDaoImpl.java", "file_ext": "java", "file... | https://github.com/szdksconan/cms | 249 | FILENAME: EnterQualifDaoImpl.java | 0.264358 | package com.cms.dao.maoyi.enterprise.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.cms.dao.maoyi.enterprise.EnterQualifDao;
import com.cms.mapper.maoyi.EnterpriseQualificationMapper;
import com.cms.model.maoyi.... |
2e4ecedf-eb27-42af-a42a-638ff04a5a2e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-01 13:19:20", "repo_name": "Master0646/one-course", "sub_path": "/FINAL_ARCHIVE/one-course-server/src/onecourse/models/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1050, "line... | https://github.com/Master0646/one-course | 223 | FILENAME: User.java | 0.224055 | package onecourse.models;
public class User {
private int id;
private String email;
private String password;
private String role;
public User() {
}
public User(String email, String password, String role) {
this.email = email;
this.password = password;
this.role = ... |
63423d39-d89f-4b07-8e00-9510c5e55ed7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-15 18:50:53", "repo_name": "ClaireMeany/Android_Register_Login_Test", "sub_path": "/app/src/test/java/com/example/wildlifegps/testAddComment.java", "file_name": "testAddComment.java", "file_ext": "java", "file... | https://github.com/ClaireMeany/Android_Register_Login_Test | 222 | FILENAME: testAddComment.java | 0.29584 | package com.example.wildlifegps;
import android.os.Bundle;
import android.util.Log;
import android.widget.Button;
import androidx.appcompat.app.AppCompatActivity;
import com.google.android.material.textfield.TextInputEditText;
import junit.framework.TestCase;
import org.junit.After;
import org.junit.Assert;
import... |
97ee70b4-f68d-48e8-818e-0cf626fb250c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-07 16:11:31", "repo_name": "vivian8725118/SeeMore", "sub_path": "/app/src/main/java/com/vivian/seemoredemo/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1169, "... | https://github.com/vivian8725118/SeeMore | 209 | FILENAME: MainActivity.java | 0.249447 | package com.vivian.seemoredemo;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.os.Bundle;
import com.vivian.seemore.SeeMoreAdapter;
import java.util.ArrayList;
import java.util.List;
public c... |
daabf4eb-1ee4-4b5f-a47c-0e2cc56aff06 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2008-11-23 13:05:50", "repo_name": "codehaus/agilifier", "sub_path": "/src/test/com/stuffedgiraffe/agilifier/MicroTests.java", "file_name": "MicroTests.java", "file_ext": "java", "file_size_in_byte": 1097, "line_count... | https://github.com/codehaus/agilifier | 229 | FILENAME: MicroTests.java | 0.272025 | package com.stuffedgiraffe.agilifier;
import junit.framework.TestSuite;
import org.apache.tools.ant.DirectoryScanner;
import java.io.File;
public class MicroTests extends TestSuite {
public static TestSuite suite() throws Throwable {
TestSuite suite = new TestSuite();
File projectRoot = new File(... |
113f1f84-6102-4ab8-ae56-ffdda6aad605 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-02 09:50:43", "repo_name": "whywuzeng/leyou", "sub_path": "/ly-search/src/test/java/com/leyou/search/client/ElasticsearchTest.java", "file_name": "ElasticsearchTest.java", "file_ext": "java", "file_size_in_byt... | https://github.com/whywuzeng/leyou | 220 | FILENAME: ElasticsearchTest.java | 0.205615 | package com.leyou.search.client;
import com.leyou.search.pojo.Goods;
import com.leyou.search.repository.GoodsRepository;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.spring... |
3ac1c183-2a0a-44d6-abcd-1f2485dd55a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-20 08:47:29", "repo_name": "haltp/variable", "sub_path": "/Variable/src/variable6/Member.java", "file_name": "Member.java", "file_ext": "java", "file_size_in_byte": 1076, "line_count": 63, "lang": "en", "doc_t... | https://github.com/haltp/variable | 250 | FILENAME: Member.java | 0.26971 | package variable6;
public class Member {
private int num;
private String name;
private String phone;
private String className;
public Member() {
}
public Member(int num, String name) {
super();
this.num = num;
this.name = name;
}
public Member(int num, String name, String phone, ... |
da9736fb-eeb7-4d13-89a2-775ce4372b6c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-27 18:22:07", "repo_name": "fssantana/vertgo", "sub_path": "/src/main/java/io/github/fssantana/vertgo/response/LambdaResponseMessageCodec.java", "file_name": "LambdaResponseMessageCodec.java", "file_ext": "jav... | https://github.com/fssantana/vertgo | 255 | FILENAME: LambdaResponseMessageCodec.java | 0.273574 | package io.github.fssantana.vertgo.response;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.eventbus.MessageCodec;
import io.vertx.core.json.JsonObject;
public class LambdaResponseMessageCodec implements MessageCodec<LambdaResponse, LambdaResponse> {
@Override
public void encodeToWire(Buffer buffer, La... |
a1c23f5d-8854-492e-a655-70f4019f2b33 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-11 03:48:27", "repo_name": "FutureComeIn/vaction-web", "sub_path": "/vactionWeb/src/com/yxw/bean/GoodOrder.java", "file_name": "GoodOrder.java", "file_ext": "java", "file_size_in_byte": 1117, "line_count": 67,... | https://github.com/FutureComeIn/vaction-web | 341 | FILENAME: GoodOrder.java | 0.286169 | package com.yxw.bean;
/**
* 8.商品订单表(编号,买家编号,总价,购买日期)
* @author Administrator
*
*/
public class GoodOrder {
private int gono;
private int gouno;
private double goprice;
private String godate;
public GoodOrder() {
super();
}
public GoodOrder(int gono, int gouno, double goprice, String go... |
18088e7a-a429-49a1-ba31-7bff676a63fe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-08-21T03:20:57", "repo_name": "zongeva/hotnspicy", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1033, "line_count": 60, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/zongeva/hotnspicy | 327 | FILENAME: README.md | 0.290981 | # hotnspicy
TCP/IP Assignment with Dr Anang
<h1> Group Member </h1>
1112702444 Ahmad Saifuddin
1112700661 Kok Pin Zong
<h2> Task That Have Been Carried Out </h2>
1. Create Github Account and Install Git
2. launch Git Bash
3. Moving to Folders
4. Create Folder and File
5. Git Respitory
6. Status Update
7. Staging
8. ... |
f2dea311-58d1-464a-b4df-c004a297ea27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-20 03:26:46", "repo_name": "15274453161/springboot_fileUpload", "sub_path": "/src/main/java/com/qgh/spring_mvc/common/util/TextUtils.java", "file_name": "TextUtils.java", "file_ext": "java", "file_size_in_byte... | https://github.com/15274453161/springboot_fileUpload | 254 | FILENAME: TextUtils.java | 0.256832 | package com.qgh.spring_mvc.common.util;
import org.apache.commons.lang.StringUtils;
import java.math.BigDecimal;
/**
* created by zhuwenquan on 2019/11/1
* 文本工具
*/
public class TextUtils {
/**
* 手机号码处理
* @param phone 原始string
* @param stringBuffer 返回信息
* @return true:返回处理结果;false:返回错误原因
... |
f579cec2-12ed-454f-80dc-34ef4d8b8d05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-20 16:46:38", "repo_name": "thjen/CustomListViewImage", "sub_path": "/app/src/main/java/com/example/qthjen/customlistviewimage/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_si... | https://github.com/thjen/CustomListViewImage | 256 | FILENAME: MainActivity.java | 0.268941 | package com.example.qthjen.customlistviewimage;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ListView;
import java.util.ArrayList;
public class MainActivity extends AppCompatActivity {
public ListView lv;
public ArrayList<MonAn> mangMonAn;
@Override
... |
232ceeda-69db-4ddd-96cc-2478aad25f08 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-08 07:47:10", "repo_name": "fewoy/groovy-dynamic-code", "sub_path": "/groovy-dynamic/src/main/java/com/alipay/mcenter/core/engine/aengine/enums/EntityTypeEnum.java", "file_name": "EntityTypeEnum.java", "file_e... | https://github.com/fewoy/groovy-dynamic-code | 306 | FILENAME: EntityTypeEnum.java | 0.272799 | /**
* Alipay.com Inc.
* Copyright (c) 2004-2017 All Rights Reserved.
*/
package com.alipay.mcenter.core.engine.aengine.enums;
import java.io.Serializable;
/**
* 实体类别枚举
* @author chingsung.zihong
* @version $Id: 2017-05-11 $
*/
public enum EntityTypeEnum implements Serializable {
/** sofa的bean对象 */
SOF... |
ff44ea18-d7b2-4c74-bc0c-3ec2eec5e3fe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-27 17:29:37", "repo_name": "DerYeger/Project_RBSG", "sub_path": "/src/main/java/de/uniks/se19/team_g/project_rbsg/ingame/state/GameEventConfig.java", "file_name": "GameEventConfig.java", "file_ext": "java", "f... | https://github.com/DerYeger/Project_RBSG | 184 | FILENAME: GameEventConfig.java | 0.252384 | package de.uniks.se19.team_g.project_rbsg.ingame.state;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;
import java.util.Map;
@Configuration
pub... |
4b592f5a-8333-40b2-b449-25c78e26f76e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-27 12:24:13", "repo_name": "wangxuangege/some-code", "sub_path": "/introspector/src/main/java/com/wx/somecode/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1052, "line_count": ... | https://github.com/wangxuangege/some-code | 225 | FILENAME: User.java | 0.256832 | package com.wx.somecode;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
/**
* @author xinquan.huangxq
*/
public class User {
private final PropertyChangeSupport pcs = new PropertyChangeSupport(this);
private String name;
private String a = "2";
public void addP... |
929b4f3b-19c9-4e20-a5c0-65b525712982 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-13 10:24:30", "repo_name": "yyyyqq/recse", "sub_path": "/security/src/main/java/com/recse4cloud/security/DefaultHttpSecurityConfigure.java", "file_name": "DefaultHttpSecurityConfigure.java", "file_ext": "java"... | https://github.com/yyyyqq/recse | 197 | FILENAME: DefaultHttpSecurityConfigure.java | 0.20947 | package com.recse4cloud.security;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.web.access.AccessDeniedHandler;
public class DefaultHttpSecurityConfigure implements IHttpSecurityConfig... |
f5e28782-8220-423d-99a1-85221d6c2359 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-21 02:38:06", "repo_name": "jiayonghua1988/Circle", "sub_path": "/app/src/main/java/yhjia/com/circle/adapter/ListPopupWindowAdapter.java", "file_name": "ListPopupWindowAdapter.java", "file_ext": "java", "file_... | https://github.com/jiayonghua1988/Circle | 246 | FILENAME: ListPopupWindowAdapter.java | 0.290981 | package yhjia.com.circle.adapter;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.yhjia.me.adapter.FBaseAdapter;
import java.util.List;
import yhjia.com.circle.activity.R;
/**
* Created e on 16/7/21.
* @author jiayonghua
*/
publ... |
c7045e7a-98ba-46cb-ac25-bd0d9d892fa9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-25 19:09:20", "repo_name": "TheRadikalStyle/Metrans--nw", "sub_path": "/src/com/metrans/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1075, "line_count": 44, "l... | https://github.com/TheRadikalStyle/Metrans--nw | 221 | FILENAME: MainActivity.java | 0.233706 | package com.metrans;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setConte... |
73c79c2d-e5d1-41ff-9058-c0097e01da3a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2010-12-13 21:20:38", "repo_name": "ryanswanstrom/Software-Logger", "sub_path": "/app/models/Project.java", "file_name": "Project.java", "file_ext": "java", "file_size_in_byte": 998, "line_count": 45, "lang": "en", "d... | https://github.com/ryanswanstrom/Software-Logger | 204 | FILENAME: Project.java | 0.247987 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package models;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import play.data.validation.Required;
/**
*... |
b145c6d9-0007-419d-bdad-cbfac21002a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-21T11:09:07", "repo_name": "Saifahmedprogrminlocallang/Programinlocallang", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1037, "line_count": 32, "lang": "en", ... | https://github.com/Saifahmedprogrminlocallang/Programinlocallang | 249 | FILENAME: README.md | 0.256832 | pickala pickala ping ping - pickala pickala ping ping -
pickala pickala ping -
have to ping it - pong it - ping pong it -
art to programming - made it with all my heart and effort. ..-..
may contain some mistakes, i have written the code and am uploading the source code images.
# Programinlocallang
A Java project ... |
005b61fd-e50e-4f47-911f-ae8244585365 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-06-24T20:12:05", "repo_name": "lbartroli/webpack-es6-static", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1036, "line_count": 32, "lang": "en", "doc_type": "text... | https://github.com/lbartroli/webpack-es6-static | 252 | FILENAME: README.md | 0.2227 | # Webpack - ES6 - Express - Mongoose - Bootstrap
## Boilerplate for static pages
I've been looking for a boilerplate like this one for so long, but none fit my needs, so I decided to build my own boilerplate.
Maybe it will be useful for you too.
Feel free to send any recommendation or doubt to my [email](mailto:lgb... |
a4d93ee2-65a0-4fd4-bfc9-f6986ca903c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-23 11:00:18", "repo_name": "VolmitSoftware/Mortar", "sub_path": "/src/main/java/mortar/api/tome/TomeMeta.java", "file_name": "TomeMeta.java", "file_ext": "java", "file_size_in_byte": 1028, "line_count": 68, "l... | https://github.com/VolmitSoftware/Mortar | 243 | FILENAME: TomeMeta.java | 0.253861 | package mortar.api.tome;
import org.dom4j.Attribute;
import org.dom4j.Element;
import org.dom4j.Node;
public class TomeMeta extends TomeComponent
{
private String property;
private String value;
public TomeMeta()
{
this("", "");
}
public TomeMeta(String property, String value)
{
this.property = property;... |
b0ed456e-6b13-4927-8708-8a56a696fbef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-12 10:24:44", "repo_name": "homna/GuessTheCelebrity", "sub_path": "/app/src/main/java/com/example/guessthecelebrity/DownloadImageFromUrl.java", "file_name": "DownloadImageFromUrl.java", "file_ext": "java", "fi... | https://github.com/homna/GuessTheCelebrity | 190 | FILENAME: DownloadImageFromUrl.java | 0.272799 | package com.example.guessthecelebrity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.AsyncTask;
import android.util.Log;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
public class DownloadImageFromUrl extends AsyncTask<String, Void, Bit... |
40e33d6c-3a4b-4685-a1a2-5e7559ab6ce0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-25 14:00:22", "repo_name": "aliabusaleh/MicroservicesDemo", "sub_path": "/api-gateway-service/src/main/java/com/example/demo/GatewayFilter.java", "file_name": "GatewayFilter.java", "file_ext": "java", "file_si... | https://github.com/aliabusaleh/MicroservicesDemo | 207 | FILENAME: GatewayFilter.java | 0.226784 | package com.example.demo;
import com.netflix.zuul.ZuulFilter;
import com.netflix.zuul.context.RequestContext;
import com.netflix.zuul.exception.ZuulException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.http.HttpServletRequest;
public class GatewayFilter extends ZuulFilter {
pr... |
47e5b9ef-6128-42ad-9757-94509c383eb6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-03 08:11:32", "repo_name": "martinwen/AndroidModuleDemo", "sub_path": "/module_main/src/main/java/com/wss/module/main/ui/page/CustomViewActivity.java", "file_name": "CustomViewActivity.java", "file_ext": "java... | https://github.com/martinwen/AndroidModuleDemo | 282 | FILENAME: CustomViewActivity.java | 0.250913 | package com.wss.module.main.ui.page;
import android.widget.TextView;
import com.wss.common.base.BaseActionBarActivity;
import com.wss.common.base.mvp.BasePresenter;
import com.wss.module.main.R;
import com.wss.module.main.R2;
import com.wss.module.main.ui.view.VerificationCodeView;
import butterknife.BindView;
/**
... |
83c6ccb0-2cf4-4a16-8a49-94735787cfe9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-25 15:10:25", "repo_name": "ag-piyush/to-do-backend", "sub_path": "/src/main/java/com/example/todobackend/controllers/TodoController.java", "file_name": "TodoController.java", "file_ext": "java", "file_size_in... | https://github.com/ag-piyush/to-do-backend | 228 | FILENAME: TodoController.java | 0.247987 | package com.example.todobackend.controllers;
import com.example.todobackend.model.Todo;
import com.example.todobackend.repository.TodoRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@CrossOrigin(origins = "https://to-... |
5c0e1de1-88e6-4093-ad67-dd9dc4f2eaa9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-03 14:23:03", "repo_name": "olafo7/typhoon", "sub_path": "/portal/src/main/java/org/chencc/service/impl/AssetsBaseSetServiceImpl.java", "file_name": "AssetsBaseSetServiceImpl.java", "file_ext": "java", "file_s... | https://github.com/olafo7/typhoon | 260 | FILENAME: AssetsBaseSetServiceImpl.java | 0.261331 | package org.chencc.service.impl;
import org.chencc.mapper.AssetsBaseSetMapper;
import org.chencc.model.AssetsBaseDropdown;
import org.chencc.service.AssetsBaseSetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction... |
df000725-40f1-4a45-80e3-988a05d276a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-31 04:09:55", "repo_name": "WarsFeng/SpringBoog_Sell", "sub_path": "/src/main/java/shop/warscat/sell/model/ProductInfo.java", "file_name": "ProductInfo.java", "file_ext": "java", "file_size_in_byte": 1160, "li... | https://github.com/WarsFeng/SpringBoog_Sell | 250 | FILENAME: ProductInfo.java | 0.247987 | package shop.warscat.sell.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import shop.warscat.sell.enums.ProductStatusEnmu;
import shop.warscat.sell.utils.EnumUtils;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;
import ... |
f11e624e-c259-4e2a-a533-d1e35c9b1a9f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-27 12:28:22", "repo_name": "neramirez/ikigai", "sub_path": "/security/src/main/java/ikigai/service/IkigaiUserDetailsService.java", "file_name": "IkigaiUserDetailsService.java", "file_ext": "java", "file_size_i... | https://github.com/neramirez/ikigai | 192 | FILENAME: IkigaiUserDetailsService.java | 0.250913 | package ikigai.service;
import ikigai.IkigaiUserDetails;
import ikigai.entity.Admin;
import ikigai.repository.AdminRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.U... |
f45f53e2-9a21-4ee3-9ec1-08444b2e3c81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-28 12:04:25", "repo_name": "jieyu2333/springboot-mybatisplus-jwt-redis", "sub_path": "/src/main/java/com/study/config/jwt/JwtInterceptor.java", "file_name": "JwtInterceptor.java", "file_ext": "java", "file_siz... | https://github.com/jieyu2333/springboot-mybatisplus-jwt-redis | 209 | FILENAME: JwtInterceptor.java | 0.208179 | package com.study.config.jwt;
import com.study.exception.MyException;
import com.study.sys.mapper.UserMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.method.HandlerMethod;
import org... |
6a80a47b-27b4-4446-9b90-965d7ac98bf0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-14 10:14:20", "repo_name": "LuisEngelniederhammer/styx", "sub_path": "/Core/src/main/java/net/petafuel/styx/core/xs2a/oauth/serializers/EndpointsSerializer.java", "file_name": "EndpointsSerializer.java", "file... | https://github.com/LuisEngelniederhammer/styx | 207 | FILENAME: EndpointsSerializer.java | 0.250913 | package net.petafuel.styx.core.xs2a.oauth.serializers;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonObject;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import java.lang.reflect.Type;
import java.util.HashMap;
... |
a27b40f9-6f0f-4747-b11d-0bcf7853ff65 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-04 11:53:31", "repo_name": "verginiaa/Leetcode", "sub_path": "/Leetcode9/src/PalindromeLinkedList.java", "file_name": "PalindromeLinkedList.java", "file_ext": "java", "file_size_in_byte": 983, "line_count": 37... | https://github.com/verginiaa/Leetcode | 189 | FILENAME: PalindromeLinkedList.java | 0.280616 | import java.util.Stack;
public class PalindromeLinkedList {
public class ListNode {
int val;
ListNode next;
ListNode() {}
ListNode(int val) { this.val = val; }
ListNode(int val, ListNode next) { this.val = val; this.next = next; }
}
public boolean isPalindrome(ListNode head)... |
c547d990-3088-4f3e-a941-496ce955ed74 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-25 01:47:18", "repo_name": "scamposb/Hibernate-One-To-One", "sub_path": "/src/main/java/db/entities/Publication.java", "file_name": "Publication.java", "file_ext": "java", "file_size_in_byte": 1169, "line_coun... | https://github.com/scamposb/Hibernate-One-To-One | 255 | FILENAME: Publication.java | 0.250913 | package db.entities;
import javax.persistence.*;
import java.io.Serializable;
/**
* Created by david on 25/03/2015.
*/
@Entity
@Table(name = "Publication")
public class Publication implements Serializable{
@Id
@GeneratedValue
@Column(name = "Id")
private int id;
@Column(name = "Date")... |
302b0a86-da78-4716-98e5-22de24032d3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-03 14:17:33", "repo_name": "y4sik/project3", "sub_path": "/src/main/java/com/epam/threads/entity/Port.java", "file_name": "Port.java", "file_ext": "java", "file_size_in_byte": 1115, "line_count": 50, "lang": "... | https://github.com/y4sik/project3 | 238 | FILENAME: Port.java | 0.255344 | package com.epam.threads.entity;
import java.util.ArrayList;
import java.util.List;
public class Port {
private int maxCapacity;
private int currentCargo;
private ArrayList<Dock> docks;
public Port(int maxCapacity, int currentCargo, ArrayList<Dock> docks) {
this.maxCapacity = maxCapacity;
... |
2d38e2db-43e0-40f1-9326-cc89a8539a81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-20 02:36:38", "repo_name": "JDrost1818/CLParserSpringBoot", "sub_path": "/src/main/java/github/jdrost1818/controller/StaticController.java", "file_name": "StaticController.java", "file_ext": "java", "file_size... | https://github.com/JDrost1818/CLParserSpringBoot | 216 | FILENAME: StaticController.java | 0.214691 | package github.jdrost1818.controller;
import github.jdrost1818.model.authentication.SessionUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation... |
f425c2c0-1717-40b6-a0f8-653a182f9c12 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-22 02:59:04", "repo_name": "tttttttt222/udp-frame-service", "sub_path": "/udp-frame-demo/src/main/java/com/udp/frame/demo/utils/MsgPackageUtils.java", "file_name": "MsgPackageUtils.java", "file_ext": "java", "... | https://github.com/tttttttt222/udp-frame-service | 276 | FILENAME: MsgPackageUtils.java | 0.293404 | package com.udp.frame.demo.utils;
import com.udp.frame.demo.dto.MsgPackage;
import java.net.InetSocketAddress;
import java.util.List;
/**
* 项目名称:udp-frame-demo
* 描述:
* 创建人:ryw
* 创建时间:2018/5/18
*/
public class MsgPackageUtils {
public static <T> MsgPackage<T> createMsgPackage(String sender, List<String> rec... |
57311259-3caa-4e1e-960c-1bff329e5d6a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-18 17:04:30", "repo_name": "flaviogf/courses", "sub_path": "/alura/course_android_room_001/app/src/main/java/br/com/flaviogf/schedule/repositories/MemoryStudentRepository.java", "file_name": "MemoryStudentRepo... | https://github.com/flaviogf/courses | 224 | FILENAME: MemoryStudentRepository.java | 0.26971 | package br.com.flaviogf.schedule.repositories;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import br.com.flaviogf.schedule.infrastructure.Result;
import br.com.flaviogf.schedule.models.Student;
public class MemoryStudentRepository implements StudentRepos... |
53c565f2-9028-4c63-baba-704765fc7d6f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-04 08:35:43", "repo_name": "lqc1990/designMode", "sub_path": "/src/main/java/com/designmode/observer/java/CurrentConditionsDisplay.java", "file_name": "CurrentConditionsDisplay.java", "file_ext": "java", "file... | https://github.com/lqc1990/designMode | 179 | FILENAME: CurrentConditionsDisplay.java | 0.280616 | package com.designmode.observer.java;
import java.util.Observable;
import java.util.Observer;
/**
* @author lqc
*/
public class CurrentConditionsDisplay implements Observer, DisplayElement {
Observable observable;
public CurrentConditionsDisplay(Observable observable) {
this.observable = observabl... |
292ce0cd-890f-4919-b1ea-5771a5ca32cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-11 02:52:04", "repo_name": "chhapp0/cmfz", "sub_path": "/NettyDemo/src/main/java/com/baizhi/netty/NettyServerBootStrp.java", "file_name": "NettyServerBootStrp.java", "file_ext": "java", "file_size_in_byte": 12... | https://github.com/chhapp0/cmfz | 298 | FILENAME: NettyServerBootStrp.java | 0.252384 | package com.baizhi.netty;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioServerSocketChannel;
/**
* Created by ljf on 2017/6/28.
*/
public class NettyServerBootStrp {
public static void main(S... |
01084ec4-de09-457f-a820-1e8445c3fcb2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-27 14:57:47", "repo_name": "LPnave/WMAD2", "sub_path": "/app/src/main/java/pamudithanavaratna/com/styleomega/Database/PaymentDetails.java", "file_name": "PaymentDetails.java", "file_ext": "java", "file_size_in... | https://github.com/LPnave/WMAD2 | 275 | FILENAME: PaymentDetails.java | 0.247987 | package pamudithanavaratna.com.styleomega.Database;
import com.orm.SugarRecord;
import java.util.Date;
public class PaymentDetails extends SugarRecord<PaymentDetails> {
private String cardnumber;
private int vsc;
private Date ExpiriyDate;
private User user;
public PaymentDetails() {
}
... |
e6fd3ba9-3ecf-4bce-948e-afa40164f8ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-05 01:40:03", "repo_name": "IIpocTo/spring_boot_vaadin_website", "sub_path": "/src/main/java/favourites/ui/UIExceptionConfigurer.java", "file_name": "UIExceptionConfigurer.java", "file_ext": "java", "file_size... | https://github.com/IIpocTo/spring_boot_vaadin_website | 211 | FILENAME: UIExceptionConfigurer.java | 0.290981 | package favourites.ui;
import com.vaadin.server.DefaultErrorHandler;
import com.vaadin.server.ErrorEvent;
import com.vaadin.shared.ui.ContentMode;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI;
import com.vaadin.ui.VerticalLayout;
import javax.validation.constraints.NotNull;
public interface UIExceptionConfigu... |
49906059-933d-480f-b07f-ef91fe82a83e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-28 02:24:10", "repo_name": "tpbvieira/mobisaude", "sub_path": "/mobisaude-android/app/src/main/java/co/salutary/mobisaude/util/Validator.java", "file_name": "Validator.java", "file_ext": "java", "file_size_in_... | https://github.com/tpbvieira/mobisaude | 213 | FILENAME: Validator.java | 0.242206 | package co.salutary.mobisaude.util;
import android.util.Log;
import java.util.StringTokenizer;
public class Validator {
private static final String TAG = Validator.class.getSimpleName();
public static boolean isValidEmail(String email) {
boolean result = false;
try{
if(email.co... |
3c2ccd5c-6031-412c-86a9-7a8ca4deff69 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-22 07:45:52", "repo_name": "CycloneBoy/springcloud-learn", "sub_path": "/goods-kill/src/main/java/com/cycloneboy/springcloud/goodskill/queue/disruptor/SeckillEventMain.java", "file_name": "SeckillEventMain.jav... | https://github.com/CycloneBoy/springcloud-learn | 294 | FILENAME: SeckillEventMain.java | 0.273574 | package com.cycloneboy.springcloud.goodskill.queue.disruptor;
import com.lmax.disruptor.RingBuffer;
import com.lmax.disruptor.dsl.Disruptor;
import java.util.concurrent.ThreadFactory;
/**
* 测试类 Create by sl on 2019-12-12 14:36
*/
public class SeckillEventMain {
public static void main(String[] args) {
produ... |
6dcfd394-7eda-4a6e-a695-228e6bcb2c0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-01 07:37:00", "repo_name": "dengyouquan/Algorithm", "sub_path": "/src/nowcoder/swordoffer/p4/Q60.java", "file_name": "Q60.java", "file_ext": "java", "file_size_in_byte": 1097, "line_count": 38, "lang": "en", "... | https://github.com/dengyouquan/Algorithm | 219 | FILENAME: Q60.java | 0.294215 | package nowcoder.swordoffer.p4;
import java.util.*;
/**
* @author dengyouquan
* @createTime 2019-02-08
**/
public class Q60 {
ArrayList<ArrayList<Integer>> Print(TreeNode pRoot) {
ArrayList<ArrayList<Integer>> lists = new ArrayList<>();
if (pRoot == null) return lists;
LinkedList<TreeNo... |
26a9e10f-947d-4cbf-9edb-57af29a7a32a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-12 21:47:10", "repo_name": "ketchyn/Algorithms-and-data-structures", "sub_path": "/src/ThreadEx/ClientSocket.java", "file_name": "ClientSocket.java", "file_ext": "java", "file_size_in_byte": 1087, "line_count"... | https://github.com/ketchyn/Algorithms-and-data-structures | 216 | FILENAME: ClientSocket.java | 0.256832 | package ThreadEx;
import java.io.*;
import java.net.Socket;
/**
* Created by Alexandr on 11.03.2016.
*/
public class ClientSocket extends Thread {
@Override
public void run() {
Socket s = null;
try {
s = new Socket("localhost", 8080);
} catch (IOException e) {
... |
31cf9236-e730-41d2-822e-d30a740016b9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-22 11:43:48", "repo_name": "zj573564983/WebTest", "sub_path": "/jdbc/src/com/zhangjie/jdbc/JDBCDemo3.java", "file_name": "JDBCDemo3.java", "file_ext": "java", "file_size_in_byte": 1282, "line_count": 44, "lang... | https://github.com/zj573564983/WebTest | 296 | FILENAME: JDBCDemo3.java | 0.289372 | package com.zhangjie.jdbc;
import java.sql.*;
/***
* @author zhangjie
* @date 2019/4/15 19:44
*/
public class JDBCDemo3 {
public static void main(String[] args) throws Exception {
/*
1.导入驱动jar包
2.注册驱动
3.获取数据库连接信息
4.定义sql语句
注意:sql的参数使用?作为占位... |
5aa62c82-1a9d-41ee-a197-7e44ede4b231 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-10-21 01:21:14", "repo_name": "elliotchance/Sentinel", "sub_path": "/test/org/sentinel/servers/http/configuration/StaticTest.java", "file_name": "StaticTest.java", "file_ext": "java", "file_size_in_byte": 1007, "... | https://github.com/elliotchance/Sentinel | 203 | FILENAME: StaticTest.java | 0.27513 | package org.sentinel.servers.http.configuration;
import static org.junit.Assert.*;
import org.junit.Test;
import org.sentinel.configuration.ConfigurationException;
public class StaticTest
{
@Test
public void testPath()
{
String string = "abc";
Static instance = new Static();
insta... |
79b9bfa0-7ee5-4343-9038-92c7c4cb33bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-30 09:11:58", "repo_name": "Trung-RMIT-3695656/A1-SADI-Code", "sub_path": "/src/Information/Course.java", "file_name": "Course.java", "file_ext": "java", "file_size_in_byte": 1030, "line_count": 47, "lang": "e... | https://github.com/Trung-RMIT-3695656/A1-SADI-Code | 208 | FILENAME: Course.java | 0.26971 | package Information;
public class Course {
private String courseId;
private String name;
private int numberOfCredit;
private static Course course;
public Course(String courseId, String name, int numberOfCredit) {
this.courseId = courseId;
this.name = name;
this.numberOfCre... |
5b46482e-029c-4c80-a92a-1d3282951786 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-22 10:03:29", "repo_name": "sachinthazoysa/MadPracticeExam", "sub_path": "/app/src/main/java/com/example/madmodelpaper2020/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_i... | https://github.com/sachinthazoysa/MadPracticeExam | 175 | FILENAME: MainActivity.java | 0.206894 | package com.example.madmodelpaper2020;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class MainActivity extends AppCompatActivity {
Button register, update;
@Override
protected void ... |
326ed2a8-4f50-435a-89e2-3a8111086940 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-01-24T12:56:05", "repo_name": "bookendus/insolar", "sub_path": "/cmd/benchmark/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1170, "line_count": 44, "lang": "en", "doc_type": "t... | https://github.com/bookendus/insolar | 262 | FILENAME: README.md | 0.253861 | Benchmark
===============
Usage
----------
#### Build
make benchmark
#### Start insolard
./scripts/insolard/launchnet.sh -g
#### Start benchmark
./bin/benchmark -c=4 -r=25 -k=scripts/insolard/configs/root_member_keys.json
### Options
-c concurrency
Number of concurrent ... |
81cf65e6-b60d-44ec-85dc-dd11b33eceef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-21 07:09:49", "repo_name": "leozlliang/brpc-customize", "sub_path": "/brpc-spring-boot-starter-interceptor/src/main/java/com/yy/lite/brpc/spring/configure/BrpcMetricsInterceptorConfiguration.java", "file_name"... | https://github.com/leozlliang/brpc-customize | 240 | FILENAME: BrpcMetricsInterceptorConfiguration.java | 0.255344 | package com.yy.lite.brpc.spring.configure;
import com.yy.lite.brpc.interceptor.BrpcConsumerAomiInterceptor;
import com.yy.lite.brpc.interceptor.BrpcMetricsInterceptor;
import com.yy.lite.brpc.interceptor.BrpcProviderAomiInterceptor;
import com.yy.lite.framework.aop.MetricsAop;
import org.springframework.context.annota... |
f3de9de1-0906-4c0b-84af-f52da470219c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-19 18:03:48", "repo_name": "2GatherAPITeam/middleware-java", "sub_path": "/src/main/java/ac/il/shenkar/middleware/models/Device.java", "file_name": "Device.java", "file_ext": "java", "file_size_in_byte": 1106,... | https://github.com/2GatherAPITeam/middleware-java | 267 | FILENAME: Device.java | 0.272799 | package ac.il.shenkar.middleware.models;
public class Device {
private String vendorId;
private String productId;
public Device() {}
public String getVendorId() {
return vendorId;
}
public void setVendorId(String vendorId) {
this.vendorId = vendorId;
}
public String getProductId() {
return productId... |
a5297be7-40c0-4069-b9de-43f9fdeb687a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-15 03:53:31", "repo_name": "caranha/BordeauxTsukuba2017", "sub_path": "/Sumimasen/core/src/com/tskbdx/sumimasen/scenes/OnTimeOnFirstDay.java", "file_name": "OnTimeOnFirstDay.java", "file_ext": "java", "file_si... | https://github.com/caranha/BordeauxTsukuba2017 | 268 | FILENAME: OnTimeOnFirstDay.java | 0.285372 | package com.tskbdx.sumimasen.scenes;
import com.tskbdx.sumimasen.GameScreen;
import com.tskbdx.sumimasen.scenes.model.World;
import com.tskbdx.sumimasen.scenes.model.entities.Entity;
import com.tskbdx.sumimasen.scenes.model.entities.interactions.Dialogue;
/*
* Created by viet khang on 01/06/2017.
*/
public class On... |
62e06abd-490e-4cff-bca8-9f442112bf80 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-25 06:04:24", "repo_name": "WallE2017/ASUI", "sub_path": "/app/src/main/java/com/example/a111/myapplication/VoiceFrag.java", "file_name": "VoiceFrag.java", "file_ext": "java", "file_size_in_byte": 1125, "line_... | https://github.com/WallE2017/ASUI | 202 | FILENAME: VoiceFrag.java | 0.200558 | package com.example.a111.myapplication;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.Toast;
/**
* Created by 111 on 201... |
709f0606-4a95-4d04-9c43-1ff959e26878 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-03-15T22:28:36", "repo_name": "oryxr/wiki_repo", "sub_path": "/Pic32--interrupt.md", "file_name": "Pic32--interrupt.md", "file_ext": "md", "file_size_in_byte": 1021, "line_count": 34, "lang": "en", "doc_type"... | https://github.com/oryxr/wiki_repo | 344 | FILENAME: Pic32--interrupt.md | 0.279042 | Gestion des interruptions extérieurs sur PIC32
==============================================
#include <plib.h>
#define SYS_FREQ (80000000L)
void setup() {
SYSTEMConfig(SYS_FREQ, SYS_CFG_WAIT_STATES | SYS_CFG_PCACHE);
INTEnableSystemMultiVectoredInt();
/* initialisatio... |
197a5bf6-e1cd-4b00-8d13-c90de7a2ce22 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-11 11:47:49", "repo_name": "guotongning/user-platform", "sub_path": "/ning-web-mvc/src/main/java/com/ning/web/mvc/handler/DefaultRestControllerHandler.java", "file_name": "DefaultRestControllerHandler.java", "... | https://github.com/guotongning/user-platform | 198 | FILENAME: DefaultRestControllerHandler.java | 0.206894 | package com.ning.web.mvc.handler;
import com.ning.web.mvc.controller.Controller;
import com.ning.web.mvc.controller.PageController;
import com.ning.web.mvc.controller.RestController;
import com.ning.web.mvc.response.Result;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletContext;
import javax.serv... |
f39107c2-32a5-4cfc-abe2-b3388bd02d64 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-01 06:07:55", "repo_name": "jkwcp/Algo4_PriorityQueues", "sub_path": "/src/UnorderedMaxPQ.java", "file_name": "UnorderedMaxPQ.java", "file_ext": "java", "file_size_in_byte": 1008, "line_count": 50, "lang": "en... | https://github.com/jkwcp/Algo4_PriorityQueues | 272 | FILENAME: UnorderedMaxPQ.java | 0.242206 | import edu.princeton.cs.algs4.StdIn;
public class UnorderedMaxPQ<Key extends Comparable<Key>> {
private Key[] pq;
private int N;
public UnorderedMaxPQ(int capacity) {
pq = (Key[]) new Comparable[capacity];
}
public boolean isEmpty() {
return N == 0;
}
public void insert(K... |
62aef469-9932-4fe2-b63f-81a9d13d287e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-29 01:35:36", "repo_name": "shaobin123/study", "sub_path": "/demo1/src/main/java/com/example/demo/Service/impl/CustomerServiceImpl.java", "file_name": "CustomerServiceImpl.java", "file_ext": "java", "file_size... | https://github.com/shaobin123/study | 201 | FILENAME: CustomerServiceImpl.java | 0.243642 | package com.example.demo.Service.impl;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.example.demo.domain.Customer;
import com.example.demo.mapper.CustomerMapper;
import com.example.demo.Service.CustomerService;
@Service
public class CustomerServiceImpl implements CustomerS... |
11d827f9-3251-4887-8929-6532798acc31 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-03 07:22:22", "repo_name": "smemoryouth/ajie", "sub_path": "/MavenTest/src/main/java/internet/Client3.java", "file_name": "Client3.java", "file_ext": "java", "file_size_in_byte": 1136, "line_count": 41, "lang"... | https://github.com/smemoryouth/ajie | 228 | FILENAME: Client3.java | 0.272799 | package internet;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
/**
* description:客户端,双端通信
*
* @author ajie
* data 2018/10/18 12:39
*/
public class Client3 {
public static void main(String[] args) throws IOExce... |
736b5acf-edc2-479c-b8c8-db11ac016b21 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-27 09:21:03", "repo_name": "wqwangruiqi/maven-ssm", "sub_path": "/src/main/test/org/wq/ssm/lasw/TestLaswNewsTitleService.java", "file_name": "TestLaswNewsTitleService.java", "file_ext": "java", "file_size_in_b... | https://github.com/wqwangruiqi/maven-ssm | 299 | FILENAME: TestLaswNewsTitleService.java | 0.295027 | package org.wq.ssm.lasw;
import javax.annotation.Resource;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.wq.ssm.entity.lasw.LaswNewsTitle;
import org.wq.s... |
664b1d6a-b92b-4aee-9261-61dbec90c60e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-18 15:51:27", "repo_name": "saurabhgoyal24/Application-Engineering-Development-Final", "sub_path": "/src/Business/Organization/DiseaseManagementOrganization.java", "file_name": "DiseaseManagementOrganization.j... | https://github.com/saurabhgoyal24/Application-Engineering-Development-Final | 203 | FILENAME: DiseaseManagementOrganization.java | 0.279042 | /*
* 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 Business.Organization;
import Business.Role.Role;
import Business.SocialForum.Disease;
import Business.SocialForum.Topic;
impo... |
90dd90fd-6b03-4fdf-adf4-da6c4fb5b9e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-23 05:54:55", "repo_name": "sujaynaik/Retrofit-2", "sub_path": "/app/src/main/java/com/testretrofit/model/CustomerDetail.java", "file_name": "CustomerDetail.java", "file_ext": "java", "file_size_in_byte": 1170... | https://github.com/sujaynaik/Retrofit-2 | 243 | FILENAME: CustomerDetail.java | 0.233706 | package com.testretrofit.model;
import java.io.Serializable;
import java.util.List;
/**
* Created by hclpc on 1/3/2017.
*/
public class CustomerDetail implements Serializable {
private List<CreditRequest> credit_requests;
private Customer customer;
private Customer cutomer;
public CustomerDetail(... |
fdc3204b-3540-401e-a78e-3e0d8ae74ee3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-15 11:20:03", "repo_name": "kaisersouza/justjava", "sub_path": "/OnChatServer.java", "file_name": "OnChatServer.java", "file_ext": "java", "file_size_in_byte": 1176, "line_count": 49, "lang": "en", "doc_type":... | https://github.com/kaisersouza/justjava | 182 | FILENAME: OnChatServer.java | 0.245085 | import java.net.*;
import java.io.*;
public class OnChatServer {
public static void main(String[] args) throws IOException {
ServerSocket serverSocket = new ServerSocket(9000);
System.out.println("Server has started. Waiting for connection");
int count = 1;
... |
7ae39973-7b90-4630-8683-c2659312845f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-11 17:24:24", "repo_name": "sameerkathawate/codeBase", "sub_path": "/src/main/java/commonLibs/implementation/WebElementOptions.java", "file_name": "WebElementOptions.java", "file_ext": "java", "file_size_in_by... | https://github.com/sameerkathawate/codeBase | 177 | FILENAME: WebElementOptions.java | 0.253861 | package commonLibs.implementation;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.Select;
public class WebElementOptions {
WebDriver driver;
public WebElementOptions(WebDriver driver) {
this.driver = driver;
}
public void cl... |
b017399f-c14d-4164-9683-fc07a160cd8c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-14 07:56:43", "repo_name": "Koushik-Gandi/Module4", "sub_path": "/TestAutomationAndSelenium/src/main/java/com/capg/pomfiles/DriverInitialiser.java", "file_name": "DriverInitialiser.java", "file_ext": "java", "... | https://github.com/Koushik-Gandi/Module4 | 238 | FILENAME: DriverInitialiser.java | 0.280616 | package com.capg.pomfiles;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.Properties;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class DriverInitialiser {
static Properties prop = new Properties();
public static WebDriver driver;
sta... |
9f233707-fbe7-49ec-9b31-26d5c0c4b21c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-01 23:53:15", "repo_name": "diogotorres/cursomc", "sub_path": "/src/main/java/com/diogotorres/cursomc/resources/CategoriaResource.java", "file_name": "CategoriaResource.java", "file_ext": "java", "file_size_in... | https://github.com/diogotorres/cursomc | 223 | FILENAME: CategoriaResource.java | 0.286968 | package com.diogotorres.cursomc.resources;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import com.diogotorres.cursomc.domain.Categoria;
import com.diogotorres.cursomc.services.CategoriaService;
import ... |
0fa05302-b0ad-450e-88ad-570829c1a4ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-12 04:36:25", "repo_name": "Emanhashim/BankingSystem", "sub_path": "/src/bb/classes/userAccount.java", "file_name": "userAccount.java", "file_ext": "java", "file_size_in_byte": 1191, "line_count": 44, "lang": ... | https://github.com/Emanhashim/BankingSystem | 219 | FILENAME: userAccount.java | 0.27048 | /*
* 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 bb.classes;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
/**
*
* @author cs
*/
public... |
c98d8df9-3636-442e-8227-6b9ae948b54f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-13 13:17:36", "repo_name": "antowaddle/Selenium-Cucumber-Quickstart", "sub_path": "/ui-acceptance-tests/src/test/java/io/github/anthony/runvalidation/TestExecutionValidator.java", "file_name": "TestExecutionVa... | https://github.com/antowaddle/Selenium-Cucumber-Quickstart | 187 | FILENAME: TestExecutionValidator.java | 0.23092 | package io.github.anthony.runvalidation;
import io.github.bonigarcia.wdm.WebDriverManager;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.testng.AbstractTestNGSpringCo... |
f3979a86-bd5e-402a-99fa-b996650b34d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-22 07:38:39", "repo_name": "AndroidHF/PaiMai", "sub_path": "/app/src/main/java/com/buycolle/aicang/adapter/HomeDataAdapter.java", "file_name": "HomeDataAdapter.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/AndroidHF/PaiMai | 232 | FILENAME: HomeDataAdapter.java | 0.239349 | package com.buycolle.aicang.adapter;
import android.app.Activity;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import com.buycolle.aicang.bean.HomeGoodsBean;
import java.util.ArrayList;
/**
* Created by joe on 16/3/24.
*/
public class ... |
0f64822d-6070-4082-886a-8b47b30aad9d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-27 23:08:52", "repo_name": "FernandoVelcic/whatsapp-remote", "sub_path": "/WhatsappRemote/src/com/soxeon/whatsappremote/ServerService.java", "file_name": "ServerService.java", "file_ext": "java", "file_size_in... | https://github.com/FernandoVelcic/whatsapp-remote | 239 | FILENAME: ServerService.java | 0.278257 | package com.soxeon.whatsappremote;
import java.net.UnknownHostException;
import android.app.Service;
import android.content.Intent;
import android.content.pm.PackageManager.NameNotFoundException;
import android.os.IBinder;
import android.util.Log;
public class ServerService extends Service {
private static final in... |
1cfa4f4d-01ed-4bd8-aaca-b747d24093f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-24 12:23:48", "repo_name": "Maurogch/Laboratorio5", "sub_path": "/Stream Sample/src/com/company/Person.java", "file_name": "Person.java", "file_ext": "java", "file_size_in_byte": 1103, "line_count": 58, "lang"... | https://github.com/Maurogch/Laboratorio5 | 246 | FILENAME: Person.java | 0.235108 | package com.company;
public class Person {
private String name;
private String lastname;
private int age;
private int dni;
public Person(String name, String lastname, int age, int dni) {
this.name = name;
this.lastname = lastname;
this.age = age;
this.dni = dni;
... |
46b20f3d-1ce1-490d-9297-93f16d97da0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-12 14:40:32", "repo_name": "TarikoDan/Java-Lessons", "sub_path": "/src/lesson2_Composition_Agrigation/Task3_Request/Passport.java", "file_name": "Passport.java", "file_ext": "java", "file_size_in_byte": 1070, ... | https://github.com/TarikoDan/Java-Lessons | 217 | FILENAME: Passport.java | 0.267408 | package lesson2_Composition_Agrigation.Task3_Request;
public class Passport {
private String series;
private int number;
private String serviceIssues;
public Passport() {
}
public Passport(String series, int number, String serviceIssues) {
this.series = series;
this.number = n... |
23f838f6-ef90-42d9-b920-025dbccad99e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-27 15:38:59", "repo_name": "ebrusoysal/Storytel_App_End_To_End_TestNG", "sub_path": "/src/main/java/com/storytel/pages/WelcomeScreen.java", "file_name": "WelcomeScreen.java", "file_ext": "java", "file_size_in_... | https://github.com/ebrusoysal/Storytel_App_End_To_End_TestNG | 256 | FILENAME: WelcomeScreen.java | 0.268941 | package com.storytel.pages;
import com.storytel.base.Base;
import io.appium.java_client.MobileElement;
import io.appium.java_client.TouchAction;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.touch.WaitOptions;
import io.appium.java_client.touch.offset.PointOption;
import org.open... |
dde742c3-e73b-40e7-944d-fdd857c41fd3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-18 07:16:50", "repo_name": "artisancreek/hrpd", "sub_path": "/Jarvis/app/src/main/java/edu/depaul/csc595/jarvis/inventory/CustomListItem.java", "file_name": "CustomListItem.java", "file_ext": "java", "file_siz... | https://github.com/artisancreek/hrpd | 233 | FILENAME: CustomListItem.java | 0.279828 | package edu.depaul.csc595.jarvis.inventory;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.FrameLayout;
/**
* Created by Advait on 15-02-2016.
*/
public class CustomListItem extends FrameLayout
{
private JBHorizontalSwipe mJBHorizontalSwi... |
2a54552c-5969-49f0-98d0-1ff63c49a4b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-24 23:14:55", "repo_name": "dioob/Aplikasi-Chat-DBChat", "sub_path": "/app/src/main/java/dioobanu/yahoo/dbchat/StartActivity.java", "file_name": "StartActivity.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/dioob/Aplikasi-Chat-DBChat | 203 | FILENAME: StartActivity.java | 0.20947 | package dioobanu.yahoo.dbchat;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class StartActivity extends AppCompatActivity {
private Button mRegbtn;
private Button mLogbtn;
@Overrid... |
c7404f0d-6be4-442f-8988-ab0995841578 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-10 13:58:52", "repo_name": "kkmangl/EventManagement", "sub_path": "/src/com/sapient/controller/DashboardController.java", "file_name": "DashboardController.java", "file_ext": "java", "file_size_in_byte": 1033,... | https://github.com/kkmangl/EventManagement | 194 | FILENAME: DashboardController.java | 0.287768 | package com.sapient.controller;
import java.util.Iterator;
import java.util.List;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotat... |
4cd28f56-7fcd-4bed-9d57-135785584cf9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-24 07:36:06", "repo_name": "NastyaGribanova/HealthyLifestyle", "sub_path": "/src/Register.java", "file_name": "Register.java", "file_ext": "java", "file_size_in_byte": 1121, "line_count": 35, "lang": "en", "do... | https://github.com/NastyaGribanova/HealthyLifestyle | 172 | FILENAME: Register.java | 0.262842 | 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.security.NoSuchAlgorithmException;
import java.sql.SQLException;
... |
97ad2609-30a5-4ac1-b12f-e18a03b0cbc9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-16 21:39:14", "repo_name": "inorser/android-hufflepuff", "sub_path": "/app/src/main/java/com/example/androidtestapp/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/inorser/android-hufflepuff | 185 | FILENAME: MainActivity.java | 0.278257 | package com.example.androidtestapp;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
private int counter = 0;
... |
7c36c09b-34b4-4a0c-9bc8-68272f11f47a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-25 19:56:31", "repo_name": "claveroJuan/Workspace", "sub_path": "/Guia9/src/bip/TarjetaBip.java", "file_name": "TarjetaBip.java", "file_ext": "java", "file_size_in_byte": 1169, "line_count": 80, "lang": "en", ... | https://github.com/claveroJuan/Workspace | 344 | FILENAME: TarjetaBip.java | 0.264358 | /**
*
*/
package bip;
/**
* @author JuanClavero
*
*/
public abstract class TarjetaBip
{
private int saldo;
private String color;
private int nTarjeta;
public TarjetaBip ()
{
}
/**
* @param saldo
* @param color
* @param nTarjeta
*/
public TarjetaBip(int saldo, String color, int nTarjeta... |
82ba108e-5da2-436b-ba16-e14caf090b41 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-04 03:44:41", "repo_name": "guogai1949/js_code", "sub_path": "/src/main/java/com/js/worker/code/netty/client/NettyClientPipelineFactory.java", "file_name": "NettyClientPipelineFactory.java", "file_ext": "java"... | https://github.com/guogai1949/js_code | 195 | FILENAME: NettyClientPipelineFactory.java | 0.273574 | package com.js.worker.code.netty.client;
import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.netty.channel.ChannelPipelineFactory;
import org.jboss.netty.channel.Channels;
import com.js.worker.code.netty.server.NettyMessageDecoder;
import com.js.worker.code.netty.server.NettyMessageEncoder;
pub... |
68442414-a80d-441a-bbe7-09661472462d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-26 01:25:34", "repo_name": "IrisWolfBite/demo", "sub_path": "/springboot_mybatis_redis_activitymq_dubbo/src/main/java/com/zjf/demo/service/impl/StudentServiceImpl.java", "file_name": "StudentServiceImpl.java",... | https://github.com/IrisWolfBite/demo | 260 | FILENAME: StudentServiceImpl.java | 0.264358 | package com.zjf.demo.service.impl;
import com.zjf.demo.mapper.StudentMapper;
import com.zjf.model.Student;
import com.zjf.service.StudentService;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.concurrent.TimeU... |
3feb59bb-0b4e-40d5-8c42-0cc7bb525028 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-02-10 15:32:19", "repo_name": "bwssytems/ha-bridge", "sub_path": "/src/main/java/com/bwssystems/HABridge/plugins/hass/Service.java", "file_name": "Service.java", "file_ext": "java", "file_size_in_byte": 1068, "li... | https://github.com/bwssytems/ha-bridge | 247 | FILENAME: Service.java | 0.239349 |
package com.bwssystems.HABridge.plugins.hass;
import java.util.Map;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Service {
@SerializedName("domain")
@Expose
private String domain;
@SerializedName("services")
@Expose
private Map<S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.