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
5433b4254ba50a13f9b9f35aacce1049a71b541d
Java
wanggn/MobileSafe-1
/app/src/main/java/com/example/ling/mobilesafe/activity/HomeActivity.java
UTF-8
9,064
1.953125
2
[]
no_license
package com.example.ling.mobilesafe.activity; import android.content.DialogInterface; import android.content.Intent; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.view.ViewGro...
true
c5fd51b03083d6baecae7412bfe349e5a8956335
Java
aymenlaadhari/GTA
/src/src/converter/NatureJourneeConvertor.java
UTF-8
1,019
1.953125
2
[]
no_license
package converter; import javax.ejb.EJB; import javax.faces.bean.ManagedBean; import javax.faces.bean.RequestScoped; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.convert.Converter; import com.yesserp.domain.gtaparam.NatureJournee; import com.yesserp.sessionbean...
true
d1a12d38e226561e9115c29230f87b4cd9c03f66
Java
BartlomiejSzczotka/ParticleSwarmOptimization
/src/PSO/Coordinate.java
UTF-8
1,164
3.46875
3
[]
no_license
package PSO; /** * Here the locations of the particles are defined. */ public class Coordinate { private double x; private double y; public Coordinate(double x, double y) { this.x = x; this.y = y; } public Coordinate multiply(double multiplier){ ...
true
3d3288d472b264a61f6a3cedcab8f9cb09a3c347
Java
amilmshaji/20MCA201-ABHILASH_JOHN-OOPS-LAB
/CO5/CO5Q8/CO5Q8.java
UTF-8
1,159
3.515625
4
[ "MIT" ]
permissive
//Develop a program to handle Key events. import java.awt.FlowLayout; import java.awt.Frame; import java.awt.Label; import java.awt.TextField; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; public class CO5Q8 implements KeyListener { Label lb1, lbl2, lb; TextField tf1; Frame fr; Stri...
true
47a9d2eaed3cf1ddbb29bf7697bd02f15fb0d335
Java
PranavVyas/PopularMovies
/app/src/main/java/com/pro/vyas/pranav/popularmovies/asyncTaskUtils/LoadVideosAsyncTask.java
UTF-8
2,410
2.265625
2
[]
no_license
package com.pro.vyas.pranav.popularmovies.asyncTaskUtils; import android.content.Context; import android.os.AsyncTask; import android.util.Log; import com.androidnetworking.AndroidNetworking; import com.androidnetworking.common.ANRequest; import com.androidnetworking.common.ANResponse; import com.pro.vyas.pranav.popu...
true
5bc09ad728be96cda4bebf32a841660e431eac71
Java
hpbaotho/medical
/MedicalCrypto/MedicalCrypto-ejb/src/java/beans/facades/medical/KeyManifestFacadeLocal.java
UTF-8
618
2.046875
2
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package beans.facades.medical; import entities.medical.KeyManifest; import java.util.List; import javax.ejb.Local; /** * * @author Piotrek */ @Local public interface KeyManifestFacadeLocal { void create(KeyMan...
true
d6879b94e849ddf69b5399be9314cf5f1b6f9606
Java
fsds12/TripAdviserSemiProject
/TripAdviserSemiProject/src/tripAdviser/travel/product/model/service/TravelProductCommentService.java
UTF-8
1,510
2.21875
2
[]
no_license
package tripAdviser.travel.product.model.service; import static common.JDBCTemplate.close; import static common.JDBCTemplate.commit; import static common.JDBCTemplate.getConnection; import static common.JDBCTemplate.rollback; import java.sql.Connection; import java.util.List; import tripAdviser.member.mode...
true
77202d1582257785c55344267580e9f95d1c89d6
Java
perfeccionista-software/perfeccionista-framework
/pagefactory-mobile-api/src/main/java/io/perfeccionista/framework/pagefactory/elements/MobileTextAutocomplete.java
UTF-8
5,032
1.820313
2
[ "Apache-2.0" ]
permissive
package io.perfeccionista.framework.pagefactory.elements; import io.perfeccionista.framework.matcher.method.MobileComponentAvailableMatcher; import io.perfeccionista.framework.matcher.method.MobileElementPropertyAvailableMatcher; import io.perfeccionista.framework.matcher.method.MobileElementStateAvailableMatcher; imp...
true
e2dd86119ac2f59440a94f3cb0e4911aab77e815
Java
dvraja92/FragmentSample
/app/src/main/java/com/anhad/fleetgaurd/model/LoginResponseModel.java
UTF-8
5,269
2.15625
2
[]
no_license
package com.anhad.fleetgaurd.model; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; /** * Created by Anhad on 07-01-2017. */ public class LoginResponseModel { @SerializedName("status") @Expose private Boolean status; @SerializedName("Message") @Expo...
true
a0e89ae0224e1251e145c58e875b692e0aac1637
Java
yuzhe1997/Leetcode-from-start-to-the-end
/1400~1500/1419. Minimum Number of Frogs Croaking.java
UTF-8
1,837
3.640625
4
[]
no_license
/* Given the string croakOfFrogs, which represents a combination of the string "croak" from different frogs, that is, multiple frogs can croak at the same time, so multiple “croak” are mixed. Return the minimum number of different frogs to finish all the croak in the given string. A valid "croak" means a frog is prin...
true
f8aa9086c50505fd58494f038e2ae9a88cd165b2
Java
dotterbear/service-eureka-scheduler
/src/main/java/com/dotterbear/service/eureka/scheduler/service/RibbonService.java
UTF-8
913
2.125
2
[ "MIT" ]
permissive
package com.dotterbear.service.eureka.scheduler.service; import org.jboss.logging.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.web.client.RestTemplate; import com.netflix.hystrix.contrib.javanica.annotation.HystrixComm...
true
ccadaa4eb4d8a9027854d6d496da9e23ffa67008
Java
lhbd/ScoreAnalysisSys
/app/src/main/java/com/gdin/analyse/activity/RegisterActivity.java
UTF-8
8,155
2.0625
2
[]
no_license
package com.gdin.analyse.activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.ViewTreeObserver; import android.view...
true
2f9de5c905ebead79bc50c414b07bb0f012710f6
Java
abate2283/Professional-Core-Java-Programing
/eclipse-workspace/PreqPractice/src/looping/ShortQuizzOnLoop.java
UTF-8
661
3.140625
3
[]
no_license
package looping; public class ShortQuizzOnLoop { public static void main(String[] args) { } public static void printCategories(String str) { String stack =( "We have a large number of inventory of things in our wharehouse") + ("in the category: apparel and slightly" ) +( "more in demand category: make...
true
01a4d38570f223c5739e223b9f66aa01a6e9220b
Java
rederep/course
/src/test/java/PasswordTest.java
UTF-8
359
2
2
[]
no_license
import org.junit.Test; import service.Password; import static org.junit.Assert.assertEquals; public class PasswordTest { @Test public void passwordCheck(){ try { boolean result = Password.check("123","5WCDh7SLn+oY1PJqnKfL3yfi9EyPZOdyKHRQFh80HmI=$pJKsxaV+ExQ8+cMHzDLqxL/GxMppJZq4sy6pGZ4qR6c=...
true
148ce1c7b19ae49f54f59b39046edf164d5d10dd
Java
wpan1/SWENProj2
/core/src/com/unimelb/swen30006/partc/iplanning/WorldConverter.java
UTF-8
6,527
2.8125
3
[]
no_license
package com.unimelb.swen30006.partc.iplanning; import java.awt.geom.Point2D; import java.io.Reader; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.utils.Array; import com.badlogic.gdx.utils.X...
true
8557c8d9b09958d92fe32822a4ca0ad5f5bdba93
Java
ViniciusLippel/POOII-Generics
/src/q3/ProdutoX.java
UTF-8
1,293
2.71875
3
[]
no_license
package q3; import java.time.LocalDate; public class ProdutoX { private int id; private double preco; private String fabricante; private LocalDate dtFabricacao; public ProdutoX() { } public ProdutoX(int id, double preco, String fabricante, LocalDate dtFabricacao) { super(); this.id = id; this.prec...
true
ac7451fbf3981b6a888ddf91462270de7bbc5542
Java
rodrigolsoares/exemplo-micro-service-spring-boot
/src/main/java/com/micro/service/resources/ParcelaResource.java
UTF-8
1,077
2.015625
2
[]
no_license
package com.micro.service.resources; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestM...
true
8c9caccbe2781db478dc160e03974689420aa1e1
Java
uk-gov-mirror/UKHomeOffice.eba-envbuild-tool
/eba-platform/environment-build/src/main/java/com/ipt/ebsa/environment/build/execute/BuildNode.java
UTF-8
965
2.28125
2
[]
no_license
package com.ipt.ebsa.environment.build.execute; import java.util.ArrayList; import java.util.List; import com.ipt.ebsa.environment.data.model.ParameterisedNode; public class BuildNode { private ParameterisedNode node; private BuildContext buildContext; private List<BuildNode> children = new ArrayList<>(); priva...
true
e11d3ad018f9dd0e5e3d1d9ab921f319c708376e
Java
yangmingguang/LY
/src/com/yj/ecard/publics/http/model/request/CrashRequest.java
UTF-8
737
2.375
2
[]
no_license
/** * @Title: CrashRequest.java * @Package com.yj.ecard.publics.http.model.request * @Description: TODO(用一句话描述该文件做什么) * @author YangMingGuang * @date 2015-6-26 下午11:40:37 * @version V1.0 */ package com.yj.ecard.publics.http.model.request; /** * @ClassName: CrashRequest * @Description: TODO(这里用一句话描述...
true
725489ee9841a5bf4decb53dbc510bb8088c5d8b
Java
Dirt-Craft/DirtRestrict
/src/main/java/net/dirtcraft/dirtrestrict/Configuration/Serializers/ItemKeySerializer.java
UTF-8
1,971
2.109375
2
[]
no_license
package net.dirtcraft.dirtrestrict.Configuration.Serializers; import com.google.common.reflect.TypeToken; import cpw.mods.fml.common.registry.GameRegistry; import net.dirtcraft.dirtrestrict.Configuration.DataTypes.ItemKey; import net.dirtcraft.dirtrestrict.Utility.CommandUtils; import net.minecraft.item.Item; import n...
true
cf98d9c50c2aa2a722b3af0867a0b0955971d6da
Java
vitalik94/JD1_Unit01
/cycle01/main/Task31.java
UTF-8
1,318
3.671875
4
[]
no_license
package by.htp.cycle01.main; import java.util.Scanner; /* Компьютер генерирует пять чисел в диапазоне от 1 до 15 включительно. * Человек пытается их угадать. Программа должна выводить угаданные и * неугаданные числа из тех, что сгенерировала программа, * а также ошибочные числа пользователя. ...
true
1636f6e9bd79f99d0bcaef5070cf0914f301d0ce
Java
Anumanthu/SELENIUM
/src/webdrivertechniques/FramesExamples.java
UTF-8
2,913
2.984375
3
[]
no_license
package src.webdrivertechniques; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.interactions.Actions; import java.util.concurrent.TimeUnit; public class FramesExamples { public...
true
7cbf821e1c628e5500af16d08407448074adb21d
Java
mhedbiamin/Valomnia-connector
/src/main/java/org/mule/modules/valomnia/entities/Price.java
UTF-8
2,277
1.984375
2
[ "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
/** * (C) 2016 ApptivIT �. This software is protected by international copyright. Any use of this software is subject to Valomnia User account * through a sales contract between you and ApptivIT �. If such a user account Valomnia is not in place, * you can not use the software. * a copy of Valomnia GENERAL TERMS AN...
true
3b8983f987daf21b44dd756e2d7034abadde0069
Java
yeongyeonkim/SSAFY_Web
/MyMVCProject/JavaResources/src/com/algo/Algo.java
UTF-8
338
2.703125
3
[]
no_license
package com.algo; public class Algo { int num1, num2; public Algo(String num1, String num2) { this.num1 = Integer.parseInt(num1); this.num2 = Integer.parseInt(num2); } public int doJob() { //...ㅇㄱㄹㅈ return num1 + num2; } public int doJob2() { //...ㅇㄱㄹㅈ return num1 + num2; } }...
true
a7b9607cee93230800f5ef6523d12ddd6bd2afc8
Java
jordanmor/vegas-dice-game
/src/main/java/com/tts/vegasdicegame/controller/GameController.java
UTF-8
1,134
2.453125
2
[]
no_license
package com.tts.vegasdicegame.controller; import com.tts.vegasdicegame.model.GameResponse; import com.tts.vegasdicegame.service.GameService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.GetMappi...
true
eb8a2cab0f665ecb236a9d7a266168a3a12a4e0b
Java
ElblagPWSZ/MyClinic
/MyClinic/src/java/dao/PatientDB.java
UTF-8
2,070
2.546875
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 dao; import java.util.List; import model.Doctor; import model.Entry; import model.Patient; import org.hibernate.Cri...
true
feac53ebb6ced9b5b3ee7566d865e93bf0ccd9dc
Java
forachange/thrift-all
/thrift-spring/src/main/java/com/yangyang/thrift/service/UserServiceImpl.java
UTF-8
1,012
2.1875
2
[]
no_license
package com.yangyang.thrift.service; import com.yangyang.thrift.api.UserRequest; import com.yangyang.thrift.api.UserResponse; import com.yangyang.thrift.api.UserService; import org.apache.thrift.TException; import org.springframework.stereotype.Service; import java.util.HashMap; import java.util.Map; /** * Created ...
true
553b909f475e45edf8f213bf70a7595bf7064668
Java
luisenriquelo/MQST
/src/java/Sockets/Server.java
UTF-8
1,387
2.90625
3
[]
no_license
/* package Sockets; import java.net.InetSocketAddress; import java.net.UnknownHostException; import java.util.Scanner; import org.java_websocket.WebSocket; import org.java_websocket.handshake.ClientHandshake; import org.java_websocket.server.WebSocketServer; public class Server extends WebSocketServer{ ...
true
6f6af246fbd55718f6e61458a75513b86c7f55eb
Java
pancara/pointline
/pointline-system-ejb/src/main/java/id/hardana/ejb/system/mdb/MailSystemType.java
UTF-8
859
2.234375
2
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package id.hardana.ejb.system.mdb; /** * * @author Trisna */ public enum MailSystemType { MERCHANT_REGISTRATION(0, "Merchant Code"), PERSONAL_FORGET_PASSWORD(1, "Reset Password"), OP_MERCHANT_FORGET_PASS...
true
e0438443c75d1179b1f262a3a18ca106a78fdef5
Java
yhm2046/MyApplication
/app/src/main/java/com/example/myapplication/io/SvStatus.java
UTF-8
1,996
2.53125
3
[]
no_license
package com.example.myapplication.io; import android.os.Parcel; import android.os.Parcelable; import java.io.Serializable; /** * 卫星类,2021.9.4 Saturday,Serializable序列化可以用广播传输 */ public class SvStatus implements Serializable { int b; int b1; int b2; float c; float d; float e; float f; ...
true
afe491398237dd2530ef4e6568e2da74cee9dde5
Java
MR-TY/esys-nowo
/esys-nowo/src/main/java/com/qfedu/scene/dao/impl/SiteDao.java
UTF-8
421
1.710938
2
[]
no_license
package com.qfedu.scene.dao.impl; import org.apache.log4j.LogManager; import org.apache.log4j.Logger; import org.springframework.stereotype.Repository; import com.qfedu.common.dao.impl.BaseDao; import com.qfedu.scene.dao.ISiteDao; import com.qfedu.scene.entity.Site; @Repository public class SiteDao extends BaseDao<Si...
true
252edfc75ab4acd12b29728352082e5e198b29cd
Java
Navkash/NEXUS
/app/src/main/java/com/nexus/navkashkrishna/nexusdemo/Adapters/TeamAdapter.java
UTF-8
5,040
2.09375
2
[]
no_license
package com.nexus.navkashkrishna.nexusdemo.Adapters; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGro...
true
dfee832769f424b0331c44e0fe3f88ce0f07e137
Java
akhonabhokani/BodyPingPong
/src/tests/BarPostionsTest.java
UTF-8
1,711
2.640625
3
[ "BSD-3-Clause" ]
permissive
/* * BarPostionsTest.java * * Created on May 11, 2006, 11:43 AM * * To change this template, choose Tools | Template Manager and locate the * template. Click the Open in Editor button. * You can then make changes to the template in the Source Editor. */ package tests; import za.co.meraka.component...
true
958a76e29222bd20eb5f9b764f1bb215dfe2a3f8
Java
malcolmwells/apcs-hw
/10-LinkedListIterable/MyLLIterator.java
UTF-8
361
2.84375
3
[]
no_license
import java.util.*; import java.io.*; public class MyLLIterator<E> implements Iterator<E>{ private Node<E> h; public MyLLIterator(Node<E> h){ this.h = h; } public boolean hasNext(){ return h.getNext() != null; } public E next(){ E x = h.getData(); h = h.getNext(); return x; } public...
true
b93842828b50685a001b6c726310fc28f4d6fdb7
Java
dragonxu/street_light_yancheng
/resource/src/main/java/com/exc/street/light/resource/entity/sl/LampStrategyAction.java
UTF-8
2,708
1.9375
2
[]
no_license
/** * @filename:LampStrategyAction 2020-08-26 * @project sl V1.0 * Copyright(c) 2020 xiezhipeng Co. Ltd. * All right reserved. */ package com.exc.street.light.resource.entity.sl; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplu...
true
5910132e9a414a33479e27adde0ef7d324886e42
Java
xiaobiao123/spring-mongodb-redis
/src/test/java/model/T1mediator/mediator1/AbstractColleague.java
UTF-8
673
3.359375
3
[]
no_license
package model.T1mediator.mediator1; //抽象同事类 abstract class AbstractColleague { protected AbstractMediator mediator; /** * 既然有中介者,那么每个具体同事必然要与中介者有联系, * 否则就没必要存在于 这个系统当中,这里的构造函数相当 * 于向该系统中注册一个中介者,以取得联系 */ public AbstractColleague(AbstractMediator mediator) { this.mediator = media...
true
c10f72403f32611a24e497cf6a5e605325e5ee8f
Java
tigersshi/SchoolExAndroid
/app/src/main/java/com/landscape/schoolexandroid/enums/CardType.java
UTF-8
1,030
2.765625
3
[]
no_license
package com.landscape.schoolexandroid.enums; /** * Created by landscape on 2016/7/3. */ public enum CardType { SINGLE_CHOOSE(1)/*选择题*/, PACK(2)/*填空题*/, EXPLAIN(3)/*解答题*/, DECIDE(4)/*判断题*/, MULTI_CHOOSE(5)/*多选题*/, LISTEN_SINGLE_CHOOSE(12)/*听力单选题*/, LISTEN_PACK(13)/*听力填空题*/, NONE(0); ...
true
318bf85f91d60cb9ed362af7ac5b7f106ed582c3
Java
86gumball/POO
/FichasTP/Ficha4/FBPostComparator.java
UTF-8
318
2.484375
2
[ "MIT" ]
permissive
import java.util.Comparator; public class FBPostComparator implements Comparator<FBPost> { public int compare(FBPost p1, FBPost p2) { int n1 = p1.getComentarios().size(); int n2 = p2.getComentarios().size(); if (n1 < n2) return 1; if (n1 > n2) return -1; return 0; } }
true
a6a07ef87dfbf98267d3d7f9aec02f02ebdb76ad
Java
shuangge-jb/dormitory
/src/main/java/com/dormitory/controller/student/StudentPostcardController.java
UTF-8
2,005
2.078125
2
[]
no_license
package com.dormitory.controller.student; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Resource; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation....
true
c5c89456458d46aa781608f759a02e4905d5b5f2
Java
wjt2487/mxjApp
/src/cn/mxj/mxjapp/util/StringUtils.java
UTF-8
3,840
3.234375
3
[]
no_license
package cn.mxj.mxjapp.util; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.regex.Matcher; import java.util.regex.Pattern; public class StringUtils { private static final String DEFAULT_DATE_PATTERN = "yyyy-MM-dd"; private static final String DEFAULT_DATETIME_P...
true
8061677e6c0d0215acb9965cc00fa0ef64361f9b
Java
joshimoo/ImageMatch
/src/main/java/com/sleepycoders/imagematch/metric/IMetric.java
UTF-8
210
2.0625
2
[ "MIT" ]
permissive
package com.sleepycoders.imagematch.metric; import com.sleepycoders.imagematch.image.Image; /** * @author Joshua Moody (joshimoo@hotmail.de) */ public interface IMetric { float calculate(final Image a, final Image b); }
true
02903fcf707412631a7626898891104cadb6eb8a
Java
ibakuyua/KAYB_SIM
/src/Utilitaires/PontBrownien.java
UTF-8
3,638
3.390625
3
[]
no_license
package Utilitaires; /** * \file Utilitaires.PontBrownien.java * \brief Implementation of the utilitary PontBrownien * \author Ibakuyumcu Arnaud * \author Voong Kwan * \author Ayutaya Rattanatray * \author Ruimy Benjamin * \version 1.0 * \date 10 April 2016 */ import java.util.Random; /** * \class Utilitair...
true
cf814644936929e01ab8d1fa405f4b6e578e35af
Java
julivanmeridius/posgraduacao_puc
/api-vendas-backend/src/main/java/br/com/puc/exception/PessoaInexistenteOuInativaException.java
UTF-8
321
1.742188
2
[]
no_license
package br.com.puc.exception; /** * <strong>Descricao: </strong> * Trabalho de Conclusao de Curso - Especializacao PUC MINAS * Curso: Arquitetura de Solucoes * * @author Julivan Barbosa da Silva * */ public class PessoaInexistenteOuInativaException extends RuntimeException { private static final long serialV...
true
dd6c5d071ccebcb109279795a3d96f8c0c5971a7
Java
XClouded/avp
/agp-core/src/main/java/com/lvsint/settlement/NamedBet.java
UTF-8
7,395
2.5625
3
[]
no_license
package com.lvsint.settlement; import java.math.BigDecimal; import java.math.MathContext; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; import com.lvsint.abp.TxJournal; import com.lvsint.abp.TxJournalFactory; import com.lvsint.abp.server.settlement.bet.SettlementBet; import com.l...
true
d6a878aa6f5f507e0d5895dc2b3311e543f8b0e6
Java
javanibble/java-algorithms
/src/main/java/com/javanibble/algorithm/sequence/sort/CountingSort.java
UTF-8
2,047
4.125
4
[ "MIT" ]
permissive
package com.javanibble.algorithm.sequence.sort; /** * The CountingSort class implements the Counting Sort algorithm for sorting an array of integers. Counting * Sort is an integer sorting algorithm. Counting Sort are unlike other sorting algorithms in that it makes * certain assumptions about the data. It counts...
true
70d1632d16106fa561f79c48c696925d46807a13
Java
Queliath/BookHouse
/OnlineLibaryBackServer/src/java/businessLogicWS/BusinessLogic.java
UTF-8
13,395
2.4375
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 businessLogicWS; import dao.AdminDao; import dao.BookDao; import dao.CommentDao; import dao.PurchaseDao; import dao.RatingDao;...
true
fe3ab98f1285fadc8aa6026bae043afdec4de5dc
Java
vzhovnitsky/notifee
/android/src/main/java/app/notifee/core/model/TimestampTriggerModel.java
UTF-8
4,004
2.421875
2
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
package app.notifee.core.model; /* * Copyright (c) 2016-present Invertase Limited & Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this library except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/license...
true
f002caa4d212ee440c1baeca8273c762bccf0a62
Java
Robert-Miotk/ZSE_Praktyki
/src/third_week/packages/zadania/zadanie3/zadanie3.java
UTF-8
198
2.515625
3
[]
no_license
package third_week.packages.zadania.zadanie3; public class zadanie3 { protected int mnozenie(int x, int y){ int z = x * y; System.out.print("Wynik: "); return z; } }
true
b0b13f7192b3e539bced45eb0671c00ad3bd91e2
Java
Android-linpengdiao/android-kuaimu
/app/src/main/java/com/kuaimu/android/app/model/WorksDetail.java
UTF-8
9,261
2.015625
2
[]
no_license
package com.kuaimu.android.app.model; public class WorksDetail { /** * code : 200 * msg : 成功 * data : {"id":21,"created_at":"2020-07-03 22:12:13","updated_at":"2020-07-09 00:27:56","is_deleted":2,"tourist_id":6,"tourist_name":"青春有你制作人","active_id":1,"active_name":"这就是街舞3","video":"http://enjoy-mon...
true
df6d4ffcb2e45ac44935bd59d3ebc7a0ecaf4470
Java
irinajinli/four-minigames
/phase1/Game1/app/src/main/java/com/example/game1/presentation/view/user/StatisticsActivity.java
UTF-8
3,606
2.171875
2
[]
no_license
package com.example.game1.presentation.view.user; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.EditText; import com.example.game1.R; import com.example.game1.presentation.presenter.AppManager; import com.exam...
true
732db9a533a348598256a1cba56747016fc1e300
Java
hvgdfx/javatest
/src/main/java/com/test/function/FunctionTest.java
UTF-8
307
2.90625
3
[]
no_license
package com.test.function; import java.util.function.Function; public class FunctionTest { public static void main(String[] args) { Function<String,String> function = (x) -> {System.out.print(x+": ");return "Function";}; System.out.println(function.apply("hello world")); } }
true
bfc1de77155e09f9a15096a6e725f17194d94709
Java
amzhulanov/spring-boot-hw
/src/main/java/com/example/springboothw/repositories/RoleRepository.java
UTF-8
416
2.078125
2
[]
no_license
package com.example.springboothw.repositories; import com.example.springboothw.entities.Role; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import java.util.Collection; import java.util.List; @Repository public interface RoleRepository extends CrudReposi...
true
d0d2f439d5e11dddc258dc4388a53b1827d24bf9
Java
Yasnielmr/InitCMS
/InitCMS/src/main/java/com/cms/init/repository/ComentarioRepository.java
UTF-8
1,965
2.25
2
[]
no_license
package com.cms.init.repository; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.data.web.SpringDataWebProperties.Pageable; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Repository; ...
true
4601745c85e88104ab28961520a3395ebe718f41
Java
programmerXSX/JavaLearningAllCodes
/Java核心技术/常用工具类/随机数与输入语句/随机数.java
UTF-8
289
3.171875
3
[]
no_license
package 常用工具类.随机数与输入语句; import java.util.*; public class 随机数 { public static void main(String[] args) { Random r = new Random(); int a = r.nextInt(10);//获取0-9之间的数字 System.out.println("a = " + a); } }
true
e92f50b7e559dc3e25d8a225432daa3975df1a1c
Java
oariaf00/practicas_SI
/practica3_SI/src/practica3_SI/Main.java
ISO-8859-1
7,446
2.875
3
[]
no_license
package practica3_SI; import java.util.ArrayList; public class Main { public static void main(String[] args) { //Datos del problema char [] alf = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','A','B','C','D','E','F','G','H','I','J','K','L','...
true
30b56c2b5462bb8e1211a56b1dfc50490f770560
Java
ncats/stitcher
/app/controllers/MathJax.java
UTF-8
3,145
2.375
2
[ "Apache-2.0" ]
permissive
package controllers; import java.io.*; import java.security.SecureRandom; import java.util.concurrent.Callable; import javax.inject.*; import play.*; import play.mvc.*; import play.libs.ws.*; import org.webjars.*; import views.html.*; import org.webjars.play.WebJarsUtil; import ncats.stitcher.CacheFactory; public cl...
true
b31d341eb99e9e4596e023d40225d3c1d92c8da7
Java
admins-2017/cloud-backstage
/src/main/java/com/giantlizardcloud/merchant/enums/IndexKeyEnum.java
UTF-8
748
2.234375
2
[]
no_license
package com.giantlizardcloud.merchant.enums; import lombok.Getter; /** * @author Administrator */ @Getter public enum IndexKeyEnum { /** * 销量排行key */ SALE("sales-ranking"), /** * 统计key */ STATISTICS("statistics"), /** * 销售次数统计 */ SALE_COUNT("saleCount"), /...
true
0592d2867976126ffc06095173a04eeece56a1e7
Java
DaedalusGame/RequiousFrakto
/src/main/java/requious/compat/jei/ingredient/SuperStackRenderer.java
UTF-8
3,176
2.1875
2
[ "MIT" ]
permissive
package requious.compat.jei.ingredient; import mezz.jei.api.ingredients.IIngredientRenderer; import mezz.jei.util.ErrorUtil; import mezz.jei.util.Log; import mezz.jei.util.Translator; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.renderer.GlStateManage...
true
57f11441957abb3c97a6de64b7e772a3f7c54dce
Java
HeavyMetal77/JacksonDatabindingJson
/src/main/java/ua/tarastom/jackson/json/Driver.java
UTF-8
990
2.875
3
[]
no_license
package ua.tarastom.jackson.json; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.File; import java.io.IOException; import java.util.Arrays; public class Driver { public static void main(String[] args) { ObjectMapper mapper = new ObjectMapper(); Student theStudent = null; ...
true
b1fc3eb82063262c821dbcecd5ef6b316ab64a7f
Java
Thulebona/infoshare
/src/main/java/infoshare/restapi/people/PersonAPI.java
UTF-8
991
2.125
2
[]
no_license
package infoshare.restapi.people; import infoshare.app.conf.RestUtil; import infoshare.domain.person.Person; import java.util.Set; /** * Created by hashcode on 2015/11/17. */ public class PersonAPI { public static Person save(Person person) { return RestUtil.save(PersonBaseURI.Person.POST, person, Per...
true
f4474efd4baa2b77c526f0497723df8161577678
Java
BITcampPredavaci/PredavanjaCamp2
/S12D03_ParallelProcessing/src/Runner.java
UTF-8
437
2.109375
2
[]
no_license
import ba.bitcamp.benjamin.blockingqueueexample.BlockingQueueExample; import ba.bitcamp.benjamin.executorexample.ExecutorExample; import ba.bitcamp.benjamin.latchexample.*; import ba.bitcamp.benjamin.callableexample.*; public class Runner { public static void main(String[] args) { //BlockingQueueExample.star...
true
faa1dc1d532bffbaccf4af32946909f28e50aa28
Java
mohsenuss91/Sender
/src/client/Client.java
UTF-8
1,761
3.28125
3
[]
no_license
package src.client; import java.net.Socket; import java.net.InetAddress; import java.io.ObjectOutputStream; import java.io.ObjectInputStream; import java.io.IOException; import java.util.Random; public class Client extends Thread { private static final int SERVER_PORT=444; //Objekti klasa ObjectOutputStream i ...
true
f57bfd3a1df9f2710522b1cdc600b3926fdf21fb
Java
bkozyrev/MyRepo
/app/src/main/java/com/bkozyrev/superchat/core/rx/IRxSchedulers.java
UTF-8
775
2.15625
2
[]
no_license
package com.bkozyrev.superchat.core.rx; import android.support.annotation.NonNull; import io.reactivex.Scheduler; /** * {@code Interface} для получения {@link Scheduler}, чтобы управлять исполнением * * @author Козырев Борис */ public interface IRxSchedulers { /** * Возвращает {@link Scheduler}, привяза...
true
9fe34f88702157a5fc8224004ddba4c6376982e3
Java
charleswang007/i290t-aep
/out/production/aep/test/edu/berkeley/ischool/aep/RectangleTest.java
UTF-8
529
2.78125
3
[]
no_license
package edu.berkeley.ischool.aep; import junit.framework.Assert; import org.junit.Test; /** * Created by Charles on 2014/1/24. */ public class RectangleTest { @Test public void shouldReturnAreaOfTenForTwoByFiveRectangle() { Rectangle rectangle = new Rectangle(5, 2); Assert.assertEquals(10,...
true
d2a9cd68dbfc127f4f7fdbcbe845710ce422049d
Java
aditi9413/Core-Java-Programs
/src/ClassAndObject/StaticUse.java
UTF-8
622
3.90625
4
[]
no_license
package ClassAndObject; class Ticket{ int number; static int counter; static{ counter=0; } public Ticket(){ number=++counter; } public void show(){ System.out.println("It is a ticket number = " +number); } public static int getcounter(){ return counter; } } public class StaticUse { ...
true
8a7119439d151cf15ff3ca7668895cc112ee7031
Java
17803909286/power
/app/src/main/java/com/power/home/ui/adapter/CourseCatalogueAdapter.java
UTF-8
4,638
2.265625
2
[ "MIT" ]
permissive
package com.power.home.ui.adapter; import android.widget.TextView; import androidx.annotation.Nullable; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapter.base.BaseViewHolder; import com.power.home.R; import com.power.home.common.util.FontUtil; import com.power.home.common.util.St...
true
ab446835ffb857096521546387404f137e65b98b
Java
Duanxiaodai/Algorithms-and-data-structure
/Java数据结构与算法/Leetcode/Solution_101.java
UTF-8
707
3.109375
3
[]
no_license
class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int x) { val = x; } } public class Sulotion_101 { public boolean isSymmetric(TreeNode root) { return iscore(root,root); } public boolean iscore(TreeNode root1,TreeNode root2){ if (root1==null&&root2==null)...
true
67ffeb775dc159441bede73250526be37bddb83c
Java
GoodHot/WebSpider
/src/main/java/com/goodHot/fun/domain/media/JPEGMedia.java
UTF-8
503
2.5
2
[]
no_license
package com.goodHot.fun.domain.media; import com.goodHot.fun.enums.MediaEnum; import lombok.Data; import lombok.ToString; @Data @ToString public class JPEGMedia extends AbstractMedia { public JPEGMedia(String url, Integer width, Integer height) { this.url = url; this.width = width; this.h...
true
6cc660cd522dfd0b295e75e58108b4305f3197fe
Java
lsa4449/DDIT-middleProject
/Book_Client2/src/kr/or/ddit/view/study/StudyWriteController.java
UTF-8
2,900
1.898438
2
[]
no_license
package kr.or.ddit.view.study; import java.io.File; import java.io.IOException; import java.net.URL; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; import java.text.SimpleDateFormat; import java.util.Date; impor...
true
014a5650fc9c374574fda3bb307658d0cb373962
Java
pegasus-isi/pegasus
/test/junit/edu/isi/pegasus/planner/mapper/output/OutputMapperTestSetup.java
UTF-8
4,341
2.28125
2
[ "Apache-2.0" ]
permissive
/** * Copyright 2007-2013 University Of Southern California * * <p>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 * * <p>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required b...
true
3aa0aa58c2e245abefc3759a610fe9d6b129ec33
Java
FaresMenzli/PIDEV-Covid
/src/com/esprit/Service/ServiceQuestion.java
UTF-8
2,846
2.46875
2
[]
no_license
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.esprit.Service; import com.esprit.utils.DataBase; import java.sql.Connection; import java.sql.ResultSet; import java.sql.S...
true
80d420e7fdeddfa23c28e9af2a019d340c8aff98
Java
jayshharma/Java-Mini-Projects
/B1.java
UTF-8
584
3.03125
3
[]
no_license
class B1 { public static void main(String[] args) { System.out.println("Which country are you from?"); String country1= In.getString(); if (country1.equals ("India")) { System.out.println ("This country is filled with amazing people and food"); } else if (country1.equals ("Canada")) ...
true
7f2d6e62904c8703dc43b9f6ba65c3229f2262a4
Java
toandv/fluent-collections
/src/main/java/fluent/collection/FluentListTest.java
UTF-8
809
3.5
4
[ "MIT" ]
permissive
package fluent.collection; import java.util.List; import fluent.collection.mutable.FluentArrayList; import fluent.collection.mutable.FluentFastList; import fluent.collection.mutable.FluentLinkedList; public class FluentListTest { public static void main(String[] args) { // treated as java.util.List ...
true
92907e87073cf8ad4de01044f73dd7b3064f0786
Java
moutainhigh/jzy
/src/main/java/com/kaisa/kams/components/utils/ParamUtil.java
UTF-8
4,861
2.34375
2
[]
no_license
package com.kaisa.kams.components.utils; import com.kaisa.kams.components.params.common.DataTableParam; import com.kaisa.kams.components.utils.excelUtil.Condition; import com.kaisa.kams.components.utils.excelUtil.ExcelAssistant; import org.apache.commons.lang.StringUtils; import org.nutz.dao.Cnd; import org.nutz.dao.s...
true
edb2cd770919898d1557501f53b4452156435bbf
Java
mleger/Graph
/src/graph/algorithms/MinimumSpanningTree.java
WINDOWS-1257
4,189
3.578125
4
[ "Apache-2.0" ]
permissive
package graph.algorithms; import graph.elements.Graph; import graph.elements.Node; import graph.elements.WeightedEdge; import java.util.Collections; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.Set; /** * This class can be used to find the minimum spanning tree of a graph. * The algo...
true
1302a6870a1f2470afec21a1ff655f5c119ea5a7
Java
gitdlf/FreeMallV1.0
/FreeMall/src/com/freemall/service/IAddOrderService.java
UTF-8
389
2.0625
2
[]
no_license
package com.freemall.service; import com.freemall.dao.entry.OrderEntry; /** * 增加订单的接口类 * @author LFSenior * *上午8:54:03 * */ public interface IAddOrderService { /** * 增加订单实现方法 * @param orderEntry 封装好的订单数据 * @return boolean 返回是否添加成功 */ public boolean addOrder(OrderEntry orderEntry); } ...
true
b2f63d6c7d781349b528b5be762bf82c51d210e3
Java
daniilperestoronin/order-execution-system
/authentication-server/src/main/java/com/orderexecution/authentication/repository/TokenRepository.java
UTF-8
261
2.09375
2
[]
no_license
package com.orderexecution.authentication.repository; import com.orderexecution.authentication.domainobjects.User; /** * @author Perestoronin Daniil */ public interface TokenRepository { User checkToken(String token); void addToken(String token, User user); }
true
be631baeb80d53208c9c893b67265c31ba9ee14e
Java
aparna-14/MovieBooking-DesktopApplication
/MovieTheater/src/movietheater/mainMenu.java
UTF-8
1,185
2.5625
3
[ "MIT" ]
permissive
package movietheater; import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; import java.util.ArrayList; public class mainMenu extends javax.swing.JFrame { private int mousepX; private int mousepY; public static String firstTime; public static String firstTime2; publi...
true
9fec4d0ce72acd959b6756f1427ede25998f17d8
Java
muhammed06/myfirsjavas
/POLİNOM2/PolConstants.java
UTF-8
405
1.554688
2
[ "Unlicense" ]
permissive
/* Generated By:JavaCC: Do not edit this line. PolConstants.java */ public interface PolConstants { int EOF = 0; int BOLME = 6; int US = 7; int TOPLAM = 8; int SAYI = 9; int X = 10; int DEFAULT = 0; String[] tokenImage = { "<EOF>", "\" \"", "\"\\t\"", "\"\\n\"", "\"\\r\"", "\"...
true
a65468f26e5a3e4c4063742167fc3fdadd689513
Java
phax/phase4
/phase4-lib/src/main/java/com/helger/phase4/client/AS4ClientReceiptMessage.java
UTF-8
6,245
1.703125
2
[ "Apache-2.0" ]
permissive
/* * Copyright (C) 2015-2023 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
true
f17f179fd221a21a861b0ce50af34dec25e5d67c
Java
troytan1991/design-pattern
/src/test/java/com/troytan/creation/SingletonTest.java
UTF-8
570
2.984375
3
[ "MIT" ]
permissive
package com.troytan.creation; import org.junit.Assert; import org.junit.Test; import com.troytan.creation.Singleton.DbManager; /** * 单例模式:保证一个类仅有一个实例,并提供一个访问它的全局访问点(getInstance方法) * * @author troytan * @date 2017年12月4日 */ public class SingletonTest { @Test public void singletonTest()...
true
5147b6cf6cb0325fb1aae3b71e91e45bda387fc8
Java
WilliamAmorim/SistemaDeGerenciamento
/Medical Drugs/src/br/com/medicalpharm/model/SaidaItemModel.java
UTF-8
1,357
1.984375
2
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package br.com.medicalpharm.model; import java.util.Date; /** * * @author ALENCAR */ public class SaidaItemModel { public Integer getCodSaida() { return codSaida; } public void setCodSaida(Inte...
true
ecb86c4d9308408323c73481f881de9eaf54ef2f
Java
lararogu/EjercicioTTA
/EjercicioTTA/app/src/main/java/es/tta/ejerciciotta/Business.java
UTF-8
3,580
2.390625
2
[]
no_license
package es.tta.ejerciciotta; import android.util.Log; import android.widget.TextView; import android.net.Uri; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import es.tta.ejerciciotta.Test.Choice; import java.io.FileInputStream; import java.io.IOException; import java.io.InputS...
true
4e79f2e08759a484dad8cc0737bedd8d360f5da6
Java
hamigakitanuki/codnate_android
/app/src/main/java/com/example/codnate3/intent/Start5.java
UTF-8
2,576
2.3125
2
[]
no_license
package com.example.codnate3.intent; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.RadioButton; import android.widget.Radi...
true
77201bb25507fcbe6665c97fef8128c647813f1d
Java
agoncal/agoncal-fascicle-microprofile
/health/health-live-ready/src/main/java/org/agoncal/fascicle/microprofile/health/liveready/SystemVariableCheck.java
UTF-8
884
2.171875
2
[ "MIT" ]
permissive
package org.agoncal.fascicle.microprofile.health.liveready; import org.eclipse.microprofile.health.HealthCheck; import org.eclipse.microprofile.health.HealthCheckResponse; import org.eclipse.microprofile.health.Readiness; import javax.enterprise.context.ApplicationScoped; // tag::adocSnippet[] @Readiness @Applicatio...
true
6ddb443fb8fe0c8f4fe8c95aba8cd61bfe8701ad
Java
YFuLin/NewsApp
/app/src/main/java/com/example/newsapp/ContentActivity.java
UTF-8
855
2.046875
2
[]
no_license
package com.example.newsapp; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.webkit.WebView; import android.webkit.WebViewClient; public class ContentActivity extends AppCompatActivity { public static String LINK_NAME="CONTENT"; @Overri...
true
35f17c227753c6b7bbf3e83d2f86908457e425fe
Java
georgepachitariu/DistributedDatabase
/src/networkInfrastructure/ServerNetworkInfo.java
UTF-8
768
3.15625
3
[]
no_license
package NetworkInfrastructure; public class ServerNetworkInfo { private String IP; private int port; public ServerNetworkInfo(String input) { String[] parts=input.split(":"); this.IP=parts[0]; this.port=Integer.parseInt(parts[1]); } public ServerNetworkInfo (String ip, int port) { this.IP=ip; th...
true
adaddab8f5302e467c3a7aab858851f0e6279dae
Java
mahao521/CacheBitmap
/database/src/main/java/com/bitmap/database/base/BaseImpl.java
UTF-8
319
1.78125
2
[]
no_license
package com.bitmap.database.base; import android.content.Context; import android.support.v4.content.ContextCompat; import io.reactivex.disposables.Disposable; /** * Created by Administrator on 2018/6/30. */ public interface BaseImpl { boolean addDisposable(Disposable dispoable); Context getContext(); }
true
870f92da748098655ec3af6951f20c2d583779ac
Java
maiconm/hello-world-android-2
/app/src/main/java/com/example/mandraski/helloworldandroid2/lista3/Pessoa.java
UTF-8
1,193
2.625
3
[]
no_license
package com.example.mandraski.helloworldandroid2.lista3; public class Pessoa { private long id; private String nome; private String idade; private String cpf; private String profissao; public Pessoa (long id, String nome, String idade, String profissao) { this.id = id; this.nom...
true
5be76378e1b7dc3060b23088e8ccc389f8f7900e
Java
P79N6A/oyph
/sp2p_sjzyj.activity.shake/app/daos/activity/shake/ShakeActivityDao.java
UTF-8
1,557
2.40625
2
[ "MIT" ]
permissive
package daos.activity.shake; import java.util.List; import common.utils.PageBean; import daos.base.BaseDao; import models.activity.shake.entity.t_shake_activity; /** * 摇一摇活动DAO * * @author niu * @create 2017-12-08 */ public class ShakeActivityDao extends BaseDao<t_shake_activity> { /** * 保存摇一摇活动 * ...
true
f5ae80d4bc63a0045442645cec92695e6a816063
Java
samlovespider/CUtilsLibrary
/cutilslibrary/src/main/java/com/samcai/cutilslibrary/utils/ArrayUtils.java
UTF-8
554
2.359375
2
[]
no_license
package com.samcai.cutilslibrary.utils; import java.util.List; import java.util.Map; /** * Created by caizhenliang on 2018/4/27. * * @version 1.2 */ public class ArrayUtils { /** * not null and size>0 * * @param list * @return */ public static boolean IsEmpty(List list) { ...
true
ec3995d1fd2d4e41daca4e0913f1b5eda38f1df0
Java
zdddrszj/hotelmansys
/.svn/pristine/40/4049e94d77316bd942ab6c9178a01509958bd60a.svn-base
UTF-8
945
2.328125
2
[]
no_license
package com.wx.model; import java.util.HashSet; import java.util.Set; /*** * 设置关联 * @author 王雪 * @desc商品类型 跟商品一对多 * 2013-7-25 */ public class ProductType { /**商品类型id*/ private Integer type_id; /**商品名称*/ private String type_name; /**商品*/ private Set<Product> type_proId = new HashSet<Product>(); public I...
true
0bea3f836c0ced95fe84c8fc219e8b7093184b45
Java
nekitos911/sberproject
/src/main/java/com/task/sberproject/service/WeatherServiceImpl.java
UTF-8
781
2.1875
2
[]
no_license
package com.task.sberproject.service; import com.task.sberproject.Constant; import com.task.sberproject.entity.Weather; import com.task.sberproject.utils.URIUtils; import lombok.RequiredArgsConstructor; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import org...
true
fa4b0dfbd5e1525c0bda88e0f968758d1cd8dd41
Java
sakaiproject/sakai
/conversations/api/src/main/java/org/sakaiproject/conversations/api/model/ConversationsPost.java
UTF-8
3,483
1.773438
2
[ "ECL-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-generic-cla", "GPL-1.0-or-later" ]
permissive
/* * Copyright (c) 2003-2021 The Apereo Foundation * * Licensed under the Educational Community 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://opensource.org/licenses/ecl2 * * Unless requi...
true
4fb138e7c268a049ae4fc7ade0a32e031feee2d1
Java
PeronVolodymyr/universityJDBC
/src/main/java/per/coursework/university/DAO/teacher/TeacherDAOJDBCImpl.java
UTF-8
6,408
2.609375
3
[]
no_license
package per.coursework.university.DAO.teacher; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import per.coursework.university.DAO.teacher.interfaces.ITeacherDAO; import per.coursework.university.datastorage.DataStorageJDBC; import per.coursework.univers...
true
9abb4e9d626ab5de756a331a6287c2a65687cc16
Java
wind-o-f-change/CarePortalWebApp
/src/main/java/ru/careportal/core/config/AopConfig.java
UTF-8
1,305
2.125
2
[]
no_license
package ru.careportal.core.config; import lombok.extern.slf4j.Slf4j; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.aspectj.lang.annotation.Pointcut; import org.springframework.context...
true
dd3ae5f37944b4d1ce7de49bb6dbd4da50c78d71
Java
voidmirror/NC_dockerMavenPostman
/spring-boot-data-jpa-2021-v2/src/main/java/com/netcracker/controller/ContactController.java
UTF-8
1,772
2.34375
2
[]
no_license
package com.netcracker.controller; import com.netcracker.exception.ResourceNotFoundException; import com.netcracker.model.Contact; import com.netcracker.repository.ContactRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframewor...
true
06a9d95757ee66590d07725d2c660781130a4d03
Java
Conanjun/HK_CPDT
/src/com/cw/wizbank/report/SynlrnActivityReportScheduler.java
UTF-8
2,940
2.171875
2
[]
no_license
package com.cw.wizbank.report; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import com.cw.wizbank.ScheduledTask; import com.cw.wizbank.config.WizbiniLoader; import com.cw.wizbank.message.MessageScheduler; import com.cw.wizbank.util.cwSQL; import org.apache.log4j.Logger;...
true
9e6ba50c31a1ed3845e8cec30142015c80471060
Java
DonSiMP/retina
/src/main/java/ch/ethz/idsc/demo/mp/pid/PIDCurveHelper.java
UTF-8
1,196
2.390625
2
[]
no_license
// code by mcp package ch.ethz.idsc.demo.mp.pid; import ch.ethz.idsc.sophus.planar.ArcTan2D; import ch.ethz.idsc.tensor.Scalar; import ch.ethz.idsc.tensor.Tensor; import ch.ethz.idsc.tensor.red.ArgMin; import ch.ethz.idsc.tensor.red.Norm; /* package */ enum PIDCurveHelper { ; /** @param curve * @param pose ...
true
bfbd6e71a51081963977ad79ba98fc9680fb91f0
Java
steven28zhang/ITTechlife
/itlCore/src/main/java/com/sxw/itl/utils/io/file/FileOperations.java
UTF-8
1,900
2.578125
3
[]
no_license
/** * */ package com.sxw.itl.utils.io.file; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.sxw.itl.common.ITLConstants.Symbols; /** * @author stephenx...
true