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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
d48c33e3d368d89fb44b3f88219a95aa72e5296a | Java | LINGLUOJUN/node-manager | /src/main/java/com/six/node_manager/Lock.java | UTF-8 | 210 | 1.773438 | 2 | [] | no_license | package com.six.node_manager;
/**
* @author sixliu E-mail:359852326@qq.com
* @version 创建时间:2018年1月17日 下午8:05:43 类说明
*/
public interface Lock {
void lock();
void unlock();
}
| true |
9c735c5e9473284717c40d2ebbb16acdeb086d4b | Java | 2014283119/test | /src/main/java/com/demo/ading/demo/service/DingUserService.java | UTF-8 | 296 | 1.75 | 2 | [] | no_license | package com.demo.ading.demo.service;
import com.demo.ading.demo.dto.DingUserDTO;
import com.demo.ading.demo.dto.DingUserIdDTO;
public interface DingUserService {
DingUserIdDTO getUserId(String access_token, String code);
DingUserDTO getUserInfo(String access_token, String userid);
}
| true |
064aa1572caffaafc7eb75056890d65d92166fbc | Java | lzb4616/BuyThingsByLBS | /BuyThingsByLBS/src/com/bishe/ui/base/BaseHomeFragment.java | UTF-8 | 1,026 | 2.0625 | 2 | [] | no_license | package com.bishe.ui.base;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
/**
* @author robin
* @date 2015-4-21
* Copyright 2015 The robin . All rights reserved
*/
public abstract class BaseHomeFragment extends BaseFragment{... | true |
736137590dc34f1674f2dce602c82b1fd58536b5 | Java | crazyandcoder/awesome-practise | /android/TopUniversity-Android/app/src/main/java/com/crazyandcoder/top/university/di/component/setting/AboutComponent.java | UTF-8 | 1,055 | 1.859375 | 2 | [] | no_license | package com.crazyandcoder.top.university.di.component.setting;
import dagger.BindsInstance;
import dagger.Component;
import com.crazyandcoder.android.lib.base.di.component.AppComponent;
import com.crazyandcoder.top.university.di.module.setting.AboutModule;
import com.crazyandcoder.top.university.mvp.contract.setting... | true |
13a94e5288f1e6fb544294a396a97a9f8cfee403 | Java | umitmert/sample_springboot_project | /src/test/java/com/iyzico/service/TodoServiceTest.java | UTF-8 | 1,380 | 2.078125 | 2 | [] | no_license | package com.iyzico.service;
import static org.hamcrest.core.IsEqual.equalTo;
import static org.junit.Assert.assertThat;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.orm.jpa.AutoConfigur... | true |
7ea1172dfba9af73f9bb640dfeb6701aa7cba4fd | Java | swJava/Guns-1 | /guns-rest/src/main/java/com/stylefeng/guns/rest/modular/examine/responser/ExamineAnswerPaperListResponse.java | UTF-8 | 1,185 | 2.171875 | 2 | [
"Apache-2.0"
] | permissive | package com.stylefeng.guns.rest.modular.examine.responser;
import com.stylefeng.guns.rest.core.SimpleResponser;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Set;
/**
* @Description //TODO
* @Author 罗华
* @Date 2019/2/20 00:01
* @Version 1.0
*/
public class ExamineAnswerPaperListRespo... | true |
eb9913450ba13325438bfb5b280a817a8d8c3b33 | Java | yachmenev/MyProject | /src/reversList/Type.java | UTF-8 | 561 | 3.265625 | 3 | [] | no_license | package reversList;
/**
* Created by Admin on 30.11.14.
*/
public class Type {
String str;
Integer i;
public Type(Object obj){
if (obj instanceof String){
str = (String) obj;
} else if (obj instanceof Integer){
i = (Integer) obj;
} else {
... | true |
326d91d4e88a187f3e380608bd562bf68272ac16 | Java | rituvesh/data-catalog-backend | /data-catalog-backend-test/data-catalog-backend-test-integration/src/test/java/no/nav/data/catalog/backend/test/integration/informationtype/InformationTypeControllerIT.java | UTF-8 | 26,896 | 1.625 | 2 | [
"MIT"
] | permissive | package no.nav.data.catalog.backend.test.integration.informationtype;
import no.nav.data.catalog.backend.app.AppStarter;
import no.nav.data.catalog.backend.app.codelist.CodelistService;
import no.nav.data.catalog.backend.app.codelist.ListName;
import no.nav.data.catalog.backend.app.informationtype.InformationType;
imp... | true |
a9082bece7723c0bba4d5c3496e7384e203f1c1e | Java | aimbin/bean-autocoder | /autocoder/org.aimbin.autocoder.bean/src/main/java/org/aimbin/autocoder/service/DaoCreateService.java | UTF-8 | 541 | 1.914063 | 2 | [
"MIT"
] | permissive | /** fun_endless@163.com 2018年11月28日 */
package org.aimbin.autocoder.service;
import java.util.Map;
import org.aimbin.autocoder.component.ClassContent;
/**Create a data access object.
* @author aimbin
* @verison 1.0.0 2018年11月28日
*/
public interface DaoCreateService {
/**
* Create a DAO like MyBat... | true |
bede421e9db53d96ec6ecc43f92b14f9b579fb7d | Java | tdscott10/sportsCompare2 | /src/model/Sport.java | UTF-8 | 1,221 | 2.5 | 2 | [] | no_license | package model;
public class Sport {
private int sportId;
private int userId;
private String name;
private String position;
private String favoriteTeam;
public Sport(int sportId, int userId, String name, String position,
String favoriteTeam) {
this.sportId = sportId;
this.userId = userId;
this.name = n... | true |
614f3d1f78ebbc489737102b393e545be715d3e7 | Java | zhongxingyu/Seer | /Diff-Raw-Data/32/32_8850cb53dee2524a82712cfbadc739e78ce1aaa2/GUIMessage/32_8850cb53dee2524a82712cfbadc739e78ce1aaa2_GUIMessage_s.java | UTF-8 | 1,577 | 2.8125 | 3 | [] | no_license |
package net.sf.freecol.client.gui;
import java.awt.Color;
import java.util.Date;
import java.util.logging.Logger;
/**
* Represents a message that can be displayed in the GUI. It has message data
* and a Color.
*/
public final class GUIMessage {
public static final String COPYRIGHT = "Copyright (... | true |
3e15e2e273167fa81008a71024dfeaeab782b9fb | Java | wojeong/MusicGame | /app/src/main/java/com/example/musicgame/Correct.java | UTF-8 | 1,331 | 2.375 | 2 | [] | no_license |
package com.example.musicgame;
import android.app.Activity;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import androidx.annotation.Nulla... | true |
e7c7b11fb0e7c061cc942b86e1b48c1431c2e586 | Java | zhengby8491/printmanager | /src/main/java/com/huayin/printmanager/job/SystemJobService.java | UTF-8 | 1,769 | 2.34375 | 2 | [] | no_license | /**
* <pre>
* Author: think
* Create: 2018年1月11日 上午11:17:46
* Copyright: Copyright (c) 2017
* Company: Shenzhen HuaYin
* @since: 1.0
* <pre>
*/
package com.huayin.printmanager.job;
import com.huayin.common.exception.ServiceResult;
import com.huayin.printmanager.persist.entity.sys.SystemJob... | true |
6171056d74cae1addc6558ab28433ea65dd1434d | Java | wjdwn1988/kaist.tap.kaf | /kaist.tap.kaf/src/kaist/tap/kaf/views/ShapeCanvas.java | UTF-8 | 9,845 | 2.109375 | 2 | [] | no_license | package kaist.tap.kaf.views;
import java.util.Vector;
import kaist.tap.kaf.component.Arrow;
import kaist.tap.kaf.component.Component;
import kaist.tap.kaf.component.Line;
import kaist.tap.kaf.component.Parallelogram;
import kaist.tap.kaf.component.Rectangle;
import kaist.tap.kaf.component.Group;
import kais... | true |
8d02faaeea94824371c3b62072b54e621d45a84d | Java | octaviomunoz/sistema-requerimiento | /backend/src/main/java/com/sistema/requerimiento/repository/RequisitoRepository.java | UTF-8 | 304 | 1.570313 | 2 | [] | no_license | package com.sistema.requerimiento.repository;
import com.sistema.requerimiento.model.Requisito;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;
@Component
public interface RequisitoRepository extends JpaRepository<Requisito, Long> {
} | true |
c1431e08d2c0bd525367e4e82bbb727a3672f323 | Java | cuixingzheng/my-study-modules | /gof/src/main/java/com/gof/code/visit/Computer.java | UTF-8 | 534 | 3.03125 | 3 | [] | no_license | package com.gof.code.visit;
/**
* @author: cxz
* @create: 2020/8/13 15:02
* @description:
**/
public class Computer implements Part {
private Part[] parts;
@Override
public void describe() {
System.out.println("computer contain : {");
for (Part part : parts){
part.describe();... | true |
1636fe10fe6f06e1be4003615befc92d4fd640dc | Java | grodskvi/coding-tasks | /TaxCalculator/src/main/java/taxcalculator/domain/finance/Rate.java | UTF-8 | 1,195 | 3.21875 | 3 | [] | no_license | package taxcalculator.domain.finance;
import static taxcalculator.utils.ParametersValidator.NON_NEGATIVE_NUMBER;
import static taxcalculator.utils.ParametersValidator.validateParameter;
import java.math.BigDecimal;
import java.util.Objects;
public class Rate {
private BigDecimal rate;
public Rate(BigDecimal rate... | true |
e8fb96d5d794e894e73c326c03022634fcc61162 | Java | software-engineering-amsterdam/many-ql | /JeffSebastian/playground/src/main/java/nl/uva/se/ql/ast/expression/literal/IntegerLiteral.java | UTF-8 | 373 | 2.34375 | 2 | [] | no_license | package nl.uva.se.ql.ast.expression.literal;
import nl.uva.se.ql.ast.expression.ExpressionVisitor;
public class IntegerLiteral extends AbstractLiteral<Integer> {
public IntegerLiteral(int lineNumber, int offset, Integer value) {
super(lineNumber, offset, value);
}
@Override
public <T> T accept(ExpressionVisit... | true |
c0289023a64917e05d3007918b2d21310537d2c2 | Java | ratulalahy/SurveyWebProgramming | /src/java/com/survey/models/BeanSurveyModule.java | UTF-8 | 2,912 | 2.125 | 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.survey.models;
import java.beans.*;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Lis... | true |
182a26ee561d03d2a0b809bb67112afb11646608 | Java | sebasanger/sprintel | /src/main/java/com/sanger/sprintel/services/PaymentMethodService.java | UTF-8 | 369 | 1.546875 | 2 | [] | no_license | package com.sanger.sprintel.services;
import com.sanger.sprintel.model.PaymentMethod;
import com.sanger.sprintel.repository.PaymentMethodsRepository;
import com.sanger.sprintel.services.base.BaseService;
import org.springframework.stereotype.Service;
@Service
public class PaymentMethodService extends BaseService<Pay... | true |
f4afd7b4e518c985375c1acdb11251438a4ebc8b | Java | RicardoLaMadrid/prograiii | /HITO 2/proyect/src/Calculadora/Suma.java | UTF-8 | 85 | 1.851563 | 2 | [
"MIT"
] | permissive | package Calculadora;
public interface Suma {
public int suma (int a , int b);
}
| true |
fa0ccbbec608e79e40cabfa21f6fc700ed2909ef | Java | mykevinjung/alicesfavs | /AlicesFavsWebApp/src/main/java/com/alicesfavs/webapp/comparator/SaleDateComparator.java | UTF-8 | 596 | 2.6875 | 3 | [] | no_license | package com.alicesfavs.webapp.comparator;
import com.alicesfavs.webapp.uimodel.UiProduct;
import java.util.Comparator;
/**
* Compare products by sale date in descending order, i.e. new sale first
*/
public class SaleDateComparator extends DecoratedComparator
{
public SaleDateComparator()
{
super()... | true |
520b8c90645c19a1aa0b6391a60f9591be6c20a1 | Java | stounio/Fun-Game | /src/com/stounio/fungame/gui/action/FunGameGuiExitAction.java | UTF-8 | 481 | 2.171875 | 2 | [] | no_license | package com.stounio.fungame.gui.action;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import com.stounio.fungame.factory.GamePlayServiceFactory;
import com.stounio.fungame.game.service.GamePlayService;
public class FunGameGuiExitAction implements ActionListener {
@Override
public void a... | true |
f2cd0f40c456fb54e41cb1f1fcff392a9ce93596 | Java | Hung051098/RnDforSunlife | /SpringAdapter/src/main/java/com/hung/springadapter/ehcacheentities/EhCacheEntities.java | UTF-8 | 307 | 1.5625 | 2 | [] | no_license | package com.hung.springadapter.ehcacheentities;
import com.ibm.json.java.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EhCacheEntities {
private Object tokenAuth;
private Object tokenMfp;
}
| true |
1c4d33a2403ee28dec197bf8d1c6dddc8dfabd7c | Java | Ronak14999/ELEC_20_Problem_Hackers | /Testing1/app/src/main/java/com/example/testing_1/MainActivity.java | UTF-8 | 3,842 | 1.984375 | 2 | [] | no_license | package com.example.testing_1;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bund... | true |
3576c629de182fafea40c2354be614c5ebc92ea8 | Java | magolla/Prueba | /src/test/java/com/tdil/d2d/controller/NoteControllerTest.java | UTF-8 | 4,236 | 2.171875 | 2 | [] | no_license | package com.tdil.d2d.controller;
import com.tdil.d2d.controller.api.request.CreateNoteRequest;
import com.tdil.d2d.controller.api.request.IdRequest;
import com.tdil.d2d.controller.api.request.RegistrationRequestA;
import com.tdil.d2d.persistence.NoteCategory;
import io.restassured.RestAssured;
import io.restassured.co... | true |
ac98ff170f15e3d823a3caa78bbba448f2a419f4 | Java | smikhalev/sql-server-utils | /data-pump/src/test/java/com/smikhalev/sqlserverutils/test/BaseImporterTest.java | UTF-8 | 4,427 | 2.25 | 2 | [] | no_license | package com.smikhalev.sqlserverutils.test;
import com.smikhalev.sqlserverutils.core.executor.DataRow;
import com.smikhalev.sqlserverutils.core.executor.DataTable;
import com.smikhalev.sqlserverutils.core.executor.StatementExecutor;
import com.smikhalev.sqlserverutils.exportdata.exporter.SequentialExporter;
import com.... | true |
60d53512a75af5e77f641238af2dc73436a6d1ee | Java | yxtumingzhi/cloud-demo | /demoa/src/main/java/com/example/demoa/mq/ReceiverServiceImpl2.java | UTF-8 | 563 | 2.015625 | 2 | [] | no_license | package com.example.demoa.mq;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.stereotype.Service;
/**
* @Author tumingzhi
* @Date 2020/9/18 16:05
**/
@Service
@Slf4j
@En... | true |
4522d4354986aee37d22b32e5e4f883c61d139d7 | Java | liu67224657/besl-platform | /webcommon/src/main/java/com/enjoyf/platform/webapps/common/html/ValidateImageGenerator.java | UTF-8 | 8,821 | 2.578125 | 3 | [] | no_license | package com.enjoyf.platform.webapps.common.html;
import com.enjoyf.platform.util.log.GAlerter;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.util.Random;
import javax.imageio.ImageIO;
import javax.servle... | true |
8c395b53981ed9a49dff3f059af9948ef303db31 | Java | mrBELLAZIA/ENTPERendu | /ENTPE/app/src/main/java/com/example/entpe/activity/Parametres.java | UTF-8 | 7,396 | 2.171875 | 2 | [] | no_license | package com.example.entpe.activity;
import android.location.Criteria;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.Toast;
import androidx.appcompat.app.AppComp... | true |
2b46080c7cc7f97499bcf478f1e9c82b37c23a8a | Java | guterresrafael/tracker | /src/main/java/org/traccar/repository/UserRepository.java | UTF-8 | 310 | 1.726563 | 2 | [
"Apache-2.0"
] | permissive | package org.traccar.repository;
import arch.repository.Repository;
import org.traccar.entity.User;
/**
*
* @author Rafael Guterres
*/
public class UserRepository extends BaseTraccarRepository<User, Long> implements Repository<User, Long> {
private static final long serialVersionUID = 7882604236163190244L;
}
| true |
8d5be6bc468ab40ed8e2d2db80d4eade0955749d | Java | JJFly-JOJO/jojo-rpc-framework | /rpc-framework-simple/src/main/java/github/jojo/registry/ServiceRegistry.java | UTF-8 | 490 | 2 | 2 | [] | no_license | package github.jojo.registry;
import github.jojo.extension.SPI;
import java.net.InetSocketAddress;
/**
* @author zzj
* @version 1.0
* @date 2021/1/31 21:24
* @description -----------服务注册----------
*/
@SPI
public interface ServiceRegistry {
/**
* register service
*
* @param rpcServiceName ... | true |
ee21a54101eb01ab2567cac721766d53ca84d789 | Java | BrinedFish/springboot-mybatisplus-security-jwt-restful | /src/main/java/com/github/missthee/config/socketio/model/AckModel.java | UTF-8 | 617 | 2.171875 | 2 | [] | no_license | package com.github.missthee.config.socketio.model;
import lombok.Data;
@Data
public class AckModel {
boolean result;
String msg;
private AckModel(boolean result, String msg) {
this.msg = msg;
this.result = result;
}
public static AckModel success() {
return new AckModel(t... | true |
adde793cf1d1c4645861ce6be1e5f488cf4476b2 | Java | sajit/hacks | /src/main/java/hackerrank/algo/nondivisiablesubset/Solution.java | UTF-8 | 4,649 | 2.9375 | 3 | [] | no_license | package hackerrank.algo.nondivisiablesubset;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.*;
import java.util.function.Predicate;
public class Solution {
public static Set<Integer> maxSet(int k,Set<Integer> sSet) {
List<Set<Integer>> outList = ne... | true |
e72445c86478d4a31f03845237f0a810c0abd0d7 | Java | qingchengfit/QcWidgets | /widgets/src/main/java/cn/qingchengfit/utils/Hash.java | UTF-8 | 4,737 | 2.84375 | 3 | [
"Apache-2.0"
] | permissive | package cn.qingchengfit.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.math.BigInteger;
import java.nio.MappedByteBuffer;
import java.nio.channels.FileChannel;
import java.security.MessageDigest;
import java.security.NoSu... | true |
674a52d97cbe72ab199a8d55095a93ea564b3016 | Java | lletter12/javaworkspace | /p200917/src/p200917/p9.java | UTF-8 | 374 | 3.125 | 3 | [] | no_license | package p200917;
public class p9 {
public static void main(String[] args) {
// TODO Auto-generated method stub
int a = 20;
boolean r = a < 20;
r = !true; // !는 not
System.out.println(r);
if(a <= 20) {
System.out.println("a는 20보다 큽니다.");
}else {
System.out.println("a는 20보다 작거나 같습... | true |
e4fe2779aee8c2b546423123871dbbe5bbc62e95 | Java | Fonzeca/QueMepongo | /src/main/java/com/quemepongo/springapp/business/repositories/MiUsuarioRepository.java | UTF-8 | 265 | 1.617188 | 2 | [] | no_license | package com.quemepongo.springapp.business.repositories;
import org.springframework.data.repository.CrudRepository;
import com.quemepongo.springapp.business.entities.MiUsuario;
public interface MiUsuarioRepository extends CrudRepository<MiUsuario, Integer> {
}
| true |
99b93f3702e0f5228ed5da5f90ed07294fcdb4ec | Java | oguzcansenel/vektorel | /VektorelJava23/src/com/vektorel/kalıtım2/Islem.java | WINDOWS-1250 | 256 | 1.84375 | 2 | [] | no_license | package com.vektorel.kaltm2;
public class Islem {
public static void main(String[] args) {
Otobus otobus = new Otobus();
Minibus minibus = new Minibus();
minibus.yolcuAldi("5 yolcu bindi");
otobus.duragaGeldi("30987");
}
}
| true |
f8b39b8c19f6754b9be5e022f5d11546ed176e98 | Java | kh-c4u/Semi | /src/com/kh/semi/member/service/MemberService.java | UTF-8 | 1,594 | 2.140625 | 2 | [] | no_license | package com.kh.semi.member.service;
import static com.kh.semi.common.JDBCTemplate.close;
import static com.kh.semi.common.JDBCTemplate.commit;
import static com.kh.semi.common.JDBCTemplate.getConnection;
import static com.kh.semi.common.JDBCTemplate.rollback;
import java.sql.Connection;
import com.kh.semi.member.dao... | true |
13d0ac0e982bae8a1bf54ebce50f4634fefd7c76 | Java | heroyuy/systar | /history/SoyoMaker2/src/com/soyostar/listener/DataChangedEvent.java | UTF-8 | 648 | 1.929688 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.soyostar.listener;
//import com.soyostar.data.Data;
import com.soyostar.data.DataManager;
import com.soyostar.data.dao.ModelStore;
import com.soyostar.data.model.Skill;
import java.util.EventObject;
/**
*
... | true |
a1c0515ede04b867e3131d7536a05b29b3309a6a | Java | jc01rho/RealmMemoWithAAC | /app/src/main/java/com/massivcode/realmwithandroidarchitecturecomponents/lifecycle/LifecycleListener.java | UTF-8 | 1,407 | 2.34375 | 2 | [] | no_license | package com.massivcode.realmwithandroidarchitecturecomponents.lifecycle;
import android.arch.lifecycle.Lifecycle.Event;
import android.arch.lifecycle.LifecycleObserver;
import android.arch.lifecycle.OnLifecycleEvent;
import android.content.Context;
import android.widget.Toast;
/**
* Created by massivcode@gmail.com o... | true |
6051e0d7c6cd44b02bbb74db15d4dd1c713263ea | Java | YousefSadaqa/htu-java-upskilling-0202 | /generics-sample/src/main/java/jo/edu/htu/util/Packager.java | UTF-8 | 234 | 2.71875 | 3 | [] | no_license | package jo.edu.htu.util;
public class Packager {
public <I> void fill(I item, Box<? super I> box) {
if (!box.isEmpty())
throw new IllegalStateException("The box is not empty");
box.put(item);
}
}
| true |
d36818ffc5a86a40140a8ed60749e9e01763389d | Java | josefloso/FunsoftHMIS | /biz/systempartners/claims/FolderTreeNode.java | UTF-8 | 4,025 | 2.1875 | 2 | [] | no_license | /*
* @(#)FolderTreeNode.java 1.8 01/05/23
*
* Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain ... | true |
922cf4021d6bebb8007deafda84e31e2cfc1890d | Java | balaganivenkatasubbaiah/MyApplication | /app/src/main/java/com/lyrebirdstudio/svg/SvgFaceMiddle.java | UTF-8 | 4,822 | 2.265625 | 2 | [] | no_license | package com.lyrebirdstudio.svg;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Paint.Cap;
import android.graphics.Paint.Join;
import android.graphics.Paint.Style;
import android.graphics.Path;
import com.lyrebirdstu... | true |
f201c725cffa9bf5e7a92b9e69740330cf99c3e5 | Java | anikurhade/employeee-Management | /src/front_end_developer.java | UTF-8 | 1,147 | 2.671875 | 3 | [] | no_license | class FrontEnd_developer extends employee{
private String proj;
private String lang_special;
public FrontEnd_developer(int empId, String empName, long empPhone, address a1, String userName, String password,
String proj, String lang_special) {
super(empId, empName, empPhone, a1);
this.proj = proj;
this.lang_... | true |
a94fc2097ce9108940b8c44fa09a1c8384a9bc29 | Java | asifazamali/programming_practice | /src/com/practice/programming/CheckPythagoreanTriplet.java | UTF-8 | 1,708 | 3.609375 | 4 | [] | no_license | package com.practice.programming;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
public class CheckPythagoreanTriplet {
public static void main(String[] args) throws IOException {
... | true |
b42b27f4b0dbf331d8580454f87787572433ff29 | Java | Ezzideen/UpSklling-Java-Ezzo | /Hotel_HTU_Project/src/main/java/entity/EHotel.java | UTF-8 | 2,011 | 2.234375 | 2 | [] | no_license | package entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
@Entity
@Table(name ... | true |
214341fd55236bb9e4d0062bde542fecf12d732b | Java | chrisabbod/unit-testing-in-android-course | /unit_testing_fundamentals/src/test/java/com/techyourchance/unittestingfundamentals/exercise3/IntervalsAdjacencyDetectorTest.java | UTF-8 | 3,338 | 3.046875 | 3 | [] | no_license | package com.techyourchance.unittestingfundamentals.exercise3;
import com.techyourchance.unittestingfundamentals.example3.Interval;
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.*;
public class IntervalsAdjacencyDetectorTest {
... | true |
8ff605daf09775bfbbbcda478c33a64b4e1ec37d | Java | BigEgg/WeChat-Platform | /WeChat-Core/src/main/java/com/thoughtworks/wechat_core/messages/outbound/OutboundMessage.java | UTF-8 | 330 | 1.898438 | 2 | [] | no_license | package com.thoughtworks.wechat_core.messages.outbound;
import com.thoughtworks.wechat_core.wechat.outbound.WeChatOutbound;
import org.joda.time.DateTime;
public interface OutboundMessage {
OutboundMessageType getMessageType();
DateTime getCreatedTime();
WeChatOutbound toWeChat(OutboundMessageEnvelop en... | true |
f3e84ef745881c1aa8a4c8f8623a79384e4a3347 | Java | nekochord/bank-demo | /account/src/main/java/com/demo/account/function/AccountQueryFunction.java | UTF-8 | 1,068 | 2.09375 | 2 | [] | no_license | package com.demo.account.function;
import com.demo.account.converter.DataConverter;
import com.demo.account.entity.Account;
import com.demo.account.repository.AccountRepository;
import com.demo.cqrs.query.QueryFunction;
import com.demo.cqrs.query.account.AccountQuery;
import com.demo.cqrs.query.account.AccountRes;
imp... | true |
f764292dccc16363ebf2ade89eef3abb4a804104 | Java | Harjacober/ObounceChat | /app/src/main/java/com/example/harjacober/obouncechat/fragments/ChatsFragment.java | UTF-8 | 3,454 | 2.0625 | 2 | [] | no_license | package com.example.harjacober.obouncechat.fragments;
import android.arch.lifecycle.LiveData;
import android.arch.lifecycle.Observer;
import android.arch.lifecycle.ViewModelProviders;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.Nullable;
import an... | true |
59eea30dabc6781df07033d69e7faae4c937ebd7 | Java | Frong-nt/vehicle-shop | /src/main/java/com/example/vehicleshop/VehicleShopApplication.java | UTF-8 | 3,710 | 3.046875 | 3 | [] | no_license | package com.example.vehicleshop;
import desgin.pattern.vehicle.Car;
import desgin.pattern.vehicle.Vehicle;
import desgin.pattern.vehicle.VehicleFactory;
import desgin.pattern.vehicle.VehicleSingleton;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfigurati... | true |
a82a07dd8f54504a55eb71daed9286d040aa344a | Java | ossaw/jdk | /src/com/sun/security/auth/login/ConfigFile.java | UTF-8 | 4,302 | 2.265625 | 2 | [] | no_license | /*
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package com.sun.security.auth.login;
import javax.security.auth.login.AppConfigurationEntry;
import javax.security.auth.login.Configuration;
import java.net.URI;
... | true |
7773b764f7e8f46cee94d5bade4ed8c283b91575 | Java | apache/ctakes | /ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/pipelines/RelationExtractorPipeline.java | UTF-8 | 3,508 | 2.109375 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | true |
939c2638529c69cadf058fb74ae0eb41c040cf6a | Java | pawellasota/find-the-way | /src/main/java/com/codecool/findtheway/ui/Ui.java | UTF-8 | 449 | 2.984375 | 3 | [] | no_license | package com.codecool.findtheway.ui;
import com.codecool.findtheway.model.Vertex;
import java.util.List;
public class Ui {
public static void displayTrip(List<Vertex> path, Integer costs) {
System.out.println("Shortest trip:");
for (Vertex vertex : path) {
System.out.println(Integer.t... | true |
dd714c3dc41932ac0d77e664aecf83e278893cc3 | Java | ashoknanabala/Q2 | /src/main/java/com/vm/Q2/dto/UserProjection.java | UTF-8 | 426 | 1.796875 | 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.vm.Q2.dto;
import com.vm.Q2.models.Technology;
import java.util.List;
/**
*
* @author Ashok
*/
public interface UserPr... | true |
a4ed14ddb9f556c9f45e3521d998cd9e64114242 | Java | ghaohao/netty-rpc | /rpc-common/src/main/java/com/rpc/common/model/RpcResponse.java | UTF-8 | 344 | 1.875 | 2 | [] | no_license | package com.rpc.common.model;
import lombok.Data;
/**
* 封装请求结果
* @Author gu
* @Version V1.0
* @Date 17/12/29 下午4:25
*/
@Data
public class RpcResponse {
private String requestId;
private Exception exception;
private Object result;
public boolean hasException() {
return exception != null;
... | true |
1bd8a5e49ef53cd12dcd1a18e49be3050b361aec | Java | gozdegungor/SE311Project | /src/SessionFactory/TerminalSession.java | UTF-8 | 290 | 2.0625 | 2 | [] | no_license | // Yiğit Ege Miman - 20160602022
// Gözde Güngör - 20160601023
// Cem Özcan - 20170601024
// A Pluggable Authentication Mechanism
package SessionFactory;
//Concrete product class
public class TerminalSession extends Session {
public String getSessionType() {
return "Terminal Session";
}
}
| true |
37e24b337c5a67a89a03cb4524884bc3ecb74cab | Java | EDUMATT3/orange-talents-06-template-proposta | /src/main/java/com/desafio/zup/proposta/proposta/solicitacaoanalise/SolicitacaoAnaliseRequest.java | UTF-8 | 514 | 1.953125 | 2 | [
"Apache-2.0"
] | permissive | package com.desafio.zup.proposta.proposta.solicitacaoanalise;
import com.desafio.zup.proposta.proposta.Proposta;
import com.fasterxml.jackson.annotation.JsonProperty;
public class SolicitacaoAnaliseRequest {
@JsonProperty
private String documento, nome;
@JsonProperty
private Long idProposta;
pu... | true |
4e5616aebb098c8becc3cfaa594e6d76c93a26ee | Java | blastgwen/dsl-browser-automatisation | /com.selenium.gram.xtext/src-gen/com/selenium/gram/xtext/slnDsl/Loop.java | UTF-8 | 1,129 | 1.804688 | 2 | [] | no_license | /**
*/
package com.selenium.gram.xtext.slnDsl;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Loop</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link com.selenium.gram.xtext.slnDsl.Lo... | true |
9183f8df46c194c570a0ab79698e896df522853e | Java | tibijejczyk/TheMinecraft | /minecraft/dex3r/API/chunkprotection/ProtectEventHookContainer.java | UTF-8 | 1,259 | 2.28125 | 2 | [] | no_license | package dex3r.API.chunkprotection;
import java.util.Date;
import net.minecraftforge.event.ForgeSubscribe;
import net.minecraftforge.event.entity.player.PlayerInteractEvent;
import dex3r.API.Colors;
import dex3r.API.shared.PowerTools;
public class ProtectEventHookContainer
{
@ForgeSubscribe
public void playerIntera... | true |
cc042dee6dec5820344caf34ca968d8d9f554c53 | Java | ProkazaEvgeniy/WebNutritionist | /src/main/java/net/www/webnutritionist/form/VegetableNutritionistForm.java | UTF-8 | 770 | 2.390625 | 2 | [] | no_license | package net.www.webnutritionist.form;
import java.util.ArrayList;
import java.util.List;
import javax.validation.Valid;
import net.www.webnutritionist.entity.VegetableNutritionist;
public class VegetableNutritionistForm {
@Valid
private List<VegetableNutritionist> items = new ArrayList<>();
publ... | true |
b1ac1c13cca962ad6131043d56cd154a5e350bdb | Java | kibris-order/kibrisOrderapp | /app/src/main/java/com/example/campus_comuputer/listviewapplication/verticalRecycleView_activity/RecyclerViewAdapter.java | UTF-8 | 3,084 | 2.296875 | 2 | [] | no_license | package com.example.campus_comuputer.listviewapplication.verticalRecycleView_activity;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayou... | true |
b2d72cffcba9fdeb466ed215eeb4c01392f3692e | Java | aj470/AI_PathFinding | /AI_Pathfinding-master/src/Model/AstarComparator.java | UTF-8 | 501 | 3.078125 | 3 | [] | no_license | package Model;
import java.util.Comparator;
public class AstarComparator implements Comparator<Node>
{
public int compare(Node m, Node n)
{
if(m.getfCost() > n.getfCost())
{
return 1;
}
else if (m.getfCost() < n.getfCost())
{
return... | true |
23e3c6ce837153055bb118213b7881ee01972425 | Java | shwetha337/DailyHealthCheckCode | /TestScreenShotDemo/src/test/java/com/hcc/qa/util/CommonMethodsOfDHC.java | UTF-8 | 1,180 | 2.234375 | 2 | [] | no_license | package com.hcc.qa.util;
import java.io.File;
import java.io.IOException;
import java.util.Base64;
import java.util.IllegalFormatException;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;
import com.relevan... | true |
cadd8b035e702358eca2f4e702a5051d4e5184ee | Java | hogeschool/INFDEV02-4 | /Assignment/JAVA + GDX incomplete assignments/GUIapp - iteration 4 - TODO (maven)/src/main/java/edu/hr/infdev024/GUIMenuCreator.java | UTF-8 | 167 | 1.585938 | 2 | [
"Apache-2.0",
"MIT"
] | permissive | package edu.hr.infdev024;
// Describes a class with a factory method for creating menu screens
public abstract class GUIMenuCreator {
//TODO: ADD MISSING CODE HERE
}
| true |
57efd499f45a2808f006b5edc8a4e84a63205154 | Java | luninez/Palomas | /PalomasApp/app/src/main/java/com/example/palomasapp/List/fragment_list/PastelesFragment.java | UTF-8 | 6,483 | 2.140625 | 2 | [] | no_license | package com.example.palomasapp.List.fragment_list;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.DividerItemDecoration;
import android.support.v7.widget.G... | true |
a95171fd29ced4e7f0d01adc3a983aec335e1c61 | Java | weijiqian/StudyNotes | /java工具类/shawn-common-utils-master/src/main/java/com/shawntime/common/web/annotation/AutoValidate.java | UTF-8 | 552 | 2.15625 | 2 | [] | no_license | package com.shawntime.common.web.annotation;
import java.lang.annotation.*;
/**
* 表单入参验证注解
*
* @author YinZhaohua
*/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AutoValidate {
/**
* 必填验证
*/
boolean required() default false;
/**
* 最大值验... | true |
c4a474dd5ddb6762046aba94aa21975ae715f4fb | Java | de-tu-berlin-tfs/Henshin-Editor | /de.tub.tfs.henshin.tgg.editor/src/de/tub/tfs/henshin/tggeditor/tools/MarkerCreationTool.java | UTF-8 | 1,673 | 1.96875 | 2 | [] | no_license | /*******************************************************************************
* Copyright (c) 2010-2015 Henshin developers. All rights reserved.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is ava... | true |
15caeb1e39edaa02c8de76140d853d4d3b6e1d81 | Java | sachinjha1/Algorithm | /Queue/src/com/q/Node.java | UTF-8 | 555 | 3.25 | 3 | [
"MIT"
] | permissive | /**
*
*/
package com.q;
/**
* @author Sachin Jha
* Node
*
*/
public class Node {
public int value;
public Node next;
public Node(int value, Node next) {
super();
this.value = value;
this.next = next;
}
public Node(int value) {
super();
this.value = value;
}
public Node(Node next) {
supe... | true |
5720f428d4d754f1048c141983bb83d5fc5b1ae5 | Java | psun2/Korea-IT-Academy | /FullStack_B/WebWork/STS20_JUnitTest08/src/main/java/com/lec/junit/App.java | UTF-8 | 485 | 3.078125 | 3 | [] | no_license | package com.lec.junit;
public class App {
// 실습 1
public int add(int a, int b) {
return a + b;
}
// 실습 2
public boolean comp(String a, String b) {
if (a.equals(b)) {
return true;
}
return false;
}
// 실습3
public int toNumber(String num) {
return Integer.parseInt(num);
}
// 실습4
public String t... | true |
04f1f74d4a387d84c7e0a75382b1d10c3ad79377 | Java | ly774508966/UnityDemo | /平时积累的文档/cocos时期/踩坑实录/ftp上传文件,注意不是SFTP!!/FtpUtil.java | UTF-8 | 6,729 | 2.46875 | 2 | [] | no_license | package com.zgame.Activity;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
//import com.jcraft.jsch.Channel;
//import com.jcraft.jsch.ChannelSftp;
//import com.jcraft.jsch.ChannelSftp.LsEntry;
//import com.jcraft.jsch... | true |
0e64289286f34ed50669235204cb3f461228067a | Java | shinnoki/android-camera-spike | /src/com/konashi/fashionstamp/view/CommentView.java | UTF-8 | 649 | 1.851563 | 2 | [] | no_license | package com.konashi.fashionstamp.view;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.FrameLayout;
import com.example.camerastamp.R;
public class CommentView extends FrameLayout {
public CommentView(Context context) {
super(context);
... | true |
8677e0f767748c695bd6572f4eee8132e664daae | Java | raffaeleflorio/surily | /src/main/java/io/github/raffaeleflorio/surily/Uri.java | UTF-8 | 9,850 | 1.875 | 2 | [
"Apache-2.0"
] | permissive | /*
Copyright 2021 Raffaele Florio
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 to in... | true |
c200235bed41e6af5a475b5bccf21463f266e59e | Java | AyushyaChitransh/oneops | /antenna/src/test/java/com/oneops/antenna/senders/generic/XMPPMsgServiceTest.java | UTF-8 | 5,060 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright 2015 Walmart, Inc.
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or... | true |
9f833f74c2753a88b9a823935929790fc1476d12 | Java | Matsv/voxelwind | /api/src/main/java/com/voxelwind/api/game/entities/passive/SnowGolem.java | UTF-8 | 144 | 1.640625 | 2 | [
"MIT"
] | permissive | package com.voxelwind.api.game.entities.passive;
import com.voxelwind.api.game.entities.Animal;
public interface SnowGolem extends Animal {
}
| true |
e2e68ccdb31e132799f04c4e233b2de497030687 | Java | DatanewsOrg/datanews-java | /src/main/java/io/datanews/exceptions/DatanewsIOException.java | UTF-8 | 286 | 2.265625 | 2 | [
"MIT"
] | permissive | package io.datanews.exceptions;
import java.io.IOException;
public class DatanewsIOException extends IOException {
public DatanewsIOException(String message, Throwable cause) {
super(message, cause);
}
public DatanewsIOException(String message) {
super(message);
}
}
| true |
24dedcd987dc509a2aed8c7d2bd31f28d57aded4 | Java | mjw99/cytospade | /src/main/java/name/mjw/facs/ScaleDefaults.java | UTF-8 | 7,411 | 2.59375 | 3 | [] | no_license | /**
* ScaleDefaults.java
*
*
* Cytobank (TM) is server and client software for web-based management, analysis,
* and sharing of flow cytometry data.
*
* Copyright (C) 2009 Cytobank, Inc. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero ... | true |
714721b623215cfadc7987b77fcc6221045cdde5 | Java | tomeszmh/Dispatcher | /dispatcher-web/src/main/java/com/carussel/dispatcher/server/Log4jServer.java | UTF-8 | 2,272 | 2.46875 | 2 | [] | no_license | package com.carussel.dispatcher.server;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.carussel.dispatch... | true |
a9375f3013f74bff52797ad552b727b2aefa78ee | Java | haoyangt/Projects | /yaoshixi/yaoshixi/src/com/szfore/service/LoginService.java | UTF-8 | 1,222 | 2.28125 | 2 | [] | no_license | package com.szfore.service;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.szfore.mapper.LoginMapper;
import com.szfore.mapper.UserBasicInfoMapper;
import com.szfore.m... | true |
3d9ee3ed4bc5d65aa236bc9b2bb695479aa9a408 | Java | trungquangphan/JavaPF | /src/algorithm/ChuoiLienTiep.java | UTF-8 | 208 | 1.960938 | 2 | [] | no_license | package algorithm;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
public class ChuoiLienTiep {
public static void main(String[] args) {
int[] arr = {1,2,3};
}
}
| true |
5112480a28755c09208009e7b146b6681c6fae3a | Java | u17207411/Inventario | /src/main/java/pe/com/sistema/servicio/ProveedorService.java | UTF-8 | 359 | 1.867188 | 2 | [] | no_license | package pe.com.sistema.servicio;
import java.util.List;
import pe.com.sistema.domain.Proveedor;
public interface ProveedorService {
public List<Proveedor> listarProveedores();
public void guardar(Proveedor proveedor);
public void eliminar(Proveedor proveedor);
public Proveedor enco... | true |
da761f0120c11b9f70a323be4de53532f8365b1f | Java | eogra7/StyleShare | /app/src/main/java/com/evanogra/styleshare/AuthActivity.java | UTF-8 | 1,852 | 1.929688 | 2 | [] | no_license | package com.evanogra.styleshare;
import android.support.v4.app.FragmentTransaction;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivi... | true |
aabdb66118cec8c937598446055abbff868a3922 | Java | antowang/TCamera | /app/src/main/java/com/abcew/camera/gles/GlSurfaceTexture.java | UTF-8 | 3,099 | 1.984375 | 2 | [] | no_license | package com.abcew.camera.gles;
import android.graphics.SurfaceTexture;
import android.opengl.GLES11Ext;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.abcew.camera.ui.acs.Cam;
import static android.opengl.GLES20.GL_CLAMP_TO_EDGE;
import static android.opengl.GLES20.... | true |
9d47f7c02c4e9ac608ccbf60a8258a24fd3723cc | Java | VelozMarkus/inflection | /src/main/java/ch/liquidmind/inflection/loader/SystemTaxonomyLoader.java | UTF-8 | 1,166 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | package ch.liquidmind.inflection.loader;
import ch.liquidmind.inflection.model.AccessType;
import ch.liquidmind.inflection.model.compiled.TaxonomyCompiled;
import ch.liquidmind.inflection.model.external.Taxonomy;
public class SystemTaxonomyLoader extends TaxonomyLoader
{
public static final String JAVA_LANG = "java.... | true |
46a773b17e344be88b9a0a02d5aaab34b05483f7 | Java | zsigui/SGFrameUtils | /app/src/main/java/com/jackiezhuang/sgframework/utils/http/bean/NetworkResponse.java | UTF-8 | 1,797 | 2.265625 | 2 | [] | no_license | package com.jackiezhuang.sgframework.utils.http.bean;
import java.io.InputStream;
import java.util.Map;
/**
* 执行网络请求后响应类
* <p></p>
* Created by zsigui on 15-9-2.
*/
public class NetworkResponse {
private InputStream mContent;
private int mResponseCode;
private String mContentType;
private String mContentEnco... | true |
8da163448da09d1df3d79a8024882e893a56163e | Java | 445759814/converter-file | /converter-file/src/main/java/com/cm/retrofit2/converter/file/FileUtils.java | UTF-8 | 1,663 | 2.875 | 3 | [
"Apache-2.0"
] | permissive | package com.cm.retrofit2.converter.file;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import okhttp3.ResponseBody;
/**
* Created by Cmad on 2016/5/3.
*/
public class FileUtils {
/**
* 将文件写入本地
* @param body ... | true |
04ef4a91a3b13ec39165492b64bd2d03749f49ed | Java | yang00yang/spring-boot-demo | /spring-boot-mvc-demo/src/main/java/com/dragon/study/spring/boot/mvc/service/IHelloWorldService.java | UTF-8 | 154 | 1.625 | 2 | [] | no_license | package com.dragon.study.spring.boot.mvc.service;
/**
* Created by dragon on 16/7/10.
*/
public interface IHelloWorldService {
void helloWorld();
}
| true |
c486ca131db54c8f1064419bf5ef7e5da1c29ecd | Java | galuszkamarta/selenium-training | /src/test/java/Litecart/model/Item.java | UTF-8 | 767 | 2.5625 | 3 | [
"Apache-2.0"
] | permissive | package Litecart.model;
/**
* Created by m on 2020-02-06.
*/
public class Item {
private String size;
private String quantity;
public static Litecart.model.Item.Builder newEntity() { return new Litecart.model.Item().new Builder(); }
public String getSize() {
return size;
}
public St... | true |
97e7154c023df3a2ae398217de86a9c8558caf47 | Java | ebarnett/anathema | /Lib/src/net/sf/anathema/lib/control/change/IChangeListener.java | UTF-8 | 175 | 1.695313 | 2 | [] | no_license | package net.sf.anathema.lib.control.change;
import java.util.EventListener;
public interface IChangeListener extends EventListener {
public void changeOccured();
} | true |
1bddc40e629489c2dd886f0f6e8f6007bff213e8 | Java | MougLee/runtimeconfig | /src/main/java/si/mougli/runtimeconfig/business/Configurator.java | UTF-8 | 582 | 1.914063 | 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 si.mougli.runtimeconfig.business;
import javax.enterprise.inject.Produces;
/**
*
* @author mougli
*/
public class Configur... | true |
13e6058fc05bb3b3eb459f260aed4677a0a69a3a | Java | VirgilSecurity/virgil-sdk-java-android | /sdk/src/main/java/com/virgilsecurity/sdk/cards/Card.java | UTF-8 | 14,029 | 1.945313 | 2 | [
"BSD-3-Clause"
] | permissive | /*
* Copyright (c) 2015-2020, Virgil Security, Inc.
*
* Lead Maintainer: Virgil Security Inc. <support@virgilsecurity.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* (1) R... | true |
4426f401ad6690ff154aee08bd42889ff54bbb44 | Java | diksha16017/assignment4 | /app/src/main/java/com/example/ajay/myevent/DisplayMyViewPagerActivity.java | UTF-8 | 2,240 | 2.5 | 2 | [] | no_license | package com.example.ajay.myevent;
import android.content.Intent;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
/**
* Created by AJAY on 04-Nov-16.
*/
public c... | true |
842963ce21e871fc1b0b893aa6d91b746d07e033 | Java | rlawpdud301/jdbc_coffee | /src/main/java/jdbc_coffee/jdbc/dao/Coffeedao.java | UTF-8 | 484 | 1.945313 | 2 | [] | no_license | package jdbc_coffee.jdbc.dao;
import java.sql.SQLException;
import java.util.List;
import javax.swing.JTextField;
import jdbc_coffee.jdbc.dto.Coffee;
public interface Coffeedao {
List<Coffee> selectCoffeedaoByAll();
int insertCoffeedao(Coffee coffee) throws SQLException;
int deleteCoffeedao(Coff... | true |
a14b0163a3cd051ff34b7d1ef3bb25d05035bc55 | Java | rajneeshgautam75/Z_Project | /src/main/java/com/zephyr_batch_4/stepdefinition/Release_Creation.java | UTF-8 | 4,587 | 2.15625 | 2 | [] | no_license | package com.zephyr_batch_4.stepdefinition;
import com.zephyr.common.LaunchBrowser;
import com.zephyr.generic.Excel_Lib;
import com.zephyr.generic.Property_Lib;
import com.zephyr.reusablemethods.BasePage;
import com.zephyr.reusablemethods.LoginPage;
import com.zephyr.reusablemethods.ProjectPage;
import com.zephyr.reusa... | true |
f049bb123f48435df5f9313e18c79cbc47acccbc | Java | gurramleelabhavani/DesignPatterns | /src/main/java/com/vvit/bike/App.java | UTF-8 | 1,520 | 3.5625 | 4 | [] | no_license | package com.vvit.bike;
import java.util.logging.Logger;
import java.util.logging.Level;
interface Bike {
public void assemble();
}
class BasicBike implements Bike {
public void assemble() {
System.out.print("Basic Bike.");
}
}
class BikeDecorator implements Bike {
protected Bike bike;
... | true |
91ae1bec991b986d5ce16a3c57d658eae727e987 | Java | kamaludin21/Perumahan | /app/src/main/java/inc/mtwo/perumahan/Model/Order.java | UTF-8 | 444 | 2.046875 | 2 | [] | no_license | package inc.mtwo.perumahan.Model;
import com.google.gson.annotations.SerializedName;
public class Order {
@SerializedName("iduser") private String Iduser;
@SerializedName("blok") private String Blok;
@SerializedName("harga") private String Harga;
public String getIduser() {
return Iduser;
... | true |
358a0742710e9ffaafcdfa61dc4749487c2c550d | Java | radjel/battleshipgame | /src/Battleship/SetShips.java | UTF-8 | 3,434 | 2.875 | 3 | [] | no_license | package Battleship;
import java.util.Random;
import Battleship.*;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.image.ImageView;
import javafx.scene.layout.BorderPane;
import javafx.... | true |
af4ca4025f06f00555b4f352b1c492b4d5dea041 | Java | laurita/SimilaritySearch-project | /src/algorithms/RNN.java | UTF-8 | 1,184 | 3.5625 | 4 | [] | no_license | package algorithms;
import java.util.ArrayList;
public class RNN {
// reference:
// http://cgi.cse.unsw.edu.au/~macheema/thesis/node22.html
// find the matches
public static ArrayList<int[]> match(double[][] matrix) {
ArrayList<int[]> result = new ArrayList<int[]>();
for (int i = 0; i < matrix.length; i++... | true |
d0bc28de9052a48c473c0d479b615bcead17a7f0 | Java | rjjrrjjr/demo-sc | /sc-api/src/main/java/com/rj/model/Dept.java | UTF-8 | 542 | 1.921875 | 2 | [] | no_license | package com.rj.model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
* @author ruanjin
* @since 2019/5/9 20:54
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Dept {
private Long deptNo; ... | true |