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 |
|---|---|---|---|---|---|---|
760ff856-04d5-4239-8364-7f79c6e7f2e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-27 18:12:36", "repo_name": "RomanDorosinec/TATJAVA01_2017_Task04_Raman_Darasinets", "sub_path": "/src/main/java/com/epam/task3/service/impl/ResourceManagerServiceImpl.java", "file_name": "ResourceManagerServic... | https://github.com/RomanDorosinec/TATJAVA01_2017_Task04_Raman_Darasinets | 209 | FILENAME: ResourceManagerServiceImpl.java | 0.279828 | package com.epam.task3.service.impl;
import com.epam.task3.dao.DAOResourceManager;
import com.epam.task3.dao.exception.DAOException;
import com.epam.task3.dao.factory.DAOFactory;
import com.epam.task3.service.ResourceManagerService;
import com.epam.task3.service.exception.ServiceException;
/**
*
*/
public class Res... |
0d4fbfb3-3c00-440f-b495-30b55fdbbdc7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-23 23:17:19", "repo_name": "julitaSanAndres/TrabajosB_2T_14", "sub_path": "/Fragments_AngelRDuport/Fragments_Angel/src/com/angelrodriguezduport/fragments_angel/MyAdapterCorreo.java", "file_name": "MyAdapterCor... | https://github.com/julitaSanAndres/TrabajosB_2T_14 | 242 | FILENAME: MyAdapterCorreo.java | 0.273574 | package com.angelrodriguezduport.fragments_angel;
import android.app.Activity;
import android.content.Context;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
public... |
7c57d7da-d5ee-4039-9bb5-cb976448fd71 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-04 13:32:59", "repo_name": "Niceug/JavaProject", "sub_path": "/MyBlogJsp/src/com/tencent/wareservlet/WareServlet.java", "file_name": "WareServlet.java", "file_ext": "java", "file_size_in_byte": 1092, "line_cou... | https://github.com/Niceug/JavaProject | 206 | FILENAME: WareServlet.java | 0.245085 | package com.tencent.wareservlet;
import java.io.IOException;
import java.sql.SQLException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.tencent.waresbean.WaresBean;
/**
* 商品详情页面
... |
c5c724f0-ad38-4303-a564-22b45e9dd7f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-25 18:35:03", "repo_name": "dwiva12/vision-mobile", "sub_path": "/app/src/main/java/xyz/finity/vision/libs/models/MatchingImage.java", "file_name": "MatchingImage.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/dwiva12/vision-mobile | 242 | FILENAME: MatchingImage.java | 0.245085 | package xyz.finity.vision.libs.models;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
/**
* Created by dwiva on 5/13/19.
* This code is a part of Vision project
*/
public class MatchingImage implements Parcelable {
@SerializedName("url")
private ... |
ddda9ca5-6c68-4e07-8fe5-31d93965da66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-07-04T05:45:58", "repo_name": "apwan/clownServer", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1102, "line_count": 43, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/apwan/clownServer | 273 | FILENAME: README.md | 0.218669 | clownServer
===
This repository contains the server side source code for the CLoWN online presentation project,
which aims to promote the interactivity of online presentation.
### Set up
Prerequisite: node, npm, mongodb.
Clone the release branch, run `npm install` to get required node modules.
### Launch database s... |
d9da2d89-81fd-46df-b686-fd052c1bcebd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-05-25 15:22:40", "repo_name": "franbn14/SORPAPETEAM", "sub_path": "/Security/src/security/GenKeys.java", "file_name": "GenKeys.java", "file_ext": "java", "file_size_in_byte": 1067, "line_count": 46, "lang": "en",... | https://github.com/franbn14/SORPAPETEAM | 234 | FILENAME: GenKeys.java | 0.272025 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package security;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.SecureRandom;
/**
*
* @author esteve
*/
pu... |
84ca6026-20df-4c03-956c-eda98d012dcf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-09 03:02:41", "repo_name": "Chen1997c/pilipili-data", "sub_path": "/pili-provider/pili-provider-mdc/src/main/java/com/pilipili/provider/entity/ChannelSub.java", "file_name": "ChannelSub.java", "file_ext": "jav... | https://github.com/Chen1997c/pilipili-data | 267 | FILENAME: ChannelSub.java | 0.224055 | package com.pilipili.provider.entity;
import lombok.Data;
import lombok.ToString;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import javax.persistence.*;
import java.util... |
78c4a080-f129-46fe-a9d0-ea2dc6ac63c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-28 15:54:09", "repo_name": "quweidong/bookstore-demo-SSM", "sub_path": "/src/test/java/indi/programmer/core/serviceImpl/BookServiceImplTest.java", "file_name": "BookServiceImplTest.java", "file_ext": "java", "... | https://github.com/quweidong/bookstore-demo-SSM | 253 | FILENAME: BookServiceImplTest.java | 0.290981 | package indi.programmer.core.serviceImpl;
import indi.programmer.core.BaseTest;
import indi.programmer.core.pojo.Book;
import indi.programmer.core.service.BookService;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
public class BookServiceImplTest extend... |
cfea60af-ee16-4458-bca7-539c1bb175a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-20 21:53:45", "repo_name": "DaWilliam/BusyBank", "sub_path": "/BusyBankSpringBoot/src/main/java/pyramid/BusyBankSpringBoot/CustomerController.java", "file_name": "CustomerController.java", "file_ext": "java", ... | https://github.com/DaWilliam/BusyBank | 188 | FILENAME: CustomerController.java | 0.256832 | package pyramid.BusyBankSpringBoot;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.Optional;
@RestController
public class CustomerController {
@Autowired
private CustomerService cs;
@RequestMapping(value = "/add",method =... |
60edff81-d4ee-4074-869f-bcc73a342b70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-26 11:06:12", "repo_name": "TGM-HIT/sew8-testbeispiel-sockets20210506", "sub_path": "/test2021/sockets/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 969, "line_count": 30, ... | https://github.com/TGM-HIT/sew8-testbeispiel-sockets20210506 | 165 | FILENAME: Client.java | 0.258326 | package test2021.sockets;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
public class Client {
public static void main(String[] args) {
try (
Socket socket = new Socket("localhost", 5000);
... |
7da1cb7a-6023-46a2-becc-e488d977d0f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-03-03 22:35:55", "repo_name": "rafalkalita/spring-dojo", "sub_path": "/loffice/src/main/java/com/rafalkalita/rmwlex/HomeController.java", "file_name": "HomeController.java", "file_ext": "java", "file_size_in_byte... | https://github.com/rafalkalita/spring-dojo | 214 | FILENAME: HomeController.java | 0.268941 | package com.rafalkalita.rmwlex;
import java.util.Locale;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.Request... |
e33effe3-0e32-4616-8555-7c1ab9f2c914 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-04 20:19:24", "repo_name": "MessasKouseila/ceri-m1-test", "sub_path": "/src/main/java/fr/univavignon/pokedex/impl/PokedexFactoryImpl.java", "file_name": "PokedexFactoryImpl.java", "file_ext": "java", "file_siz... | https://github.com/MessasKouseila/ceri-m1-test | 220 | FILENAME: PokedexFactoryImpl.java | 0.277473 | package fr.univavignon.pokedex.impl;
import fr.univavignon.pokedex.api.IPokedex;
import fr.univavignon.pokedex.api.IPokedexFactory;
import fr.univavignon.pokedex.api.IPokemonFactory;
import fr.univavignon.pokedex.api.IPokemonMetadataProvider;
import java.io.IOException;
/**
* Created by kouceila on 03/05/17.
*/
p... |
d1125698-01dd-4347-a5c8-faa91eabae79 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-17T08:26:56", "repo_name": "Eve-Sama/browser-utils", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1147, "line_count": 31, "lang": "en", "doc_type": "text", "bl... | https://github.com/Eve-Sama/browser-utils | 332 | FILENAME: README.md | 0.246533 | English | [简体中文](README-zh_CN.md)
### Introduction
This project is a extension for browser using JQuery + TypeScript + Gulp. It can close tabs quickly. You have 2 ways to open the entry. First one is click icon.

Second one is... |
1d8b945b-961b-4aeb-934c-1a227364c0a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-05 06:07:47", "repo_name": "smxknife/smxknife", "sub_path": "/smxknife-java/src/main/java/com/smxknife/java2/io/input/FileInputStreamDemo.java", "file_name": "FileInputStreamDemo.java", "file_ext": "java", "fi... | https://github.com/smxknife/smxknife | 246 | FILENAME: FileInputStreamDemo.java | 0.29584 | // 测试文本
package com.smxknife.java2.io.input;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
/**
* @author smxknife
* 2018/11/12
*/
public class FileInputStreamDemo {
public static void main(String[] args) throws IOException {
File rootPath = new File("");
String filePath = ro... |
889cba3c-1332-4497-87f9-45ed18de131a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-17 08:04:21", "repo_name": "KqzAnn/bookStore_back", "sub_path": "/src/main/java/bookstore/models/entities/OrderPosition.java", "file_name": "OrderPosition.java", "file_ext": "java", "file_size_in_byte": 1141, ... | https://github.com/KqzAnn/bookStore_back | 249 | FILENAME: OrderPosition.java | 0.286968 | package bookstore.models.entities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import javax.persistence.*;
import java.util.*;
@Entity
@Table(name = "order_book")
public class OrderPosition {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
// @Column(nullab... |
5cb640d2-391f-48fa-a4e7-002c4fb1269c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-13 07:04:19", "repo_name": "cqyisbug/WxJava", "sub_path": "/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/message/builder/TemplateCardVoteMessage.java", "file_name": "TemplateCardVoteMessage.java", "f... | https://github.com/cqyisbug/WxJava | 259 | FILENAME: TemplateCardVoteMessage.java | 0.250913 | package me.chanjar.weixin.cp.bean.message.builder;
import com.google.gson.annotations.SerializedName;
import lombok.Getter;
import lombok.Setter;
/**
* The type Template card vote message.
*/
@Getter
@Setter
public class TemplateCardVoteMessage extends AbstractTemplateCardMessage {
private static final long seri... |
80392d6e-9909-4fe2-8b1c-6c4683a3645f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-26 17:24:37", "repo_name": "zuiailaoda/YouTubeDownloader", "sub_path": "/DownloadThread.java", "file_name": "DownloadThread.java", "file_ext": "java", "file_size_in_byte": 970, "line_count": 37, "lang": "en", ... | https://github.com/zuiailaoda/YouTubeDownloader | 184 | FILENAME: DownloadThread.java | 0.221351 | package com.Lireoy;
import java.io.*;
import java.util.stream.Collectors;
public class DownloadThread extends Thread {
private static String link;
static void setLink(String newLink) {
link = newLink;
}
@Override
public void run() {
try {
Process process = new Proces... |
4e3c9a35-4ca7-49e7-8ef7-7a5ae7368815 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-21 13:51:13", "repo_name": "ArynaSun/Project", "sub_path": "/src/com/epam/jwt/task5/filter/ServiceWordsAddingFilter.java", "file_name": "ServiceWordsAddingFilter.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/ArynaSun/Project | 189 | FILENAME: ServiceWordsAddingFilter.java | 0.294215 | package com.epam.jwt.task5.filter;
import com.epam.jwt.task5.command.JspAttribute;
import com.epam.jwt.task5.command.RequestParameter;
import com.epam.jwt.task5.controller.ServiceWordsKey;
import com.epam.jwt.task5.util.PropertyHelper;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServle... |
25df1d3a-8c38-4950-b499-d24928b80543 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-02 03:20:17", "repo_name": "jedlab/openpm", "sub_path": "/webapp/src/main/java/com/jedlab/pm/security/AuthLogoutSuccessHandler.java", "file_name": "AuthLogoutSuccessHandler.java", "file_ext": "java", "file_siz... | https://github.com/jedlab/openpm | 175 | FILENAME: AuthLogoutSuccessHandler.java | 0.229535 | package com.jedlab.pm.security;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.security.core.Authentication;
import org.springframework.se... |
589bd11b-c912-4755-b70a-2fd754c23897 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-23 01:51:06", "repo_name": "Moonphy/oldProject", "sub_path": "/crm/crm-web/crm-web-biz/src/main/java/com/qipeipu/crm/dtos/user/UserWxDTO.java", "file_name": "UserWxDTO.java", "file_ext": "java", "file_size_in_... | https://github.com/Moonphy/oldProject | 336 | FILENAME: UserWxDTO.java | 0.246533 | package com.qipeipu.crm.dtos.user;
import java.beans.ConstructorProperties;
import lombok.Data;
import lombok.experimental.Builder;
@Builder
@Data
public class UserWxDTO {
/**
* 用户ID
*/
private Integer userId;
/**
* 用户名
*/
private String userName;
/**
* 是否为管理员
*/
private Boolean isAdmin;
/**
* ... |
8d82e519-14aa-4f75-9b3f-40c50804de14 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-31 11:54:45", "repo_name": "laurenthaillot/DecouverteServlets", "sub_path": "/src/main/java/co/simplon/poleEmploi/decouverteServlets/CreerContact.java", "file_name": "CreerContact.java", "file_ext": "java", "f... | https://github.com/laurenthaillot/DecouverteServlets | 220 | FILENAME: CreerContact.java | 0.283781 | package co.simplon.poleEmploi.decouverteServlets;
import java.io.IOException;
import java.util.HashSet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import co.simplon.domaine.Contac... |
c730dfe1-143d-46ad-957d-9d561cd0afa1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-03 03:10:55", "repo_name": "TheBlackChamber/springmvcsecurity", "sub_path": "/src/main/java/net/theblackchamber/springmvcsecurity/controller/LoginController.java", "file_name": "LoginController.java", "file_ex... | https://github.com/TheBlackChamber/springmvcsecurity | 233 | FILENAME: LoginController.java | 0.271252 | package net.theblackchamber.springmvcsecurity.controller;
import net.theblackchamber.springmvcsecurity.annotations.Logger;
import org.apache.commons.logging.Log;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotat... |
a8a6d4de-34b8-44c3-8334-d5d1683c8c10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-07 02:31:46", "repo_name": "kgcnjzym/203007U2", "sub_path": "/day1201/src/com/xt/servlet/ThirdServlet.java", "file_name": "ThirdServlet.java", "file_ext": "java", "file_size_in_byte": 1182, "line_count": 33, "... | https://github.com/kgcnjzym/203007U2 | 260 | FILENAME: ThirdServlet.java | 0.253861 | package com.xt.servlet;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
/**
* @author 杨卫兵
* @... |
bce13d43-6190-4e93-9c4e-cc8ed021c639 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-02 05:58:54", "repo_name": "shilonxi/android_TensorFlow", "sub_path": "/app/src/main/java/com/example/administrator/tensorflow/tft/Recognition.java", "file_name": "Recognition.java", "file_ext": "java", "file_... | https://github.com/shilonxi/android_TensorFlow | 256 | FILENAME: Recognition.java | 0.290176 | package com.example.administrator.tensorflow.tft;
public class Recognition
{
private final String id;
//标签编号
private final String title;
//标签名称
private final Float confidence;
//标签可信度
public Recognition(
final String id, final String title, final Float confidence) {
thi... |
5c830536-6517-412d-a6ac-12fddfe391ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-21T15:03:09", "repo_name": "carlosmmdiaz/cmmd-web", "sub_path": "/packages/image-card/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1069, "line_count": 39, "lang": "en", "doc... | https://github.com/carlosmmdiaz/cmmd-web | 303 | FILENAME: README.md | 0.252384 | # CMMD-Card
Card for CMMD applications.
## How to install
```sh
yarn add @cmmd-web/card
```
```js
import '@cmmd-web/card/cmmd-card.js';
```
## Example
```html
<cmmd-card>
<div>
Lucas ipsum dolor sit amet wedge mustafar kessel luke yoda utapau darth hutt organa mace.
Grievous organa m... |
df2da337-3f88-4d06-aee5-b586d5152661 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-14 16:15:32", "repo_name": "Timokhov/chat-service", "sub_path": "/src/main/java/com/timokhov/web/chat_service/config/mvc/CustomHeadersInterceptor.java", "file_name": "CustomHeadersInterceptor.java", "file_ext"... | https://github.com/Timokhov/chat-service | 204 | FILENAME: CustomHeadersInterceptor.java | 0.262842 | package com.timokhov.web.chat_service.config.mvc;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class CustomHeadersInt... |
c877f22e-5ec6-4676-a3d3-c18e5aaf235a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-06 07:28:26", "repo_name": "zywudev/AndroidLaunchModeTest", "sub_path": "/app/src/main/java/com/wuzy/androidlaunchmodetest/SingleTopActivity.java", "file_name": "SingleTopActivity.java", "file_ext": "java", "f... | https://github.com/zywudev/AndroidLaunchModeTest | 183 | FILENAME: SingleTopActivity.java | 0.2227 | package com.wuzy.androidlaunchmodetest;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
public class SingleTopActivity extends AppCompatActivity {
private static final String TAG = "SingleTopActivity";
... |
496e4e01-2997-4976-adfb-1e557293c56d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-28 08:06:43", "repo_name": "HSU-009/Android_Studuo_28_notification", "sub_path": "/Android_Studuo_28_notification/app/src/main/java/com/example/android_studuo_28_notification/MainActivity.java", "file_name": "... | https://github.com/HSU-009/Android_Studuo_28_notification | 185 | FILENAME: MainActivity.java | 0.2227 | package com.example.android_studuo_28_notification;
import androidx.appcompat.app.AppCompatActivity;
import android.app.Notification;
import android.app.NotificationManager;
import android.os.Bundle;
import android.view.View;
public class MainActivity extends AppCompatActivity {
@Override
protected void onC... |
c6df8952-8f3a-4345-a3ac-f1cda95690e5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-11 07:00:42", "repo_name": "eversongs/teammate_backend", "sub_path": "/src/main/java/allen/joy/jpademo/controller/admin/TeamController.java", "file_name": "TeamController.java", "file_ext": "java", "file_size_... | https://github.com/eversongs/teammate_backend | 227 | FILENAME: TeamController.java | 0.264358 | package allen.joy.jpademo.controller.admin;
import allen.joy.jpademo.model.team.Team;
import allen.joy.jpademo.model.team.TeamJsonView;
import allen.joy.jpademo.service.MainService;
import com.fasterxml.jackson.annotation.JsonView;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewo... |
f70d5f77-337c-49ef-a112-bcd74da1ffca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-01 05:35:45", "repo_name": "andreivatamanu/Challenges-Module-6", "sub_path": "/app/src/main/java/com/example/homeworkmodule6/Challenge3/BundleFragment.java", "file_name": "BundleFragment.java", "file_ext": "ja... | https://github.com/andreivatamanu/Challenges-Module-6 | 205 | FILENAME: BundleFragment.java | 0.256832 | package com.example.homeworkmodule6.Challenge3;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.example.homeworkmodule6.R;
/**
* A simple {@link Fragment} subcl... |
42731375-09f3-4da9-800d-f995a8e29ffc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-07-23T18:22:04", "repo_name": "airtightdesign/atd-request.js", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1138, "line_count": 47, "lang": "en", "doc_type": "tex... | https://github.com/airtightdesign/atd-request.js | 272 | FILENAME: README.md | 0.240775 | # atd-request.js
## Simple XHR wrapper with Promises
### Makes `GET`, `POST`, `UPDATE` and `DELETE` http requests and returns a `Promise`.
### Installation
`npm install --save atd-request`
### Usage
```
import Request from 'atd-request.js';
Request.get(url, headers).then(response => {
//process response;
});... |
e991d487-fa6c-4204-83a5-351d7130d09a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-28T04:11:31", "repo_name": "lmend8/Database-GUI-in-Python-", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1024, "line_count": 36, "lang": "en", "doc_type": "te... | https://github.com/lmend8/Database-GUI-in-Python- | 232 | FILENAME: README.md | 0.247987 | # Database-GUI-in-Python-
A simple database GUI for mysql database
# Dependencies
First make sure that you have python 3.5 or above (if not here is the link https://www.python.org/)
most of the new version of python have pip installer package manager pre-loaded but if you dont have pip here is the command to install... |
fc0b91b6-36bd-4a6a-a6ab-07eda328a5d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-29 19:32:28", "repo_name": "A-safarji/java-mini-project", "sub_path": "/Data-Structure/HashTable/Word.java", "file_name": "Word.java", "file_ext": "java", "file_size_in_byte": 1139, "line_count": 49, "lang": "... | https://github.com/A-safarji/java-mini-project | 247 | FILENAME: Word.java | 0.284576 | package sa.edu.yuc;
import java.util.Scanner;
public class Word implements Comparable<Word>{
private String word;
private String meaning;
public Word(String word, String meaning) {
this.word = word;
this.meaning = meaning;
}
public String getWord() {
return word;
}
public void setWord(Stri... |
1aa0ac85-895b-4e3b-bba2-9f0e5137c45d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-08 19:45:19", "repo_name": "Zan-the-Man01/QuoteBoss", "sub_path": "/app/src/main/java/com/example/quoteboss/SelectionActivity.java", "file_name": "SelectionActivity.java", "file_ext": "java", "file_size_in_byt... | https://github.com/Zan-the-Man01/QuoteBoss | 178 | FILENAME: SelectionActivity.java | 0.240775 | package com.example.quoteboss;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;
import androidx.appcompat.app.AppCompatActivity;
/**
* Represents the quote type selection menu of the app.
*/
public final class SelectionActivity extends AppCompatActivity {
@Override
pr... |
d18004d0-35e0-4984-909e-aa8dd52726c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-14T21:47:21", "repo_name": "lawgamble/Pomodoro-Timer", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 981, "line_count": 22, "lang": "en", "doc_type": "text", "b... | https://github.com/lawgamble/Pomodoro-Timer | 213 | FILENAME: README.md | 0.252384 | # Pomodoro Timer

A Pomodoro timer created in React. Alternates between study and break sessions with adjustable lengths, and keeps the user updated on session changes using time display in the tab title/page and an audio al... |
10a2db02-92be-46a2-b97e-b416329f5b5f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-12-22T11:21:33", "repo_name": "zackragozzino/OpenGL-RayMarcher", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1103, "line_count": 19, "lang": "en", "doc_type": "t... | https://github.com/zackragozzino/OpenGL-RayMarcher | 286 | FILENAME: README.md | 0.291787 | # Echo Chamber /// OpenGL Music Visualizer
<a href="http://www.youtube.com/watch?feature=player_embedded&v=wiJvpwkGFrM
" target="_blank"><img src="http://img.youtube.com/vi/wiJvpwkGFrM/0.jpg"
alt="IMAGE ALT TEXT HERE" width="240" height="180" border="10" /></a>
## Getting it to Run
- This app only runs on Win... |
5168ee5e-3d06-458d-b96c-64227f7dbc6a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-28 05:08:03", "repo_name": "xingkaihu/redis-gcache", "sub_path": "/src/main/java/com/keifer/core/cache/guice/provider/cluster/JedisClusterProvider.java", "file_name": "JedisClusterProvider.java", "file_ext": "... | https://github.com/xingkaihu/redis-gcache | 233 | FILENAME: JedisClusterProvider.java | 0.272025 | package com.keifer.core.cache.guice.provider.cluster;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.google.inject.Singleton;
import com.keifer.core.cache.redis.cluster.JedisClusterFactory;
import com.keifer.core.cache.redis.config.JedisSupportEnum;
import com.keifer.core.cache.utils.Co... |
e083775a-6251-4d18-b3b5-00f85733a9d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-21 12:24:36", "repo_name": "Ebrahim-Mostafa/ThreadLocal", "sub_path": "/src/main/java/SearchPage/GooglePage.java", "file_name": "GooglePage.java", "file_ext": "java", "file_size_in_byte": 1140, "line_count": 5... | https://github.com/Ebrahim-Mostafa/ThreadLocal | 230 | FILENAME: GooglePage.java | 0.275909 | package SearchPage;
import BasePackage.BaseTest;
import BasePackage.DriverManager;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class GooglePage extends BaseTest {
public GooglePage() ... |
75e7c5e4-4ba2-4aca-b9be-3f17b6a853fe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-31 22:18:29", "repo_name": "willypicard/Lecture_JavaProgramming", "sub_path": "/10_JavaNet/src/pl/kti/cp/net/sockets/DictionaryConnectionHandler.java", "file_name": "DictionaryConnectionHandler.java", "file_ex... | https://github.com/willypicard/Lecture_JavaProgramming | 232 | FILENAME: DictionaryConnectionHandler.java | 0.280616 | package pl.kti.cp.net.sockets;
import java.io.IOException;
import java.net.Socket;
import java.util.Map;
public class DictionaryConnectionHandler extends AbstractServerRunnable {
private Map<String, String> _dictionary;
public DictionaryConnectionHandler(Socket socket, Map<String, String> dictionary) {
... |
560dceab-8ec3-456c-82e5-b27f68d1447b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-21 21:41:00", "repo_name": "TKomericki/AutoServis", "sub_path": "/AutoServisProject/AutoServis/src/main/java/opp/domain/UslugaPrijavaKey.java", "file_name": "UslugaPrijavaKey.java", "file_ext": "java", "file_s... | https://github.com/TKomericki/AutoServis | 270 | FILENAME: UslugaPrijavaKey.java | 0.287768 | package opp.domain;
import java.io.Serializable;
import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
@Embeddable
@EqualsAndHashCode
@AllArgsConstructor
public class UslugaPrijavaKey implements Serializabl... |
f8266d1e-1b4c-4ede-986b-fb26355d5f93 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-09 13:17:28", "repo_name": "theCodeHog/BattleShip_Game", "sub_path": "/src/com/company/Ship.java", "file_name": "Ship.java", "file_ext": "java", "file_size_in_byte": 1099, "line_count": 47, "lang": "en", "doc_... | https://github.com/theCodeHog/BattleShip_Game | 223 | FILENAME: Ship.java | 0.291787 | package com.company;
public class Ship {
//Fields
private Position[] positions;
private int size;
private int hits = 0;
//Constructor
public Ship(int size, Position startPosition){
this.size = size;
positions = getPositions(size, startPosition);
}
//Methods
publi... |
29ee9e14-7001-48ae-9fd8-aec0df9ae351 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-27 13:37:24", "repo_name": "17602937887/weChatApp", "sub_path": "/src/api/LoginDemo.java", "file_name": "LoginDemo.java", "file_ext": "java", "file_size_in_byte": 1031, "line_count": 26, "lang": "en", "doc_typ... | https://github.com/17602937887/weChatApp | 206 | FILENAME: LoginDemo.java | 0.250913 | package api;
import Utils.WeChatService;
import com.fasterxml.jackson.databind.ObjectMapper;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java... |
1d9e4a63-4c23-429d-96dc-b66a189d2567 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-31 07:08:30", "repo_name": "belizwp/WallSplash", "sub_path": "/app/src/main/java/kmitl/afinal/nakarin58070064/wallsplash/task/LoadCollectionTask.java", "file_name": "LoadCollectionTask.java", "file_ext": "java... | https://github.com/belizwp/WallSplash | 231 | FILENAME: LoadCollectionTask.java | 0.295027 | package kmitl.afinal.nakarin58070064.wallsplash.task;
import android.os.AsyncTask;
import java.util.List;
import kmitl.afinal.nakarin58070064.wallsplash.database.WallSplashDatabase;
import kmitl.afinal.nakarin58070064.wallsplash.model.MyCollection;
public class LoadCollectionTask extends AsyncTask<Void, Void, List<... |
e0db2da1-9b42-4d08-8ee6-dd6d61b2ae90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-11 13:12:16", "repo_name": "pantherproject/designpattern", "sub_path": "/src/main/java/com/panther/proxy/dynamic/DynamicProxy.java", "file_name": "DynamicProxy.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/pantherproject/designpattern | 220 | FILENAME: DynamicProxy.java | 0.290176 | package com.panther.proxy.dynamic;
import com.panther.proxy.dynamic.handler.ProxyHandler;
import com.panther.proxy.dynamic.impl.Subject;
import sun.misc.ProxyGenerator;
import java.io.FileOutputStream;
import java.lang.reflect.Proxy;
/**
* Created by panther on 16-9-28.
*/
public class DynamicProxy {
public st... |
1c3f9d67-79af-4f46-873d-dccdbba15d3f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-14 08:02:48", "repo_name": "fajingyin/generate-code", "sub_path": "/src/main/java/com/yin/code/generator/GeneratorMain.java", "file_name": "GeneratorMain.java", "file_ext": "java", "file_size_in_byte": 1070, "... | https://github.com/fajingyin/generate-code | 231 | FILENAME: GeneratorMain.java | 0.235108 | package com.yin.code.generator;
import cn.hutool.core.util.StrUtil;
import cn.org.rapid_framework.generator.GeneratorFacade;
import cn.org.rapid_framework.generator.GeneratorProperties;
import org.h2.util.StringUtils;
import java.io.IOException;
/**
* @author yin
* @since 2021/1/3 22:44
*/
public class GeneratorM... |
595c6888-c55a-4223-bb3e-226036039f9c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-30 09:08:51", "repo_name": "nbeliaev/2019-12-otus-java-beliaev", "sub_path": "/L30-message-system/src/main/java/ru/otus/socketrpocessor/SocketClient.java", "file_name": "SocketClient.java", "file_ext": "java",... | https://github.com/nbeliaev/2019-12-otus-java-beliaev | 223 | FILENAME: SocketClient.java | 0.282988 | package ru.otus.socketrpocessor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ru.otus.messagesystem.Message;
import java.io.BufferedOutputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
public class SocketClient {
private static final Logger logger = LoggerFactory.getLogger(... |
e8c83fff-0a6b-4cc3-b8d1-1b44d2e3d638 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-11 06:31:37", "repo_name": "pengshuhui/Presonal-database", "sub_path": "/src/com/sharpbook/entity/Admin.java", "file_name": "Admin.java", "file_ext": "java", "file_size_in_byte": 994, "line_count": 48, "lang":... | https://github.com/pengshuhui/Presonal-database | 318 | FILENAME: Admin.java | 0.275909 | package com.sharpbook.entity;
public class Admin {
private int AID;
private String ALoginID;
private String ALoginPsw;
private String AName;
@Override
public String toString() {
return "Admin [AID=" + AID + ", ALoginID=" + ALoginID + ", ALoginPsw=" + ALoginPsw + ", AName=" + AName + "]";
}
public ... |
f5d420ca-6518-4dbd-8166-7a28ec475bfa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-08 10:08:17", "repo_name": "cqupt-gsy/distributed-transaction", "sub_path": "/api/src/main/java/apprentice/practice/api/enums/Results.java", "file_name": "Results.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/cqupt-gsy/distributed-transaction | 194 | FILENAME: Results.java | 0.249447 | package apprentice.practice.api.enums;
public enum Results {
CREATE_TRANSACTION_SUCCESS("Transaction create success and in TRY status."),
TRYING_STATUS("Transaction still in TRY status, retry again."),
CONFIRM_STATUS("Transaction already finished with CONFIRM status, please do not retry."),
CANCEL_STATUS(
... |
731fae27-44c3-461c-b688-050533e85de1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-05-09T01:45:26", "repo_name": "AspNetMonsters/website", "sub_path": "/source/_posts/AspNetMonsters-episode-252.md", "file_name": "AspNetMonsters-episode-252.md", "file_ext": "md", "file_size_in_byte": 1053, "... | https://github.com/AspNetMonsters/website | 277 | FILENAME: AspNetMonsters-episode-252.md | 0.245085 |
---
title: Monsters Weekly 252 - Building a WebComponent
layout: post
tags:
- ASP.NET Core
authorId: monsters
date: 2022-05-30 08:00:00
categories:
- Monsters Weekly
permalink: monsters-weekly\ep252
---
In a previous episode, we looked at how we can use the Template element to reuse a block of HTML... |
a151a564-d5aa-4060-817a-e6023db22eaa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-18 08:10:47", "repo_name": "RJForgie/java-olympics", "sub_path": "/app/src/main/java/com/example/ryanforgie/olympics/Competitors/Competitor.java", "file_name": "Competitor.java", "file_ext": "java", "file_size... | https://github.com/RJForgie/java-olympics | 258 | FILENAME: Competitor.java | 0.286169 | package com.example.ryanforgie.olympics.Competitors;
import com.example.ryanforgie.olympics.Medal;
import com.example.ryanforgie.olympics.Sport;
import java.util.ArrayList;
import java.util.Comparator;
/**
* Created by ryanforgie on 15/09/2017.
*/
public abstract class Competitor {
private Country country;
... |
7300b8b3-3520-47cf-b144-5ed6d9ada780 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-28 03:20:01", "repo_name": "gfreguglia/beertech.bancobeer", "sub_path": "/src/main/java/br/com/beertechtalents/lupulo/pocmq/events/RequestChangePasswordEvents.java", "file_name": "RequestChangePasswordEvents.j... | https://github.com/gfreguglia/beertech.bancobeer | 227 | FILENAME: RequestChangePasswordEvents.java | 0.233706 | package br.com.beertechtalents.lupulo.pocmq.events;
import br.com.beertechtalents.lupulo.pocmq.events.template.NotifyRequestResetPassword;
import br.com.beertechtalents.lupulo.pocmq.model.TokenTrocarSenha;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fa... |
bc2423f8-3709-4777-81b3-e90d8b6feb5f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-23 08:52:44", "repo_name": "jabawakhuho/java_workspace", "sub_path": "/GUI0810/src/com/sds/file/ProfileApp.java", "file_name": "ProfileApp.java", "file_ext": "java", "file_size_in_byte": 994, "line_count": 52,... | https://github.com/jabawakhuho/java_workspace | 259 | FILENAME: ProfileApp.java | 0.279042 | package com.sds.collection;
import java.awt.Canvas;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Toolkit;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class ProfileApp extends JFrame{
JLabel src;
C... |
0b405c55-c71f-4921-bb48-06354a38a46f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-02-20T03:49:11", "repo_name": "DestinFloyd/ClickAndLog", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1098, "line_count": 46, "lang": "en", "doc_type": "text", "b... | https://github.com/DestinFloyd/ClickAndLog | 286 | FILENAME: README.md | 0.239349 | # Project2
Objective: Build a full stack App with Node/Express and Mongo/Mongoose from the ground up yourself.
==========
For My App I made 'Click & Log' a place to Create forms, complete forms, & log forms all in one easy location!
I have build Models, Users, which have Boards, and boards have tasks. Also Logs which... |
2c7974ec-c85e-4be1-884d-dcd3c2dbc052 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-05-18 05:07:52", "repo_name": "marionbok/billeterie", "sub_path": "/cineTicket/src/main/java/com/epita/dao/filmDao.java", "file_name": "filmDao.java", "file_ext": "java", "file_size_in_byte": 999, "line_count": 4... | https://github.com/marionbok/billeterie | 207 | FILENAME: filmDao.java | 0.282988 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.epita.dao;
import com.epita.bean.Film;
import com.epita.bean.User;
import com.epita.utils.HibernateUtil;
import java.util.List;
import org.hibernate.Criteria;
import org.hibernate.Session;
import... |
0e4c6596-db15-47c0-99d6-2edb223c5f1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-09 04:40:58", "repo_name": "jubelka/Proyecto-1", "sub_path": "/src/java/Modelo/Conexion.java", "file_name": "Conexion.java", "file_ext": "java", "file_size_in_byte": 1078, "line_count": 38, "lang": "en", "doc_... | https://github.com/jubelka/Proyecto-1 | 223 | FILENAME: Conexion.java | 0.217338 | /*
* 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 Modelo;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.ResultSet;
import java.sql.DriverManager;
import... |
f1cfa9ec-a162-4165-8ecb-b58bb123f110 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-12 20:33:49", "repo_name": "luan-alencar/SGE-gerenciamento-estoque", "sub_path": "/src/main/java/com/luan/ecommerce/ecommerce/dominio/Usuario.java", "file_name": "Usuario.java", "file_ext": "java", "file_size_... | https://github.com/luan-alencar/SGE-gerenciamento-estoque | 239 | FILENAME: Usuario.java | 0.218669 | package com.luan.ecommerce.ecommerce.dominio;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.*;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
@Getter
@Setter
@Entity
@Table(name = "... |
2a21221a-be11-4d6a-8fd2-d4f814cd2091 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-12 01:14:53", "repo_name": "Anass001/mdb", "sub_path": "/app/src/main/java/com/zeneo/tmdb/Activities/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 995, "line_co... | https://github.com/Anass001/mdb | 165 | FILENAME: MainActivity.java | 0.204342 | package com.zeneo.tmdb.Activities;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.google.android.gms.ads.MobileAds;
import com.zeneo.tmdb.R;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle sa... |
60fba4d0-fbe2-4875-9427-7f0018e536d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-01 11:17:01", "repo_name": "DennisTitire/AtelierulDigital", "sub_path": "/app/src/main/java/com/example/aninterface/week5/Activity1Challenge3.java", "file_name": "Activity1Challenge3.java", "file_ext": "java",... | https://github.com/DennisTitire/AtelierulDigital | 187 | FILENAME: Activity1Challenge3.java | 0.252384 | package com.example.aninterface.week5;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import com.example.aninterface.R;
public class... |
2ca1ad37-0623-4b73-9f86-4ee0de4e36c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-05 02:39:15", "repo_name": "AlbertoSierraLopez/Estructuras_de_Datos_Avanzadas", "sub_path": "/exams/enero_2016/usecase/URJCInvest.java", "file_name": "URJCInvest.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/AlbertoSierraLopez/Estructuras_de_Datos_Avanzadas | 240 | FILENAME: URJCInvest.java | 0.287768 | package exams.enero_2016.usecase;
import material.Position;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class URJCInvest {
private Map<String, OrganizationChart> map;
public URJCInvest() {
map = new HashMap<>();
}
public Organiza... |
7c5cd6b0-6114-425a-b6e3-0cfd59bd2ef6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-09 01:18:04", "repo_name": "jeffson1985/sxb", "sub_path": "/src/com/demo/validator/LoginValidator.java", "file_name": "LoginValidator.java", "file_ext": "java", "file_size_in_byte": 1068, "line_count": 39, "la... | https://github.com/jeffson1985/sxb | 274 | FILENAME: LoginValidator.java | 0.278257 | package com.demo.validator;
import org.sxb.core.Controller;
import org.sxb.ext.render.CaptchaRender;
import org.sxb.validate.Validator;
import com.demo.model.Admin;
public class LoginValidator extends Validator {
@Override
protected void validate(Controller c) {
this.validateRequired("admin.username", "usernam... |
f291a3b1-fd10-4bdc-b015-741810b1ead8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-19 14:44:33", "repo_name": "AlesiaDemidkevich/Java_CleanCode", "sub_path": "/Java/src/main/java/Planes/MilitaryPlane.java", "file_name": "MilitaryPlane.java", "file_ext": "java", "file_size_in_byte": 968, "lin... | https://github.com/AlesiaDemidkevich/Java_CleanCode | 198 | FILENAME: MilitaryPlane.java | 0.273574 | package Planes;
import models.MilitaryType;
import java.util.Objects;
public class MilitaryPlane extends Plane{
private MilitaryType militaryType;
public MilitaryPlane(String model, int maxSpeed, int maxFlightDistance, int maxLoadCapacity, MilitaryType militaryType) {
super(model, maxSpeed, maxFlig... |
4fed8f88-159a-410f-8f12-7244005649d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-27 06:54:30", "repo_name": "Inigoperez/chatMultiUsuario", "sub_path": "/src/com/company/Server/ConexionCliente.java", "file_name": "ConexionCliente.java", "file_ext": "java", "file_size_in_byte": 1140, "line_c... | https://github.com/Inigoperez/chatMultiUsuario | 198 | FILENAME: ConexionCliente.java | 0.23231 | package com.company.Server;
import java.io.*;
import java.net.Socket;
public class ConexionCliente extends Thread{
Socket socket;
String nombre;
BufferedWriter bw ;
ConexionCliente(Socket socket,String nombre){
this.socket = socket;
this.nombre = nombre;
try{
bw =... |
e8fa5b2d-d83b-4da0-b9a1-b0b719f08a9e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-27 14:04:14", "repo_name": "kinglongchen/mango", "sub_path": "/mango-core/src/test/java/com/kinglong/mango/core/common/util/ReflectUtilsTest.java", "file_name": "ReflectUtilsTest.java", "file_ext": "java", "fi... | https://github.com/kinglongchen/mango | 215 | FILENAME: ReflectUtilsTest.java | 0.262842 | package com.kinglong.mango.core.common.util;
import com.kinglong.mango.core.config.PropertyHolder;
import lombok.Data;
import org.junit.Test;
import java.lang.reflect.Method;
import java.util.List;
/**
* Created by chenjinlong on 16/1/14.
*/
public class ReflectUtilsTest {
@Test
public void getProperties()... |
cc3814a5-d256-4029-8b9e-2630bb7cce92 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-18 01:08:57", "repo_name": "frank-okafor/digicore-challenge-", "sub_path": "/src/main/java/com/digicore/challenge/security/CustomAuthenticationEntryPoint.java", "file_name": "CustomAuthenticationEntryPoint.jav... | https://github.com/frank-okafor/digicore-challenge- | 174 | FILENAME: CustomAuthenticationEntryPoint.java | 0.229535 | package com.digicore.challenge.security;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.Authentica... |
65df5154-acad-4be7-91dd-b1752e55e9f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-12 08:01:00", "repo_name": "longyuan02/XPosedModule", "sub_path": "/app/src/main/java/com/example/xposedmoudle/xprosed/MixHook.java", "file_name": "MixHook.java", "file_ext": "java", "file_size_in_byte": 1184,... | https://github.com/longyuan02/XPosedModule | 268 | FILENAME: MixHook.java | 0.293404 | package com.example.xposedmoudle.xprosed;
import android.content.res.XModuleResources;
import com.example.xposedmoudle.R;
import de.robv.android.xposed.IXposedHookInitPackageResources;
import de.robv.android.xposed.IXposedHookZygoteInit;
import de.robv.android.xposed.callbacks.XC_InitPackageResources;
public class ... |
8e47214a-cefc-4d94-8346-efe417c03435 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-14 11:40:50", "repo_name": "candrawijayanto/TiketOnline", "sub_path": "/src/main/java/com/tugas/manpro/service/BarcodeService.java", "file_name": "BarcodeService.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/candrawijayanto/TiketOnline | 212 | FILENAME: BarcodeService.java | 0.258326 | package com.tugas.manpro.service;
import java.io.File;
import java.io.IOException;
import java.nio.file.Paths;
import com.google.zxing.BarcodeFormat;
import com.google.zxing.MultiFormatWriter;
import com.google.zxing.WriterException;
import com.google.zxing.client.j2se.MatrixToImageWriter;
import com.google.zxing.com... |
fb5d38bb-31c3-463b-af6d-ca51f0abb495 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-21 08:51:27", "repo_name": "petergeneric/stdlib", "sub_path": "/guice/common/src/main/java/com/peterphi/std/guice/common/auth/annotations/AuthConstraint.java", "file_name": "AuthConstraint.java", "file_ext": "... | https://github.com/petergeneric/stdlib | 242 | FILENAME: AuthConstraint.java | 0.243642 | package com.peterphi.std.guice.common.auth.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface... |
5d86a090-43dd-4e2b-863d-97c0f826b78c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-26 03:04:24", "repo_name": "dawei-ren/study_java", "sub_path": "/myself_study/src/main/java/com/rendawei/myInternet/testUDP/basic/TestSend.java", "file_name": "TestSend.java", "file_ext": "java", "file_size_in... | https://github.com/dawei-ren/study_java | 295 | FILENAME: TestSend.java | 0.285372 | package com.rendawei.myInternet.testUDP.basic;
import java.io.IOException;
import java.net.*;
import java.util.Scanner;
public class TestSend {
public static void main(String[] args) {
DatagramSocket ds = null;
try {
// 创建套接字, 8888指的是发送方的端口
ds = new DatagramSocket(8888);
while (true){
... |
e182c178-455f-4963-8748-0b67152b7e28 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-28 08:57:40", "repo_name": "tawn0414/Spring", "sub_path": "/springbasic/src/app3/MyBeanTest_ApplicationContext.java", "file_name": "MyBeanTest_ApplicationContext.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/tawn0414/Spring | 224 | FILENAME: MyBeanTest_ApplicationContext.java | 0.261331 | package app3;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.GenericXmlApplicationContext;
//ApplicationContext가 객체를 관리하는 방법.
public class MyBeanTest_ApplicationContext {
public static void main(String[] args) {
System.out.println("-------------ApplicationContext생성... |
daab7bbd-1656-4284-a06a-0216dba2fc3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-16 13:40:55", "repo_name": "Vamdawn/binflare", "sub_path": "/src/main/java/chen/binflare/controller/UsersController.java", "file_name": "UsersController.java", "file_ext": "java", "file_size_in_byte": 1139, "l... | https://github.com/Vamdawn/binflare | 203 | FILENAME: UsersController.java | 0.242206 | package chen.binflare.controller;
import chen.binflare.common.dto.ResponseDTO;
import chen.binflare.dto.users.CreateTokenReqDTO;
import chen.binflare.dto.users.CreateTokenRespDTO;
import chen.binflare.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.valida... |
dc060d1c-5087-4917-a7ee-cc0605591972 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-24 14:26:54", "repo_name": "dashe02/Algorithm", "sub_path": "/src/com/exercise3/SortArray.java", "file_name": "SortArray.java", "file_ext": "java", "file_size_in_byte": 982, "line_count": 39, "lang": "en", "do... | https://github.com/dashe02/Algorithm | 294 | FILENAME: SortArray.java | 0.294215 | package com.exercise3;
import java.util.Arrays;
/**
* Created by wecash on 19/3/27.
*/
public class SortArray {
public static void main(String[] args) {
int[] nums = {1, 7, 3, 5, 4, 2, 10};
SortArray s = new SortArray();
int[] result = s.sortArray(nums);
System.out.print(Arrays.t... |
8803f3ab-8257-48d8-a7b5-9f329d7d1283 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-18 04:03:15", "repo_name": "miketrueplus/MagestorePOSAndroid", "sub_path": "/LibMagestore/src/main/java/com/magestore/app/lib/connection/ConnectionException.java", "file_name": "ConnectionException.java", "fil... | https://github.com/miketrueplus/MagestorePOSAndroid | 220 | FILENAME: ConnectionException.java | 0.236516 | package com.magestore.app.lib.connection;
import com.magestore.app.lib.exception.MagestoreException;
/**
* Quản lý các exception của Connection
* Created by Mike on 12/12/2016.
* Magestore
* mike@trueplus.vn
*/
public class ConnectionException extends MagestoreException {
public static final String EXCEPTIO... |
3cfef113-a620-4f7e-b7c2-9b7e373c25cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-14 18:06:49", "repo_name": "lsst-ts/ts_sal_runtime", "sub_path": "/camera/java/src/cameraController.java", "file_name": "cameraController.java", "file_ext": "java", "file_size_in_byte": 1078, "line_count": 44,... | https://github.com/lsst-ts/ts_sal_runtime | 272 | FILENAME: cameraController.java | 0.259826 |
import camera.*;
import org.lsst.sal.SAL_camera;
public class cameraController {
public static void main(String[] args) {
short aKey = 1;
int status = SAL_camera.SAL__OK;
int cmdId = 0;
int timeout = 0;
boolean finished=false;
// Initialize
SAL_camera cmd = new SA... |
39077d2a-546e-4401-bd35-f1df4705968a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-10 00:38:07", "repo_name": "19krikma/MusicPlayer", "sub_path": "/Java8/Version1.0.1/Source Code/MusicPlayer.java", "file_name": "MusicPlayer.java", "file_ext": "java", "file_size_in_byte": 1142, "line_count": ... | https://github.com/19krikma/MusicPlayer | 276 | FILENAME: MusicPlayer.java | 0.286968 |
/*
* Mark Krikunov
* Music Player v1.0.1
* Changes:
* -Removed Stop Button
* -Search for the folder you want to run
* -Spacing between buttons
* -Removed .mp3 from the buttons name
* -Stores name of playing song and stops it immidiatly if needed to
* 3.31.20
*/
import java.io.IOException;
import javafx.app... |
0b6fcd74-ae29-4c94-b658-1fe5e18205d8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-07-10 12:55:21", "repo_name": "roydekleijn/workshop", "sub_path": "/src/test/java/org/workshop/test/ContactTest.java", "file_name": "ContactTest.java", "file_ext": "java", "file_size_in_byte": 1141, "line_count":... | https://github.com/roydekleijn/workshop | 230 | FILENAME: ContactTest.java | 0.247987 | package org.workshop.test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.Select;
import org.testng.annotations.Test;
@Test(groups = { "all", "contact" })
public class ContactTest {
public void ... |
08c904cc-b17d-4a63-b0b6-a481bf6f0c11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-02 05:45:08", "repo_name": "JavaLovers/wechat-mp-sdk", "sub_path": "/src/main/java/org/usc/wechat/mp/sdk/vo/reply/NewsReply.java", "file_name": "NewsReply.java", "file_ext": "java", "file_size_in_byte": 981, "... | https://github.com/JavaLovers/wechat-mp-sdk | 199 | FILENAME: NewsReply.java | 0.213377 | package org.usc.wechat.mp.sdk.vo.reply;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
/**
*
* ... |
cceba982-dafc-425e-bcca-220c894a19f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-01-30 14:45:00", "repo_name": "alexpershin/sms-module", "sub_path": "/src/main/java/org/tcontrol/sms/commands/ThermostatOffCommand.java", "file_name": "ThermostatOffCommand.java", "file_ext": "java", "file_size_i... | https://github.com/alexpershin/sms-module | 208 | FILENAME: ThermostatOffCommand.java | 0.253861 | package org.tcontrol.sms.commands;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import org.tcontrol.sms.IRelayController;
import org.tcontrol.sms.ISMSCommand;
imp... |
98d16800-0375-4881-bb2e-dea5a846a18e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-08T06:28:53", "repo_name": "karlopopovic/Kino-ulaznica", "sub_path": "/Kino_ulaznica/src/Database/Prijava.java", "file_name": "Prijava.java", "file_ext": "java", "file_size_in_byte": 1143, "line_count": 42, "l... | https://github.com/karlopopovic/Kino-ulaznica | 221 | FILENAME: Prijava.java | 0.264358 | /*
* 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 Database;
/**
*
* @author Korisnik
*/
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import jav... |
b8f0ebaa-d17e-4a65-a44e-4e9319dfc370 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-17 15:33:03", "repo_name": "silentcharacter/jooby-app", "sub_path": "/src/main/java/com/mycompany/domain/shop/Customer.java", "file_name": "Customer.java", "file_ext": "java", "file_size_in_byte": 985, "line_c... | https://github.com/silentcharacter/jooby-app | 197 | FILENAME: Customer.java | 0.264358 | package com.mycompany.domain.shop;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.mycompany.annotation.Deployment;
import com.mycompany.domain.Entity;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
@JsonIgnoreProperties(ign... |
529a5459-a7c4-4289-9f69-0d2f4040eb9d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-11 08:36:13", "repo_name": "alexymumo/SqliteDemo", "sub_path": "/app/src/main/java/com/example/classwork/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 1070, "line_count":... | https://github.com/alexymumo/SqliteDemo | 220 | FILENAME: Student.java | 0.23793 | package com.example.classwork;
public class Student {
int id;
String name;
String department;
String course;
public Student(){}
public Student(String name, String department, String course){
this.name = name;
this.department = department;
this.course = course;
}
... |
120cf5c0-bfaa-4a60-9a5f-37e7e8925b0b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-24 18:12:06", "repo_name": "nraynaud/trainoo", "sub_path": "/sport-j2ee/src/main/java/com/nraynaud/sport/web/result/RedirectBack.java", "file_name": "RedirectBack.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/nraynaud/trainoo | 203 | FILENAME: RedirectBack.java | 0.242206 | package com.nraynaud.sport.web.result;
import com.nraynaud.sport.web.ActionDetail;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.Result;
import com.opensymphony.xwork2.inject.Inject;
import org.apache.struts2.dispatcher.mapper.ActionMapper;
import java.util.Map;
/**
* Redirect (wit... |
4e644c08-e2c7-42a1-a531-d315dced38e9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-03 20:01:33", "repo_name": "coleman17/spring-appengine-template-project", "sub_path": "/src/main/java/company/infrastructure/datastore/jackson/JacksonConfiguration.java", "file_name": "JacksonConfiguration.jav... | https://github.com/coleman17/spring-appengine-template-project | 177 | FILENAME: JacksonConfiguration.java | 0.245085 | package company.infrastructure.datastore.jackson;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.fasterxml.jackson.datatype.joda.JodaModule;
import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer;
import or... |
2f2fc142-5cc5-4845-9572-c21daecfe76e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-09 09:22:08", "repo_name": "bluepenfc/HomeAway", "sub_path": "/src/main/java/com/source/ChooseBrowser.java", "file_name": "ChooseBrowser.java", "file_ext": "java", "file_size_in_byte": 1028, "line_count": 35, ... | https://github.com/bluepenfc/HomeAway | 192 | FILENAME: ChooseBrowser.java | 0.249447 | package com.source;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
public class ChooseBrowser {
public WebDriver loadBrowser(String b... |
6efa2159-4492-4f48-9af2-d5f3e2325335 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-01 18:57:32", "repo_name": "Akhilkathuria2321/PhoneStop", "sub_path": "/app/src/main/java/com/alpgeeks/phonestop/library/SmsReader.java", "file_name": "SmsReader.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/Akhilkathuria2321/PhoneStop | 215 | FILENAME: SmsReader.java | 0.262842 | package com.alpgeeks.phonestop.library;
import android.app.Activity;
import android.database.Cursor;
import android.net.Uri;
/**
* Created by Akki on 10/26/2015.
*/
public class SmsReader {
public static final String INBOX = "content://sms/inbox";
public static boolean smsReceived(Activity activity) {
... |
aef10572-3f0f-4239-b44f-1f2c63311e62 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-07 02:54:56", "repo_name": "Bigua/ComicCollector", "sub_path": "/Fragments/WishListFragment.java", "file_name": "WishListFragment.java", "file_ext": "java", "file_size_in_byte": 1141, "line_count": 39, "lang":... | https://github.com/Bigua/ComicCollector | 211 | FILENAME: WishListFragment.java | 0.221351 | package me.bigua.comiccollector.Fragments;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import me.bigua.comiccollector.MainActivity;
import me.bigua.comiccollector.R;
public class WishListFragment extends... |
cd421a9e-d901-4dcb-9961-bfb16810f838 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-07 11:35:58", "repo_name": "warriordog/MapMaster", "sub_path": "/src/net/acomputerdog/map/stage/convert/in/ImportedTile.java", "file_name": "ImportedTile.java", "file_ext": "java", "file_size_in_byte": 1099, "... | https://github.com/warriordog/MapMaster | 270 | FILENAME: ImportedTile.java | 0.262842 | package net.acomputerdog.map.stage.convert.in;
import net.acomputerdog.map.image.SourcedImage;
import net.acomputerdog.map.tile.Tile;
import net.acomputerdog.map.tile.TileSource;
public class ImportedTile extends Tile {
private final SourcedImage image;
private final int startX, startY, endX, endY;
priva... |
242383f2-3b5a-4fbf-beaa-3f04a4a17c49 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-30 09:21:53", "repo_name": "phnMegazone/simple-watching-service", "sub_path": "/src/main/java/com/fleta/watchingservice/adapter/grpc/server/WatchingServer.java", "file_name": "WatchingServer.java", "file_ext":... | https://github.com/phnMegazone/simple-watching-service | 207 | FILENAME: WatchingServer.java | 0.239349 | package com.fleta.watchingservice.adapter.grpc.server;
import com.fleta.watchingservice.domain.service.WatchingServiceGrpcImpl;
import com.fleta.watchingservice.port.WatchingRepository;
import io.grpc.ServerBuilder;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.... |
d47e2e27-1c5a-4336-b67a-9362f638ab77 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-16 18:15:52", "repo_name": "ImadYamane/mad_app", "sub_path": "/security-bundle/src/main/java/managers/RealmManager.java", "file_name": "RealmManager.java", "file_ext": "java", "file_size_in_byte": 976, "line_c... | https://github.com/ImadYamane/mad_app | 232 | FILENAME: RealmManager.java | 0.242206 | package managers;
import org.picketlink.annotations.PicketLink;
import org.picketlink.idm.PartitionManager;
import org.picketlink.idm.model.basic.Realm;
import resources.JPAResources;
import javax.enterprise.inject.Produces;
import javax.inject.Inject;
import java.io.Serializable;
/**
* author.name: Imad Yamane
* ... |
88ffa713-21a5-49d3-a607-9d2eb9c651b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-19 15:37:04", "repo_name": "jojoldu/blog-code", "sub_path": "/springboot-jpa-id/src/test/java/com/jojoldu/blogcode/springbootjpaid/ApplicationTests.java", "file_name": "ApplicationTests.java", "file_ext": "jav... | https://github.com/jojoldu/blog-code | 220 | FILENAME: ApplicationTests.java | 0.262842 | package com.jojoldu.blogcode.springbootjpaid;
import org.junit.After;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import ... |
86e0b74f-3eb1-45e6-987c-4e15605ff95b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-07 16:22:28", "repo_name": "pedromassango/Programmers", "sub_path": "/app/src/main/java/com/pedromassango/programmers/extras/AnimUtils.java", "file_name": "AnimUtils.java", "file_ext": "java", "file_size_in_by... | https://github.com/pedromassango/Programmers | 185 | FILENAME: AnimUtils.java | 0.245085 | package com.pedromassango.programmers.extras;
import android.content.Context;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.view.animation.LinearInterpolator;
/**
* Created by Pedro Massango on 26/05/2017.
... |
ffa561e8-5c93-4d77-a648-4711bd346c22 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-19 15:20:05", "repo_name": "marcelo-s/geo-students", "sub_path": "/src/main/java/entity/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 1140, "line_count": 51, "lang": "en"... | https://github.com/marcelo-s/geo-students | 233 | FILENAME: Student.java | 0.261331 | package entity;
import java.util.Objects;
/**
* Entity class that models a student with geo location
*/
public class Student implements Comparable<Student> {
private String name;
private GeoCoordinate geoCoordinate;
public Student(String name, GeoCoordinate geoCoordinate) {
this.name = name;
... |
c65a74d7-0840-4ef8-8a8c-7ecdf3bccc93 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-03-31 15:37:56", "repo_name": "LO-RAN/codeQualityPortal", "sub_path": "/Src/Base/src/main/java/com/compuware/caqs/domain/dataschemas/rights/RoleBean.java", "file_name": "RoleBean.java", "file_ext": "java", "file_... | https://github.com/LO-RAN/codeQualityPortal | 206 | FILENAME: RoleBean.java | 0.264358 | package com.compuware.caqs.domain.dataschemas.rights;
import com.compuware.caqs.domain.dataschemas.DefinitionBean;
public class RoleBean extends DefinitionBean implements Comparable {
private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object role) {
boolean... |
1499c262-2ef6-45e2-99b0-33550e29e325 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-01-26T14:31:49", "repo_name": "ThomasLambert/JiveAPI", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1037, "line_count": 29, "lang": "en", "doc_type": "text", "blo... | https://github.com/ThomasLambert/JiveAPI | 241 | FILENAME: README.md | 0.253861 | Jive API
Is this repository you will find :
- a Jive API wrapper
- a Jive analytics API wrapper
- a Bunchball API wrapper
=== Jive API ===
Basic Auth : all performed actions will be performed by authenticated user
You will have to fill in your password into wrapper.gs.
I've divided functions into places and ... |
e22c0b5e-cb6c-44d9-9952-b7b644f3439e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-29 11:01:05", "repo_name": "zk4/code_template", "sub_path": "/spring/web/src/main/java/com/zk/condition/MacCondition.java", "file_name": "MacCondition.java", "file_ext": "java", "file_size_in_byte": 1054, "lin... | https://github.com/zk4/code_template | 192 | FILENAME: MacCondition.java | 0.240775 | package com.zk.condition;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.context.annotation.Condition;
import org.springframework.context.annotation.ConditionContext;
import org.springframework.core.env.Environment;
import org.springframework.core.type.Annot... |
a993d8d7-34cc-4216-9e61-833dfa226bd7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-01 02:15:36", "repo_name": "samuraiball/spring-webflux-with-mongo-sample", "sub_path": "/src/test/java/com/demo/reactive/model/repository/EmployeeCrudRepositoryTest.java", "file_name": "EmployeeCrudRepositoryT... | https://github.com/samuraiball/spring-webflux-with-mongo-sample | 204 | FILENAME: EmployeeCrudRepositoryTest.java | 0.258326 | package com.demo.reactive.model.repository;
import com.demo.reactive.model.document.Employee;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.juni... |
9af1b6cb-bcec-4725-8cf4-fcb4f84f7d31 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-24 10:17:22", "repo_name": "shmily-xiao/lemon", "sub_path": "/src/main/java/com/lemon/framework/enumwrapper/Option.java", "file_name": "Option.java", "file_ext": "java", "file_size_in_byte": 998, "line_count":... | https://github.com/shmily-xiao/lemon | 210 | FILENAME: Option.java | 0.240775 | package com.lemon.framework.enumwrapper;
/**
* Created by igotti on 14-11-4.
*/
public class Option extends NameValuePair<String> implements Cloneable {
private boolean selected;
public Option() {
}
public Option(String name, String value) {
super(name, value);
}
public Option(St... |
3848661d-382a-4d9c-aa69-1a18bad48966 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-02 00:05:38", "repo_name": "hliu89/ITMD555_HongqiaoLiu", "sub_path": "/app/src/main/java/com/xk/CarRenting/frontend/adapter/LoginPagerAdapter.java", "file_name": "LoginPagerAdapter.java", "file_ext": "java", "... | https://github.com/hliu89/ITMD555_HongqiaoLiu | 224 | FILENAME: LoginPagerAdapter.java | 0.249447 | package com.xk.CarRenting.frontend.adapter;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.xk.CarRenting.app.Constant;
import com.xk.CarRenting.frontend.fragment.LoginFragment;
import jav... |
d174d662-c348-4b77-976e-f68ba4ba7398 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-29 08:51:52", "repo_name": "wachoo/practice-demo-quartz", "sub_path": "/quartz-common/src/main/java/com/wachoo/demo/quartz/jmx/bo/MetricalInfo.java", "file_name": "MetricalInfo.java", "file_ext": "java", "file... | https://github.com/wachoo/practice-demo-quartz | 317 | FILENAME: MetricalInfo.java | 0.277473 | package com.wachoo.demo.quartz.jmx.bo;
import java.beans.ConstructorProperties;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* @desc: 基本监测属性指标
* @author: wangchao3
* @since: JDK1.8
* @date: 2018/9/28 18:26
*/
@Setter
@Getter
@NoArgsConstructor
public class MetricalInfo {
pr... |
38fe9357-6429-446c-b7aa-8271a8823122 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-20 20:31:40", "repo_name": "dhjacobson/recipebook-commons", "sub_path": "/src/main/java/com/dhjacobson/recipebook_commons/enums/QuantityUnit.java", "file_name": "QuantityUnit.java", "file_ext": "java", "file_s... | https://github.com/dhjacobson/recipebook-commons | 289 | FILENAME: QuantityUnit.java | 0.290981 | package com.dhjacobson.recipebook_commons.enums;
public enum QuantityUnit {
COUNT(null, null, null, null),
TEASPOON("teaspoon", "teaspoons", "tsp", "tsps"),
TABLESPOON("tablespoon", "tablespoons", "Tbsp", "Tbsps"),
CUP("cup", "cups", "cup", "cups"),
OUNCE("ounce", "ounces", "oz", "oz"),
POUND(... |
249cd586-b5fb-4532-8ee4-80f9322756c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-29 17:07:00", "repo_name": "nadavbrkt/MMU", "sub_path": "/src/memory/Page.java", "file_name": "Page.java", "file_ext": "java", "file_size_in_byte": 993, "line_count": 60, "lang": "en", "doc_type": "code", "blo... | https://github.com/nadavbrkt/MMU | 260 | FILENAME: Page.java | 0.295027 | package memory;
import java.io.Serializable;
// Page class represent page in memory
@SuppressWarnings("serial")
public class Page <T> implements Serializable{
// Data members
private int pageId;
private T content;
// C'tor
public Page(int id, T content){
this.pageId = id;
this.content = content;
}
//... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.