blob_id stringlengths 40 40 | language stringclasses 1
value | repo_name stringlengths 5 132 | path stringlengths 2 382 | src_encoding stringclasses 34
values | length_bytes int64 9 3.8M | score float64 1.5 4.94 | int_score int64 2 5 | detected_licenses listlengths 0 142 | license_type stringclasses 2
values | text stringlengths 9 3.8M | download_success bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|
1444027b08f98d9f9419ae2ac249e40fe40b8858 | Java | airkook/DECD | /src/com/fitech/framework/core/servlet/SystemServlet.java | UTF-8 | 2,828 | 2.203125 | 2 | [] | no_license | package com.fitech.framework.core.servlet;
import java.io.IOException;
import java.util.Enumeration;
import java.util.Properties;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import org.jfree.util.Log;
import or... | true |
b2d73423f5f092d640f5a71cb9bdb114cc1984e9 | Java | PatriciaOrriens/onzeMoestuin | /src/main/java/groentjes/onzeMoestuin/controller/TaskController.java | UTF-8 | 2,722 | 2.28125 | 2 | [] | no_license | package groentjes.onzeMoestuin.controller;
import groentjes.onzeMoestuin.model.*;
import groentjes.onzeMoestuin.repository.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.annotation.AuthenticationPrincip... | true |
2ff5333d2728bcab15feb89218e189fbcec765c0 | Java | luizcjr/dev_venture_desafio | /app/src/main/java/com/luiz/gallery/di/ViewModelComponent.java | UTF-8 | 293 | 1.71875 | 2 | [] | no_license | package com.luiz.gallery.di;
import com.luiz.gallery.ui.base.BaseViewModel;
import dagger.Component;
/**
* Interface para injeção da api na classe BaseViewModel
*/
@Component(modules = {ApiModule.class})
public interface ViewModelComponent {
void inject(BaseViewModel viewModel);
}
| true |
54feb3f7269bdc54907af3cde96211b529ce794d | Java | behinddwalls/job-portal | /job-portal-mapper/src/main/java/com/portal/job/mapper/UserVolunteerDetailsMapper.java | UTF-8 | 3,598 | 2.375 | 2 | [] | no_license | package com.portal.job.mapper;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import org.springframework.util.StringUtils;
import com.portal.job.constants.DateConstants;
impo... | true |
e3f9cb73b4c5695b69174555defb48f27c746041 | Java | ParanoidUser/codewars-handbook | /kata/7-kyu/leap-years/main/LeapYears.java | UTF-8 | 131 | 2.84375 | 3 | [
"MIT"
] | permissive | import static java.time.Year.of;
interface LeapYears {
static boolean isLeapYear(int year) {
return of(year).isLeap();
}
} | true |
1f720b5c34fae7d060b2ff3219a986e69b892fc1 | Java | copperdale/CloudLadder | /cloudelevator/.svn/pristine/1f/1f720b5c34fae7d060b2ff3219a986e69b892fc1.svn-base | UTF-8 | 4,802 | 2.125 | 2 | [] | no_license | package com.laixusoft.cloudelevator.biz.ao.impl;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import wint.help.biz.query.BaseQuery;
import wint.help.biz.result.Result;
import wint.help.biz.result.ResultSupport;
import wint.help.biz.result.StringResultCode;
import com.laixusoft.cloude... | true |
4d28970bfd45cd1ddc25c8d0c81a4ae7a7c4dead | Java | moutainhigh/xinmintx | /xinmintx/xinmintx-system/src/main/java/com/xinmintx/system/domain/Spec.java | UTF-8 | 663 | 1.789063 | 2 | [
"MIT"
] | permissive | package com.xinmintx.system.domain;
import java.util.List;
public class Spec {
private int goodId;
private List<Specification> spec;
private List<SpecParam> specParams;
public int getGoodId() {
return goodId;
}
public void setGoodId(int goodId) {
this.goodId = goodId;
}... | true |
f7d17e914ac89ae08b550743ce96d464a90f2f64 | Java | rahulsutradhar/covid-19-android | /app/src/main/java/org/covid19/live/module/eventEngine/IEngineNoDataAvailable.java | UTF-8 | 119 | 1.648438 | 2 | [] | no_license | package org.covid19.live.module.eventEngine;
public interface IEngineNoDataAvailable {
void noDataAvailable();
}
| true |
756595492025b0c84d609510b4984371445e6c8f | Java | JinJiuApp/BigEyeMM | /bigeyepet/common_base/src/main/java/com/jaryjun/common_base/component/dialog/ProgressDialogFragment.java | UTF-8 | 1,781 | 1.992188 | 2 | [] | no_license | package com.jaryjun.common_base.component.dialog;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.jaryjun.common_base.R;
public class ProgressDialogFragment extends BaseDialogFragment {
public static ProgressDialogFragment getIns... | true |
f8f976ce7e1bb2a783d17a7c8098296d74de1daf | Java | ldanielabe/AutomatizacionSelenium | /src/test/java/Formularios/GestionExtras_ProductividadCampo.java | UTF-8 | 2,937 | 1.992188 | 2 | [] | no_license | package Formularios;
import java.awt.List;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.Select;
public class GestionExtras_ProductividadCampo {
private WebDriver dr... | true |
1ec5e980f45274b1d83c6fd85118d38ea38aecac | Java | moutainhigh/xcdv2 | /framework-mybatis/src/main/java/com/framework/mybatis/bean/MybatisSpringFactoryProperties.java | UTF-8 | 863 | 1.984375 | 2 | [] | no_license | package com.framework.mybatis.bean;
import javax.sql.DataSource;
/**
* @Author zhou_yajun.
* @Version 1.0
*/
public class MybatisSpringFactoryProperties {
/** 数据连接*/
private DataSource dataSource;
/** mybatis-config.xml路径*/
private String configPath;
/** SqlMap-*.xml sql文件路径*/
private Stri... | true |
b94a57bf1361d0853541d1ca962cb9c69b4259ab | Java | dycraft/FlappyBird | /app/src/main/java/com/dycraft/flappybird/GameActivity.java | UTF-8 | 830 | 2.15625 | 2 | [] | no_license | package com.dycraft.flappybird;
import android.app.Activity;
import android.media.AudioManager;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import com.dycraft.flappybird.view.GameView;
public class GameActivity extends Activity
{
@Override
protected void onCreate(... | true |
5cce496e26084b3059272a5dde32aed7f5f1ce77 | Java | opensourcejavadeveloper/military_xml_project_miliconvert | /miliconvert/xsmt/trunk/plugins/org.miliconvert.xsmt.mpgt/src/mpia/schema/TypeVarianteTravail.java | UTF-8 | 28,482 | 1.585938 | 2 | [] | no_license | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package mpia.schema;
import mpia.meta.TypeAssociation;
import mpia.meta.TypeDataTypeDuree;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Type Variante Tr... | true |
750d8c7c59b101d705beced3330edd85db7fe12f | Java | kkorchyts/JWD_HO_Prep | /src/main/java/com/kkorchyts/epam/jwd/util/ScannerUtil.java | UTF-8 | 1,373 | 3.3125 | 3 | [] | no_license | package com.kkorchyts.epam.jwd.util;
import java.util.Scanner;
import java.util.function.Predicate;
public class ScannerUtil {
static final String WRONG_VALUE_ENTERED_MESSAGE = "Please, enter the correct value!";
public static int getInteger(String message, Predicate<Integer> predicate) {
Scanner sca... | true |
16aeb1793391ce7987346287c186d357e691f7c7 | Java | chav1961/purelib | /src/main/java/chav1961/purelib/streams/char2byte/asm/NameDescriptor.java | UTF-8 | 367 | 2 | 2 | [
"MIT"
] | permissive | package chav1961.purelib.streams.char2byte.asm;
import java.util.Arrays;
class NameDescriptor {
int nameType;
final short[] cpIds = new short[ClassConstantsRepo.CPIDS_SIZE]; // locations for the different constant types in the constant pool
{
Arrays.fill(cpIds,Short.MAX_VALUE);
}
NameDescriptor(final in... | true |
95dbf0fe049531b1c5b97a1522c596f8adfa6899 | Java | akmtanvirhossain/HCUS2018_HHInterview | /app/src/main/java/org/hcus_hhinterview/StructureListing.java | UTF-8 | 124,636 | 1.851563 | 2 | [] | no_license | package org.hcus_hhinterview;
//Android Manifest Code
//<activity android:name=".StructureListing" android:label="StructureListing" />
import android.app.Activity;
import android.app.AlertDialog;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.app.TimePickerDialog;
import andr... | true |
fa3f2c04b62c19966247d10ee4c38757b72d1b22 | Java | currrentbp/myGenProject | /src/main/java/com/currentbp/Interesting/other/MaxMoneyForSplit.java | UTF-8 | 3,414 | 3.109375 | 3 | [] | no_license | package com.currentbp.Interesting.other;
import org.apache.commons.lang3.tuple.Pair;
import org.junit.Test;
import java.util.*;
import java.util.stream.Collectors;
/**
* @author baopan
* @createTime 20220824
*/
public class MaxMoneyForSplit {
/*
钢条长度和价格如下,求最大收益
L: 1 2 3 4 5 6 ... | true |
0e5cf2bc69839d2993dfe093c6f195fb8bd4c163 | Java | chenfanggm/steven-spring-boot-starter-kit | /src/main/java/com/weshare/wesharespring/common/security/PasswordAuthProvider.java | UTF-8 | 1,566 | 2.390625 | 2 | [
"MIT"
] | permissive | package com.weshare.wesharespring.common.security;
import com.weshare.wesharespring.common.exception.AuthServiceException;
import com.weshare.wesharespring.common.exception.StorageServiceException;
import com.weshare.wesharespring.service.AuthService;
import org.springframework.beans.factory.annotation.Autowired;
impo... | true |
52fef798bb4396a104f07f838c3b1bcb452b5842 | Java | jimmyc2006/leetcode | /src/main/java/shuwei/leetcode/cn/addTwoNumber2/Revert.java | UTF-8 | 666 | 3.046875 | 3 | [] | no_license | package shuwei.leetcode.cn.addTwoNumber2;
import shuwei.leetcode.cn.ListNode;
/**
* @author shuwei
* @version 创建时间:2020年4月14日 下午5:18:05
* 类说明
*/
public class Revert {
public static void main(String[] args) {
ListNode l2 = Solution.generate(1, 2, 3, 4);
System.out.println(Solution.traversal(l2));
Syst... | true |
99e8592cc17348d55039ac2c8acc944a7aaf8bd8 | Java | DhanuRCG/ExpenseManager | /src/com/epicsoft/expensemanager/model/Account.java | UTF-8 | 1,948 | 2.53125 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.epicsoft.expensemanager.model;
/**
*
* @author SUPUN MADUSHANKA
*/
public class Account {
private String Acco... | true |
e86d88c54c650a851a29c8a9a65defd22294464a | Java | Jingwu010/CSU-CS-CodeRepo | /CS-455-Distributed System/Jim_Xu_ASG3/problem/src/cs455/hadoop/dataAnalysis/DataAnalysisSecondReducer.java | UTF-8 | 1,287 | 3.046875 | 3 | [] | no_license | // Author : Jimx
package cs455.hadoop.dataAnalysis;
import java.util.*;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Reducer;
import java.io.IOException;
public class DataAnalysisSecondReducer extends Reducer<Text, Text, Text, Text> {
private final static int roomsNum = 9;
@Override
... | true |
f48ce5d0185d5d242c2537e0556d4c7393eb2511 | Java | cckmit/zds-mortgage | /zds-repertory/zds-mortgage/mortgage-web/src/main/java/com/zdsoft/finance/casemanage/limitapply/vo/FundPlanInfoVo.java | UTF-8 | 3,366 | 2.1875 | 2 | [] | no_license | package com.zdsoft.finance.casemanage.limitapply.vo;
import java.math.BigDecimal;
/**
*
* 版权所有:重庆正大华日软件有限公司
* @Title:FundPlanInfoVo.java
* @Package:com.zdsoft.finance.casemanage.limitapply.vo
* @Description:用户临时存放调用接口返回的资金计划,贷款回款账户信息(包括是不是备付金账户),账户余额
* @author: xiongpan
* @date:2017年1月15日 上午9:30:52
* @versio... | true |
4966366f4849a5bd55e697f9479accb425400f04 | Java | holon-platform/holon-vaadin-flow | /core/src/main/java/com/holonplatform/vaadin/flow/internal/components/AbstractValidatableInputAdapter.java | UTF-8 | 11,722 | 1.804688 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2000-2017 Holon TDCN.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | true |
2deb2b7c5d521bcb6883cda268af3a6e9c97131c | Java | meihuali/myappshuihu2 | /app/src/main/java/com/example/xiao/myappshuihu/view/IsSwitchStateView.java | UTF-8 | 352 | 1.71875 | 2 | [] | no_license | package com.example.xiao.myappshuihu.view;
/**
* 项目名:myappshuihu2
* 包名:com.example.xiao.myappshuihu.view
* 文件名:IsSwitchStateView
* 作者 :梅华黎
* 联系QQ: :77299007
* 创建时间: 2017/10/9 0009 17:47
* 描述:TODO
*/
public interface IsSwitchStateView {
void showSwitchStateRelust(Object object);
}
| true |
327bebc1ef9dc0f46e9d9aaf58ce3613ae8dc38b | Java | quanqx/CoNhayFinally | /src/handler/CharacterHandler.java | UTF-8 | 2,667 | 2.953125 | 3 | [] | no_license | package handler;
import java.util.ArrayList;
import Common.Constant;
import helper.Helper;
import object.Character;
import object.Coordinate;
import object.GameBoard;
import object.Hint;
public class CharacterHandler {
public final static String ALLY = "ALLY";
public final static String ENEMY = "ENEMY";
private... | true |
3d101edd52e4bdc3c45cf84d43cc05bf88cbf0a5 | Java | andystanton/euler | /problems/002/java/Imperative.java | UTF-8 | 424 | 3.25 | 3 | [
"MIT"
] | permissive | public class Imperative {
private static final int MAX = 4000000;
public static void main(String[] args) {
int first = 1, second = 2, total = second, next;
while(second < MAX) {
next = first + second;
first = second;
second = next;
if (next % 2 ==... | true |
46994eb0daf4dba5e6be55d90e0f8cde825c4f1f | Java | ProTechCorp/ProTechCorpApolo | /src/main/java/com/protechcorp/platform/service/IEmployeeService.java | UTF-8 | 242 | 1.773438 | 2 | [] | no_license | package com.protechcorp.platform.service;
import java.util.List;
import com.protechcorp.platform.model.Employee;
public interface IEmployeeService extends CrudService<Employee>{
List<Employee> findByLocation(String nameLocation);
}
| true |
6a33d8fee8c545fb7055b8b63727bbaa1a7b5a7e | Java | Orion03/Chapter-5 | /Chapter-5/src/exercises/CellPhoneService.java | UTF-8 | 1,484 | 3.265625 | 3 | [] | no_license | package exercises;
import java.util.Scanner;
public class CellPhoneService {
public static void main(String[] args) {
// TODO Auto-generated method stub
int talkMinutesUsed;
int textMessagesSent;
int gigabytesUsed;
String result = null;
Scanner input = new Scanner(System.in);
System.out.pr... | true |
150a33bdfb47da188335b9c8ab1df14544a38c49 | Java | chandcc/oicc_new | /oicc/src/main/java/com/cnlive/oicc/config/SecurityConfig.java | UTF-8 | 4,000 | 2.25 | 2 | [] | no_license | package com.cnlive.oicc.config;
import com.cnlive.oicc.service.MyUserDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.auth... | true |
0bafcf2af9c96d52a04df690a76806ad88edee4f | Java | hugojose14/BFF-and-microservices | /bff-web/src/main/java/com/bff/web/domain/service/BffRestrictiveListService.java | UTF-8 | 1,300 | 2.03125 | 2 | [] | no_license | package com.bff.web.domain.service;
import com.bff.web.domain.data.AuthenticationRequest;
import com.bff.web.domain.data.AuthenticationResponse;
import com.bff.web.domain.data.ClientDTO;
import com.bff.web.domain.data.ClientRequest;
import com.bff.web.domain.ports.api.BFfRestrictiveListServicePort;
import com.bff.web.... | true |
23046d604e2853fa2afb4c9c64b6ed98d6f22eba | Java | MainakRepositor/Java-Solutions | /searchingandsorting/minswapstosort.java | UTF-8 | 470 | 3.234375 | 3 | [] | no_license | package searchingandsorting;
import java.util.Map;
import java.util.TreeMap;
public class minswapstosort {
public static void main(String[] args) {
// TODO Auto-generated method stub
int[] arr = { 1, 5, 4, 3, 2 };
minswaps(arr);
}
static Map<Integer, Integer> map = new TreeMap<>();
public static void mi... | true |
4f5daa86e4d85f97302dc3ababfb28cba32f5048 | Java | getmeanand/JMS-Implementation | /listener-alpha-reference/src/main/java/com/alphacorporation/listener/route/TestRoute.java | UTF-8 | 500 | 1.710938 | 2 | [] | no_license | package com.alphacorporation.listener.route;
import org.apache.camel.LoggingLevel;
import org.apache.camel.builder.RouteBuilder;
import org.springframework.context.annotation.Configuration;
import static org.apache.activemq.camel.component.ActiveMQComponent.activeMQComponent;
@Configuration
public class TestR... | true |
5567a675047d1a93825249ca60b1feede2792606 | Java | rajnishkg/Java_study | /mafs-core-data/src/main/java/com/mikealbert/data/entity/InterestDisclosure.java | UTF-8 | 3,447 | 1.929688 | 2 | [] | no_license | package com.mikealbert.data.entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* The persistent class for the INTEREST_DISCLOSURES database table.
*
*/
@Entity
@Table(name="INTEREST_DISCLOSURES")
... | true |
989b91896a0929ed5f605b7036f2b2697c60b1c5 | Java | Diwyang/CoreSpringExample | /Spring-Demo-Annotations-Injection/src/org/dj/spring/demo/annotation/injection/propertiesfiles/TennisCoach.java | UTF-8 | 955 | 2.421875 | 2 | [] | no_license | package org.dj.spring.demo.annotation.injection.propertiesfiles;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component
public c... | true |
b0c39cd800e613dc23e6770b3297b3195181d585 | Java | dmathieu/translator | /src/com/dmathieu/translator/Translator.java | UTF-8 | 857 | 2.953125 | 3 | [] | no_license | package com.translator.android;
import android.widget.Spinner;
import com.google.api.translate.Language;
import com.google.api.translate.Translate;
public class Translator {
/*
* Takes the string to translate and does the work
*/
public static String translate(String text, Language lang_from, Language lang_to... | true |
7605accef19467a457d3138e08993b2eb2fa0f36 | Java | Asbaharoon/sinopec | /src/pkg_sinopec/Dunxin_tp.java | GB18030 | 4,901 | 1.90625 | 2 | [] | no_license | package pkg_sinopec;
import java.io.IOException;
import java.net.ConnectException;
import java.net.SocketTimeoutException;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.Nam... | true |
cd61bca0820f587a4c4685e368604c18602e8894 | Java | ddz-mark/News | /app/src/main/java/com/dudaizhong/news/base/utils/Util.java | UTF-8 | 2,411 | 2.609375 | 3 | [
"Apache-2.0"
] | permissive | package com.dudaizhong.news.base.utils;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.text.TextUtils;
import com.dudaizhong.news.app.App;
import com.orhanobut.logger.Logge... | true |
29393e0588fcabca57bafb3eea26a2abc23b2c6a | Java | DNAstack/ddap-dam-admin | /e2e-tests/src/main/java/com/dnastack/ddap/server/IdentityE2eTest.java | UTF-8 | 5,062 | 1.898438 | 2 | [
"Apache-2.0"
] | permissive | package com.dnastack.ddap.server;
import com.dnastack.ddap.common.AbstractBaseE2eTest;
import com.dnastack.ddap.common.TestingPersona;
import com.dnastack.ddap.common.util.DdapLoginUtil;
import dam.v1.DamService;
import org.apache.http.cookie.Cookie;
import org.json.JSONObject;
import org.junit.BeforeClass;
import org... | true |
11ed8da7c005d84b9206625f66881ddf5fe40412 | Java | nom-tam-fits/nom-tam-fits | /src/test/java/nom/tam/fits/BinaryTableNewTest.java | UTF-8 | 60,725 | 2.140625 | 2 | [
"Unlicense"
] | permissive | package nom.tam.fits;
import java.io.DataOutput;
import java.io.File;
import java.io.FileInputStream;
import java.lang.reflect.Array;
import java.math.BigInteger;
/*-
* #%L
* nom.tam.fits
* %%
* Copyright (C) 1996 - 2023 nom-tam-fits
* %%
* This is free and unencumbered software released into the public domain.... | true |
7c22184c98950f75af63e0f0704b0c145755e1eb | Java | topcoder-platform/tc-website | /src/main/com/topcoder/web/truveo/controller/request/admin/AddSubmissionPrize.java | UTF-8 | 1,097 | 2.296875 | 2 | [] | no_license | package com.topcoder.web.truveo.controller.request.admin;
import com.topcoder.web.truveo.model.ContestResult;
import com.topcoder.web.truveo.model.Prize;
import com.topcoder.web.truveo.model.PrizeType;
import com.topcoder.web.truveo.model.Submission;
/**
* @author dok
* @version $Revision$ Date: 2005/01/01 00:00:00... | true |
c3a3ca74905a6401bbad79482fd63a66de8aebf9 | Java | pneraasen/IDEPresentation | /PythonBank/src/Tester.java | UTF-8 | 12,715 | 2.640625 | 3 | [] | no_license | import java.awt.BorderLayout;
import java.awt.EventQueue;
import java.util.Random;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import java.awt.event.MouseAdapter;
import java.a... | true |
4ad0b53c5faad0b9606059b900b9088f3e3a1c15 | Java | hhschanja/ex6_file | /src/main/java/com/choa/aspect/CardCheck.java | UTF-8 | 1,228 | 2.515625 | 3 | [] | no_license | package com.choa.aspect;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;
@Component //이거는 spring에서 인식하는 객체생성 어너테이션이야
@Aspect //얘는 aspect입니다라는 ... | true |
7aa89d0aeca70f3d6942e1b57cc7a4a8b9be1e94 | Java | PHS0825/jpaspringboottest | /src/main/java/com/kakaopay/invest/service/InvestPurchaseService.java | UTF-8 | 3,870 | 2.46875 | 2 | [] | no_license | package com.kakaopay.invest.service;
import com.kakaopay.invest.constants.Constants;
import com.kakaopay.invest.constants.ReturnCode;
import com.kakaopay.invest.entity.TbCustMst;
import com.kakaopay.invest.entity.TbPrdtMst;
import com.kakaopay.invest.exception.InvestFailureException;
import com.kakaopay.invest.reposit... | true |
3b2f0c07cae73a64fd25d6f789287be24c8f9463 | Java | pabplanalp/pvmail | /java/source/com/vmail/pdf/flight/AcFlightMailManifestAv7DocumentModelMaker.java | UTF-8 | 3,346 | 2.265625 | 2 | [] | no_license | package com.vmail.pdf.flight;
import com.jwApps.collection.*;
import com.jwApps.time.*;
import com.jwApps.utility.*;
import com.vmail.db.base.*;
import com.vmail.model.*;
import com.vmail.pdf.av7.*;
import com.vmail.pdf.av7.model.*;
import com.vmail.utility.*;
public class AcFlightMailManifestAv7DocumentModelMaker
{... | true |
fca5e7eea45132dacff593eb0bfa4a413e00ffdc | Java | Nando055/Series | /Subtitulo.java | UTF-8 | 510 | 2.5625 | 3 | [] | no_license | public class Subtitulo {
private String idioma;
private String autor;
public Subtitulos() {
}
public Subtitulo(String idioma, String autor) {
this.idioma = idioma;
this.autor = autor;
}
public String getIdioma() {
return idioma;
}
public String getAutor(... | true |
aa687dc3a121cd5db0f2639d8fffae324a0568a4 | Java | anchal00/Learn-to-code-java | /Varialble and Data types/datatypexample.java | UTF-8 | 1,037 | 3.484375 | 3 | [
"MIT"
] | permissive | class datatypexample{
public static void main(String arg[]){
byte myNum = 100; //Byte
System.out.println("Byte value is:"+myNum);
short myNumShort = 5000; // Short
System.out.println("Short value is:"+myNumShort);
int myNumInt = 5; // Integer (whole number)
System.out.println("Integer value is:"+myNumI... | true |
53b84f6c807625a305992980954b4047e317a646 | Java | santca/java_demo | /demo3/src/main/java/com/feicuiedu/demo3/ExceptionDemo.java | UTF-8 | 341 | 2.625 | 3 | [] | no_license | package com.feicuiedu.demo3;
/**
* Created by chenyan on 2016/9/28.
*/
public class ExceptionDemo {
public static void main(String[] args) throws MyException {
int i = 5;
int j = 1;
int k = i / j;
throw new MyException("对不起我错了");
// System.out.println("haha");... | true |
81b162df78ccb75b35773bbfd778e7fbbca17ef5 | Java | s-soroosh/banking | /simia/service/src/test/java/com/samenea/banking/simia/service/LoanServiceAcceptanceTest.java | UTF-8 | 5,224 | 1.960938 | 2 | [] | no_license | package com.samenea.banking.simia.service;
import com.samenea.banking.loan.ILoan;
import com.samenea.banking.simia.model.SimiaUtils;
import com.samenea.banking.simia.service.loan.LoanService;
import junit.framework.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.beans.factory.annotat... | true |
2d9e0f3c5a5446222edec981a41c46f8b2a9758c | Java | Sakshi7860/DS_Practice | /src/Strategy/Product.java | UTF-8 | 64 | 1.84375 | 2 | [] | no_license | package Strategy;
public abstract class Product {
Tax tax;
}
| true |
2d2966c13588f0ae6bbb6c184726ac6a60dafce9 | Java | Gopinath0106/GIT-Sample-_maven | /PomAdactinp2.java | UTF-8 | 2,230 | 2 | 2 | [] | no_license | package org.hotel.test;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import MavenNew.BaseClass;
public class PomAdactinp2 extends BaseClass {
public PomAdactinp2() {
PageFactory.initElements(driver, this);
}
@FindBy(xpath="//... | true |
b2d86bd6616fcec27e6089e10e8859b853af93ee | Java | pqpo/registration_android | /src/cn/edu/hhu/reg/activity/RegistrationMineActivity.java | UTF-8 | 2,994 | 2.140625 | 2 | [
"Apache-2.0"
] | permissive | package cn.edu.hhu.reg.activity;
import java.util.ArrayList;
import cn.edu.hhu.reg.AppConfig;
import cn.edu.hhu.reg.R;
import cn.edu.hhu.reg.adapter.RegistrationListAdapter;
import cn.edu.hhu.reg.api.ApiClient;
import cn.edu.hhu.reg.api.ResponseUtils;
import cn.edu.hhu.reg.api.SimpleResponse;
import cn.edu.hhu.reg.co... | true |
682adf0188baf1082fbb05262af46465fd0215ec | Java | RegisDeVallis/World-Time-Alarm | /src/gnu/mapping/Environment$InheritedLocal.java | UTF-8 | 885 | 1.820313 | 2 | [] | no_license | // Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package gnu.mapping;
// Referenced classes of package gnu.mapping:
// Environment, SimpleEnvironment
static class extends Inherita... | true |
0fc7e3625ced5557f35cad9fd1e253bc247a6749 | Java | frydsh/GA | /src/com/google/analytics/tracking/android/Dispatcher.java | UTF-8 | 197 | 1.953125 | 2 | [
"Apache-2.0"
] | permissive | package com.google.analytics.tracking.android;
import java.util.List;
abstract interface Dispatcher {
public abstract int dispatchHits(List<Hit> hits);
public abstract boolean okToDispatch();
} | true |
5262cd428c15345c6a6f1f9ca1bbaa1d8cad0105 | Java | SanctumMC/KingdomCraft | /src/main/java/com/igufguf/kingdomcraft/commands/players/InfoCommand.java | UTF-8 | 6,448 | 2.40625 | 2 | [] | no_license | package com.igufguf.kingdomcraft.commands.players;
import com.igufguf.kingdomcraft.api.models.commands.CommandBase;
import com.igufguf.kingdomcraft.KingdomCraft;
import com.igufguf.kingdomcraft.api.models.kingdom.Kingdom;
import com.igufguf.kingdomcraft.api.models.kingdom.KingdomRelation;
import com.igufguf.kingdomcra... | true |
7b3a51e97bd4dd8c23c639693c6bdb318e01cc30 | Java | JeonSeongBae/BAEKJOON | /src/_2839/Main.java | UTF-8 | 1,279 | 3.921875 | 4 | [] | no_license | package _2839;
import java.util.Scanner;
public class Main {
/*
* 상근이는 요즘 설탕공장에서 설탕을 배달하고 있다. 상근이는 지금 사탕가게에 설탕을 정확하게 N킬로그램을 배달해야 한다. 설탕공장에서 만드는
* 설탕은 봉지에 담겨져 있다. 봉지는 3킬로그램 봉지와 5킬로그램 봉지가 있다.
*
* 상근이는 귀찮기 때문에, 최대한 적은 봉지를 들고 가려고 한다. 예를 들어, 18킬로그램 설탕을 배달해야 할 때, 3킬로그램 봉지 6개를
* 가져가도 되지만, 5킬로그램 3개와 3킬로그램 1개를 배달하... | true |
560092e73eb5fc7e1025fe4ffe659322deb6754c | Java | conkis123/EDM | /edm Maven Webapp/src/main/java/cn/ck/edm/action/QrCodeAction.java | UTF-8 | 2,900 | 2.484375 | 2 | [] | no_license | package cn.ck.edm.action;
import java.io.IOException;
import java.util.Hashtable;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import cn.ck.edm.util.MatrixToImageWriter;
import c... | true |
ab140e13f7cd3327132c75dd1a3e6bbe7801cda5 | Java | plm479104792/homecoo-phone | /HomeCoo/src/com/tuwa/smarthome/alarmreceiver.java | UTF-8 | 1,231 | 2.078125 | 2 | [] | no_license | package com.tuwa.smarthome;
import com.tuwa.smarthome.activity.HomeActivity;
import com.tuwa.smarthome.dao.GateWayDao;
import com.tuwa.smarthome.entity.Gateway;
import com.tuwa.smarthome.global.NetValue;
import com.tuwa.smarthome.global.SystemValue;
import com.tuwa.smarthome.util.PreferencesUtils;
import android.cont... | true |
c4ac2a5279ec6b4658c1786b024a5a2a279b18b8 | Java | wscjwacs/Spirng4Demos | /spring_eesy_day01_ioc/src/main/java/com/flyz/demo6/Employee2.java | UTF-8 | 454 | 2.625 | 3 | [] | no_license | package com.flyz.demo6;
import com.flyz.demo4.Car2;
public class Employee2 {
private String name;
private Car2 car2 ;
public void setName(String name) {
this.name = name;
}
public void setCar2(Car2 car2) {
this.car2 = car2;
}
@Override
public String toString() {
... | true |
07534cf485015b16346c7c45afecbfb9c7d43581 | Java | sc0915/ossReception | /src/main/java/com/shinowit/dao/mapper/TmeUnitinfoMapper.java | UTF-8 | 3,152 | 1.9375 | 2 | [] | no_license | package com.shinowit.dao.mapper;
import com.shinowit.model.TmeUnitinfo;
import com.shinowit.model.TmeUnitinfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TmeUnitinfoMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to... | true |
7495d7198aa5bad95ed39c015093c836ebbe002f | Java | jalfredprufrock/EyesRest | /eyes.java | UTF-8 | 4,570 | 3.421875 | 3 | [] | no_license | import java.awt.*;
import java.awt.event.*;
import java.awt.Color;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import javax.swing.*;
public class eyes{
/* Rest program, every twenty minutes puts up a screen wide window for t... | true |
4becadf327e38c848ecdb52709fac59267d0c554 | Java | CodingFairy/Gitmining | /Source_Code/Gitmining/GitCommon/src/main/java/edu/nju/git/data/service/RepoChartDataService.java | UTF-8 | 2,429 | 2.390625 | 2 | [] | no_license | package edu.nju.git.data.service;
import java.rmi.Remote;
import java.rmi.RemoteException;
import edu.nju.git.VO.chartvo.MyChartVO;
/**
* this inteface defined the services about repos information statistic,
* offered by data layer.
*
* @author daixinyan
* @date 2016-03-20
*/
public interface RepoChartDataSer... | true |
ae9256339a8cb767c2bf89e37b5309cf8f2e0b01 | Java | Grtwwh2019/RecruitmentSystem | /recruitment/src/main/java/com/zzj/recruitment/dao/UserMapper.java | UTF-8 | 1,560 | 1.867188 | 2 | [] | no_license | package com.zzj.recruitment.dao;
import com.zzj.recruitment.pojo.Role;
import com.zzj.recruitment.pojo.User;
import com.zzj.recruitment.vo.*;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface UserMapper {
int deleteByPrimaryKey(Integer id);
int insert(User recor... | true |
a6cf0133b475dc2191163a8c52df8de5f485de89 | Java | merceneryinbox/chatOnInterfacesNB | /src/chatProInterfaces/TalkToDB.java | UTF-8 | 2,019 | 1.867188 | 2 | [] | no_license | /*
* 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 chatProInterfaces;
import java.net.Socket;
import markerIface.DialogPacket;
/**
*
* @author mercenery
*/
public interface ... | true |
16c06577b9a26a44ecd41ea08f58633dda40afe8 | Java | rishabghosh/javaPractice | /src/com/step/LibrarySimulation/Librarian.java | UTF-8 | 1,087 | 3.25 | 3 | [] | no_license | package com.step.LibrarySimulation;
import java.util.List;
public class Librarian {
private final Library library;
public Librarian(Library library) {
this.library = library;
}
public boolean isBookRemoved(Book book){
return library.getRemovedBooks().contains(book);
}
public... | true |
06db5e802e8e5ac9571c541f01f8d133aeb9f608 | Java | zhengbingyuan/JAVA | /JavaSE_Workspace/day13_StringBuffer/src/cn/itcast_02/StringBufferDemo.java | GB18030 | 626 | 3.3125 | 3 | [] | no_license | package cn.itcast_02;
/*
* StringBufferӹ
* Public StringBuffer append(String str);ӵַַ
*
*
*/
public class StringBufferDemo {
public static void main(String[] args) {
StringBuffer sb = new StringBuffer();
// StringBuffer sb2 = sb.append("hello");
// System.out.println("sb:"+sb);
// System.out.println("sb2:... | true |
9048b11a1506667a63eea2e182655a80856fa24d | Java | dschadow/JavaOne | /Camel-Payload-Security/src/main/java/de/bit/camel/security/Employee.java | UTF-8 | 1,931 | 2.671875 | 3 | [] | no_license | package de.bit.camel.security;
import javax.xml.bind.annotation.XmlRootElement;
/**
*
* @author Dominik Schadow
*/
@XmlRootElement
public class Employee {
private String empId = "";
private String name = "";
private String jobTitle = "";
private String department = "";
private String entryDate... | true |
59eacf3c05c79330f796abbbc4113a6a88e8ebb7 | Java | Error-250/first_mod | /src/main/java/com/wxp/firstmod/manager/GeneratorManager.java | UTF-8 | 644 | 2.234375 | 2 | [] | no_license | package com.wxp.firstmod.manager;
import com.wxp.firstmod.generator.GlowStoneWorldGenerator;
import net.minecraft.world.gen.feature.WorldGenerator;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/** @author wxp */
public class GeneratorManager {
private static List<WorldGenerator> ... | true |
63dbab9653ff5c9690571652f7df80a14dadece9 | Java | rushigandhi/ICS3UR | /J7A5.java | UTF-8 | 1,092 | 3.421875 | 3 | [] | no_license | // Assignment: J7A5
// Description: This program find the largest and smallest values in an array using the method Arrays.sort();
//
// Author: Rushi Gandhi
//
// Date Start: January 11, 2017
// Date Completed: January 11, 2016
//
// Completion time: 1 period
//
// Honor Code: I pledge that this program repre... | true |
b717fb3aeb4042d4c48fff55870ccd3680652e4f | Java | treejames/android-5 | /IDT/src/com/ids/idtma/ui/ActivitySmsSend.java | UTF-8 | 6,722 | 1.796875 | 2 | [] | no_license | package com.ids.idtma.ui;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import an... | true |
91616e52c055960df9f04276122e7143f7dc8ba7 | Java | DimitarLazarov/Homeworks | /Lesson16Home/src/EmployeeDemo.java | UTF-8 | 504 | 3.03125 | 3 | [] | no_license |
public class EmployeeDemo {
public static void main(String[] args) {
Task task1 = new Task("clean dishes", 5);
Task task2 = new Task("build little house", 8);
Task task3 = new Task("broke windows", 2);
Employee pesho = new Employee("Pesho");
Employee gosho = new Employee("Gosho");
Employee ivan = n... | true |
6dd96965d1cba76b219982a41016f73f1c1b3628 | Java | sama733/webApp | /src/main/java/servlet/DeleteRealCustomerServlet.java | UTF-8 | 1,501 | 2.640625 | 3 | [] | no_license | package servlet;
import DAL.CustomerCRUD;
import DAL.RealCustomerCRUD;
import DAL.bean.RealCustomer;
import util.HTMLGenerator;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOEx... | true |
8b8c6beaa1fe37fb52696d1e212ef2d0063b83b7 | Java | adirasmadins/bidbuzzAndroidApp | /app/src/main/java/com/bidbuzz/utils/models/Bid.java | UTF-8 | 1,493 | 2.5 | 2 | [] | no_license | package com.bidbuzz.utils.models;
import android.os.Parcel;
import android.os.Parcelable;
import org.json.JSONObject;
public class Bid implements Parcelable {
private String id;
private String title;
private Float sale_rate;
private String img_url;
private String url;
private Float bid_rate;
... | true |
631a5ae219600dce384f8145b15863fc3b6c0531 | Java | pocketbbaa/XCR | /xcr-core/xcr-core-service/src/main/java/com/yatang/xc/xcr/biz/core/service/UserSignService.java | UTF-8 | 2,373 | 2.203125 | 2 | [] | no_license | package com.yatang.xc.xcr.biz.core.service;
import com.yatang.xc.xcr.biz.core.dao.UserSignDao;
import com.yatang.xc.xcr.biz.core.domain.UserSignPO;
import com.yatang.xc.xcr.biz.core.domain.UserSignSetPO;
import java.util.Date;
import java.util.List;
/**
* 用户签到
* Created by wangyang on 2017/7/7.
*/
public interfac... | true |
985af71b5e473793e5e5b5de148181c6ef311632 | Java | tinmann/orderboy | /src/main/java/com/starter/orderBoy/repository/ItemsDealerMapperRepository.java | UTF-8 | 483 | 1.6875 | 2 | [] | no_license | package com.starter.orderBoy.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.starter.orderBoy.pojo.ItemDetails;
import com.starter.orderBoy.pojo.UserDetailsPojo;
import com.starter.orderBoy.pojo.UserItemsDealerMapper;
public interface ItemsDealerMapperRepository extends J... | true |
d38061f6087074147e2b4779fe6acbd66497d79f | Java | erdhzn/javadersleri | /src/Gun37/instanceModifiers/publicModifiers/other/EdgeBrowser.java | UTF-8 | 413 | 2.1875 | 2 | [] | no_license | package Gun37.instanceModifiers.publicModifiers.other;
import Gun37.instanceModifiers.publicModifiers.same.SearchEngine;
public class EdgeBrowser {
public static void main(String[] args) {
// diger paketteki bu constructor a ulasti
// cunku public
SearchEngine microsoft= new SearchEngine(... | true |
9f91c1645199569931a67b453cbf09a16b737b02 | Java | liqiangq/ezEMS | /entity/EpcSubitemRule.java | UTF-8 | 2,059 | 2.203125 | 2 | [] | no_license | package com.thtf.entity;
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persist... | true |
1448a0b6d6a74e8740cb2ad1e11b2c1fcae67eb3 | Java | havenPCE/BookMeTutor-Backend | /src/main/java/com/pce/BookMeTutor/Config/Constants.java | UTF-8 | 958 | 1.882813 | 2 | [] | no_license | package com.pce.BookMeTutor.Config;
public class Constants {
public static final String SECRET = "secretToEncrypt";
public static final String TOKEN_PREFIX = "Bearer ";
public static final String HEADER_FIELD_STRING = "Authorization";
public static final long EXPIRATION_TIME = 1000 * 60 * 60 * 8;
public static f... | true |
542b8547de8e92127f170a6fc91dc11c518a3f49 | Java | KeidGT/ControlCitas | /ControlCitas/src/main/java/com/sv/udb/utils/CustomFunction.java | UTF-8 | 948 | 2.15625 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.sv.udb.utils;
import com.sv.udb.controlador.*;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java... | true |
04e8e107ab69c71376697e629ebd55e942fa7ed6 | Java | bieleite/GestionFoot | /GestionFoot-ejb/src/java/Session/sessionFederationLocal.java | UTF-8 | 2,244 | 2 | 2 | [] | no_license | /*
* 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 Session;
import Entite.Arbitre;
import Entite.Championnat;
import Entite.Entraineur;
import Entite.Equipe;
import Entite.Faute... | true |
5d0aa049fe08fb9a20f9e2ee8f2d43bf24413fdc | Java | fantasylincen/javaplus | /vc-zhs-gs/src/config/mission/InstanceTemplet.java | UTF-8 | 4,081 | 2.46875 | 2 | [] | no_license | package config.mission;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import game.log.Logs;
import org.jdom2.Element;
/**
* 副本 模板
* @author DXF
*
*/
public class InstanceTemplet {
/** 副本id */
private final short id;
privat... | true |
b377d15f1a0d95000a55aec9cb7ea41f874bf8cb | Java | larsenharvey/DowitcherRepo | /adventure-game/core/src/edu/augustana/csc285/game/datamodel/PlayerProperties.java | UTF-8 | 2,541 | 3.203125 | 3 | [] | no_license | package edu.augustana.csc285.game.datamodel;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
/**
*
* @author Dat Tran
*
*/
import java.util.Set;
import java.util.TreeMap;
public class PlayerProperties {
private TreeMap<String, Property> properties;
/**
* post: usually used to cre... | true |
4caabaaba6c84531faec0e0dae43d0e59261b313 | Java | ginsengcompany/Baseline | /src/java/it/gesan/module/allegati/vo/AllegatoVO.java | UTF-8 | 2,056 | 2.03125 | 2 | [] | no_license | package it.gesan.module.allegati.vo;
import it.gesan.rdb.abstracts.BaseVO;
import java.util.Date;
public class AllegatoVO extends BaseVO {
private Date data;
private String idRiferimento;
private String descrizioneTipo;
private String tipoRiferimento;
private String tipoFile;
private String e... | true |
6c25c6985df6f78c03d9602693fe337b13109139 | Java | alrha486/SIST | /0802/src/MethodDemo3.java | UHC | 354 | 3.5 | 4 | [] | no_license | public class MethodDemo3 {
public static void main(String[] args) {
MethodDemo3 md = new MethodDemo3();
int a =5, b=9;
System.out.println(" ");
System.out.println(a + "\t" + b);
md.swap(a,b);
System.out.println(" ");
System.out.println(a + "\t" + b);
}
void swap(int a, int b) {
int tmp;
tmp = a;
a = b;... | true |
65b700ae211ff882b0404992a658a6da43636526 | Java | MarchLiu/jisp | /src/test/java/jisp/StringTest.java | UTF-8 | 820 | 2.359375 | 2 | [
"MIT"
] | permissive | package jisp;
import jaskell.parsec.common.State;
import jaskell.parsec.common.TxtState;
import jisp.parsers.Parser;
import org.junit.Assert;
import org.junit.Test;
import java.io.EOFException;
/**
* TODO
*
* @author mars
* @version 1.0.0
* @since 2020/07/24 16:51
*/
public class StringTest {
@Test
pub... | true |
3995a17c86d872a88042bf3c7fd47767f6bd4264 | Java | oltjanagrabovaj/HIoT | /Spring-boot/HMSSpringBoot/HMSSpringBoot/src/main/java/com/coforge/hms/repository/MedicosRepository.java | UTF-8 | 392 | 2.03125 | 2 | [] | no_license | package com.coforge.hms.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import com.coforge.hms.model.Medicos;
public interface MedicosRepository extends JpaRepository<Medicos, Long>{
@Query(value = "select * from #{#entityName} m where... | true |
1d2324792a314e7a2160fa267ac2dc63d2b84ce5 | Java | Jiangxuewu/Auto | /autohelper/src/main/java/com/bb_sz/autohelper/MyService.java | UTF-8 | 2,383 | 2.28125 | 2 | [] | no_license | package com.bb_sz.autohelper;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.Service;
import android.content.ComponentName;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;
import java.io.IOException;
import java.util.List;
public class MyService... | true |
da1f94eabb72e7651d67c4ea66a27d8d02fe3a0b | Java | e0725675/wmpmss14_g8 | /sentimentanalyzer/src/test/java/at/tuwien/sentimentanalyzer/sample/TestWordCounter.java | UTF-8 | 1,305 | 2.75 | 3 | [] | no_license | package at.tuwien.sentimentanalyzer.sample;
import java.util.Map;
import at.tuwien.sentimentanalyzer.beans.WordCounter;
import at.tuwien.sentimentanalyzer.entities.Message;
public class TestWordCounter {
public static void main(String[] args) {
WordCounter counter = new WordCounter();
Message msg1 = new Messa... | true |
158023e2f498dd2f7af02a680279e1fb103e3163 | Java | Abhishek240997/Java-Programs | /packages/test 3/p1/p2/employee.java | UTF-8 | 185 | 2.921875 | 3 | [] | no_license | package p1.p2;
public class employee
{int code,salary;
public employee(int code,int salary)
{this.code=code;
this.salary=salary;
}
public String toString()
{return(code+":"+salary);
}
} | true |
83a75667a355a968df1188b18708eaa0e65a1d3a | Java | Danny393/FloodLightRouting | /MyRouting.java | UTF-8 | 12,819 | 1.726563 | 2 | [] | no_license | /*******************
There are some print statements that can help understand what is going on
on line 141 there are prints to show what the links found look like from the Link Discovery Service
on line 282 there are prints to show what the shortest path from the source switch
to all other switches are using Dijkstra'... | true |
00ee626a0ecea8396b2d15d601fc31d26d07089c | Java | Zigior/SSM_learn | /src/main/java/cn/neu/film/mapper/UserStateMapper.java | UTF-8 | 279 | 1.914063 | 2 | [] | no_license | package cn.neu.film.mapper;
import cn.neu.film.pojo.UserState;
import java.util.List;
public interface UserStateMapper {
/**
* 增加权限
*/
int addUserState(UserState userState);
/**
* 查询权限
*/
List<UserState> findUserState();
}
| true |
3e78162db25e8dbc67521fe6100ead51d30d19b7 | Java | srgeverson/Programacao2 | /src/br/estacio/prii/trabalhoAV1deitel/EventoCampoTexto.java | UTF-8 | 1,978 | 2.953125 | 3 | [] | no_license | package br.estacio.prii.trabalhoAV1deitel;
import java.awt.FlowLayout;
import java.awt.event.*;
import javax.swing.*;
/**
*
* @author geverson
*/
public class EventoCampoTexto extends JFrame implements ActionListener {
private JTextField jtfCampoTexto01, jtfCampoTexto02, jtfCampoTexto03;
private JPassword... | true |
c9615fc42cddfadd5f80a9f9c7e4ee1841b66068 | Java | alexzelentsov/tinkoff-test-task | /src/main/java/ru/alexz/tinkofftesttask/repository/ContactApplicationRepository.java | UTF-8 | 446 | 1.851563 | 2 | [] | no_license | package ru.alexz.tinkofftesttask.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import ru.alexz.tinkofftesttask.model.record.ContactApplicationRecord;
@Repository
public interface ContactApplicationRepository extends JpaRepository<ContactApp... | true |
a6e01aa4e77a566945674d147f73295123ba0324 | Java | fuguolei/SpringBoot | /boot/service/src/main/java/com/igalaxy/boot/conf/ErrorConfiguration.java | UTF-8 | 411 | 1.695313 | 2 | [] | no_license | package com.igalaxy.boot.conf;
import com.igalaxy.boot.exception.CustomErrorAttributes;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* Created by fuguolei on 2017/7/14.
*/
@Configuration
public class ErrorConfiguration {
@Bean
public Cu... | true |
064e5c6a8ed296ba956998b5154ec9d5866c0517 | Java | ftc-9915/FtcRobotController | /TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Tests/DriveToRingTest.java | UTF-8 | 4,888 | 2.1875 | 2 | [
"BSD-3-Clause"
] | permissive | package org.firstinspires.ftc.teamcode.Tests;
import com.acmerobotics.dashboard.FtcDashboard;
import com.acmerobotics.dashboard.config.Config;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcom... | true |
c8b34c78932160614b1f3487408e31ef5694d41b | Java | faberchri/tree-builder-2 | /TreeBuilder/src/ch/uzh/agglorecommender/client/InputParser.java | UTF-8 | 26,786 | 1.710938 | 2 | [] | no_license | package ch.uzh.agglorecommender.client;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
imp... | true |
fb8caf4f009b68f5c2263c3a382e8912e895c7ea | Java | rrifafauzikomara/ProjectCatalogueMovieS1 | /app/src/main/java/com/example/rifafauzi6/projectcataloguemovies1/MovieDetail.java | UTF-8 | 2,496 | 2.328125 | 2 | [] | no_license | package com.example.rifafauzi6.projectcataloguemovies1;
import android.content.Intent;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import java.text.ParseException;
import java.text.SimpleD... | true |
7358ea0c14372f01b520df7c27f810c50b0bd023 | Java | AlSidorenko/ThreadsWebinar | /src/ua/kiev/prog/sample7/Document.java | UTF-8 | 386 | 2.390625 | 2 | [
"Apache-2.0"
] | permissive | package ua.kiev.prog.sample7;
/**
* Created on 30.03.2019.
*
* @author Aleks Sidorenko (alek.sidorenko1979@gmail.com).
* @version id$.
* @since 0.1.
*/
public class Document {
private volatile byte[] data;
public byte[] getData() {
return data;
}
public void setData(byte[] data) {
... | true |
30435c6615f0084f35f4d5d6b7070d1dd51ba25e | Java | KimiyukiYamauchi/Denwa | /src/main/java/pack1/Denwa.java | UTF-8 | 1,416 | 2.90625 | 3 | [] | no_license | package pack1;
public class Denwa {
protected String kataban; // 電話機の機種
private String keiyaku; // 使用している契約者
private int ryokin; // 電話料金
private String bangou; // 電話番号
public final int TANKA = 10; // 単位時間当たりの加算額
public final String KAISYA = "(株)ABC"; // 製造会社名
/**
* コンストラクタ
*
* @param keiyaku
* ... | true |
11788cd677647f7b0cb4870acdd2d9ae36e0aab3 | Java | kozheurovyuriy/NukWeek1 | /src/CountQuadrangle/Main.java | UTF-8 | 5,828 | 3.703125 | 4 | [] | no_license | package CountQuadrangle;
import java.util.ArrayList;
import java.util.List;
/*
Определить класс Четырехугольник на плоскости, вершины которого имеют тип Точка
Определить площадь и периметр четырехугольника.
Создать массив/список/множество объектов и подсчитать количество четырехугольников
разного типа (квадрат,прямоу... | true |
f2a79e328d672cf30567a64234ea1dd5f6091147 | Java | ChadCSong/PhotoMovie | /library/src/main/java/com/hw/photomovie/segment/TestLayerSegment.java | UTF-8 | 889 | 2.234375 | 2 | [
"Apache-2.0"
] | permissive | package com.hw.photomovie.segment;
import com.hw.photomovie.segment.layer.MovieLayer;
import com.hw.photomovie.segment.layer.MovieTextLayer;
import com.hw.photomovie.segment.layer.TestBaseLayer;
import com.hw.photomovie.segment.layer.TestMuiltBitmapLayer;
/**
* Created by huangwei on 2015/6/4.
*/
public class TestL... | true |