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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
13268ddb8f9ff1ef3004c72b6a2be84b928f678a | Java | Praxiology/springCloudLearn | /user-server/src/main/java/com/step/springcloud/user/HytrixSchedual.java | UTF-8 | 273 | 1.960938 | 2 | [] | no_license | package com.step.springcloud.user;
import org.springframework.stereotype.Component;
@Component
public class HytrixSchedual implements FeginHi {
@Override
public String sayHiFromClientOne(String name) {
return name + "sorry ! 请求备用接口";
}
}
| true |
d61adedb955d3bd5ad3d3956b8d401ba29f22405 | Java | senka97/payment-concentrator | /pcc-service/src/main/java/team16/pccservice/model/PaymentRequest.java | UTF-8 | 964 | 2.25 | 2 | [] | no_license | package team16.pccservice.model;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import team16.pccservice.enums.Status;
import javax.persistence.*;
import java.time.LocalDateTime;
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Entity
public clas... | true |
37c410188ebbbc8a23460edceb0ca2ea9a296a39 | Java | Darshan-C-S/Darshan-C-S | /assignment 2/project 1/src/Darshan/class3/calculate.java | UTF-8 | 448 | 3.15625 | 3 | [] | no_license | package Darshan.class3;
class cal{
public void add (int n ,int m){
System.out.println(n+m);
}
public static void multiply (int n ,int m){
System.out.println(n*m);
}
public void sub (int n , int m){
System.out.println(n-m);
}
}
public class calculate {
public static ... | true |
439d1f0458d4bbc674ad05b479fcd4ecbf828bb1 | Java | vierri1/ya.money.test | /src/main/java/ya/money/test/exception/ErrorResponse.java | UTF-8 | 496 | 2.078125 | 2 | [] | no_license | package ya.money.test.exception;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* Структура общего ответа об ошибке
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ErrorResponse {
private String errorMessage;
private String details;
private Strin... | true |
43005a0edefcde076781f0da03dd939e3b1296ac | Java | Azamat753/MasterClassAndroid1 | /app/src/main/java/com/lawlett/masterclassandroid1/ui/recycler_fragmen/IUpdateDataListener.java | UTF-8 | 122 | 1.585938 | 2 | [] | no_license | package com.lawlett.masterclassandroid1.ui.recycler_fragmen;
public interface IUpdateDataListener {
void update();
}
| true |
5dd1512fc069b538092de0e3b8f04407245e699b | Java | ksksks2222/pl-workspace | /plfx/plfx-jp/plfx-jp-yxgjclient/src/main/java/plfx/yxgjclient/pojo/param/QueryAirRulesResult.java | UTF-8 | 363 | 1.726563 | 2 | [] | no_license | package plfx.yxgjclient.pojo.param;
/**
* 出票规则返回参数列表
* @author guotx
* 2015-07-06
*/
public class QueryAirRulesResult {
/**
* 出票规则
*/
private String resultData;
public String getResultData() {
return resultData;
}
public void setResultData(String resultData) {
this.resultData = resul... | true |
bd53832b5d2a78c94688dc6acb85e3878af2371e | Java | vreyes23/javaParser | /target/generated-sources/antlr4/BlockSimpleGenerator.java | UTF-8 | 2,124 | 2.6875 | 3 | [] | no_license |
import java.util.ArrayList;
import java.util.List;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtime.CommonTokenStream;
import org.antlr.v4.runtime.Token;
import org.antlr.v4.runtime.tree.ParseTree;
public class BlockSimpleGenerator implements BlockCreator {
public BlockSimpleGenerator(){... | true |
3c172185143ae3745e741fa2a78f4db54c01573e | Java | whc1998/SourceCodeTest | /hotfix/src/main/java/com/example/whc/hotfix/FixUtil/FixDexUtils.java | UTF-8 | 4,253 | 2.640625 | 3 | [] | no_license | package com.example.whc.hotfix.FixUtil;
import android.content.Context;
import android.util.Log;
import android.widget.Toast;
import java.io.File;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.util.HashSet;
import dalvik.system.DexClassLoader;
import dalvik.system.PathClassLoader;
/**
... | true |
0bb2ee98b0e9e32abfe9b30496c84ee8ceda589a | Java | yhuiyang/my-test-apps | /AndroidProjects/GNHelper/src/com/yhlab/guessnumberhelper/guess/chooser/OneTwoThreeFourChooser.java | UTF-8 | 2,758 | 2.640625 | 3 | [] | no_license | package com.yhlab.guessnumberhelper.guess.chooser;
import java.util.Random;
import android.util.Log;
import com.yhlab.guessnumberhelper.guess.ChooserFactory;
import com.yhlab.guessnumberhelper.guess.GuessTreeNode;
import com.yhlab.guessnumberhelper.guess.IChooserCreater;
import com.yhlab.guessnumberhelper.guess... | true |
b34f84c9f27d46cff19a835dfb7f7ee1b4ab3940 | Java | Fernando-belitama/Sistema-de-Gestion-ISTER | /src/ec/edu/ister/vista/docenteAdmin/MateriaAdmin/EditarMateria.java | UTF-8 | 10,482 | 2.03125 | 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 ec.edu.ister.vista.docenteAdmin.MateriaAdmin;
import ec.edu.ister.controlador.Coordinador;
/**
*
* @author FERNANDO
*/
pub... | true |
7d074fff114c5777e57de8248184b779e3d4a249 | Java | vcaibis/Nautischool | /app/src/main/java/ch/hevs/nautischool/LoginActivity.java | UTF-8 | 3,464 | 2.25 | 2 | [] | no_license | package ch.hevs.nautischool;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.IBinder;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view... | true |
7b262f97166db1ffaae862dccd4cba14c3ec9121 | Java | mhsilva/ScriptGenerator | /src/main/java/com/mhf/script/generator/util/SaveProjectHelper.java | UTF-8 | 628 | 2.1875 | 2 | [] | no_license | package com.mhf.script.generator.util;
import java.io.FileWriter;
import java.io.IOException;
import com.google.gson.Gson;
public class SaveProjectHelper {
public void generateProject(ScriptGeneratorModel scriptGeneratorModel) throws IOException {
Gson gson = new Gson();
String json =... | true |
d1772cfdf2ec4836b9140188f3519461b2d71ddb | Java | devsops/Poc_jenkins | /libraries/android/ipsadmin/src/main/java/com/bosch/pai/ipsadmin/bearing/core/operation/processor/DetectionRequestProcessor.java | UTF-8 | 1,449 | 2.046875 | 2 | [] | no_license | package com.bosch.pai.ipsadmin.bearing.core.operation.processor;
import com.bosch.pai.ipsadmin.bearing.core.operation.detection.location.LocationDetectorUtil;
import com.bosch.pai.ipsadmin.bearing.core.operation.detection.site.SiteDetectorUtil;
import com.bosch.pai.bearing.event.Event;
import com.bosch.pai.bearing.eve... | true |
6384edd7a3792e14df99a094bcc1140f18659055 | Java | max40a/GeekHubHomeWorks | /HomeWork3/src/Main.java | UTF-8 | 1,820 | 3.609375 | 4 | [] | no_license | import products.interfaces.Product;
import inventory.Inventory;
import inventory.InventoryManager;
import products.creator.ProductCreator;
import java.util.Scanner;
public class Main {
private static Scanner scanner = new Scanner(System.in);
public static void main(String[] args) {
Inventory<Product... | true |
c0abff7b2775d2317f5ad5659e8872847751db59 | Java | lineCode/quorum-ci | /Quorum3Plugins/ParserPlugin/src/plugins/quorum/Libraries/Language/Compile/Translate/JavaBytecodeFieldWriter.java | UTF-8 | 771 | 1.804688 | 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 plugins.quorum.Libraries.Language.Compile.Translate;
import org.objectweb.asm.FieldVisitor;
/**
*
* @author stefika
*/
pu... | true |
12ff34e14d720b956dd166235c7e0bfae79928f9 | Java | wangxydhc/ProjectRes | /Spring_0100_AbstractOrientedPrograming/test/com/bjsxt/service/UserServiceTest.java | IBM852 | 605 | 2.09375 | 2 | [] | no_license | package com.bjsxt.service;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import com.bjsxt.model.User;
import com.bjsxt.spring.BeanFactory;
import com.bjsxt.spring.ClassPathXmlApplicationContext;
//ģspring
public class UserServiceTest {
@Before
public void setUp() throws Exception {
}
... | true |
f0eb2d7bb7cea887ce8b30ccd9018a67baef293c | Java | SunShine993-Y/AppInfoSystem | /src/main/java/com/bdqn/controller/backend/BackendLoginController.java | UTF-8 | 1,114 | 2.0625 | 2 | [] | no_license | package com.bdqn.controller.backend;
import com.bdqn.pojo.BackendUser;
import com.bdqn.service.backend.BackendUserService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import javax.annotati... | true |
3776baf53e7526ecc72d64450dc4aa7f1a795ed9 | Java | wangscript007/HaobeiBuiness | /baselib/src/main/java/com/netmi/baselibrary/utils/FastBundle.java | UTF-8 | 758 | 2.359375 | 2 | [] | no_license | package com.netmi.baselibrary.utils;
import android.os.Bundle;
/**
* 类描述:
* 创建人:Simple
* 创建时间:2017/12/27 11:13
* 修改备注:
*/
public class FastBundle {
private Bundle bundle;
public FastBundle() {
bundle = new Bundle();
}
public Bundle putInt(String key, int value) {
bundle.putInt(... | true |
ee9774efea30e8ec0d42f05dfbd7d030f0d75eb8 | Java | aaAsuna/wms | /wms/src/main/java/org/ricardo/wms/mapper/SystemMenuMapper.java | UTF-8 | 733 | 1.992188 | 2 | [] | no_license | package org.ricardo.wms.mapper;
import org.apache.ibatis.annotations.Param;
import org.ricardo.wms.domain.SystemMenu;
import org.ricardo.wms.query.QueryObject;
import java.util.List;
import java.util.Map;
public interface SystemMenuMapper {
int deleteByPrimaryKey(Long id);
int insert(SystemMenu record);
... | true |
634499dd2d89ab990f35ae038497beb9b6287704 | Java | studyferko/java-orders | /src/main/java/com/lambda/orders/services/CustomerServiceImpl.java | UTF-8 | 1,617 | 2.390625 | 2 | [
"MIT"
] | permissive | package com.lambda.orders.services;
import com.lambda.orders.repos.CustomerRepository;
import com.lambda.orders.repos.OrderRepository;
import com.lambda.orders.models.Agent;
import com.lambda.orders.models.Customer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Se... | true |
0ae951428854916e650dbadd51b3a4c2f0b4b7f6 | Java | DrafaKiller/BrokenBlock | /src/main/java/com/drafakiller/brokenblock/commands/ToggleCommand.java | UTF-8 | 1,733 | 2.859375 | 3 | [] | no_license | package com.drafakiller.brokenblock.commands;
import com.drafakiller.brokenblock.BrokenBlock;
import com.drafakiller.brokenblock.Message;
import com.drafakiller.commandmanager.SubCommand;
import com.drafakiller.commandmanager.SubCommandResult;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;... | true |
849c8f67961d69aaa84c6217868c04fa6c77fe93 | Java | pjsong/history-maven-top | /dbClient/src/test/java/bean/CodeList.java | UTF-8 | 1,352 | 2.09375 | 2 | [] | no_license | package bean;
import java.io.Serializable;
import javax.persistence.*;
import constants.DbInstanceId;
import java.sql.Time;
/**
* The persistent class for the code_list database table.
*
*/
@Entity(name="code_list")
public class CodeList extends DbInstanceId{
private static final long serial... | true |
0677590785d5fa56e5e9055cfdbba3fd50d28a65 | Java | mevogn/advent-code-2016 | /src/main/java/advent/PixelLighter.java | UTF-8 | 127 | 1.859375 | 2 | [] | no_license | package advent;
import java.util.List;
public interface PixelLighter {
int numberPixelsLit(List<String> instructions);
}
| true |
f20ce6ca6b33ea9fa8b08e514ca2a76e514707ba | Java | yikai116/K_table | /app/src/main/java/com/exercise/p/k_table/model/AbstractLogin.java | UTF-8 | 2,431 | 2.25 | 2 | [] | no_license | package com.exercise.p.k_table.model;
import android.os.AsyncTask;
import android.util.Log;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import ja... | true |
9cb10336a1960a8b079dd89691d868250638c8ae | Java | AltamashA/university-api | /My-University/src/main/java/com/restapi/myuniversityapi/courses/Course.java | UTF-8 | 1,085 | 2.53125 | 3 | [] | no_license | package com.restapi.myuniversityapi.courses;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import com.restapi.myuniversityapi.topics.Topic;
@Entity
pu... | true |
c3ff8f2ca3e697c378d1a5ff075b6ad59348d3bd | Java | Unidata/netcdf-java | /cdm-test-utils/src/main/java/ucar/unidata/util/test/CheckPointFeatureDataset.java | UTF-8 | 25,523 | 1.71875 | 2 | [
"BSD-3-Clause"
] | permissive | /*
* Copyright (c) 1998-2020 John Caron and University Corporation for Atmospheric Research/Unidata
* See LICENSE for license information.
*/
package ucar.unidata.util.test;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.lang.invoke.MethodHandles;
import java.util.Formatter... | true |
10cf2edcad27c13cb6c8d02842b28e66907b4d01 | Java | The-hated-one/Data-Structures-Algorithms | /GFG/Arrays/Remove_duplicates_from_sorted_array.java | UTF-8 | 1,829 | 3.828125 | 4 | [] | no_license | /*
Given a sorted array A of size N. The function remove_duplicate takes two arguments . The first argument is the sorted array A[ ] and the second argument
is 'N' the size of the array and returns the size of the new converted array A[ ] with no duplicate element.
Input Format:
The first line of input contains ... | true |
0b90cec0c466b594b05541edd616a30261089abf | Java | Severed-Infinity/Semester4Project | /Semester4Project/src/com/project/database/Room.java | UTF-8 | 2,402 | 2.8125 | 3 | [] | no_license | package com.project.database;
import java.text.*;
import java.util.*;
/**
* Project Semester4Project
*
* This class is part of a project
* that is aimed at improving ITT's
* timetable system
*
* Created by david on 4/30/2014.
*/
public class Room {
public static final Deque<Room> ROOMS = null;
private fin... | true |
8bdabe245a8e789ea1e9d7fb0b5c13c7f245a930 | Java | levibostian/SyntaxDesigns_android | /app/src/main/java/edu/uni/cs/syntaxdesigns/Adapters/IngredientsListAdapter.java | UTF-8 | 2,484 | 2.4375 | 2 | [] | no_license | package edu.uni.cs.syntaxdesigns.Adapters;
import edu.uni.cs.syntaxdesigns.R;
import edu.uni.cs.syntaxdesigns.adapter.BaseArrayAdapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.Tex... | true |
622aa139e6d88fb1124d169ca881fbb2a17c765a | Java | luisromangz/grc-framework | /GreenRiverCommons/src/com/greenriver/commons/collections/specialized/DateRangeSortedList.java | UTF-8 | 9,326 | 2.953125 | 3 | [] | no_license | package com.greenriver.commons.collections.specialized;
import com.greenriver.commons.DatePart;
import com.greenriver.commons.DateRange;
import com.greenriver.commons.Dates;
import com.greenriver.commons.collections.SortedArrayList;
import java.io.Serializable;
import java.util.Collection;
import java.util.Comparator;... | true |
585b9447ddd4f9d5016eb10a992b75a1cc71a9e2 | Java | 1627762273/GridDividerMoreTypeItemDecoration | /GridDividerMoreTypeItemDecoration.java | UTF-8 | 15,458 | 2.265625 | 2 | [] | no_license | package com.starlight.mobile.android.smsone.common;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.DashPathEffect;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Rect;
import android.support.annotation.ColorIn... | true |
0caf85702360c44cdf96fdee8c988632a9ba240e | Java | gil2455526/Ouvido | /src/main/java/com/gilwanderley/ouvido/Janela.java | UTF-8 | 8,137 | 2.34375 | 2 | [] | no_license | package com.gilwanderley.ouvido;
import edu.cmu.sphinx.api.Configuration;
import edu.cmu.sphinx.api.LiveSpeechRecognizer;
import edu.cmu.sphinx.api.SpeechResult;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.awt.datatransfer.*;
import java.awt.Toolkit;
/**
... | true |
39305e29ce77ae8e1e7ac868dee4982efef7d77a | Java | bharth-stack/java_programs | /SwitchCases.java | UTF-8 | 1,130 | 3.453125 | 3 | [] | no_license | package pkgswitch.cases;
import java.util.*;
public class SwitchCases {
public static void main(String[] args) {
int dayno;
Scanner s=new Scanner(System.in);
System.out.println("enter the Month:");
dayno=s.nextInt();
switch(dayno)
{
case 1:System.out.println("JANUARY")... | true |
30969815dfe6ba063cdf778b6fda244bd8d02834 | Java | Gleb394/Mateacademy | /src/main/java/homeWork/HomeWork2.java | UTF-8 | 1,134 | 3.625 | 4 | [] | no_license | package homeWork;
public class HomeWork2 {
public String palindrome(String word) {
int backward = word.length() - 1;
for (int i = 0; backward > i; i++) {
if (word.charAt(i) != word.charAt(backward)) {
return "isn't palindrome";
}
backward--;
... | true |
3c05addc979239a1490cef7f42e8a3c8396442c9 | Java | hansdelgado/gchCibertec | /src/main/java/pe/edu/cibertec/gch/modelo/Curso.java | UTF-8 | 2,364 | 2.53125 | 3 | [] | no_license | package pe.edu.cibertec.gch.modelo;
/**
* Es el conjunto de temas agrupados para ser dictados dentro de un tiempo
* acordado. Puede estar asociado a distintos programas en el tiempo.
*/
public class Curso {
private String codigo;
private String nombre;
private String descripcion;
private String obj... | true |
4ab29bea07a1612919396f1f7bc780b1272b557f | Java | Jindal-Ankit/TestExamplesJava | /src/com/ankit/practice/problems/SumSubArray.java | UTF-8 | 1,520 | 4.28125 | 4 | [] | no_license | package com.ankit.practice.problems;
public class SumSubArray {
public static void main(String[] args) {
int[] array = {3,6,9};
// 1 + (1+2) + (1+2+3)
// 2 + (2+3)
// 3
int n = array.length;
int sum = 0;
for(int i = 0 ; i < n ;i++){
for(int k = i ; k < n ;k++ ){
for(int j = i ;j <= k ;j++){
... | true |
875a9919053c9355bb8c3403657ca0d8741b4f3c | Java | limy901/Day-007 | /Ran.java | UHC | 632 | 3.59375 | 4 | [] | no_license | import java.util.Random;
class Ran {
Listing list = new Listing();
//list.readF();
System.out.println("[0] : "+list.names[0]);
Random r = new Random();//Ÿ r̶ ü .
int n = 20;// , 20̴ϱ 20.
void showNum(){ //ڻ̴ ҵ
int i = r.nextInt(n); //0~(n-1) ڻ.
System.out.println("i : "+i);
// i µ.
Syst... | true |
2cd62d0ae64ad4c9a5c8111835357385498009a1 | Java | houbb/mybatis | /src/main/java/com/github/houbb/mybatis/mapper/MapperSqlTemplate.java | UTF-8 | 730 | 2.40625 | 2 | [
"Apache-2.0"
] | permissive | package com.github.houbb.mybatis.mapper;
/**
* sql 模板
* @author binbin.hou
* @since 0.0.11
*/
public class MapperSqlTemplate {
/**
* 唯一标识
* @since 0.0.11
*/
private String id;
/**
* sql 本身
* @since 0.0.1
*/
private String sql;
public String getId() {
ret... | true |
700cc2f34a85845196f075ad4d4ac588792c3d7a | Java | hhru/checkstyle | /checkstyle-config-compilation-maven-plugin/src/main/java/ru/hh/checkstyle/maven/build/Utils.java | UTF-8 | 1,469 | 1.96875 | 2 | [] | no_license | package ru.hh.checkstyle.maven.build;
import java.io.ByteArrayInputStream;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.EntityResolver;
import org.xml.sax.InputSource;
public final class Utils {
p... | true |
748dc4db110ad7bb22b1c74879280db829582329 | Java | abhinavgla/patientmanagement | /src/main/java/com/ct/apac/patientmanagement/dao/User.java | UTF-8 | 859 | 2.234375 | 2 | [] | no_license | package com.ct.apac.patientmanagement.dao;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name = "user")
public class User extends AbstractEntity {
@Column(name = "userId")
private long userId;
@Column(name = "userRole")
private String ... | true |
c6533381fda370523c1b167ff293588029b94f0e | Java | waterbuckit/Honk | /src/com/water/bucket/interpreter/LexemeType.java | UTF-8 | 524 | 2.734375 | 3 | [] | no_license | package com.water.bucket.interpreter;
public enum LexemeType {
// Single-character tokens.
LEFT_PAREN, RIGHT_PAREN, LEFT_SQUARE, RIGHT_SQUARE, LEFT_BRACE, RIGHT_BRACE,
COMMA, DOT, MINUS, PLUS, SEMICOLON, SLASH, STAR, PERCENT,
// One or two character tokens.
NOT, NOT_EQUAL,
EQUAL, EQUAL_EQUAL,
GREATER, G... | true |
f12094e30dab9781ac12f29074a26ffb1da06b89 | Java | joshhughess/WhatsForTea | /app/src/main/java/com/example/n0584052/whatsfortea/FoodAtHomeItem.java | UTF-8 | 649 | 2.421875 | 2 | [] | no_license | package com.example.n0584052.whatsfortea;
import java.io.Serializable;
/**
* Created by joshh on 22/03/2018.
*/
public class FoodAtHomeItem implements Serializable {
private String foodAtHomeName;
private String foodAtHomeQuantity;
public void setFoodAtHomeName(String foodAtHomeName) {
this.fo... | true |
0327342071e0d5e9c9ebaee8551a6ec9528b60eb | Java | EIPsilly/WebSpace | /vueProject/recycle_system/recycle_systeml_springboot/src/main/java/com/example/recycle_system_springboot/pojo/dto/CollectorRegisterDto.java | UTF-8 | 400 | 1.679688 | 2 | [] | no_license | package com.example.recycle_system_springboot.pojo.dto;
import lombok.Data;
@Data
public class CollectorRegisterDto {
private String collectorName;
private String userName;
private String password;
private String repassword;
private String phone;
private String idcardNumber;
private ... | true |
b609a301d10a88a7ded0e572a9d93db17acad084 | Java | mvcorrea/LS-1617-1 | /src/main/java/pt/isel/ls/Formatters/WriterTag/TagCollection2HTML.java | UTF-8 | 4,156 | 2.515625 | 3 | [] | no_license | package pt.isel.ls.Formatters.WriterTag;
import pt.isel.ls.Containers.CheckList;
import pt.isel.ls.Containers.Tag;
import pt.isel.ls.Formatters.WebFormatter.WebDocument;
import pt.isel.ls.Formatters.WebFormatter.WebTag;
import java.io.IOException;
import java.util.LinkedList;
public class TagCollection2HTML {
p... | true |
f91bf6deea937ea86b2fa750f58e6338ead0b5c8 | Java | verynb/torchbackend | /torch_pj/src/main/java/com/torch/interfaces/userGroup/command/UserGroupChangeCommand.java | UTF-8 | 806 | 2.03125 | 2 | [] | no_license | package com.torch.interfaces.userGroup.command;
import org.hibernate.validator.constraints.NotBlank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel(value = "用户-用户组增加删除")
public class UserGroupChangeCommand {
@NotBlank(message = "group.groupid.required")
@ApiModel... | true |
18d50f7e70521a3782fc133c1795aa455e77b448 | Java | antoineCharpentier-19/Selenium-DSL | /org.xtext.imt.selenium/src-gen/org/xtext/example/mydsl/selenium/impl/ElementImpl.java | UTF-8 | 11,106 | 1.523438 | 2 | [] | no_license | /**
* generated by Xtext 2.19.0
*/
package org.xtext.example.mydsl.selenium.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotifica... | true |
2761272cc97b17f3f32793995935c2c7b8cb46ed | Java | JeromeMillot/AgoroleREST | /src/main/java/fr/agrorole/dnd/dao/CharacterDAOImpl.java | UTF-8 | 3,518 | 2.5 | 2 | [] | no_license | package fr.agrorole.dnd.dao;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.EntityTransaction;
import javax.persistence.Query;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import fr.agrorole.dnd.dto.PJ;
import fr.agrorole.dnd.interfaces... | true |
7bc44c61f43b2307404b855d7f18f855ff9176c6 | Java | geegloirco/geeglo-store | /store-orm/src/main/java/ir/geeglo/dev/store/data/dao/QueryConditionStruct.java | UTF-8 | 1,115 | 2.3125 | 2 | [
"Apache-2.0"
] | permissive | package ir.geeglo.dev.store.data.dao;
import java.util.List;
public class QueryConditionStruct<T> {
private String field;
private List<T> filters;
private FilterType filterType;
public QueryConditionStruct() {
}
public QueryConditionStruct(String field, List<T> filters) {
this(field,... | true |
4bce93ef8dbe66fe71e4733a8dbda83997bb20fa | Java | ranass/ReqCycle | /plugins/org.eclipse.reqcycle.traceability.cache/src/org/eclipse/reqcycle/traceability/cache/AbstractCachedTraceabilityEngine.java | UTF-8 | 12,687 | 1.765625 | 2 | [] | no_license | package org.eclipse.reqcycle.traceability.cache;
import java.io.File;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import javax.inject.Inject;
import org.eclipse.reqcycle.core.ILogger;
import org.eclipse.reqcycle.traceability.builder.IBuil... | true |
3a0df2eb63135f012f89ddaefd90a9fc6cd7aabc | Java | xyy112121/TbeaCloudBusinessNew | /app/src/main/java/com/example/programmer/tbeacloudbusiness/activity/my/set/model/NotifyInfoResponseModel.java | UTF-8 | 523 | 1.796875 | 2 | [] | no_license | package com.example.programmer.tbeacloudbusiness.activity.my.set.model;
import com.example.programmer.tbeacloudbusiness.http.BaseResponseModel;
import com.google.gson.annotations.SerializedName;
/**
* Created by programmer on 2017/8/17.
*/
public class NotifyInfoResponseModel extends BaseResponseModel {
publi... | true |
a94868cd862c7c5fc03a4ad7cc6f4808bcac2b89 | Java | ehabibov/jagger | /chassis/core/src/main/java/com/griddynamics/jagger/storage/rdb/HibernateKeyValueStorage.java | UTF-8 | 7,660 | 2.015625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2010-2012 Grid Dynamics Consulting Services, Inc, All Rights Reserved
* http://www.griddynamics.com
*
* This library is free software; you can redistribute it and/or modify it under the terms of
* the Apache License; either
* version 2.0 of the License, or any later version.
*
* THIS SOFTWARE... | true |
20e4ee865e26e43eca6854cf2546f06273442f33 | Java | colinclarke/sandbox | /projectalgo/src/main/java/com/hcl/java8/FilterForEach.java | UTF-8 | 840 | 3.6875 | 4 | [] | no_license | package com.hcl.java8;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
public class FilterForEach {
public static void main(String[] args) {
List<Employee> list = new ArrayList<Employee>();
list.add(new Employee(10, "Arun", 3010f, 'E'));
list.add(new Employee(20, "Babu", 202... | true |
f404819843ccae5ee2d114ca1cea59bae7680ce7 | Java | jakubs21/testBalony | /src/main/java/pl/jakub/myWebsite/pages/ballonPage/BallonPageTest.java | UTF-8 | 923 | 2.28125 | 2 | [] | no_license | package pl.jakub.myWebsite.pages.ballonPage;
import org.openqa.selenium.support.PageFactory;
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import pl.jakub.myWebsite.cfg.WebDriverConfig;
public class BallonPageTest {... | true |
6b570d009079b01cc41fea6ac254e5c4007aa2db | Java | ChoiSJ/spring_study | /spring-final/src/main/java/kr/co/jhta/controller/argumentResolver/LoginStudArgumentResolver.java | UTF-8 | 1,359 | 2.265625 | 2 | [] | no_license | package kr.co.jhta.controller.argumentResolver;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.MethodParameter;
import org.springframework.web.bind.support.WebDataBinderFactory;
import ... | true |
efc55d6b4e217fe3d2775e78d11d9c15b792a9c0 | Java | ccflyy/NVPlayer | /nvplayer/src/main/java/com/nesp/nvplayer/widget/NVPlayerBatteryView.java | UTF-8 | 9,141 | 1.976563 | 2 | [
"Apache-2.0"
] | permissive | /*
*
* Copyright (c) 2019 NESP Technology Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* Unless required by... | true |
1fd82cfcc225d554dc411921ed83d25f91738de5 | Java | BanyLee/QYZ_Server | /xdb/src/xio/security/HmacMd5Hash.java | UTF-8 | 1,434 | 2.53125 | 3 | [] | no_license | package xio.security;
import com.goldhuman.Common.Octets;
public final class HmacMd5Hash extends Security
{
private Octets k_opad = new Octets(64);
private MD5Hash md5hash = new MD5Hash();
//protected HMAC_MD5Hash() { }
public HmacMd5Hash()
{
}
public Object clone()
{
try
{
HmacMd5Hash o = (HmacMd... | true |
799e65eccabaec0efbe544338e5aa971e90401e5 | Java | leoleegit/jcommon-jutils | /src/main/java/org/jcommon/com/util/http/HttpRequest.java | UTF-8 | 15,936 | 1.875 | 2 | [] | no_license | // ========================================================================
// Copyright 2012 leolee<workspaceleo@gmail.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:... | true |
34c3d9bbf4b825105e43abacc48a8057f498db70 | Java | nickel-fang/study | /algorithm/src/main/java/com/jetsen/algorithm/other/A796_RotateString.java | UTF-8 | 658 | 3.46875 | 3 | [] | no_license | package com.jetsen.algorithm.other;
public class A796_RotateString {
public static boolean rotateString(String s, String goal) {
if (s == null || goal == null || s.length() != goal.length())
return false;
if (s.equals(goal)) return true;
for (int i = 1; i < s.length(); i++) {
... | true |
8f1ffbeb5fbb771ce812bd1bcf2f6bf7f450330f | Java | Raitoforce/libreria | /src/main/java/com/work/backendlibrary/controller/EscuelaController.java | UTF-8 | 3,149 | 2.09375 | 2 | [] | no_license | package com.work.backendlibrary.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Pageable;
import org.springframework.http.HttpStatus;
import org.springframework.http.... | true |
926354a9f351ae2a20279fa145955b10fda42734 | Java | gnueyTc/one | /app/src/main/java/com/gnuey/one/ui/activity/read/ReadActivity.java | UTF-8 | 6,132 | 1.828125 | 2 | [
"MIT"
] | permissive | package com.gnuey.one.ui.activity.read;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.graphics.drawable.AnimationDrawable;
import android.os.Bundle;
import android.util.Log;
import android.widget.ImageView;
import androidx.annotation.Nullable;
im... | true |
d4df2496a71e51ca5fdfc9a8817c1305df04dc50 | Java | nmfernandes/avanade | /src/test/java/CareersTest.java | UTF-8 | 3,464 | 2.4375 | 2 | [] | no_license | import helpers.MessageFileToUser;
import helpers.Utils;
import org.junit.After;
import org.junit.Assert;
import org.junit.Test;
import pageObjects.CareersPage;
import pageObjects.ExploreCareersPage;
import pageObjects.HomePage;
import static helpers.Drivers.destroyLastDriver;
/**
* Test the search in the Explore Car... | true |
6cdff01020c17dfdffb99e25ca675a630541fb64 | Java | mennetorelli/The-Council-of-Four | /src/test/java/notifyTests/MarketNotifyTest.java | UTF-8 | 875 | 2.421875 | 2 | [] | no_license | package notifyTests;
import static org.junit.Assert.*;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
import clientUpdates.MarketUpdate;
import server.model.Game;
import server.model.player.Player;
import server.serverNotifies.MarketServerNotify;
public class ... | true |
2a28770b50ec5fa3d8e1285fcc2240d3986ac3ff | Java | SurfGitHub/BLIZZARD-Replication-Package-ESEC-FSE2018 | /Corpus/eclipse.jdt.core/4945.java | UTF-8 | 162 | 2.3125 | 2 | [
"MIT"
] | permissive | public class SomeClass {
public void foo() {
if ((x.getSomeLongValue == 100) || (x.getSomeOtherValue == 200)) {
y = 5;
}
}
}
| true |
266e9b6c9c50c9cfa2002cea4fbec1036ac0466b | Java | selvavelu/UpskillProject1 | /final-framework-testng/src/com/training/pom/PropertyPage.java | UTF-8 | 11,681 | 1.96875 | 2 | [] | no_license | package com.training.pom;
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.KeyEvent;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Set;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openq... | true |
eca12a9af88fb6e34d00e6715f692b2bdd161d3b | Java | yunwow/lyRespository | /tfkc_shop/src/com/koala/core/annotation/Log.java | UTF-8 | 983 | 2.1875 | 2 | [] | no_license | package com.koala.core.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.koala.foundation.domain.LogType;... | true |
937821f9074dc3c0d64270e2585ced5e437a3356 | Java | fnevesprogram/submarine-navigation | /submarine_navigation/src/main/java/br/com/submarine/proccess/FactoryNavigation.java | UTF-8 | 2,356 | 2.640625 | 3 | [] | no_license | package br.com.submarine.proccess;
import br.com.submarine.exception.InvalidNavigationException;
import br.com.submarine.model.SubmarineNavigation;
import br.com.submarine.operation.NavigationEnum;
public class FactoryNavigation implements IFactoryNavigation<SubmarineNavigation>{
private IMove<SubmarineNavi... | true |
f3a687d6bbf4fd9c1e29c8b115f3e125f69fcf35 | Java | Asong27/test-demo | /spring-test/src/main/java/com/idea/spring/test/springtest/service/UserService.java | UTF-8 | 419 | 1.710938 | 2 | [] | no_license | package com.idea.spring.test.springtest.service;
import com.idea.spring.test.springtest.common.PageInfoTest;
import com.idea.spring.test.springtest.pojo.User;
public interface UserService {
public User selectUserById(Integer id);
public void deleteUserById(Integer id);
public void updateUser(User user);
... | true |
ed6ae743ab6a9100516f4ccbb4c8972fc9f66fee | Java | dangkhoaph/LAB221-J3LP0003 | /src/khoaphd/models/UserDAO.java | UTF-8 | 2,485 | 2.734375 | 3 | [] | no_license | package khoaphd.models;
import java.io.Serializable;
import java.sql.Connection;
import java.sql.Date;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import khoaphd.dtos.UserDTO;
import khoaphd.utils.DBConnection;
/**
*
* @author KhoaPHD
*/
public class UserDAO implemen... | true |
89209a539df5b091a0365e698262d1c3febaf8b3 | Java | ashokp123/MobipugSource | /app/src/main/java/com/o3sa/mobipugapp/uicomponents/BasicComponents.java | UTF-8 | 23,643 | 2.21875 | 2 | [] | no_license | package com.o3sa.mobipugapp.uicomponents;
import android.app.Activity;
import android.graphics.Typeface;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerView;
import android.text.InputType;
import android.view.ViewGroup;
import ... | true |
f20f7d53b00e5768dc5fc01bd620957c1985c780 | Java | prietojulen/Programacion | /Capitulo 4/REPASO_CAP4/Tema4_ej8/src/tema4_ej8/Tema4_ej8.java | UTF-8 | 2,606 | 3.46875 | 3 | [] | no_license | package tema4_ej8;
import javax.swing.JOptionPane;
public class Tema4_ej8 {
private static int fila = 0;
private static int columna = 0;
private static int numero = 0;
public static void main(String[] args) {
// TODO code application logic here
int [][] tabla = new ... | true |
74dba85cd412a99247829cb23a2d2faceb226cf7 | Java | trrying/Translation | /app/src/main/java/com/owm/translation/presenter/TranslationPresenter.java | UTF-8 | 4,775 | 2.15625 | 2 | [] | no_license | package com.owm.translation.presenter;
import com.owm.biubiuboom.net.retrofit.ApiClient;
import com.owm.biubiuboom.net.retrofit.ApiHelper;
import com.owm.biubiuboom.net.retrofit.ICallBack;
import com.owm.biubiuboom.presenter.BasePresenter;
import com.owm.translation.model.BaiduTranslationBean;
import com.owm.translati... | true |
3a5182215369b294ee1f2c02bb1e1444411aab32 | Java | Patriotic-Robotics-6372/SkyStone | /TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Subsystemv2/tests/DrivetrainTest.java | UTF-8 | 1,369 | 2.46875 | 2 | [
"BSD-3-Clause"
] | permissive | package org.firstinspires.ftc.teamcode.Subsystemv2.tests;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import org.firstinspires.ftc.teamcode.Subsystemv2.subsys.drivetrain.Drivetrain;
import ... | true |
7ffd1a774c4f3cca6541be3a0022819ca2cd6912 | Java | liuchenwei2000/Hibernate | /Basic/src/main/java/hibernate/orm/model/PersonVO4.java | UTF-8 | 947 | 2.796875 | 3 | [] | no_license | /**
*
*/
package hibernate.orm.model;
import java.util.Date;
/**
* 为了设计需要,将PersonVO的信息进行细分,把name相关的信息单独抽取出来。
*
* @author 刘晨伟
*
* 创建日期:2014年7月24日
*/
public class PersonVO4 {
private Long id;
private NameVO name;
private Date timestamp;
private int sex;
public PersonVO4() {
super();
}
public Pe... | true |
b1782e3f96ffbf5517d277dd62f422ad9885b005 | Java | Azael051101/Desing-Your-Anatomy | /Ventana.java | UTF-8 | 6,042 | 2.640625 | 3 | [] | no_license | import javax.swing.*;
import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.Color;
import java.awt.*;
import java.awt.event.*;
import javax.swing.JComboBox;
import javax.swing.ImageIcon;
import java.io.File;
import java.util.*;
import java.io.*;
import javax.imageio.*;
public class Venta... | true |
417fec4290cb6dcad72d1cdd920c316c68d246ba | Java | Aurele3000/skoon_2_back | /src/main/java/fr/aurele/skoon_2/repository/AdresseRepo.java | UTF-8 | 494 | 1.859375 | 2 | [] | no_license | package fr.aurele.skoon_2.repository;
import fr.aurele.skoon_2.model.Adresse;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface AdresseRepo extends JpaRepository<Adresse, Integer> {
public List<Adres... | true |
0a443d29c4d539b9138fe1e8e5133fcbc55f2301 | Java | 8kosmo/kosmo52 | /workspace_java/dev_java/src/com/address/JListTest.java | UTF-8 | 377 | 2.28125 | 2 | [] | no_license | package com.address;
import javax.swing.JFrame;
import javax.swing.JList;
public class JListTest extends JFrame {
public static void main(String[] args) {
JListTest jlt = new JListTest();
String[] data = {"DVD명", "감독", "배우"};
JList<String> myList = new JList<String>(data);
jlt.add("Center",myList);
jlt.se... | true |
18776444d269dc47e94562af90e828f82a5d84e6 | Java | fredou123/GedProj | /GEDProject/src/main/java/com/ged/controller/TypeMetadonneeController.java | UTF-8 | 2,441 | 2.125 | 2 | [] | no_license | package com.ged.controller;
import java.util.Collection;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation... | true |
a6015f09f6811899c76ad42e5e5e3552b8161226 | Java | IlyaPeshko/TestTaskTransavia | /src/main/java/by/htp/task/ui/webDriver/DriverTypes.java | UTF-8 | 333 | 2.40625 | 2 | [] | no_license | package by.htp.task.ui.webDriver;
public enum DriverTypes {
FIREFOX ("firefox"), IE ("internet explorer"), GC ("google chrome");
private String driverName;
private DriverTypes(String driverName){
this.driverName = driverName;
}
public String getDriverName() {
return this.driverN... | true |
851a2d1bbabb4868d1ff94f8e930533f06667693 | Java | jjodell123/CircleTag | /src/Map.java | UTF-8 | 1,763 | 3.203125 | 3 | [] | no_license | import java.awt.Graphics2D;
import java.util.ArrayList;
public class Map {
private ArrayList<Wall> w=new ArrayList<Wall>();
public Map()
{
//borders
w.add(new Wall(9,38,25,450));
w.add(new Wall(9,541 ,25,450));
w.add(new Wall(34,38,425,25));
w.add(new Wall(541,38,450,25));
w.add(new ... | true |
a5d76f2deae847bc9dc450d2d9f441d9f1afd11f | Java | DimaPhil/ITMO | /Java & JavaScript/2 course/Hometasks/10/src/ru/ifmo/ctddev/filippov/bank/PersonType.java | UTF-8 | 84 | 1.75 | 2 | [] | no_license | package ru.ifmo.ctddev.filippov.bank;
public enum PersonType {
LOCAL, REMOTE
}
| true |
f0872825aa33f9584327c0e950f956c659a1033b | Java | Paladin1412/house | /java/classes3/com/ziroom/ziroomcustomer/sharedlife/c/c.java | UTF-8 | 2,028 | 1.90625 | 2 | [
"Apache-2.0"
] | permissive | package com.ziroom.ziroomcustomer.sharedlife.c;
import java.util.List;
public class c
{
private List<a> a;
public List<a> getTbDeviceList()
{
return this.a;
}
public void setTbDeviceList(List<a> paramList)
{
this.a = paramList;
}
public static class a
{
private String a;
pri... | true |
f35f603d3501d8f84c8b6b967099d06d8ffe989b | Java | pechll/prueba_java | /src/java/Models/clsClasificador.java | UTF-8 | 3,643 | 2 | 2 | [] | no_license | package Models;
/**
*
* @author Ing. Percy Edward Chávez LLamoga <pechll@hotmail.com>
*/
import java.util.Calendar;
import java.util.GregorianCalendar;
public class clsClasificador {
public int getAnos() {
return anos;
}
public void setAnos(int anos) {
this.anos = anos;
}
... | true |
29c637c1edc92ec735939bd4060ba5e30a88f2a0 | Java | erikknaake/ICSSImplementatie | /startcode/src/test/java/nl/han/ica/icss/transformer/TransformOptimiseIdAsDirectChildTest.java | UTF-8 | 764 | 2.125 | 2 | [] | no_license | package nl.han.ica.icss.transformer;
import nl.han.ica.icss.ast.AST;
import nl.han.ica.icss.transforms.OptimiseIdAsDirectChild;
import nl.han.ica.icss.transforms.Transform;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public ... | true |
01b41925c43502184fb2c69cd3ebc026f54f7fb4 | Java | franciscoww/mintic_UTP | /NetBeansProjects(UT)/Uni3/Layouts/src/layouts/VentanaEmpleado.java | UTF-8 | 730 | 2.78125 | 3 | [] | no_license | package layouts;
import java.awt.FlowLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
public final class VentanaEmpleado extends JFrame{
private JPanel panel;
VentanaEmpleado(){
setSize(700, 20... | true |
40cad2aa90a8875ddf6f5144dbda6d1cb56a654f | Java | kevin70/houge | /houge-server-rest/src/main/java/cool/houge/rest/main/RestMain.java | UTF-8 | 3,295 | 1.960938 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2019-2021 the original author or authors
*
* 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 appl... | true |
92927689ea9f15838694719f8a2412273a8194de | Java | MortalMachine/Tweeter | /shared/src/main/java/response/FollowPersonResponse.java | UTF-8 | 480 | 2.3125 | 2 | [] | no_license | package response;
import model.domain.AuthToken;
public class FollowPersonResponse extends Response {
private AuthToken authToken;
public FollowPersonResponse(boolean success, AuthToken authToken, String message) {
super(success, message);
this.authToken = authToken;
}
public FollowPe... | true |
70ddb99e3bac176948e203784423f35783e6cb51 | Java | massimo-nocentini/my-undergraduatethesis-java | /src/piping/PrinterPipeFilter.java | UTF-8 | 737 | 2.21875 | 2 | [] | no_license | package piping;
import model.OurModel;
import dotInterface.DotExporter;
import dotInterface.DotFileUtilHandler;
import dotInterface.SimpleExporter;
public class PrinterPipeFilter extends PipeFilter {
@Override
public boolean isYourTagEquals(AvailableFilters other) {
return AvailableFilters.Printer.equals(other);... | true |
23687e9d1a355ce4e495a94ab88aa51e0ac10727 | Java | f297302354/GP | /gp/src/main/java/com/cf/gp/model/StockPriceHistoryResultCondition.java | UTF-8 | 485 | 2.171875 | 2 | [] | no_license | package com.cf.gp.model;
public class StockPriceHistoryResultCondition {
private int count;
private double val;
public int getCount() {
return count;
}
public void setCount(int count) {
this.count = count;
}
public double getVal() {
return val;
}
public void setVal(double val)... | true |
53cb62c529af71c32923d1e4fd5068c34f4961ab | Java | alim-firejack/Firejack-Platform | /platform/src/main/java/net/firejack/platform/service/process/broker/TaskCaseProcessor.java | UTF-8 | 7,342 | 1.742188 | 2 | [
"Apache-2.0"
] | permissive | /*
* Firejack Open Flame - Copyright (c) 2012 Firejack Technologies
*
* This source code is the product of the Firejack Technologies
* Core Technologies Team (Benjamin A. Miller, Oleg Marshalenko, and Timur
* Asanov) and licensed only under valid, executed license agreements
* between Firejack Technologies and it... | true |
2d9f55d40f6084ff3d378cd8752ff365ab626a21 | Java | manojjain126/Zipper | /src/main/ZipMerge.java | UTF-8 | 1,664 | 3.59375 | 4 | [] | no_license | package main;
import java.util.Collections;
import java.util.List;
/* ZipMerge class will first sort the list of Zip pairs
and then loop over to find the overlapping zips to merge the zip pairs
*/
public class ZipMerge {
Integer numLoop;
public List<List<Integer>> ZipExtend(List<List<Integer>> listOfZip... | true |
7649696f9a89fc41da87b8aa8cee55b9aa714804 | Java | qibin123/kengleju | /iotservice/src/main/java/com/kangleju/care/iotservice/repository/PositionDataRepository.java | UTF-8 | 259 | 1.515625 | 2 | [] | no_license | package com.kangleju.care.iotservice.repository;
import org.springframework.data.repository.CrudRepository;
import com.kangleju.care.iotservice.model.PositionData;
public interface PositionDataRepository extends CrudRepository<PositionData, String> {
}
| true |
79ef8d8d482e49af1dee568e6022729039ae3be5 | Java | durgeshtrivedi/Restrorent | /app/src/main/java/com/durgesh/restaurant/ui/home/HomeInteractor.java | UTF-8 | 4,504 | 2.265625 | 2 | [] | no_license | package com.durgesh.restaurant.ui.home;
import android.location.Address;
import android.location.Geocoder;
import android.location.Location;
import android.support.annotation.NonNull;
import android.util.Log;
import com.durgesh.restaurant.models.googlePlaces.Hotel;
import com.durgesh.restaurant.models.googlePlaces.Re... | true |
88e3f1542ec06bc88a7f93020a50927112da8d4a | Java | zhengkaiw/Assignment6 | /src/C/Cat.java | UTF-8 | 1,698 | 3.28125 | 3 | [] | no_license | /**
* Created by zhengkevin on 2/26/17.
*/
public class Cat extends Pet implements Boardable{
private String hairLength;
protected int smonth;
protected int emonth;
protected int sday;
protected int eday;
protected int syear;
protected int eyear;
public String getHairLength(){
... | true |
a8a92c5f04f412401ebf540782ea59bcd8578015 | Java | sebaudracco/bubble | /com/vungle/publisher/zg.java | UTF-8 | 877 | 1.796875 | 2 | [] | no_license | package com.vungle.publisher;
import dagger.MembersInjector;
import dagger.internal.Factory;
import dagger.internal.MembersInjectors;
/* compiled from: vungle */
public final class zg implements Factory<zf> {
static final /* synthetic */ boolean f11386a = (!zg.class.desiredAssertionStatus());
private final Me... | true |
44209eca3df09dff77f7ef3e478b777058899bac | Java | SansonRoot/account_registration | /app/src/main/java/com/softmastersgroup/umo/umoagent/AddressActivity.java | UTF-8 | 15,323 | 1.5625 | 2 | [] | no_license | package com.softmastersgroup.umo.umoagent;
import android.Manifest;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.location.Address;
import android.location.Geocoder;
import android.location.Location;
import android.os.Bundle;
import android.supp... | true |
4e8ec04f4c9552d4d455d281283b71785f19febf | Java | xudong94611/first | /SpringMVC/springmvc-mybatis01/src/com/itheima/springmvc/service/ItemService.java | UTF-8 | 237 | 1.859375 | 2 | [] | no_license | package com.itheima.springmvc.service;
import java.util.List;
import com.itheima.springmvc.pojo.Items;
public interface ItemService {
List<Items> selectItemList();
Items selectItemById(Integer id);
void updateItem(Items item);
}
| true |
fc898c250eff8e503bd0009f6cc4aa14c5e5b077 | Java | rtybase/pmml-microservice | /src/test/java/com/rtybase/ml/service/phishingclassification/resource/PhishingClassificationResourceTest.java | UTF-8 | 2,133 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | package com.rtybase.ml.service.phishingclassification.resource;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.mock;
import java.util.HashMap;
import java.util.Map;
import javax.ws.rs.ClientErrorException;
import javax.ws.rs.client.Entity;
import javax.ws.rs.core.GenericType;
import s... | true |
0c6482dda64d2552d827374fbedfc5b129bb2c29 | Java | yuhb14/PCshang | /src/com/PCshang/util/InsertDbUtil.java | UTF-8 | 1,426 | 2.625 | 3 | [] | no_license | package com.PCshang.util;
import java.sql.Connection;
import javax.swing.JOptionPane;
import com.PCshang.dao.EulerAngleDao;
import com.PCshang.dao.MotorVelocityDao;
import com.PCshang.model.EulerAngle;
import com.PCshang.model.MotorVelocity;
import com.PCshang.view.MainFrame;
public class InsertDbUtil {
private... | true |
400605ffabeab15bacf92aed308d35956b917bf1 | Java | jcqln/IF3111-Tugas-1-Android | /app/src/main/java/com/tomjerry/RefreshTrackJerryActivity.java | UTF-8 | 2,957 | 2.078125 | 2 | [
"MIT"
] | permissive | package com.tomjerry;
import android.content.Context;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpCl... | true |
ae823faa8f4fb2251aaf0e4e76bd835454a7dbe2 | Java | shivtest/epibook.github.io | /solutions/java/src/main/java/com/epi/FindingMinMax.java | UTF-8 | 1,851 | 3.25 | 3 | [] | no_license | package com.epi;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import com.epi.utils.Pair;
/**
* @author translated from c++ by Blazheev Alexander
*/
public class FindingMinMax {
// @include
// Return (min, max) pair of elements in A.
public static P... | true |