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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
39b44729fc5edf28c472fb5a3a58fe2c67239f30 | Java | plato1/InventoryApp | /app/src/main/java/com/abnanodegree/jk/inventoryapp/AddItemActivity.java | UTF-8 | 3,483 | 2.6875 | 3 | [] | no_license | package com.abnanodegree.jk.inventoryapp;
import android.content.ContentValues;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
import com.abnanodegr... | true |
5c3d31b519cf322efbfa1eefcd6526dba8c4d244 | Java | WolfAloneLJ/data_analyser | /src/com/mu/stock/math/func/ArrSum.java | UTF-8 | 1,178 | 2.65625 | 3 | [] | no_license | package com.mu.stock.math.func;
import com.mu.util.log.Log;
import java.util.Stack;
import org.nfunk.jep.ParseException;
import org.nfunk.jep.function.PostfixMathCommand;
/**
*
* @author Peng Mu
*/
public class ArrSum extends PostfixMathCommand
{
public ArrSum()
{
numberOfParameters = 3;
}
... | true |
e9891182d945b4aacf9fdbd06dbb829cd04cf452 | Java | imbkj/buyauto-all | /buyauto-dao/src/main/java/com/buyauto/dao/user/TOrderFinanceDao.java | UTF-8 | 1,266 | 1.929688 | 2 | [] | no_license | package com.buyauto.dao.user;
import java.math.BigDecimal;
import java.util.Date;
public class TOrderFinanceDao {
private Long id;
private String name;
private String userPhone;
private Long orderId;
private BigDecimal loanAmount;
private Integer term;
private Date createDate;
private Integer status;
public ... | true |
470dc691b303e7519e70e83037337ffe2a6ad1a5 | Java | hemanth415/ssdi-uncc-university-selection | /branches/Sprint-1/src/com/daoImpl/BankerRegistrationDAOImpl.java | UTF-8 | 2,322 | 2.59375 | 3 | [] | no_license | package com.daoImpl;
import java.sql.Connection;
import java.sql.PreparedStatement;
import com.connection.MySQLConnection;
import com.dao.BankerRegistrationDAO;
import com.dto.BankerDTO;
public class BankerRegistrationDAOImpl extends MySQLConnection implements BankerRegistrationDAO{
int i=0;
@Overr... | true |
db713d932374cc07c8c5e65d47042a32a6772cf4 | Java | wangzhongshan/springboot-one | /src/main/java/killcode/wzs/springbootdemo/cache/CacheAspect.java | UTF-8 | 1,996 | 2.1875 | 2 | [] | no_license | package killcode.wzs.springbootdemo.cache;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.parser.ParserConfig;
import com.alibaba.fastjson.serializer.SerializerFeature;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
impo... | true |
7f3d4a1455d0c7d6c86d612f943d9543c746a8b7 | Java | lucianogiannini/Chaos-Fractals-and-Computer-Graphics | /UnpredictableImaginationFrame.java | UTF-8 | 596 | 2.765625 | 3 | [] | no_license | import javax.swing.*;
import java.util.*;
import java.awt.*;
public class UnpredictableImaginationFrame extends JFrame
{
public UnpredictableImaginationFrame(String title)
{
super(title);
setBounds(0,0,500,500);
JPanel UnpredictableImagination = new UnpredictableImaginationPanel();
add(Un... | true |
16f5e5a2c92cd6af28adceff4ef7682f8f03b430 | Java | bubneetkour/test-repo | /OT_PageObject_Project/src/common/utility/LCB.java | UTF-8 | 554 | 2.1875 | 2 | [] | no_license | package common.utility;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.BeforeMethod;
public class LCB {
protected WebDriver driver;
@BeforeMethod
public void launchBrowser()
{
//Open Browser
drive... | true |
1b222b02770d7dc6e3ccab54a901dac4039b9a59 | Java | SAP/scimono | /scimono-compliance-tests/src/main/java/com/sap/scimono/scim/system/tests/extensions/GroupFailSafeClient.java | UTF-8 | 4,968 | 2.09375 | 2 | [
"Apache-2.0"
] | permissive |
package com.sap.scimono.scim.system.tests.extensions;
import static com.sap.scimono.client.query.ResourcePageQuery.identityPageQuery;
import static com.sap.scimono.client.query.ResourcePageQuery.indexPageQuery;
import static com.sap.scimono.entity.paging.PagedByIdentitySearchResult.PAGINATION_BY_ID_END_PARAM;
import ... | true |
cc789273e465bb6f77e190ab7379b0375bd0b93d | Java | MaximeBonnet27/JamSession | /client/src/interfaces/profil/UIProfil.java | UTF-8 | 3,008 | 2.46875 | 2 | [] | no_license | package interfaces.profil;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem... | true |
efc5cae56f035b51aa7ad291477fdd9a45121cef | Java | victorskl/mobile-tute | /week4/CustomListView/app/src/main/java/com/sankholin/customlistview/OptimizedUserAdapter.java | UTF-8 | 1,891 | 2.765625 | 3 | [] | no_license | package com.sankholin.customlistview;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.List;
public class OptimizedUserAdap... | true |
6dbb077e42cb166e20946a59c9ffdfa0bd764db1 | Java | lvzhyt/tgshop-cloud | /tgshop-upload-service/src/main/java/com/tg/shop/upload/dao/FileUploadDao.java | UTF-8 | 204 | 1.8125 | 2 | [] | no_license | package com.tg.shop.upload.dao;
import com.tg.shop.core.domain.upload.FileUpload;
import java.util.List;
public interface FileUploadDao {
List<FileUpload> findByCondition(FileUpload fileUpload);
}
| true |
7e827b271aaaff0762cd17000844ad950459a8aa | Java | mar1907/assignment-3-mar1907 | /src/main/java/hospital/entity/validation/PatientValidator.java | UTF-8 | 1,534 | 2.796875 | 3 | [] | no_license | package hospital.entity.validation;
import hospital.entity.Patient;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.regex.Pattern;
public class PatientValidator {
private static final String NAME_REGEX = "[a-zA-Z ]+";
private static final String CNP_REGEX = "[0-9]{... | true |
efce4c0ec7c3cd226b2d97c78150ab1fbbe368d2 | Java | viniciusknob/emma | /src/main/java/br/com/emma/place/RestingPlace.java | UTF-8 | 1,433 | 3.640625 | 4 | [] | no_license | package br.com.emma.place;
import br.com.emma.bedroom.Room;
/**
* Um <i>"local de descanso"</i> fornece quartos para os objetos onde eles podem
* repousar tranquilos e felizes.
*
* @author Vinicius Knob
*
*/
public interface RestingPlace {
/**
* Cria um novo quarto para descanso. Esse novo quarto recebe ... | true |
57659cbf6407822748385342518aea29632a6d05 | Java | ksrkh/bstagram | /Bookstagram/src/com/kosta/bookstagram/model/CreateBoardDAO.java | UTF-8 | 8,183 | 2.3125 | 2 | [] | no_license | package com.kosta.bookstagram.model;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import com.kosta.bookstagram.model.common.PagingBean;
public class CreateBoardDAO extends BoardDAO {
// Singleton patter... | true |
91db86ad040745b05dd32be251d134d197dba7bb | Java | BANKSapi/java-reference-client | /src/main/java/de/banksapi/client/model/incoming/access/Message.java | UTF-8 | 630 | 2.125 | 2 | [
"MIT"
] | permissive | package de.banksapi.client.model.incoming.access;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
/**
* Messages containing status information about account data retrieval.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Message {
private MessageLevel level;
private String code;
... | true |
bce72ec0068c3011e4e043d730f5ad54fd8792c3 | Java | zqdely/PetShopping-V1- | /src/cn/jbit/petshopping/biz/impl/ValuationBizImpl.java | GB18030 | 947 | 2.28125 | 2 | [] | no_license | package cn.jbit.petshopping.biz.impl;
import java.util.List;
import cn.jbit.petshopping.biz.ValuationBiz;
import cn.jbit.petshopping.dao.ValuationDao;
import cn.jbit.petshopping.dao.impl.ValuationDaoImpl;
import cn.jbit.petshopping.entity.Valuation;
public class ValuationBizImpl implements ValuationBiz {
... | true |
5f0406846e38f934fe336ebd107a33ae2832f6a4 | Java | Rajath4/Smvitm2018 | /app/src/main/java/com/smvitm/rajath/smvitm/Adapter/CafeteriaRecycleViewAdapter.java | UTF-8 | 4,040 | 2.265625 | 2 | [] | no_license | package com.smvitm.rajath.smvitm.Adapter;
import android.app.Activity;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com... | true |
ad5aa753e110f7d98b51bd0aa7e941e48e9a7b31 | Java | Java-October-2020/ShankyB-Assignments | /Week1- Java Basics/Basics/9- SquareArray/SquareArray.java | UTF-8 | 477 | 3.421875 | 3 | [] | no_license | import java.util.ArrayList;
public class SquareArray{
public static void main(String[] args){
int[] myArray = {1,2,3,4,5,6,7};
ArrayList<Object> newArray = new ArrayList<Object>();
for (int i=0; i<myArray.length;i++){
int element= myArray[i];
int squareVal... | true |
e8d1ddf48eea3b799679fd1715f28b5d80eacd0d | Java | kykrueger/openbis | /eu_basysbio/sourceTest/java/eu/basysbio/cisd/dss/TimeSeriesHeaderUtilsTest.java | UTF-8 | 14,090 | 1.875 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2010 ETH Zuerich, CISD
*
* 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 |
15a3e84c69eeca312c59bfe5457c4959630ebf11 | Java | JetBrains/intellij-community | /java/java-tests/testData/psi/resolve/var/Visibility1.java | UTF-8 | 153 | 2.359375 | 2 | [
"Apache-2.0"
] | permissive | class Test {
static int variable = 1;
static class Inner{
int variable = 0;
static void foo(){
int val1 = <caret>variable;
}
}
}
| true |
d657cad6e505eb768e6188d3e600692c01b16c14 | Java | RuedigerMoeller/serialization-benchmark | /src/main/java/de/ruedigermoeller/serialization/testclasses/basicstuff/Primitives.java | UTF-8 | 4,985 | 2.34375 | 2 | [] | no_license | package de.ruedigermoeller.serialization.testclasses.basicstuff;
import com.cedarsoftware.util.DeepEquals;
import de.ruedigermoeller.serialization.testclasses.HasDescription;
import org.nustaq.serialization.FSTConfiguration;
import javax.swing.text.html.StyleSheet;
import java.io.File;
import java.io.IOException;
imp... | true |
65400108c176d603367e533457b2d552c3236c72 | Java | NaikSoftware/StompProtocolAndroid | /lib/src/main/java/ua/naiksoftware/stomp/pathmatcher/PathMatcher.java | UTF-8 | 178 | 1.820313 | 2 | [
"MIT"
] | permissive | package ua.naiksoftware.stomp.pathmatcher;
import ua.naiksoftware.stomp.dto.StompMessage;
public interface PathMatcher {
boolean matches(String path, StompMessage msg);
}
| true |
65ff95fe7fa7c11c0068eaa0c2969a41cdb67f2a | Java | kirosky/Java | /day7a/Student.java | UTF-8 | 767 | 3.71875 | 4 | [] | no_license | package cn.day7a;
/*
*一个标准的类通常有四个组成:
* 1.所有的成员变量都使用private关键字修饰。
* 2.为每一个成员变量编写一对getter/setter方法。
* 3.编写无参数的构造方法。
* 4.编写一个全参数的构造方法。
*这样的标准的类叫做java Bean
*
*
* */
public class Student {
private String name;
private int age;
public Student() {
}
public Student(String name, int age) {
this.na... | true |
474720ad05ca57130c2b3a1c31c992249d3a0f32 | Java | freyxian/ecweb | /src/main/java/ecweb/ecoupon/controller/VerifyForm.java | UTF-8 | 1,155 | 2.21875 | 2 | [] | no_license | package ecweb.ecoupon.controller;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
public class VerifyForm {
@NotNull
@Size(min = 2,max=18, message = "请准确输入电子劵号码。")
private String eccode;
@Pattern(regexp="^(|[0-9]{6... | true |
27383a91143cda5e960f21bd1dc5d3de618dab96 | Java | Wikia/selenium-tests | /src/test/java/com/wikia/webdriver/pageobjectsfactory/pageobject/communitypage/SpecialCommunity.java | UTF-8 | 993 | 2.1875 | 2 | [] | no_license | package com.wikia.webdriver.pageobjectsfactory.pageobject.communitypage;
import com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import java.util.List;
public class SpecialCommunity extends WikiBasePageObject {
... | true |
bd8cfd718932eff20975b4666d32eb3bca1d8171 | Java | InteNs/themaopdracht_4 | /src/servlets/userServlets/viewUsersServlet.java | UTF-8 | 686 | 2.15625 | 2 | [] | no_license | package servlets.userServlets;
import listeners.Data;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* Created by InteNs on 18.jun.2015.
*/
public class ViewUs... | true |
7aeeb041dcf2d555a3123b0249e283b7f70f9da0 | Java | lihe1208/cmfz_lh | /src/main/java/com/baizhi/service/impl/AlbumServiceImpl.java | UTF-8 | 1,028 | 2.21875 | 2 | [] | no_license | package com.baizhi.service.impl;
import com.baizhi.eitity.Album;
import com.baizhi.mapper.AlbumMapper;
import com.baizhi.service.AlbumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class AlbumServiceImpl im... | true |
394bd951227e1657f5dbf6c4183957d7abe57881 | Java | jbpayne/BlackInfinitiSpring | /src/main/java/com/tts/BlackInfiniti/VehicleService.java | UTF-8 | 314 | 1.9375 | 2 | [] | no_license | package com.tts.BlackInfiniti;
import java.util.List;
import java.util.Optional;
import com.tts.BlackInfiniti.Vehicle;
public interface VehicleService {
List<Vehicle> findAll();
Vehicle findOne(Long stockNumber);
Vehicle saveVehicle(Vehicle vehicle);
void deleteVehicle(Long stockNumber);
} | true |
9697a5bff43204b77bcbfe2f892d04c1d811bd11 | Java | Ava-Cheng/java_class | /C107118202_P07/src/c107118202_p07/HW07_03.java | UTF-8 | 1,813 | 3.703125 | 4 | [] | no_license | package c107118202_p07;
import static c107118202_p07.HW07_01.display;
import static c107118202_p07.HW07_01.sort;
import static c107118202_p07.HW07_02.sort2;
public class HW07_03 {
public static void display(int[] array) {
for (int i = 0; i < array.length; i++) {
System.out.print(array[i] + " "... | true |
7f9a410e303507ec25a1a83f7729a3fed7c99c8e | Java | 8989-9898/Java-Guide | /multi-threading/src/com/ly/synchronizer/SynchronizedCodeBlock.java | UTF-8 | 2,103 | 3.453125 | 3 | [] | no_license | package com.ly.synchronizer;
import sun.security.provider.Sun;
/**
* @ProjectName: idea_workspace
* @Package: com.ly.synchronizer
* @ClassName: SynchronizedCodeBlock
* @Author: lin
* @Description: 使用同步代码块
* @Date: 2019-06-25 10:13
* @Version: 1.0
*/
public class SynchronizedCodeBlock {
public static void... | true |
d5d3016d2ba2fd1da6e93f53f93d9cf97e3dfab7 | Java | emcvipr/controller-client-java | /client/src/main/java/com/emc/vipr/client/core/Backup.java | UTF-8 | 4,943 | 1.945313 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.vipr.client.core;
import static com.emc.vipr.client.impl.jersey.ClientUtils.addQueryParam;
import static com.emc.vipr.client.system.impl.PathConstants.BACKUP_CREATE_URL;
import static com.emc.vipr.client.system.impl.PathConstants.BACKU... | true |
1feaf829560adc877dbecb40f87a3ad72a7bdb02 | Java | Desuzed/LikedTasksFromJavaRush | /src/lvl6/Recursion.java | UTF-8 | 495 | 3.53125 | 4 | [] | no_license | package lvl6;
public class Recursion {
public static void main(String[] args) {
System.out.println(Fact(5));
}
static int Fact(int n) {
if (n==1) {
System.out.println(n);
return 1; // условие завершения рекурсивного процесса
}else
System.out.print... | true |
1db76594bfc87778f44a0df8e4f30c822f639ca6 | Java | lecsilva/manager-subtitle | /src/br/com/lcarvs/subtitle/RenameSubtitle.java | ISO-8859-1 | 1,779 | 2.90625 | 3 | [] | no_license | package br.com.lcarvs.subtitle;
import java.io.File;
import java.util.Arrays;
import java.util.List;
import java.util.MissingResourceException;
import java.util.Optional;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class RenameSubtitle {
private static final Pattern PATTERN = Pa... | true |
bd0690d539433cfb21f693786abe4e417645e9df | Java | Dico200/dicore | /src/main/java/io/dico/dicore/DicoPlugin.java | UTF-8 | 5,024 | 2.25 | 2 | [] | no_license | package io.dico.dicore;
import io.dico.dicore.command.Formatting;
import io.dico.dicore.util.Modules;
import io.dico.dicore.util.Registrator;
import io.dico.dicore.util.TickTask;
import org.bukkit.Bukkit;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerLogi... | true |
896a5f53d0c49330bf74bcfb4f8111e80b32c0d1 | Java | Brest-Java-Course/Alexander-Kruglikov | /BDGradleHibernateSpring/app-dao-hibernate/src/main/java/com/brest/bank/dao/BankDepositDaoImpl.java | UTF-8 | 79,665 | 2.328125 | 2 | [] | no_license | package com.brest.bank.dao;
import com.brest.bank.domain.BankDeposit;
import com.brest.bank.domain.BankDepositor;
import org.hibernate.Criteria;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.hibernate.criterion.*;
import java.text.DateFormat;
import java.text.ParseExc... | true |
b8df75b22a47c6243693025434cbe21a16f325ac | Java | 13414850431/zsz | /commonsiotest/src/commonsiotest/StreamTest.java | GB18030 | 833 | 2.875 | 3 | [] | no_license | package commonsiotest;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
public class StreamTest {
public static void main(String[] args) {
InputStream inStream = null;
Reader read... | true |
86b1da909969de8a1b78de7a015a1d472dd8a823 | Java | ayelekar/UniVerse | /app/src/main/java/com/universe/ifr/universe/CourseList.java | UTF-8 | 8,326 | 2 | 2 | [] | no_license | package com.universe.ifr.universe;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Configuration;
import android.graphics.Color;
import android.support.annotation.Nullable;
import a... | true |
8905f815a758f8adc699f11d663bd644da606224 | Java | lijieqing/zoomlion | /app/src/main/java/com/kstech/zoomlion/model/xmlbean/Data.java | UTF-8 | 291 | 1.921875 | 2 | [] | no_license | package com.kstech.zoomlion.model.xmlbean;
/**
* Created by lijie on 2017/6/13.
*/
public class Data {
private String Value;
public Data() {
}
public String getValue() {
return Value;
}
public void setValue(String value) {
Value = value;
}
}
| true |
6681cfb5b3e8cb153683b0d65ca5be6a31b4b1cc | Java | Pirate-Captain/precious | /precious-webapp/src/main/java/com/zyl/designpattern/abstractfactory/AmdCpu.java | UTF-8 | 411 | 3.046875 | 3 | [] | no_license | /**
* Created on 2016-4-12
*/
package com.zyl.designpattern.abstractfactory;
/**
* @author iaskbear <a href="mailto:iaskbear@gmail.com">iaskbear</a>
* @version $Id$
*/
public class AmdCpu implements Cpu {
private int pins = 0;
public AmdCpu(int pins) {
this.pins = pins;
}
@Override
... | true |
a8f4cd9ac45d3239163e41a6ef7c76df89958031 | Java | apoorva223054/SF3 | /POSNirvanaORM/src/com/nirvanaxp/types/entities/orders/DeliveryRules_.java | UTF-8 | 912 | 1.609375 | 2 | [
"Apache-2.0"
] | permissive | package com.nirvanaxp.types.entities.orders;
import com.nirvanaxp.types.entities.POSNirvanaBaseClass_;
import java.math.BigDecimal;
import javax.annotation.Generated;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@Generated(value="Dali", date="2019-03-22T12:... | true |
5b649f9f0e5b1a60fd5d6a557e1c5469383d7f18 | Java | crsadun/Utility-classes | /source/org/sadun/util/EnvironmentVariables.java | UTF-8 | 10,158 | 2.96875 | 3 | [] | no_license | package org.sadun.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringReader;
import java.io.StringWriter;
import java.text.CharacterIterator;
import java.text.StringCharacterIterator;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.H... | true |
4afb369594491d019f20c5f94f4ad7dc4cb680d1 | Java | inab/elixibilitas | /java/biotools-git-export/src/main/java/es/elixir/bsc/openebench/biotools/git/JgitSytemReaderHack.java | UTF-8 | 1,463 | 1.976563 | 2 | [] | no_license | package es.elixir.bsc.openebench.biotools.git;
import org.eclipse.jgit.errors.CorruptObjectException;
import org.eclipse.jgit.lib.Config;
import org.eclipse.jgit.storage.file.FileBasedConfig;
import org.eclipse.jgit.util.FS;
import org.eclipse.jgit.util.SystemReader;
/**
* @author Dmitry Repchevsky
*/
... | true |
62d618f51127e208a143101b2daaa14be62b9c42 | Java | littlegreatness/practice | /BounceLayout/src/main/java/library/BounceHorizontalScrollView.java | UTF-8 | 2,692 | 2.296875 | 2 | [] | no_license | package library;
import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.util.AttributeSet;
import android.view.View;
import android.widget.HorizontalScrollView;
public class BounceHorizontalScrollView extends HorizontalScrollView implements IBounceInner... | true |
514106a1a4c214ed6426cc6417707a75d6423092 | Java | CaoZhihang/JKudu | /jkudu/src/main/java/com/kevin/jkudu/loader/LoaderFactory.java | UTF-8 | 190 | 1.703125 | 2 | [] | no_license | package com.kevin.jkudu.loader;
import com.kevin.jkudu.loader.impl.StringLoader;
public class LoaderFactory {
public static Loader getStringLoader(){
return new StringLoader();
}
}
| true |
c655bf81709060c6884d635f62fc849af04cbcf2 | Java | windanchaos/Java_Basic | /src/data/FileDemo.java | UTF-8 | 1,161 | 2.984375 | 3 | [] | no_license | /**
* Project Name:Java_Basic
* Package Name:data
* File Name:FileDemo.java
* Date:2018年9月14日下午10:15:46
*/
package data;
import java.io.File;
import java.nio.file.*;
import java.util.LinkedList;
import org.omg.CORBA.PUBLIC_MEMBER;
/**
* ClassName: FileDemo <br/>
* Function: TODO 功能说明. <br/>
*
* date... | true |
3bee69058d8f55d3f315677f7f70302cc4acb4f6 | Java | gitking/JavaDemoStudyProject | /src/com/yale/test/math/map/HashSetTest.java | UTF-8 | 1,751 | 3.265625 | 3 | [] | no_license | package com.yale.test.math.map;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
/**
* (六) 集合处理
* 1. 【强制】关于hashCode和equals的处理,遵循如下规则:
* 1) 只要覆写equals,就必须覆写hashCode。
* 2) 因为Set存储的是不重复的对象,依据hashCode和equals进行判断,所以Set存储的对象必须覆写这两种方法。
* 3) 如果自定义对象作为Map的键,那么必须覆写hashCode和equals。
... | true |
42e1f7179f2ddd8e11dbea9d6348078926f3b28d | Java | mostrander/IT2660 | /IT2660_MeganOstrander_Assignment2/IT2660_MeganOstrander_Ch2_Exercise20/src/it2660_meganostrander_ch2_exercise20/StudentListings.java | UTF-8 | 2,773 | 3.46875 | 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 it2660_meganostrander_ch2_exercise20;
import javax.swing.JOptionPane;
import java.util.Scanner;
/**
*
* @author... | true |
6643d0c959b846cf8f65b2a715e4b1a08d43b4f4 | Java | iouaz/cabinet_orthophonie | /src/vues/consulte_facture.java | UTF-8 | 3,294 | 2.359375 | 2 | [] | no_license | package vues;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import javax.swing.JLabel;
import java.awt.Choice;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
i... | true |
c9956bc3213ff4716c80ae7d5bca74b9105c74c3 | Java | zxcvbnm199905040213/106-1-Fundamental-Java-106021149-20170925 | /src/Main.java | UTF-8 | 156 | 2.28125 | 2 | [] | no_license | public class Main {
public static void main (String[] args ){
int ve1 = 2 ;
System.out.println(Math.round(ve1*0.26418*10)/10f);
}
} | true |
396cbfc4bb8d2f8976e63c5041e7c9be33507769 | Java | huang-chh/twoPrice | /sell/src/main/java/com/tiger/sell/handle/SellException.java | UTF-8 | 351 | 2.265625 | 2 | [] | no_license | package com.tiger.sell.handle;
public class SellException extends RuntimeException {
private Integer code;
public SellException(Integer code,String msg) {
super(msg);
this.code = code;
}
public Integer getCode() {
return code;
}
public void setCode(Integer code) {
... | true |
161fae52b25ed912611f57201ce8f73d179016b0 | Java | BaptisteMeynier/java-spi | /shop-api/src/main/java/com/java6/shop/spi/ShopProvider.java | UTF-8 | 126 | 1.734375 | 2 | [] | no_license | package com.java6.shop.spi;
import com.java6.shop.api.ItemService;
public interface ShopProvider {
ItemService create();
}
| true |
17a5daba31500fadfa9e02fa302a2c64dc76c80a | Java | lyhiving/MobileServer | /src/com/smartlab/mobileserver/tool/NetTransmit/MyRandom.java | UTF-8 | 645 | 2.78125 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.smartlab.mobileserver.tool.NetTransmit;
/**
*
* @author Administrator
*/
public class MyRandom {
int randomValue;
public MyRandom(int start){
randomValue=start;
}
public int getNe... | true |
35e8406b1f5b5b6b430129cb1e35ffe16690c45a | Java | jedyang/NIODemo | /src/main/java/com/yunsheng/im/client/handler/HeartBeatHandler.java | UTF-8 | 1,474 | 2.65625 | 3 | [] | no_license | package com.yunsheng.im.client.handler;
import com.yunsheng.im.protocol.command.HeartBeatRequestPacket;
import java.util.concurrent.TimeUnit;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
/**
* @description: TODO
* @author uncleY
* @date 2019/6/11 16:37
*/
... | true |
bfef56e7de35ffb6680c3d4499294c13dff418fc | Java | EwanMcJab/Source-Code-Android-Udemy | /LatihanTiga/app/src/main/java/com/latihan/tiga/okrequest/OkRequest.java | UTF-8 | 722 | 2.46875 | 2 | [] | no_license | package com.latihan.tiga.okrequest;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
public class OkRequest {
public static String getUrl(String url){
OkHttpClient ok = new OkHttpClient.Builder().
... | true |
21e0b0725af6afed285cecef1b720cf4255e7abd | Java | Timelim/leetcode | /src/Problem/Solution21.java | UTF-8 | 873 | 3.09375 | 3 | [] | no_license | package Problem;
public class Solution21 {
public ListNode mergeTwoLists(ListNode l1, ListNode l2) {
ListNode res=new ListNode(0);
ListNode index=res;
while(l1!=null&&l2!=null){
if(l1.val<l2.val){
res.next=l1;
l1=l1.next;
}
... | true |
01d8a3eac6a767ed9f5b0f88e0aef83f712897ff | Java | lucasbernardo95/ManagementMicroalgae | /src/main/java/com/tads/service/ServicoNode.java | UTF-8 | 509 | 1.84375 | 2 | [] | no_license | /*
* Serviço para acessar os recursos disponibilizados pelos nó da rede
*/
package com.tads.service;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
/**
*
* @author Lucas
*
*/
@Path("/node")
pu... | true |
cf7eba0b20b8213c035a081dc808154c9df6d341 | Java | arielspear/epicodus | /Prework/Madlib.java | UTF-8 | 601 | 3.25 | 3 | [] | no_license | import java.io.Console;
public class Madlib {
public static void main(String[] args) {
Console myConsole = System.console();
System.out.println("Give me a noun.");
String noun = myConsole.readLine();
System.out.println("Give me a adjective.");
String adjective = myConsole.readLine();
Syste... | true |
9f72b3d20ca405efdc117867ae922379cefb2ba7 | Java | Jahaziel1203/Cursos | /src/vista/VistaAltaCurso.java | UTF-8 | 23,158 | 2.046875 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package vista;
import Controlador.ControladorCurso;
import java.awt.event.ActionListener;
import java.util.Calendar;
import java.util.... | true |
9304c4099b22c87dcbe39c29eb8952aa98d09f2f | Java | bambangnoerwanto/Bambang-LatihanHelloSpring | /src/java/service/HelloService.java | UTF-8 | 329 | 2.453125 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package service;
/**
*
* @author Bengbenk
*/
public class HelloService {
public static String sayHello(String name, String umur) {
return "Hello " + name + "!"+"\n"+"Umur anda "+umur;
}
... | true |
8b7f3a6e22e60c260e391f8115b19a5828566048 | Java | mrojasaquino/zk_rool_connections | /src/java/com/ecaresoft/cp/ui/Index.java | UTF-8 | 296 | 1.84375 | 2 | [] | no_license | package com.ecaresoft.cp.ui;
import org.zkoss.zul.Window;
/**
*
* @author odelarosa
*/
public class Index extends Window {
public Index() {
setWidth("100%");
setHeight("100%");
}
public void onCreate() {
getPage().setTitle("Connection Pool");
}
}
| true |
85da88ade5767e121e9ae210df4221e31b23e849 | Java | shichaowei/qacms | /src/main/java/com/wsc/qa/meta/GetRequestResult.java | UTF-8 | 900 | 1.898438 | 2 | [] | no_license | package com.wsc.qa.meta;
public class GetRequestResult {
String requestType;
String requestUrl;
String requestContentType;
String requestBody;
String token;
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public String getRequestType() {
return req... | true |
bdd866edb61e30a03467f1df709bb72b8f6cb95d | Java | fjpub/jrg | /src/test/java/br/edu/ifsc/javargtest/JRGLog.java | UTF-8 | 646 | 2.375 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package br.edu.ifsc.javargtest;
/**
*
* @author samuel
*/
public class JRGLog {
public enum Severity {
MSG_ERROR,
... | true |
08be32c9378f38493cdfe4cc736813c30d04a53f | Java | qkmaxware/LanguageExperiment | /src/Values/Array.java | UTF-8 | 2,168 | 3.21875 | 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 Values;
import java.util.ArrayList;
import java.util.Arrays;
import lang.LiveException;
import lang.LiveThrownException;
/**
... | true |
b11f2ecfa81dff869c06e89ddeba22d74ad7c0d9 | Java | rcsb/ciftools-java | /src/main/java/org/rcsb/cif/schema/mm/IhmSasRestraint.java | UTF-8 | 4,881 | 2.390625 | 2 | [
"MIT"
] | permissive | package org.rcsb.cif.schema.mm;
import org.rcsb.cif.model.*;
import org.rcsb.cif.schema.*;
import javax.annotation.Generated;
/**
* Data items in the IHM_SAS_RESTRAINT category records the
* details of the SAS data used as restraints in the
* IHM modeling.
*/
@Generated("org.rcsb.cif.schema.generator.SchemaGener... | true |
b2da8656c941c971d95a897f603dfbaebc894a7d | Java | liupeng110/letv | /src/main/java/com/letv/android/client/fragment/HomeFragment.java | UTF-8 | 16,168 | 1.75 | 2 | [
"Apache-2.0"
] | permissive | package com.letv.android.client.fragment;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.view.ViewPager;
import android.support.v4.view.ViewPager.OnPageChangeListener;
import android.text.TextUtils;
import android.view.LayoutInflater;
import a... | true |
bcfecf64a3900957fb1b8f0a1298f2be7ba99e43 | Java | Rameshwari-Joshi-2001/Bank_System | /Account.java | UTF-8 | 1,088 | 3.25 | 3 | [] | no_license | package logic;
public abstract class Account {
private static int allotNumber = 0 ;
private int accNo;
private double balance;
private String name;
// constructor
public Account(double balance,String name) {
super();
this.name = name;
this.balance = balance;
this.accNo = ++allotNumber;
}
... | true |
a381318c135ac8f2353357aafd2330beb7c988ea | Java | manojsai39/Project_Test2 | /src/manoj/Example_One.java | UTF-8 | 280 | 1.554688 | 2 | [] | no_license | package manoj;
public class Example_One {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("\n Hello World!!! \n");
System.out.println("\n arvind!!! \n");
System.out.println("\n narendra!!! \n");
}
| true |
0fa959388afe260901e0393ed5aae91c085a29ce | Java | liwen666/springcloud_new | /h2_cache_redis/src/main/java/vip/dcpay/cache/domain/service/RemoteService.java | UTF-8 | 9,877 | 1.671875 | 2 | [] | no_license | package vip.dcpay.cache.domain.service;
import com.alibaba.dubbo.config.annotation.Reference;
import com.alibaba.fastjson.JSON;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import vip.dcpay.cache.aop.annotation.ScheduleCacheLog;
import vip.dcpay.cache.do... | true |
3d6f711d8501d7597cb3d8c4054931196f50f6ed | Java | altar10420/connectis-converter | /src/main/java/com/connectis/converter/MetricToImperialConverter.java | UTF-8 | 2,102 | 3.078125 | 3 | [] | no_license | package com.connectis.converter;
public class MetricToImperialConverter {
private static final double LENGTH_METER_FOOT_FACTOR = 0.3048;
private static final double LENGTH_CENTIMETER_INCH_FACTOR = 2.54;
private static final double VOLUME_LITER_GALLON_FACTOR = 4.54609;
private static final double WEIG... | true |
066a5489f91e0533745dad4d09ce58c2f992ef36 | Java | ZcrPro/lUmao | /Lumao/app/src/main/java/com/zcrpro/lumao/login/adapter/SplashAdapter.java | UTF-8 | 1,395 | 2.234375 | 2 | [
"Apache-2.0"
] | permissive | package com.zcrpro.lumao.login.adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import com.zcrpro.lumao.R;
import com.zcrpro.lumao.login.EasyUtil;
publi... | true |
c793fa0ce459c1df2169a39cda8e724d699a1d36 | Java | baiguangming/CAS-Shiro | /shiro-ssm/src/main/java/cn/mldn/shiro/action/PageAction.java | UTF-8 | 388 | 1.796875 | 2 | [] | no_license | package cn.mldn.shiro.action;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
//@Controller
public class PageAction {
//@RequestMapping("/loginPage")
public ModelAndView login() {
ModelA... | true |
6f148c37285fee39dfa6a5ef8c27e114685dded2 | Java | Nevercomes/iCuriosity-Mini | /src/main/java/com/nevercome/icuriosity/common/persistence/page/PageVO.java | UTF-8 | 3,165 | 2.515625 | 3 | [
"Apache-2.0"
] | permissive | package com.nevercome.icuriosity.common.persistence.page;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.google.common.collect.Lists;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.Bean... | true |
7f71438e8517f367a28f32f43035f7d379755bc6 | Java | DamianMatysko/HibernateToturial | /src/main/java/sk/kosickaakademia/damianmatysko/demo/PrimaryKeyDemo.java | UTF-8 | 1,503 | 3.09375 | 3 | [] | no_license | package sk.kosickaakademia.damianmatysko.demo;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import sk.kosickaakademia.damianmatysko.Student;
public class PrimaryKeyDemo {
public static void main(String[] args) {
SessionFactory sessionFactory = ... | true |
1ac9983c3bd7f7133e95f82b122527191024a5b7 | Java | androidhuoniao/JavaSample | /src/main/java/com/grass/generic/Weight.java | UTF-8 | 114 | 2.234375 | 2 | [] | no_license | package com.grass.generic;
/**
* Created by grass on 16/6/30.
*/
public interface Weight {
int weight();
}
| true |
a59d497d05d59263424850a9559482f1aa536f64 | Java | sr-mason/JavaAlgorithms | /src/main/java/academy/kovalevskyi/algorithms/week0/day0/Tasks.java | UTF-8 | 1,607 | 3.34375 | 3 | [] | no_license | package academy.kovalevskyi.algorithms.week0.day0;
public class Tasks {
public static boolean sameCharactersSorting(String left, String right) {
if (left.length() != right.length()) {
return false;
}
Sort sort = new Sort() {
};
Character[] leftArray = left.chars().mapToObj(c -> (char) c).t... | true |
fa2e7bf7e12aceefbddffc6f8cfac9c9d2c6fcdd | Java | huangzhi1234/klgpro | /srcBusi/com/ibb/service/stDoc/impl/StDocService.java | UTF-8 | 721 | 2.0625 | 2 | [] | no_license | package com.ibb.service.stDoc.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import com.ibb.common.dao.IBaseDao;
import com.ibb.common.service.impl.BaseService;
import com.ibb.dao.stDoc.... | true |
e0a495a669a04cdf407483983d94bbeac199f6a3 | Java | isel-leic-mpd/mpd-2021-leirt | /aula-04-08/src/main/java/isel/leirt/mpd/operations/Add.java | UTF-8 | 362 | 2.734375 | 3 | [] | no_license | package isel.leirt.mpd.operations;
import isel.leirt.mpd.expressions.BinaryOper;
import isel.leirt.mpd.expressions.Expr;
public class Add extends BinaryOper {
public Add(Expr left, Expr right) {
super(left,right);
}
@Override
protected String getOperator() {
return "+";
}
@Override
public double eval() ... | true |
cdf29ad8c9e348d5133b0dee472d20cf45a72e72 | Java | mscray9212/AndroidSoftwear | /app/src/main/java/com/android/softwear/ProductActivity.java | UTF-8 | 21,905 | 2.015625 | 2 | [] | no_license | package com.android.softwear;
import android.app.ProgressDialog;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android... | true |
3feb18a3080894115fdee7bb61967b44e94d3eef | Java | zincxenon/StockApp | /src/com/sn/work/output/GzStock.java | UTF-8 | 2,066 | 2.375 | 2 | [] | no_license | package com.sn.work.output;
import java.io.IOException;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.concurrent.TimeUnit;
import org.apache.log4j.Logger;
import com.sn.db.DBManager;
import com.sn.work.itf.IWork;
import com.sn.work.WorkManager;
public class GzSto... | true |
49c08a9d81a083c2cc3a418b345f9ce583a0be86 | Java | jpiecuch/training-manager | /src/main/java/pl/jakubpiecuch/gymhome/web/controllers/api/dictionary/DictionaryController.java | UTF-8 | 1,157 | 2.171875 | 2 | [] | no_license | package pl.jakubpiecuch.gymhome.web.controllers.api.dictionary;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import pl.jakubpiecuch.gymhome.service.api.ApiVersionService;
import pl.jakubpiecuch.gymhome.web.controllers.api.... | true |
0d6eaa47320fa9f7fe33bdb5efbe5692a84494b9 | Java | DavidBohorquez/Architecture_Patterns_Design | /workspace1/Engineers-war/Correr/src/edu/presentacion/command/Invoker.java | UTF-8 | 213 | 2.453125 | 2 | [] | no_license | package edu.presentacion.command;
public class Invoker {
private Command comando;
public Invoker(Command comando) {
this.comando = comando;
}
public void click() {
comando.ejecutar();
}
}
| true |
7121ae5d213b676338ad2354dd61ca6eb572b072 | Java | M9wo/NarutoUnderworld | /src/main/java/alcoholmod/Mathioks/Final/Summons/Entity/SummonCatModel.java | UTF-8 | 3,913 | 2.328125 | 2 | [] | no_license | package alcoholmod.Mathioks.Final.Summons.Entity;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
public class SummonCatModel extends ModelBase {
ModelRenderer Shape2;
ModelRenderer head;
ModelRenderer body;
ModelRender... | true |
366e62a039be5a6202fb252015cd8598cf632116 | Java | luipyh/tjsfrestaurant | /myApp/src/main/java/com/example/myapp/WelcomePage.java | UTF-8 | 1,892 | 2.359375 | 2 | [] | no_license | package com.example.myapp;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.v... | true |
1fec7898720784d04fc1fafef14467abb6525493 | Java | devtest2021/bowlinggame | /src/main/java/com/bowling/demo/service/BowlingService.java | UTF-8 | 265 | 1.921875 | 2 | [] | no_license | package com.bowling.demo.service;
import com.bowling.demo.model.Frames;
import com.bowling.demo.model.Score;
public interface BowlingService {
String startNewPlayer();
Boolean submitScore(Frames frame, String id);
Score getScore(String id);
}
| true |
2494004d549a74d2f97de904eb9727d1a0a78880 | Java | yting130/test | /mybatis/src/com/j156/mybatis/enmu/OperateLogEnum.java | UTF-8 | 238 | 1.984375 | 2 | [] | no_license | package com.j156.mybatis.enmu;
public enum OperateLogEnum {
SAVE(0), UPDATE(1), DELETE(2);
private int type;
private OperateLogEnum(int type) {
this.type = type;
}
public int getType() {
return type;
}
}
| true |
1a807eea6f16e9fb66a44c7fe7356261002cada3 | Java | chao313/300-hotelManager | /hotelManage/src/com/hotel/service/impl/SuggestServiceImpl.java | UTF-8 | 834 | 2.09375 | 2 | [] | no_license | package com.hotel.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hotel.dao.SuggestDao;
import com.hotel.model.Suggest;
import com.hotel.service.SuggestService;
import com.hotel.utils.Pager;
@Service("suggestService")
pub... | true |
118c67ed173f2f40761a0a3ee1fad1e6be68a591 | Java | sudoy/abs4 | /src/abs4/ResultServlet.java | UTF-8 | 2,337 | 2.5 | 2 | [] | no_license | package abs4;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.... | true |
67a4ae15a094e981c7b5732933cb34b726bbd5e6 | Java | yinfuquan/spring-boot-example | /spring-boot-examples/spring-boot-redis/src/test/java/com/yin/springboot/redis/SpringBootRedisApplicationTests.java | UTF-8 | 743 | 1.953125 | 2 | [
"Apache-2.0"
] | permissive | package com.yin.springboot.redis;
import com.yin.springbootbeetlsql.entity.UserPO;
import com.yin.springbootbeetlsql.repository.UserRepository;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootT... | true |
08498867352f7051a4e1755eca53b461a98ff6a6 | Java | Azazel11/hello | /src/main/java/com/example/springboot/hello/service/impl/UserServiceImpl.java | UTF-8 | 4,932 | 2.484375 | 2 | [] | no_license | package com.example.springboot.hello.service.impl;
import com.example.springboot.hello.entity.User;
import com.example.springboot.hello.entity.VO.LoginVo;
import com.example.springboot.hello.mapper.UserMapper;
import com.example.springboot.hello.service.UserService;
import com.example.springboot.hello.web.response.Res... | true |
bfa79886ad7f9da1cc6caf7d0990cf89a9bb3387 | Java | JamesGreeman/GuildHubv3 | /backend/src/main/java/com/zanvork/guildhubv3/controller/CharacterController.java | UTF-8 | 9,761 | 2.125 | 2 | [] | no_license | package com.zanvork.guildhubv3.controller;
import com.zanvork.guildhubv3.model.OwnedEntityOwnershipRequest;
import com.zanvork.guildhubv3.model.User;
import com.zanvork.guildhubv3.services.CharacterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.Pa... | true |
f180d85dbb0c96d7127e555c204fc040db7b4d6f | Java | LukeGarrigan/mock-housing-app | /src/main/java/com/daledev/mockhousingapp/rest/controller/TenancyController.java | UTF-8 | 3,259 | 2.234375 | 2 | [] | no_license | package com.daledev.mockhousingapp.rest.controller;
import com.daledev.mockhousingapp.rest.dto.*;
import com.daledev.mockhousingapp.service.TenancyAccessService;
import com.daledev.mockhousingapp.service.TenancyService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.MediaType;... | true |
93c4a157a025c075a66c7e1950549775c798c836 | Java | wuhuaqiang/evtp-app | /evtp-app-bmap/src/main/java/com.hhdl/service/Impl/EvtpElectricityRecordingServiceImpl.java | UTF-8 | 561 | 1.570313 | 2 | [
"Apache-2.0"
] | permissive | package com.hhdl.service.Impl;
import com.hhdl.model.EvtpElectricityRecording;
import com.hhdl.dao.EvtpElectricityRecordingDao;
import com.hhdl.service.EvtpElectricityRecordingService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 服务实现类
* </p>... | true |
2d3479c35c85d5cb4907d0f69cb74ffdda932024 | Java | pedinil/fruitstore | /src/main/java/com/cybercom/model/Fruit.java | UTF-8 | 667 | 2.46875 | 2 | [] | no_license | package com.cybercom.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* Fruits class hold information related to a Fruits table
*
* @author Pedram
* @since Jan 1 2019
* @version 0.4.0
*/
@Dat... | true |
950e7719f4f7e758f639c1c6b0354a2e5d333697 | Java | donBME/The-Game | /src/Inventories/FieldObjectInventory.java | UTF-8 | 1,635 | 3.09375 | 3 | [] | no_license | package Inventories;
import GameObjects.FieldObject;
import Tools.Coordinate;
import Tools.CustomHashMap;
import java.util.Map;
/**
* Fieldobject tároló osztály
*/
@SuppressWarnings("unchecked")
public class FieldObjectInventory {
private final Map<Coordinate, FieldObject> fieldObjects;
/**
* Konstr... | true |
c43b3141c95475211a6e076d5b0d3848a53d265d | Java | NCK22/retrofit_sample | /app/src/main/java/com/applex/matrimony/Pojo/ParentPojoState.java | UTF-8 | 875 | 2.3125 | 2 | [] | no_license | package com.applex.matrimony.Pojo;
import com.google.gson.annotations.SerializedName;
import java.util.HashMap;
import java.util.LinkedHashMap;
public class ParentPojoState {
@SerializedName("RESPONSE_STATUS")
public
String status;
@SerializedName("RESPONSE_MSG")
String msg;
@SerializedNam... | true |
91d25efe18cf8631e0b9bb65e05a4df6a18448cd | Java | bhupeshchawda/OpBuilder | /src/main/java/com/datatorrent/SIOutputOpBuilder.java | UTF-8 | 1,069 | 2.578125 | 3 | [] | no_license | package com.datatorrent;
import com.datatorrent.api.DefaultInputPort;
import com.datatorrent.api.DefaultOutputPort;
/**
* Created by bhupesh on 20/12/15.
*/
public class SIOutputOpBuilder<I> extends OperatorBase
{
public SIOutputOpBuilder()
{
}
public SIOutputOpBuilder(String methodName, Object library)
... | true |
ced6575f884e18027134fe09e8c4c9518823bd14 | Java | liubin-5288/TinkerDemo | /app/src/main/java/com/example/tinkertest/MyApplication.java | UTF-8 | 2,117 | 1.914063 | 2 | [] | no_license | package com.example.tinkertest;
import android.app.Application;
import android.content.Context;
import android.content.Intent;
import android.support.multidex.MultiDex;
import com.example.tinkertest.tinker.log.MyLogImp;
import com.example.tinkertest.tinker.util.TinkerApplicationContext;
import com.example.tinkertest.... | true |
3b7c8b04407417e4fe625c2be026bba1f1775990 | Java | zhangyp1/demo | /nl-paas/java/paas-service/sysmgr/src/main/java/com/newland/paas/paasservice/sysmgr/vo/ActivitiTaskOutput.java | UTF-8 | 3,451 | 1.851563 | 2 | [] | no_license | package com.newland.paas.paasservice.sysmgr.vo;
/**
* @author chenshen
* @Description com.newland.paas.paasservice.svrmgr.vo.ActivitiTaskStartOutput
* @Date 2018/8/6
*/
public class ActivitiTaskOutput {
private String id;
private String url;
private String name;
private String descript... | true |
d8305fb2ea0b7c23fbca726c9449f1b2f1232649 | Java | Mononofu/OOP | /Gruppe/Aufgabe4/Scaled.java | UTF-8 | 1,158 | 3.265625 | 3 | [] | no_license | import java.util.List;
import java.util.ArrayList;
public class Scaled<P extends Pict> implements Pict {
private final List<List<P>> xss;
private final BoxUtility<P> utility = new BoxUtility<P>();
private FreeBox box;
/* erstellt eine Box aus N*M objekten */
public Scaled(List<List<P>> xss) {
this.xss =... | true |
38cb9a663250684f64dddbb38d51725abe5628f7 | Java | sengeiou/test1-1 | /iot-project/iot-heartbeat-service/src/main/java/com/hzyw/iot/config/MqttConnectionConfig.java | UTF-8 | 952 | 2.109375 | 2 | [] | no_license | package com.hzyw.iot.config;
import java.util.HashMap;
import java.util.Map;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
@Configuration
@ConfigurationProperties(p... | true |