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 |
|---|---|---|---|---|---|---|
82de7e5b-bb58-4eee-848c-7dd951e838ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-03 13:28:32", "repo_name": "fakerbrother/citic_demo", "sub_path": "/src/main/java/com/citic/demo/service/impl/UserProductServiceImpl.java", "file_name": "UserProductServiceImpl.java", "file_ext": "java", "file... | https://github.com/fakerbrother/citic_demo | 187 | FILENAME: UserProductServiceImpl.java | 0.264358 | package com.citic.demo.service.impl;
import com.citic.demo.dao.UserProductRepository;
import com.citic.demo.entity.UserProductPO;
import com.citic.demo.service.UserProductService;
import com.citic.demo.vo.UserProductVO;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class UserP... |
c8131ce2-a9df-4d71-882b-f4be7e4f3714 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-23 16:33:15", "repo_name": "huangshiqiang/demo", "sub_path": "/code/cn.elwy.editor/src/main/java/cn/elwy/editor/action/ActionDynamicMenu.java", "file_name": "ActionDynamicMenu.java", "file_ext": "java", "file_... | https://github.com/huangshiqiang/demo | 240 | FILENAME: ActionDynamicMenu.java | 0.26588 | package cn.elwy.editor.action;
import java.util.Date;
import org.eclipse.jface.action.ContributionItem;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.MenuItem;
/*... |
4dab020f-151e-42f0-834a-311d93b3a70c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-11-11 04:07:17", "repo_name": "toff63/esper", "sub_path": "/temperature-controller/src/main/java/net/francesbagual/github/esper/EsperEngine.java", "file_name": "EsperEngine.java", "file_ext": "java", "file_size_i... | https://github.com/toff63/esper | 208 | FILENAME: EsperEngine.java | 0.250913 | package net.francesbagual.github.esper;
import com.espertech.esper.client.Configuration;
import com.espertech.esper.client.EPServiceProvider;
import com.espertech.esper.client.EPServiceProviderManager;
import com.espertech.esper.client.EPStatement;
import com.espertech.esper.client.UpdateListener;
public class EsperE... |
a774710c-7969-4bf9-8850-59ee17f9dfc0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-11 18:58:17", "repo_name": "lucasstarsz/jfxtras-styles", "sub_path": "/jmetro--samples/src/main/java/jfxtras/styles/jmetro/OverridingStylesheetSample.java", "file_name": "OverridingStylesheetSample.java", "fil... | https://github.com/lucasstarsz/jfxtras-styles | 196 | FILENAME: OverridingStylesheetSample.java | 0.271252 | package jfxtras.styles.jmetro;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class OverridingStylesheetSample extends Application {
private static final String SLIDER_RESOURCE = "JMetro Slider.fxml";
... |
48a6e3d0-3296-4660-a546-84598a9a7eb1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-20 07:45:39", "repo_name": "September31st/CleanDemo", "sub_path": "/app/src/main/java/com/example/mylo/cleandemo/domain/usecase/ZhihuUseCase.java", "file_name": "ZhihuUseCase.java", "file_ext": "java", "file_s... | https://github.com/September31st/CleanDemo | 258 | FILENAME: ZhihuUseCase.java | 0.264358 | package com.example.mylo.cleandemo.domain.usecase;
import android.util.Log;
import com.example.mylo.cleandemo.domain.entity.ZhihuNewsEntity;
import com.example.mylo.cleandemo.domain.exception.ApiException;
import com.example.mylo.cleandemo.domain.repository.ZhihuRepository;
import org.reactivestreams.Publisher;
imp... |
5efd3d50-a9ff-4538-a8ac-b29c865f8d70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-01-27T11:28:24", "repo_name": "vanadium23/cf-metrics", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1017, "line_count": 35, "lang": "en", "doc_type": "text", "blo... | https://github.com/vanadium23/cf-metrics | 255 | FILENAME: README.md | 0.225417 | # Cloudflare metrics worker
Send your page views from [Cloudflare worker](https://developers.cloudflare.com/workers/) to InfluxDB.

## Requirements
1. Your site need to be setup behind Cloudflare CDN.
2. You need to setup InfluxDB with external access (make sure you have set ... |
1b059a80-57b5-4468-84b6-f5fc6fe55cfa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-21T04:43:19", "repo_name": "jgm/skylighting", "sub_path": "/skylighting-core/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1025, "line_count": 22, "lang": "en", "doc_type": "... | https://github.com/jgm/skylighting | 239 | FILENAME: README.md | 0.200558 | skylighting-core
================
[](https://opensource.org/licenses/BSD-3-Clause)
[](https://travis-ci.org/jgm/skylighting-core)
This package provides the core ... |
578108e0-3bd0-43a6-9f4e-9c0643214b0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-14 14:03:58", "repo_name": "Nebulous03/LoreEngine2D-V7", "sub_path": "/LoreEngine-Core/src/main/java/loreEngine/core/graphics/vertex/VertexBuffer.java", "file_name": "VertexBuffer.java", "file_ext": "java", "f... | https://github.com/Nebulous03/LoreEngine2D-V7 | 254 | FILENAME: VertexBuffer.java | 0.29584 | package loreEngine.core.graphics.vertex;
import static org.lwjgl.opengl.GL15.*;
import java.nio.FloatBuffer;
import org.lwjgl.system.MemoryUtil;
public class VertexBuffer {
private FloatBuffer data;
private int bufferID;
private int vecSize;
private int size;
public VertexBuffer(float[] data, int vecSize... |
08fa5a34-5b1c-4360-8b8d-1728e5390f15 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-11 15:11:41", "repo_name": "fengg5241/aircon", "sub_path": "/bizproject/src/main/java/com/panasonic/b2bacns/bizportal/persistence/Groupcategory.java", "file_name": "Groupcategory.java", "file_ext": "java", "fi... | https://github.com/fengg5241/aircon | 211 | FILENAME: Groupcategory.java | 0.243642 | package com.panasonic.b2bacns.bizportal.persistence;
import java.io.Serializable;
import javax.persistence.*;
/**
* The persistent class for the groupcategory database table.
*
*/
@Entity
@Table(name="groupcategory")
@NamedQuery(name="Groupcategory.findAll", query="SELECT g FROM Groupcategory g")
pu... |
f71ae962-39b7-43bc-ab3e-3de06f81e056 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-13 13:32:39", "repo_name": "liuxianshengCn/vcircle", "sub_path": "/vcircle/src/main/java/com/v/circle/cloud/base/ErrorController.java", "file_name": "ErrorController.java", "file_ext": "java", "file_size_in_by... | https://github.com/liuxianshengCn/vcircle | 240 | FILENAME: ErrorController.java | 0.218669 | package com.v.circle.cloud.base;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* @Author Dell
* @Date 2018/1/24 10:56
* @Description... |
3d04a6c9-ca55-4226-906d-3fa9c39f0915 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-10 07:48:02", "repo_name": "MatiasEJ/java-hotel-apirest", "sub_path": "/src/main/java/com/hotel/model/entity/Habitacion.java", "file_name": "Habitacion.java", "file_ext": "java", "file_size_in_byte": 1120, "li... | https://github.com/MatiasEJ/java-hotel-apirest | 238 | FILENAME: Habitacion.java | 0.271252 | package com.hotel.model.entity;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.*;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "habitaciones")
public class Habitacion extends BaseEnti... |
264276f4-b4e0-49c0-bb00-5b8fbdc3ea35 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-15 04:44:24", "repo_name": "lowpitched/m-picker", "sub_path": "/m-picker/src/com/mlh/util/JDBCUtil.java", "file_name": "JDBCUtil.java", "file_ext": "java", "file_size_in_byte": 1057, "line_count": 43, "lang": ... | https://github.com/lowpitched/m-picker | 226 | FILENAME: JDBCUtil.java | 0.274351 | package com.mlh.util;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Properties;
import com.mbag.log.LogTools;
public class JDBCUtil {
public static Properties property;
static{
try {
property = new Properties();
prop... |
d8a46c5c-a886-433f-a1b5-7fa6b28864de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-16 23:59:43", "repo_name": "ETdvlpr/Traffic-system", "sub_path": "/ITS/netbeans project/src/com/GUI/theme.java", "file_name": "theme.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": 37, "lan... | https://github.com/ETdvlpr/Traffic-system | 219 | FILENAME: theme.java | 0.280616 | /*
* 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 com.GUI;
import com.Pages.MainWindow;
import java.awt.Font;
/**
*
* @author dave
*/
public class theme {
public stati... |
7bc94b0f-91e1-4c62-b170-a655b5b3c69d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-07 08:18:32", "repo_name": "honj51/tn_abt", "sub_path": "/abt-service/src/main/java/com/tuniu/abt/service/issue/IssueResultReporter.java", "file_name": "IssueResultReporter.java", "file_ext": "java", "file_siz... | https://github.com/honj51/tn_abt | 210 | FILENAME: IssueResultReporter.java | 0.217338 | package com.tuniu.abt.service.issue;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.tuniu.abt.intf.dto.issue.response.IssueResponse;
import com.tuniu.abt.utils.RestClientComponent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframewor... |
87f5aebb-df0b-446b-b0cd-bc9bee85e96a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-27 12:28:04", "repo_name": "Kostersson/Kostajabot", "sub_path": "/src/kostajabot/core/Channel.java", "file_name": "Channel.java", "file_ext": "java", "file_size_in_byte": 1122, "line_count": 52, "lang": "en", ... | https://github.com/Kostersson/Kostajabot | 226 | FILENAME: Channel.java | 0.236516 |
package kostajabot.core;
import java.util.ArrayList;
import kostajabot.core.exceptions.*;
/**
*
* @author Kostersson
*/
public class Channel {
private final String channelName;
private final String network;
private ArrayList<String> users;
public Channel(String channelName, String network) {
... |
c4283c92-79f4-4ebd-b81a-ebde56ca0fd0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-27 21:34:05", "repo_name": "datacite/mds", "sub_path": "/src/main/java/org/datacite/mds/web/api/controller/StatusController.java", "file_name": "StatusController.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/datacite/mds | 187 | FILENAME: StatusController.java | 0.239349 | package org.datacite.mds.web.api.controller;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.datacite.mds.service.HandleException;
import org.datacite.mds.service.HandleService;
import org.datacite.mds.web.api.ApiController;
import org.springframework.beans.factory.anno... |
81ceaf35-f836-46fc-b5e8-709726be19ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-11 10:28:09", "repo_name": "Yurwar/registration-form", "sub_path": "/src/main/java/com/yurwar/model/dao/impl/JDBCDaoFactory.java", "file_name": "JDBCDaoFactory.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/Yurwar/registration-form | 189 | FILENAME: JDBCDaoFactory.java | 0.253861 | package com.yurwar.model.dao.impl;
import com.yurwar.model.dao.DaoFactory;
import com.yurwar.model.dao.RecordDao;
import java.io.FileReader;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Properties;
public class JDBCDaoFactory ex... |
b82710d6-ce5f-439b-878b-21f5d64369c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-28 10:02:08", "repo_name": "amelielaurent/appnews", "sub_path": "/app/src/main/java/com/newsgobelins/user/appnews/database/DatabaseHelper.java", "file_name": "DatabaseHelper.java", "file_ext": "java", "file_si... | https://github.com/amelielaurent/appnews | 186 | FILENAME: DatabaseHelper.java | 0.247987 | package com.newsgobelins.user.appnews.database;
import android.content.Context;
import java.util.concurrent.Callable;
import androidx.room.Room;
import bolts.Continuation;
import bolts.Task;
public class DatabaseHelper {
private static NewsDatabase database;
public static void init(final Context context) {... |
1857fee7-540c-4bb7-a447-f4c634ae200f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-04 14:21:56", "repo_name": "YuriiAndreitsev/java-concurrency-training", "sub_path": "/src/main/com/exchanger/goldmine/OrcWarehouseWorker.java", "file_name": "OrcWarehouseWorker.java", "file_ext": "java", "file... | https://github.com/YuriiAndreitsev/java-concurrency-training | 211 | FILENAME: OrcWarehouseWorker.java | 0.268941 | package main.com.exchanger.goldmine;
import java.util.concurrent.Exchanger;
import java.util.concurrent.TimeUnit;
public class OrcWarehouseWorker implements Runnable {
private String name;
private final Exchanger<Integer> ex;
private Warehouse warehouse;
private int cart = 0;
private int receivedG... |
84012c18-e920-4233-9f13-acb773481757 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-01 10:44:06", "repo_name": "hubangmao/knowledge", "sub_path": "/Android知识点/框架/课堂封装框架/启动相册照相裁剪图片框架/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1052, "line_coun... | https://github.com/hubangmao/knowledge | 204 | FILENAME: MainActivity.java | 0.220007 | package cn.ucai.test2;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
/**
* 模拟QQ下载安装
*/
public class MainActivity extends AppCompatActivity {
private ImageView mImageView;
OnSetAvatarListene... |
1c364412-cca9-4fa2-8a3f-52d75d90a85a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-01 04:12:13", "repo_name": "robin1995dhillon/HockeySimulation", "sub_path": "/src/main/java/dhl/leagueModel/FreeAgents.java", "file_name": "FreeAgents.java", "file_ext": "java", "file_size_in_byte": 1052, "lin... | https://github.com/robin1995dhillon/HockeySimulation | 225 | FILENAME: FreeAgents.java | 0.259826 | package dhl.leagueModel;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.ArrayList;
import java.util.List;
@JsonDeserialize(as = FreeAgents.class)
public class FreeAgents extends AllPlayers implements IFreeAgents {
public FreeAgents() {
super();
}
@Override
... |
b975f8be-e2a5-45c9-988d-8d067e0e7fdd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-09-18T19:57:10", "repo_name": "chedaroo/Leytech_PrototypeUpdate", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1019, "line_count": 36, "lang": "en", "doc_type": "... | https://github.com/chedaroo/Leytech_PrototypeUpdate | 235 | FILENAME: README.md | 0.195594 | ## Update Prototype JavaScript library for Magento 1
A Magento 1 extension to cleanly update the Prototype Javascript library to 1.7.2 (or other versions).
### Features
- Provides an admin option to cleanly update the Prototype library to version 1.7.1, 1.7.2 or 1.7.3
- Does not affect the load order of Javascript re... |
6f2d1159-1563-4098-ae20-fa87eae86bb6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-28 07:21:16", "repo_name": "liiibpm/easyexcel-demo", "sub_path": "/src/main/java/top/lrshuai/excel/exceltool/dropdown/service/OccupationDropDownService.java", "file_name": "OccupationDropDownService.java", "fi... | https://github.com/liiibpm/easyexcel-demo | 245 | FILENAME: OccupationDropDownService.java | 0.281406 | package top.lrshuai.excel.exceltool.dropdown.service;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.springframework.util.ObjectUtils;
import top.lrshuai.excel.exceltool.dict.entity.DictValue;
import top.lrshuai.excel.exceltool.dict.service.IDictValueService;
import top.lrshuai.ex... |
9f8d4686-40f1-40c5-8598-0e39bb2cdbdb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-03 08:52:45", "repo_name": "victsomie/spring-boot-soap-example", "sub_path": "/src/main/java/victor/users/UserEndpoint.java", "file_name": "UserEndpoint.java", "file_ext": "java", "file_size_in_byte": 1060, "l... | https://github.com/victsomie/spring-boot-soap-example | 187 | FILENAME: UserEndpoint.java | 0.235108 | package victor.users;
import com.techprimers.spring_boot_soap_example.GetUserRequest;
import com.techprimers.spring_boot_soap_example.GetUserResponse;
import com.techprimers.spring_boot_soap_example.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ws.server.endpoint.annot... |
b7bd7632-257a-487e-a553-c8e856399edd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-12 01:09:08", "repo_name": "Aran1018/SandW", "sub_path": "/android/app/src/main/java/com/triplebro/aran/sandw/managers/FirstPageManager.java", "file_name": "FirstPageManager.java", "file_ext": "java", "file_si... | https://github.com/Aran1018/SandW | 242 | FILENAME: FirstPageManager.java | 0.291787 | package com.triplebro.aran.sandw.managers;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.IBinder;
import com.triplebro.aran.sandw.handlers.FirstPageHandler;
import com.triplebro.aran.sandw.services.Netwo... |
a0cd190e-6bfd-400e-8476-7d6f81f3a228 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-09-03 14:09:34", "repo_name": "GrishaAngelov/gwt-bank", "sub_path": "/GWT-Bank/src/main/java/com/clouway/gwtbank/client/editor/UserEditor.java", "file_name": "UserEditor.java", "file_ext": "java", "file_size_in_b... | https://github.com/GrishaAngelov/gwt-bank | 231 | FILENAME: UserEditor.java | 0.2227 | package com.clouway.gwtbank.client.editor;
import com.clouway.gwtbank.shared.UserProxy;
import com.clouway.gwtbank.shared.UserRequestFactory;
import com.google.gwt.core.client.GWT;
import com.google.gwt.editor.client.Editor;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;... |
b1dcd34f-85eb-4355-9e3d-8a4961791000 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-29 10:03:56", "repo_name": "13616632061/TakeOut", "sub_path": "/app/src/main/java/com/example/administrator/takeout/bean/MultiItemView.java", "file_name": "MultiItemView.java", "file_ext": "java", "file_size_i... | https://github.com/13616632061/TakeOut | 216 | FILENAME: MultiItemView.java | 0.228156 | package com.example.administrator.takeout.bean;
import com.chad.library.adapter.base.entity.MultiItemEntity;
/**
* Created by Administrator on 2018/8/28.
*/
public class MultiItemView<T> implements MultiItemEntity {
public static final int TITLE = 1;
public static final int BODY = 2;
public static fin... |
79a2d5ba-7383-4c61-87c5-29237fbd1df4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-25 14:48:42", "repo_name": "MeetMeCJ/gcm", "sub_path": "/app/src/main/java/gcm/play/android/samples/com/gcmquickstart/fragment/FragmentPagerMain.java", "file_name": "FragmentPagerMain.java", "file_ext": "java"... | https://github.com/MeetMeCJ/gcm | 204 | FILENAME: FragmentPagerMain.java | 0.242206 | package gcm.play.android.samples.com.gcmquickstart.fragment;
import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
public class FragmentPagerMain extends FragmentPagerAdapter {
final int PAGE_COU... |
c7427807-db47-45ec-a08c-a3a2cfa5eed4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-16 06:03:28", "repo_name": "CorvetteCole/NOHS-Edge-Client", "sub_path": "/NOHSEdge/app/src/main/java/corve/nohsedge/SettingsFragment.java", "file_name": "SettingsFragment.java", "file_ext": "java", "file_size_... | https://github.com/CorvetteCole/NOHS-Edge-Client | 188 | FILENAME: SettingsFragment.java | 0.249447 | package corve.nohsedge;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.PreferenceFragment;
import static corve.nohsedge.MainActivity.minValue;
/**
* Created by Cole on 9/27/2017.
*/
public class SettingsFragment extends PreferenceFragment {
@Override
public voi... |
a1ec58ec-d298-4e05-a6a1-fc60b0b110d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-30 08:52:42", "repo_name": "KleinDevDE/TwitchBot", "sub_path": "/client/src/main/java/de/kleindev/twitchbot/utils/ArgonManager.java", "file_name": "ArgonManager.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/KleinDevDE/TwitchBot | 248 | FILENAME: ArgonManager.java | 0.279042 | package de.kleindev.twitchbot.utils;
import de.kleindev.twitchbot.websocket.packets.auth.ArgonIterationPacket;
import de.mkammerer.argon2.Argon2;
import de.mkammerer.argon2.Argon2Helper;
public class ArgonManager {
private static Argon2 argon2;
public static int iterations;
public ArgonManager(Argon2 arg... |
4a33ca1b-9e48-4702-bb0a-06a7fbb3bde5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-30 02:58:24", "repo_name": "newSue/aster", "sub_path": "/aster/src/main/java/com/bluestone/aster/job/NewBondsJob.java", "file_name": "NewBondsJob.java", "file_ext": "java", "file_size_in_byte": 1151, "line_cou... | https://github.com/newSue/aster | 244 | FILENAME: NewBondsJob.java | 0.256832 | package com.bluestone.aster.job;
import com.bluestone.aster.biz.mapper.NewBondsDao;
import com.bluestone.aster.utils.time.SystemTime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Profile;
import org... |
e1a88eab-7e25-4861-b9d1-b29f4e50ea2f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-22 06:14:10", "repo_name": "JackpotHan/Logistics-management-platform", "sub_path": "/lmp-base/src/main/java/com/jackpot/base/encrypt/MD5.java", "file_name": "MD5.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/JackpotHan/Logistics-management-platform | 265 | FILENAME: MD5.java | 0.282196 | package com.jackpot.base.encrypt;
import com.jackpot.base.base.BaseUtil;
import com.jackpot.base.utils.StrConvertUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.security.MessageDigest;
/**
* @Author: Hanjt
* @Date: 2018/8/2 12:49
* @Description: MD5加密
*/
public final class MD5 {
p... |
9317adb4-fc83-4f5a-849a-03e291459c36 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-07 20:42:22", "repo_name": "almiso/GiffyApp", "sub_path": "/app/src/main/java/org/almiso/giffy/network/implementation/util/RetrofitUrlBuilder.java", "file_name": "RetrofitUrlBuilder.java", "file_ext": "java", ... | https://github.com/almiso/GiffyApp | 206 | FILENAME: RetrofitUrlBuilder.java | 0.290176 | package org.almiso.giffy.network.implementation.util;
import android.net.Uri;
import android.support.annotation.NonNull;
import org.almiso.giffy.network.core.request.NetworkRequest;
import org.almiso.giffy.network.core.request.NetworkRequestPath;
import org.almiso.giffy.network.core.util.UrlBuilder;
import java.net... |
7cc06794-cdda-4c54-9301-3a8b68ef937b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-12 08:32:51", "repo_name": "Cynthia0329/Android", "sub_path": "/addressBook/01-本次项目的安卓工程/Contact/app/src/main/java/com/cqnu/chenyudan/activity/Alarm/AlarmActivity.java", "file_name": "AlarmActivity.java", "fil... | https://github.com/Cynthia0329/Android | 231 | FILENAME: AlarmActivity.java | 0.258326 | package com.cqnu.chenyudan.activity.Alarm;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TimePicker;
import com.cqnu.chenyudan.R;
/**
* 事务提醒,设置提醒时间
*/
public class AlarmActivity extends AppCompa... |
0f0a63d5-5d7c-4984-978f-3689f5aeb109 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-04T18:43:18", "repo_name": "wilsonj24/Message-Coder-Decoder", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1042, "line_count": 22, "lang": "en", "doc_type": "t... | https://github.com/wilsonj24/Message-Coder-Decoder | 218 | FILENAME: README.md | 0.284576 |
### Project: Message Coder/Decoder
### By: Jordan Wilson
# About:
This project was designed to show how one can encrypt and decrypt passwords with an associated key.
Users are given the opportunity to create a private message and send it to other users
but they can only view the message with the key associated with ... |
fa507a05-5cfe-4ce5-ad9e-a3b652125c84 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-17 05:02:01", "repo_name": "sandeepk1210/recipe", "sub_path": "/src/main/java/com/sandeep/recipe/service/ConfigServicesImpl.java", "file_name": "ConfigServicesImpl.java", "file_ext": "java", "file_size_in_byte... | https://github.com/sandeepk1210/recipe | 215 | FILENAME: ConfigServicesImpl.java | 0.272799 | package com.sandeep.recipe.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.sandeep.recipe.dao.ConfigDao;
import com.sandeep.recipe.tables.Cuisine;
import com.sandeep.recipe.tables.Ingredient;
import com.sandeep.r... |
14b82d1a-4d37-49f0-9e6c-e9cc83e1c551 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-16 17:04:30", "repo_name": "sahil085/IskconGhaziabad", "sub_path": "/src/main/java/iskcongzb/dao/DaoClasses/UserLoginDaoImp.java", "file_name": "UserLoginDaoImp.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/sahil085/IskconGhaziabad | 182 | FILENAME: UserLoginDaoImp.java | 0.259826 | package iskcongzb.dao.DaoClasses;
import iskcongzb.dao.DaoInterfaces.UserLoginDao;
import iskcongzb.domain.User;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;... |
2e10871f-69ce-45d8-ada1-922fc8c17d25 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-27 11:38:47", "repo_name": "Hopeful-Developers/topggwebhooks4j", "sub_path": "/src/main/java/me/hopedev/topggwebhooks/PathCollection.java", "file_name": "PathCollection.java", "file_ext": "java", "file_size_in... | https://github.com/Hopeful-Developers/topggwebhooks4j | 209 | FILENAME: PathCollection.java | 0.23793 | package me.hopedev.topggwebhooks;
import me.hopedev.topggwebhooks.bots.BotWebhookListener;
import me.hopedev.topggwebhooks.enums.ListenerType;
import me.hopedev.topggwebhooks.servers.GuildWebhookListener;
public class PathCollection {
private final String context;
private final ListenerCollection listenerCol... |
193d145e-65ae-4f65-9662-2bdfb1b6c072 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-22 09:51:39", "repo_name": "Yhongwu/springboot-demo", "sub_path": "/springboot_cache/src/main/java/com/howard/springboot03/web/TransactionController.java", "file_name": "TransactionController.java", "file_ext"... | https://github.com/Yhongwu/springboot-demo | 189 | FILENAME: TransactionController.java | 0.242206 | package com.howard.springboot03.web;
import com.howard.springboot03.domain.Person;
import com.howard.springboot03.service.TransactionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
i... |
a869f65c-67e6-4bde-a107-2db04525b0a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-11 02:19:35", "repo_name": "zoripong/GeulGil", "sub_path": "/app/src/main/java/com/five/high/emirim/geulgil/Adapter/SearchRecyclerSetter.java", "file_name": "SearchRecyclerSetter.java", "file_ext": "java", "fi... | https://github.com/zoripong/GeulGil | 208 | FILENAME: SearchRecyclerSetter.java | 0.281406 | package com.five.high.emirim.geulgil.Adapter;
import android.app.Activity;
import android.content.Context;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import com.five.high.emirim.geulgil.Model.SearchRecordItem;
import java.util.ArrayList;
/**
* Created by 유리... |
199be7b8-0101-43d3-b656-cd55edc8a57e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-22T00:21:18", "repo_name": "SeanMelody/PWDGenerator", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1013, "line_count": 45, "lang": "en", "doc_type": "text", "b... | https://github.com/SeanMelody/PWDGenerator | 287 | FILENAME: README.md | 0.250913 | <img src="https://img.shields.io/badge/LICENSE-mit-green"/>
https://seanmelody.github.io/PWDGenerator/

### Personal Dashboard APP
```
Coding bootcamp project completed with fellow zoom classmates.
A... |
882ff9f5-c770-476b-a90f-5baa51a9a82b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-14 10:22:14", "repo_name": "ConAlgorithm/study_android", "sub_path": "/android_book_shizhan/04_01_Tencent/src/com/sid/tencent/progress/asynctask/MainActivity.java", "file_name": "MainActivity.java", "file_ext"... | https://github.com/ConAlgorithm/study_android | 193 | FILENAME: MainActivity.java | 0.290176 | package com.sid.tencent.progress.asynctask;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ProgressBar;
import android.widget.TextView;
public class MainActivity extends Activity {
private ... |
78708036-5fae-458e-ba00-d954ce438e07 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-08 03:27:17", "repo_name": "Tokymin/test5_11", "sub_path": "/hibernate/src/toky/geek/database/Test.java", "file_name": "Test.java", "file_ext": "java", "file_size_in_byte": 1333, "line_count": 49, "lang": "zh"... | https://github.com/Tokymin/test5_11 | 268 | FILENAME: Test.java | 0.280616 | package toky.geek.database;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.cfg.Configuration;
public class Test {
public static void main(String[] args) {
//1.读取配置文件信息,并创建管理配置文件信息的对象 cfg。
Configuration cfg = new Configurati... |
e63fd4e8-feb5-4a98-bd81-9a75d719b1d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-17 14:02:50", "repo_name": "mehdi-nezafat-bakhsh/android-studio-1", "sub_path": "/app/src/main/java/com/example/myapplication1/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_si... | https://github.com/mehdi-nezafat-bakhsh/android-studio-1 | 191 | FILENAME: MainActivity.java | 0.218669 | package com.example.myapplication1;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import android.view.Gravity;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.Toast;
im... |
75761d44-dfc6-43c2-a6c7-2c014dd12422 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-27 09:12:27", "repo_name": "bo729892905/bc-dreamport-manage", "sub_path": "/src/main/java/com/dreamport/controller/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_... | https://github.com/bo729892905/bc-dreamport-manage | 234 | FILENAME: UserService.java | 0.259826 | package com.dreamport.controller.service;
import com.baomidou.mybatisplus.plugins.Page;
import com.dreamport.bo.UserBO;
import com.dreamport.controller.client.UserFeignClient;
import com.dreamport.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;... |
00044bb9-3a1a-43ae-b44f-cff4406f3fbf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-23 15:41:21", "repo_name": "EngAAlex/Giraph-for-GiViP", "sub_path": "/giraph-core/src/main/java/org/apache/giraph/givip/profiler/Copier.java", "file_name": "Copier.java", "file_ext": "java", "file_size_in_byte... | https://github.com/EngAAlex/Giraph-for-GiViP | 246 | FILENAME: Copier.java | 0.27513 | package org.apache.giraph.givip.profiler;
/**
*
*/
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.permission.FsPermission;
/**
* @author maria
*
* Copia dei file in locale sui worker
... |
240fcd94-0386-477d-a9d8-7ad6f0a056af | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-11 09:54:24", "repo_name": "fengyajie/ShiroTest", "sub_path": "/src/main/java/com/fyj/filter/MyFormAuthenticationFilter.java", "file_name": "MyFormAuthenticationFilter.java", "file_ext": "java", "file_size_in_... | https://github.com/fengyajie/ShiroTest | 191 | FILENAME: MyFormAuthenticationFilter.java | 0.256832 | package com.fyj.filter;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.subject.Subject;
import org.apache.shiro.web.filter.authc.FormAuthenticationFilte... |
1a9d89be-a737-4316-89cb-9face0a4b325 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-20 08:31:41", "repo_name": "1343829382/blogs", "sub_path": "/src/main/java/Service/impl/CategoryServiceimpl.java", "file_name": "CategoryServiceimpl.java", "file_ext": "java", "file_size_in_byte": 1077, "line_... | https://github.com/1343829382/blogs | 210 | FILENAME: CategoryServiceimpl.java | 0.292595 | package Service.impl;
import Dao.CategoryDao;
import Service.CategoryService;
import entity.Category;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class CategoryServiceimpl implements CategoryService {
@Autowi... |
53dcf165-b612-4f1d-9a5d-cbe256e932c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-31 00:22:01", "repo_name": "4RN0LD/cb4sistencia", "sub_path": "/cbAsistencia/src/com/arnoldnorabuena/dao/Conexion.java", "file_name": "Conexion.java", "file_ext": "java", "file_size_in_byte": 1075, "line_count... | https://github.com/4RN0LD/cb4sistencia | 212 | FILENAME: Conexion.java | 0.220007 | package com.arnoldnorabuena.dao;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
*
* @author Arnold Alfredo Norabuena Aranda
* @version 1.0
*/
public class Conexion {
protected final String dataBase = "web";
protected final String port = "3306";
protected ... |
8f918fa7-a391-4184-92d9-4f665a14d8b7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-03-30 17:29:36", "repo_name": "bonito-amat0w0tama/tcp-ip", "sub_path": "/java/etc/ver1/ExternalCodeAdapterReceiverSample.java", "file_name": "ExternalCodeAdapterReceiverSample.java", "file_ext": "java", "file_siz... | https://github.com/bonito-amat0w0tama/tcp-ip | 227 | FILENAME: ExternalCodeAdapterReceiverSample.java | 0.287768 | import java.io.*;
import java.nio.*;
import java.net.*;
public class ExternalCodeAdapterReceiverSample {
static int readInt(InputStream instream) throws IOException {
byte[] buff = new byte[4];
instream.read(buff);
ByteBuffer bb = ByteBuffer.wrap(buff);
bb.order(ByteOrder.LITTLE_ENDIAN);
return ... |
4057f0a1-9b87-46c4-b4da-240338b149ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-31 03:14:33", "repo_name": "itsscdachao/Alanber4Code", "sub_path": "/alanber/src/main/java/com/itssc/alanber4code/base/activity/BaseCommonActivity.java", "file_name": "BaseCommonActivity.java", "file_ext": "ja... | https://github.com/itsscdachao/Alanber4Code | 210 | FILENAME: BaseCommonActivity.java | 0.242206 | package com.itssc.alanber4code.base.activity;
import android.app.Activity;
import android.os.Bundle;
import com.itssc.alanber4code.base.presenter.BaseCommonPresenter;
import com.itssc.alanber4code.base.view.IBaseView;
/**
* 普通样式Activity
*
* @param <T>
*/
public abstract class BaseCommonActivity<T extends BaseCom... |
f3fa7d33-b8fa-4ad2-85c5-fef3f4e2ee10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-17 11:49:09", "repo_name": "krystal-simmonds/Trainers-Fundamental-Project", "sub_path": "/src/main/java/com/qa/trainers/domain/Brand.java", "file_name": "Brand.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/krystal-simmonds/Trainers-Fundamental-Project | 261 | FILENAME: Brand.java | 0.26971 | package com.qa.trainers.domain;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Entity
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler", "shoes"})
public class Brand {
@Id
@GeneratedValue
private Lo... |
0e086650-99c2-4c08-ade4-15abcb418b42 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-04 17:12:34", "repo_name": "AdamLuptak/user-crd", "sub_path": "/src/main/java/com/adamluptakosice/usercrdmin/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/AdamLuptak/user-crd | 200 | FILENAME: UserService.java | 0.26588 | package com.adamluptakosice.usercrdmin.service;
import com.adamluptakosice.usercrdmin.dao.UserDao;
import com.adamluptakosice.usercrdmin.domain.User;
import javax.validation.ConstraintViolationException;
import javax.validation.Validator;
import java.util.List;
public class UserService {
private final UserDao u... |
62495d11-02f7-4ae8-ad7a-7f297cdb8704 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-15T12:05:25", "repo_name": "mmounirf/web-components-demo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1047, "line_count": 44, "lang": "en", "doc_type": "text... | https://github.com/mmounirf/web-components-demo | 249 | FILENAME: README.md | 0.285372 | # \<mm-action-button\>
POC
<!--
The next comment block is used by webcomponents.org to enable inline demo.
Visit https://www.webcomponents.org/publish for more details.
-->
<!--
```
<custom-element-demo>
<template>
<script src="../webcomponentsjs/webcomponents-loader.js"></script>
<link re... |
ab0553a8-7628-4bf3-a978-d9c3b79ffc26 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-02 00:59:30", "repo_name": "qpdyg/jih", "sub_path": "/jih/jih_manage/src/main/java/com/xiaolc/service/impl/ContentServiceImpl.java", "file_name": "ContentServiceImpl.java", "file_ext": "java", "file_size_in_by... | https://github.com/qpdyg/jih | 254 | FILENAME: ContentServiceImpl.java | 0.240775 | package com.xiaolc.service.impl;
import com.xiaolc.mapper.ContentMapper;
import com.xiaolc.model.Content;
import com.xiaolc.service.ContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.UUID;
/**
* @autho... |
b146b393-e828-43ae-a6e0-5d4551f48315 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-11 09:18:50", "repo_name": "Andreibich/javaLearning", "sub_path": "/project_stock_without_comments/common/src/main/java/com/htp/stock/filter/CharsetFilter.java", "file_name": "CharsetFilter.java", "file_ext": ... | https://github.com/Andreibich/javaLearning | 168 | FILENAME: CharsetFilter.java | 0.23793 | package com.htp.stock.filter;
import javax.servlet.Filter;
import javax.servlet.ServletContext;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import java.io.IOException;
... |
577ccca4-47de-430f-abaf-9d31d0119012 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-27 15:33:53", "repo_name": "Esherns/Prueba2", "sub_path": "/src/java/dto/CancionExtendida.java", "file_name": "CancionExtendida.java", "file_ext": "java", "file_size_in_byte": 1029, "line_count": 45, "lang": "... | https://github.com/Esherns/Prueba2 | 227 | FILENAME: CancionExtendida.java | 0.250913 | /*
* 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 dto;
import ctrl.Helpers;
import java.io.Serializable;
/**
*
* @author hmoraga
*/
public class CancionExtend... |
b90c862a-8a31-46dc-9e53-e5e198af77eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-17 08:19:58", "repo_name": "GrigoreCatalin/LinkedList", "sub_path": "/src/Ex1/TownList.java", "file_name": "TownList.java", "file_ext": "java", "file_size_in_byte": 1025, "line_count": 42, "lang": "en", "doc_t... | https://github.com/GrigoreCatalin/LinkedList | 182 | FILENAME: TownList.java | 0.27513 | package Ex1;
import java.util.LinkedList;
import java.util.List;
import java.util.ListIterator;
public class TownList<T extends Comparable<T>> {
private List<T> elements = new LinkedList<>();
public boolean addInOrderedList(T newElement) {
ListIterator<T> li = elements.listIterator()... |
380dc6c2-1d47-456a-a854-f199f909a178 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-20 06:10:49", "repo_name": "avijitsaha7778/FreshNGreenVer2", "sub_path": "/app/src/main/java/com/gios/freshngreen/responseModel/order/UpdateAddressModel.java", "file_name": "UpdateAddressModel.java", "file_ext... | https://github.com/avijitsaha7778/FreshNGreenVer2 | 206 | FILENAME: UpdateAddressModel.java | 0.226784 | package com.gios.freshngreen.responseModel.order;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import java.util.List;
public class UpdateAddressModel implements Serializable {
@SerializedName("status")
@Expose
private Boolean ... |
1f6b3738-09f2-4db4-9fd5-e5f176816d7b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-15 04:15:42", "repo_name": "basquiat78/bnb-wallet-springboot", "sub_path": "/src/main/java/io/basquiat/websocket/handler/ClientHandler.java", "file_name": "ClientHandler.java", "file_ext": "java", "file_size_i... | https://github.com/basquiat78/bnb-wallet-springboot | 214 | FILENAME: ClientHandler.java | 0.259826 | package io.basquiat.websocket.handler;
import org.springframework.web.reactive.socket.WebSocketHandler;
import org.springframework.web.reactive.socket.WebSocketSession;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.core.publisher.ReplayProcessor;
/**
*
* client Handler
* ... |
77d358c2-baae-4847-999b-eef0d3664503 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-09 09:53:16", "repo_name": "alu4216/ElJuegoDeLaVida", "sub_path": "/src/packageprincipal/Frame.java", "file_name": "Frame.java", "file_ext": "java", "file_size_in_byte": 1075, "line_count": 41, "lang": "en", "... | https://github.com/alu4216/ElJuegoDeLaVida | 232 | FILENAME: Frame.java | 0.285372 | package packageprincipal;
import java.awt.BorderLayout;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
public class Frame extends JFrame {
/**
* Contenedor principal de la interfaz gráfica
*/
private static final long serialVersionUID = 1L;
private JScrollPane scroll;
private Panel panel;
priv... |
ceacb429-c440-4006-922a-c52874e16071 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-09 06:55:17", "repo_name": "iceflag/THWB-SOP", "sub_path": "/sop-common/sop-service-common/src/main/java/com/zyd/sop/servercommon/bean/ServiceApiInfo.java", "file_name": "ServiceApiInfo.java", "file_ext": "jav... | https://github.com/iceflag/THWB-SOP | 221 | FILENAME: ServiceApiInfo.java | 0.205615 | package com.zyd.sop.servercommon.bean;
import com.zyd.sop.servercommon.route.GatewayRouteDefinition;
import lombok.Data;
import java.util.List;
/**
* @author tanghc
*/
@Data
public class ServiceApiInfo {
private String serviceId;
private List<ApiMeta> apis;
private List<GatewayRouteDefinition> routeDef... |
09ad6213-2491-4e2b-a90e-c3f4854bae14 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-18 13:49:37", "repo_name": "Sumayla/AmazonApplication", "sub_path": "/AmazonApplicationTestAutomation/src/main/java/com/amazom/qa/testcases/TC008.java", "file_name": "TC008.java", "file_ext": "java", "file_siz... | https://github.com/Sumayla/AmazonApplication | 241 | FILENAME: TC008.java | 0.261331 | package com.amazom.qa.testcases;
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;... |
a69a5116-b903-4228-856f-9b772ceeb436 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-26 01:08:50", "repo_name": "vinohsueh/i9-defence-parent", "sub_path": "/i9-defence-parent/i9-defence-api/src/main/java/i9/defence/platform/api/listener/MySessionListener.java", "file_name": "MySessionListener.... | https://github.com/vinohsueh/i9-defence-parent | 253 | FILENAME: MySessionListener.java | 0.284576 | package i9.defence.platform.api.listener;
import java.util.concurrent.atomic.AtomicInteger;
import org.apache.shiro.session.Session;
import org.apache.shiro.session.SessionListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
/**
* 创建时间:2018年4... |
fdd6411e-02c9-46db-b471-ad6aa7b5a964 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-01-21T16:49:01", "repo_name": "haim-rubin/lucy-in-the-sky", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1196, "line_count": 34, "lang": "en", "doc_type": "text",... | https://github.com/haim-rubin/lucy-in-the-sky | 273 | FILENAME: README.md | 0.267408 |
Gudlines/Description
1. Backend
- Run backend: from in 'backend' folder run npm start
- APIs
* Because we needed to retrieve data from 3rd party so I splitted the API into 2 different APIs
* 3rdParty - Proxy to the images data
* local - deal with local data like user's favorites
... |
b481d6fe-3eaf-4b00-b404-5664c4328717 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-15 09:24:24", "repo_name": "sys-cms/x-sso-server-web", "sub_path": "/src/main/java/com/x/uac/web/model/email/SendEmailRequest.java", "file_name": "SendEmailRequest.java", "file_ext": "java", "file_size_in_byte... | https://github.com/sys-cms/x-sso-server-web | 298 | FILENAME: SendEmailRequest.java | 0.228156 | package com.x.uac.web.model.email;
/**
* 发送邮件入参对象
* tomails,data,templateRUL 必填
* @author wangyongxin
*/
public class SendEmailRequest {
/** 收件箱(必填)*/
private String[] tomails;
/** 抄送邮箱*/
private String[] ccmails;
/** 主题*/
private String subject;
/** 邮件内容参数(必填)*/
private String[] data;
/** 模板路径(必填)*/
priv... |
61d8855f-01cc-404f-9530-49b75907ed42 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-05 09:45:42", "repo_name": "mcfernandes/Suportebasicodevida1", "sub_path": "/app/src/main/java/com/example/vigion/suportebasicodevida1/MainActivityCompressoes2.java", "file_name": "MainActivityCompressoes2.jav... | https://github.com/mcfernandes/Suportebasicodevida1 | 200 | FILENAME: MainActivityCompressoes2.java | 0.214691 | package com.example.vigion.suportebasicodevida1;
import android.content.Intent;
import android.support.v4.app.Fragment;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import... |
f9bdd9a0-5d2e-45ea-8bf5-0ab4721da7b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-22 07:32:11", "repo_name": "sunhpjc/elasticsearch", "sub_path": "/src/main/java/com/sunhp/elasticsearch/guava/controller/CourseController.java", "file_name": "CourseController.java", "file_ext": "java", "file_... | https://github.com/sunhpjc/elasticsearch | 232 | FILENAME: CourseController.java | 0.213377 | package com.sunhp.elasticsearch.guava.controller;
import com.sunhp.elasticsearch.guava.entity.Course;
import com.sunhp.elasticsearch.guava.service.CourseService;
import com.sunhp.elasticsearch.guava.utils.GuavaCacheUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annot... |
a8f48355-9f9a-4ece-bdf5-1a42f0f002d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-29 08:25:59", "repo_name": "dyj3344/mybatis_dyj", "sub_path": "/src/main/java/com/dyj/mybatis/test/OrderTest.java", "file_name": "OrderTest.java", "file_ext": "java", "file_size_in_byte": 990, "line_count": 33... | https://github.com/dyj3344/mybatis_dyj | 185 | FILENAME: OrderTest.java | 0.239349 | package com.dyj.mybatis.test;
import com.dyj.mybatis.domain.Orders;
import com.dyj.mybatis.mapper.OrderMapper;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import org.ju... |
81749f40-cc5a-44b0-b54c-8e419d7679d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-01 22:53:00", "repo_name": "vsanca/foodbook", "sub_path": "/src/main/java/e2/isa/grupa5/model/restaurant/Menu.java", "file_name": "Menu.java", "file_ext": "java", "file_size_in_byte": 1005, "line_count": 55, "... | https://github.com/vsanca/foodbook | 242 | FILENAME: Menu.java | 0.267408 | package e2.isa.grupa5.model.restaurant;
import java.io.Serializable;
import javax.persistence.*;
/**
*
* {@link Restaurant} menu.
*
* Funkcionalnost 2.3:
* - jelovnik, karta pića (u ovom slučaju meni obuhvata sve, razlikuju se tipovi stavki ({@link MenuItem})).
*
* @author Viktor
*
*/
@Entity
@Table(name... |
4eb9d5f5-59a1-48fa-a133-85752c1bd15c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-20 13:29:58", "repo_name": "clblue/HibrnateDemo", "sub_path": "/src/user/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1065, "line_count": 54, "lang": "en", "doc_type": "code",... | https://github.com/clblue/HibrnateDemo | 210 | FILENAME: User.java | 0.229535 | package user;
public class User {
private String username;
private String password;
private Product product;
public Product getProduct() {
return product;
}
public void setProduct(Product product) {
this.product = product;
}
public User() {
}
public User(St... |
fc555f1a-7cda-4220-befc-24195285ba48 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-01 14:16:11", "repo_name": "Hkohli30/ShoppingApplication", "sub_path": "/app/src/main/java/com/example/hkohli/shoppingapplication/ImageConverter.java", "file_name": "ImageConverter.java", "file_ext": "java", "... | https://github.com/Hkohli30/ShoppingApplication | 225 | FILENAME: ImageConverter.java | 0.250913 | package com.example.hkohli.shoppingapplication;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.media.Image;
import android.util.Base64;
import java.io.ByteArrayOutputStream;
/**
* Created by Hkohli on 9/22/2016.
*/
public class ImageConverter {... |
f28d124a-cb0d-44bd-b8de-3f1a4481321f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-12 01:40:24", "repo_name": "hellcy/GramDispatch", "sub_path": "/app/src/main/java/au/com/gramline/gramdispatch/pojo/JobOrderListTest.java", "file_name": "JobOrderListTest.java", "file_ext": "java", "file_size_... | https://github.com/hellcy/GramDispatch | 234 | FILENAME: JobOrderListTest.java | 0.259826 | package au.com.gramline.gramdispatch.pojo;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.util.List;
public class JobOrderListTest {
@SerializedName("results")
public List<JobOrder> data = new ArrayList<>();
public class JobOrder {
@SerializedName("SEQ... |
281e15f7-ba59-4bf6-a131-183c3d07ef51 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-06 20:45:46", "repo_name": "mabdolla/Twitter-Project", "sub_path": "/login-microservice/src/main/java/no/oslomet/loginmicroservice/model/TwitterUser.java", "file_name": "TwitterUser.java", "file_ext": "java", ... | https://github.com/mabdolla/Twitter-Project | 237 | FILENAME: TwitterUser.java | 0.180107 | package no.oslomet.loginmicroservice.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import no.oslomet.common.api.User;
@JsonIgnoreProperties(ignoreUnknown = true)
public class TwitterUser implements User {
@JsonProperty
private Strin... |
cb1d409d-2707-4666-b2a5-97b294fae4d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-16 01:51:35", "repo_name": "MrLexJR/AppWeb-JavaSB-ReactJs-Kruger", "sub_path": "/jr_proyect_k/src/main/java/com/jr/kruger/jr_proyect_k/services/PersonaService.java", "file_name": "PersonaService.java", "file_e... | https://github.com/MrLexJR/AppWeb-JavaSB-ReactJs-Kruger | 220 | FILENAME: PersonaService.java | 0.250913 | package com.jr.kruger.jr_proyect_k.services;
import java.util.ArrayList;
import java.util.Optional;
import com.jr.kruger.jr_proyect_k.modules.PersonaModel;
import com.jr.kruger.jr_proyect_k.repositories.PersonaRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stere... |
0794b158-a5bd-4a9c-bf55-1e32b120f0dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-18 02:21:59", "repo_name": "ZhouChen-TW/Mybatis_Learn", "sub_path": "/src/main/java/com/mybatis/lean/core/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1114, "line_count": 63, ... | https://github.com/ZhouChen-TW/Mybatis_Learn | 264 | FILENAME: User.java | 0.235108 | package com.mybatis.lean.core;
import java.util.List;
/**
* Created by zoe on 3/15/16.
*/
public class User {
private Integer id;
private String name;
private Icard icard;
private List<Contact> contacts;
private List<Group> groups;
public User(){}
public User(Integer id,String name,Ica... |
2a7b9f38-b421-4927-8910-162b01093f60 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-06 18:16:51", "repo_name": "CaballepMobile/AndroidTraining", "sub_path": "/Daily/Week2/MultiThreading/app/src/main/java/com/example/angel/multi_threading/workers/MyThread.java", "file_name": "MyThread.java", "... | https://github.com/CaballepMobile/AndroidTraining | 204 | FILENAME: MyThread.java | 0.286968 | package com.example.angel.multi_threading.workers;
import android.os.Handler;
import android.os.Looper;
import android.widget.TextView;
import com.example.angel.multi_threading.utils.TaskCreator;
public class MyThread extends Thread {
TextView tvMain;
Handler handler;
public MyThread(TextView tvMain) {... |
f5942b6f-6ede-48c2-80f1-e317c9d08a16 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-03-28 15:43:35", "repo_name": "ruivale/Java", "sub_path": "/JavaBeanValidatorWithMaven/src/main/java/com/mycompany/javabeanvalidatorwithmaven/Car.java", "file_name": "Car.java", "file_ext": "java", "file_size_in_... | https://github.com/ruivale/Java | 206 | FILENAME: Car.java | 0.292595 | package com.mycompany.javabeanvalidatorwithmaven;
import jakarta.validation.constraints.*;
public class Car
{
// ---------------| Member fields |----------------------------
@NotNull
private String manufacturer;
@NotNull
@Size ( min = 2, max = 14 )
private String licensePlate;
@Min (... |
1d3d649b-c347-4017-ad6b-e5722e774e3b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-10 10:32:08", "repo_name": "tito5460/practice", "sub_path": "/springboot-gradle-rabbitmq/produce/src/main/java/com/example/rabbit/produce/sender/TopicSender.java", "file_name": "TopicSender.java", "file_ext": ... | https://github.com/tito5460/practice | 226 | FILENAME: TopicSender.java | 0.252384 | package com.example.rabbit.produce.sender;
import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class TopicSender {
@Autowired
private AmqpTemplate rabbitTemplate;
public void send1() ... |
1796f04c-57ff-435d-a5f4-0aaa131c938b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-26 10:44:17", "repo_name": "DianaBobkova/Polib", "sub_path": "/src/polibii/Encryption.java", "file_name": "Encryption.java", "file_ext": "java", "file_size_in_byte": 1137, "line_count": 51, "lang": "en", "doc_... | https://github.com/DianaBobkova/Polib | 284 | FILENAME: Encryption.java | 0.290176 | package polibii;
public class Encryption {
private String text = "";
private String encText = "";
public Encryption(String text) {
this.text = text;
findInArr(this.text);
}
public String getEncText() {
return this.encText;
}
public void findInArr(String text) {
... |
300f89c2-fe71-45ff-950e-6a328f8eb89d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-11-23T11:46:31", "repo_name": "Gigacore/iOrange-2", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1197, "line_count": 34, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/Gigacore/iOrange-2 | 338 | FILENAME: README.md | 0.290981 | iOrange 2.0
=========
iOrange 2.0 is a free, simple and light-weight web template for your website and is valid HTML5 & CSS3 (W3C Compliant) document. This template is built on HTML5 Boiler Plate framework and is fully responsive with mobile-first attitude and weighs just under 60KB.
##Don't like Orange?
I ha... |
29774c3d-f5b1-40ad-812d-2d783a7cb765 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-21 14:05:03", "repo_name": "sid046/QMB", "sub_path": "/app/src/main/java/com/animation/qmb/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1195, "line_count": 44,... | https://github.com/sid046/QMB | 184 | FILENAME: MainActivity.java | 0.233706 | package com.animation.qmb;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInst... |
5bd94735-0d66-4991-9b58-c15cc77008f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-21 17:17:01", "repo_name": "pyotrbodlev/softunirepo", "sub_path": "/JavaDBAdvanced/mostwanted/src/main/java/mostwanted/domain/entities/Race.java", "file_name": "Race.java", "file_ext": "java", "file_size_in_by... | https://github.com/pyotrbodlev/softunirepo | 220 | FILENAME: Race.java | 0.259826 | package mostwanted.domain.entities;
import mostwanted.domain.entities.base.BaseEntity;
import javax.persistence.*;
import java.util.List;
@Entity
@Table(name = "races")
public class Race extends BaseEntity {
private int laps;
private District district;
private List<RaceEntry> entries;
@Column(name =... |
ed9ae497-6e1d-4c93-bd9f-8212eb1612ff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-03 13:22:10", "repo_name": "abohomol/gifky", "sub_path": "/app/src/main/java/com/abohomol/gifky/skeleton/BasePresenter.java", "file_name": "BasePresenter.java", "file_ext": "java", "file_size_in_byte": 1093, "... | https://github.com/abohomol/gifky | 229 | FILENAME: BasePresenter.java | 0.282988 | package com.abohomol.gifky.skeleton;
/**
* Base class that implements the {@link Presenter} interface and provides a base implementation
* for {@link #attachView(View)} and {@link #detachView()}.
* It also handles keeping a reference to the view that can be accessed from the
* children classes by calling {@link #g... |
0ca003ab-899d-43f1-805d-7979e92b1843 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-22 19:36:44", "repo_name": "13399182359/LeXiang", "sub_path": "/LeXiang-manager-web/src/main/java/com/LeXiang/manager/controller/MessageController.java", "file_name": "MessageController.java", "file_ext": "jav... | https://github.com/13399182359/LeXiang | 192 | FILENAME: MessageController.java | 0.246533 | package com.LeXiang.manager.controller;
import com.LeXiang.Entity.PageResult;
import com.LeXiang.Entity.Result;
import com.LeXiang.manager.service.MessageService;
import com.LeXiang.pojo.Message;
import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.RequestMapping;
impor... |
08fb9f49-9076-494d-b1d8-04b4ffead7dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-05 09:11:18", "repo_name": "UnowHouse/aibrainer", "sub_path": "/ab-common/src/main/java/com/ab/commons/enums/ExceptionEnum.java", "file_name": "ExceptionEnum.java", "file_ext": "java", "file_size_in_byte": 133... | https://github.com/UnowHouse/aibrainer | 359 | FILENAME: ExceptionEnum.java | 0.256832 | package com.ab.commons.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
/*
* @项目名: ai-brainer
* @包名: com.ab.commons.enums
* @文件名: ExceptionEnum
* @创建者: Unow
* @创建时间: 2019/1/1 14:27
* @描述: 异常种类枚举
*/
@Getter
@AllArgsConstructor
@No... |
c0aa97f9-a9af-4ed1-9c7e-1dbfb0c44eb8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-19 07:10:29", "repo_name": "lukaselmer/ethz-db-project", "sub_path": "/src/main/java/ch/ethz/inf/dbproject/model/StretchGoal.java", "file_name": "StretchGoal.java", "file_ext": "java", "file_size_in_byte": 996... | https://github.com/lukaselmer/ethz-db-project | 233 | FILENAME: StretchGoal.java | 0.282988 | package ch.ethz.inf.dbproject.model;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* Object that represents a stretch goal
*/
public class StretchGoal implements ComboInterface {
private final int id;
private final int project_id;
private final double amount;
private final String bonus;
publi... |
47a850da-60c9-47c4-a460-afdc6246c981 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-17 01:18:55", "repo_name": "jtschiss/PizzaGenerator", "sub_path": "/src/main/java/edu/matc/controller/ForwardUsers.java", "file_name": "ForwardUsers.java", "file_ext": "java", "file_size_in_byte": 1085, "line_... | https://github.com/jtschiss/PizzaGenerator | 189 | FILENAME: ForwardUsers.java | 0.273574 | package edu.matc.controller;
import edu.matc.entity.User;
import edu.matc.persistence.UserDao;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.se... |
ee14fdad-80c3-4112-b5af-c3fabbc00132 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-27 15:01:41", "repo_name": "onozaty/mybatis-postgresql-typehandlers", "sub_path": "/src/test/java/com/github/onozaty/mybatis/pg/type/TestUtils.java", "file_name": "TestUtils.java", "file_ext": "java", "file_si... | https://github.com/onozaty/mybatis-postgresql-typehandlers | 170 | FILENAME: TestUtils.java | 0.225417 | package com.github.onozaty.mybatis.pg.type;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
/**
* @author onozat... |
9dcf9990-ad03-40d1-a412-89b3bb2d7ecd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-14 15:30:00", "repo_name": "Taequn/cs102", "sub_path": "/L11_starter/Human.java", "file_name": "Human.java", "file_ext": "java", "file_size_in_byte": 1136, "line_count": 39, "lang": "en", "doc_type": "code", "... | https://github.com/Taequn/cs102 | 255 | FILENAME: Human.java | 0.285372 | import java.util.ArrayList;
public class Human implements Player{
private ArrayList<Integer> history;
public void initPlayer(int startingSticks){
history = new ArrayList<Integer>();
}
public int takeTurn(int remainingSticks){
int maxChoiceThisTurn = Math.min(remainingSticks, Mat... |
883d13a1-ea34-40ec-957d-9da2fdfb18a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-01 19:37:05", "repo_name": "mback2k/ts3admin", "sub_path": "/src/de/uxnr/ts3/admin/ui/action/DisconnectAction.java", "file_name": "DisconnectAction.java", "file_ext": "java", "file_size_in_byte": 1196, "line_c... | https://github.com/mback2k/ts3admin | 240 | FILENAME: DisconnectAction.java | 0.252384 | package de.uxnr.ts3.admin.ui.action;
import org.eclipse.jface.action.Action;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.widgets.TabItem;
import de.uxnr.ts3.admin.ui.composite.ConnectionComposite;
import de.uxnr.ts3.admin.ui.resource.IconDescri... |
0341172f-4102-4ed1-b38e-4722b6a73b92 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-16 07:44:40", "repo_name": "dzfg/mybatis", "sub_path": "/src/main/java/a/entity/Emp.java", "file_name": "Emp.java", "file_ext": "java", "file_size_in_byte": 1243, "line_count": 74, "lang": "en", "doc_type": "c... | https://github.com/dzfg/mybatis | 294 | FILENAME: Emp.java | 0.283781 | package a.entity;
import java.io.Serializable;
@SuppressWarnings("serial")
public class Emp implements Serializable {
private String id;
private String name;
private String gender;
private Double salary;
// 所属部门
private Dept dept;
public Emp() {
}
public Emp(String id, String name, String... |
6ac1bda6-eee3-4f47-8252-20f58efdfdbb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-29 09:24:06", "repo_name": "Amangoel998/Feedback-Management-System", "sub_path": "/Feedback Management System Console/src/com/cg/feedback/dto/ProgramDTO.java", "file_name": "ProgramDTO.java", "file_ext": "java... | https://github.com/Amangoel998/Feedback-Management-System | 254 | FILENAME: ProgramDTO.java | 0.279042 | package com.cg.feedback.dto;
public class ProgramDTO {
private String programId;
private String programName;
private boolean isActive;
// Constructor
public ProgramDTO(String programId, String programName) {
super();
this.programName = programName;
this.programId = programId;
isActive=true;
}
@Overr... |
4c213a34-3ceb-4656-869b-52dab0249bfc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-22 17:40:43", "repo_name": "HubSpot/twitter4j", "sub_path": "/twitter4j-examples/src/main/java/twitter4j/examples/tweets/LookupStatus.java", "file_name": "LookupStatus.java", "file_ext": "java", "file_size_in_... | https://github.com/HubSpot/twitter4j | 243 | FILENAME: LookupStatus.java | 0.288569 | package twitter4j.examples.tweets;
import twitter4j.ResponseList;
import twitter4j.Status;
import twitter4j.Twitter;
import twitter4j.TwitterException;
import twitter4j.TwitterFactory;
/**
* Testing the batch lookup status call with a single ID as input.
*/
public class LookupStatus {
/**
* Usage: java twitte... |
24e87fdc-8e4e-411d-8ab6-1588d6dbd8ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-26 14:01:23", "repo_name": "oyadier/BroadCasting", "sub_path": "/app/src/main/java/com/oyatech/broadcasting/LoggingActivity.java", "file_name": "LoggingActivity.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/oyadier/BroadCasting | 223 | FILENAME: LoggingActivity.java | 0.246533 | package com.oyatech.broadcasting;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import androidx.annotation.Nullable;
public class LoggingActivity extends Activity {
final String TAG = getClass().getSimpleName();
@Override
protected void onCreate(@Nullable Bundle saved... |
b08125b7-dc1f-4cf4-8250-2f15b963cbbc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-06 21:53:28", "repo_name": "JarneVanAerde/TrafficAnalyser", "sub_path": "/simulator/src/main/java/be/kdg/simulator/services/impl/messengers/CommandLineMessenger.java", "file_name": "CommandLineMessenger.java",... | https://github.com/JarneVanAerde/TrafficAnalyser | 210 | FILENAME: CommandLineMessenger.java | 0.239349 | package be.kdg.simulator.services.impl.messengers;
import be.kdg.simulator.models.CameraMessage;
import be.kdg.simulator.services.api.Messenger;
import be.kdg.simulator.services.exceptions.ServiceException;
import be.kdg.simulator.services.impl.utils.MessageWriter;
import org.springframework.beans.factory.annotation.A... |
5b0a8da0-976a-48e0-bb8e-df9ac6da7e68 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-31 22:15:37", "repo_name": "sidorchukandrew/upcafe-api", "sub_path": "/src/main/java/upcafe/error/CustomErrorResponse.java", "file_name": "CustomErrorResponse.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/sidorchukandrew/upcafe-api | 236 | FILENAME: CustomErrorResponse.java | 0.242206 | package upcafe.error;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
public class CustomErrorResponse {
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "MM-dd-yyyy hh:mm:ss")
private LocalDateTime timestamp;
private int status;
private String error;
p... |
59145795-8a66-41c5-9e4f-c528573fc940 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-22 06:30:03", "repo_name": "ducanhkl/hecsdldpt", "sub_path": "/src/main/java/com/btl/hecsdlpt/imageSearch/storage/StorageEngine.java", "file_name": "StorageEngine.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/ducanhkl/hecsdldpt | 187 | FILENAME: StorageEngine.java | 0.243642 | package com.btl.hecsdlpt.imageSearch.storage;
import javassist.bytecode.stackmap.BasicBlock;
import org.openimaj.io.Cache;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
public class StorageEngine {
public static String path ... |
f0e1b921-6a07-4351-b74b-9f7f1ba519a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-18 08:27:29", "repo_name": "Joycn2018/seckill", "sub_path": "/src/main/java/com/chi/seckill/entity/Store.java", "file_name": "Store.java", "file_ext": "java", "file_size_in_byte": 1179, "line_count": 47, "lang... | https://github.com/Joycn2018/seckill | 251 | FILENAME: Store.java | 0.212069 | package com.chi.seckill.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiMo... |
f4c6cdeb-329b-42ca-9845-27a8cd4ef808 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-01 21:30:01", "repo_name": "yichunzhao/Cases-for-Oracle-OCPJP-Certificate", "sub_path": "/src/FileIO/ObjectIO.java", "file_name": "ObjectIO.java", "file_ext": "java", "file_size_in_byte": 1057, "line_count": 4... | https://github.com/yichunzhao/Cases-for-Oracle-OCPJP-Certificate | 201 | FILENAME: ObjectIO.java | 0.268941 | /*
* 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 FileIO;
import CollectionFun.Person;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import j... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.