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 |
|---|---|---|---|---|---|---|
f2b9b272-b9da-45e8-b883-57e12c89cdce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-29 10:41:58", "repo_name": "noveogroup/clap", "sub_path": "/clap-server/clap-server/clap-server-ui/src/main/java/com/noveogroup/clap/web/exception/ClapUserNotFoundExceptionHandlerDelegate.java", "file_name": "... | https://github.com/noveogroup/clap | 201 | FILENAME: ClapUserNotFoundExceptionHandlerDelegate.java | 0.247987 | package com.noveogroup.clap.web.exception;
import com.noveogroup.clap.exception.ClapUserNotFoundException;
import com.noveogroup.clap.web.util.message.MessageUtils;
import javax.enterprise.context.ApplicationScoped;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import java.io.I... |
c40df022-fb87-427c-a2eb-a2a830db9be6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-16 09:08:39", "repo_name": "GYiyouth/foolkey", "sub_path": "/src/main/java/foolkey/pojo/root/vo/dto/ApplicationStudentRewardDTO.java", "file_name": "ApplicationStudentRewardDTO.java", "file_ext": "java", "file... | https://github.com/GYiyouth/foolkey | 244 | FILENAME: ApplicationStudentRewardDTO.java | 0.247987 | package foolkey.pojo.root.vo.dto;
import org.springframework.stereotype.Component;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* 申请学生的悬赏
* Created by admin on 2017/4/24.
*/
@Component
@Entity
@Table(name = "t_application_student_reward")
public class Appli... |
eef7b3ec-30c6-40dd-bf72-82b4d1c4c896 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-19 15:06:59", "repo_name": "AmineTraibi/ApiFront-End", "sub_path": "/src/main/java/ma/ensa/entities/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1121, "line_count": 56, "lang"... | https://github.com/AmineTraibi/ApiFront-End | 277 | FILENAME: User.java | 0.282196 | package ma.ensa.entities;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="user")
public class User {
@Id
private String EmailID;
private String Password;
private String Fname;
private String Lname;
public String getEmailID... |
4180de38-2cbe-4595-afa8-59855cabd4e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-12 09:58:48", "repo_name": "Manojkumarchow/reactappwithspringboot", "sub_path": "/Spring-with-React-JS/src/main/java/com/example/Spring/with/React/JS/SpringWithReactJsApplication.java", "file_name": "SpringWit... | https://github.com/Manojkumarchow/reactappwithspringboot | 218 | FILENAME: SpringWithReactJsApplication.java | 0.262842 | package com.example.Spring.with.React.JS;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.example.Spring.with.React.JS.mo... |
f91ca971-e027-48fa-9699-685633038850 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-15 17:18:20", "repo_name": "gennadyyonov/hello-okta", "sub_path": "/hello-okta-services/src/main/java/lv/gennadyyonov/hellookta/config/feign/ClientCredentialsInterceptor.java", "file_name": "ClientCredentialsI... | https://github.com/gennadyyonov/hello-okta | 211 | FILENAME: ClientCredentialsInterceptor.java | 0.229535 | package lv.gennadyyonov.hellookta.config.feign;
import feign.RequestInterceptor;
import feign.RequestTemplate;
import lv.gennadyyonov.hellookta.dto.RunAsDetails;
import lv.gennadyyonov.hellookta.services.TokenService;
import static java.lang.String.format;
import static org.springframework.http.HttpHeaders.AUTHORIZAT... |
29da5151-e3e2-49e7-a5a8-83e6489be466 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-26 14:36:59", "repo_name": "dsmita/samples", "sub_path": "/src/main/java/com/debs/sample/DepthFirstSearch.java", "file_name": "DepthFirstSearch.java", "file_ext": "java", "file_size_in_byte": 1015, "line_count... | https://github.com/dsmita/samples | 243 | FILENAME: DepthFirstSearch.java | 0.26971 | package com.debs.sample;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.Stack;
public class DepthFirstSearch {
public boolean solution(TreeNode node, TreeNode search){
if(node == null)
return false;
Set<Integer> visitedSet = new HashSet<Integer>();
Sta... |
79865349-1aa0-462b-8634-78c2c0551134 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-21 23:34:14", "repo_name": "qiuchili/ggnn_graph_classification", "sub_path": "/program_data/JavaProgramData/24/842.java", "file_name": "842.java", "file_ext": "java", "file_size_in_byte": 1043, "line_count": 7... | https://github.com/qiuchili/ggnn_graph_classification | 354 | FILENAME: 842.java | 0.295027 | package <missing>;
public class GlobalMembers
{
public static int Main()
{
int max = 0;
int x = 0;
int min = 20;
int y = 0;
String string = new String(new char[4000]);
char[][] str = new char[40][20];
final String temp = "";
int k = 0;
int j = 0;
int i;
int n;
int m;
String = new Scanner(System.in).nex... |
93da946f-8b9e-4ffe-9cca-83478be35c03 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-20 01:24:51", "repo_name": "AsTheStarsFall/MultiThread", "sub_path": "/src/main/java/com/tianhy/multithread/threadpool/FixedThreadPool.java", "file_name": "FixedThreadPool.java", "file_ext": "java", "file_size... | https://github.com/AsTheStarsFall/MultiThread | 223 | FILENAME: FixedThreadPool.java | 0.256832 | package com.tianhy.multithread.threadpool;
import java.util.concurrent.*;
import java.util.concurrent.ThreadPoolExecutor;
/**
* @Desc:
* @Author: thy
* @CreateTime: 2019/4/8
**/
public class FixedThreadPool implements Runnable{
static ExecutorService fixedThreadPool = Executors.newFixedThreadPool(3);
Exec... |
d9b26d20-8090-41eb-99aa-2d5621d8c54d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-23 11:51:37", "repo_name": "lcl100/BookManageSystem_javafx", "sub_path": "/src/BookManageSystem/beans/BookTypeBean.java", "file_name": "BookTypeBean.java", "file_ext": "java", "file_size_in_byte": 986, "line_c... | https://github.com/lcl100/BookManageSystem_javafx | 200 | FILENAME: BookTypeBean.java | 0.221351 | package BookManageSystem.beans;
public class BookTypeBean {
private int bookTypeId;
private String bookTypeName;
private String bookTypeDescription;
public BookTypeBean() {}
public BookTypeBean(int bookTypeId, String bookTypeName, String bookTypeDescription) {
this.bookTypeId = bookTypeId... |
15568f6e-099d-4d20-b555-c59da9226def | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-08 07:29:42", "repo_name": "yujisuz/MyRepository", "sub_path": "/TestJava/com/cisco/jptac/vsec/http/JptacVsecHttpResponse.java", "file_name": "JptacVsecHttpResponse.java", "file_ext": "java", "file_size_in_byt... | https://github.com/yujisuz/MyRepository | 222 | FILENAME: JptacVsecHttpResponse.java | 0.250913 | package com.cisco.jptac.vsec.http;
import java.io.IOException;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
public class JptacVsecHttpResponse {
private final JptacVsecHttpStatus status;
private Map<String, String> headers = new HashMap<>();
priva... |
658bad99-d7cf-4fc2-8741-42fd9455703f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-03 14:45:32", "repo_name": "ahlemmhamdi/chahrazed_api", "sub_path": "/src/main/java/tn/alfacomputers/Controllers/ReservationController.java", "file_name": "ReservationController.java", "file_ext": "java", "fil... | https://github.com/ahlemmhamdi/chahrazed_api | 196 | FILENAME: ReservationController.java | 0.268941 | package tn.alfacomputers.Controllers;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import tn.alfacomputers.entities.Reservation;
import tn.alfacomputers.repositories.ReservationRepository;
@Controller... |
fd5c8016-537e-401b-acd4-35eb68bdbdc1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-09 08:10:33", "repo_name": "AgnitumuS/gitv", "sub_path": "/gitv-DeObfuscate/src/main/java/com/gala/video/app/player/pingback/PingbackReceiver.java", "file_name": "PingbackReceiver.java", "file_ext": "java", "f... | https://github.com/AgnitumuS/gitv | 246 | FILENAME: PingbackReceiver.java | 0.29584 | package com.gala.video.app.player.pingback;
import com.gala.video.lib.framework.core.utils.LogUtils;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;
public class PingbackReceiver {
private static final String TAG = "PingbackReceiver";
... |
06e6891a-238c-4f31-92df-3f3324c48691 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-05-04 08:29:30", "repo_name": "qiaoxun/spring-boot-study", "sub_path": "/cache-study/src/main/java/com/study/cache/controller/CacheController.java", "file_name": "CacheController.java", "file_ext": "java", "file_... | https://github.com/qiaoxun/spring-boot-study | 205 | FILENAME: CacheController.java | 0.26588 | package com.study.cache.controller;
import com.study.cache.domain.Booking;
import com.study.cache.service.BookingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.spr... |
8fd3d1f9-1fc6-4222-bcd2-a9f733b7c449 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-15 23:27:17", "repo_name": "brunobat/basic-testing-webapp", "sub_path": "/src/main/java/com/brunobat/service/repository/base/JPARepository.java", "file_name": "JPARepository.java", "file_ext": "java", "file_si... | https://github.com/brunobat/basic-testing-webapp | 233 | FILENAME: JPARepository.java | 0.282988 | package com.brunobat.service.repository.base;
import com.brunobat.model.base.Identifiable;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import java.io.Serializable;
/**
* Created by Bruno Baptista on 09/04/15.
*/
public abstract class JPARepository <T extends Identifiable> i... |
adddb1f3-7194-4953-a4f6-a1c176e44e3f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-20 13:40:05", "repo_name": "JonasMelin/twitter", "sub_path": "/src/main/java/com/twitterstuff/model/FollowerListDTO.java", "file_name": "FollowerListDTO.java", "file_ext": "java", "file_size_in_byte": 1118, "l... | https://github.com/JonasMelin/twitter | 226 | FILENAME: FollowerListDTO.java | 0.252384 | package com.twitterstuff.model;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NonNull;
import twitter4j.PagableResponseList;
import twitter4j.User;
import java.util.LinkedList;
import java.util.List;
@Data
@EqualsA... |
28ce98c5-d17d-4640-80c6-c0db195c4efc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-05-28 22:25:25", "repo_name": "kopinski/pobiegne", "sub_path": "/tracker/tracker-components/src/main/java/pl/pobiegne/mobile/widget/GroupItem.java", "file_name": "GroupItem.java", "file_ext": "java", "file_size_i... | https://github.com/kopinski/pobiegne | 184 | FILENAME: GroupItem.java | 0.282988 | package pl.pobiegne.mobile.widget;
import java.text.NumberFormat;
import java.util.Locale;
import pl.pobiegne.mobile.common.api.db.Route;
import android.content.Context;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.googlecode.androidannotations.annotations.EViewGroup;
imp... |
67399e01-3b17-46af-bc51-720d4fbb6068 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-14T10:21:52", "repo_name": "vsidera/PhotoAlbum", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1043, "line_count": 29, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/vsidera/PhotoAlbum | 263 | FILENAME: README.md | 0.245085 | # PhotoAlbum
#### A personal gallery application.
#### By **victor siderra**
## Description
This is an application that allows to me to display my photos for others to see.
## Setup/Installation Requirements
* On your terminal, clone this repo using git
* $ git clone https://github.com/vsidera/PhotoAlbum.git
* $ source... |
1418eb7f-f313-4e5f-9b55-3d961199648c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-18 14:13:49", "repo_name": "juanleirojl/backendDevTest", "sub_path": "/src/main/java/com/test/product/config/FeignClientErrorDecoder.java", "file_name": "FeignClientErrorDecoder.java", "file_ext": "java", "fil... | https://github.com/juanleirojl/backendDevTest | 183 | FILENAME: FeignClientErrorDecoder.java | 0.264358 | package com.test.product.config;
import org.springframework.http.HttpStatus;
import com.test.product.exceptions.ClientErrorException;
import feign.Response;
import feign.RetryableException;
import feign.codec.ErrorDecoder;
public class FeignClientErrorDecoder implements ErrorDecoder {
private final ErrorDecoder d... |
9f5530a6-15b5-49b6-a318-0fc2e8561c38 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-19 13:12:37", "repo_name": "compomics/compomics-crowd", "sub_path": "/compomics-crowd-pladiquest/src/main/java/com/compomics/compomicscrowd/pladiquest/model/action/ActionTerm.java", "file_name": "ActionTerm.ja... | https://github.com/compomics/compomics-crowd | 261 | FILENAME: ActionTerm.java | 0.259826 | package com.compomics.compomicscrowd.pladiquest.model.action;
import java.util.ArrayList;
/**
*
* @author Kenneth Verheggen <kenneth.verheggen@gmail.com>
*/
public enum ActionTerm {
ATTACK("attack", "punch", "kick", "stab", "assault", "lunge"),
LOOT("take", "pick up", "loot", "obtain", "retrieve"),
DRO... |
8a0d1caa-29bf-4c26-85be-7e9e1e9fc365 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-29 21:17:23", "repo_name": "farnulfo/unleash-web-client", "sub_path": "/src/main/java/net/arnulfo/InitServletListener.java", "file_name": "InitServletListener.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/farnulfo/unleash-web-client | 241 | FILENAME: InitServletListener.java | 0.245085 | package net.arnulfo;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;
import no.finn.unleash.Unleash;
import no.finn.unleash.DefaultUnleash;
import no.finn.unleash.util.UnleashConfig;
/**
* Web application lifecycle listener.
*
* @a... |
be2f4ed4-391f-47a7-ab5f-4b59a04f98d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-07 19:25:57", "repo_name": "AviAvin/ArrayJavaScript", "sub_path": "/Avinash2/src/webdriver/Windowhandle3.java", "file_name": "Windowhandle3.java", "file_ext": "java", "file_size_in_byte": 1096, "line_count": 4... | https://github.com/AviAvin/ArrayJavaScript | 224 | FILENAME: Windowhandle3.java | 0.26971 | package webdriver;
import java.util.Set;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class Windowhandle3 {
public static void main(String args[])
{
WebDriver driver=new FirefoxDriver();
driver.get("https://onli... |
6f1eb3ee-9b80-4240-9f2d-c415edd41f70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-20 11:33:45", "repo_name": "JoseManuelBravoDAW/Examen-Mayo-2018", "sub_path": "/productosGUI/Ficheros.java", "file_name": "Ficheros.java", "file_ext": "java", "file_size_in_byte": 1122, "line_count": 53, "lang... | https://github.com/JoseManuelBravoDAW/Examen-Mayo-2018 | 227 | FILENAME: Ficheros.java | 0.255344 | package exJoseManuelBravoMartinez.productosGUI;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
public class Ficheros {
... |
47d3e529-6f94-4116-9169-1d2ef3f7528c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-04-15T11:07:37", "repo_name": "int3/vim-extradite", "sub_path": "/README.markdown", "file_name": "README.markdown", "file_ext": "markdown", "file_size_in_byte": 1054, "line_count": 31, "lang": "en", "doc_type... | https://github.com/int3/vim-extradite | 268 | FILENAME: README.markdown | 0.224055 | extradite.vim
=============
A git commit browser / git log wrapper that extends fugitive.vim.
`:Extradite` toggles the Extradite buffer, i.e. the commit browser. By
default, it opens in the current window. Adding |!| makes it open in a vertical
split instead.
The width of the split is set with `g:extradite_width`, bu... |
ab86e27e-8ea2-4141-8f26-57089f547520 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-13 06:45:49", "repo_name": "admodule/Admodule", "sub_path": "/admodule/src/main/java/com/admodule/ConnectionDetector.java", "file_name": "ConnectionDetector.java", "file_ext": "java", "file_size_in_byte": 1073... | https://github.com/admodule/Admodule | 191 | FILENAME: ConnectionDetector.java | 0.27048 | package com.admodule;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.util.Log;
public class ConnectionDetector {
private Context _context;
ConnectionDetector(Context context) {
this._context = context;
}
/**
* Chec... |
2ddbb99f-5104-43cc-bf69-227323740dfe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-09 15:19:05", "repo_name": "jpollo/rcrss", "sub_path": "/team_src/MRL/src/mrl/common/BenchMark/messaging/MessageLogProperty.java", "file_name": "MessageLogProperty.java", "file_ext": "java", "file_size_in_byte... | https://github.com/jpollo/rcrss | 236 | FILENAME: MessageLogProperty.java | 0.255344 | package mrl.common.BenchMark.messaging;
import mrl.mosCommunication.message.property.SendType;
import mrl.mosCommunication.message.type.AbstractMessage;
import rescuecore2.worldmodel.EntityID;
/**
* @author Mahdi
*/
public class MessageLogProperty {
private AbstractMessage message;
private EntityID sender;
... |
166ea23b-1f7d-4b27-97fd-384bb7301ad8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-17 04:39:00", "repo_name": "paulhoadley/Adventure", "sub_path": "/src/main/java/com/hahogames/adventure/Place.java", "file_name": "Place.java", "file_ext": "java", "file_size_in_byte": 1032, "line_count": 60, ... | https://github.com/paulhoadley/Adventure | 267 | FILENAME: Place.java | 0.276691 | package com.hahogames.adventure;
import java.util.ArrayList;
import java.util.List;
/**
* Represents a location in the game.
*
* @author paulh
*/
public class Place {
/**
* This location's text description
*/
public final String description;
/**
* List of {@link Path}s from this {@code Place}
*/
pub... |
1f4be317-e252-49bd-b32d-a5ce9de9048e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-22 14:55:51", "repo_name": "mdiazrollup/remindmewhere", "sub_path": "/app/src/main/java/com/example/maria/remindmewhere/adapter/LocationAdapter.java", "file_name": "LocationAdapter.java", "file_ext": "java", "... | https://github.com/mdiazrollup/remindmewhere | 215 | FILENAME: LocationAdapter.java | 0.274351 | package com.example.maria.remindmewhere.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import com.example.maria.remindmewhere.R;
import com.example.maria.remindmew... |
56cba76c-b980-465c-94f4-2b26460e16e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-12 13:56:47", "repo_name": "laratrindade/GenerationClash", "sub_path": "/GenerationClash/app/src/main/java/com/example/myapplication/SelectTheme.java", "file_name": "SelectTheme.java", "file_ext": "java", "fil... | https://github.com/laratrindade/GenerationClash | 189 | FILENAME: SelectTheme.java | 0.17441 | package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
public class SelectTheme extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super... |
52b1de12-d434-466d-81b4-b09a43141f14 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-13 15:16:19", "repo_name": "yasseribrahim/magles", "sub_path": "/app/src/main/java/com/azhar/university/magles/MaglesApplication.java", "file_name": "MaglesApplication.java", "file_ext": "java", "file_size_in_... | https://github.com/yasseribrahim/magles | 206 | FILENAME: MaglesApplication.java | 0.271252 | package com.azhar.university.magles;
import android.app.Application;
import com.azhar.university.magles.domain.modules.ApiModule;
import com.azhar.university.magles.domain.modules.ApplicationModule;
import com.azhar.university.magles.domain.modules.PreferencesModule;
import java.io.File;
/**
* Created by Yasser.Ib... |
4bc6215e-4416-4f28-a962-1f2965749ed6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-12 17:14:11", "repo_name": "baufest-cp-java/play-cm", "sub_path": "/bfcm/app/models/ContributionType.java", "file_name": "ContributionType.java", "file_ext": "java", "file_size_in_byte": 1032, "line_count": 58... | https://github.com/baufest-cp-java/play-cm | 253 | FILENAME: ContributionType.java | 0.286968 | package models;
import javax.persistence.Entity;
import javax.persistence.Id;
import play.data.validation.Constraints.MaxLength;
import play.data.validation.Constraints.Required;
import play.db.ebean.Model;
@Entity
public class ContributionType extends Model {
private static final long serialVersionUID = 7965172086... |
7985c643-42cc-4a0b-a194-3f6de5673298 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-21T22:54:43", "repo_name": "Overland-TSA/SoftwareDev2015", "sub_path": "/OverlandApp/src/org/overland_tsa/overlandapp/WebViewActivity.java", "file_name": "WebViewActivity.java", "file_ext": "java", "file_size_... | https://github.com/Overland-TSA/SoftwareDev2015 | 216 | FILENAME: WebViewActivity.java | 0.26588 | package org.overland_tsa.overlandapp;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
public class WebViewActivity extends Activity {
private String pageLocation;
public static final String WEBPAGE_URL = "org.overland_tsa.overlanda... |
f02aa9f5-be91-47f4-9df4-6c437361f830 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-05 03:18:51", "repo_name": "DylanDaiNguyen/InternetBanking_Blockchain_Citynow", "sub_path": "/transaction-wallet-project/transaction-wallet-service-impl/src/main/java/transaction/wallet/service/impl/UserServic... | https://github.com/DylanDaiNguyen/InternetBanking_Blockchain_Citynow | 195 | FILENAME: UserServiceImpl.java | 0.272799 | package transaction.wallet.service.impl;
import transaction.wallet.core.dao.UserDao;
import transaction.wallet.core.dao.impl.UserDaoImpl;
import transaction.wallet.dto.UserDTO;
import transaction.wallet.persistence.data.UserEntity;
import transaction.wallet.service.UserService;
import transaction.wallet.utils.UserBean... |
95f9989d-6628-4da0-811b-c5d8d23613d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-11 09:25:58", "repo_name": "Akram-Mansour/Stortoget", "sub_path": "/src/main/java/com/example/stortorget/service/SalesAdService.java", "file_name": "SalesAdService.java", "file_ext": "java", "file_size_in_byte... | https://github.com/Akram-Mansour/Stortoget | 206 | FILENAME: SalesAdService.java | 0.289372 | package com.example.stortorget.service;
import com.example.stortorget.entity.SalesAd;
import com.example.stortorget.repository.SalesAdRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class SalesAdService {... |
fd35eb30-d3eb-4df2-942d-914cab7c5d94 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-31 17:51:27", "repo_name": "MatheussAlves/Projeto-java-FJ26", "sub_path": "/src/br/com/caelum/notasfiscais/util/NomeJaExistenteValidator.java", "file_name": "NomeJaExistenteValidator.java", "file_ext": "java",... | https://github.com/MatheussAlves/Projeto-java-FJ26 | 223 | FILENAME: NomeJaExistenteValidator.java | 0.27513 | package br.com.caelum.notasfiscais.util;
import java.io.Serializable;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.validator.FacesValidator;
import javax.faces.validator.Validator;
import javax.faces.validator.Valida... |
1e7b37f7-e6b8-4f9b-b208-d2a0997697cf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-12 23:47:20", "repo_name": "JonathanZ-24/CADaphracti", "sub_path": "/CADaphracti-main/CADaphracti/src/main/java/frc/robot/auton/AutonChassis.java", "file_name": "AutonChassis.java", "file_ext": "java", "file_s... | https://github.com/JonathanZ-24/CADaphracti | 223 | FILENAME: AutonChassis.java | 0.268941 | package frc.robot.auton;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.RobotContainer;
import frc.robot.subsystems.Chassis;
public class AutonChassis extends CommandBase {
private double driveSpeed;
private double rotationSpeed;
private double tim... |
2cea7f6f-4505-48fe-ac1c-fcc1b532eeea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-06 16:53:31", "repo_name": "2829354693/eShop", "sub_path": "/src/main/java/com/yc/eshop/common/util/UUIDUtils.java", "file_name": "UUIDUtils.java", "file_ext": "java", "file_size_in_byte": 1046, "line_count": ... | https://github.com/2829354693/eShop | 262 | FILENAME: UUIDUtils.java | 0.256832 | package com.yc.eshop.common.util;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;
/**
* @author 余聪
* @date 2020/12/4
*/
public class UUIDUtils {
/**
* 32位默认长度的uuid
* (获取32位uuid)
*
* @return
*/
public static String getUUID() {
return UUID.ran... |
6b40248d-b4c3-41d9-8891-de88ec9a0720 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-05 18:42:03", "repo_name": "Aman1kr/Road-Safety-", "sub_path": "/main/java/com/example/student/isafe/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1233, "line_c... | https://github.com/Aman1kr/Road-Safety- | 192 | FILENAME: MainActivity.java | 0.259826 | package com.example.student.isafe;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import java.util.Timer;
import java.util.TimerTask;
import android.annotation.SuppressLint;
import android.graphics.drawable.AnimationDrawable;
import android.support.v7.app.AppCompatActivity;
imp... |
649e88e2-9241-483c-b0a5-e3dcba505427 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-16 06:13:22", "repo_name": "wdply/socket", "sub_path": "/MyServerSocket/src/ChatSocket.java", "file_name": "ChatSocket.java", "file_ext": "java", "file_size_in_byte": 1175, "line_count": 47, "lang": "en", "doc... | https://github.com/wdply/socket | 234 | FILENAME: ChatSocket.java | 0.262842 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.Socket;
/**
* 收到客户端发来的socket,进行处理
* Created by ply on 2017/1/9.
*/
public class ChatSocket extends Thread {
private Socket socket;
public ChatSocket(Socket s) {
this.socket = s;
}
... |
775802c1-730a-4ede-a991-7ae0c828b791 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-18 08:31:11", "repo_name": "LukaszLyskawa/Android-Twitch-Notifier", "sub_path": "/app/src/main/java/com/example/lukasz/myapplication/TwitchApiJson/FollowsStreams.java", "file_name": "FollowsStreams.java", "fil... | https://github.com/LukaszLyskawa/Android-Twitch-Notifier | 249 | FILENAME: FollowsStreams.java | 0.206894 | package com.example.lukasz.myapplication.TwitchApiJson;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by lukasz on 14.12.15.
*/
public class FollowsStreams {
public FollowsChannel getChannel() {
return channel;
}
public void setChann... |
36889ee5-bad2-4d6f-90a2-53d14cf0952b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-09 07:00:06", "repo_name": "liupanfeng/YangQuanClien", "sub_path": "/app/src/main/java/com/meishe/yangquan/fragment/SlideFragment.java", "file_name": "SlideFragment.java", "file_ext": "java", "file_size_in_byt... | https://github.com/liupanfeng/YangQuanClien | 255 | FILENAME: SlideFragment.java | 0.233706 | package com.meishe.yangquan.fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;
/**
*
* @Author : LiuPanFeng
* @CreateDate : 2021/4/20 18:37
* @Description : 这个是引导页面专用
*/
public class SlideFragmen... |
d332a572-65af-465a-a169-b7a1b1bb42a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-23 18:04:54", "repo_name": "Rulexec/yasly-java", "sub_path": "/src/main/java/by/muna/network/tcp/TCPServer.java", "file_name": "TCPServer.java", "file_ext": "java", "file_size_in_byte": 1120, "line_count": 44,... | https://github.com/Rulexec/yasly-java | 224 | FILENAME: TCPServer.java | 0.250913 | package by.muna.network.tcp;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.nio.channels.ServerSocketChannel;
public class TCPServer implements ITCPServer {
public ServerSocketChannel serverChannel;
private ITCPServerListener listener;
public TCP... |
2eaeff14-81d3-46e7-81ab-75dbba2ea84d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-17 12:18:28", "repo_name": "rarebreed/reporter", "sub_path": "/src/main/java/com/github/redhatqe/polarizer/reporter/jaxb/JAXBHelper.java", "file_name": "JAXBHelper.java", "file_ext": "java", "file_size_in_byte... | https://github.com/rarebreed/reporter | 242 | FILENAME: JAXBHelper.java | 0.259826 | package com.github.redhatqe.polarizer.reporter.jaxb;
import com.github.redhatqe.polarizer.reporter.importer.testcase.Testcase;
import com.github.redhatqe.polarizer.reporter.importer.testcase.Testcases;
import com.github.redhatqe.polarizer.reporter.importer.xunit.Testsuites;
import java.net.URL;
public class JAXBHe... |
298e9263-86d5-4689-bf95-16d21ae950a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-18 22:31:55", "repo_name": "jaumzera/transapp", "sub_path": "/src/main/java/br/com/joaomassan/transapp/transaction/TransactionCreationRequest.java", "file_name": "TransactionCreationRequest.java", "file_ext": ... | https://github.com/jaumzera/transapp | 197 | FILENAME: TransactionCreationRequest.java | 0.27048 | package br.com.joaomassan.transapp.transaction;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;
import java.util.Objects;
import lombok.Value;
@Value
public class TransactionCreationRequest {
Long accountId;
Long operationTy... |
e610241c-999f-4ef5-a786-086445cfd802 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-16 02:48:04", "repo_name": "song12138/sysmanager", "sub_path": "/src/main/java/com/company/smartwater/config/CorsConfig.java", "file_name": "CorsConfig.java", "file_ext": "java", "file_size_in_byte": 1087, "li... | https://github.com/song12138/sysmanager | 196 | FILENAME: CorsConfig.java | 0.210766 | package com.company.smartwater.config;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.cors.CorsConfiguration;
import org.springframework.web.cors.UrlBasedCorsConfigu... |
2a798f26-d500-4f12-8c07-fb400360d223 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2010-04-22 17:09:56", "repo_name": "jefferyship/searchsystems", "sub_path": "/src/com/baicai/test/MemcacheTest.java", "file_name": "MemcacheTest.java", "file_ext": "java", "file_size_in_byte": 1122, "line_count": 48, ... | https://github.com/jefferyship/searchsystems | 353 | FILENAME: MemcacheTest.java | 0.286968 | package com.baicai.test;
import java.util.Date;
import com.danga.MemCached.MemCachedClient;
import com.danga.MemCached.SockIOPool;
public class MemcacheTest {
public static void main(String args[]){
MemCachedClient mcc = new MemCachedClient();
String servers[] = {"192.168.1.111:3335"};
... |
6ef2cf9e-69ed-4f11-ba65-b3cc9119cb0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-06 19:54:57", "repo_name": "ErofeevAS/cloud", "sub_path": "/src/main/java/com/erofeev/cloud/bookshop/contoller/BookController.java", "file_name": "BookController.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/ErofeevAS/cloud | 219 | FILENAME: BookController.java | 0.264358 | package com.erofeev.cloud.bookshop.contoller;
import com.erofeev.cloud.bookshop.service.BookService;
import com.erofeev.cloud.bookshop.service.dto.BookDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import reactor.core.publisher.Flux;
import reactor... |
1be2bf56-a848-4e07-ba99-e54033be3e85 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-08 12:58:35", "repo_name": "Rabbit95/KaiYan", "sub_path": "/app/src/main/java/com/rabbit/kaiyan/presenter/LikePresenter.java", "file_name": "LikePresenter.java", "file_ext": "java", "file_size_in_byte": 1058, ... | https://github.com/Rabbit95/KaiYan | 224 | FILENAME: LikePresenter.java | 0.286968 | package com.rabbit.kaiyan.presenter;
import com.rabbit.kaiyan.base.contract.LikeContract;
import com.rabbit.kaiyan.model.DataManager;
import com.rabbit.kaiyan.model.beans.DataBean;
import com.rabbit.kaiyan.util.RxUtil;
import com.rabbit.kaiyan.widget.CommonSubscriber;
import javax.inject.Inject;
public class LikePre... |
2c5ae723-e4c3-43ae-ae2d-0cd9d3bcffd4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-09 15:40:24", "repo_name": "kobenunu/Registration-System", "sub_path": "/src/main/java/bgu/spl/net/api/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1029, "line_count": 50, "la... | https://github.com/kobenunu/Registration-System | 194 | FILENAME: User.java | 0.239349 | package bgu.spl.net.srv;
import src.Course;
import java.util.Vector;
public class User {
private String username;
private String password;
private Vector<Course> registeredCourses;
final boolean isAdmin;
private boolean loggedIn;
public User(String username, String password, boolean is... |
d395dca7-f0f3-497c-9d90-c7bc5e146f27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-26 19:24:15", "repo_name": "Segstas/optimization-hw", "sub_path": "/optomizationJMH/src/main/java/com/sbt/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1116, "line_count": 60, ... | https://github.com/Segstas/optimization-hw | 241 | FILENAME: User.java | 0.253861 | package com.sbt;
public class User{
String name;
String email;
Integer age;
boolean isAdmin;
public User(String name, String email, Integer age, boolean isAdmin) {
this.name = name;
this.email = email;
this.age = age;
this.isAdmin = isAdmin;
}
public User()... |
f4ee081d-d17c-404c-967c-d43834fcf5a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-16 15:15:24", "repo_name": "umairmunir-95/CheckMaid-Android", "sub_path": "/app/src/main/java/com/mindclarity/checkmaid/data/remote/ApiClient.java", "file_name": "ApiClient.java", "file_ext": "java", "file_siz... | https://github.com/umairmunir-95/CheckMaid-Android | 176 | FILENAME: ApiClient.java | 0.264358 | package com.mindclarity.checkmaid.data.remote;
import com.mindclarity.checkmaid.App;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class ApiClient {
private static Retrofit retrofit = null;
... |
dea3b8bc-b4d6-483b-b4c3-a9d34cedfa27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-10 12:45:46", "repo_name": "maurodim/electronica", "sub_path": "/src/objetos/GenerarQr.java", "file_name": "GenerarQr.java", "file_ext": "java", "file_size_in_byte": 1077, "line_count": 42, "lang": "en", "doc_... | https://github.com/maurodim/electronica | 257 | FILENAME: GenerarQr.java | 0.276691 | /*
* 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 objetos;
import com.barcodelib.barcode.QRCode;
/**
*
* @author mauro
*/
public class GenerarQr {
int udm... |
a0469db9-aa8c-4276-a500-afa4b18afbf9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-10 09:49:10", "repo_name": "kimkimani/GEO-CIRCLE", "sub_path": "/app/src/main/java/family/track/PasswordActivity.java", "file_name": "PasswordActivity.java", "file_ext": "java", "file_size_in_byte": 1117, "lin... | https://github.com/kimkimani/GEO-CIRCLE | 203 | FILENAME: PasswordActivity.java | 0.246533 | package family.track;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
public class PasswordActivity extends AppCompatActivity {
String email;
EditText e3;
@Override
... |
7e2bed81-bef3-492f-9934-09b9864dcdd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-31 17:54:41", "repo_name": "JonathanWibowo/FinalThesis", "sub_path": "/app/src/main/java/com/thesis/megahjaya/Session.java", "file_name": "Session.java", "file_ext": "java", "file_size_in_byte": 1121, "line_co... | https://github.com/JonathanWibowo/FinalThesis | 198 | FILENAME: Session.java | 0.262842 | // reference from: https://www.androidhive.info/2012/08/android-session-management-using-shared-preferences/
package com.thesis.megahjaya;
import android.content.Context;
import android.content.SharedPreferences;
public class Session {
Context context;
SharedPreferences sharedPreferences;
SharedPrefere... |
5697cd56-8f10-4825-a1cb-9fa0c10ff52a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-14 13:15:37", "repo_name": "xeniaka/spring-core-tutorial", "sub_path": "/spring-core-training-ex-12/src/main/java/common/aspect/Logging.java", "file_name": "Logging.java", "file_ext": "java", "file_size_in_byt... | https://github.com/xeniaka/spring-core-tutorial | 193 | FILENAME: Logging.java | 0.278257 | package common.aspect;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;
import java.util.Collection;
... |
f3182bdf-3f98-4f50-9061-ba884a3695cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-24 05:45:38", "repo_name": "Myung9/spring_1", "sub_path": "/src/main/java/com/myung9/spring/project1/Mycontact/domain/dto/Birthday.java", "file_name": "Birthday.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/Myung9/spring_1 | 212 | FILENAME: Birthday.java | 0.275909 | package com.myung9.spring.project1.Mycontact.domain.dto;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Embeddable;
import java.time.LocalDate;
@Embeddable //entity에 속해 있는 dto라는 것을 표시
@NoArgsConstructor
@Data
public class Birthday {
private Integer yearOfBirthday;
private Int... |
c6e9af50-8d2f-42d2-a47e-fb35e7bfe549 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-24T01:25:14", "repo_name": "domaframework/doma-quarkus", "sub_path": "/.github/ISSUE_TEMPLATE/bug_report.md", "file_name": "bug_report.md", "file_ext": "md", "file_size_in_byte": 1053, "line_count": 48, "l... | https://github.com/domaframework/doma-quarkus | 252 | FILENAME: bug_report.md | 0.239349 | ---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: nakamura-to
---
**Describe the bug**
(Describe the problem clearly and concisely.)
**Expected behavior**
(Describe the expected behavior clearly and concisely.)
**Actual behavior**
(Describe the actual behavior clearly an... |
438b262f-1bd1-471e-ad4c-8e71487ecd91 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-01-11T06:11:01", "repo_name": "mikelnorth/css-clones", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1054, "line_count": 16, "lang": "en", "doc_type": "text", "blo... | https://github.com/mikelnorth/css-clones | 213 | FILENAME: README.md | 0.226784 | # PIXEL PERFECT CSS CLONES
## About
This website is to showcase CSS / SCSS competency by pixel perfect clones of major websites.
## Table of Contents
### Note that Nike's website is always changing and the version that may be used today may differ from the clone I have created.
Regardless of differences between Nike... |
1b7c6b1f-3c06-4074-8032-d1c0974c0506 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-08 15:26:40", "repo_name": "ioannispriovolos/Android-Developer-Nanodegree", "sub_path": "/BakingApp/app/src/main/java/com/ioannispriovolos/android/bakingapp/DataProvider.java", "file_name": "DataProvider.java"... | https://github.com/ioannispriovolos/Android-Developer-Nanodegree | 195 | FILENAME: DataProvider.java | 0.27513 | package com.ioannispriovolos.android.bakingapp;
import android.content.Context;
import android.os.Handler;
import android.support.annotation.Nullable;
public class DataProvider {
private static final int DELAY_MILLIS = 10000;
public interface DataLoadedCallback{
void onDone();
}
public sta... |
671dcbf5-a04c-4a4f-9a4b-d4438b75a602 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-30 20:42:36", "repo_name": "rayniery/restaurant", "sub_path": "/src/main/java/rayniery/restaurant/api/model/MenuItem.java", "file_name": "MenuItem.java", "file_ext": "java", "file_size_in_byte": 1121, "line_co... | https://github.com/rayniery/restaurant | 188 | FILENAME: MenuItem.java | 0.255344 | package rayniery.restaurant.api.model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Value;
import rayniery.restaurant.persistance.entity.MenuItemEntity;
import java.math.BigDecimal;
@Value
@Builder(toBuilder = true)
@AllArgsConstructor
public class MenuItem {
long id;
String name;
... |
81e6ce6a-130a-4c11-b38b-ed982cba6584 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-03-30T18:04:45", "repo_name": "EuclideanOS-Legacy/resources", "sub_path": "/README.mkdn", "file_name": "README.mkdn", "file_ext": "mkdn", "file_size_in_byte": 1071, "line_count": 36, "lang": "en", "doc_type":... | https://github.com/EuclideanOS-Legacy/resources | 244 | FILENAME: README.mkdn | 0.261331 | Euclidean OS Resources
======================
This section includes all the resources outside the ROM. It contains the resources of EuclideanOS for themeres, xda thread template, build script and some other resources.
Build Script
-------------
release.sh
This script contains a menu based build system that can ... |
f2477f78-358c-4c40-8ac9-23c0bbdba183 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-17 11:27:22", "repo_name": "terre-virtuelle/navisu", "sub_path": "/navisu-media/src/main/java/bzh/terrevirtuelle/navisu/media/bathysounds/impl/controller/SoundAction.java", "file_name": "SoundAction.java", "fi... | https://github.com/terre-virtuelle/navisu | 246 | FILENAME: SoundAction.java | 0.288569 | /*
* 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 bzh.terrevirtuelle.navisu.media.bathysounds.impl.controller;
import bzh.terrevirtuelle.navisu.app.drivers.instrumentdriver.Ins... |
00cf7677-0755-4d50-a904-bf57cafd2104 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-11 16:26:17", "repo_name": "czarSevilla/evaluaciones", "sub_path": "/src/main/java/czar/evaluaciones/MvcConfig.java", "file_name": "MvcConfig.java", "file_ext": "java", "file_size_in_byte": 1120, "line_count":... | https://github.com/czarSevilla/evaluaciones | 211 | FILENAME: MvcConfig.java | 0.262842 | package czar.evaluaciones;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.convert.converter.Converter;
import org.springframework.format.FormatterRegist... |
bc22b5d9-cf72-463c-ad6e-82c717a40c3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-18 04:01:22", "repo_name": "chenshun131/SpringBootDemo", "sub_path": "/eureka/consumer-feign/src/main/java/com/chenshun/test/controller/RefactorConsumerController.java", "file_name": "RefactorConsumerControlle... | https://github.com/chenshun131/SpringBootDemo | 252 | FILENAME: RefactorConsumerController.java | 0.221351 | package com.chenshun.test.controller;
import com.chenshun.test.bean.User;
import com.chenshun.test.service.RefactorRefactService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**... |
a8ee563c-eda6-4205-bb38-99943a3ed03e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-03 17:13:06", "repo_name": "dsparber/audio-ant", "sub_path": "/AnalysisSoftware/AudioAnalysis/src/com/audioant/io/android/json/actions/DeleteSoundAction.java", "file_name": "DeleteSoundAction.java", "file_ext"... | https://github.com/dsparber/audio-ant | 213 | FILENAME: DeleteSoundAction.java | 0.293404 | package com.audioant.io.android.json.actions;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;
import org.json.simple.JSONObject;
import com.audioant.RaspberryTool;
import com.audioant.audio.learning.LearnedSounds;
import com.audioant.io.android.json.JsonFields;... |
3548d0da-4273-47b3-b69b-23d4433a8133 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-03 08:53:25", "repo_name": "sinake123/spark_maven", "sub_path": "/spark_maven/src/main/scala/com/yuan/hadoop/MapperDemo.java", "file_name": "MapperDemo.java", "file_ext": "java", "file_size_in_byte": 1015, "li... | https://github.com/sinake123/spark_maven | 207 | FILENAME: MapperDemo.java | 0.283781 | package com.yuan.hadoop;
import java.io.IOException;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
public class MapperDemo extends Mapper<LongWritable,Text,Text,LongWritable> {
private Text key;
private LongWritable value;
... |
97242351-325e-42b3-ab63-fc737bacea22 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-13 04:14:23", "repo_name": "matieuthe/TP_RMI", "sub_path": "/ChatClient.java", "file_name": "ChatClient.java", "file_ext": "java", "file_size_in_byte": 1079, "line_count": 33, "lang": "en", "doc_type": "code",... | https://github.com/matieuthe/TP_RMI | 218 | FILENAME: ChatClient.java | 0.291787 |
import java.net.MalformedURLException;
import java.rmi.*;
import java.util.*;
public class ChatClient {
public static void main(String[] argv) throws Exception {
try {
Scanner s = new Scanner(System.in);
System.out.print("Enter your name: ");
String name =... |
4024acd7-df54-46f9-82fb-df87f8a23f7c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-22 14:11:36", "repo_name": "biodiv-archived/biodiv-mobile-android", "sub_path": "/IBP/src/com/mobisys/android/ibp/widget/CheckableLayout.java", "file_name": "CheckableLayout.java", "file_ext": "java", "file_si... | https://github.com/biodiv-archived/biodiv-mobile-android | 207 | FILENAME: CheckableLayout.java | 0.256832 | package com.mobisys.android.ibp.widget;
import com.mobisys.android.ibp.R;
import android.annotation.SuppressLint;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.Checkable;
import android.widget.RelativeLayout;
public class CheckableLayout extends RelativeLayout implements Ch... |
3b230dda-948a-40cd-a176-1e9e0c6e9a82 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-10-21 20:25:55", "repo_name": "iamfiras/OpenRSSParser", "sub_path": "/src/main/java/openrssparser/models/atom/AtomFeed.java", "file_name": "AtomFeed.java", "file_ext": "java", "file_size_in_byte": 979, "line_coun... | https://github.com/iamfiras/OpenRSSParser | 268 | FILENAME: AtomFeed.java | 0.275909 | package openrssparser.models.atom;
import java.util.ArrayList;
import java.util.List;
/*
* url: http://www.ietf.org/rfc/rfc4287.txt
* section: 4.1.1. The "atom:feed" Element
* model:
*
* atomFeed =
* element atom:feed {
* atomCommonAttributes,
* (atomAuthor*
* & atomCategory*
* & atomContrib... |
08389502-3dd5-4646-8897-6f375dcece3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-08 15:32:45", "repo_name": "Garomir/MusicListClient", "sub_path": "/app/src/main/java/ru/ramich/musiclist/AlbumsAdapter.java", "file_name": "AlbumsAdapter.java", "file_ext": "java", "file_size_in_byte": 1011, ... | https://github.com/Garomir/MusicListClient | 222 | FILENAME: AlbumsAdapter.java | 0.273574 | package ru.ramich.musiclist;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import java.util.List;
public class AlbumsAdapter extends BaseAdapter {
private List<Album> myAlbums;
public AlbumsAdapter(List<Album> myAlbums) {
... |
0edaee02-4aa1-4b27-8370-f0d711175a11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-20 11:39:21", "repo_name": "Combodgony/NEUS", "sub_path": "/terminalLogistic/src/main/java/com/segvek/terminal/model/Estakada.java", "file_name": "Estakada.java", "file_ext": "java", "file_size_in_byte": 1070,... | https://github.com/Combodgony/NEUS | 249 | FILENAME: Estakada.java | 0.267408 | package com.segvek.terminal.model;
import java.util.List;
public class Estakada extends MainModel{
private TypeEstakada typeEstakada;
private String name;
private List<DrainLocation> drainLocations;
public Estakada(Long id, TypeEstakada typeEstakada, String name, List<DrainLocation> drainLo... |
fe87c23a-b8f4-475f-8281-9ae75fde5eee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-02 02:58:08", "repo_name": "Bruce-morty/springboot_mall_project", "sub_path": "/src/main/java/top/philxin/controller/wx/WxHomeController.java", "file_name": "WxHomeController.java", "file_ext": "java", "file_s... | https://github.com/Bruce-morty/springboot_mall_project | 225 | FILENAME: WxHomeController.java | 0.228156 | package top.philxin.controller.wx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.philxin.model.responseModel.CommonsModel.BaseRespVo;
import top.philxin.service.wx.W... |
c9948340-b9d8-4c8a-97c6-d143c7b6e364 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-08 08:49:58", "repo_name": "leroniris/Spring5", "sub_path": "/Spring/Spring5_proxy_static/src/com/lg/proxy/EmployeeServiceProxy.java", "file_name": "EmployeeServiceProxy.java", "file_ext": "java", "file_size_i... | https://github.com/leroniris/Spring5 | 209 | FILENAME: EmployeeServiceProxy.java | 0.26971 | package com.lg.proxy;
import com.lg.domain.Employee;
import com.lg.service.IEmployeeService;
import com.lg.tx.TransactionManager;
public class EmployeeServiceProxy implements IEmployeeService {
private IEmployeeService target;//真实对象/委托对象
private TransactionManager txManager;//事务管理对象
public void setTar... |
eec873c6-0b5a-4b8f-b7cd-ea9f3007d124 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-07-29 08:46:06", "repo_name": "OpenNTF/xLog", "sub_path": "/domino-logger/src/main/java/org/openntf/utils/UniqueThreadIdGenerator.java", "file_name": "UniqueThreadIdGenerator.java", "file_ext": "java", "file_size... | https://github.com/OpenNTF/xLog | 204 | FILENAME: UniqueThreadIdGenerator.java | 0.284576 | package org.openntf.utils;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.logging.Log;
/**
* Generator class used to get a transaction ID.
*
* @author Olle ThalÚn
*
*/
public class UniqueThreadIdGenerator {
/**
* This method returns a hash of the users distin... |
16dbd4f2-3abe-4d8b-9498-5f6c35851ed3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-02 11:16:20", "repo_name": "2871706122/javaJinJie", "sub_path": "/src/cn/zys/day520/doDolder/Druid_demo_test_uitles.java", "file_name": "Druid_demo_test_uitles.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/2871706122/javaJinJie | 235 | FILENAME: Druid_demo_test_uitles.java | 0.253861 | package cn.zys.day520.doDolder;
import cn.zys.day520.uitles.Jdbc_druid_uitles;
import java.sql.*;
/**
* 测试写的druid工具类
*/
@SuppressWarnings("ALL")
public class Druid_demo_test_uitles {
public static void main(String[] args) {
Connection connectionObj = null;
PreparedStatement preparedStatementObj... |
7eff621b-b9cc-4d5e-84b0-7a2fb7bd3a66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-27 10:00:45", "repo_name": "zstar2013/MyToolSet", "sub_path": "/src/com/mytools/android/file/FileLoader.java", "file_name": "FileLoader.java", "file_ext": "java", "file_size_in_byte": 1025, "line_count": 36, "... | https://github.com/zstar2013/MyToolSet | 203 | FILENAME: FileLoader.java | 0.262842 | package com.mytools.android.file;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.apache.http.util.EncodingUtils;
import android.content.Context;
public class FileLoader {
public static void getFileText(Context context) {
try {
InputStream in ... |
6720d192-6d4a-4241-8ce4-29d0bb65cc9e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-05 18:42:23", "repo_name": "ulyanovvladimir/androidweather", "sub_path": "/app/src/main/java/domain/androidweather/weather/services/ServiceHelperBase.java", "file_name": "ServiceHelperBase.java", "file_ext": "... | https://github.com/ulyanovvladimir/androidweather | 209 | FILENAME: ServiceHelperBase.java | 0.288569 | package domain.androidweather.weather.services;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
public abstract class ServiceHelperBase {
private final Context context;
private final int providerId;
private final String resultAction;
... |
099b99c5-03a6-4146-af82-e16179d82e4e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-08 12:04:17", "repo_name": "AhmedSM1/Movies-Application", "sub_path": "/app/src/main/java/com/example/movies/popularmovies/Utils/MyJobDispatcher.java", "file_name": "MyJobDispatcher.java", "file_ext": "java", ... | https://github.com/AhmedSM1/Movies-Application | 201 | FILENAME: MyJobDispatcher.java | 0.259826 | package com.example.movies.popularmovies.Utils;
import android.util.Log;
import androidx.annotation.NonNull;
import com.example.movies.popularmovies.Database.AppExecutors;
import com.example.movies.popularmovies.R;
import com.firebase.jobdispatcher.JobParameters;
import com.firebase.jobdispatcher.JobService;
public... |
4a8af541-5859-4449-8ae9-8c9d85d4942c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-16 22:55:29", "repo_name": "kreezxil/Ex-Nihilo-3", "sub_path": "/src/main/java/exnihilo2/registries/EN2Registries.java", "file_name": "EN2Registries.java", "file_ext": "java", "file_size_in_byte": 1006, "line_... | https://github.com/kreezxil/Ex-Nihilo-3 | 226 | FILENAME: EN2Registries.java | 0.293404 | package exnihilo2.registries;
import exnihilo2.registries.composting.CompostRegistry;
import exnihilo2.registries.hammering.HammerRegistry;
import exnihilo2.registries.sifting.SieveRegistry;
import net.minecraftforge.common.config.Configuration;
public class EN2Registries {
public static final String CATEGORY_DEFAUL... |
9eca0108-581f-4cbe-b78e-34f8d2998664 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-18 20:15:11", "repo_name": "yuwangdev/piana", "sub_path": "/src/main/java/com/piana/restModel/response/TimeStampListModel.java", "file_name": "TimeStampListModel.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/yuwangdev/piana | 219 | FILENAME: TimeStampListModel.java | 0.246533 | package com.piana.restModel.response;
import com.google.common.collect.Sets;
import java.util.Set;
/**
* Created by yuwang on 11/20/16.
*/
public class TimeStampListModel {
private int totalCount;
private Set<String> timeStampList = Sets.newConcurrentHashSet();
public TimeStampListModel(Set<String> ... |
ce698f47-8940-4994-80b8-eb39069887a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-27 15:18:43", "repo_name": "xyw55/xorm", "sub_path": "/src/main/java/com/xyw55/xorm/bean/JavaFieldGetSet.java", "file_name": "JavaFieldGetSet.java", "file_ext": "java", "file_size_in_byte": 1178, "line_count":... | https://github.com/xyw55/xorm | 287 | FILENAME: JavaFieldGetSet.java | 0.258326 | package com.xyw55.xorm.bean;
/**
* 封装java属性和get set方法的源代码
* Created by xiayiwei on 7/16/17.
*/
public class JavaFieldGetSet {
/**
* 属性源码信息,如: private int userId;
*/
private String fieldInfo;
/**
* get方法源码信息
*/
private String getInfo;
/**
* set方法源码信息
*/
privat... |
267cd3b4-bb90-49e0-b603-031d86ed88d3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-16 02:23:19", "repo_name": "WengShengyuan/rabbit-mq-client", "sub_path": "/src/main/java/org/wsy/mqendpoint/endpoint/serialization/SimpleSerialization.java", "file_name": "SimpleSerialization.java", "file_ext"... | https://github.com/WengShengyuan/rabbit-mq-client | 223 | FILENAME: SimpleSerialization.java | 0.249447 | package org.wsy.mqendpoint.endpoint.serialization;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import com.caucho.hessian.io.Hessian2StreamingInput;
import com.caucho.hessian.io.Hessian2StreamingOutput;
public class SimpleSerialization {
public static byte[] toByte(Object object) thro... |
dc0381cb-2a6c-4d05-962d-518f24f9da27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-01 13:15:46", "repo_name": "dskim9752/3Dshare", "sub_path": "/src/dto/UserBean.java", "file_name": "UserBean.java", "file_ext": "java", "file_size_in_byte": 1057, "line_count": 70, "lang": "en", "doc_type": "c... | https://github.com/dskim9752/3Dshare | 251 | FILENAME: UserBean.java | 0.250913 | package dto;
public class UserBean implements java.io.Serializable {
private String id;
private String password;
private String email;
private String name;
// default constructor
public UserBean() {
this(null,null,null,null);
}
// constructor
public UserBean(String id, String password, String email, Str... |
9c4b049f-5cbd-4422-a1ec-ebc4a6dcb1a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-06 18:04:29", "repo_name": "saidreamx/Alumni-Network", "sub_path": "/app/src/main/java/com/example/sanjeev/alumninetwork/signUp/welcome.java", "file_name": "welcome.java", "file_ext": "java", "file_size_in_byt... | https://github.com/saidreamx/Alumni-Network | 184 | FILENAME: welcome.java | 0.204342 | package com.example.sanjeev.alumninetwork.signUp;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
impo... |
0e333bc4-602e-46dc-94ee-f6ede511c00e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-28 09:07:11", "repo_name": "Blackun/mordern.java.in.action", "sub_path": "/chapter2/src/main/java/com/blackun/chapter17/TempSubscription.java", "file_name": "TempSubscription.java", "file_ext": "java", "file_s... | https://github.com/Blackun/mordern.java.in.action | 256 | FILENAME: TempSubscription.java | 0.279042 | package com.blackun.chapter17;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Flow.*;
public class TempSubscription implements Subscription {
private static final ExecutorService executor = Executors.newSingleThreadExecutor();
private final Subscrib... |
19fbb782-c58e-4fb8-bef9-c4100852badf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-01-05T06:28:36", "repo_name": "ganesh2shiv/vedicnerd-blog-theme", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1120, "line_count": 33, "lang": "en", "doc_type": "... | https://github.com/ganesh2shiv/vedicnerd-blog-theme | 252 | FILENAME: README.md | 0.224055 | Vedic Nerd 1.1
==============
A modified version of [Manifest](https://theme.wordpress.com/themes/manifest/) (a minimalistic Wordpress theme)
Screenshot
----------

**Note: It's not responsive. So it probably won't look good on mobile devices.**
(I know it sucks. But you can check ou... |
c2eebd08-ad02-4cc6-997d-3d646c90472d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-22 11:13:23", "repo_name": "yollpoll/CardShop", "sub_path": "/app/src/main/java/com/cardshop/cardshop/View/Activity/SettingActivity.java", "file_name": "SettingActivity.java", "file_ext": "java", "file_size_in... | https://github.com/yollpoll/CardShop | 193 | FILENAME: SettingActivity.java | 0.243642 | package com.cardshop.cardshop.View.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import com.cardshop.cardshop.Base.BaseActivity;
import com.cardshop.cardshop.Contract.SettingContract;
import com.cardshop.cardshop.Presente... |
de6bc459-f003-434d-9532-00a8f08010dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-29 04:20:29", "repo_name": "hgongguo/SpringBootSample", "sub_path": "/src/main/java/com/redis/RedisTest.java", "file_name": "RedisTest.java", "file_ext": "java", "file_size_in_byte": 1011, "line_count": 38, "l... | https://github.com/hgongguo/SpringBootSample | 301 | FILENAME: RedisTest.java | 0.249447 | package com.redis;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
/**
* Created by hgg on 2019/10/29.
*/
public class RedisTest {
public static void main(String[] args) {
Jedis jedis = new Jedis("127.0.0.1",6379);
jedis.set("test","Hello");
System.out.println(je... |
2655ba20-c3b0-49ab-9d23-2bd8c9c3ecfd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-20 12:49:55", "repo_name": "sanchezalejandro86/rrhh", "sub_path": "/src/main/java/ar/com/vault/dto/DepartmentClientDto.java", "file_name": "DepartmentClientDto.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/sanchezalejandro86/rrhh | 242 | FILENAME: DepartmentClientDto.java | 0.210766 | package ar.com.vault.dto;
import io.swagger.annotations.ApiModelProperty;
/**
* Created by alejandro on 17/11/18.
*/
public class DepartmentClientDto {
@ApiModelProperty(notes = "El nombre del departamento")
private String name;
@ApiModelProperty(notes = "El ID del manager")
private Long managerId;... |
186d6203-ab1c-4da1-a45b-13b1f2d783ea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-02 06:56:07", "repo_name": "sarailaraselenium02/scenic", "sub_path": "/src/test/java/com/scenic/config/BaseConfig.java", "file_name": "BaseConfig.java", "file_ext": "java", "file_size_in_byte": 1089, "line_cou... | https://github.com/sarailaraselenium02/scenic | 235 | FILENAME: BaseConfig.java | 0.26588 | package com.scenic.config;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class BaseConfig {
private WebDriver driver;
public BaseConfig(WebDriver driver) {
this.driver = driver;
}
public WebDri... |
d836185f-7845-4129-9e9e-e4221424e909 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-09 17:22:49", "repo_name": "mpgarate/DropSearch", "sub_path": "/src/main/java/edu/nyu/mpgarate/dropsearch/util/IOUtil.java", "file_name": "IOUtil.java", "file_ext": "java", "file_size_in_byte": 1120, "line_cou... | https://github.com/mpgarate/DropSearch | 214 | FILENAME: IOUtil.java | 0.242206 | package edu.nyu.mpgarate.dropsearch.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.nio.charset.StandardCharsets;
/**
* Created by mike on 4/14/15.
*/
public final class IOUtil {
/**
* http:/... |
0695bf82-9314-40d3-b523-bef2687719ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-12-22T09:13:57", "repo_name": "ianwinter/ian.io", "sub_path": "/_posts/2007-02-12-xpath-is-my-new-friend.md", "file_name": "2007-02-12-xpath-is-my-new-friend.md", "file_ext": "md", "file_size_in_byte": 1030, ... | https://github.com/ianwinter/ian.io | 296 | FILENAME: 2007-02-12-xpath-is-my-new-friend.md | 0.274351 | ---
layout: post
status: publish
title: XPath is my new friend
date: '2007-02-12 22:29:00 +0000'
date_gmt: '2007-02-12 22:29:00 +0000'
tags:
- coldfusion
- xml
- xpath
- code
---
Doing something at work which involves me grabbing an XML feed from a third party provider on a daily basis then sticking it in a database s... |
ec1d5fdc-eccd-4d6d-b441-d813a1e9d441 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-19 03:48:38", "repo_name": "gordonwu66/pokemon-collector", "sub_path": "/src/Pokemon.java", "file_name": "Pokemon.java", "file_ext": "java", "file_size_in_byte": 1076, "line_count": 51, "lang": "en", "doc_type... | https://github.com/gordonwu66/pokemon-collector | 262 | FILENAME: Pokemon.java | 0.264358 | /*
* Main Pokemon entities to encapsulate different stats and be encountered/collected
*/
public class Pokemon {
// From 1 to 100 and used to calculate other stats
private int lvl;
// From 1 to 100 and used for encounter appearances and catch difficulty
private int rarity;
private int dexId;
p... |
748bd117-fe8a-4f11-890a-16f49be3f75a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-24 15:51:16", "repo_name": "71mY4ng/learnJava", "sub_path": "/src/main/java/com/company/net/SourceViewer2.java", "file_name": "SourceViewer2.java", "file_ext": "java", "file_size_in_byte": 1101, "line_count": ... | https://github.com/71mY4ng/learnJava | 200 | FILENAME: SourceViewer2.java | 0.261331 | package com.company.net;
import java.io.*;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
/**
* Download web page by URLConnection
*/
public class SourceViewer2 {
public static void main(String[] args) {
if (args.length > 0) {
try {
... |
e4650c4b-d4fb-427b-a112-188b4480fd73 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-29 15:02:01", "repo_name": "HubertYoung/AcFun", "sub_path": "/acfun5_7/src/main/java/com/igexin/push/extension/distribution/basic/l/n.java", "file_name": "n.java", "file_ext": "java", "file_size_in_byte": 1121... | https://github.com/HubertYoung/AcFun | 213 | FILENAME: n.java | 0.291787 | package com.igexin.push.extension.distribution.basic.l;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Draw... |
0363c217-10a6-4c50-94e8-4d968a0accb6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-28 04:49:21", "repo_name": "yangdongpo418/pwc", "sub_path": "/app/src/main/java/com/pwc/sdc/recruit/data/remote/RetrofitHelper.java", "file_name": "RetrofitHelper.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/yangdongpo418/pwc | 212 | FILENAME: RetrofitHelper.java | 0.243642 | package com.pwc.sdc.recruit.data.remote;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory;
import retrofit2.converter.gson.GsonConverterFactory;
/**
* @author:dongpo 创建时间: 6/20/2016
* 描述:
* 修改:
*/
public class RetrofitHelper {
private final Retrofit mRetrofit;
private f... |
f535f4ae-9afe-46da-9e1b-5b06a0c72d2f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-01-10T03:50:23", "repo_name": "smallpaes/google-map-api-practice-map", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1066, "line_count": 57, "lang": "en", "doc_typ... | https://github.com/smallpaes/google-map-api-practice-map | 289 | FILENAME: README.md | 0.286169 | # # Google Api Practice: Map
This project is built with Vue.js and Google Map API, and is used to practice creating map, marker, and info window on a single page application.
## Project First Look

<p> </p>
## Project setup
### Clone
Clone this repository to your... |
9a6996b6-2a67-4074-a250-34ce6d9f9e10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-07 12:17:27", "repo_name": "RottingAlien/theisledmgcalc", "sub_path": "/src/main/java/rottingalien/theisledmgcalc/dinos/herbivores/puertasaurus/Puertasaurus.java", "file_name": "Puertasaurus.java", "file_ext":... | https://github.com/RottingAlien/theisledmgcalc | 256 | FILENAME: Puertasaurus.java | 0.273574 | package rottingalien.theisledmgcalc.dinos.herbivores.puertasaurus;
import rottingalien.theisledmgcalc.Dino;
import rottingalien.theisledmgcalc.GrowthState;
public class Puertasaurus extends Dino {
public Puertasaurus() {
wire();
}
public void wire() {
setName("Puertasaurus");
se... |
be33b07e-d444-4bcd-a7ff-3fbb1b402527 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-29 12:16:39", "repo_name": "Thornchoc/mag", "sub_path": "/src/test/java/com/thorntons/pages/AccountPage.java", "file_name": "AccountPage.java", "file_ext": "java", "file_size_in_byte": 1067, "line_count": 33, ... | https://github.com/Thornchoc/mag | 209 | FILENAME: AccountPage.java | 0.235108 | package com.thorntons.pages;
import io.magentys.cinnamon.webdriver.collections.PageElementCollection;
import io.magentys.cinnamon.webdriver.elements.PageElement;
import io.magentys.cinnamon.webdriver.support.FindByKey;
import org.openqa.selenium.support.FindBy;
import static io.magentys.cinnamon.webdriver.cond... |
d9070d2a-6afe-4c32-b9be-d3ee0bbfbd3f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-06 16:40:38", "repo_name": "singinglia/Ancestory-Mapping-Server", "sub_path": "/SharedFamilyFiles/src/results/EventResult.java", "file_name": "EventResult.java", "file_ext": "java", "file_size_in_byte": 1033, ... | https://github.com/singinglia/Ancestory-Mapping-Server | 194 | FILENAME: EventResult.java | 0.274351 | package results;
public class EventResult extends BasicResult{
private String eventID;
private String associatedUsername;
private String personID;
private Float latitude;
private Float longitude;
private String country;
private String city;
private String eventType;
priva... |
e5d968b9-8a50-4aeb-848e-f18a3f830383 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-28 03:50:57", "repo_name": "KaiserDeng/ks-sdk-boot", "sub_path": "/src/main/java/com/haihun/pay/PayCallBackUrlConst.java", "file_name": "PayCallBackUrlConst.java", "file_ext": "java", "file_size_in_byte": 1183... | https://github.com/KaiserDeng/ks-sdk-boot | 339 | FILENAME: PayCallBackUrlConst.java | 0.235108 | package com.haihun.pay;
/**
* 支付回调常量类
*
* @author kaiser·von·d
* @version 2018/5/2
*/
public class PayCallBackUrlConst {
private static boolean isDev = true;
/**
* 支付宝回调接口
*/
public static final String ALIPAY_CALL_BACK_URL ;
/**
* 微信支付回调接口
*/
public static final String W... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.