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
ad5c79300aad803ad60be6da31ebb43db3bb412c
Java
JakubGajewski/JavaTester
/src/main/java/pl/javatester/JavaTester/models/QuestionModel.java
UTF-8
525
1.921875
2
[]
no_license
package pl.javatester.JavaTester.models; import lombok.Data; import lombok.NoArgsConstructor; import pl.javatester.JavaTester.models.forms.AnswerForm; import javax.persistence.*; @Entity @Table(name = "javatestquestion") @Data @NoArgsConstructor public class QuestionModel { @Id @GeneratedValue(strategy = Gen...
true
c9753f592110784cc45707044d6299964108ec82
Java
zhangzhiwang/GuPaoEdu
/src/main/java/com/asiainfo/p6_2020/designPatterns/chainOfResponsibility/ValidHandler.java
UTF-8
416
2.625
3
[]
no_license
package com.asiainfo.p6_2020.designPatterns.chainOfResponsibility; import org.jsoup.helper.StringUtil; public class ValidHandler extends Handler { @Override protected boolean handle(User user) { if (StringUtil.isBlank(user.getName()) || StringUtil.isBlank(user.getPassword())) { System.out.println("validate:用户...
true
7f5c3cdbb62ba1fd0079233c2886e5ccbfdd0cba
Java
yang755994/wemirr-platform
/wemirr-platform-authority/src/main/java/com/wemirr/platform/authority/domain/vo/VueRouter.java
UTF-8
1,138
1.679688
2
[ "Apache-2.0" ]
permissive
package com.wemirr.platform.authority.domain.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; /** * 构建 Vue路由 * * @author Levin * @since 2019-10-20 15:17 */ @Data public class VueRouter { private static final long serialVersionUID = -3327478146308500708L; private Long id; p...
true
21cad586ea610f392019f6c3c70660c11e252e3a
Java
RabbitTea/JavaWeb-project
/基于Java和MySQL的旅游预订系统/TravelBooking/src/com/ustc/bean/MainApplication.java
UTF-8
501
2.21875
2
[]
no_license
package com.ustc.bean; import java.util.ArrayList; import com.ustc.dao.jdbcHelper; public class MainApplication { public static void main(String[] args) { jdbcHelper helper = new jdbcHelper(); ArrayList<CustomersBean> custs = helper.searchCustomer(); //helper.cusRegister(cust); //helper.searc...
true
bc7f2cb905ad8ec46032de37f80c81991bc770e5
Java
HuLi00/SpringBoot-Blog
/blog-api/src/main/java/com/blog/handler/LoginInterceptor.java
UTF-8
2,991
2.46875
2
[]
no_license
package com.blog.handler; import com.alibaba.fastjson.JSON; import com.blog.controller.vo.ErrorCode; import com.blog.controller.vo.Result; import com.blog.dao.pojo.SysUser; import com.blog.service.LoginService; import com.blog.utils.UserThreadLocalUtils; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang...
true
4e18b5fdf00466f0c058cb64337b0ec2daf677fb
Java
kholodovitch/adfox_sdk_java
/src/main/java/com/github/kholodovitch/adfox/ActionAccountAdd.java
UTF-8
2,341
2.359375
2
[]
no_license
package com.github.kholodovitch.adfox; import java.util.ArrayList; import org.apache.commons.lang3.StringUtils; import com.github.kholodovitch.adfox.exceptions.AdFoxException; import com.github.kholodovitch.adfox.interfaces.IActionAccountAdd; import com.github.kholodovitch.adfox.objects.Advertiser; import com.github...
true
96d13521878dd1bedd3a1a2ae66ccf9d97cfaceb
Java
bellmit/paiche
/guns-vip-master/guns-vip-main/src/main/java/cn/stylefeng/guns/pojo/CoursePackage.java
UTF-8
1,548
2.125
2
[]
no_license
package cn.stylefeng.guns.pojo; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableField; import java.io.Serializable; /** * <p> * * </p> * * @author * @sin...
true
9bf0a94378df11ca87e38b3efc9a2063b29086b4
Java
pf666nb/sell
/src/main/java/com/imooc/repository/ProductInfoRepository.java
UTF-8
457
1.835938
2
[]
no_license
package com.imooc.repository; import com.imooc.dataobject.ProductInfo; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; /** * @author wpf * @version 1.0 * @date 2020/4/4 12:48 */ public interface ProductInfoRepository extends JpaRepository<ProductInfo,String> { ...
true
3ff5e4f9a94cffb90ae8fdf4b6af4a90b1bb787b
Java
qpy1992/Christie
/app/src/main/java/com/example/administrator/christie/activity/ShenqingActivity.java
UTF-8
6,285
2.1875
2
[]
no_license
package com.example.administrator.christie.activity; import android.content.Intent; import android.os.Handler; import android.os.Message; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; import com.e...
true
f0e6569188655ebafe67e372a0f68c096eefae6b
Java
rutgerkok/WorldGeneratorApi
/worldgeneratorapi-impl/src/main/java/nl/rutgerkok/worldgeneratorapi/internal/PropertyRegistryImpl.java
UTF-8
6,014
2.46875
2
[ "MIT" ]
permissive
package nl.rutgerkok.worldgeneratorapi.internal; import java.util.Collection; import java.util.Collections; import java.util.Map; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; import java.util.function.Function; import javax.annotation.Nullable; import org.bukkit.Bukkit; import org.bukkit...
true
9235f25a879499c19d80732349e1d3872306331f
Java
CoderHahs/ICS-2-3-4-U
/ICS2U/Unit 1/madlibs/MadLibs.java
UTF-8
1,092
3.375
3
[]
no_license
public class MadLibs { public static void main (String args []) { new MadLibs (); } public MadLibs () { String name = IBIO.inputString ("Enter a made-up name: "); String name2 = IBIO.inputString ("Enter a another made-up name: "); String col = IBIO.inputString ("Enter a colour: "); String col2 = IBIO.inputStr...
true
8265a5f0b2b4e7ec42c8225fa422b86bd145120c
Java
aniskoubaa/CS102
/src/topic02/classes/StudentTest.java
UTF-8
3,425
3.484375
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 topic02.classes; import java.util.ArrayList; /* Driver or Test Class */ public class StudentTest { public static voi...
true
a23514ae52f823aba28206f0f9e82d2166143556
Java
dmr5bq/Java-Code-Samples
/src/edu/virginia/engine/game/Message.java
UTF-8
272
2.453125
2
[]
no_license
package edu.virginia.engine.game; public class Message { public double start; public double duration; public String text; public Message(String message, double start, double duration) { this.start = start; this.duration = duration; this.text = message; } }
true
a9dd476c6dc8ac45f94aed9718935d3cb74b8243
Java
omnia100/PyramidsDAO
/src/PyramidDAO.java
UTF-8
101
1.796875
2
[]
no_license
import java.util.List; public interface PyramidDAO { List<Pyramid> readFile(String fileName); }
true
4cf36c82f9a40f939ea150833d2ea336f1c465c8
Java
DanielOrDany/Databases
/lab5/src/main/java/ua/lviv/iot/nikulshyn/model/Current.java
UTF-8
7,920
2.203125
2
[ "MIT" ]
permissive
package ua.lviv.iot.nikulshyn.model; import javax.persistence.*; @Entity public class Current { private Integer id; private Integer wind; private Integer temperature; private Double latitude; private Double longtitude; private Integer verticalSpeed; private Integer gpsAltitude; private...
true
2bb775e4c08fa0a04ac2863d81702d85afbd851e
Java
CamiloHernandezC/ClienteV3.1
/test/Test/PersistenceTest.java
UTF-8
2,900
2.296875
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 Test; import com.anarsoft.vmlens.concurrent.junit.ConcurrentTestRunner; import com.clienteV31.facades.PersonasFacade; ...
true
da9aa9c040a5c6d62c708c4a467472a36be89a7b
Java
Ulisesbh087/Sys-designers-Hackaton
/Proyectov3/src/main/java/com/mycompany/proyectov3/Clasificacion.java
UTF-8
1,970
2.921875
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 com.mycompany.proyectov3; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Pa...
true
d2f0664fb1b9c6149d95455b425d059cb3a48889
Java
appium/java-client
/src/test/java/io/appium/java_client/android/AndroidTouchTest.java
UTF-8
9,245
2.34375
2
[ "Apache-2.0" ]
permissive
package io.appium.java_client.android; import io.appium.java_client.AppiumBy; import io.appium.java_client.MultiTouchAction; import io.appium.java_client.TouchAction; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.openqa.selenium.By; import org.openqa.selenium.Point; import org....
true
94388fc420a5cba6cd1997a254ea18188a7a4e32
Java
ybakkali/INFO-H417-Project
/src/main/java/info/h417/model/algo/BaseAlgo.java
UTF-8
768
2.609375
3
[]
no_license
package info.h417.model.algo; import info.h417.model.stream.Generator; public class BaseAlgo { protected final Generator generator; protected Generator writeGenerator; protected String outputFilename; /** * A generic Constructor that takes a generator as parameter * * @param generator...
true
7760b4dbcd260f3721b90227422387a86db05303
Java
PankajSAgarwal/JavaDesignPattern
/JavaSpecialists-AbstractFactory/src/exercise1/AbstractFactoryTest.java
UTF-8
1,655
3.328125
3
[]
no_license
package exercise1; import org.junit.*; import java.lang.reflect.*; import static org.junit.Assert.*; //DON'T CHANGE public class AbstractFactoryTest { @Test public void testSlowEarth() { Earth earth = new SlowEarth(); Animal animal = earth.createAnimal(); Vehicle vehicle = earth.crea...
true
d7a934d19f2f65d1c94ddfe6a3984544aea86f02
Java
dveyarangi/libgdx-utils
/src/game/systems/rendering/SpriteTextureDef.java
UTF-8
977
2.453125
2
[]
no_license
package game.systems.rendering; import game.resources.TextureName; public class SpriteTextureDef extends SpriteDef <SpriteTextureComponent> { public TextureName textureName; public SpriteTextureDef(String textureName) { this(new TextureName(textureName), 0, 0, 0, 1, 1); } public SpriteTextureDef(TextureName...
true
ecab0ec91c8a6131fad3eaeca903d65b28a9ae41
Java
mirek190/x86-android-5.0
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/RequestControlPane.java
UTF-8
10,352
1.664063
2
[]
no_license
/* * Copyright (C) 2014 The Android Open Source Project * * 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 app...
true
279e4770bdc43603f000cae7d23049b362aba888
Java
ChoiSunHo/WEB_SPRING
/project/src/musicvideo/RM_MusicVideo.java
UTF-8
645
2.140625
2
[]
no_license
package musicvideo; import java.sql.ResultSet; import java.sql.SQLException; import org.springframework.jdbc.core.RowMapper; public class RM_MusicVideo implements RowMapper<MusicVideoVO>{ @Override public MusicVideoVO mapRow(ResultSet rs, int arg1) throws SQLException { MusicVideoVO vo = new Mus...
true
1bd2b90f3d73c7e7bb21dc6a713c370f44dd1944
Java
aditya7188/CoreJava
/Thread1.java
UTF-8
303
2.796875
3
[]
no_license
class RamaThread extends Thread { public void run() { for(int i=0;i<=10;i++) { System.out.println("RamaThread:"+i); } } public static void main(String[] args) { RamaThread r1=new RamaThread(); r1.start(); } }
true
351a251f4070b46d4ae18d4fcc1024000ba5ba03
Java
techism/techism-monitoring2
/src/test/java/org/techism/monitoring/service/PageCheckServiceTest.java
UTF-8
1,186
2.078125
2
[]
no_license
package org.techism.monitoring.service; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import java.util.List; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; impor...
true
6095997cdaf6fba2bfd0a82fc451d3c90538dabb
Java
kmin135/algospot
/Algospot/src/khs/algo/easy/JUMPGAME.java
UTF-8
1,703
3.265625
3
[]
no_license
package khs.algo.easy; import java.util.Scanner; /** * 시작 : 16-04-13 15:00 * 종료 : 16-04-13 15:33 * https://algospot.com/judge/problem/read/JUMPGAME * * 최악의 입력. 동적 계획법을 쓰자! 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 2 0 */ public clas...
true
eb89e6ec4c35273844f09e5dd3495000608a8d45
Java
buriosca/cz.burios.uniql-jpa
/src/cz/burios/uniql/persistence/annotations/CacheIndex.java
UTF-8
2,181
1.921875
2
[]
no_license
/******************************************************************************* * Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ...
true
55e6c3530527486e91f30f852745fce9d7dbccf0
Java
1218683832/noproject
/module_view/src/main/java/com/mrrun/module_view/loadingview/LoadingLineView.java
UTF-8
4,557
2.4375
2
[]
no_license
package com.mrrun.module_view.loadingview; import android.animation.AnimatorSet; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.support.annotation.Nullable; import android.util.Attribut...
true
daecf6d6bda1acb85723564ec3c2f9de53d8817e
Java
drh0534/gs
/src/main/java/com/gs/pp/validator/CheckPasswordValidator.java
UTF-8
1,065
2.296875
2
[]
no_license
package com.gs.pp.validator; import com.gs.pp.common.annotation.CheckPassword; import com.gs.pp.orm.User; import org.springframework.util.StringUtils; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; /** * Created by duronghong on 2016/3/3. * Email: drh0534@163.com ...
true
f0bc3b6dbabed3ddb8b27e4636a9e9b05756ad91
Java
hahaha28/APT-Demo
/sss/src/main/java/com/example/sss/SssActivity.java
UTF-8
390
1.632813
2
[]
no_license
package com.example.sss; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import com.example.apt_annotation.Routing; @Routing(key="sss") public class SssActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(saved...
true
7ef7e002ba2819d9aac399093b00fb84e0884013
Java
hongyuxiong/AutoTest
/src/Arraylist/YiWeiArrary2.java
UTF-8
956
3.5625
4
[]
no_license
package Arraylist; public class YiWeiArrary2 { public static void main(String[] args){ /**byte short int long的数组初始值都是0*/ int[] arr = new int[1]; for(int i=0;i<arr.length;i++){ System.out.println(arr[i]); } /**char型的数组的初始值是0,不是'0'*/ char[] arr1 = new char[...
true
e8d235685bcaec274d13072ba55700a71322c5c5
Java
waterwitness/dazhihui
/classes/com/android/dazhihui/ui/widget/ky.java
UTF-8
810
1.953125
2
[]
no_license
package com.android.dazhihui.ui.widget; import android.view.View; class ky implements Runnable { ky(StickyScrollView paramStickyScrollView) {} public void run() { if (StickyScrollView.a(this.a) != null) { int i = StickyScrollView.a(this.a, StickyScrollView.a(this.a)); int j = StickyScro...
true
961ed9ca721f40b0f9491ee45ac02b2ee0ff4dc1
Java
hxxy2003/zhl-cloud-master
/zhl-resources/src/main/java/net/tfedu/zhl/cloud/resource/resSearch/controller/ResSearchController.java
UTF-8
7,310
2.109375
2
[]
no_license
package net.tfedu.zhl.cloud.resource.resSearch.controller; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.tfedu.zhl.cloud.resource.poolTypeFormat.e...
true
497e46b97f352a8e0a6e2b496c3c1efb2540fa24
Java
vbalakrishna/Tarvel-Guide
/app/src/main/java/com/example/raghu/travelguide/StartActivity.java
UTF-8
2,379
2.21875
2
[]
no_license
package com.example.raghu.travelguide; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.EditText; import android....
true
299becb6b57b9e15fd3276d063ef9296f36cba6a
Java
gmp237/tp1
/Livre.java
UTF-8
1,957
2.921875
3
[]
no_license
public class Livre implements Comparable<Livre> { public String titre, categorie; private int codeAuteur, codeLivre, nbPages; private double prix; public Livre( int codeLivre, String titre, String categorie, int codeAuteur, double prix, int nbPages) { this.titre = titre; this.categorie = categori...
true
2856c06012c50c4eba76b83a6daa3f735b85ea44
Java
jeffreson19/Faith_BDay
/Faith_BDAY/ConfettiGun.java
UTF-8
4,856
2.828125
3
[]
no_license
import java.awt.*; import java.awt.event.*; import java.util.ArrayList; public class ConfettiGun { ArrayList<Confetti> arrayOfConfetti = new ArrayList<>(); Main main; boolean isSpacePressed = false; ConfettiGun (Main main) { this.main = main; refreshGun(); } ...
true
4662c74bf476eabcc1ce4950d70aa0a774b7de3b
Java
Neumann789/springboot-learn
/jode-1.1.2/output/com/javosize/agent/memory/StaticVariableSize.java
UTF-8
1,690
2.578125
3
[]
no_license
/* StaticVariableSize - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ package com.javosize.agent.memory; public class StaticVariableSize implements Comparable { private String className; private String variableName; private String type; private long size; public Stat...
true
e73c657470222ef2fc5ba3282257874907aaa5b5
Java
shailuamu/TestAutoThon
/init/testExec.java
UTF-8
2,766
2.296875
2
[]
no_license
package init; import java.lang.reflect.Method; import java.util.LinkedHashMap; import java.util.Map; import org.openqa.selenium.WebDriver; import Report.Report; public class testExec { public static boolean executeVerifyKeyword(String verifyKey, LinkedHashMap<String, String> data) { boolean status = false; ...
true
5de334d10166373f290fa28118f3fca411aca643
Java
2170987947/JavaWeb
/2020_1110shopping/src/Servlet/AddServlet.java
UTF-8
1,411
2.40625
2
[]
no_license
package Servlet; import java.io.IOException; import java.util.HashMap; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import vo.book; /** * Servlet imp...
true
eaa34109d48f9e7873a14afe11a38b540d8b9b7c
Java
roilat/roilat_study_code
/roilat-study/roilat-study-java/src/main/java/cn/roilat/study/j2ee/http/clientpool/Signature.java
UTF-8
6,963
2.234375
2
[]
no_license
package cn.roilat.study.j2ee.http.clientpool; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.security.InvalidKeyException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.time.format.DateTimeFormatter; import java.util.ArrayList; import java...
true
f2a59d5d3a6a7a15a6c02e6deefe769bf7cf201c
Java
ynsamzni/java-source-code-management-tool
/src/java_source_code_management_tool/model/dto/Version.java
UTF-8
3,529
3.234375
3
[]
no_license
package java_source_code_management_tool.model.dto; import java.util.ArrayList; import java.sql.Timestamp; /** * This class consists of methods that operate on or return a version. * * @author Jordan and Yanis (Group 4 - Pair 10) * */ public class Version { private String versionNumber; private String author...
true
5f3968e374d80ff818704816888733fac128df69
Java
osman705/jessrobocode
/brain/src/events/BulletHit.java
UTF-8
581
2.421875
2
[]
no_license
package events; import java.io.Serializable; public class BulletHit extends Event implements Serializable { /** * */ private static final long serialVersionUID = -7807252159144889448L; double energy; public BulletHit(double energy, String name) { super(); this.energy = energy; this.name = ...
true
0667ee923e45e68f61a6045502294ee0ed3ade73
Java
martinezcarlos/mssc-beer-service
/src/main/java/guru/sfg/brewery/service/service/brewing/BrewingService.java
UTF-8
1,516
2.234375
2
[]
no_license
package guru.sfg.brewery.service.service.brewing; import guru.sfg.brewery.model.events.BrewBeerEvent; import guru.sfg.brewery.service.config.JmsConfig; import guru.sfg.brewery.service.domain.Beer; import guru.sfg.brewery.service.repository.BeerRepository; import guru.sfg.brewery.service.service.inventory.BeerInventory...
true
84a28024e6fb996a9d3be5fd731e019f32093fd1
Java
JeikWazAlreadyTaken/Housamo_AuthKey_Switch
/app/src/main/java/com/jeik/authamo/InitActivity.java
UTF-8
1,109
1.882813
2
[]
no_license
package com.jeik.authamo; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; public class InitActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { s...
true
6b4b047bb4347d52d8038623629171f9a9ef43dd
Java
jhoon12/study_java
/자바수업/자바수업2/0709_base/src/num3.java
UTF-8
442
3.609375
4
[]
no_license
import java.util.Scanner; public class num3 { public static void main(String[] args) { System.out.println(factorial(5)); System.out.println(factorial(1,5)); System.out.println(factorial(3,5)); System.out.println(factorial(10,5)); } static int factorial(int x) { int r = 1; while(x > 0) { r *= x--; ...
true
857db9133ed4bf1bc49105e6bbb188b24e921fcc
Java
xinpengfa/work
/cmfz_admin/src/main/java/com/wcf/controller/ManagerController.java
UTF-8
3,170
2.3125
2
[]
no_license
package com.wcf.controller; import com.wcf.service.ManagerService; import com.wcf.utils.ImageUtil; import com.wcf.vo.Result; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.UsernamePasswordToken; import org.apache.shiro.subject.Subject; import org.springframework.stereotype.Controller; import org....
true
5432534c93ed9f509858d61553314d58ea010de3
Java
getolly/OllyCreditBhamashah
/app/src/main/java/com/ollycredit/ui/onboarding/signup/verify_email/VerifyEmailActivity.java
UTF-8
4,313
1.789063
2
[]
no_license
package com.ollycredit.ui.onboarding.signup.verify_email; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.ConnectivityManager; import android.os.Bundle; import android.view.View; import android.widget.Butto...
true
951c69dd4f7015e70da85543b653bfcd87e15551
Java
Pavithra-Krish/product1
/ECOM/product-integration-models/src/main/java/com/services/product/integration/models_c1/request/RESTGetBulkProductItemRequest.java
UTF-8
605
1.929688
2
[]
no_license
package com.services.product.integration.models_c1.request; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import java.util.List; /** * Created by Pavithra on 3/12/14. */ public class RESTGetBulkProductItemRequest { private List<RESTBulkProductRequest> products...
true
b8ae955118108ca933db7afa9565214de87fb30e
Java
Indranil03/TMA
/src/main/java/com/tma/Application.java
UTF-8
696
1.8125
2
[]
no_license
package com.tma; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ApplicationContext; import org.springframework.web.servlet.DispatcherServlet; /** * Spring Boot Main Application * */ @SpringBootApplication pu...
true
aa9cc961e7f1770ea7788d15915126cdcd6f911e
Java
airidas338/mc-dev
/src/main/java/net/minecraft/server/BlockPistonMoving.java
UTF-8
5,597
2.078125
2
[]
no_license
package net.minecraft.server; import java.util.Random; public class BlockPistonMoving extends BlockContainer { public static final beu a = BlockPistonExtension.a; public static final bev b = BlockPistonExtension.b; public BlockPistonMoving() { super(Material.PISTON); this.j(this.L.b().a(a, Enum...
true
81f7e64dd31f4375630d642ebce6162c73b5c32d
Java
bert-janzwanepol/Spotitube-REST-API
/src/main/java/oose/dea/spotitube/dao/ITrackDAO.java
UTF-8
1,834
2.78125
3
[]
no_license
package oose.dea.spotitube.dao; import oose.dea.spotitube.domain.Track; import java.util.ArrayList; public interface ITrackDAO { /** * Gets all tracks in a playlists. * @param playlistid The id of the playlist that contains the tracks * @return All tracks in a specific playlist. */ publi...
true
f3f1a48324f55032dd57d3af483d55dfabe63981
Java
vgaray/sic-tintegro
/pivo-dominio/src/main/java/pe/com/tintegro/dto/response/ListaMarcaTelefonoResponse.java
UTF-8
434
2.03125
2
[]
no_license
package pe.com.tintegro.dto.response; import java.util.List; import pe.com.tintegro.dominio.MarcaTelefono; public class ListaMarcaTelefonoResponse extends ResponseBase { private List<MarcaTelefono> marcaTelefonoList; public List<MarcaTelefono> getMarcaTelefonoList() { return marcaTelefonoList; } public void...
true
3df3a269c6fbdfe3a42f14559ddbd195f01d3b95
Java
andonghyuk/javastudy
/src/s0624/StringArray2.java
UTF-8
340
3.109375
3
[]
no_license
package s0624; public class StringArray2 { public static void main(String[] args) { String str="1,24,52,346,85,6,"; String[] strs = str.split(","); int[] nums = new int[strs.length]; for(int i=0;i<strs.length;i++) { nums[i] = Integer.parseInt(strs[i]); } for(int num:nums) { System.out.printl...
true
ab9959830db9ede9f83bc519d94fc81f446d1ea0
Java
renaudpawlak/tura
/org.eclipse.e4.xwt/bundles/org.eclipse.e4.xwt.tools.ui.designer.core/src/org/eclipse/e4/xwt/tools/ui/designer/core/editor/dnd/DropTargetAdapter.java
UTF-8
3,096
2.140625
2
[]
no_license
/******************************************************************************* * Copyright (c) 2006, 2010 Soyatec (http://www.soyatec.com) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this...
true
f8aa85af2872d2df396da99788b8bd6b99804974
Java
zyao89/ZRouter
/zrouter-api/src/main/java/com/zyao89/zrouter/inter/ILogger.java
UTF-8
651
2.046875
2
[]
no_license
package com.zyao89.zrouter.inter; /** * Created by zyao89 on 2017/3/5. * Contact me at 305161066@qq.com or zyao89@gmail.com * For more projects: https://github.com/zyao89 */ public interface ILogger { enum STATUS { INFO, DEBUG, WARN, ERROR, FULL, NONE; } void showStackTrace(boolean isShowS...
true
8950121c55ded6e01bdc7de4f39c2b8f0f1273bd
Java
GreenHand-zmy/xblog
/src/main/java/service/Impl/PostsServiceImpl.java
UTF-8
6,722
2.40625
2
[]
no_license
package service.Impl; import dao.Impl.PostDaoImpl; import dao.PostDao; import service.PostsService; import bean.Post; import constant.PostStatusConstant; import constant.XBlogConstant; import utils.PageBean; import java.util.List; import java.util.stream.Collectors; import static utils.CheckUtil.check; /** * Creat...
true
2151017a1d158575e784ae3660e92a5ac2d3e9e1
Java
d0bz/pt_test
/src/com/playtech/testassignment/client/RandomGeneratorServiceAsync.java
UTF-8
266
1.671875
2
[]
no_license
package com.playtech.testassignment.client; import com.google.gwt.user.client.rpc.AsyncCallback; public interface RandomGeneratorServiceAsync { void getNumbers(int columns, int symbols, AsyncCallback<int[]> callback) throws IllegalArgumentException; }
true
a991b029133625a3177302031dee5bccfd3d4a3f
Java
caofengbin/BookCode
/2.设计模式之禅/Interceptor/src/test/Client.java
GB18030
1,492
3.234375
3
[]
no_license
package test; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; public class Client { public static void main(String[] args) { String expStr = getExpStr(); HashMap<String, Integer> var = getValue(expStr); Calculator cal = new Calculato...
true
ee5a59995e6eb4d824e275979777d02b43578f0d
Java
fernandospr/java-mpns
/src/main/java/com/notnoop/mpns/notifications/CycleTileNotification.java
UTF-8
5,543
1.8125
2
[ "BSD-3-Clause" ]
permissive
/* * Copyright 2011, Mahmood Ali. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
true
4b2b75c1a51fb2c461f33702ad7c5bd38f3fb0df
Java
adminhaoge/anticorrosiveApp
/AndroidStudioProjects/MyAppNotepad/app/src/main/java/com/example/myappnotepad/notepadAdapter.java
UTF-8
1,082
2.203125
2
[]
no_license
package com.example.myappnotepad; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.exampl...
true
71d70ae9c7b7c17245a008c41e95000ca6188138
Java
joshbasden/TTRServer
/SQL/src/SQL.java
UTF-8
7,367
2.890625
3
[]
no_license
import Database.Database; import Database.DatabaseException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; public class SQL implements Database { UserDAO userDAO; CommandDAO commandDAO; GameDAO gameDAO; ...
true
90831a39249a4e275bdc8d7aaff729578407e418
Java
mleduque/plugin-java
/codenvy-ext-java/src/main/java/com/codenvy/ide/ext/java/server/format/XMLParser.java
UTF-8
1,393
1.8125
2
[]
no_license
/******************************************************************************* * Copyright (c) 2012-2014 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
true
b1f84b59b17776b21044f9570d2e7f931a2a954d
Java
mtyurt/spring-core-examples
/src/main/java/profiling/HistoryEnvironmentTest.java
UTF-8
798
1.953125
2
[ "Apache-2.0" ]
permissive
package profiling; import common.Book; import common.HistoryBook; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.ContextConfiguration; import org.sprin...
true
f1db764f54131d38f7075bf3ff4f47b919931e20
Java
wstzx/goods
/src/com/tzx/filter/Filter.java
UTF-8
1,082
2.15625
2
[]
no_license
package com.tzx.filter; import javax.servlet.*; import javax.servlet.annotation.WebFilter; import javax.servlet.http.HttpServletRequest; import java.io.IOException; @WebFilter(filterName = "Filter", urlPatterns = {"/jsps/order/*", "/jsps/cart/*", "/com/tzx/cart/*", "/com/tzx/order/*"}) public class Filter implements ...
true
6ceb38b9c7ca46eafda8bdbfc8a8d0d4ee8eabdb
Java
harishmurari07/Trac
/app/src/main/java/com/example/trac/viewmodel/DeviceStatusViewModel.java
UTF-8
1,567
2.3125
2
[]
no_license
package com.example.trac.viewmodel; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; import com.example.trac.model.DeviceStatusResponse; import com.example.trac.repository.DeviceRepository; import io.reactivex.android.schedulers.AndroidSchedulers; im...
true
f920d2dcdab281cbf1c006801db86367b7253fa3
Java
Lava-shr/Java_SpringMVC
/studentreview/src/main/java/com/elec5619/sr/domain/User.java
UTF-8
2,937
2.34375
2
[]
no_license
package com.elec5619.sr.domain; import java.io.Serializable; import java.util.*; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.IdClass; import javax.persistence.L...
true
f54ccf84775f68236d2275ae0624f4e352dc3383
Java
aBaranowska/hibernateApp
/src/main/java/com/recglobal/hibernate/rest/OrderService.java
UTF-8
17,439
2.359375
2
[]
no_license
package com.recglobal.hibernate.rest; import java.sql.Date; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Set; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.PathParam; imp...
true
245a9ab298d2a8a8787150ee3b6af7d6a44da06e
Java
llka/Depreciation
/backend/src/main/java/depreciation/backend/command/user/CreateEquipmentCommand.java
UTF-8
1,579
2.390625
2
[]
no_license
package depreciation.backend.command.user; import depreciation.backend.command.ActionCommand; import depreciation.backend.dao.CompanyDAO; import depreciation.backend.dao.EquipmentDAO; import depreciation.backend.exception.ApplicationException; import depreciation.backend.util.JsonUtil; import depreciation.entity.Equip...
true
673c59eed00dd244d0ea04207277b52817514e54
Java
dukang199409/hnjg
/jshl-manager/src/main/java/com/bsl/reportbean/BslOutProductDetailInfo.java
UTF-8
5,064
1.882813
2
[]
no_license
package com.bsl.reportbean; import java.util.Date; public class BslOutProductDetailInfo { private String bsCustomer;//销售客户 private String bsOrderNo;//订单号 private String bsInputuser;//制单人员 private String prodRuc;//出库仓库 private String prodOutPlan;//出库单号 private String prodSaleSerno;//出库详细流水 private...
true
e880fd7f154867152d7693013f0feb4103d8dfe8
Java
Dova81/ReactBichomonGO
/Grupo_1_2018_C2-TP-TP6/src/main/java/epers/bichomon/dao/NivelDAO.java
UTF-8
240
1.875
2
[]
no_license
package epers.bichomon.dao; import epers.bichomon.model.entrenador.Nivel; import org.springframework.data.jpa.repository.JpaRepository; public interface NivelDAO extends JpaRepository<Nivel, Integer> { Nivel findByNro(Integer nro); }
true
049d97f967dfd51fed260133d8f1dc2730a36615
Java
WICKW/Studying.Spring.IoC
/src/main/java/com/yurii/aplicationcontext/MsgProvider.java
UTF-8
99
1.71875
2
[]
no_license
package com.yurii.aplicationcontext; public interface MsgProvider { public String getMsg(); }
true
56b419c3f1c571438fec007d77174e83c68e111c
Java
Niyaz-90/stc-21_gafurov_niyaz
/Homework11/src/main/java/ru/inno/hw11/task1/MainClient.java
UTF-8
372
2.40625
2
[]
no_license
package ru.inno.hw11.task1; import java.io.IOException; import java.net.Socket; public class MainClient { public static void main(String[] args) { try { Socket socket = new Socket("localhost", 34642); SocketClient client = new SocketClient(socket); } catch (IOException e) {...
true
1f7773f4ff2aca9f1c88587efb3961ba0e044c36
Java
acastroy/safiserver-all
/com.safi.asterisk.figures/src/com/safi/asterisk/figures/DefaultToolstepFigure.java
UTF-8
2,026
2.3125
2
[]
no_license
package com.safi.asterisk.figures; import org.eclipse.draw2d.IFigure; import org.eclipse.draw2d.Label; import org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel; /** * @generated */ public class DefaultToolstepFigure extends ToolstepFigure { IFigure tooltip; boolean minimized = false; public De...
true
ab68b393021e1e4e3935a9bb809fb6793c95e2f4
Java
UQ-RCC/nimrodok
/nimroda/src/test/java/net/vs49688/nimrod/CrashTest.java
UTF-8
1,590
1.742188
2
[ "BSD-3-Clause" ]
permissive
package net.vs49688.nimrod; import com.sun.jna.*; import junit.framework.Assert; import net.vs49688.nimrod.nimroda.INimrodA; import net.vs49688.nimrod.nimroda.NimAlgorithm; import net.vs49688.nimrod.nimroda.NimBatch; import net.vs49688.nimrod.nimroda.NimCallbacks; import net.vs49688.nimrod.nimroda.NimConfig; import ne...
true
0cabb7de3612844c172e8a9dde33e033b2a61c48
Java
SteveDLosk/SewingPatternApp
/app/src/main/java/com/weebly/stevelosk/sewingpatternapp/BasicSearchActivity.java
UTF-8
5,833
2.203125
2
[]
no_license
package com.weebly.stevelosk.sewingpatternapp; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.database.SQLException; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.AsyncTask; import android.support.annotation.Nulla...
true
32c0776c677f05ce6b2302385e85c7b2d7b78e52
Java
kylegosen/sports-schedule-api
/data/src/main/java/com/gosenk/sports/schedule/data/processor/NBAProcessor.java
UTF-8
366
1.890625
2
[]
no_license
package com.gosenk.sports.schedule.data.processor; import org.springframework.stereotype.Service; @Service public class NBAProcessor extends MySportsFeedsProcessor implements Processor { public NBAProcessor(){ super("NBA", "nba", "2018-2019-regular"); } @Override public void process() throws...
true
6e65b8e0d1dc78d1d8ff859844c5bd3a37b897a9
Java
jackbill749/famewiki
/src/main/java/com/sparks/jack/famewiki/db/model/Introduce.java
UTF-8
1,081
2.1875
2
[]
no_license
// auto generated do not edit package com.sparks.jack.famewiki.db.model; import java.io.Serializable; public class Introduce implements Serializable { private static final long serialVersionUID = 1L; private Long id; private Long immortalid; private String content; public Long getId() { return thi...
true
b02839ccb6040f67563b8cfcbd52086d5faccb0f
Java
DenisShustrov/job4j
/chapter_007/src/main/java/ru/job4j/magnit/Config.java
UTF-8
835
2.609375
3
[ "Apache-2.0" ]
permissive
package ru.job4j.magnit; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.io.InputStream; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.Properties; /** * Class Config. * * @author dshustrov * @version 1 *...
true
9c4bf4add8a0ed065d67da5b43bf9226166c5547
Java
IlyaSkiba/labs
/lab3/src/main/java/bsu/lab/presentation/servlet/add/AddUserHandler.java
UTF-8
1,234
2.34375
2
[]
no_license
package bsu.lab.presentation.servlet.add; import bsu.lab.business.businessObjects.Client; import bsu.lab.business.scripts.ClientService; import bsu.lab.presentation.model.ClientModel; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframe...
true
358944fdcdc05becae6d9787a9a3f8d3b990bf9a
Java
mfernandmx/MyBrotherhoodApp
/app/src/main/java/com/example/marcos/mybrotherhoodapp/adapters/GridViewAdapter.java
UTF-8
2,441
2.671875
3
[]
no_license
package com.example.marcos.mybrotherhoodapp.adapters; import android.app.Activity; import android.content.Context; import android.graphics.Color; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.View...
true
16375a39992e17e3734546290437df67d89c55ba
Java
AyoPrez/DeilyQ
/mobile/src/main/java/com/ayoprez/deilyquote/ReviewList.java
UTF-8
2,389
2.25
2
[]
no_license
package com.ayoprez.deilyquote; import android.content.Context; import android.content.DialogInterface; import android.widget.ListView; import com.ayoprez.database.UserMomentsRepository; import com.ayoprez.notification.StartAndCancelAlarmManager; import com.ayoprez.utils.Utils; import java.util.List; import deilyqu...
true
07633c0450527d568b4ab53ec1cf05853d49fe5e
Java
loktevalexey/JD2017-02-20
/src/by/it/radivonik/jd02_10/beans/Tovars.java
UTF-8
2,123
2.3125
2
[]
no_license
package by.it.radivonik.jd02_10.beans; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for Tovars complex ty...
true
b8441dae55f7e3eb3b030bb2efdb3541a95fd60d
Java
jambestwick/HackWechat
/app/src/main/java/com/tencent/mm/ui/conversation/BizConversationUI$a$15.java
UTF-8
426
1.554688
2
[]
no_license
package com.tencent.mm.ui.conversation; import android.view.View; import com.tencent.mm.ui.base.MMSlideDelView.f; import com.tencent.mm.ui.conversation.BizConversationUI.a; class BizConversationUI$a$15 implements f { final /* synthetic */ a yWk; BizConversationUI$a$15(a aVar) { this.yWk = aVar; }...
true
620b751129c3292ebd7b5de5883d4acb2c659613
Java
batc8t/Calculator-in-Java
/src/main/java/com/bayethehlongwane/calculator/StandardCalcGUI.java
UTF-8
31,068
2.078125
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.bayethehlongwane.calculator; import java.awt.Toolkit; import java.awt.event.*; import java.awt.*; /** * * @author Ghost...
true
374c29edd6f41b4612db68c3fc2cfdb7538bc21f
Java
mahmoudelgamal1997/Tasks
/app/src/main/java/com/example2017/android/tasks/Chat/ChatPrivate.java
UTF-8
11,626
1.9375
2
[]
no_license
package com.example2017.android.tasks.Chat; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.CardView; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.wid...
true
f3076e2ffbde9f2c8f9ad7afe2b066c39d4c964e
Java
legilmo/selecao-java
/apirest-avaliacao-indra/src/main/java/br/com/indra/avaliacao/apirest/models/state/services/impl/StateService.java
UTF-8
1,847
2.265625
2
[]
no_license
package br.com.indra.avaliacao.apirest.models.state.services.impl; import java.util.Optional; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import br.com.indra.avaliacao.apirest.models.state.entit...
true
fe604a2fca2ed813110b161dd5b57b3e82c8533f
Java
khalifandiaye/bus-reservation
/WIP/Source/Project/src/main/java/vn/edu/fpt/capstone/busReservation/action/bus/SaveBusAction.java
UTF-8
2,312
2.171875
2
[]
no_license
package vn.edu.fpt.capstone.busReservation.action.bus; import java.util.List; import org.apache.struts2.convention.annotation.Action; import org.apache.struts2.convention.annotation.ParentPackage; import org.apache.struts2.convention.annotation.Result; import vn.edu.fpt.capstone.busReservation.action.BaseAct...
true
c7ba8d23702509d6de517e993c7a4759933a94c0
Java
enaawy/gproject
/output/com.google.android.finsky.cv.a.es.java
UTF-8
13,573
1.5
2
[]
no_license
package com.google.android.finsky.cv.a; import com.google.protobuf.nano.CodedOutputByteBufferNano; import com.google.protobuf.nano.a; import com.google.protobuf.nano.b; import com.google.protobuf.nano.e; import com.google.protobuf.nano.h; import com.google.protobuf.nano.i; import com.google.protobuf.nano.l; public fi...
true
43cf7af1d06c7298fa93e493f44270e67fc108a7
Java
bellmit/testeMauricio
/cobranca/src/main/java/br/com/politec/sao/iso/ISOMessageLogger.java
ISO-8859-1
4,652
2.453125
2
[]
no_license
package br.com.politec.sao.iso; import java.io.IOException; import java.io.OutputStream; import java.io.StringWriter; import java.util.Date; import br.com.politec.sao.util.Appender; import br.com.politec.sao.util.Assertions; import br.gov.caixa.iso.ISOMsg; import br.gov.caixa.sigcb.util.LogUtilSigcb; /**...
true
c459884378ad682022228627613f33ee09baa908
Java
iNotEsco/My-work
/Eclipse Workspace Java/workspace/Assignment02/assg5_Escobar/TestComplexNum.java
UTF-8
2,781
3.203125
3
[]
no_license
package assg5_Escobar; import junit.framework.TestCase; public class TestComplexNum extends TestCase{ private ComplexNum x, y, z; protected void setUp(){ x = new ComplexNum(); y = new ComplexNum(4.1); z = new ComplexNum(4.1,1.3); } public void testDefaultConstructor() { assertEquals("Real Value: ", 0, x...
true
9db6d5e8781cfe29c5214b286f00088339a8fa7f
Java
Hronoz87/coursework-Transfer_of_money
/src/main/java/ru/netology/coursework/service/ConfirmOperationDTO.java
UTF-8
888
2.28125
2
[]
no_license
package ru.netology.coursework.service; public class ConfirmOperationDTO { public String operationId; public String code; public ConfirmOperationDTO(String operationId, String code) { this.operationId = operationId; this.code = code; } public ConfirmOperationDTO() { } pu...
true
7f41fe0e07b21127f85623b4de0af2be72ded67d
Java
asiekierka/LagssieMC
/src/main/java/pl/asie/lagssie/Lagssie.java
UTF-8
2,150
2.109375
2
[ "MIT" ]
permissive
package pl.asie.lagssie; import net.minecraft.init.Blocks; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.config.Configuration; import net.minecraftforge.fml.common.FMLCommonHandler; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; impo...
true
94c2aab28ee2275834e36a98cf916fe834d55dd1
Java
Tboy70/BusNetworkSimulator
/src/fr/utbm/info/gl52/Graphics/Itinerary/GraphicItinerary.java
UTF-8
395
1.960938
2
[]
no_license
package fr.utbm.info.gl52.Graphics.Itinerary; import java.awt.Color; import java.awt.Point; import fr.utbm.info.gl52.Middle.Itineraire; import fr.utbm.set.io.shape.ESRIBounds; public class GraphicItinerary extends AbstractGraphicItinerary { public GraphicItinerary(Itineraire iti, Point off, Color c, ESRIBounds b) ...
true
219c4ea28a05ac9eddfbadc54cb15c2f69669519
Java
stebog92/acs
/Proiectarea Algoritmilor/Lab06/codeBase/Java/src/Maze.java
UTF-8
2,164
3.4375
3
[]
no_license
import java.util.Scanner; public class Maze implements Readable { private int height, width; private char[][] cell; private void allocate() { cell = new char[height][width]; for (int i = 0; i < height; i++) { for (int j = 0; j < width; j++) { cell[i][j] = 1; ...
true
43fa33e0fde23deb44e4e7290e47fe0ba1f0bdd1
Java
xiaolowe/zwhs_sp_api
/zwhs_sp_api/.svn/pristine/ea/eadda27fbf69375d987e3cbcaf7792d644f02057.svn-base
UTF-8
2,592
2.09375
2
[]
no_license
/* * 文 件 名: ServiceSearch.java * 版 权: CCDC Copyright 2016, All rights reserved * 描 述: 服务商平台 * 修 改 人: Lanbo * 创建时间: 2016年1月26日 */ package cn.org.citycloud.zwhs.bean; /** * 服务列表查询 * * @author lanbo * @version [V1.0, 2016年1月26日] * @since [B2C/V1.0] */ public class ServiceSearch { private Stri...
true
f6c3a91f4dd44586d31ca0f8e7be339496423dec
Java
Dreyer1/dreyer-common
/src/main/java/com/dreyer/common/enums/MessageType.java
UTF-8
432
2.421875
2
[]
no_license
package com.dreyer.common.enums; /** * @author: Dreyer * @date: 16/6/19 上午9:04 * @description: 消息类型 */ public enum MessageType { /** * 邮件消息 */ EMAIL(1); private Integer value; MessageType(Integer value) { this.value = value; } public Integer getValue() { return ...
true
6f4c92b4e67691d3111e2cc0d3d19804e14940c6
Java
IGPGroup17/frontend2
/app/src/main/java/com/example/personalprofile/activities/ReadReviewsActivity.java
UTF-8
2,644
1.914063
2
[ "MIT" ]
permissive
package com.example.personalprofile.activities; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.content.Intent; import android.os.Bundle; import com.example.personalprofile.AppUser; import com.example.personalprofile.R; import com.example.pers...
true
0324c3dbb80d1de38067e39ea31f4514df4daacb
Java
Cognizant-Training-Coimbatore/Lab-Excercise-Batch-2
/Parvathy S/22-01-2020/prog17_square.java
UTF-8
280
3.015625
3
[]
no_license
import java.util.Scanner; public class prog17_square { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the no: "); int a=sc.nextInt(); int x; x=a*a; System.out.println("Square= "+x); } }
true
db42c5b561c46bde2f70bfd378918442a843cb75
Java
chenhq/newrelic_ref
/src/rewriter/com/newrelic/javassist/tools/framedump.java
UTF-8
1,029
2.203125
2
[]
no_license
/* */ package com.newrelic.javassist.tools; /* */ /* */ import com.newrelic.javassist.ClassPool; /* */ import com.newrelic.javassist.CtClass; /* */ import com.newrelic.javassist.bytecode.analysis.FramePrinter; /* */ import java.io.PrintStream; /* */ /* */ public class framedump /* */ { /* ...
true
d356506b2156c5277866f430a43cc8680040ec70
Java
Kitty-Kitty/FastBle
/app/src/main/java/com/clj/blesample/service/connect/BleConnectCallbackWrap.java
UTF-8
1,658
2.578125
3
[ "Apache-2.0" ]
permissive
package com.clj.blesample.service.connect; import com.clj.blesample.service.BleSensor; import com.clj.fastble.callback.BleGattCallback; /** * 对BleConnectCallback的封装,包含BleSensor对象信息 * * @author f * @version 1.0 * @created 25-7月-2020 21:06:06 */ public abstract class BleConnectCallbackWrap extends BleGattCallbac...
true