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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
8050cc8b15f5b8fba7a8d0ec85bdcef9f1709d1f | Java | empinator/JDiffPatch | /src/test/java/de/polstelle/diffpatch/model/Address.java | UTF-8 | 248 | 2.078125 | 2 | [] | no_license | package de.polstelle.diffpatch.model;
public class Address {
private String postfach;
public String getPostfach() {
return postfach;
}
public void setPostfach(String postfach) {
this.postfach = postfach;
}
}
| true |
4b0fcb2d82c2151269422e4e4f0390e9f72d659c | Java | gaotong6434/opencode-platform | /src/main/java/cn/meteor/opencode/platform/entity/Branch.java | UTF-8 | 570 | 1.945313 | 2 | [] | no_license | package cn.meteor.opencode.platform.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@Data
@TableName("branch")
//@TableName("User")
public class Branch {
@TableField("branch_id")
//分支id
private String branchId;
... | true |
a1c517d98d416766f380b7d556efc9c89ab2776a | Java | membermanagesystem/MemberManageSystem | /src/main/java/com/zs/controller/TestController.java | UTF-8 | 465 | 1.671875 | 2 | [] | no_license | package com.zs.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;
@Controller
/*@RequestMapping("/test")*/
public class T... | true |
31cc9bd6dba58dbc131b021d834a2538773c1ca4 | Java | Tomatinho13/TP05-smarttraining | /smarttraining-core/src/br/cefetmg/inf/model/adapter/ManterMusculoAdapter.java | UTF-8 | 1,458 | 2.515625 | 3 | [] | no_license | package br.cefetmg.inf.model.adapter;
import br.cefetmg.inf.model.domain.Musculo;
import br.cefetmg.inf.model.services.IManterMusculo;
import br.cefetmg.inf.model.services.impl.ManterMusculo;
import java.rmi.RemoteException;
import java.sql.SQLException;
import java.util.ArrayList;
public class ManterMusculoAdapter i... | true |
201d53f19202e7522845847cf0e357ceedcc6516 | Java | techquest/autopay-sdk-java | /autopay-sdk-beneficiary-upload/src/main/java/com/interswitchng/techquest/autopay/sdk/beneficiary/upload/utils/BeneficiaryUploadSecurityUtils.java | UTF-8 | 3,441 | 2.3125 | 2 | [] | no_license | package com.interswitchng.techquest.autopay.sdk.beneficiary.upload.utils;
import java.security.SecureRandom;
import java.util.ArrayList;
import org.bouncycastle.util.encoders.Hex;
import com.interswitchng.techquest.autopay.sdk.beneficiary.upload.dto.BeneficiaryRequest;
import com.interswitchng.techquest.autopay.sdk.... | true |
c7e1b42e66c3fa95b8e143245b246cdfdca035e0 | Java | EdFrota/overwatchapi | /src/main/java/com/overwatch/api/repository/HeroRepository.java | UTF-8 | 438 | 2.328125 | 2 | [] | no_license | package com.overwatch.api.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.overwatch.api.model.Hero;
/**
* Repository to deal with {@link Hero}
*
* @author edmundofrota
*/
public interface HeroRepository extends JpaRepository<Hero, Integer> {
/**
* Find {@link Hero} by na... | true |
4e91ce318ed0518a1b272edeb9039aa4aa76fef0 | Java | vytjan/buggyCommits | /src/versioningSystem/bean/BlameBean.java | UTF-8 | 1,875 | 2.15625 | 2 | [] | no_license | package versioningSystem.bean;
import java.util.Date;
import java.util.Vector;
public class BlameBean {
private String bugCommitId;
private String preBugCommitId;
private String authorName;
private String fileName;
private Vector<String> addedLines;
private Vector<String> removedLines;
private String addedNumb... | true |
f74b2cc5d6148fef1e6f391f72e66cf56b09e779 | Java | darwink/Themis | /dealer/src/test/java/com/jdc/themis/dealer/data/hibernate/type/TestPersistentTimestamp.java | UTF-8 | 3,072 | 2.25 | 2 | [] | no_license | package com.jdc.themis.dealer.data.hibernate.type;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import java.sql.Date;
import java.sql.PreparedStatement;
import ja... | true |
2797663544de3ee558a4fec11a07429b917de869 | Java | harisraza999/primeflix | /app/src/main/java/com/rcloud/netflix/MyWalletActivity.java | UTF-8 | 53,458 | 1.507813 | 2 | [] | no_license | package com.rcloud.netflix;
import android.app.Activity;
import android.app.ProgressDialog;
import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;
import org.json.JSONException;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.Uri;
import android.os... | true |
03cb369780f82c1a525c2a57dd7500cba73678c4 | Java | anwajler/p2pm | /sources/pubsub/src/main/java/pl/edu/pjwstk/mteam/pubsub/core/RuleSet.java | UTF-8 | 3,009 | 3.03125 | 3 | [] | no_license | package pl.edu.pjwstk.mteam.pubsub.core;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.Collection;
import java.util.Hashtable;
import java.util.Iterator;
/**
* Class representing set of rules.
*
* @author Paulina Adamska s3529@pjwst... | true |
999f316ad8161154c05cdcaa031ece8c45398db6 | Java | balavart/Marketplace | /src/test/java/com/epam/balaian/hibernate/services/UserServiceTest.java | UTF-8 | 2,573 | 2.296875 | 2 | [] | no_license | package com.epam.balaian.hibernate.services;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyLong;
import static org.mockito.BDDMockito.given;
import stat... | true |
a9b5434d155a46f5fe66e612688a532592d6467b | Java | sonatype/sonatype-archetype | /archetype-common/src/main/java/org/apache/maven/archetype/ui/DefaultArchetypeGenerationQueryer.java | UTF-8 | 3,634 | 2.078125 | 2 | [] | no_license | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | true |
9c761bf31a000e7bbd744fb99b65ace65f584b9b | Java | zzj0222/SpringCloudProject | /demo-parent/demo-member/src/main/java/com/demo/member/service/impl/FeignServiceImpl.java | UTF-8 | 480 | 1.648438 | 2 | [] | no_license | //package com.demo.member.service.impl;
//
//
//import com.demo.member.service.FeignService;
//import com.demo.product.model.Product;
//import org.springframework.stereotype.Service;
//
//import javax.annotation.Resource;
//import java.util.List;
//
///**
// * @author zzj
// * @create 2018-11-07 10:25
// * */
//@Servic... | true |
77313980ba06af668c17b181dcc68d11241d5535 | Java | VladShapeshifter/BruceEckelTasks | /src/net/mindview/chapter11/PriorityQueueUse.java | UTF-8 | 483 | 2.953125 | 3 | [] | no_license | package net.mindview.chapter11;
import java.util.Iterator;
import java.util.PriorityQueue;
import java.util.Random;
public class PriorityQueueUse {
public static void main(String[] args) {
PriorityQueue<Double> queue = new PriorityQueue<>();
Random rand = new Random();
for (int i = 0; i < ... | true |
16df4f61eefe7874585d07ffd709d8f8fba4eee9 | Java | sun-pyo/Network-Omock | /OmockClient/src/TimeMsg.java | UHC | 545 | 2.46875 | 2 | [] | no_license |
// ChatMsg.java ä ObjectStream .
import java.awt.Color;
import java.awt.event.MouseEvent;
import java.io.Serializable;
import java.util.ArrayList;
import javax.swing.ImageIcon;
class TimeMsg implements Serializable {
private static final long serialVersionUID = 1L;
public String code;
public String player;
pu... | true |
492db0e4463e30b80ead7e3a6bcca19313056653 | Java | Madrid-7/Java_test | /2019_11_16_2/src/List.java | UTF-8 | 1,568 | 3.78125 | 4 | [] | no_license | class ListNode {
public int data;
public ListNode next;
public ListNode (int data) {
this.data = data;
this.next = null;
}
}
class List {
public ListNode head;
public List() {
this.head = null;
}
public void addFirst(int data) {
if(this.head == null) {
... | true |
ab3f25f243261ca2b8f2ac829d7825167c4f2cc2 | Java | WWWbinWWW/SpringPractice2 | /practice2/src/main/java/org/wu/practice2/Practice2Application.java | UTF-8 | 1,316 | 2.40625 | 2 | [] | no_license | package org.wu.practice2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import java.util.Arra... | true |
b65dd2eccadeb347f005878e08ef0010e9b27703 | Java | bkumar1/Publications | /src/main/java/com/keywords/publications/service/PublicationService.java | UTF-8 | 1,081 | 2.078125 | 2 | [] | no_license | package com.keywords.publications.service;
import org.springframework.data.jpa.repository.Query;
import com.keywords.publications.exception.PublicationException;
import com.keywords.publications.model.PublicationRequest;
import com.keywords.publications.model.PublicationResponse;
/**
* @author BrijendraK
*
*/
pub... | true |
d7a6a887ccf01145db11b8f9b052d346b74a3c20 | Java | MichalSzewczyk/decision-tree | /src/main/java/com/szewczyk/decisiontree/logic/Tree.java | UTF-8 | 195 | 2.109375 | 2 | [] | no_license | package com.szewczyk.decisiontree.logic;
import java.util.Set;
public interface Tree {
Attribute buildAndReturnRootAttribute();
Set<Attribute> getAttributes();
String toString();
}
| true |
7ba2569f0647d481121e6a1db7c60a019ed0e3f5 | Java | teliwal/yanport | /src/main/java/com/ihoover/OutOfGridException.java | UTF-8 | 154 | 1.953125 | 2 | [] | no_license | package com.ihoover;
public class OutOfGridException extends Exception{
public OutOfGridException(String message) {
super(message);
}
}
| true |
2ea8c01072395d218902e051c91e4692f4836b50 | Java | wicknicks/cuenet | /src/test/java/esl/cuenet/mapper/parsers/MappingParserTest.java | UTF-8 | 2,281 | 2.53125 | 3 | [] | no_license | package esl.cuenet.mapper.parsers;
import esl.cuenet.mapper.parser.MappingParser;
import esl.cuenet.mapper.parser.ParseException;
import esl.cuenet.mapper.tree.IParseTree;
import esl.cuenet.mapper.tree.IParseTreeCreator;
import org.junit.Test;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
impo... | true |
62393b4d300e1dc6a66e9a21a85906fc0387ec93 | Java | yexiaoyu/spring-boot-template | /gx-question-modules/gx-question-service/src/main/java/com/guanxun/service/UserService.java | UTF-8 | 927 | 2.109375 | 2 | [] | no_license | package com.guanxun.service;
import com.guanxun.mapper.*;
import com.guanxun.model.*;
import org.springframework.beans.factory.annotation.*;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.*;
import java.util.List;
@Service
public class UserService {
@Autowired
p... | true |
36a7035f185347913967226f250d01d9f7a12a32 | Java | brooktran/jeelee | /jchat/src/JTalkServer.java | UTF-8 | 11,825 | 2.859375 | 3 | [] | no_license | /*
* Simple Chat room Server written by Aviad Golan...
*/
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Button;
import java.awt.Panel;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Frame;
import java.awt.TextField;
import java.awt.TextArea;
import java.aw... | true |
7b58aac8e0839fafd3effd60ce164cfea83aeb95 | Java | LBCesar/WarehouseManagmentSystem | /app/src/main/java/com/example/warehousemanagmentsystem491b/Employee/DisplayCustomer.java | UTF-8 | 1,429 | 2.40625 | 2 | [] | no_license | package com.example.warehousemanagmentsystem491b.Employee;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import androidx.appcompat.app.AppCompatActivity;
import com.example.warehousemanagmentsystem491b.R;
import java.util.ArrayList;
import java.util.List;
public clas... | true |
36a5f1c0ee917ad8c652b46691388fbf754df930 | Java | lordjoe/spectra-cluster | /spectra-cluster-quality/branches/development/src/main/java/uk/ac/ebi/pride/spectracluster/clustersmilarity/AbstractClusterWriter.java | UTF-8 | 992 | 2.171875 | 2 | [] | no_license | package uk.ac.ebi.pride.spectracluster.clustersmilarity;
import com.lordjoe.utilities.TypedPredicate;
import com.lordjoe.utilities.TypedVisitor;
import uk.ac.ebi.pride.spectracluster.cluster.IPeptideSpectralCluster;
import uk.ac.ebi.pride.spectracluster.io.DotClusterClusterAppender;
import javax.annotation.Nonnull;
... | true |
998564975009d4cc985337c49e30d38c483e7820 | Java | desarrollosrosarinos/opensqldroid | /app/src/main/java/ar/com/desarrollosrosarinos/opensqldroid/threads/QueriesRunnerInterface.java | UTF-8 | 211 | 1.578125 | 2 | [] | no_license | package ar.com.desarrollosrosarinos.opensqldroid.threads;
public interface QueriesRunnerInterface {
public void onProgressUpdate(Float progress);
public void onQueryFinished(int code,String result);
}
| true |
9979f036e264d89295683f7c3e58fa32f7a9c335 | Java | cmzmasek/forester | /forester/java/src/org/forester/phylogeny/data/NodeData.java | UTF-8 | 17,293 | 1.953125 | 2 | [] | no_license | // $Id:
// FORESTER -- software libraries and applications
// for evolutionary biology research and applications.
//
// Copyright (C) 2008-2009 Christian M. Zmasek
// Copyright (C) 2008-2009 Burnham Institute for Medical Research
// Copyright (C) 2000-2001 Washington University School of Medicine
// and Howard Hughes M... | true |
7b5fed92887ff0f7e70c5bc11f33ac4465d54f76 | Java | Jackwong5188/heima_project | /health_project/health_parent/health_service/src/main/java/com/itheima/health/service/impl/SetmealServiceImpl.java | UTF-8 | 9,372 | 2.3125 | 2 | [] | no_license | package com.itheima.health.service.impl;
import com.alibaba.dubbo.config.annotation.Service;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.itheima.health.constant.RedisConstant;
import com.itheima.health.dao.CheckItemDao;
import com.itheima.health.dao.SetmealDao;
import com.ith... | true |
a74782db67ee25170573410fa418445b476d8977 | Java | 317432023/la | /la-api/src/main/java/com/jeetx/service/lottery/LotteryRobotPlantConfigService.java | UTF-8 | 353 | 1.65625 | 2 | [] | no_license | package com.jeetx.service.lottery;
import com.jeetx.bean.lottery.LotteryRobotPlantConfig;
import com.jeetx.service.dao.DAO;
public interface LotteryRobotPlantConfigService extends DAO<LotteryRobotPlantConfig> {
public LotteryRobotPlantConfig findLotteryRobotPlantConfig(Integer lotteryRoomId);
public void initRobotP... | true |
b49d7edc973c12e2a68e017744fea7cd4770f89c | Java | Ionuc/books_summaries | /summaries/UllinkInterview/src/main/java/com/imesaros/ullinkinterview/livecoding/CustomStackWithArray.java | UTF-8 | 1,643 | 4.09375 | 4 | [] | no_license | package com.imesaros.ullinkinterview.livecoding;
/**
* Custom Stack:
Design a stack that supports the following operations:
- push <number> --> pushes a number on top of the stack
- pop --> returns the number removed from the top of the stack
- inc <number_of_elements> <increment> --> increment the last <number_... | true |
56a9a95e7bc38e1aff1fa3d6936889756a48ed27 | Java | xujunmeng/DesignPattern | /src/main/java/xxldemo/行为型/责任链/Client.java | UTF-8 | 326 | 2.28125 | 2 | [] | no_license | package xxldemo.行为型.责任链;
/**
* @author james
* @date 2020/6/24
*/
public class Client {
public static void main(String[] args) {
Handler handler1 = new ConcreteHandler1(null);
Handler handler2 = new ConcreteHandler2(handler1);
handler2.handleRequest(RequestType.TYPE1);
}
}
| true |
d0488875af7fee8d23b41dceaf5e817589d3c19f | Java | AdelinGhanaem/jads | /src/main/java/com/sorting/Main.java | UTF-8 | 271 | 2.75 | 3 | [] | no_license | package com.sorting;
public class Main {
public static void main(String[] args) {
InversionsCounter algorithm = new InversionsCounter();
Integer[] integer = new Integer[]{6,5,4,3,2,1};
Integer count = algorithm.count(integer);
System.out.print(count);
}
}
| true |
f64373b28e29f4b4fc84c0ce0aa0e67803eb525c | Java | Corrun/groupe-10 | /src/jeuDesPetitsCheveaux/TypeCase.java | UTF-8 | 74 | 1.710938 | 2 | [] | no_license | package jeuDesPetitsCheveaux;
public enum TypeCase {
VIDE, QUESTIONS;
}
| true |
a935db0a08e198d2a8f7abb0751244b97eaf7b2f | Java | fqlovecoding/ffq_jfinal | /src/main/java/com/ffq/util/BaseConfig.java | UTF-8 | 1,026 | 1.984375 | 2 | [] | no_license | package com.ffq.util;
import com.jfinal.config.Constants;
import com.jfinal.config.Handlers;
import com.jfinal.config.Interceptors;
import com.jfinal.config.JFinalConfig;
import com.jfinal.config.Plugins;
import com.jfinal.config.Routes;
import com.jfinal.template.Engine;
/**
* @ClassName: BaseConfig
* @Descript... | true |
c572d0c1476fafbe1150e67f66f1c6dff570004f | Java | sandance/MyPractice | /4C/Main.java | UTF-8 | 456 | 3.125 | 3 | [] | no_license | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n=sc.nextInt();
HashMap<String, Integer > map = new HashMap<String, Integer> ();
for (int i =0; i<n ; i++){
String s= sc.next();
if(!map.containsKey(s)) {
System.out... | true |
c106fce665f9f88a79ac542a5e07d8f5fb3f4717 | Java | svanini/CollegeDatabaseApplication | /app/src/main/java/com/example/collegedatabaseapplication/Activities/MainActivity.java | UTF-8 | 2,467 | 2.296875 | 2 | [] | no_license | package com.example.collegedatabaseapplication.Activities;
import androidx.appcompat.app.AppCompatActivity;
import androidx.lifecycle.Observer;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import com.e... | true |
c2b8d349e2ca775b46dcc7af250ad106120fc784 | Java | zapa4234/PocketCS | /app/src/main/java/edu/csumb/moli9479/applicationpocketcs/CategoryDataDisplay.java | UTF-8 | 11,204 | 2.328125 | 2 | [] | no_license | package edu.csumb.moli9479.applicationpocketcs;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.method.LinkMovementMethod;
import android.text.util.Linkify;
import android.view.View... | true |
e4311f9358e274cd877c3009e46be0c17f26fa17 | Java | shockwave4488/FRC-2018-Public | /main/java/org/usfirst/frc/team4488/robot/systems/Manipulator.java | UTF-8 | 13,256 | 2.03125 | 2 | [
"MIT"
] | permissive | package org.usfirst.frc.team4488.robot.systems;
import JavaRoboticsLib.ControlSystems.SimPID;
import com.ctre.phoenix.motorcontrol.ControlMode;
import com.ctre.phoenix.motorcontrol.NeutralMode;
import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX;
import edu.wpi.first.wpilibj.Solenoid;
import edu.wpi.first.wpilibj.sm... | true |
8857a32cb1eddd05dd93c05e3a9cab63cebb012e | Java | GlaucoSouza/Ultra_vision | /src/options/updateCustomer.java | UTF-8 | 284 | 1.5625 | 2 | [] | no_license | package options;
import java.util.ArrayList;
/**
* I did not manage to work with this class
* but it should update a customer's information like name, email or their subscription
* @author Glauco
*
*/
public class updateCustomer {
public updateCustomer() {
}
}
| true |
caae68bc93162950028cd58de1157e12e1bf2ecd | Java | rahul-me/e-ope | /src/com/gridscape/sep/org/zigbee/sep/FileLink.java | UTF-8 | 829 | 1.890625 | 2 | [] | no_license |
package com.gridscape.sep.org.zigbee.sep;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* This element MUST be set to the URI of the most recent File being loaded/activated by the LD. In the case of file status 0, thi... | true |
7821a0efa73f56e12b410dece74c340671c34dc2 | Java | murugaraja/Spring | /Spring Examples/SpringExample6/src/JSON.java | UTF-8 | 119 | 1.90625 | 2 | [] | no_license |
public class JSON implements Opt{
@Override
public void read() {
}
@Override
public void write() {
}
}
| true |
b1cd10ed4838cfeeec6f9b02754c5b9d531358d2 | Java | vyphanduy1234/Android_Project | /app/src/main/java/com/example/lenovo/my_project/view/IBaseView.java | UTF-8 | 98 | 1.570313 | 2 | [] | no_license | package com.example.lenovo.my_project.view;
public interface IBaseView {
void initView();
}
| true |
d5db6791411196f1b8bfb68409a1f4c2cfca9ffa | Java | LeogenWP/homeWork_1.5 | /src/main/java/com/LeogenWP/basepatterns/behavioral/strategy/Speaking.java | UTF-8 | 196 | 2.296875 | 2 | [] | no_license | package com.LeogenWP.basepatterns.behavioral.strategy;
public class Speaking implements Activity {
@Override
public void doActivity() {
System.out.println("speaking...");
}
}
| true |
58b8ceae75c9233dbd05e3a6f3c9737b25de945c | Java | Shadow493/anathema | /Character_MeritsFlaws/src/net/sf/anathema/character/meritsflaws/presenter/MeritsFlawsViewProperties.java | UTF-8 | 3,453 | 2.03125 | 2 | [] | no_license | package net.sf.anathema.character.meritsflaws.presenter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import javax.swing.Icon;
import javax.swing.ListCellRenderer;
import net.sf.anathema.character.meritsflaws.model.perk.PerkCategory;
import net.sf.anathema.character.meri... | true |
04dc5f8668e1df55f4b54c73d8f904afb07c6fcb | Java | Bartek321/Projekt-Java | /Threads/src/Pack/Notify.java | UTF-8 | 806 | 2.78125 | 3 | [] | no_license | package Pack;
public class Notify {
private Integer stationId;
private String type;
private String date;
private Double value;
public Notify(Integer stationId, String type, String date, Double value) {
this.stationId = stationId;
this.type = type;
this.date = date;
this.value = value;
}
... | true |
5d9388ba4c5e4a1ec8deb8371f5e2fd447637a57 | Java | tpenakov/otaibe-commons-quarkus | /otaibe-commons-quarkus-web/src/main/java/org/otaibe/commons/quarkus/web/domain/AbstractMicroRs.java | UTF-8 | 452 | 2.0625 | 2 | [
"MIT"
] | permissive | package org.otaibe.commons.quarkus.web.domain;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.ArrayList;
import java.util.List;
@Data
@NoArgsConstructor
public class AbstractMicroRs<T> {
List<T> result;
Page page;
ErrorRs error;
Long totalResults;
public void add(T entity)... | true |
e3a1e46cb53e207dadd7606d4dcd9cb45ea456ce | Java | shakim/openstack-java-sdk | /quantum-client/src/main/java/org/openstack/quantum/api/networks/ListNetworks.java | UTF-8 | 465 | 2.03125 | 2 | [
"Apache-2.0"
] | permissive | package org.openstack.quantum.api.networks;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import org.openstack.quantum.client.QuantumCommand;
import org.openstack.quantum.model.Networks;
public class ListNetworks implements QuantumCommand<Networks> {
public ListNetworks() {
}
public N... | true |
5cfa94a5db06c37511d5825b4bc6157bc97c4b85 | Java | Hurson/mysql | /ADS1.0/src/java/com/avit/ads/dtmb/bean/DAdPosition.java | UTF-8 | 3,666 | 2.140625 | 2 | [] | no_license | package com.avit.ads.dtmb.bean;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
@... | true |
93c6c67e1b1e1fb6de59cee5045a077d2b107f40 | Java | mikeguan1999/Somniphobia | /core/src/edu/cornell/gdiac/somniphobia/game/controllers/PlatformController.java | UTF-8 | 8,764 | 2.28125 | 2 | [] | no_license | package edu.cornell.gdiac.somniphobia.game.controllers;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.physics.box2d.Filter;
import edu.cornell.gdiac.somniphobia.WorldController;
import edu.cornell.gdiac.somniphobia.game.models.PlatformModel;
import edu.cornell.gdiac.somniphobia.obstacle.*;
import edu.c... | true |
ca6c54e16341fa6b45927bb7e9fb245e7b399230 | Java | rafaelmedeirosjob/oilprice | /API/challenge/src/main/java/br/com/indra/challenge/repository/MunicipioRepository.java | UTF-8 | 270 | 1.859375 | 2 | [] | no_license | package br.com.indra.challenge.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import br.com.indra.challenge.model.Municipio;
public interface MunicipioRepository extends JpaRepository<Municipio, Long>{
Municipio findByNome(String nome);
}
| true |
ae474dd1c6bb851ed69cb6f5df6c312936151d9c | Java | hisun-zzb-team/hisun-zzb | /src/main/java/com/hisun/saas/zzb/a/dao/impl/A17DaoImpl.java | UTF-8 | 639 | 1.53125 | 2 | [] | no_license | /*
* Copyright (c) 2018. Hunan Hisun Union Information Technology Co, Ltd. All rights reserved.
* http://www.hn-hisun.com
* 注意:本内容知识产权属于湖南海数互联信息技术有限公司所有,除非取得商业授权,否则不得用于商业目的.
*/
package com.hisun.saas.zzb.a.dao.impl;
import com.hisun.saas.sys.tenant.base.dao.imp.TenantBaseDaoImpl;
import com.hisun.saas.zzb.a.dao.A... | true |
8c8e21e5a4f226a8401582795f203abb7f279ddb | Java | m1cron/mireaPDF | /src/main/java/ru/micron/ui/UiConstants.java | UTF-8 | 1,121 | 2.140625 | 2 | [
"MIT"
] | permissive | package ru.micron.ui;
import java.awt.Color;
import java.awt.Font;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class UiConstants {
public static final int FRAME_WIDTH = 725;
public static final int FRAME_HEIGHT = 530;
public st... | true |
1c3ab52f8529c0b400f3d631d3e0527487af7f0a | Java | IRH01/boast-west-journey | /src/main/java/com/hhly/smartdata/util/DateUtil.java | UTF-8 | 5,096 | 3.5 | 4 | [] | no_license | package com.hhly.smartdata.util;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class DateUtil{
/**
* 解析日期成对应的字符串 yyyy-MM-dd HH:mm:ss
*
* @param date 日期
* @return 字符串
*/
public static String date2String(Date date){
if(date == null... | true |
758c4fe794659491a8b0288fa9b1521a4fc911df | Java | fengdongfei/greemDao-database | /app/src/main/java/net/cps/myapplication/backup/Utils.java | UTF-8 | 6,251 | 2.078125 | 2 | [] | no_license | package net.cps.myapplication.backup;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.support.v4.content.FileProvider;
import android.support.v7.app.AlertDialog;
import android.util.Log;
import com.snat... | true |
087cd644b34f25b25a160ecc2c261e069e5ae5be | Java | plasklab/yoshise-icpc | /ALDS1/8_C/src/Main.java | UTF-8 | 2,260 | 3.09375 | 3 | [] | no_license | import java.util.Scanner;
public class Main {
static Node r;
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int x;
String com;
int cnt=0;
for(int i=0; i<n; i++){
com = sc.next();
if(com.equals("insert")){
x = sc.nextInt();
insert(new Node... | true |
9afc3830ab5025b93de6cda2ee1e7749797312b3 | Java | hw233/app2-java | /center/src/com/chuangyou/xianni/state/condition/magicwp/MagicWpStateCondition.java | UTF-8 | 3,450 | 2.296875 | 2 | [] | no_license | package com.chuangyou.xianni.state.condition.magicwp;
import java.util.Map;
import com.chuangyou.xianni.entity.magicwp.MagicwpInfo;
import com.chuangyou.xianni.entity.state.StateConditionConfig;
import com.chuangyou.xianni.entity.state.StateConditionInfo;
import com.chuangyou.xianni.event.EventNameType;
import com.ch... | true |
e02a665c248c520527274a224e7ac8649c61d51c | Java | jarekpc/TestGit1 | /src/main/java/com/jarek/Main.java | UTF-8 | 960 | 3.5 | 4 | [] | no_license | package com.jarek;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Arrays;
import java.util.List;
public class Main {
public static void main(String[] args) {
LocalDateTime localDateTime = LocalDateTime.now();
DateTimeFormatter dateTimeFormatter = DateT... | true |
35969b5a3c036f3d399ccda9e855ae54ab63d722 | Java | PRIDE-Toolsuite/pride-inspector | /src/main/java/uk/ac/ebi/pride/toolsuite/gui/utils/SortOrderUtils.java | UTF-8 | 834 | 2.921875 | 3 | [
"Apache-2.0"
] | permissive | package uk.ac.ebi.pride.toolsuite.gui.utils;
import javax.swing.*;
/**
* @author ypriverol
* @author rwang
*/
public class SortOrderUtils {
/**
* Convenience to check if the order is sorted.
* @return false if unsorted, true for ascending/descending.
*/
public static boolean isSorted(SortOr... | true |
19f6b354dbb7e9d3509b6e5154a6f71be23be3dc | Java | javarias/acsBaciCodeGen | /vvaras.acsBaciCodeGen.model/src/baciCodeGen/BACIProperties/RWlong.java | UTF-8 | 5,264 | 2.375 | 2 | [] | no_license | /**
*/
package baciCodeGen.BACIProperties;
import baciCodeGen.PropertyDefinition;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>RWlong</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Read Write Long Property
* <!-- end-model-doc -->
*
* <p>
* The following f... | true |
b801fa95a229374fce6b91a97f875b74e7797aa6 | Java | leoJerez/elecciones-consejos-comunales | /branches/integracion_eclipse/src/org/eleccion_comunal/model/dao/EstadoDAO.java | UTF-8 | 386 | 2.046875 | 2 | [] | no_license | package org.eleccion_comunal.model.dao;
import org.eleccion_comunal.model.dto.Estado;
public class EstadoDAO extends DAOGenerico {
private static EstadoDAO instancia;
public static EstadoDAO getInstancia() {
if (instancia == null) {
instancia = new EstadoDAO();
}
return instancia;
... | true |
c7b9829bbcf4aab66a7a3cc7604fad6a6a6a06f7 | Java | edertrevisoli/bluebird | /bluebird/src/main/java/com/bluebird/config/ApplicationJSF.java | UTF-8 | 1,783 | 1.960938 | 2 | [] | no_license | package com.bluebird.config;
import java.util.HashMap;
import javax.faces.webapp.FacesServlet;
import org.springframework.beans.factory.config.CustomScopeConfigurer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframe... | true |
8c420697eb0948958babe469ad08e72b4b4d6d75 | Java | Akshansh986/Suzik | /suzik/src/main/java/com/blackMonster/suzik/sync/Syncer.java | UTF-8 | 6,288 | 2.09375 | 2 | [] | no_license | package com.blackMonster.suzik.sync;
import static com.blackMonster.suzik.util.LogUtils.*;
import android.app.AlarmManager;
import android.app.IntentService;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.SystemClock;
import android.support.v4.content... | true |
e80ccc326d1e05fe0af8c08057a6fe4ecfaa0990 | Java | nakampe/Jenkins | /src/test/java/co/za/nakampe/wwwdot/SetswanaGreetingTest.java | UTF-8 | 283 | 2.09375 | 2 | [] | no_license | package co.za.nakampe.wwwdot;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class SetswanaGreetingTest{
@Test
public void shouldReturnMessage(){
Greeting greeting = new SetswanaGreeting("Dumela");
assertEquals("Dumela",greeting.getMessage());
}
}
| true |
a7781cda070ecf19ef6966e8064ba4cc0be51e09 | Java | GBHBY/JUC | /src/com/gyb/test/JoinTest.java | UTF-8 | 699 | 2.859375 | 3 | [] | no_license | package com.gyb.test;
/**
* Description:
*
* @author GB
* @date 2022/8/12 9:18
*/
public class JoinTest {
public static void main(String[] args) throws InterruptedException {
Runnable x = new Runnable() {
@Override
public void run() {
try {
T... | true |
b38754b5730f14bc805b15ee09766d0ea9f424c4 | Java | bokyoung89/JavaFramework | /Java/src/day0508/ex02/FileClass/ex02CreateNewFolder.java | UTF-8 | 1,294 | 3.6875 | 4 | [] | no_license | package day0508.ex02.FileClass;
import java.io.File;
public class ex02CreateNewFolder {
public static void main(String[] args) {
String filePath = "C:/MyWork/MyFolder";
File file = new File(filePath);
boolean isExist = file.exists(); // 디렉토리 존재 여부
System.out.println("exist()=" + isExist);
/... | true |
400f30afd29008a1171146f2234f40d993791027 | Java | SudhansuSelenium/Java-Program-for-practice | /src/JavaProgram/ReverseEachWord.java | UTF-8 | 411 | 3.5 | 4 | [] | no_license | package JavaProgram;
import java.util.Arrays;
public class ReverseEachWord {
public static void main(String[] args) {
// Take a string
//Split the string into array
//Using for loop and taking split length and reduce the size
//print the reverse
String str = "THIS IS DEMO";
String[] split = str.split(" ... | true |
cd9361b8f27d44a36995b17976d11d74180b4d87 | Java | caol-mc/TradingPlatform | /TradingPlatform/src/main/java/com/fdmgroup/tradingplatform/tests/Register.java | UTF-8 | 1,826 | 2.0625 | 2 | [] | no_license | package com.fdmgroup.tradingplatform.tests;
import static org.junit.Assert.*;
import java.io.IOException;
import java.util.Random;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import com.fdmgroup.driverutili... | true |
8d6dfd37f8759a6eb8255331da4009e18c4d4d55 | Java | GPC-debug/lab-1 | /src/main/java/Test/TEst.java | UTF-8 | 1,219 | 2.671875 | 3 | [] | no_license | package Test;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.Reader;
import java.nio.charset.StandardCharsets;
/**
* @author xiaoqi.zyq@alibaba-inc.com
* @date 2019/11/11
* @Descript... | true |
6679c594ac6ce084f687365ee39f7b169608c035 | Java | ZjanPreijde/Java-Programming-Masterclass | /JavaPrograms/05. MyProjects/03-GameConnect/src/com/masterclass/ISaveable.java | UTF-8 | 174 | 2.109375 | 2 | [] | no_license | package com.masterclass;
import java.util.ArrayList;
public interface ISaveable {
boolean storeValue( String value, String extraInfo );
ArrayList returnValues();
}
| true |
97176bef313d2b96dd27bbf2fe073bbd5bcc11ee | Java | wherego/NowsTop-master | /NewsTop-master/app/src/main/java/com/pengwl/newstop/https/HttpService.java | UTF-8 | 519 | 1.953125 | 2 | [] | no_license | package com.pengwl.newstop.https;
import com.pengwl.newstop.entry.HttpResult;
import com.pengwl.newstop.entry.Subject;
import java.util.List;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.Query;
import rx.Observable;
/**
* Created by pengwl on 2016/11/25 0025.
*/
public interfac... | true |
5e916ba58247cdea4dcc4096bfab90f0a3207a79 | Java | RaviTejaKomma/HangMan | /app/src/main/java/com/example/raviteja/hangman/MainActivity.java | UTF-8 | 655 | 1.96875 | 2 | [
"Apache-2.0"
] | permissive | package com.example.raviteja.hangman;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
public class MainActivity extends AppCompatActivity {
@Over... | true |
26c107b54195ad7b4dcb991f8121150c31f0b641 | Java | gradle/performance-comparisons | /large-multiproject/project83/src/test/java/org/gradle/test/performance83_4/Test83_375.java | UTF-8 | 292 | 1.828125 | 2 | [] | no_license | package org.gradle.test.performance83_4;
import static org.junit.Assert.*;
public class Test83_375 {
private final Production83_375 production = new Production83_375("value");
@org.junit.Test
public void test() {
assertEquals(production.getProperty(), "value");
}
} | true |
229cf3f393376398917b63af50d2a1121a087c95 | Java | sptrakesh/sptwebmail | /src/test/com/sptci/mail/StoreManagerConnectTest.java | UTF-8 | 1,202 | 2.5 | 2 | [
"Apache-2.0"
] | permissive | package com.sptci.mail;
import static junit.framework.Assert.*;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for testing the connect method in the {@link
* com.sptci.mail.StoreManager} class.
*
* <p>Copyright 2007 <a href='http://sptci.com/' targe... | true |
d02d60f6edd53dd0ccdceb070d902ac2fba903e8 | Java | j-rust/435-pa2 | /src/com/jrust/IDFCacheMap.java | UTF-8 | 796 | 2.265625 | 2 | [] | no_license | package com.jrust;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
import java.io.IOException;
/**
* Created by Jonathan Rust on 3/23/16.
*/
public class IDFCacheMap extends Mapper<LongWritable, Text, Text, Text> {
/**
* Method used s... | true |
eac48dfd3d3b0d6ea47d25aad3acc095f0e6da48 | Java | AngelWongs/egou_parent | /egou_product_parent/egou_product_service/src/main/java/cn/ken/egou/controller/ProductExtController.java | UTF-8 | 5,224 | 2.28125 | 2 | [] | no_license | package cn.ken.egou.controller;
import cn.ken.egou.query.ProductExtQuery;
import cn.ken.egou.service.IProductExtService;
import cn.ken.egou.domain.ProductExt;
import cn.ken.egou.utils.AjaxResult;
import cn.ken.egou.utils.PageList;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.plugins.Page;
im... | true |
242e3768b488e992bbbcbba898abdd2d4ce2d7ce | Java | GuaiShushujie12138/Dingding | /src/com/guaishushu/control/ToBookList.java | UTF-8 | 8,881 | 2.359375 | 2 | [] | no_license | package com.guaishushu.control;
import java.io.IOException;
import java.util.Iterator;
import java.util.Set;
import java.util.TreeSet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax... | true |
3f1d81bad236d9af9e4f7f932e36a7354a18e8f5 | Java | devlopper/org.cyk.system.root | /root-persistence-impl-jpa/src/main/java/org/cyk/system/root/persistence/impl/GenericDaoImpl.java | UTF-8 | 2,961 | 2.09375 | 2 | [] | no_license | package org.cyk.system.root.persistence.impl;
import java.util.Collection;
import org.cyk.system.root.model.AbstractIdentifiable;
import org.cyk.system.root.model.globalidentification.GlobalIdentifier.SearchCriteria;
import org.cyk.system.root.persistence.api.GenericDao;
public class GenericDaoImpl extends AbstractP... | true |
003430157271d124564a7c9ff38a47682da13d56 | Java | jianzhaojohn/Habit-Rabbit | /app/src/main/java/comjianzhaojohnhabit_rabbit/httpsgithub/habit_rabbit/AboutusActivity.java | UTF-8 | 2,815 | 2.078125 | 2 | [] | no_license | package comjianzhaojohnhabit_rabbit.httpsgithub.habit_rabbit;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import java.io.File;
public class AboutusAc... | true |
1a3af7053595f6c5eb54bdf6713bae342bde6c17 | Java | majaBai/algorithms-4th | /graphs/src/Search.java | UTF-8 | 1,018 | 3.359375 | 3 | [] | no_license | import edu.princeton.cs.algs4.In;
public class Search{
private Graph G;
private int S;
public Search(Graph g, int s){
this.G = g;
this.S = s;
}
// check: is v connected with S
public boolean marked(int v){
return G.connected(S, v);
}
// the count of vertexes, wh... | true |
4425839d158dd5a2b41850375c3afcaf61cbf333 | Java | linjukrishnan/egrocercustomer | /egrocer-customer/src/main/java/com/java/egrocer/customer/model/Cart.java | UTF-8 | 698 | 2.28125 | 2 | [] | no_license | package com.java.egrocer.customer.model;
public class Cart {
private long cartId;
private long productId;
private int quantity;
private long customerId;
public long getCartId() {
return cartId;
}
public void setCartId(long cartId) {
this.cartId = cartId;
}
public long getProductId() {
... | true |
272957b6e47f6203573674c38bdfcf9936c5cafb | Java | bhaskarkoley87/SKUPromotionEngine | /src/main/java/com/bhk/eng/rules/Calculator.java | UTF-8 | 193 | 1.84375 | 2 | [] | no_license | package com.bhk.eng.rules;
import com.bhk.eng.beans.OrderDetails;
public interface Calculator {
public OrderDetails calculationOrder(OrderDetails orderDetails) throws Exception;
}
| true |
e5e3bde9b9139ba384225003d571e0a32f0a4f66 | Java | GlobalDataverseCommunityConsortium/dataverse | /src/test/java/edu/harvard/iq/dataverse/api/DuplicateFilesIT.java | UTF-8 | 23,459 | 2.375 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | package edu.harvard.iq.dataverse.api;
import com.jayway.restassured.RestAssured;
import com.jayway.restassured.parsing.Parser;
import com.jayway.restassured.path.json.JsonPath;
import com.jayway.restassured.response.Response;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.... | true |
7b31dc28f9b7a1b92ad5e09bc3f0fc5bd7e7cfff | Java | benjaminsoellner/TUD_MobilisMiddleware | /MobilisMedia/src/de/tudresden/inf/rn/mobilis/media/activities/RepositorySubActivityHandler.java | UTF-8 | 3,529 | 2.25 | 2 | [] | no_license | package de.tudresden.inf.rn.mobilis.media.activities;
import android.content.Intent;
import android.os.Handler;
import android.os.Message;
import android.os.Messenger;
import android.os.RemoteException;
import de.tudresden.inf.rn.mobilis.media.ConstMMedia;
import de.tudresden.inf.rn.mobilis.media.parcelables.Condition... | true |
35c6ed1d4919d2c65158cedccfde3335ce897444 | Java | ExecTec/fdp1-2017-modulo1-1 | /src/aula2/Calculadora.java | UTF-8 | 184 | 2.453125 | 2 | [] | no_license | package aula2;
public class Calculadora {
char tamanho;
String marca;
int somar(int n1, int n2) {
return n1 + n2;
}
int subtrair(int n1, int n2){
return n1-n2;
}
}
| true |
492178597afe57ee94f63a706dedc523af9d41aa | Java | bellmit/MetooMall | /src/com/metoo/foundation/dao/SysLogDAO.java | UTF-8 | 254 | 1.671875 | 2 | [] | no_license | package com.metoo.foundation.dao;
import org.springframework.stereotype.Repository;
import com.metoo.core.base.GenericDAO;
import com.metoo.foundation.domain.SysLog;
@Repository("sysLogDAO")
public class SysLogDAO extends GenericDAO<SysLog> {
} | true |
ada0cbc12c02adc562e1b862d2e8ba90bab4527a | Java | osuisumi/aa | /aip-survey/aip-survey-mobile-support/src/main/java/com/haoyu/aip/survey/mobile/entity/MSurveySubmission.java | UTF-8 | 529 | 1.851563 | 2 | [] | no_license | package com.haoyu.aip.survey.mobile.entity;
import java.io.Serializable;
import com.haoyu.sip.core.entity.User;
public class MSurveySubmission implements Serializable{
private static final long serialVersionUID = 3388226201045147531L;
private String response;
private User user;
public String getResponse() ... | true |
f6838179ee2f0b7c560ef7bfac541c221082c58d | Java | mash-up-kr/Thing-BackEnd | /src/main/java/com/mashup/thing/review/service/DeleteReviewService.java | UTF-8 | 1,616 | 2.109375 | 2 | [] | no_license | package com.mashup.thing.review.service;
import com.mashup.thing.exception.review.NotFoundReviewException;
import com.mashup.thing.exception.youtuber.NotFoundYouTuBerException;
import com.mashup.thing.review.domain.ReviewRepository;
import com.mashup.thing.review.domain.Review;
import com.mashup.thing.review.dto.ReqDe... | true |
4d464145def8fa423e543d77dcbf5924402be64b | Java | Novanet-/AI-CW1 | /AI CW1/src/game/GameResult.java | UTF-8 | 1,336 | 2.96875 | 3 | [] | no_license | package game;
import java.util.Stack;
import game.board.BoardState;
public class GameResult
{
private boolean solutionFound;
private Stack<BoardState> solutionPath;
private Integer nodesExpanded, agentMoves;
/**
* An object containing the board states that lead to the goal state of a of a run of the b... | true |
1e3841ecf56be5a230db424e77a7a93a8ca22258 | Java | ctf/CTF-Android | /temp/wrappers/RoomPrintJob.java | UTF-8 | 1,381 | 2.640625 | 3 | [] | no_license | package ca.mcgill.science.ctf.wrappers;
import android.os.Parcel;
import android.os.Parcelable;
import ca.mcgill.science.ctf.enums.Room;
import ca.mcgill.science.ctf.tepid.PrintJob;
/**
* Created by Allan Wang on 28/12/2016.
* <p>
* Wrapper class for Room and PrintJob[]
*/
public class RoomPrintJob implements P... | true |
4711966d1e106526ada001ebe489a179f2a0ad0a | Java | PeteChu/ExchangeTH_Android--Java | /app/src/main/java/com/example/schecterza/exchangerate2/view/CurrencyListItem.java | UTF-8 | 7,911 | 2.09375 | 2 | [] | no_license | package com.example.schecterza.exchangerate2.view;
import android.annotation.TargetApi;
import android.content.Context;
import android.support.annotation.AttrRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.StyleRes;
import android.util.Attri... | true |
1ea9da2cdd47a38bd64ae14c7eac563c1c01e98b | Java | aniltelaprolu/InventryAngular | /Inventory-17-Jan-2018/inventory-parent/inventory-common/src/main/java/com/inventory/common/modal/entitlement/InvUserAddress.java | UTF-8 | 3,645 | 2.125 | 2 | [] | no_license | package com.inventory.common.modal.entitlement;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persisten... | true |
79c3e3e18608ad1afb9a015f69108f6c74828202 | Java | zhangyaojun95/mybatis_plus | /src/main/java/com/atguigu/mybatisplus/entity/User.java | UTF-8 | 988 | 2.125 | 2 | [] | no_license | package com.atguigu.mybatisplus.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
/**
* @description
* @author: ZYJ
* @Date: create in 2021/9/18 11:11
**/
@AllArgsConstructor
@NoArgsConstru... | true |
6d6201c01b0046f157ed684e7541010b03cb9c33 | Java | albenw/myExcelUtil | /src/main/java/com/albenw/excel/base/reader/ExcelReader.java | UTF-8 | 4,329 | 2.34375 | 2 | [] | no_license | package com.albenw.excel.base.reader;
import com.albenw.excel.base.IndexingField;
import com.albenw.excel.base.constant.ParserTypeEnum;
import com.albenw.excel.base.context.ReaderContext;
import com.albenw.excel.base.listener.ReadEventListener;
import com.albenw.excel.base.parser.DomParserWrapper;
import com.albenw.ex... | true |
f617bb72c1bfbc3c8f63d0e0ea9c74f90491afb4 | Java | samuerio/component-poi | /src/main/java/com/issun/component/hssfworkbook/bean/type/ExcelModeType.java | UTF-8 | 287 | 2.515625 | 3 | [] | no_license | package com.issun.component.hssfworkbook.bean.type;
/**
* Excel模式:导入和导出
*
* @author ZHe
*/
public enum ExcelModeType {
IMPORT(0),EXPORT(1);
private int type;
ExcelModeType(int type){
this.type = type;
}
public int getType(){
return this.type;
}
}
| true |
7bad86b285606ce41bef701d497fb15b740c0411 | Java | sunli7758521/blue_client | /client/system_common/src/main/java/com/msj/goods/mapper/IntegralRecordMapper.java | UTF-8 | 432 | 1.71875 | 2 | [] | no_license | package com.msj.goods.mapper;
import com.msj.goods.entity.IntegralRecord;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
/**
* <p>
* 商品兑换记录表 Mapper 接口
* </p>
*
* @author sun li
* @since 2018-11-05
*/
public interface IntegralRecordMapper extends BaseMapper<Inte... | true |
2bc8b9427118d633dc619240caab504803531860 | Java | Jameslxm/EggplantFastPass | /app/src/main/java/com/james/eggplantfastpass/holder/ThreeViewHolder.java | UTF-8 | 465 | 2.109375 | 2 | [
"Apache-2.0"
] | permissive | package com.james.eggplantfastpass.holder;
import android.view.View;
import com.james.eggplantfastpass.adapter.MultiTypeAdapter;
import com.james.eggplantfastpass.model.Three;
/**
* Created by yq05481 on 2017/1/3.
*/
public class ThreeViewHolder extends BaseViewHolder<Three> {
public ThreeViewHolder(View ite... | true |
df65a09197938354d62e110fb8a0da79a2421d69 | Java | EniacHome/AndroidApp | /app/src/main/java/com/eniacdevelopment/eniachometwo/Fragments/SecurityFragment.java | UTF-8 | 4,436 | 2.203125 | 2 | [] | no_license | package com.eniacdevelopment.eniachometwo.Fragments;
/**
* Created by denni on 1/4/2017.
*/
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Handler;
import android.os.StrictMode;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.view... | true |
cece430f5ef32ea0acfd363a3f59a956724e8ec5 | Java | GueniPlayz/BanSystem-Recode | /bansystem-bukkit/src/de/papiertuch/bukkit/events/BukkitPlayerLoginNotifyEvent.java | UTF-8 | 411 | 1.96875 | 2 | [] | no_license | package de.papiertuch.bukkit.events;
import lombok.AllArgsConstructor;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import java.util.UUID;
@AllArgsConstructor
public class BukkitPlayerLoginNotifyEvent extends Event {
private UUID uuid;
private boolean state;
private HandlerList ha... | true |
6a662844e177bdf96330b0923205b27caa06fe23 | Java | Yangzhichao1125/note | /yangyou/yy-upload/src/test/java/com/yangyou/uploade/FdfsTest.java | UTF-8 | 2,061 | 1.90625 | 2 | [] | no_license | package com.yangyou.uploade;
import com.aliyun.oss.internal.OSSUploadOperation;
import com.github.tobato.fastdfs.domain.StorePath;
import com.github.tobato.fastdfs.domain.ThumbImageConfig;
import com.github.tobato.fastdfs.service.FastFileStorageClient;
import com.yangyou.upload.LyUploadService;
import com.yangyou.uplo... | true |
68f083fb6d6af3f6148305b76053b3444499d7a1 | Java | jiaxinGong/springboot-dubbo2 | /dubbo-web/src/main/java/com/jiaxin/dubbo/Application.java | UTF-8 | 2,352 | 1.992188 | 2 | [] | no_license | package com.jiaxin.dubbo;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.alibaba.fastjson.support.config.FastJsonConfig;
import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplicat... | true |