id
stringlengths
36
36
meta
stringlengths
429
697
code_content
large_stringlengths
612
1.26k
2b5548c6-39d1-441f-b433-6a1b3670d9d1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-10 23:52:03", "repo_name": "Abhishek1230/Javanew", "sub_path": "/Work/src/main/java/com/stereo/vik/Initialize.java", "file_name": "Initialize.java", "file_ext": "java", "file_size_in_byte": 859, "line_count": ...
package com.stereo.vik; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.ServletRegistration; import org.springframework.web.WebApplicationInitializer; import org.springframework.web.context.support.AnnotationConfigWebApplicationContext; import org.springframework.web.s...
e2482819-b34c-43a0-8c55-3782396751c7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-17 08:32:42", "repo_name": "ptid/KasandraRetail", "sub_path": "/app/src/main/java/id/kasandra/retail/TransactionItem.java", "file_name": "TransactionItem.java", "file_ext": "java", "file_size_in_byte": 858, "l...
package id.kasandra.retail; public class TransactionItem { private String id; private String title; private String price; private String date; public TransactionItem(){ this.id = null; this.title = null; this.price = null; this.date = null; } public TransactionItem(String id, String title, String d...
059dcd1d-a3b2-4085-ac63-6799b5a1e774
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-23 07:48:11", "repo_name": "gaojun1000/jackson-examples", "sub_path": "/src/main/java/com/thejavaside/jackson/Person.java", "file_name": "Person.java", "file_ext": "java", "file_size_in_byte": 859, "line_count...
package com.thejavaside.jackson; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonView; /** * Created on 4/14/16. */ public class Person { @JsonView(Views.External.class) private String name; @JsonView(Views.Internal.class) private int age; priv...
969a9d0f-0143-4d25-a715-7a12386f2515
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-12 12:00:38", "repo_name": "keyhunter/dolphin", "sub_path": "/dolphin-server/src/main/java/com/dolphin/server/invocation/scanner/DefaultClassFilter.java", "file_name": "DefaultClassFilter.java", "file_ext": "j...
package com.dolphin.server.invocation.scanner; import com.dolphin.core.annotation.RPCService; import com.dolphin.core.utils.ClassFilter; import java.lang.annotation.Annotation; public class DefaultClassFilter implements ClassFilter { @Override public boolean accept(Class clazz) { if (clazz.isInterfa...
a1ec8ad9-882f-4601-b6d4-e2c308691cba
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-12 02:35:26", "repo_name": "archko/APlane", "sub_path": "/apiLibrary/src/com/me/microblog/bean/SStatusData.java", "file_name": "SStatusData.java", "file_ext": "java", "file_size_in_byte": 871, "line_count": 36...
package com.me.microblog.bean; import java.util.ArrayList; /** * User: archko Date: 12-7-23 Time: 上午11:11 */ public class SStatusData <T> { /** * 微博列表 */ public ArrayList<T> mStatusData; public T mData; public int previous_cursor; public int next_cursor; public int total_number; ...
660e2588-984f-42bf-8c45-ace59786bfee
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-25 16:24:40", "repo_name": "clairton/hibernate-validator-utf8", "sub_path": "/src/test/java/br/eti/clairton/validation/UTF8ResourceBundleMessageInterpolatorTest.java", "file_name": "UTF8ResourceBundleMessageIn...
package br.eti.clairton.validation; import static javax.validation.Validation.buildDefaultValidatorFactory; import static org.junit.Assert.assertEquals; import java.util.Set; import javax.validation.ConstraintViolation; import javax.validation.Validator; import javax.validation.constraints.NotNull; import org.junit...
48c415cb-d15c-4e50-8419-3d54839595c4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-21 02:27:48", "repo_name": "jiaojie1989/chSys", "sub_path": "/src/main/java/me/jiaojie/ch/model/basic/Message.java", "file_name": "Message.java", "file_ext": "java", "file_size_in_byte": 658, "line_count": 52,...
/* * Copyright (C) 2016 SINA Corporation * * * * This script is firstly created at 2016-05-27. * * To see more infomation, * visit our official website http://jiaoyi.sina.com.cn/. */ package me.jiaojie.ch.model.basic; /** * * @author jiaojie <jiaojie@staff.sina.com> */ public class Message { ...
44760cfd-93e1-45b5-b1a6-be580d5912f9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-23 20:59:02", "repo_name": "sessimsamirah/people-register", "sub_path": "/people-register/src/main/java/com/samirahsessim/PeopleRegister.java", "file_name": "PeopleRegister.java", "file_ext": "java", "file_siz...
package com.samirahsessim; import com.samirahsessim.exception.EmptyRegisterException; import com.samirahsessim.exception.PersonWithoutNameException; import java.util.ArrayList; import java.util.List; import static java.util.Objects.isNull; public class PeopleRegister { private List<Person> people; public P...
18841364-10b5-4fe8-856f-bc57c7540ddf
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-03 09:35:37", "repo_name": "Itanimulli0407/Invoices_V2.0", "sub_path": "/src/easp/DAO/EASPExecutionUnitImpl.java", "file_name": "EASPExecutionUnitImpl.java", "file_ext": "java", "file_size_in_byte": 859, "line...
package easp.DAO; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import easp.DAOAPI.EASPExecutionUnit; import easp.exceptions.EASPException; import easp.exceptions.EASPExceptionEnum; import easp.statements.EASPStatement; public class EASPExecuti...
d8ed8f62-7f8e-4752-96a2-a56296d8fd48
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-04 10:57:46", "repo_name": "rana771/hrm-payroll", "sub_path": "/src/main/java/com/bracu/hrm/model/EmployeeEducation.java", "file_name": "EmployeeEducation.java", "file_ext": "java", "file_size_in_byte": 859, "...
package com.bracu.hrm.model; import com.bracu.hrm.model.settings.SetupEntity; import lombok.Data; import org.springframework.web.multipart.MultipartFile; import javax.persistence.*; @Entity @Table(name = "employee_education") @Data public class EmployeeEducation extends BaseEntity { @ManyToOne(targetEntity=Employ...
7cc97bcc-3d39-4112-b0f9-359895749ce6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-06 13:44:00", "repo_name": "youngwoolee/moeny-throwing", "sub_path": "/src/main/java/com/pay/money/throwing/repository/ThrowingReadRepository.java", "file_name": "ThrowingReadRepository.java", "file_ext": "jav...
package com.pay.money.throwing.repository; import com.pay.money.throwing.domain.ThrowingMoney; import com.querydsl.jpa.impl.JPAQueryFactory; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Repository; import java.util.Optional; import static com.pay.money.throwing.domain.QReceivingMoney....
1dbe46c4-449a-4e96-82b5-5d4fe8be3c6f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-10 14:08:24", "repo_name": "Zoo2Animal/Netease_MVP", "sub_path": "/app/src/main/java/com/mayue/neteasemvp/base/BaseFragmentActivity.java", "file_name": "BaseFragmentActivity.java", "file_ext": "java", "file_si...
package com.mayue.neteasemvp.base; import android.os.Bundle; import androidx.annotation.LayoutRes; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app.FragmentManager; public abstract class BaseFragmentActivity<I extends IFragmentCallbacks> extends AppCo...
36d6c62a-793b-4dd1-ba6a-60ea947519e0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-07 10:09:44", "repo_name": "soumyakotal007/CognizantBankingWireProject", "sub_path": "/workspace-git/java/WirePaymentAuthorization/src/main/java/com/wire/payment/authorization/dto/PaymentAuthorizationRequest.j...
package com.wire.payment.authorization.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @ApiModel(value = "Payment Authorization Request") public class PaymentAuthorizationRequest { @ApiModelProperty(notes = "The merchant id" , required = true ) private int merchantId; @...
b7100451-319b-4ef7-8a54-7fbf17248518
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-11 11:15:56", "repo_name": "Danne95/QnA", "sub_path": "/app/src/test/java/app/msda/qna/PermissionUnitTest.java", "file_name": "PermissionUnitTest.java", "file_ext": "java", "file_size_in_byte": 859, "line_coun...
package app.msda.qna; import org.junit.Test; import java.security.Permission; import Adapters.Authentication; import Adapters.Permissions; import static org.junit.Assert.assertEquals; public class PermissionUnitTest { private int Actual_REQUESTCODE = 1; @Test public void PermObj_Check() { Perm...
58966d34-2f61-486b-a096-38781e28554c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-20 11:39:48", "repo_name": "hongyi0609/EdwinUtitls", "sub_path": "/app/src/main/java/com/edwin/utils/RoundRectangleActivity.java", "file_name": "RoundRectangleActivity.java", "file_ext": "java", "file_size_in_...
package com.edwin.utils; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.edwin.utils.shapeimageview.MultiShapeView; public class RoundRectangleActivity extends AppCompatActivity { private MultiShapeView photo1; private MultiShapeView photo2; private MultiShapeView p...
2a172eeb-ea9e-4946-aefa-8b22ef9877e0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2006-07-05 02:23:17", "repo_name": "syrus-ru/amficom", "sub_path": "/AMFICOM/v1/kisserver/src/com/syrus/AMFICOM/server/measurement/Action.java", "file_name": "Action.java", "file_ext": "java", "file_size_in_byte": 859...
package com.syrus.AMFICOM.server.measurement; import java.sql.SQLException; import java.sql.Timestamp; public abstract class Action { public static final int ACTION_TYPE_TEST = 0; public static final int ACTION_TYPE_ANALYSIS = 1; public static final int ACTION_TYPE_EVALUATION = 2; public static final int ACTION_T...
646c1c1a-3eee-4a4e-892e-fb84c92c8af7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-11-04 20:26:44", "repo_name": "Skamp/LS-App", "sub_path": "/src/com/lsn/LoadSensing/faves/LSFavesNetworksActivity.java", "file_name": "LSFavesNetworksActivity.java", "file_ext": "java", "file_size_in_byte": 6957,...
package com.lsn.LoadSensing.faves; import greendroid.app.GDListActivity; import greendroid.widget.ItemAdapter; import greendroid.widget.item.TextItem; import android.os.Bundle; public class LSFavesNetworksActivity extends GDListActivity{ @Override public void onCreate(Bundle savedInstanceState) { su...
5c2d921c-20f7-460e-a814-7d961970208f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-05 20:57:39", "repo_name": "Ashi/moparscape530", "sub_path": "/src/net/scapeemulator/game/model/player/skills/firemaking/RemoveFireTask.java", "file_name": "RemoveFireTask.java", "file_ext": "java", "file_size...
package net.scapeemulator.game.model.player.skills.firemaking; import net.scapeemulator.game.model.World; import net.scapeemulator.game.model.object.GroundObjectList.GroundObject; import net.scapeemulator.game.task.Task; /** * @author David Insley */ class RemoveFireTask extends Task { private static final int...
dacdfdbe-900e-4abd-a814-97fdfce5ef79
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-06-05 13:16:03", "repo_name": "zabranskiy/functionalisation", "sub_path": "/src/main/java/com/sdc/cfg/Edge.java", "file_name": "Edge.java", "file_ext": "java", "file_size_in_byte": 859, "line_count": 40, "lang": ...
package com.sdc.cfg; public class Edge { private final int mySource; private int myDestination; private final EdgeType myType; public enum EdgeType { NONE, TRUEEXIT, FALSEEXIT, GOTO } public Edge(final int mySource, final int myDestination, final EdgeType type) { this.mySource...
5b7f0dd0-8d04-480c-9c2b-0b6a3c6c5174
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-21 09:52:34", "repo_name": "GaetanoCrisafulli/Tetris", "sub_path": "/Form.java", "file_name": "Form.java", "file_ext": "java", "file_size_in_byte": 860, "line_count": 35, "lang": "en", "doc_type": "code", "blo...
package Tetris; import java.util.Arrays; public class Form { private char name; Coord[] coords = new Coord[4]; public Form(char name, Coord c1, Coord c2, Coord c3, Coord c4){ this.name = name; this.coords[0] = c1; this.coords[1] = c2; this.coords[2] = c3; ...
b00f5d0e-994e-4318-ac5f-ac7544487db7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-19 20:08:00", "repo_name": "winkymonkey/Java_01_All", "sub_path": "/src/main/java/org/example/java/l_collection/c_map/C_WeakHashMap.java", "file_name": "C_WeakHashMap.java", "file_ext": "java", "file_size_in_b...
package org.example.java.l_collection.c_map; import java.util.HashMap; import java.util.Map; import java.util.WeakHashMap; public class C_WeakHashMap { public static void main(String[] args) throws InterruptedException { Employee emp = new Employee(); Map<Employee, String> hmap = new HashMap<>(); hmap.put(e...
cd5ce5e2-cc67-47e1-b77e-173e582ce57d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-23 22:16:03", "repo_name": "sergizarote/skoa1.0", "sub_path": "/src/skoa/models/ElemNameFilter.java", "file_name": "ElemNameFilter.java", "file_ext": "java", "file_size_in_byte": 563, "line_count": 37, "lang":...
/** * GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. */ package skoa.models; i...
a13850fd-30dc-4c35-b78b-e0c2a6819d45
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-21 06:46:25", "repo_name": "Chang5710/CSC133", "sub_path": "/src/com/mycompany/a3/game/gameWorld/gameObject/fixedObject/FixedObject.java", "file_name": "FixedObject.java", "file_ext": "java", "file_size_in_byt...
package com.mycompany.a3.game.gameWorld.gameObject.fixedObject; import com.codename1.ui.geom.Point; import com.codename1.ui.geom.Point2D; import com.mycompany.a3.game.gameWorld.ISelectable; import com.mycompany.a3.game.gameWorld.gameObject.GameObject; public abstract class FixedObject extends GameObject implements IS...
73da3a84-7baa-4fef-86ca-b3d52c0c27f9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-20 16:07:44", "repo_name": "yanweiqi/mmm", "sub_path": "/mex-bidder-core/src/test/java/com/mex/bidder/engine/metrics/BizDataHttpReceiverTest.java", "file_name": "BizDataHttpReceiverTest.java", "file_ext": "jav...
package com.mex.bidder.engine.metrics; import com.alibaba.fastjson.JSON; import com.google.common.collect.ImmutableMap; import com.mex.bidder.engine.bizdata.MexDataContext; import org.junit.Test; /** * User: donghai * Date: 2016/12/4 */ public class BizDataHttpReceiverTest { @Test public void receive() thr...
0cee9782-e897-4bcb-b1e1-d50553a8308f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-14 07:15:22", "repo_name": "vli21/OrderedArrayList", "sub_path": "/OrderedArrayList.java", "file_name": "OrderedArrayList.java", "file_ext": "java", "file_size_in_byte": 859, "line_count": 38, "lang": "en", "d...
import java.util.ArrayList; public class OrderedArrayList<T extends Comparable<T>> extends NoNullArrayList<T> { public OrderedArrayList() { super(); } public OrderedArrayList(int starting) { super(starting); } public boolean add(T value) { if (value == null) { throw new IllegalArgumentExcepti...
77b95c33-59aa-44f2-9204-84d28e962c91
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-24 23:59:57", "repo_name": "try0/wicket-iziToast", "sub_path": "/wicket-izitoast-core/src/main/java/jp/try0/wicket/izitoast/core/resource/js/IziToastJavaScriptResourceReference.java", "file_name": "IziToastJav...
package jp.try0.wicket.izitoast.core.resource.js; import org.apache.wicket.request.resource.JavaScriptResourceReference; /** * Reference of iziToast javascript * * @author Ryo Tsunoda * */ public class IziToastJavaScriptResourceReference extends JavaScriptResourceReference { private static final long...
3e5e3490-a901-4157-ac3a-a6954d6ab188
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-27 11:46:57", "repo_name": "13068944359/train_ticket", "sub_path": "/src/order/web/PayServlet.java", "file_name": "PayServlet.java", "file_ext": "java", "file_size_in_byte": 859, "line_count": 34, "lang": "en"...
package order.web; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import order.service.OrderService; public class PayServlet extends Htt...
e7b90d6b-d7e3-43eb-b862-c2830231ae28
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-05-05T16:05:18", "repo_name": "jstevens0324/SavingSight", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 859, "line_count": 23, "lang": "en", "doc_type": "text", "b...
Demo Project for Saving Sight ======================= Introduction ------------ This is a simple, skeleton application using the ZF2 MVC layer and module systems. This application is meant to be a demonstration project to show aquired skills for Saving Sight. Installation ------------ `Run the sql script located at ...
d7b3e95b-52e3-4872-a222-16b23da817c8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-18 11:06:18", "repo_name": "GrandJah/job4j_car_accident", "sub_path": "/src/main/java/ru/job4j/accident/repository/hibernate/RuleHibernate.java", "file_name": "RuleHibernate.java", "file_ext": "java", "file_si...
package ru.job4j.accident.repository.hibernate; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.stereotype.Repository; import java.util.List; import ru.job4j.accident.model.Rule; import ru.job4j.accident.repository.interdie.RuleRepository; @Repository public class RuleHi...
46bb7a8b-4f17-45fe-8e05-42152cc31946
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-11-07T12:22:35", "repo_name": "tiffvan/Mood-AI", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 859, "line_count": 22, "lang": "en", "doc_type": "text", "blob_id": ...
# Mood-AI Moody is a fun, cute novelty app that allows one to check if they are happy or sad and get a video based on their mood via Youtube. Features #1 Information pages that tell you about the app #2 The ability to use a picture either via your phones gallery or yor camera #3 Once you have chosen a picture...
7d30d93b-55d5-4581-85c8-2e42464d094f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-06-04T13:23:22", "repo_name": "seaskyv/IBM-NOI-simulator", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 859, "line_count": 38, "lang": "en", "doc_type": "text", "...
# IBM-NOI-simulator IBM Netcool Operator Insight event simulator. This simulator written in Python, send simulated event to Netcool/OMNIBus socket probe. This script will simulate Related Event and Seasonal Event, also has the capabiltiy to add noisy event to prove RE and SE concept. ## Prerequisites Python, IBM Netc...
31988ccc-b647-4e2c-813c-3a5de73a6dbe
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-12T21:48:30", "repo_name": "PratikMahajan/Recipe-Management-Webapp-And-Infrastructure", "sub_path": "/infrastructure/aws/cloudformation/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in...
# Cloudformation Deployment ## Input Variables ### Environment: **The first parameter should be the Environment** * Development Environment: `-d` or `--dev` * Production Environment: `-p` or `--prod` ### Stack Name **The second parameter should be the Stack Name** * String value only ## Deploying Infrastructure Over...
f2e399a3-427c-4f6b-baad-6d7a344f75eb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-10-03 23:11:14", "repo_name": "bogdanovmn/translator", "sub_path": "/translator-web-meta/translator-web-app/src/test/java/com/github/bogdanovmn/translator/web/app/user/OAuth2ProviderTest.java", "file_name": "OAut...
package com.github.bogdanovmn.translator.web.app.user; import org.hamcrest.CoreMatchers; import org.junit.Test; import java.io.IOException; import java.net.URISyntaxException; import java.nio.file.Files; import java.nio.file.Paths; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat...
e49ad857-cb7d-4e5f-913a-efe5e95c2044
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-29 18:41:37", "repo_name": "stevyhacker/guessthecity-app", "sub_path": "/app/src/main/java/me/montecode/simplequizapp/gradovi/PreferencesHelper.java", "file_name": "PreferencesHelper.java", "file_ext": "java",...
package me.montecode.simplequizapp.gradovi; import android.content.Context; import android.content.SharedPreferences; /** * Created by stevyhacker on 27.7.14.. */ public class PreferencesHelper { private final String PREFS_NAME = "me.montecode.pmcg.kvizoprirodi.preferences"; private Context context; p...
60170366-9238-4772-85dc-cccd644098f5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-19 19:11:25", "repo_name": "DreadPirateRoberts44/Deck", "sub_path": "/Card.java", "file_name": "Card.java", "file_ext": "java", "file_size_in_byte": 860, "line_count": 40, "lang": "en", "doc_type": "code", "bl...
/** * Put a short phrase describing the program here. * * @author Put your name here * */ public final class Card { private String suit; private int number; public Card(int val, String suit) { this.suit = suit; this.number = val; } @Override public Stri...
ccc54612-d1ef-49b4-b2af-e041f3956d93
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-02T19:00:22", "repo_name": "travier/fcos-progress-reports", "sub_path": "/2020-10-29.md", "file_name": "2020-10-29.md", "file_ext": "md", "file_size_in_byte": 859, "line_count": 24, "lang": "en", "doc_type...
--- layout: default date: 2020-10-29 --- # 2020-10-29 - Rebased the `next` stream to Fedora 33 - Created `fedora-repos-archive` package to enable more reliable [package layering](https://github.com/coreos/fedora-coreos-tracker/issues/400) - Afterburn v4.5.3 adds enhancements for VMware and OpenStack -...
32419bfc-d366-48c1-97ae-328d62d1bbbc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-10 17:06:43", "repo_name": "yangtairen/CMUSphinx4", "sub_path": "/sphinx4-core/src/main/java/edu/cmu/sphinx/result/WordResults.java", "file_name": "WordResults.java", "file_ext": "java", "file_size_in_byte": 8...
package edu.cmu.sphinx.result; import com.google.common.base.Function; import com.google.common.base.Predicate; public final class WordResults { private static final Function<WordResult, String> TO_SPELLING = new Function<WordResult, String>() { public String apply(WordResult input)...
4a38a291-a912-4767-a258-42db7e13d3eb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-01 06:29:57", "repo_name": "adligo/tests4j_tests.adligo.org", "sub_path": "/src_jdk_1.8/org/adligo/tests4j_v1_tests/gwt_refs/v2_6/logging/Handler_2_6_MockUse.java", "file_name": "Handler_2_6_MockUse.java", "fi...
package org.adligo.tests4j_v1_tests.gwt_refs.v2_6.logging; import java.util.logging.Formatter; import java.util.logging.Handler; import java.util.logging.Level; import java.util.logging.LogRecord; /** autogenerated by org.adligo.tests4j.gen.dependency_groups.ClassUseGen*/ public class Handler_2_6_MockUse { public H...
2ee2ac3e-d1c4-4c4a-9091-626c25e0bc58
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-07 21:08:18", "repo_name": "gabrielsmartins/lightsaber-service", "sub_path": "/src/main/java/br/gabrielsmartins/lightsaber/infra/messaging/producer/message/LightsaberProducerMessage.java", "file_name": "Lights...
package br.gabrielsmartins.lightsaber.infra.messaging.producer.message; import java.time.LocalDateTime; import java.util.UUID; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; im...
8a0c582a-052b-4a82-82fc-bc739e2f0e9f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-09 10:30:29", "repo_name": "alireza-ebrahimi/telegram-talaeii", "sub_path": "/5.4.2/sources/org/telegram/tgnet/TLRPC$TL_stickerSet_old.java", "file_name": "TLRPC$TL_stickerSet_old.java", "file_ext": "java", "f...
package org.telegram.tgnet; public class TLRPC$TL_stickerSet_old extends TLRPC$TL_stickerSet { public static int constructor = -1482409193; public void readParams(AbstractSerializedData abstractSerializedData, boolean z) { this.id = abstractSerializedData.readInt64(z); this.access_hash = abstr...
1f63d5ae-03f0-4783-8c99-cae34d7d8823
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-03-05 12:44:06", "repo_name": "panlover/uptaste", "sub_path": "/uptaste-model/src/main/java/cn/uptaste/model/Address.java", "file_name": "Address.java", "file_ext": "java", "file_size_in_byte": 859, "line_count":...
package cn.uptaste.model; /** * Created by yudeyang on 14-2-21. */ import javax.persistence.*; @Entity @Table(name = "address") public class Address extends NamedEntity { @Column private String cellPhone; @Column private String telphone; @Column private String isDefault; @ManyToOne ...
613c4bdb-23a5-4cbb-bcd1-9eec7da71686
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-08 14:03:16", "repo_name": "roytuts/json", "sub_path": "/java-prettify-json-output/src/main/java/com/roytuts/pretify/json/output/JsonStringPrettifyGsonApp.java", "file_name": "JsonStringPrettifyGsonApp.java", ...
package com.roytuts.pretify.json.output; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonParser; public class JsonStringPrettifyGsonApp { public static void ...
56691837-dac3-44d1-b41f-3e0eef2d684c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-31T06:19:50", "repo_name": "buildkite/docs", "sub_path": "/pages/agent/v3/cli_env.md", "file_name": "cli_env.md", "file_ext": "md", "file_size_in_byte": 859, "line_count": 24, "lang": "en", "doc_type": "te...
# `buildkite-agent env` The Buildkite Agent's `env` subcommands provide the ability to inspect environment variables. With the job-api experiment enabled, jobs can inspect and modify their environment variables using the `get`, `set`, and `unset` sub-commands. These provide an alternative to using shell commands to i...
6ea994e0-8d18-449a-be73-ca3441652a45
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-10 00:48:31", "repo_name": "denis-ads/promocao", "sub_path": "/campanha/src/main/java/br/com/developer/util/DateUtil.java", "file_name": "DateUtil.java", "file_ext": "java", "file_size_in_byte": 860, "line_cou...
package br.com.developer.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; /** * * */ public class DateUtil { private DateUtil() {} public static Date toDate(String date) { return toDate(date, "00:00.00...
12a71917-6b42-42ac-ab15-4bf51381496f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-06-16 12:18:46", "repo_name": "bhargavincblr/dataload", "sub_path": "/src/com/bmsus/utils/openfile.java", "file_name": "openfile.java", "file_ext": "java", "file_size_in_byte": 859, "line_count": 51, "lang": "en"...
package com.bmsus.utils; import java.io.*; import java.text.SimpleDateFormat; import java.util.*; public class openfile { public static boolean status; // File folder; static String timestampfolder=null; public static String createfolder(){ String timestamp = null; try { String DATE_FORMAT_RES...
a2b091ae-c8cf-4bbd-8dfe-eea8353b4d4f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-01 19:20:52", "repo_name": "davidgolay/Stardew-Valley-AI", "sub_path": "/src/ia/base/metier/carte/objets/FabriqueObjet.java", "file_name": "FabriqueObjet.java", "file_ext": "java", "file_size_in_byte": 859, "l...
/* * 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 ia.base.metier.carte.objets; import ia.base.metier.carte.cases.Case; /** * * @author David */ public class FabriqueObjet {...
2eceb27d-8d63-4c2f-bdc8-567893b93909
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-17 21:24:30", "repo_name": "EvgenyVasin/hackathon_project_1", "sub_path": "/src/main/java/ru/mts/test/hackathon_project_1/model/entities/StateEntity.java", "file_name": "StateEntity.java", "file_ext": "java", ...
package ru.mts.test.hackathon_project_1.model.entities; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; @Entity @Table(name = "State") public class StateEntity extends CustomEntity { @Column(name = "state_name") private String stateName; @Column(name = "...
b8ed6016-5efb-4b26-aeee-a0df1e108a4a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-25 03:17:55", "repo_name": "Peleus1992/Module_OAUTH2", "sub_path": "/backend/src/main/java/edu/gatech/wguo64/module_oauth2/backend/entities/Product.java", "file_name": "Product.java", "file_ext": "java", "file...
package edu.gatech.wguo64.module_oauth2.backend.entities; import com.googlecode.objectify.annotation.Entity; import com.googlecode.objectify.annotation.Id; import com.googlecode.objectify.annotation.Index; /** * Created by guoweidong on 12/29/15. */ @Entity public class Product { @Id private Long id; pr...
b6950ecf-2207-4449-a148-36f94cf5320c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-27 04:25:11", "repo_name": "YauHerman/SSMagic", "sub_path": "/src/hell/supersoul/magic/core/ComboM.java", "file_name": "ComboM.java", "file_ext": "java", "file_size_in_byte": 860, "line_count": 35, "lang": "en...
package hell.supersoul.magic.core; import hell.supersoul.magic.managers.ComboManager.HitLevel; import org.bukkit.entity.Entity; import org.bukkit.entity.Player; import java.util.ArrayList; public abstract class ComboM extends Magic { public ComboM(int level) { super(level); } prot...
d35965c2-d772-4c82-8307-e9fec41b0ea8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-06 09:09:55", "repo_name": "EternallyTm/eshop-inventory", "sub_path": "/src/main/java/com/wangx/eshop/inventory/contorller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_si...
package com.wangx.eshop.inventory.contorller; import com.wangx.eshop.inventory.model.User; import com.wangx.eshop.inventory.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.R...
41d0ad2f-d0e3-4d4d-942f-ded1c34657a1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-29 01:43:20", "repo_name": "darsanadb/LearnPrimefaces", "sub_path": "/src/main/java/com/primefaces/managedbeans/AccordionPanelManagedBean.java", "file_name": "AccordionPanelManagedBean.java", "file_ext": "java...
package com.primefaces.managedbeans; import javax.faces.bean.ManagedBean; import javax.faces.bean.SessionScoped; import org.primefaces.event.TabChangeEvent; @ManagedBean @SessionScoped public class AccordionPanelManagedBean { private String journalMessage = "Welcome JournalDev !"; private String componentMes...
623f3e7c-4753-4054-b06f-935387427f82
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-08 18:07:29", "repo_name": "cetinfurkano/TCPSocket", "sub_path": "/src/Server/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 859, "line_count": 43, "lang": "en", "doc_type":...
package Server; import Veriler.Veri; import java.io.*; import java.net.Socket; public class Client extends Observer{ private ObjectOutputStream ois; private Socket clientSocket = null; private Veri veri; private boolean kapali = false; public Client(Socket clientSocket, Veri veri) { ...
57bc5dbc-abb5-42dc-a17c-15e82cf13193
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-22 17:21:03", "repo_name": "mikelmg/IA_Practices", "sub_path": "/practice 3/rushHourDemo/Vehicle.java", "file_name": "Vehicle.java", "file_ext": "java", "file_size_in_byte": 859, "line_count": 43, "lang": "en"...
package rushHourDemo; public class Vehicle { private int headPositionX; private int headPositionY; private int length; private Orientation orientation; public Vehicle (int headPositionX, int headPositionY, int length, Orientation orientation) { this.headPositionX = headPositionX; this....
491652e0-62ed-4236-8f86-07b0e62eaf3a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-25 16:40:32", "repo_name": "CharlieSmart157/InterviewTest", "sub_path": "/app/src/main/java/com/example/charlie/interviewtest/Models/loginRequest.java", "file_name": "loginRequest.java", "file_ext": "java", "f...
package com.example.charlie.interviewtest.Models; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import io.realm.RealmObject; /** * Created by Charlie on 20/01/2017. */ public class loginRequest extends RealmObject { @SerializedName("email") @Expose priv...
c8919468-da6b-460e-b244-ee8ca43949cf
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-09 12:41:23", "repo_name": "nairnikhil848/Swabhav-Eclipse-Workspace", "sub_path": "/Gradle/Struts-Spring-App/src/main/java/com/techlabs/actions/HomeAction.java", "file_name": "HomeAction.java", "file_ext": "ja...
package com.techlabs.actions; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import com.opensymphony.xwork2.Action; import com.techlabs.models.Student; import com.techlabs.services.StudentService; public class HomeAction implements Action { @Autowired private StudentService...
0ffad0cd-e9dc-49f0-bb54-f54dda3d7a6b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-14 10:03:19", "repo_name": "liongoodvery/apiservice", "sub_path": "/src/main/java/org/lion/api/response/BaseResponse.java", "file_name": "BaseResponse.java", "file_ext": "java", "file_size_in_byte": 858, "line...
package org.lion.api.response; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; /** * Created by lion on 2/12/17. */ public class BaseResponse { private int retcode; @JsonIgnoreProperties(ignoreUnknown = true) private String msg; public BaseResponse() { } public BaseResponse(i...
0c3a605c-5e66-47de-8c69-21111b60de18
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-16 22:41:08", "repo_name": "Orenkfu/CouponsProject", "sub_path": "/src/main/java/base/coupons/validators/EmailValidator.java", "file_name": "EmailValidator.java", "file_ext": "java", "file_size_in_byte": 857, ...
package base.coupons.validators; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * a regex for emails which i shamelessly stole from the internet. makes sure * company's email attribute is valid (atleast a possibly real email address, if * not actually real).. */ public class EmailValidator { ...
ca62a310-00dc-444c-a67d-690dbcedb8c2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-27 12:47:50", "repo_name": "Genwar/FatSquirrel", "sub_path": "/de/hsa/games/fatsquirrel/core/HandOperatedMasterSquirrel.java", "file_name": "HandOperatedMasterSquirrel.java", "file_ext": "java", "file_size_in_...
package de.hsa.games.fatsquirrel.core; import de.hsa.games.fatsquirrel.Launcher; public class HandOperatedMasterSquirrel extends MasterSquirrel { private static final int initEnergy = 1000; public HandOperatedMasterSquirrel(int id, XY position) { super(id, initEnergy, position); } public void nextStep(E...
2bb6ebd2-32f5-4e5f-8033-9eb269d781e9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-21 10:13:26", "repo_name": "AlessiaCorrias/Lab10", "sub_path": "/src/main/java/it/polito/tdp/bar/model/Event.java", "file_name": "Event.java", "file_ext": "java", "file_size_in_byte": 857, "line_count": 58, "l...
package it.polito.tdp.bar.model; import java.time.Duration; import java.time.LocalTime; public class Event implements Comparable<Event>{ public enum EventType { ARRIVO_GRUPPO_CLIENTI, TAVOLO4_LIBERATO, TAVOLO6_LIBERATO, TAVOLO8_LIBERATO, TAVOLO10_LIBERATO } private LocalTime time; private EventType type; ...
e2341d75-d530-4cc6-9767-46d35f9bf105
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-22 04:19:29", "repo_name": "brycetshaw/F2019", "sub_path": "/ENSF593/labAssignments-593/04-toolshed/ToolShed/src/OrderRepository.java", "file_name": "OrderRepository.java", "file_ext": "java", "file_size_in_by...
import java.util.ArrayList; /** * The type Order repository. */ public class OrderRepository { private ArrayList<Order> orders = new ArrayList<Order>(); /** * Add order. * * @param order the order */ public void addOrder(Order order){ orders.add(order); FileManager f...
8b4d3e84-9953-4045-ac5c-d29e1d6f094e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-28 13:18:42", "repo_name": "VirmantasArmusevicius/programavimo-kalba-java-pratybos-VirmantasArmusevicius", "sub_path": "/src/main/java/com/IS17B/Virmantas/PD1/Lenteles/Klientas/NaujasKlientas.java", "file_name...
package com.IS17B.Virmantas.PD1.Lenteles.Klientas; import com.IS17B.Virmantas.PD1.Restoranai.DuomenuBazesPrisijungimas; import java.sql.Connection; import java.sql.PreparedStatement; public class NaujasKlientas { public NaujasKlientas(){ } public void add(String id, String idkortele, String vardas, Str...
73189eda-9d7a-47e6-ac7a-9076f308395e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-10-25 02:03:54", "repo_name": "zople/365Project", "sub_path": "/Model/src/java/com/zople/dao/WjCategoryFacade.java", "file_name": "WjCategoryFacade.java", "file_ext": "java", "file_size_in_byte": 863, "line_count...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.zople.dao; import com.zople.domain.WjCategory; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence...
aa930517-6409-461b-8a49-f32c00df95c6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-13 15:52:33", "repo_name": "AmadeuszZaradny/java-spring-demo", "sub_path": "/src/main/java/pl/zaradny/springApp/domain/DescriptionDto.java", "file_name": "DescriptionDto.java", "file_ext": "java", "file_size_i...
package pl.zaradny.springApp.domain; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; @JsonIgnoreProperties(ignoreUnknown = true) public class DescriptionDto { privat...
acd4eec9-6b64-4d5b-b764-7b6d649ccb49
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-02T22:01:55", "repo_name": "owenduffy/ltm", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 860, "line_count": 17, "lang": "en", "doc_type": "text", "blob_id": "7...
# Logging temperature meter (ltm) Repository for code related to project described at See https://owenduffy.net/blog/?s=ltm In addition to libraries available under Arduino Library Manager, the project uses the following: * [NewLiquidCrystal](https://github.com/fmalpartida/New-LiquidCrystal/wiki) * [LcdBarGraphX (...
5482583b-d09e-4135-a223-843145fc44b0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-21 01:42:48", "repo_name": "AnaJessye/Jhordan", "sub_path": "/src/main/java/databaseAcess.java", "file_name": "databaseAcess.java", "file_ext": "java", "file_size_in_byte": 857, "line_count": 41, "lang": "en",...
import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; /** * Created by mu04_labinfo4404 on 15/06/2018. */ public class databaseAcess { private SQLiteOpenHelper openHelper; private SQLiteDatabase database; private static...
555523d0-91d5-4185-8ee6-f1f87a79c8f5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-01 14:19:32", "repo_name": "goransaki/terminal-emulator", "sub_path": "/app/src/main/java/monri/com/terminalemulator/NewCreditCardPayment.java", "file_name": "NewCreditCardPayment.java", "file_ext": "java", "f...
package monri.com.terminalemulator; import com.google.gson.annotations.SerializedName; /** * Created by jasminsuljic on 30/06/2018. * TerminalEmulator */ public class NewCreditCardPayment { @SerializedName("pan") String pan; @SerializedName("exp_date") String expDate; @SerializedName("card_hol...
107a96ed-95f2-441a-ac17-a35f33b88ee4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-03 20:37:11", "repo_name": "adamlynam/ford-fulkerson", "sub_path": "/src/fordfulkerson/Node.java", "file_name": "Node.java", "file_ext": "java", "file_size_in_byte": 858, "line_count": 48, "lang": "en", "doc_t...
/* * Node.java * * Created on 26 October 2005, 12:23 */ import java.util.ArrayList; /** * * @author Mad_Fool */ public class Node { private ArrayList<Edge> outgoingEdges; private ArrayList<Edge> incomingEdges; boolean visted; /** Creates a new instance of Node */ public Node(...
8a8ac50a-df83-4fbb-897b-86f395cfb981
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-10 15:50:56", "repo_name": "stevegardiner26/cs114", "sub_path": "/src/lab13b/LayoutDemo.java", "file_name": "LayoutDemo.java", "file_ext": "java", "file_size_in_byte": 858, "line_count": 28, "lang": "en", "doc...
//******************************************************************** // LayoutDemo.java // // Demonstrates the use of flow, border, grid, and box layouts. //******************************************************************** package lab13b; import javax.swing.*; import java.awt.*; public class LayoutDemo { ...
176981e1-eabf-48d6-93e9-cbf4184c7a1c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-14 14:32:11", "repo_name": "simoneixa6/desktop", "sub_path": "/src/main/java/biz/ei6/interventions/desktop/Restitutions/DateCell.java", "file_name": "DateCell.java", "file_ext": "java", "file_size_in_byte": 85...
package biz.ei6.interventions.desktop.restitutions; import biz.ei6.interventions.desktop.lib.domain.Intervention; import java.time.LocalDate; import java.time.format.DateTimeFormatter; import javafx.scene.control.TableCell; import javafx.scene.control.TableColumn; /** * * @author Eixa6 */ public class DateCell ext...
e8a95f68-6149-44f3-a20e-32484fb0ce18
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-16 19:55:29", "repo_name": "zfq308/lambda", "sub_path": "/lambda-model/src/main/java/com/digitalsanctum/lambda/model/Container.java", "file_name": "Container.java", "file_ext": "java", "file_size_in_byte": 858...
package com.digitalsanctum.lambda.model; import java.util.Objects; import java.util.StringJoiner; /** * @author Shane Witbeck * @since 4/7/17 */ public class Container { private String id; public Container(String id) { this.id = id; } public Container() { } public String getId() { return id;...
e3e3acd5-e021-4a43-b2b0-50a1c71c1c1c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-22 13:40:38", "repo_name": "Arendis/course_work", "sub_path": "/app/src/main/java/com/notes/viewmodels/NoteListViewModel.java", "file_name": "NoteListViewModel.java", "file_ext": "java", "file_size_in_byte": 8...
package com.notes.viewmodels; import android.arch.lifecycle.LiveData; import android.arch.lifecycle.ViewModel; import android.arch.paging.PagedList; import com.notes.Injection; import com.notes.models.Note; import com.notes.models.ResultCallback; import com.notes.repository.NotesRepository; public class NoteListView...
8fa885e5-dfde-4043-9bc7-12391b836516
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-29 06:31:25", "repo_name": "liqilun/ikilun-zookeeper", "sub_path": "/src/main/java/com/ikilun/service/impl/SysConfigRegister.java", "file_name": "SysConfigRegister.java", "file_ext": "java", "file_size_in_byte...
package com.ikilun.service.impl; import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.ikilun.service.ConfigTrigger; import com.ikilun.service.ConfigWatcher; import com.ikilun.service....
6554a4b9-7e9b-4f05-ab82-3862feaa6402
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-28 06:52:56", "repo_name": "goal1860/scraper", "sub_path": "/src/main/java/buff/Creep.java", "file_name": "Creep.java", "file_ext": "java", "file_size_in_byte": 858, "line_count": 26, "lang": "en", "doc_type":...
package buff; public class Creep extends Spell { private String attack; private String armor; private String health; @Override protected String[] asLine() { return new String[] {title, "Spell", "Creep", rarity, color, revealed, attack, armor, health, mana, "", "", effect...
2e531904-0256-453b-a0e5-3b9d7abae70c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-26 07:04:41", "repo_name": "jcwhmn/framework", "sub_path": "/src/main/java/com/yangzhou/vmmapper/BaseVMMapper.java", "file_name": "BaseVMMapper.java", "file_ext": "java", "file_size_in_byte": 858, "line_count"...
package com.yangzhou.vmmapper; import java.util.List; import java.util.Set; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; public interface BaseVMMapper<VM, Entity> { Entity toDomain(VM vm); VM toVm(Entity domain); List<Entity> toDomains(List<VM> dtoList); List<VM> toVms(List<Entity> doma...
bd593186-4159-4fbb-bd75-7b3ccc669309
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-12 09:01:26", "repo_name": "liangbx361/AccLink", "sub_path": "/app/src/main/java/com/out/accu/link/util/DeviceHelper.java", "file_name": "DeviceHelper.java", "file_ext": "java", "file_size_in_byte": 866, "line...
package com.out.accu.link.util; import com.out.accu.link.data.mode.Device; import java.util.List; /** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2017</p> * <p>Company: </p> * * @author liangbx * @version 2017/10/18 */ public class DeviceHelper { public static void saveDevices...
9e103811-be29-432c-bd5f-1f76bff6c929
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-02 11:14:50", "repo_name": "WBG13/HomeWorks", "sub_path": "/TicTacToe/View/GUIStageBuilder.java", "file_name": "GUIStageBuilder.java", "file_ext": "java", "file_size_in_byte": 858, "line_count": 30, "lang": "e...
package TicTacToe.View; import TicTacToe.Controller.Game; import javafx.application.Application; import javafx.application.Platform; import javafx.scene.Scene; import javafx.scene.layout.GridPane; import javafx.stage.Stage; public class GUIStageBuilder extends Application { static Stage mainStage; static Grid...
99643ee9-40d7-4116-9fd6-7604a533b12c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-05-06T16:49:50", "repo_name": "RubySteps/memberful-github", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 858, "line_count": 18, "lang": "en", "doc_type": "text", ...
# memberful-github webhook to process [memberful events](https://memberful.com/help/integrate/advanced/webhooks/) and manage github organization membership. ## environment variables * `MEMBERFUL_WEBHOOK_TOKEN`: an api token sent from memberful to the webhook (add `?token=<MEMBERFUL_WEBHOOK_TOKEN>` to the webhook URL...
b9bc52eb-5b3f-4794-b276-5dd48fe1c0a9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-13 15:16:39", "repo_name": "egregus68/librarian2", "sub_path": "/librarian2-commons/src/main/java/pl/com/gregus/resources/ResourceBundleURLComparator.java", "file_name": "ResourceBundleURLComparator.java", "fi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package pl.com.gregus.resources; import java.io.Serializable; import java.net.URL; import java.util.Comparator; /** * @author Grzegorz Guściora */ public class ResourceBundleURLComparator implements Comparator<URL>, ...
f360350f-7dc1-4533-8764-a5f67f48db2f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-02 11:34:13", "repo_name": "vnedvyga/AudioShopFxClient", "sub_path": "/src/ua/org/oa/nedvygav/models/Cart.java", "file_name": "Cart.java", "file_ext": "java", "file_size_in_byte": 858, "line_count": 46, "lang"...
package ua.org.oa.nedvygav.models; import java.util.ArrayList; import java.util.List; public class Cart { private static Cart CART_INSTANCE; private List<Audio> audios = new ArrayList<>(); private Cart() { } public static Cart getCart(){ if (CART_INSTANCE==null){ CART_INST...
78e526c9-45bc-42df-94c6-f5aa7cf11c3e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-29 20:58:58", "repo_name": "msalvetat/ProjetSMA", "sub_path": "/src/main/java/m2dl/jlm/projetsma/agent/student/knowledge/KnowledgeStudent.java", "file_name": "KnowledgeStudent.java", "file_ext": "java", "file_...
package m2dl.jlm.projetsma.agent.student.knowledge; import java.util.ArrayList; import java.util.List; import m2dl.jlm.projetsma.environment.Course; import m2dl.jlm.projetsma.services.message.InformStudentMessage; public class KnowledgeStudent implements IKnowledgeStudent { private List<InformStudentMessage...
80c65dbc-ce9d-4e2d-8f50-07a01aa8562a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-16 09:12:22", "repo_name": "zengzhanliang/mybatis-plus-generator-sample", "sub_path": "/src/main/java/com/zeng/generator/entity/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 88...
package com.zeng.generator.entity; import com.zeng.common.BaseEntity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; /** * <p> * * </p> * * @author zengzhanliang * @since 2019-12-...
e12973d4-c5e3-42cd-ac9e-bbae45497ca7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-01 13:46:45", "repo_name": "hedgehogus/Luminof", "sub_path": "/app/src/main/java/com/dls/luminof/fragment/PaymentFragment.java", "file_name": "PaymentFragment.java", "file_ext": "java", "file_size_in_byte": 85...
package com.dls.luminof.fragment; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.dls.luminof.MainActivity; import com.dls.luminof.R; public class PaymentFragment extends Fragment { public...
e906bf2d-62e0-4ed8-be7c-1c494a956964
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-11-08T11:54:11", "repo_name": "leostratus/full-frontal-uk-2013", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 858, "line_count": 30, "lang": "en", "doc_type": "te...
# Building Mobile Web Apps w/Mozilla's Brick Components As the title says, foo! Slides: http://afabbro.github.io/jsconfcolombia-2013-mobile-apps-with-brick/ Demo: Special thanks to Soledad who's post [here](http://soledadpenades.com/2013/09/30/building-web-apps-one-brick-at-a-time/) gave me the fuel for the first ...
b205284d-557c-40ab-8610-45b5ff1c71a5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-02 18:21:36", "repo_name": "BAI-HANK/spring-mediatr-java-sample", "sub_path": "/src/main/java/io/jkratz/springmediatr/demo/CreateUserCommandHandler.java", "file_name": "CreateUserCommandHandler.java", "file_ex...
package io.jkratz.springmediatr.demo; import io.jkratz.mediator.core.CommandHandler; import io.jkratz.mediator.core.Mediator; import org.jetbrains.annotations.NotNull; import org.springframework.stereotype.Component; @Component public class CreateUserCommandHandler implements CommandHandler<CreateUserCommand> { pri...
5269fd6a-913a-4187-afee-2244fcd52d73
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-27 11:27:31", "repo_name": "zhangweipu/blog", "sub_path": "/src/test/java/com/wp/weipu/test/designpattern/ReflectTest/CglibProxy.java", "file_name": "CglibProxy.java", "file_ext": "java", "file_size_in_byte": ...
package com.wp.weipu.test.designpattern.ReflectTest; import net.sf.cglib.proxy.Enhancer; import net.sf.cglib.proxy.MethodInterceptor; import net.sf.cglib.proxy.MethodProxy; import java.lang.reflect.Method; /** * 可以对不实现接口的类实现动态代理 */ public class CglibProxy implements MethodInterceptor { private Object target; ...
9796324c-b250-49f5-9326-e65f2fc6c080
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-22 02:39:48", "repo_name": "japasantia/desarrollo", "sub_path": "/Software/CenditLab/Control/src/ve/gob/cendit/cenditlab/control/Component.java", "file_name": "Component.java", "file_ext": "java", "file_size_i...
package ve.gob.cendit.cenditlab.control; import javafx.scene.Node; import javafx.scene.image.Image; import ve.gob.cendit.cenditlab.ui.base.ViewType; public abstract class Component { private String name; private String description; private Image iconImage; public Component(String name, String descrip...
e6a04ef6-338c-4c7a-81ea-692f9d630b25
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-01-06T13:17:53", "repo_name": "EtienneLem/rquest", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 866, "line_count": 25, "lang": "en", "doc_type": "text", "blob_id"...
# Rquest > With great power, comes great responsibility Lets face it, open collaboration to [Rdio](http://rdio.com/home) playlists is a little bit too permisive and we’re all afraid that someone will screw up our beloved list. Fear no more for [Rquest](http://rquest.herokuapp.com) is the perfect playlists pull rquest...
2be98f40-e43f-46f2-b6fb-9fba5a877887
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-05 17:00:54", "repo_name": "HARSH-VYAS/DATASTRUCTURES-Practice", "sub_path": "/src/com/codejam/Fractiles.java", "file_name": "Fractiles.java", "file_ext": "java", "file_size_in_byte": 858, "line_count": 37, "l...
package com.codejam; import java.util.Scanner; /** * Created by Harsh P Vyas on 4/9/2016. */ public class Fractiles { int t; int k,c,s; Fractiles(){ Scanner sc = new Scanner(System.in); t=sc.nextInt(); k=sc.nextInt(); c=sc.nextInt(); s=sc.nextInt(); } pu...
4e71f015-f809-40f9-bc4c-854d38698129
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-10 01:38:31", "repo_name": "coder321/homework", "sub_path": "/les05/src/com/test/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 896, "line_count": 49, "lang": "en", "doc_type": ...
package com.test; /** * 面向对象的三大特性: * 封装性 * 继承性 * 多态性 * * * * **/ public class Main { public static void main(String[] args) { String number = "13843838438"; Card card = new Card(number); Phone phone = new Phone(card); PersonUsePhone personUsePhone = new PersonUsePhone(phone...
e976996f-5908-426f-ab07-71147bdf364f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-18 17:26:13", "repo_name": "naskavinda/student-management-system", "sub_path": "/src/main/java/hms/student/management/system/controller/StudentController.java", "file_name": "StudentController.java", "file_ext...
package hms.student.management.system.controller; import hms.student.management.system.model.Student; import hms.student.management.system.service.StudentService; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import java.util.List; @RestController @RequestMapping("...
18f020ad-352a-47fc-a886-1f9b32565421
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-22 15:16:18", "repo_name": "hari577/chatbottesting", "sub_path": "/src/test/java/stepDefinitions/chatbotstepdefinition.java", "file_name": "chatbotstepdefinition.java", "file_ext": "java", "file_size_in_byte":...
package stepDefinitions; import cucumber.api.java.en.And; import cucumber.api.java.en.Given; import cucumberContext.TestContext; import pageObjects.chatbotpage; public class chatbotstepdefinition { TestContext testContext; chatbotpage botpage; public chatbotstepdefinition(TestContext context) { testContext ...
3ccb512f-0e5c-46e4-ae09-44750e770e42
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-09-01T09:55:49", "repo_name": "adorow/kotlin-springboot2-example", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 858, "line_count": 34, "lang": "en", "doc_type": "...
Kotlin + Spring Boot 2 example app ================================== This simple project is intended to be a very basic setup of Kotlin + Spring Boot 2. This project includes some very basic dependencies, like: * Maven * API documentation * Swagger * JSON * Jackson dependencies (formatting/parsing) * Spring *...
0932e4f5-f33d-4823-83eb-1fff4a375224
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-22 17:25:58", "repo_name": "SheeRMooN/ship2", "sub_path": "/ship/src/main/java/com/example/ship/controller/ShipController.java", "file_name": "ShipController.java", "file_ext": "java", "file_size_in_byte": 858...
package com.example.ship.controller; import com.example.ship.model.Ship; import com.example.ship.model.Status; import com.example.ship.service.ShipService; import lombok.AllArgsConstructor; import org.springframework.web.bind.annotation.*; import java.util.List; @RestController @AllArgsConstructor @RequestMapping("/...
694a24fa-05b2-4124-bd41-c2f81fd199a9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-29 16:11:21", "repo_name": "Prateek-Pat/SeleniumBasic", "sub_path": "/src/Frame/iFrame.java", "file_name": "iFrame.java", "file_ext": "java", "file_size_in_byte": 858, "line_count": 27, "lang": "en", "doc_type...
package Frame; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; public class iFrame { public static void main(String[] args) { System.setProperty("webdriver.chrome.d...
c8dc5397-4826-40da-a662-f988a101d589
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-07 08:21:51", "repo_name": "asg-dev/cafemanagement", "sub_path": "/cafemgmt/src/main/java/com/org/cafemgmt/model/CafeOrders.java", "file_name": "CafeOrders.java", "file_ext": "java", "file_size_in_byte": 858, ...
package com.org.cafemgmt.model; import lombok.*; import javax.persistence.*; import java.util.Date; import java.util.List; @Data @Builder @NoArgsConstructor @AllArgsConstructor @Entity @Getter @Setter public class CafeOrders { @Id @GeneratedValue(strategy = GenerationType.SEQUENCE) private long id; p...
13f1bbe2-b33d-4e3d-a6e3-c59f77ce14fc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-11 15:56:08", "repo_name": "phaxio/phaxio-java", "sub_path": "/client/src/test/java/com/phaxio/unittests/CountryTests.java", "file_name": "CountryTests.java", "file_ext": "java", "file_size_in_byte": 858, "lin...
package com.phaxio.unittests; import com.fasterxml.jackson.databind.ObjectMapper; import com.phaxio.entities.Country; import com.phaxio.helpers.Responses; import org.junit.Test; import java.io.IOException; import static org.junit.Assert.assertEquals; public class CountryTests { @Test public void ignoresExtr...
e7bdf8c4-9e9e-41e4-84f4-49a44df5b1e7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-09 16:08:20", "repo_name": "Cessalan/ExamReview", "sub_path": "/app/src/main/java/com/example/examreview/DisplayAnswer.java", "file_name": "DisplayAnswer.java", "file_ext": "java", "file_size_in_byte": 858, "l...
package com.example.examreview; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.TextView; import com.example.examreview.model.Question; import com.google.gson.Gson; public class DisplayAnswer extends AppCompatActivity { private TextView answerTV; @Override ...
cdf9bce4-986a-4fc0-9d7a-f195c068b583
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-06 08:55:57", "repo_name": "HenkeH83/Restfull-Cafe-Server", "sub_path": "/src/main/java/com/cafe/entitys/CoffeeEntity.java", "file_name": "CoffeeEntity.java", "file_ext": "java", "file_size_in_byte": 858, "lin...
package com.cafe.entitys; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="coffee") public class CoffeeEntity implements Serializable{ static final long serialVersionUID = 1L; @Id @Col...
11dbb498-fe95-4841-9e82-fd74b80bc88c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-01 15:58:43", "repo_name": "Fundamental-OOP/final-project-b07902042", "sub_path": "/src/hearthclone/event/EventBoardChange.java", "file_name": "EventBoardChange.java", "file_ext": "java", "file_size_in_byte": ...
package hearthclone.event; import hearthclone.model.Minion; public class EventBoardChange implements Event { private String name = "EventBoardChange"; private int playerId; private int index; private Minion minion; // remove public EventBoardChange(int playerId, int index) { this.play...
0bb3290e-8a6f-4d64-beb0-e071b6fa2fc2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-03 15:26:53", "repo_name": "Fatimatuzzahro/soal7", "sub_path": "/src/Member.java", "file_name": "Member.java", "file_ext": "java", "file_size_in_byte": 859, "line_count": 36, "lang": "en", "doc_type": "code", ...
/* * 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 soalpraktikum; /** * * @author AcerAsp4750 */ public abstract class Member { private String nama; private String da...