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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
1bb4d02fda15c17289de82f200b87eaa795cbffc | Java | Flyonsnow/Study-Demo | /spring-cloud-alibaba-demo/nacos-discovery-example/src/main/java/com/example/nacos/dubbo/provider/nacos/discovery/NacosDiscoveryExampleApplication.java | UTF-8 | 684 | 1.851563 | 2 | [
"Apache-2.0"
] | permissive | package com.example.nacos.dubbo.provider.nacos.discovery;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
* 注意spring cloud的版本要与spring boot版本匹配 spring-boot 2.1.x需要对应sc ... | true |
06dc5e54a630d7eaece9fe578656a22f16a6d027 | Java | tvd12/ezyfox-examples | /ezyfox-bean/src/main/java/com/tvd12/ezyfox/example/bean/repository/BookRepository.java | UTF-8 | 348 | 2.296875 | 2 | [
"Apache-2.0"
] | permissive | package com.tvd12.ezyfox.example.bean.repository;
import com.tvd12.ezyfox.bean.annotation.EzySingleton;
import com.tvd12.ezyfox.example.bean.entity.Book;
import lombok.AllArgsConstructor;
@AllArgsConstructor
@EzySingleton
public class BookRepository {
public void save(Book book) {
System.out.println("sav... | true |
ccffd825bc0808f2451748fde953e8f8dbbc605a | Java | noohk329/comento-workspace | /[1주차] 개발 환경 세팅/springweb/src/main/java/com/hk/service/MovieService.java | UTF-8 | 228 | 1.851563 | 2 | [] | no_license | package com.hk.service;
import java.util.List;
import com.hk.vo.MovieVO;
// 비즈니스 로직 작성. DB 처리 시 많이 이용.
public interface MovieService {
public List<MovieVO> selectMovie() throws Exception;
} | true |
f1e3381563380408c208840b70313ff21e758657 | Java | binfoo/springmvc | /Test15-SpringMVC2/src/main/java/org/binfoo/UserController.java | UTF-8 | 2,918 | 2.6875 | 3 | [] | no_license | package org.binfoo;
import com.google.gson.Gson;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServ... | true |
54a7ca42c4624b0b9b2d0d698463d8974617e139 | Java | lionoa/SSM | /src/main/java/com/example/pojo/Book.java | UTF-8 | 416 | 2 | 2 | [] | no_license | package com.example.pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Book {
private Integer id;
private String bo... | true |
56c09ff36999536069a2ead436b2efba1ddbefda | Java | yuluoqian/videoManager | /src/main/java/org/lc/video/controller/VideoController.java | UTF-8 | 2,765 | 2.234375 | 2 | [
"Apache-2.0"
] | permissive | package org.lc.video.controller;
import org.lc.video.model.Course;
import org.lc.video.model.Teacher;
import org.lc.video.model.Video;
import org.lc.video.service.ICourseService;
import org.lc.video.service.ITeacherService;
import org.lc.video.service.IVideoService;
import org.springframework.beans.factory.annotation.... | true |
5c29e43069a439382ecbb97ce6e4967a357b4be8 | Java | YINQIEIE/SimpleIndicator | /app/src/main/java/com/yq/simpleindicator/MainActivity.java | UTF-8 | 1,468 | 2.265625 | 2 | [] | no_license | package com.yq.simpleindicator;
import android.os.Bundle;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.view.Gravity;
import android.view.ViewGroup;
import android.widget.TextView;
import java.util.ArrayList;
import java.util.List;
public class MainActivity... | true |
c68a5bff80e34e2d2863a8d084d833784684abf7 | Java | RionPark/jwc | /src/숙제/d20200624/장재민/Bus_1.java | UTF-8 | 267 | 2.65625 | 3 | [] | no_license | package 숙제.d20200624.장재민;
public class Bus_1 extends Car_1 {
public void type() {
}
public static void main(String [] args) {
Bus_1 b = new Bus_1();
b.type = "버스";
System.out.println("차종은 " + b.type + " 입니다.");
}
}
| true |
d00a8b9cc83aee8f0f8f7cfebbed268924d77863 | Java | uniprot/enzymeportal | /benchmark/unisave/src/main/java/uk/ac/ebi/ep/unisave/repositories/UnisaveEntryCustomRepository.java | UTF-8 | 542 | 1.773438 | 2 | [
"Apache-2.0"
] | permissive | package uk.ac.ebi.ep.unisave.repositories;
import com.couchbase.client.java.document.JsonDocument;
import java.util.List;
import java.util.Set;
import org.springframework.data.repository.NoRepositoryBean;
import uk.ac.ebi.ep.unisave.documents.UnisaveEntry;
/**
*
* @author Joseph
*/
@NoRepositoryBean
public interfa... | true |
a2a9cfac3a7a89515f211779c92db1c9b7255283 | Java | Nisfeight8/travel_permits_management_system | /tpms_api/src/main/java/travel/permits/management/system/api/validator/RoleNameValidator.java | UTF-8 | 856 | 2.25 | 2 | [] | no_license | package travel.permits.management.system.api.validator;
import org.springframework.beans.factory.annotation.Autowired;
import travel.permits.management.system.api.model.enums.RoleName;
import travel.permits.management.system.api.repository.AuthorityRepository;
import javax.validation.ConstraintValidator;
import javax... | true |
0f9bb3bad032dd43d117415dde56b828d8ba2dcb | Java | s-samann/Palladio-Addons-IntBIIS | /edu.kit.ipd.sdq.eventsim/src/edu/kit/ipd/sdq/eventsim/interpreter/seff/strategies/AcquireActionTraversalStrategy.java | UTF-8 | 2,396 | 2.375 | 2 | [] | no_license | package edu.kit.ipd.sdq.eventsim.interpreter.seff.strategies;
import de.uka.ipd.sdq.pcm.repository.PassiveResource;
import de.uka.ipd.sdq.pcm.seff.AcquireAction;
import edu.kit.ipd.sdq.eventsim.entities.Request;
import edu.kit.ipd.sdq.eventsim.entities.SimPassiveResource;
import edu.kit.ipd.sdq.eventsim.events.R... | true |
7575d105e98edbaa23d3f022fbc66f5b8636f261 | Java | lizhengdao/SmartHouse | /src/cn/com/zzwfang/bean/AttentionBean.java | UTF-8 | 2,146 | 1.851563 | 2 | [] | no_license | package cn.com.zzwfang.bean;
public class AttentionBean extends BaseBean {
private String Photo;
private String Titel;
private int TypeF;
private int TypeT;
private String Diretion;
private String Floor;
private String TotalFloor;
private String EstName;
private String Pri... | true |
13fe26c6931401fdbc340e5efe8577d60a3bf7a9 | Java | kaiTran56/GUI | /JDBC/src/learn/JDBC/TestConnectMySql.java | UTF-8 | 1,924 | 3.0625 | 3 | [] | no_license | package learn.JDBC;
import java.io.FileInputStream;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Properties;
public class TestConnectMySql {... | true |
6ef19e58911c97adc1862e8d30e7eabe5062f981 | Java | Lucky-Lea/myssm | /ssm/src/main/java/com/lea/controller/UserHandler.java | UTF-8 | 1,292 | 2.203125 | 2 | [] | no_license | package com.lea.controller;
import com.lea.entity.User;
import com.lea.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springf... | true |
72a4df8be87245cacc751f7fd3fff0ce9f397467 | Java | teartao/jarvis | /jarvis-jdbc/src/main/java/net/hehe/example/JdbcTemplateEg.java | UTF-8 | 11,274 | 2.65625 | 3 | [
"Apache-2.0"
] | permissive | package net.hehe.example;
import org.springframework.jdbc.core.*;
import org.springframework.jdbc.support.GeneratedKeyHolder;
import org.springframework.jdbc.support.KeyHolder;
import org.springframework.util.Assert;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java... | true |
5745fa76c06ff004ca618f58d58a0f65249cf6fb | Java | bakhodir10/BS-framework | /src/bs/framework/Finco.java | UTF-8 | 1,740 | 2.890625 | 3 | [
"LicenseRef-scancode-other-permissive",
"MIT"
] | permissive | package bs.framework;
import bs.framework.customer.ICustomer;
import bs.framework.account.IAccount;
import bs.framework.ui.Forum;
import java.util.ArrayList;
import java.util.List;
public class Finco implements IFinco {
private String name;
private List<ICustomer> customerList;
private List<IAccount> accoun... | true |
05a0834c4cfce38a49d29426857bfe50aea1a518 | Java | dmitrybilyk/interviews | /src/main/java/com/learn/exercises/If1.java | UTF-8 | 809 | 3.8125 | 4 | [] | no_license | package com.learn.exercises;
public class If1
{
static boolean b;
public static void main(String [] args)
{
short hand = 42;
if (hand < 50 && !b) /* Line 7 */
{
hand++;
}
if (hand > 50)
{
; /* Line 9 */
}
else if (hand > 40)
... | true |
291563e6a6d05d08f9eda0a5c63821b094a36680 | Java | Flynn81/gd | /app/src/main/java/com/woodlawn/globaldominion/MainMenuActivity.java | UTF-8 | 1,452 | 2.234375 | 2 | [] | no_license | package com.woodlawn.globaldominion;
import com.woodlawn.globaldominion.map.TestMapView;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.EditText;
import android.view.View;
import android.view.View.OnClickListener;
public class MainMenuActivity extends Acti... | true |
64497fe99f12c84293a1887711509b8f9d2d31a5 | Java | chongchong01/selenium_java | /src/main/java/test2.java | UTF-8 | 829 | 2.046875 | 2 | [] | no_license | import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.util.List;
import java.util.Map;
import com.esotericsoftware.yamlbeans.YamlException;
import com.esotericsoftware.yamlbeans.YamlReader;
import org.openqa.selenium.*;
import org.openqa.selenium.support.ui.ExpectedCondition... | true |
a62a5cfa92aaaa7bb178f149170da511993abae4 | Java | SKAPUSTIANSKYI/i | /wf-base/src/main/java/org/wf/dp/dniprorada/base/model/FlowSlot.java | UTF-8 | 627 | 2.28125 | 2 | [] | no_license | package org.wf.dp.dniprorada.base.model;
import org.joda.time.DateTime;
import javax.persistence.Column;
/**
* Slot of the Flow. Stored in regional server.
*
* User: goodg_000
* Date: 14.06.2015
* Time: 15:26
*/
@javax.persistence.Entity
public class FlowSlot extends NamedEntity {
@Column
private String... | true |
d537f510bb47b39da886691518d5cd5a85704783 | Java | KrisBiserovKrumov/ProgramicBasic | /fundamentals/src/basicSyntax/Vacation.java | UTF-8 | 1,767 | 3.578125 | 4 | [] | no_license | package basicSyntax;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Vacation {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int persons = Integer... | true |
58b6e6ad8f8cdd1db35a372cad555847169d12fc | Java | delightsoft/DSCommon | /app/code/docflow/compiler/Compiler110DocumentsStep1.java | UTF-8 | 34,129 | 2.203125 | 2 | [
"Apache-2.0"
] | permissive | package code.docflow.compiler;
//
// Author: Alexey Zorkaltsev (alexey@zorkaltsev.com)
//
import code.docflow.controlflow.Result;
import code.docflow.DocflowConfig;
import code.docflow.collections.Item;
import code.docflow.compiler.enums.*;
import code.docflow.model.*;
import code.docflow.yaml.YamlMessages;
import cod... | true |
71e9b891776e6b279b2d4ea50a411d4b54dd0f0f | Java | joaogutierrre/java-collections-practice | /src/br/com/learn/TestaCurso2.java | ISO-8859-1 | 992 | 3.125 | 3 | [] | no_license | package br.com.learn;
public class TestaCurso2 {
public static void main(String[] args) {
Curso javaColecoes = new Curso("Dominando as colees do Java", "Paulo Silveira");
javaColecoes.adiciona(new Aula("Trabalhando com ArrayList", 21));
javaColecoes.adiciona(new Aula("Listas de Objetos", 20));
javaCo... | true |
32970fa21a7d2a2d804f20d2abe3778c94368c93 | Java | bajajris/ipldashboard | /src/main/java/com/rishabh/ipldashboard/data/MatchInput.java | UTF-8 | 1,472 | 1.976563 | 2 | [] | no_license | package com.rishabh.ipldashboard.data;
import lombok.Getter;
import lombok.Setter;
public class MatchInput {
private @Getter @Setter String id;
private @Getter @Setter String date;
private @Getter @Setter String city;
private @Getter @Setter String player_of_match;
private @Getter @Setter String v... | true |
ea40f089c71f2717b161f2f79afce92dd065d253 | Java | ohadfisher/triangle | /src/main/java/triangle/controller/TriangleController.java | UTF-8 | 875 | 2.140625 | 2 | [] | no_license | package triangle.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import triangle.model.State;... | true |
2af86ef0b75a8fc2dedfc340dc45fb5cc64a652d | Java | Guliaiev/Patterns | /src/test/java/ru/netology/CardOrderTest.java | UTF-8 | 3,800 | 2.21875 | 2 | [] | no_license | package ru.netology;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.Keys;
import java.time.Duration;
import static com.codeborne.selenide.Condition.*;
import static com.codeborne.selenide.Selectors.withText;
import static com.codeborne.selenide.Selenide.*;
impo... | true |
aaeeb1a211e3ab48d904c8e6a69a8ed7007444f0 | Java | nqduy91299/DesignPattern_LAB | /DP_3rdShift/src/DP/duynguyen/lab1/MultipleThread.java | UTF-8 | 365 | 2.734375 | 3 | [] | no_license | package DP.duynguyen.lab1;
public class MultipleThread implements Runnable {
private String name;
public MultipleThread(String name) {
// TODO Auto-generated constructor stub
this.name = name;
}
@Override
public void run() {
Logger logger = Logger.getInstance();
System.out.println("Thread ... | true |
d691bc80c4f0113b8e3f492fa6322eae396d343e | Java | barry3377/Ussd | /src/main/java/com/ussd/app/Ussd/controller/DepartementController.java | UTF-8 | 2,054 | 2.203125 | 2 | [] | no_license | package com.ussd.app.Ussd.controller;
import com.ussd.app.Ussd.entities.Departement;
import com.ussd.app.Ussd.repository.DepartementRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframew... | true |
44ae890a35a1e4332ed3a518a9211d62b6bd18f3 | Java | bazelbuild/bazel | /src/main/java/com/google/devtools/build/lib/starlarkbuildapi/config/ConfigGlobalLibraryApi.java | UTF-8 | 7,149 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | // Copyright 2018 The Bazel Authors. All rights reserved.
//
// 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 |
f02f2b432a296343642fa5bcf9e954cb96212ee2 | Java | nourkhattab/BravoChat | /chatapp/src/main/java/org/chat21/android/core/authentication/task/RefreshFirebaseInstanceIdTask.java | UTF-8 | 3,730 | 2.15625 | 2 | [] | no_license | package org.chat21.android.core.authentication.task;
import android.app.Application;
import android.os.AsyncTask;
import android.util.Log;
import android.widget.Toast;
import com.google.android.gms.tasks.OnSuccessListener;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.FirebaseUser;
imp... | true |
b26c0d1af3a45598405f0fbb26ffbb3a56a0bece | Java | antoniofurone/cy-bss-core | /cy-bss-core/src/org/cysoft/bss/core/dao/mysql/CountryMysql.java | UTF-8 | 5,227 | 2.3125 | 2 | [
"MIT"
] | permissive | package org.cysoft.bss.core.dao.mysql;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.cysoft.bss.core.common.CyBssException;
import org.cysoft.bss.core.dao.CountryDao;
import org.cysoft.bss.core.model.Country;
import org.slf4j.Logger;
... | true |
9aa1daafc14fc36152b07a18ec2cb86fef797b84 | Java | lqblgl/Canvas | /app/src/main/java/com/example/canvasdemo/Signature/SignatureActivity.java | UTF-8 | 434 | 1.734375 | 2 | [] | no_license | package com.example.canvasdemo.Signature;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import com.example.canvasdemo.R;
public class SignatureActivity extends AppCompatActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstan... | true |
665476c1979ffd8e3cab41fda922ebb011d4f13c | Java | se3mis/SPS_VERSION | /SPSEJBService/ejbModule/inventory/model/InwrhmapPK.java | UTF-8 | 1,314 | 2.5 | 2 | [] | no_license | package inventory.model;
import java.io.Serializable;
import javax.persistence.*;
/**
* The primary key class for the INWRHMAP database table.
*
*/
@Embeddable
public class InwrhmapPK implements Serializable {
//default serial version id, required for serializable classes.
private static final long serialVersio... | true |
1c3d201c12c173b44f9ff0d987f9367ff592feb0 | Java | Allen0003/Part-time-AU | /Triple A Super/QuickBase/inputObjs/Insert.java | UTF-8 | 681 | 2.03125 | 2 | [] | no_license | package QuickBase.inputObjs;
import java.util.HashMap;
public class Insert {
String udata = "qdbapi";
String ticket;
String apptoken;
HashMap<String, String> field;
public String getUdata() {
return udata;
}
public void setUdata(String udata) {
this.udata = udata;
}
public String getTicket() {
retu... | true |
2d61dd6a0bb80893087b6f3d152c7536f0a0a515 | Java | pearly0603/restapigitproject | /JavaBasic/src/InputOutPut/checkFileIsHidden.java | UTF-8 | 496 | 2.96875 | 3 | [] | no_license | package InputOutPut;
import java.io.File;
import java.io.IOException;
public class checkFileIsHidden {
public static void main(String[] args) throws IOException , SecurityException {
File file = new File("D:\\programs\\testData\\checker hidden\\myHiddenFile.txt");
//File file = new File("D:\\programs\\testData\... | true |
1ae7b96fa4d9684774d32232cca07fe5783007d3 | Java | yogithesymbian/Menjadi-Android-Developer-Expert | /app/src/main/java/id/scode/submission/BookSubmission.java | UTF-8 | 2,486 | 2.609375 | 3 | [] | no_license | package id.scode.submission;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by Dani on 12/24/2018.
* Yogi Arif Widodo
* Getter and Setter , Parcelable ,
*/
public class BookSubmission implements Parcelable {
private String judulBuku;
private String newsOlder;
private String spo... | true |
308c2654d2d3dbb462dcf99032b41c77f1e8bda1 | Java | ZeroOneSummer/zos | /src/main/java/com/dm/zos/controller/orderSysReport/entity/BBill.java | UTF-8 | 6,552 | 2.171875 | 2 | [] | no_license | package com.dm.zos.controller.orderSysReport.entity;
import com.alibaba.fastjson.JSON;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;
@Table(name = "b_bill")
public class BBill {
/**
* 主键id
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private L... | true |
cc4c65dc0c763d63e22c40c59b945cdc1fb8daf6 | Java | Trink0/NoTube-Beancounter-2.0 | /listeners/facebook/facebook-core/src/main/java/io/beancounter/listener/facebook/core/model/FacebookData.java | UTF-8 | 652 | 1.992188 | 2 | [] | no_license | package io.beancounter.listener.facebook.core.model;
import com.restfb.Facebook;
import com.restfb.types.NamedFacebookType;
/**
* @author Enrico Candino ( enrico.candino@gmail.com )
*/
public class FacebookData extends NamedFacebookType {
@Facebook
private String category;
@Facebook("created_time")
... | true |
05062cabd22260b6ed57a8f5bb502481198abbb5 | Java | Witsacco/Mockery | /src/com/witsacco/mockery/events/MessageScoredEventHandler.java | UTF-8 | 207 | 1.601563 | 2 | [] | no_license | package com.witsacco.mockery.events;
import com.google.gwt.event.shared.EventHandler;
public interface MessageScoredEventHandler extends EventHandler {
void onMessageScored( MessageScoredEvent event );
}
| true |
da0c0e7d621f0257fe179951b21c12db6e6a8342 | Java | strupos/viewstream | /main/java/com/stream/viewstream/app/MainActivity.java | UTF-8 | 1,535 | 2.375 | 2 | [] | no_license | package com.stream.viewstream.app;
import android.app.Activity;
import android.app.ProgressDialog;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Bundle;
import android.widget.MediaController;
import android.widget.VideoView;
public class MainActivity extends Activity {
private stati... | true |
c75c3bad75e2819b90b63b583bdbfe75f72736ac | Java | RamesesDev/osiris2 | /server/rameses-xmpp-service/src/com/rameses/xmpp/service/ResponseService.java | UTF-8 | 2,631 | 2.078125 | 2 | [] | no_license | /*
* ResponseService.java
*
* Created on June 13, 2012, 9:50 AM
* @author jaycverg
*/
package com.rameses.xmpp.service;
import com.rameses.server.common.AppContext;
import com.rameses.server.common.JndiUtil;
import com.rameses.service.ScriptServiceContext;
import com.rameses.service.ServiceProxy;
import java.uti... | true |
0d5358b745e10be30e029a3a7b6c1779a123ccb1 | Java | timatimtem/DesignPattern | /DesignPatterns/src/FactoryExamplePizzaFactoryMethod/ChicagoStyleVeggiePizza.java | UTF-8 | 306 | 2.59375 | 3 | [] | no_license | package FactoryExamplePizzaFactoryMethod;
public class ChicagoStyleVeggiePizza extends Pizza {
public ChicagoStyleVeggiePizza() {
name = "Chicago style veggie pizza";
dough = "Tasty dough";
sauce = "Marinara sauce";
toppings.add("NO MEAT, extra vegetables");
}
}
| true |
b8c5e854cb087b1699476fdd7e27be17566c0e2d | Java | iloveruning/campustao | /vertx-web-spring-boot-starter/src/main/java/com/arunning/vertx/web/spring/Registry.java | UTF-8 | 243 | 1.898438 | 2 | [] | no_license | package com.arunning.vertx.web.spring;
import java.util.List;
/**
* @author chenliangliang
* @date 2019/3/21
*/
public interface Registry<T> {
void register(T t);
boolean remove(T t);
List<T> lookup();
void clear();
}
| true |
099905df486a9eb06f4288add83637dfcef5f1c1 | Java | gauravsaxena1611/Non-Veggies | /NonVeggies/src/main/java/com/nonveggies/entity/order/NvOrderInvoicePayment.java | UTF-8 | 1,308 | 1.921875 | 2 | [] | no_license | package com.nonveggies.entity.order;
// Generated Jan 2, 2016 7:30:29 AM by Hibernate Tools 3.4.0.CR1
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence... | true |
e245b1de8a13ca8bfdd657e85b73a03e7ea2bc12 | Java | sureshbe007/VisirxPatient_2.5.1 | /app/src/main/java/com/visirx/patient/api/EMRFullImageRes.java | UTF-8 | 592 | 1.820313 | 2 | [] | no_license | package com.visirx.patient.api;
/**
* Created by aa on 20.1.16.
*/
public class EMRFullImageRes {
private ResponseHeader responseHeader;
private byte[] emrFullImageFile;
public ResponseHeader getResponseHeader() {
return responseHeader;
}
public void setResponseHeader(ResponseHeader re... | true |
8fbbcedc16534099d6064c15c81bf46a601962c9 | Java | anders88/jsonbuddy | /src/test/java/org/jsonbuddy/JsonParserTest.java | UTF-8 | 11,632 | 2.484375 | 2 | [
"Apache-2.0"
] | permissive | package org.jsonbuddy;
import org.assertj.core.data.Offset;
import org.jsonbuddy.parse.JsonParseException;
import org.jsonbuddy.parse.JsonParser;
import org.junit.Test;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.StringReader;
import java.time.LocalDateTime;
import java.time.ZoneO... | true |
8c81c650abb07d72c5364e688cfb950fe0a0a61b | Java | Andreas237/AndroidPolicyAutomation | /ExtractedJars/PACT_com.pactforcure.app/javafiles/android/support/v7/widget/StaggeredGridLayoutManager$LazySpanLookup$FullSpanItem.java | UTF-8 | 9,248 | 1.984375 | 2 | [
"MIT"
] | permissive | // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package android.support.v7.widget;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.Arrays;
// Referenced classes of package andr... | true |
a2f97a67e1ffc2299e1aabfbc2749a06a4ef59c9 | Java | redmic-project/server-vessel-vessels | /vessels-lib/src/test/java/es/redmic/vesselslib/unit/events/tracking/VesselTrackingEventFactoryTest.java | UTF-8 | 13,574 | 1.960938 | 2 | [
"Apache-2.0"
] | permissive | package es.redmic.vesselslib.unit.events.tracking;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
import es.redmic.brokerlib.avro.common.Event;
import es.redmic.brokerlib.avro.common.EventError;
import es.redmic.vesselslib.events.vesseltracking.Vesse... | true |
f62f7f6c139261bc35f6549ada9e8ad8a328afaa | Java | ForruQ/blueblood | /src/main/java/com/blueblood/controller/DashboardController.java | UTF-8 | 6,317 | 2 | 2 | [] | no_license |
package com.blueblood.controller;
import com.blueblood.dao.impl.IDeliveredDAO;
import com.blueblood.model.Delivered;
import com.blueblood.model.Invoice;
import com.blueblood.model.Stock;
import com.blueblood.service.impl.IDeliveredService;
import com.blueblood.service.impl.IInvoice1Service;
import com.blueblood.serv... | true |
22117f4473453f6553ca57a485899257d10b672f | Java | CallCoders/my-Experience | /JavaRushHomeWork/src/com/javarush/test/level08/lesson11/home08/Solution.java | UTF-8 | 1,143 | 3.21875 | 3 | [] | no_license | package com.javarush.test.level08.lesson11.home08;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
/**
* User: General
* Date: 12/21/12
* Time: 11:59 PM
*/
public class Solution
{
public static void main(String[] args) throws Exception
{
Buf... | true |
e5c225a4cf977d286c6e84c96667f25e566a2d86 | Java | meta-shreyash-khandelwal/GET2019 | /EAD/EAD Assignment-5.1(September 2)/model/Product.java | UTF-8 | 1,124 | 2.890625 | 3 | [] | no_license | package model;
public class Product {
private String productCode;
private String productName;
private String productType;
private double price;
private int quantity;
public Product(String productCode, String productName, String productType,
double price,int quantity) {
super();
this.productCode = productC... | true |
c088ee23bff7eb755bcf0eb9ec8f583c24abb958 | Java | Robert-Graham98/RobertGrahamMindexCodeChallenge | /src/main/java/com/mindex/challenge/DataBootstrap.java | UTF-8 | 1,105 | 2.625 | 3 | [] | no_license | package com.mindex.challenge;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.mindex.challenge.dao.EmployeeRepository;
import com.mindex.challenge.data.Employee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import javax.annotation.PostC... | true |
32e4e46f7ef21da07af9e708d61f4ded87d3f332 | Java | apache/netbeans | /ide/html.validation/src/org/netbeans/modules/html/validation/CharacterHandlerReader.java | UTF-8 | 3,996 | 2.078125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | true |
4f5b4d5bf622e11fafde569e6e3beaf3adfb66e2 | Java | bcgit/bc-java | /core/src/main/java/org/bouncycastle/asn1/ocsp/OCSPResponseStatus.java | UTF-8 | 2,547 | 2.515625 | 3 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"Apache-2.0"
] | permissive | package org.bouncycastle.asn1.ocsp;
import java.math.BigInteger;
import org.bouncycastle.asn1.ASN1Enumerated;
import org.bouncycastle.asn1.ASN1Object;
import org.bouncycastle.asn1.ASN1Primitive;
/**
* OCSP RFC 2560, RFC 6960
* <p>
* The OCSPResponseStatus enumeration.
* <pre>
* OCSPResponseStatus ::= ENUMERATE... | true |
0c53aed052d46dbd1e91598e14576bebb9b3cbe7 | Java | BooksCup/crawler-server | /src/main/java/com/bc/crawler/server/service/WeavePriceService.java | UTF-8 | 1,342 | 2.125 | 2 | [] | no_license | package com.bc.crawler.server.service;
import com.bc.crawler.server.entity.WeavePrice;
import com.github.pagehelper.PageInfo;
import java.util.List;
import java.util.Map;
/**
* 纺织品价格趋势
*
* @author zhou
*/
public interface WeavePriceService {
/**
* 获取纺织品类型列表
*
* @return 纺织品类型列表
*/
Lis... | true |
15e66b93cac2fb36575a004803ba1474c7129f51 | Java | ryeong/Proj3_ECoomerce | /src/test/java/test/MyOracleConnectionTest.java | UTF-8 | 725 | 2.40625 | 2 | [] | no_license | package test;
import java.sql.Connection;
import java.sql.DriverManager;
import org.junit.Test;
public class MyOracleConnectionTest {
private String driver ="oracle.jdbc.driver.OracleDriver";
private String url="jdbc:oracle:thin:@211.183.7.23:1522:orcl";
private String user="proj";
private String pass... | true |
ec403b88f597ebe64788beb13cf38cedccd9ecea | Java | AndrewLowrie/codewars | /java/src/main/java/EightKyu/CalculateAverage.java | UTF-8 | 529 | 3.59375 | 4 | [] | no_license | package EightKyu;
// Write function avg which calculates average of numbers in given list.
public class CalculateAverage {
public static double find_average(int[] array){
int sum = 0;
for (int i = 0; i < array.length; i++) {
sum += array[i];
}
return sum / ar... | true |
22e95006c5c37a0dc1b894b26bb0e7d087083d9a | Java | nkarusala/CS-2340-Fall-2014 | /src/spacetrader/ships/Shield.java | UTF-8 | 1,815 | 3.265625 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package spacetrader.ships;
import spacetrader.planets.TechLevel;
/**
*
* @author Caleb
*/
public class Shield extends Equipment {
... | true |
1ec5d131f7a4266a89d3d99f0ac7b55e05fb4a1b | Java | 545461665/selenium_code | /selenium.framework/src/main/java/selenium/framework/report/ReportNGUtils.java | UTF-8 | 8,002 | 2.484375 | 2 | [] | no_license | package selenium.framework.report;
import org.testng.*;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.*;
/**
* 报告工具类
*/
public class ReportNGUtils {
private static final NumberFormat DURATION_FORMAT = new DecimalFormat(
"#0.000");
public long getDuration(ITest... | true |
137e3f55a88a37d1a0dc0fe7efcdeb013a3fa485 | Java | joji-harada/collegedb | /testing/Test.java | UTF-8 | 2,985 | 3 | 3 | [] | no_license | package testing;
import college.Course;
import college.Major;
import college.Rank;
import college.Student;
import college.Title;
import list.LinkedList;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.Iterator;
import list.LinkedList;
import utility.List;
import utility.Batch;
public class... | true |
4eabc893d3a5f84383b8d15868fbcbb3f007980f | Java | 1228857713/jvmOnJava | /java-study/src/main/java/com/wangzhen/javastudy/jucx/locks/ReentrantReadWriteLock.java | UTF-8 | 2,870 | 2.515625 | 3 | [] | no_license | package com.wangzhen.javastudy.jucx.locks;
import java.util.concurrent.TimeUnit;
public class ReentrantReadWriteLock implements ReadWriteLock,java.io.Serializable {
private static final long serialVersionUID = -6992448646407690164L;
@Override
public Lock readLock() {
return null;
}
@Over... | true |
01056ec1be0dcff5986305ad428809bc4e7cf3ac | Java | ChenMingzhe/consulo-javascript | /web-browser-impl/src/main/java/consulo/javascript/client/module/extension/ClientJavaScriptModuleExtension.java | UTF-8 | 3,862 | 1.867188 | 2 | [
"Apache-2.0"
] | permissive | package consulo.javascript.client.module.extension;
import javax.annotation.Nonnull;
import org.jdom.Element;
import javax.annotation.Nullable;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleUtilCore;
import com.intellij.openapi.projectRoots.Sdk;
import com.intellij.openapi.proje... | true |
be3527031bad365446fcd664e5c255a6d45c2aec | Java | DevRobert/trading | /trading-domain/src/main/java/trading/domain/DateSequenceGenerator.java | UTF-8 | 919 | 3.359375 | 3 | [] | no_license | package trading.domain;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
public class DateSequenceGenerator {
private LocalDate nextDate;
public DateSequenceGenerator(LocalDate initialDate) {
this.nextDate = initialDate;
}
public LocalDate nextDate() {
L... | true |
130d531b5d2849deac91dd7fba301267048c09a6 | Java | lyzh1688/rpc | /src/main/java/rpc/core/MessageSendExecutor.java | UTF-8 | 563 | 2.21875 | 2 | [] | no_license | package rpc.core;
import rpc.netty.NettyClient;
import java.lang.reflect.Proxy;
/**
* Created by kfzx-liuyz1 on 2017/2/20.
*/
public class MessageSendExecutor {
private NettyClient nettyClient = null;
public MessageSendExecutor(String clientName){
this.nettyClient = ClientContainer.Instance().get... | true |
e37011052ae5d34a488523e89938bd204b388127 | Java | nbenjamin/circuit-breaker | /customerAddressService/src/main/java/com/nbenja/springboot/domain/CustomerDetails.java | UTF-8 | 1,076 | 2.734375 | 3 | [] | no_license | package com.nbenja.springboot.domain;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
public class CustomerDetails {
private Customer cus... | true |
8e701d6d1e864922263981716a7c60adfd716954 | Java | HakAl/Concept | /app/src/main/java/concept/com/labtech/ui/ABaseActivity.java | UTF-8 | 1,528 | 2.515625 | 3 | [] | no_license | package concept.com.labtech.ui;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import concept.com.labtech.injection.ActivityScopeModule;
import concept.com.labtech.injection.DaggerApplication;
import concept.com.labtech.injection.DaggerInjector;
import dagger.ObjectGraph;
/** Create the ac... | true |
e78366459f4185c878a7db004d30c6a2dfb1015d | Java | elvinKhalafov/sale_home_admin | /src/main/java/com/sale/home/admin/repository/UserRepositoryImpl.java | UTF-8 | 4,789 | 2.21875 | 2 | [] | no_license | package com.sale.home.admin.repository;
import com.sale.home.admin.model.Role;
import com.sale.home.admin.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.EmptyResultDataAccessException;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframewo... | true |
5acf8d464df8b8a68b07f81e04e9e2a647340450 | Java | YoungDawnGE/CarRental | /src/main/java/controller/UserController.java | UTF-8 | 5,602 | 2.3125 | 2 | [] | no_license | package controller;
import entity.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.support.SessionStatus;
import org.sprin... | true |
215f3b530959145c4a64b62910983653ba7f53c0 | Java | KanatImagambetov/Spring2020B18_Java | /src/day36_StaticBlock/StaticBlock2.java | UTF-8 | 562 | 3.296875 | 3 | [] | no_license | package day36_StaticBlock;
import day34_CustomClass.Tester;
public class StaticBlock2 {
static int a;
static int b;
int c;
static Tester tester1=new Tester();
public static void main(String[] args) {
// tester1.setTesterInfo("Jean",123,"SDET",120000);
System.out.println(tester1);
... | true |
2d542fd61338265e978f11c05007c0623f98dbfb | Java | Valemos/artclass | /app/src/main/java/com/app/artclass/database/DatabaseConverters.java | UTF-8 | 2,810 | 2.5625 | 3 | [] | no_license | package com.app.artclass.database;
import android.os.Build;
import androidx.annotation.RequiresApi;
import androidx.room.TypeConverter;
import com.app.artclass.WEEKDAY;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.lang.reflect.Type;
import java.text.DecimalFormat;
import java.t... | true |
5441c915d07f78cea051212b120f7f8a60e68153 | Java | gocd/gocd | /server/src/test-fast/java/com/thoughtworks/go/config/CachedGoConfigTest.java | UTF-8 | 10,002 | 1.640625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2023 Thoughtworks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | true |
8d5fa637bb21a242d072fd176744615bf0b8a520 | Java | luigiDB/salesTaxes | /src/main/java/receipt/impl/ReceiptProduct.java | UTF-8 | 1,709 | 2.875 | 3 | [] | no_license | package receipt.impl;
import cart.IBilledProduct;
import receipt.IReceiptProduct;
import java.math.BigDecimal;
import java.util.Objects;
public class ReceiptProduct implements IReceiptProduct {
private final String product;
private final int quantity;
private final BigDecimal price;
public static I... | true |
83504a786861b5ae7d3903e3a83b74d5a3c8d20b | Java | geraldvindas/TCU_655_Mi_cuenca | /app/src/main/java/com/ucr/micuenca/MapaImagenes.java | UTF-8 | 1,278 | 2.375 | 2 | [] | no_license | package com.ucr.micuenca;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import androidx.annotation.NonNull;
import androidx.viewpager.widget.PagerAdapter;
public class MapaImagenes extends PagerAdapter {
private Context mContext;
pri... | true |
442b039f82c46e4eef59f9e403dda1c8a2e4e708 | Java | maximuszeng/IM-Dec | /webapi/src/main/java/com/eim/webapi/vo/base/AccessUserVO.java | UTF-8 | 2,880 | 1.734375 | 2 | [] | no_license | package com.eim.webapi.vo.base;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.eim.webapi.vo.common.BaseVO;
import com.fasterxml.jackson.annotation.JsonProperty;
@XmlRootElement(name = "u")
public class AccessUserVO ex... | true |
e3ee9e17463a460ea1c7b12834419a698d9cda47 | Java | i-Android/meetup-client | /src/com/galaxy/meetup/client/util/Dates.java | UTF-8 | 2,403 | 2.4375 | 2 | [] | no_license | /**
* galaxy inc.
* meetup client for android
*/
package com.galaxy.meetup.client.util;
import android.content.Context;
import android.text.format.DateUtils;
import android.text.format.Time;
import android.util.Log;
import com.galaxy.meetup.client.android.R;
/**
*
* @author sihai
*
*/
publi... | true |
67bd4f0c55140276922cf4ba3d43ae9d157e4779 | Java | Ryan2000/JavaII | /Shapes_Hoyda/src/com/ryanhoyda/a2shapes/Circle.java | UTF-8 | 504 | 3.21875 | 3 | [] | no_license | package com.ryanhoyda.a2shapes;
public class Circle extends Shapes {
public static final double PI = 3.1416; //should be Math.PI
private double radius;
public Circle(double radius) {
super();
this.radius = radius;
}
public double getRadius() {
return radius;
}
@Override
public double a... | true |
f1e0f51864ba9b74dbd16f964033c8a51fd69544 | Java | rosoareslv/SED99 | /java/sonarqube/2018/12/CredentialsLocalAuthentication.java | UTF-8 | 6,999 | 2.15625 | 2 | [] | no_license | /*
* SonarQube
* Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, o... | true |
169025b261e4d7c315c030fa111a8b888c23b74f | Java | strzelaczinho/reddit | /src/CHALLENGE_33_DIFFICULT_TSP/Main.java | UTF-8 | 4,870 | 3.25 | 3 | [] | no_license | package CHALLENGE_33_DIFFICULT_TSP;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
public class Main {
private static class Point implements Comparable<Point> {
private... | true |
81b5b756e256f5df52786154b9606a8c292659eb | Java | pannicole/pingball1 | /src/Pingball/Pingball/Board.java | UTF-8 | 18,882 | 3.265625 | 3 | [] | no_license | package Pingball;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import physics.Angle;
import physics.LineSegment;
/**
* The class Board. It stores a list of its balls, a list of its gadgets (stored as ComplexBoardElements),
* references to its neighboring Boards... | true |
11a9ae98340ebd32540179651b6d4c829e08edc6 | Java | cmjman/iBookClubServer | /src/com/shining/ibookclubserver/bean/UserBean.java | UTF-8 | 1,364 | 2.125 | 2 | [] | no_license | package com.shining.ibookclubserver.bean;
public class UserBean {
private int id;
private String email;
private String password;
private String nickname;
private String picture;
private int age;
private String sex;
private String registertime;
private String interest;
public int getId() {
... | true |
a39e8953e7383a5e70868af4284d876280eba6ce | Java | kokubum/ChessProject | /src/game/Game.java | UTF-8 | 18,102 | 3.4375 | 3 | [] | no_license | package game;
import board.BoardGame;
import chronometer.Chronometer;
import game.enums.GameLevel;
import game.enums.TypePiece;
import pieces.*;
import java.util.ArrayList;
import java.util.Iterator;
public class Game {
private Player player1, player2;
private Player playerTurn; //Jogador que vai jogar
private ... | true |
5acea26902e7281fe0ab990e4234c7518e00269e | Java | bellmit/szgq | /project4eclipse/SRRPTask/src/main/java/com/icfcc/SRRPDao/s1/jpa/repository/InvestorDao.java | UTF-8 | 1,464 | 2.1875 | 2 | [] | no_license | package com.icfcc.SRRPDao.s1.jpa.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingReposi... | true |
e5a1a11749d45f5c7aef4ac1c4f2256566bc8c0c | Java | xianzhixianzhixian/thread | /src/timer/schedule/Run0.java | UTF-8 | 1,216 | 3.71875 | 4 | [] | no_license | package timer.schedule;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;
/**
* schedule(TimerTask task,Date time)的用法,非守护线程形式
* @author: xianzhixianzhixian
* @date: 2019-01-28 21:27
*/
public class Run0 {
private stat... | true |
97d426ffb99fe0a6f43409e786b69c38f24eb7bf | Java | wiltonlazary/unipop | /unipop-core/src/org/unipop/query/aggregation/AggregateVertexQuery.java | UTF-8 | 1,897 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | //package org.unipop.query.aggregation;
//
//import org.apache.tinkerpop.gremlin.structure.Direction;
//import org.apache.tinkerpop.gremlin.structure.Vertex;
//import org.unipop.process.group.traversal.SemanticKeyTraversal;
//import org.unipop.process.group.traversal.SemanticReducerTraversal;
//import org.unipop.proces... | true |
ea31a91b3b391a5d36d414a64c19eb6db6951b25 | Java | UnderADome/BlogSite_Simple | /src/main/java/com/site/blog/Mapper/ArticleQueryAll.java | UTF-8 | 1,320 | 1.859375 | 2 | [] | no_license | package com.site.blog.Mapper;
import com.github.pagehelper.Page;
import com.site.blog.Model.Article;
import com.site.blog.Response.RArticle;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations... | true |
93d4bb8a4d48ba29b6f9a90615d8c033af7857e0 | Java | sunailian/BM | /Book/src/com/htdz/utms/model/Student.java | UTF-8 | 1,251 | 2.265625 | 2 | [] | no_license | package com.htdz.utms.model;
public class Student {
private String studentno;
private String password1;
private String name;
private Long age;
private String gender;
private String stuclass;
private String department;
private Long permitted;
public String getPassword1() {
return password1;
}
public voi... | true |
60d2ee8c5e82f80e1a218ba1dd4d32d1c5e08d69 | Java | neaguMarinela/codingAdvanced | /src/main/java/java_ex/ExecuteList.java | UTF-8 | 644 | 3.140625 | 3 | [] | no_license | package java_ex;
public class ExecuteList {
public static void main(String[] args) {
MyList list = new MyList();
list.add("Item-1");
list.add("Item-2");
list.add("Item-3");
list.add("Item-4");
list.add("Item-5");
list.add("Item-6");
... | true |
69d125c1ae57126d80d6c092d4b81cb851b9cefa | Java | mvanderbeek123/UCLove | /app/src/main/java/com/epl/uclouvain/uclove/ChatActivity.java | UTF-8 | 3,247 | 2.4375 | 2 | [] | no_license | package com.epl.uclouvain.uclove;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.view.View.OnClickListener;
import android.widget.ListView;
import android.widget.Toast;
im... | true |
edc735a39ee38aeb003672d1c2b601bdf6a106f3 | Java | moutainhigh/sanlly-platform | /sanlly-production/src/main/java/com/sanlly/production/service/EdiService.java | UTF-8 | 8,033 | 1.78125 | 2 | [] | no_license | package com.sanlly.production.service;
import java.util.List;
import com.sanlly.common.models.output.SelectOutput;
import com.sanlly.common.models.output.pagination.PagedList;
import com.sanlly.production.models.input.edi.AddAutoPoolInput;
import com.sanlly.production.models.input.edi.AddAutoSendInput;
import com.san... | true |
e700076509128c99314e9ce2ac68522448958744 | Java | ZPJeck/ideaTest | /jeesite-master/src/main/java/com/thinkgem/jeesite/common/enums/RoleEnum.java | UTF-8 | 854 | 2.296875 | 2 | [
"Apache-2.0"
] | permissive | package com.thinkgem.jeesite.common.enums;
/**
* @Author: ZPJeck
* @Description:
* @Date: 2018/9/29 19:56
*/
public enum RoleEnum {
HUI_YUAN("会员","huiyuan","0"),
GUAN_LI_YUAN("管理员","dept","1"),
;
private String name;
private String enName;
private String type;
RoleEnum(String name... | true |
542f5d3f25b702828f0caf1ad26613d344f077df | Java | StephenOTT/TAXII-Worker | /src/main/java/io/digitalstate/camunda/client/common/EngineName.java | UTF-8 | 415 | 1.898438 | 2 | [
"MIT"
] | permissive | package io.digitalstate.camunda.client.common;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Optional;
public interface EngineName {
/**
* Allows the storage of a engine name for use with factory and generic web clients that may change their destination based on the engine that the r... | true |
786e9a2c9e828c7854d6cb1a353fd9be292f7f1e | Java | dubing/Dropwizard | /src/main/java/com/mt/Core/StoreEx.java | UTF-8 | 501 | 2.390625 | 2 | [] | no_license | package com.mt.Core;
/**
* Created by bing.du on 3/5/14.
*/
public class StoreEx extends Store {
private String productName;
public StoreEx(Store store)
{
setid(store.getId());
setName(store.getName());
setaddress(store.getAddress());
//setProductId(store.getProductId());... | true |
1ca0c0df2b124c4e94ec37ac9bfa65807a8ed4ad | Java | segmentio/analytics-android | /analytics-wear/src/main/java/com/segment/analytics/WearDispatcher.java | UTF-8 | 4,665 | 1.984375 | 2 | [
"MIT"
] | permissive | /**
* The MIT License (MIT)
*
* Copyright (c) 2014 Segment.io, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to... | true |
1d56634661a498f018e95a1de26c92528a5df191 | Java | Yuna-Kim93/ACLAP-Back | /ACAPPROJECT/aclap_project/src/main/java/bit/com/a/service/noClassDateService.java | UTF-8 | 1,190 | 2.40625 | 2 | [] | no_license | package bit.com.a.service;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import bit.com.a.dao.noClassDateDao;
import bit.com.a.dto.noClas... | true |
119c0e611ad6808e429aa85c00669c1b2c94db4d | Java | zkoalas/dynamic-datasource-spring-boot-starter | /src/main/java/com/baomidou/dynamic/datasource/spring/boot/autoconfigure/dbcp2/Dbcp2Config.java | UTF-8 | 11,933 | 1.671875 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright © 2018 organization baomidou
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | true |
e26564813af278d4e5f3c9d3c2868bedf2b828bd | Java | akshayrajan/Medically | /medically2/app/src/main/java/com/example/akshayrajan/medically/MainActivity.java | UTF-8 | 2,027 | 1.734375 | 2 | [] | no_license | package com.example.akshayrajan.medically;
import android.app.ActionBar;
import android.app.Activity;
import android.app.FragmentTransaction;
import android.content.Intent;
import android.support.design.widget.TabLayout;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.S... | true |
3bb8d2fa7aa0eecdc03c5f4b45ea88a503606f9f | Java | caleb-chou/codingbat | /java/array-1/front11.java | UTF-8 | 235 | 2.3125 | 2 | [] | no_license | public int[] front11(int[] a, int[] b) {
int[] fin = new int[((a.length > 0) ? 1 : 0) + ((b.length > 0) ? 1 : 0)];
if(fin.length > 0) fin[0] = (a.length > 0) ? a[0] : b[0];
if(fin.length > 1) fin[1] = b[0];
return fin;
}
| true |
b3906462f233a4d94e68a0c7cae8f5d87fbaf77b | Java | tokyobs/cooper | /cooper-server/cooper-server-main/src/main/java/jdepend/server/service/RemoteServiceFactory.java | UTF-8 | 1,273 | 1.945313 | 2 | [
"Apache-2.0"
] | permissive | package jdepend.server.service;
import java.rmi.RemoteException;
import jdepend.server.service.analyzer.AnalyzerService;
import jdepend.server.service.analyzer.AnalyzerServiceImpl;
import jdepend.server.service.impl.JDependRemoteServiceImpl;
import jdepend.server.service.impl.JDependSessionServiceImpl;
import... | true |
6a58085dba8504995156661278cb5c0cd8b63de8 | Java | andrewthompson120/ComS_227 | /Homework/Miniassignment1/src/mini1/TallyNumber.java | UTF-8 | 5,260 | 3.671875 | 4 | [] | no_license | package mini1;
import java.util.Scanner;
public class TallyNumber {
private int userValue = 0; // Gets the user value in the constructor
private String userString = ""; // Gets the user string from the constructor
private int currentIntTally = 0; // Running int tally
private String currentStrTally = ""; // Runn... | true |
aba885ed40e5d408205f1a926fc961d6c54d7b9f | Java | VitaliyFilatov/component_manager_client | /app/src/main/java/com/example/vitaliy/myapplication/Entity/ComplexComponent.java | UTF-8 | 391 | 2.40625 | 2 | [] | no_license | package com.example.vitaliy.myapplication.Entity;
public class ComplexComponent {
public int id;
public int component_id;
public String name;
public String code;
public ComplexComponent(int id, int component_id, String name, String code)
{
this.id = id;
this.component_id = com... | true |