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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
82f712a05391f88ebf846cc397ef7b0c76948336 | Java | lleses/liaoqu-server | /src/main/java/cn/dlj/app/dao/DynamicCommentDao.java | UTF-8 | 339 | 1.796875 | 2 | [] | no_license | package cn.dlj.app.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import cn.dlj.app.entity.DynamicComment;
import cn.dlj.utils.MyBatisDao;
@MyBatisDao
public interface DynamicCommentDao {
void add(DynamicComment dynamicComment);
List<DynamicComment> getByDynamicId(@Param("dynamicId") In... | true |
185e27e24e8182f4b2c3f33fd49f4d717904dfe4 | Java | carewebframework/carewebframework-core | /org.carewebframework.plugin-parent/org.carewebframework.plugin.statuspanel/src/main/java/org/carewebframework/plugin/statuspanel/StatusPanel.java | UTF-8 | 3,402 | 2.21875 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-fujion-exception-to-apache-2.0"
] | permissive | /*
* #%L
* carewebframework
* %%
* Copyright (C) 2008 - 2016 Regenstrief Institute, Inc.
* %%
* 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/L... | true |
29fbeb6bc842c5ec5b5d36a5a29f75b910a8bbbc | Java | chandrakanth-c/smartmanager | /src/main/java/com/webtools/controllers/HomeController.java | UTF-8 | 1,870 | 2.515625 | 3 | [] | no_license | package com.webtools.controllers;
import java.text.DateFormat;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.... | true |
8d73056e04acbe5e933dab199c4e0b5f9ef834b6 | Java | AltheFlyer/11-isu-rpg | /src/OverworldShopNPC.java | UTF-8 | 2,019 | 3.359375 | 3 | [] | no_license | import utils.TextDrawer;
import java.awt.Graphics;
import java.awt.Color;
/**
* [OverworldShopNPC.java]
* Class for NPCs that can open a shop interface on any overworld map
* @version 1.1
* @author Jasmine Chu
* @since June 10, 2019
*/
public class OverworldShopNPC extends OverworldNPC {
private Item[] ite... | true |
97a3e61a44c32c2b2dff34a79f62335250263998 | Java | alenka134/automationCourse | /src/com/automatization/training/summarizes/targil1/Circle.java | UTF-8 | 842 | 3.625 | 4 | [] | no_license | package com.automatization.training.summarizes.targil1;
public class Circle extends Shape {
private double radius;
//implement abstract method from parent
public void printData() {
System.out.println("Circle: radius = "+ getRadius());
System.out.println("Circle perimeter is: " + calcPerime... | true |
0e30380b7ab3243868f8f5063869550e4e17b97d | Java | saidonmiri/SHE-CODE | /src/com/company/Demo/Array.java | UTF-8 | 777 | 3.421875 | 3 | [] | no_license | package com.company.Demo;
import java.util.Arrays;
public class Array {
public static void main(String[] args) {
int[] numbers = {-3,40,74};
int[] myArray = new int[3];
String[] arrayString1 = {"Java0" , "Python0" , "CSS0"};
myArray[0]= 1;
myArray[1]= 2;
myArray[2]= 3;
System.o... | true |
94be279e133dea2ce2158e7979b2747d33e0e5da | Java | imablanco/TonsOfDamage | /app/src/main/java/com/ablanco/tonsofdamage/summoner/LeagueRankingFragment.java | UTF-8 | 6,905 | 1.859375 | 2 | [
"Apache-2.0"
] | permissive | package com.ablanco.tonsofdamage.summoner;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import andro... | true |
b254134d588326355f23d7eee6b78d9bae063f9b | Java | RuYu-Yan/myAustOj | /src/main/java/cn/edu/aust/pojo/form/SolutionForm.java | UTF-8 | 1,810 | 2.109375 | 2 | [] | no_license | package cn.edu.aust.pojo.form;
import java.io.Serializable;
import java.util.Date;
import cn.edu.aust.pojo.Problem;
public class SolutionForm implements Serializable{
private static final long serialVersionUID = -8558440012512246159L;
private Integer solutionId;
private Problem problem;
private Integer ... | true |
d0a871ec19c64693e4f9ee427867f5b3651c3baf | Java | dinya007/stock-analytic | /server/src/main/java/ru/tisov/denis/controller/InstrumentController.java | UTF-8 | 556 | 1.820313 | 2 | [] | no_license | package ru.tisov.denis.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;
import ru.tisov.denis.Application;
import ru.tisov.denis.dto.Instrument;
import java.util.List;
@RestController
public class... | true |
c4a12acfd5234d63d99b998560a16106d10f29e6 | Java | meyhuan/SimpleLocker | /app/src/main/java/com/achep/base/ui/fragments/dialogs/AboutDialog.java | UTF-8 | 5,327 | 1.96875 | 2 | [] | no_license | /*
* Copyright (C) 2014 AChep@xda <artemchep@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* Th... | true |
d39cd7fef61f9843770d74bc4580be3302cd2340 | Java | Vlad991/java2 | /MainWebProject/src/ua/univer/web/client/ClientInformationServlet.java | UTF-8 | 1,667 | 2.109375 | 2 | [] | no_license | package ua.univer.web.client;
import java.io.IOException;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ua... | true |
0ae1390eb158665e2bfcabb44cf5cd85eaa05773 | Java | lygttpod/RxHttpUtils | /library/src/main/java/com/allen/library/upload/UploadFileApi.java | UTF-8 | 707 | 2.09375 | 2 | [
"Apache-2.0"
] | permissive | package com.allen.library.upload;
import java.util.List;
import io.reactivex.Observable;
import okhttp3.MultipartBody;
import okhttp3.ResponseBody;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.Url;
/**
* Created by allen on 2017/6/15.
* <p>
*
* @a... | true |
1cc3f54a75c73dcf3fb7a19a7f4ca3c22d6d2c93 | Java | hasff/SegurancaInformatica-si1112 | /FileSecret/src/filesecret/Utils/FileNominator.java | UTF-8 | 791 | 2.625 | 3 | [] | no_license | package filesecret.utils;
public class FileNominator {
public static String getMetadataFileName(String orignalFilename) {
return String.format("%s.secret.metadata", orignalFilename);
}
public static String getEncryptedFileName(String orignalFilename) {
return String.format("%s.secret",... | true |
000242549be2ad96f81345d229df6c0538628186 | Java | jssteux/mig_osivia | /jbp_commons/jbp-common-1-2-5/common/src/main/java/org/jboss/portal/common/util/Tools.java | UTF-8 | 30,540 | 1.835938 | 2 | [] | no_license | /******************************************************************************
* JBoss, a division of Red Hat *
* Copyright 2006, Red Hat Middleware, LLC, and individual *
* contributors as indicated by the @authors tag. See the *
... | true |
e8ff6c6b3d4a162cc784f0aa14b4652bfbdaed35 | Java | Petersoj/FlameThrower | /src/me/petersoj/nms/actionbars/ActionBarv1_11_2.java | UTF-8 | 724 | 2.140625 | 2 | [] | no_license | package me.petersoj.nms.actionbars;
import me.petersoj.nms.ActionBarSender;
import net.minecraft.server.v1_11_R1.IChatBaseComponent;
import net.minecraft.server.v1_11_R1.PacketPlayOutChat;
import org.bukkit.craftbukkit.v1_11_R1.entity.CraftPlayer;
import org.bukkit.entity.Player;
public class ActionBarv1_11_2 impleme... | true |
99b7ffb9f97ae5086e329b1de1a459676dacbeef | Java | oleg-belov/Samples | /02. Spring/01. Spring-Framework/01_IoC/130-IoC-Annotation-JSR-330/src/main/java/com/oleg/belov/spring_framework/ioc/annotation/jsr_330/StandardOutMessageRenderer.java | UTF-8 | 1,112 | 2.453125 | 2 | [] | no_license | package com.oleg.belov.spring_framework.ioc.annotation.jsr_330;
import static com.oleg.belov.spring_framework.ioc.annotation.jsr_330.utils.ClassNameUtil.getCurrentClassName;
import javax.inject.Inject;
import javax.inject.Named;
import javax.inject.Singleton;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
... | true |
7ff2f6d37a66286153dd272e02caf842a467ba03 | Java | hsik0225/Katalk | /src/main/java/com/naru/katalk/config/WebMvcConfig.java | UTF-8 | 1,117 | 2.1875 | 2 | [] | no_license | package com.naru.katalk.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.web.filter.CharacterEncodingFilter;
import org.springfra... | true |
ea0b18e82cfdaaa63f2d81bb957cbd0261d4cde7 | Java | samilathalyta/GenerationBrasil | /heranca/Empregado1.java | ISO-8859-1 | 1,307 | 3.09375 | 3 | [] | no_license | package heranca;
public class Empregado1 extends Pessoa {
private int codigo;
private float salario;
private float imposto;
public Empregado1 (String nome, String endereco, String cpf, int telefone, int idade, int codigo, float salario, float imposto) {
super(nome, endereco, cpf, telefone, idade);
this.c... | true |
85d6248a60a354b1e12e10742e24deb61aed62e6 | Java | T45K/kyopuro | /AtCoder/ABC/ABC251/F/Main.java | UTF-8 | 3,715 | 3.265625 | 3 | [] | no_license | package AtCoder.ABC.ABC251.F;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Deque;
import java.util.HashMap;
import... | true |
8d369e98991ba89242a4772c0167443860f4c5c3 | Java | vijaysaraf/SharableEPlanner | /EPlanner/src/main/java/com/twosri/dev/bean/Phase.java | UTF-8 | 429 | 2.3125 | 2 | [] | no_license | package com.twosri.dev.bean;
import lombok.Data;
@Data
public class Phase {
private String id;
private String name;
private int sequence;
private int defaultManPower;
public Phase() {
super();
}
public Phase(String id, String name, int sequence, int defaultManPower) {
super();
this.id ... | true |
7d23141fd167d5f086166fcfa05c3427464c726d | Java | victorsingha/java-prob | /3frames/Code.java | UTF-8 | 3,417 | 3.3125 | 3 | [] | no_license | import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.*;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
public class Code {
static int totalScore =... | true |
84b7c3ed45a232c058692324e3238b3a780f74a2 | Java | niyueming/okHttp3Library | /src/main/java/net/nym/okhttp3library/OkHttp3Manager.java | UTF-8 | 5,379 | 2.234375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2017 Ni YueMing<niyueming@163.com>
* 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 ... | true |
7e54f389be1d4e5de218f53191b4ca3541143da9 | Java | sstopkin/progresscrm | /src/main/java/org/progress/crm/controllers/PlannerController.java | UTF-8 | 5,295 | 2.203125 | 2 | [] | no_license | package org.progress.crm.controllers;
import java.sql.SQLException;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import javax.ejb.EJB;
import javax.ejb.Singleton;
import org.hibernate.Session;
import org.progress.crm.dao.DaoFactory;
import org.progress.crm.exceptions.BadRe... | true |
2045a141c838e0fa94cf7cf2eec29e30cb48133a | Java | HinsYang/leetcode | /src/com/yengchihang/serventyFive/Solution.java | UTF-8 | 1,144 | 3.46875 | 3 | [] | no_license | package com.yengchihang.serventyFive;
import java.util.Arrays;
public class Solution {
public static void main(String[] args) {
int[] array = {2,0,2,1,1,0};
Solution solution = new Solution();
solution.sortColors(array);
Arrays.stream(array).forEach(System.out::print);
}
... | true |
11963df099c9c18e98595477b21029f957da1786 | Java | Kartikkumar21/LevelUp | /java/lec22/binarytreeCamera.java | UTF-8 | 644 | 2.984375 | 3 | [] | no_license | class binarytreeCamera{
// -1 i am covered by a camera .
// 0 i am a camera.
// 1 means i need a camera.
int camera=0;
public int minCameraCover(TreeNode root) {
if(minCameraCover_(root) == 1) camera++;
return camera;
}
public int minCameraCover_(TreeNode root){
... | true |
a5aa5aa3f79c990c7887df1a97bd83e60c8553b9 | Java | ClaudiuTertiu/java-swing-shop | /src/Backend/Test.java | UTF-8 | 7,116 | 2.6875 | 3 | [] | no_license | package Backend;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.*;
public class Test {
static public VMS vms = VMS.getInstance();
static publ... | true |
28daf7c3a794a77ce05460403278bc27fa9ca8d4 | Java | TC-LS1/fishing-lagoon | /src/main/java/com/drpicox/fishingLagoon/common/parser/Props.java | UTF-8 | 952 | 2.640625 | 3 | [
"Apache-2.0"
] | permissive | package com.drpicox.fishingLagoon.common.parser;
import java.util.Map;
public class Props {
private Map<String,String> props;
public Props(Map<String, String> props) {
this.props = props;
}
public String[] getCsv(String key, String... absent) {
String value = props.get(key);
... | true |
048518c8876e33843cfeca33fdc4a00a27173c07 | Java | masnadh/NewApp | /app/src/main/java/id/masnadh/myapppeg/activities/TambahPendidikanActivity.java | UTF-8 | 14,086 | 1.882813 | 2 | [] | no_license | package id.masnadh.myapppeg.activities;
import androidx.appcompat.app.AppCompatActivity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os... | true |
35398c7c059ed130f5be3ea3dfdaae3d62e071a6 | Java | mustafasacli/JFreeOrmRepo | /Project/JavaFreeLibrary/src/jv/freeorm/connection/DbConnection.java | UTF-8 | 29,545 | 2.25 | 2 | [
"MIT"
] | permissive | package jv.freeorm.connection;
import jv.freeorm.base.DriverType;
import jv.freeorm.base.DbParameter;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.Driver;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
imp... | true |
5f5a619ee9b0423f3176d1c6a1b297bd0a05401e | Java | dc13185/TimeBlog | /time-admin/src/test/java/com/timeblog/lambda/Foo.java | UTF-8 | 1,185 | 3.4375 | 3 | [] | no_license | package com.timeblog.lambda;
/**
* @author: dong.chao
* @create: 2019-10-05 15:33
* @description: 测试
**/
public class Foo {
public Foo() {
}
public void first(Runnable printFirst) throws InterruptedException {
// printFirst.run() outputs "first". Do not change or remove this line.
p... | true |
0949843e501bfc4523a30f0efb9d9d15d1c573d6 | Java | CrazyTaro/base | /app/src/main/java/com/taro/base/api/imp/FileDownloadImp.java | UTF-8 | 7,695 | 2.40625 | 2 | [] | no_license | package com.taro.base.api.imp;
import android.os.Environment;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.Log;
import com.taro.base.api.base.ApiManager;
import com.taro.base.base.BaseApp;
import java.io.File;
import java.io.FileOutputStream;
import java.... | true |
51f153642231cbbcfd1445ccbe71c0de64bd4e01 | Java | WhiteElephants/WhiteElephant_Android | /business/src/main/java/rawe/gordon/com/business/landscape/City.java | UTF-8 | 360 | 2.328125 | 2 | [] | no_license | package rawe.gordon.com.business.landscape;
import java.util.List;
/**
* Created by gordon on 16/5/26.
*/
public class City {
private List<String> counties;
public City() {
}
public List<String> getCounties() {
return counties;
}
public void setCounties(List<String> counties) {
... | true |
22194b26e2dbb11f4aae506a36565cee6754f575 | Java | e-nechkoska/conference-app | /src/main/java/com/pluralsight/conferencedemo/controllers/SpeakerController.java | UTF-8 | 2,693 | 2.28125 | 2 | [] | no_license | package com.pluralsight.conferencedemo.controllers;
import com.pluralsight.conferencedemo.models.Speaker;
import com.pluralsight.conferencedemo.repositories.SessionRepository;
import com.pluralsight.conferencedemo.repositories.SpeakerRepository;
import org.springframework.beans.BeanUtils;
import org.springframework.be... | true |
3988a746d4dd31dc59dce8874c77507065db01cc | Java | Matheswaaran/Project-ISM | /android app/app/src/main/java/com/sih2018/mat/schemefinder/SubActivities/ViewSchemesActivity.java | UTF-8 | 5,554 | 2.4375 | 2 | [] | no_license | package com.sih2018.mat.schemefinder.SubActivities;
import android.app.ProgressDialog;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.sup... | true |
2181015310a04bca40c8f7dcdfbaf0f2d3480bde | Java | epappas/nexus | /nexus/chrysalis/src/main/java/com/evalon/chrysalis/store/chm/SelectableConcurrentHashMap.java | UTF-8 | 37,749 | 2.4375 | 2 | [] | no_license | /**
* Copyright Terracotta, Inc. 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 writing, sof... | true |
18270d4f817561df530beb3380f8d542e891e461 | Java | cietwwl/server | /game_server/src/com/hifun/soul/gameserver/human/IHumanPersistenceManager.java | UTF-8 | 609 | 2.65625 | 3 | [] | no_license | package com.hifun.soul.gameserver.human;
import com.hifun.soul.gamedb.entity.HumanEntity;
/**
* 玩家身上有持久化业务的管理器接口;
*
* @author crazyjohn
*
*/
public interface IHumanPersistenceManager {
/**
* 获取所属的玩家;
*
* @return 返回所属的玩家;
*/
public Human getOwner();
/**
* 从角色实体中加载数据;
*
* @param humanEntity
... | true |
81fd5bc66680fb27e88d617ac658e1f4b1411998 | Java | KB429861/FinanceManager | /app/src/main/java/com/asudevelopers/financemanager/ui/fragment/TransactionFragment.java | UTF-8 | 5,494 | 2.015625 | 2 | [] | no_license | package com.asudevelopers.financemanager.ui.fragment;
import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
im... | true |
4829b2d9535b1476ec9bcee48cfda92f3ad5cc85 | Java | remigalvez/Duck-Simulation | /behaviors/QuackBehavior/QuackBehavior.java | UTF-8 | 107 | 2.078125 | 2 | [] | no_license | package ducksim.behaviors.QuackBehavior;
public interface QuackBehavior {
public String getQuack();
}
| true |
9bef36968196c57f36bfe33e3c33caf4f463afec | Java | yangsongbao/javalearn | /serialize/src/main/java/Parent.java | UTF-8 | 238 | 1.5625 | 2 | [] | no_license | import java.io.Serializable;
/**
*
* @author songbao.yang
* @date 2018/3/11
*/
public class Parent implements Serializable {
private static final long serialVersionUID = 7170380061238989804L;
public int parentValue = 100;
}
| true |
160e00a017eb7a5084f349bd8a4bca2d04b8e37f | Java | laoniu2020/consultation_app | /src/com/consultation/app/ConsultionApplication.java | UTF-8 | 2,686 | 2 | 2 | [] | no_license | package com.consultation.app;
import android.app.Application;
import android.app.Notification;
import android.content.Context;
import android.content.Intent;
import com.consultation.app.activity.CaseInfoNewActivity;
import com.umeng.message.PushAgent;
import com.umeng.message.UmengMessageHandler;
import com.umeng.mes... | true |
5e67b5398e158561867e4b4b55074fdcaca523a6 | Java | MummeF/virus-simulator | /src/main/java/Gui/Settings/graph/GraphPanel.java | UTF-8 | 9,492 | 2.4375 | 2 | [] | no_license | package Gui.Settings.graph;
import lombok.Getter;
import process.ConfigLib;
import process.time.TimeValue;
import javax.swing.*;
import java.awt.*;
import java.util.ArrayList;
import java.util.List;
public class GraphPanel extends JPanel {
private List<TimeValue> deads;
private List<TimeValue> infected;
... | true |
11411385f712e9ddae9dd9086534cfef1ccf8e4a | Java | patidanner/feedmeapp | /src/main/java/com/inbound/text/feedMe/service/UploadService.java | UTF-8 | 5,077 | 2.40625 | 2 | [] | no_license | package com.inbound.text.feedMe.service;
import com.inbound.text.feedMe.model.Staging;
import com.inbound.text.feedMe.repository.StagingRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
impo... | true |
6ad01dafdd49543b53f6133fc15bc29d94d328ea | Java | nabilelhadani/web-coding-challenge | /src/main/java/com/unitedremote/rest/dto/UserAccountDto.java | UTF-8 | 514 | 1.726563 | 2 | [] | no_license | package com.unitedremote.rest.dto;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserAccountDto implements Serializable {
private static fin... | true |
b3072cfb0d4adf10d01ae1c030ba72df9b035d5e | Java | prabhatyadav/freemarker | /FreemarkerDemoFirst/src/main/java/com/prabhat/freemarkerdemofirst/controller/IndexController.java | UTF-8 | 837 | 2.1875 | 2 | [] | no_license | package com.prabhat.freemarkerdemofirst.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.Req... | true |
9abb9bf898090a76ee6d3458ab094a5c7fa1ab06 | Java | nkonev/blog | /backend/src/main/java/com/github/nkonev/blog/security/BlogSecurityService.java | UTF-8 | 7,874 | 2 | 2 | [] | no_license | package com.github.nkonev.blog.security;
import com.github.nkonev.blog.Constants;
import com.github.nkonev.blog.dto.CommentDTO;
import com.github.nkonev.blog.dto.LockDTO;
import com.github.nkonev.blog.dto.PostDTO;
import com.github.nkonev.blog.dto.UserAccountDetailsDTO;
import com.github.nkonev.blog.entity.jdbc.Commen... | true |
3ace021e1c05e49e7a2a65d8ee9d85642e6a61dd | Java | bryan-ruiz/CORFOGA | /CORFOGA/app/src/main/java/com/example/bryan/corfoga/Database/DataBaseHelper.java | UTF-8 | 3,244 | 2.625 | 3 | [] | no_license | package com.example.bryan.corfoga.Database;
import android.content.Context;
import android.database.DatabaseErrorHandler;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class DataBaseHelper extends SQLiteOpenHelper {
// debemos incrementar la version de la b... | true |
8252c45ca58d54e689597954315cbb05dcf9ba01 | Java | cs451summer11/BattleRisk | /src/Game.java | UTF-8 | 696 | 2.828125 | 3 | [] | no_license | import java.util.Vector;
public class Game
{
private Map map;
private Vector<Player> players;
private Player currentPlayer;
/*phase will indacte which part of the game the player is in
0 = initialUnit placement
1 = unitPlacement
2 = attack
3 = fortify*/
private int phase;
private Territory selected, s... | true |
41a6ce10039fbb2d21541ff10ca6f08a198ddec6 | Java | zongxiaoer/java_changai | /intestinal-cancer-sys/service-gateway-ic/src/main/java/com/yuntongxun/itsys/gateway/common/vo/ResultMsg.java | UTF-8 | 1,291 | 2.296875 | 2 | [] | no_license | package com.yuntongxun.itsys.gateway.common.vo;
import com.yuntongxun.itsys.gateway.common.constants.StatusConstant;
public class ResultMsg {
private String statusCode;//错误码
private String statusMsg;//信息
private Object data;//数据
public ResultMsg(){
this(StatusConstant.SUCCESS_CODE,S... | true |
322e6e3c6ecfa806d773f334b2d827c6249c677b | Java | scame/LightTube | /app/src/main/java/com/example/scame/lighttube/domain/usecases/UpdateReplyUseCase.java | UTF-8 | 1,178 | 2.375 | 2 | [] | no_license | package com.example.scame.lighttube.domain.usecases;
import com.example.scame.lighttube.data.repository.CommentsRepository;
import com.example.scame.lighttube.domain.schedulers.ObserveOn;
import com.example.scame.lighttube.domain.schedulers.SubscribeOn;
import com.example.scame.lighttube.presentation.model.ReplyModel... | true |
6d83a560f17ff977bc9c671526129e2494006f35 | Java | waterpolo0822/AndroidPractice | /Change22/app/src/main/java/com/example/george/change2/MainActivity.java | UTF-8 | 1,084 | 2.28125 | 2 | [] | no_license | package com.example.george.change2;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
TextView tv1,tv2,tv3,tv4,tv5,tv6,tv7,tv8;
Button btn;
... | true |
56342113e743591abd42f86604a339026d11653f | Java | psibre/rootbeer1 | /src/edu/syr/pcpratts/rootbeer/generate/opencl/MethodHierarchies.java | UTF-8 | 3,633 | 2.703125 | 3 | [
"MIT"
] | permissive | /*
* Copyright 2012 Phil Pratt-Szeliga and other contributors
* http://chirrup.org/
*
* See the file LICENSE for copying permission.
*/
package edu.syr.pcpratts.rootbeer.generate.opencl;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import soot.SootCla... | true |
f727ac197463d4e23c0abf17d1094b4c6e41a1b3 | Java | ewgcat/TestPoint | /test-point-api/src/main/java/com/zrq/test/point/init/TestEntryPointInit.java | UTF-8 | 1,824 | 2.15625 | 2 | [] | no_license | package com.zrq.test.point.init;
import com.zrq.test.point.entity.CustomTestListFragmentInfo;
import com.zrq.test.point.entity.TestEntryPointInfo;
import com.zrq.test.point.entity.TestListItem;
import com.zrq.test.point.utils.GeneratedClassesUtils;
import java.util.ArrayList;
/**
* 描述:项目初始化
*
* @author zhangrq
*... | true |
8daa65a6168efe821e3717e1ba647db48bcbb447 | Java | zhaohan6357/JVM_java | /src/main/java/ch08/instructions/stores/xastore/DASTORE.java | UTF-8 | 657 | 2.3125 | 2 | [] | no_license | package ch08.instructions.stores.xastore;
import ch08.instructions.base.instruction.NoOperandsInstruction;
import ch08.instructions.loads.xaload.CHECK;
import ch08.rtda.Frame;
import ch08.rtda.OperandStack;
import ch08.rtda.heap.Object;
public class DASTORE extends NoOperandsInstruction {
@Override
public voi... | true |
22739b4a2082b5c05354322e247c142e5d554197 | Java | jodyhoo/SpringMall | /Spring/src/main/java/com/userCenter/UserCenter.java | GB18030 | 8,508 | 2.546875 | 3 | [] | no_license | package com.userCenter;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.InetAddress;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.Cookie;
import javax.servl... | true |
0bc8d4cc538e4029b97393d4c31ee8db5e6fd74a | Java | Beshr/DS-3 | /DS-lab3-18-22/src/Server.java | UTF-8 | 4,176 | 2.375 | 2 | [] | no_license | import java.rmi.Naming;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.server.UnicastRemoteObject;
import java.util.ArrayList;
import java.util.concurrent.Semaphore;
public class Server extends UnicastRemoteObject implements RMI_Interface {
private static final lon... | true |
650a75ba127f27883224a3d4e514b8e3ab97e756 | Java | ArmerTropf/programming_hs | /TEST_FileWrite/src/go.java | UTF-8 | 341 | 2.03125 | 2 | [] | no_license | import java.io.*;
public class go
{
public static void main(String[] args) throws IOException
{
FileWriter fw = new FileWriter("D:/eigene Dateien/udraw/ausgabe.udg");
BufferedWriter bw = new BufferedWriter(fw);
bw.write("test test test");
bw.newLine();
bw.write("tset tset tset");
... | true |
79686f5616efc5ff8873e3c1e3a7854c0b1d8583 | Java | rookieCheer/springboot-layui | /src/main/java/com/lyf/springboot_layui/service/impl/SysShiroPermissionServiceImpl.java | UTF-8 | 586 | 1.554688 | 2 | [] | no_license | package com.lyf.springboot_layui.service.impl;
import com.lyf.springboot_layui.entiry.SysShiroPermission;
import com.lyf.springboot_layui.dao.SysShiroPermissionMapper;
import com.lyf.springboot_layui.service.ISysShiroPermissionService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframewor... | true |
f21afe3f1e2470c5515424ca23ade4c227693216 | Java | tectronics/riddle-crocodile | /RiddleCrocodileTest/src/org/riddle/crocodile/test/QuestionTests.java | UTF-8 | 3,188 | 3.015625 | 3 | [] | no_license | package org.riddle.crocodile.test;
import org.junit.*;
import org.riddle.crocodile.exceptions.*;
import org.riddle.crocodile.logic.*;
/*Test sulla classe Question*/
public class QuestionTests {
@Test
public void testQuestionNotNullValue()
{
Question q=new Question();
Assert.assertNotNull(q);
}
... | true |
272398d3e88227493405589a0f052c41a8a77a82 | Java | iceclementi/CanVas | /src/main/java/seedu/canvas/util/ComponentUtil.java | UTF-8 | 1,446 | 2.578125 | 3 | [] | no_license | package seedu.canvas.util;
import javafx.scene.Parent;
import javafx.scene.image.Image;
import javafx.scene.layout.Background;
import javafx.scene.layout.BackgroundImage;
import javafx.scene.layout.BackgroundPosition;
import javafx.scene.layout.BackgroundRepeat;
import javafx.scene.layout.BackgroundSize;
import javafx... | true |
c5b95d46e0ea904c87c408b1198e5cdf4a455b98 | Java | sumit-kul/cera | /src/com/era/community/blog/dao/generated/BlogEntryFinderBase.java | UTF-8 | 268 | 1.820313 | 2 | [] | no_license | package com.era.community.blog.dao.generated;
import com.era.community.blog.dao.*;
/**
* Basic Dao .
*/
public interface BlogEntryFinderBase
{
public BlogEntry getBlogEntryForId(int id) throws Exception;
public BlogEntry newBlogEntry() throws Exception;
}
| true |
9610426278240c8c62fa9ae9a723192cbc33dfd5 | Java | syedahmedGR/gitaddAug17 | /src/encapsulation/TestEmployee.java | UTF-8 | 218 | 2.171875 | 2 | [] | no_license | package encapsulation;
public class TestEmployee {
public static void main(String[] args) {
Employee kajol = new Employee();
Employee fahim = new Employee("Fahim", 3, 28, 750000.50);
}
}
| true |
7d4f530da1e8e0ec45e25b8f36760a3269040a41 | Java | luozhiran/ItgT | /app/src/main/java/com/sup/itg/itgt/java/customView/huan_xing_progress/ProgressBarActivity.java | UTF-8 | 1,287 | 2.109375 | 2 | [] | no_license | package com.sup.itg.itgt.java.customView.huan_xing_progress;
import android.animation.ValueAnimator;
import android.os.Message;
import android.view.animation.AccelerateDecelerateInterpolator;
import com.sup.itg.base.ItgHandlerActivity;
import com.sup.itg.itgt.R;
public class ProgressBarActivity extends ItgHandlerAct... | true |
b941a33c7bb2e9c9b53e6afe0607bd2adc4adfb2 | Java | NicolasGodfather/TimeTrackingSystem2 | /services/src/test/java/com/asinovich/service/EmployeeServiceImplTest.java | UTF-8 | 896 | 2.203125 | 2 | [] | no_license | package com.asinovich.service;
import com.asinovich.domain.Employee;
import com.asinovich.dto.EmployeeDTO;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
/**
* Realization
*
* @author Nicolas Asinovich.... | true |
bd52f9c07ce68d67c924d6c603fdc52cac94da55 | Java | ZhengJieXin/logistics-project | /logistics/src/main/java/cn/zjx/logistics/service/impl/PermissionServiceImpl.java | UTF-8 | 1,351 | 1.953125 | 2 | [] | no_license | package cn.zjx.logistics.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.zjx.logistics.mapper.PermissionMapper;
import cn.zjx.logistics.pojo.Permission;
import cn.zjx.logistics.pojo.PermissionExample... | true |
4f5763bbc6f4ed8e1eef94976ffac41b91fc4754 | Java | U-Friends-Evo/UF-MYR-REP-SS | /src/main/java/com/acme/meetyourroommate/domain/repository/PropertyResourceRepository.java | UTF-8 | 582 | 1.96875 | 2 | [] | no_license | package com.acme.meetyourroommate.domain.repository;
import com.acme.meetyourroommate.domain.model.PropertyResource;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.Optional;
public interface ... | true |
a9e6c310ccf293b2c4924a20707e332e5105822a | Java | IgorMiller/insyto-android | /app/src/main/java/alphadevs/insyto_android/adapter/InsytoRecyclerViewAdapter.java | UTF-8 | 4,287 | 2.390625 | 2 | [] | no_license | package alphadevs.insyto_android.adapter;
import android.content.Context;
import android.graphics.Color;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import java.util.ArrayList;
import java.u... | true |
b1cb059b65e2894b2ffd441d5170a629cb9c7b67 | Java | wowwowster/EntretienProJava9 | /src/main/java/main/java/tests/patternmail/EmailValidatorTest.java | UTF-8 | 2,708 | 2.6875 | 3 | [] | no_license | package main.java.tests.patternmail;
import junit.framework.Assert;
import junit.framework.TestCase;
import org.junit.Before;
import org.junit.Test;
public class EmailValidatorTest {
private EmailValidator emailValidator;
@Before
public void initData() {
emailValidator = new EmailValidator();
... | true |
997d5912e84cdc5673785f4e36bba9195502dc86 | Java | reshitov/JavaProgram | /src/com/glava2/exercise11/Ex11.java | UTF-8 | 1,651 | 3.859375 | 4 | [] | no_license | package com.glava2.exercise11;
public class Ex11 {
public void getDescription11() {
System.out.println("Задание 11!");
System.out.println("Описание11: ");
System.out.println("Преобразуйте пример с AllTheColorsOfTheRainbow в работающую программу.");
}
public void makeEx11 () {
... | true |
2b7f2b532abb6461295c7ad865b7c29946b93edd | Java | WxhKeepFighting/Pension_System | /src/main/java/com/wxh/service/MissionService.java | UTF-8 | 1,041 | 2.203125 | 2 | [] | no_license | package com.wxh.service;
import com.wxh.Exception.CustomException;
import com.wxh.Exception.CustomExceptionType;
import com.wxh.dao.MissionMapper;
import com.wxh.dao.MissionViewMapper;
import com.wxh.model.Mission;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transac... | true |
aeffb4f9c721e824f0496497ff988883fb67fb0a | Java | 150719873/zhdt | /project-pipe-parent/server-parent/view-server/src/main/java/com/dotop/smartwater/view/server/service/device/IDeviceDataService.java | UTF-8 | 451 | 1.75 | 2 | [] | no_license | package com.dotop.smartwater.view.server.service.device;
import com.dotop.smartwater.dependence.core.exception.FrameworkRuntimeException;
import com.dotop.smartwater.view.server.core.device.form.DeviceDataForm;
import com.dotop.smartwater.view.server.core.device.vo.DeviceDataVo;
import java.util.List;
/**
*
*/
pub... | true |
172a0b37a323671cd0bc361f067ec29b22403165 | Java | tangedwin/DesignPatterns | /src/com/patterns/结构型/bridge/MyBridge1.java | WINDOWS-1252 | 258 | 2.6875 | 3 | [] | no_license | package com.patterns.ṹ.bridge;
public class MyBridge1 extends Bridge {
public MyBridge1(Sourceable source) {
super(source);
}
public void method(){
System.out.print("first bridge and ");
this.getSource().method();
}
}
| true |
81136ffd7eb39781cfc725c108af17ac05582f89 | Java | Mastrom10/TrabajosPracticos | /TP7/src/Ejercicio8y9/C.java | UTF-8 | 222 | 2.15625 | 2 | [] | no_license | package Ejercicio8y9;
/**
* Created by Nicolas on 05/07/2016.
*/
public class C implements IA, IB {
@Override
public void x() {
}
@Override
public void y() {
}
public void z() {
}
}
| true |
4c268b443539130229114651aa8514de27c28df6 | Java | UchihaSean/MinDirectionTree | /Graph.java | UTF-8 | 11,772 | 2.46875 | 2 | [] | no_license | import org.omg.Messaging.SYNC_WITH_TRANSPORT;
/**
* Created by Jly_wave on 5/12/16.
*/
public class Graph {
private int root;
private int n;
private double[][] edges,origEdges;
private int[][] origLeftEdges,origRightEdges,origPoint,loops;
private boolean[][] reserEdges;
private int MAXINT=... | true |
0e02b7821e3ba82c191b38d92d153bdd83a55f38 | Java | TechCatOther/ultramine_core | /src/main/java/org/ultramine/core/economy/holdings/AbstractAsyncHoldings.java | UTF-8 | 1,995 | 2.53125 | 3 | [
"WTFPL"
] | permissive | package org.ultramine.core.economy.holdings;
import org.ultramine.core.economy.account.Account;
import org.ultramine.core.economy.Currency;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.concurrent.CompletableFuture;
import java.util.function.Supplier;
public abstract class Abstr... | true |
850437dc0def71eb58b267674620c6838bc6fab1 | Java | liquidmetal9015/RockPaperScissors | /src/one/imusing/rockpaperscissors/MainActivity.java | UTF-8 | 3,779 | 2.390625 | 2 | [] | no_license | package one.imusing.rockpaperscissors;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.Tex... | true |
3a7b9a59e0ecf4fa73f55b1b2a626174f769eb97 | Java | CodeChina888/ogretsamymtel | /world/gen/game/worldsrv/rank/RankGlobalServiceProxy.java | UTF-8 | 9,197 | 2.234375 | 2 | [] | no_license | package game.worldsrv.rank;
import core.CallPoint;
import core.Port;
import core.Service;
import core.gen.proxy.ProxyBase;
import core.support.Distr;
import core.support.log.LogCore;
import core.support.Param;
import core.support.Utils;
import core.support.function.*;
import core.gen.GofGenFile;
im... | true |
c809df75b1b32220d20ba2ab40ff77a192a05efc | Java | anonymous-ejstk-developer/sac2018 | /ejsc/src/CodeGenerator.java | UTF-8 | 40,402 | 2.859375 | 3 | [] | no_license | import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
public class CodeGenerator extends IASTBaseVisitor {
class JSLabel {
String name;
Label label;
JSLabel(String name, Label label) {
this.name = name;
this.label = label;
}
}
... | true |
6af89f25cd377222f6cbdd845371ee4698435358 | Java | immregistries/VaccineForecastAnalyzer | /src/main/java/org/immregistries/vfa/manager/writers/EpicTestCaseWriter.java | UTF-8 | 6,340 | 1.96875 | 2 | [] | no_license | package org.immregistries.vfa.manager.writers;
import java.io.PrintWriter;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Set;
import org.hibernate.Session;
import org.immregistries.vfa.connect.model.Admin;
import org.immregistries.vfa.connect.model.Relativ... | true |
1bc6ece03c910fd4a84989df95efbd6907fba93b | Java | DuongDiep2612/AppTestQualityFeedBack | /app/build/generated/source/apt/debug/com/example/ngothi/feebbackquality/MainActivity_ViewBinding.java | UTF-8 | 3,559 | 1.679688 | 2 | [] | no_license | // Generated code from Butter Knife. Do not modify!
package com.example.ngothi.feebbackquality;
import android.support.annotation.CallSuper;
import android.support.annotation.UiThread;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.ImageView;
import but... | true |
d1679d14c21db5dfbc7d609607b834168e8aeb02 | Java | findgriffin/euler | /prob012/Problem012.java | UTF-8 | 4,688 | 3.734375 | 4 | [] | no_license |
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* The sequence of triangle numbers is generated by adding the natural numbers.
* So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first
* ten terms would be... | true |
a6d717e595bbbc232405d7de3a3b6dc74ac09113 | Java | amelieko/McDonalds-java | /sources/com/alipay/android/phone/mrpc/core/C0528f.java | UTF-8 | 561 | 1.742188 | 2 | [] | no_license | package com.alipay.android.phone.mrpc.core;
import org.apache.http.HttpResponse;
import org.apache.http.conn.ConnectionKeepAliveStrategy;
import org.apache.http.protocol.HttpContext;
/* renamed from: com.alipay.android.phone.mrpc.core.f */
final class C0528f implements ConnectionKeepAliveStrategy {
/* renamed fro... | true |
0f5abab837ebfe13c233097eef8ef2c449bbce44 | Java | maximmcr/PopMovies | /app/src/main/java/com/maximmcr/android/popmovies/moviedetails/DetailsContract.java | UTF-8 | 1,118 | 2.171875 | 2 | [] | no_license | package com.maximmcr.android.popmovies.moviedetails;
import com.maximmcr.android.popmovies.BasePresenter;
import com.maximmcr.android.popmovies.BaseView;
import com.maximmcr.android.popmovies.data.model.Movie;
import com.maximmcr.android.popmovies.data.model.Review;
import com.maximmcr.android.popmovies.data.model.Vid... | true |
2d1d0b075a7d0a1fadc8e832249a2d175a203589 | Java | btlam18it2/Account | /account.java | UTF-8 | 2,124 | 2.71875 | 3 | [] | no_license | package JDBCStudentManagement;
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.LayoutManager;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.DriverManager;
import java.sql.Statement;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.sw... | true |
666402074962ddc409f8ba1c6862c3e14be94a86 | Java | 201096/Final.1 | /src/repositories/Med_repositories.java | UTF-8 | 4,151 | 2.734375 | 3 | [] | no_license | package repositories;
import data.interfaces.IDBManager;
import entities.Medical_center;
import repositories.interfaces.IMed_repositories;
import java.sql.Connection;
import java.sql.Date;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
public class Med_repositories implement... | true |
494fd6382fd26a6cdb95ea59bd093ff38b15b862 | Java | sduwyhong/FatHat | /FatHat/src/org/fathat/test/ConnectioniTest.java | UTF-8 | 1,404 | 2.5625 | 3 | [] | no_license | package org.fathat.test;
import java.sql.PreparedStatement;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.fathat.datasource.DataSource;
import org.fathat.util.ConnectionUtil;
import org.junit.Test;
/**
* @author wyhong
* @date 2018-4-28
*/
publi... | true |
5566f068eaada30a15879ca18543e94e220efbed | Java | AgnitumuS/SimpleTvLauncher | /app/src/main/java/com/pxq/simplelauncher/widget/LoadingDialog.java | UTF-8 | 1,402 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | package com.pxq.simplelauncher.widget;
import com.pxq.simplelauncher.R;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.app.Dialog;
import android.content.Context;
import android.view.animation.Animation;
import android.view.animation.LinearInterpolator;
imp... | true |
d9b0dc3ef2f73693dd9bfa27e7de6a9b48d90a87 | Java | daixiaoyu/dream-code | /java-test/src/main/java/thread/bfbm/threadpool/Demo07_ResponseService.java | UTF-8 | 833 | 2.640625 | 3 | [] | no_license | package thread.bfbm.threadpool;
import java.util.Random;
import java.util.concurrent.TimeUnit;
/**
* 巴分巴秒官方交流QQ群:750555573
*
*/
public class Demo07_ResponseService {
public static String responseMsg(String request){
try {
TimeUnit.MILLISECONDS.sleep(500);
} catch (InterruptedExcepti... | true |
382d750d4dfafaf1bd6c2cc409ca2100938a3a24 | Java | ACenterAInc/dasein-cloud-aws | /src/main/java/org/dasein/cloud/aws/identity/IAMMethod.java | UTF-8 | 8,780 | 1.617188 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright (C) 2009-2015 Dell, Inc.
* See annotations for authorship information
*
* ====================================================================
* 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 co... | true |
488a0f63b9a46055c9cf77f5829b8adc6eae9f2e | Java | Vynlar/Point-and-Click-Shooter | /src/me/vynlar/Shooter/worlds/levels/Level.java | UTF-8 | 789 | 2.703125 | 3 | [] | no_license | package me.vynlar.Shooter.worlds.levels;
import java.util.ArrayList;
import java.util.List;
import org.newdawn.slick.Image;
import me.vynlar.Shooter.entities.Enemy;
import me.vynlar.Shooter.entities.Player;
import me.vynlar.Shooter.worlds.World1;
import it.marteEngine.ResourceManager;
import it.marteEngine.World;
p... | true |
a4b3f961699771b8e7f1da0229ac0388eb510a62 | Java | Ji-subin-97/Study3 | /src/com/subinji4/java/ForTest8.java | UTF-8 | 838 | 3.515625 | 4 | [] | no_license | package com.subinji4.java;
import java.util.Scanner;
public class ForTest8 {
public static void main(String[] args) {
System.out.println("ForTest8 Start");
// 분초 출력
// 0분 0초
// 0분 1초
// 0분 2초
// 분, 초를 입력 1, 10;
Scanner sc = new Scanner(System.in);
System.out.println("몇분으로 할지 입력해주세요.");
int m... | true |
58a17d8132d49baa70b725ce6fbd11af05f9adb4 | Java | iu28igvc9o0/cmdb_aspire | /mirror-cmdb/cmdb-service/src/main/java/com/aspire/ums/cmdb/v3/module/event/data/IPRepositoryInnerSegmentOperateLogEvent.java | UTF-8 | 1,461 | 1.90625 | 2 | [] | no_license | package com.aspire.ums.cmdb.v3.module.event.data;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import com.aspire.ums.cmdb.cmic.util.EventThreadUtils;
import com.aspire.ums.cmdb.util.SpringUtils;
import com.aspire.ums.cmdb.v3.module.event.AbstractModul... | true |
0fa61abed8b6f81ee662ecdfce54d69cd410ccd5 | Java | aymenham/location-voiture-app | /app/src/main/java/MenuClient/ComparisionAdapter.java | UTF-8 | 3,336 | 2.359375 | 2 | [] | no_license | package MenuClient;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.ImageView;
import android.widget.To... | true |
81242a40e7b6528fc5ebf158eb680804045663a1 | Java | FelipeBarcelos96/PSS_Principios_002 | /PSS_Principios_ExemploPrincipioSubstituicaoLiskov/src/main/java/br/com/ufes/PSS_Principios_ExemploPrincipioSubstituicaoLiskovIncorreto/Carro.java | UTF-8 | 877 | 2.421875 | 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 br.com.ufes.PSS_Principios_ExemploPrincipioSubstituicaoLiskovIncorreto;
/**
*
* @author Felps
*/
public class Carro extends... | true |
07a25f543ccff0e8dd7dbe2084d04d04dfa5ae98 | Java | cuonghx2709/detect | /time-keeping/app/src/main/java/com/gemvietnam/timekeeping/faceTracker/RecognitionListener.java | UTF-8 | 145 | 1.648438 | 2 | [] | no_license | package com.gemvietnam.timekeeping.faceTracker;
public interface RecognitionListener {
void onDone(boolean isSuccess, String embeddings);
}
| true |
bc7fd2b63f0dd04801d9f7e1b594de51b69d8d65 | Java | neeraj338/abcbank | /src/test/java/com/abcbank/accountmaintenance/app/AbcBankApplicationTest.java | UTF-8 | 837 | 1.976563 | 2 | [] | no_license | package com.abcbank.accountmaintenance.app;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframe... | true |
4e18a761422daa3db8fb8607208858ce4cc7cba6 | Java | galol130/Banking_System_MTP | /src/main/java/com/ironhack/MidTerm/service/accounts/impl/CreditCardAccountService.java | UTF-8 | 5,181 | 2.4375 | 2 | [] | no_license | package com.ironhack.MidTerm.service.accounts.impl;
import com.ironhack.MidTerm.controller.accounts.DTO.CreditCardAccountCreationRequestDTO;
import com.ironhack.MidTerm.controller.accounts.DTO.CreditCardAccountGetRequestDTO;
import com.ironhack.MidTerm.enums.Status;
import com.ironhack.MidTerm.model.Money;
import com.... | true |
23ebcb48f5b413d55b966f23e6de04c18793bbf9 | Java | spoonit/DroidPitchBender | /app/src/main/java/com/example/music/pitchbender/MainActivity.java | UTF-8 | 2,752 | 2.609375 | 3 | [] | no_license | package com.example.music.pitchbender;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import be.tarsos.dsp.AudioDispatcher;
import be.tarsos.dsp.AudioEvent;
import be.tarsos.dsp.AudioProcessor;
import be.tarsos.dsp.io.android.AudioDispatcherFactory;
import ... | true |
3dc3381ab55d9f8c220ce678191c7b1d56cae37e | Java | brunolopessilvati/QuitandaBackend | /src/main/java/br/com/yaman/quitanda/controller/TipoProdutoController.java | UTF-8 | 711 | 1.898438 | 2 | [] | no_license | package br.com.yaman.quitanda.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import br.com.yaman.quitanda.business.GenericCrudBusiness;
import br.com.yaman.quitanda... | true |
625e857271034726c2ae6c345b2a4589f02e64a2 | Java | Christ-vie/Fashion-design | /src/java/com/woystech/fasdes/dao/ItemDao.java | UTF-8 | 473 | 1.765625 | 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.woystech.fasdes.dao;
import com.woystech.fasdes.entities.Item;
import java.util.List;
/**
*
* @author lupitisa
*/
publ... | true |
1a17b1a59838269bed537921ecca80785e1dca5c | Java | ganzhiping/peony-cms | /src/main/java/com/peony/peonydata/discount/service/DiscountServiceImpl.java | UTF-8 | 1,226 | 1.953125 | 2 | [] | no_license | package com.peony.peonydata.discount.service;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.peony.core.base.pojo.Pagination;
import com.peony.peonydata.discount.dao.DiscountMapper;
import com.peony.peonydata.discount.model.Discount;
@Service
publ... | true |