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
c7b23202a324f8288a3a37e84f93a793ff9e50d7
Java
ethol/Cellular-Automata
/src/CA/ReplicationPartalModel.java
UTF-8
399
2.890625
3
[]
no_license
package CA; public class ReplicationPartalModel implements Comparable{ int x; int y; double value; public ReplicationPartalModel(int x, int y, double value) { this.x = x; this.y = y; this.value = value; } @Override public int compareTo(Object partial) { return (int) (((ReplicationPartalModel)partial)....
true
ded5b4c1fbb51631b08e8abc37286762103aa420
Java
T45K/kyopuro
/AtCoder/other/DDCC2020/C/Main.java
UTF-8
1,810
3.15625
3
[]
no_license
package AtCoder.other.DDCC2020.C; import java.util.Scanner; public class Main { public static void main(final String[] args) { final Scanner scanner = new Scanner(System.in); final int h = scanner.nextInt(); final int w = scanner.nextInt(); final int k = scanner.nextInt(); ...
true
77eb2f785c2198d2fcf81d32752e85f7f4824a00
Java
dotronghai/commacoffeeshop
/src/supportclass/Pair.java
UTF-8
864
3.0625
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 supportclass; /** * * @author DELL * @param <T1> first item that Pair object contain * @param <T2> second item that Pair o...
true
1a3a335822c609c26a5be7291a4aafa7bbbeaf53
Java
xeonye/timeTableApp
/backend/src/main/java/pl/timetable/service/GroupServiceImpl.java
UTF-8
2,975
2.203125
2
[]
no_license
package pl.timetable.service; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import pl.timetable.api.GroupRequest; import pl.timetable.dto.GroupDto; import pl....
true
61d51a5ca595c4c3ada32e7ef4aa929c90cb5893
Java
jerzh/IdeaProjects
/untitled/src/TransformationAnimation.java
UTF-8
32,040
2.453125
2
[]
no_license
import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.text.DecimalFormat; import java.util.Stack; /* todo: figure out java update (get variables to only reset after second paint is complete) todo: separate domain and range panning for range coloring todo: finish and implement new pan f...
true
2ee3da5c3b219be1f7a570a689cdb67b8b942b91
Java
Malynovsky-Ivan/PPM-util
/parser-api/src/main/java/com/malynovsky/api/subscription/GameReadyEvent.java
UTF-8
513
2.234375
2
[]
no_license
package com.malynovsky.api.subscription; import java.time.LocalTime; /** * Created by Ivan on 31.05.2019 - 22:30. * ppm-telegram-bot */ public class GameReadyEvent implements Event<LocalTime> { private LocalTime gameTime; public void setGameTime(LocalTime gameTime) { this.gameTime = gameTime; ...
true
f3556ea8f31f3f8e448f08cfd5766f35c1fba134
Java
xrogzu/forexroo
/src/main/java/com/github/xuzw/forexroo/app/api/MasterTraderRankings_QueryAll_Api.java
UTF-8
2,478
2.1875
2
[]
no_license
package com.github.xuzw.forexroo.app.api; import static com.github.xuzw.forexroo.entity.Tables.USER; import java.util.ArrayList; import java.util.List; import org.jooq.impl.DSL; import com.github.xuzw.api_engine_runtime.api.Api; import com.github.xuzw.api_engine_runtime.api.Request; import com.github.xuzw.api_engine_r...
true
79fccd4b917f1ceb56d6da1758132479e91e507f
Java
sulevsky/Education_1
/src/main/java/com/courses/jdbcdao_11/factory/AccountDao.java
UTF-8
412
2.265625
2
[]
no_license
package com.courses.jdbcdao_11.factory; import com.courses.jdbcdao_11.businessobjects.Account; import java.util.Collection; /** * Created by VSulevskiy on 14.09.2015. */ public interface AccountDao { boolean insertAccount(Account account); boolean deleteAccount(Account account); Account findAccount(lon...
true
97ce78ca72a6684a80c32808c8418b0bbb46bdd4
Java
JoshEngels/2016-Minibots
/2016-Minibots/src/arduinoControl/Victor.java
UTF-8
365
2.9375
3
[]
no_license
package arduinoControl; import java.io.IOException; public class Victor{ Servo servo; public Victor(int pin) { this.servo=new Servo(pin); } public void set(double pwr){ if(pwr<-1){ pwr=-1; } if(pwr>1){ pwr=1; } try { servo.send((int) (pwr * 90 + 90)); } catch (IOException ...
true
f1f24604cf4c6b88dd475d706ac0e2d23bec9488
Java
rafagcamargo/TwitterAppClient2
/app/src/main/java/com/codepath/apps/twitterappclient/adapter/TweetsArrayAdapter.java
UTF-8
6,682
2.34375
2
[ "Apache-2.0" ]
permissive
package com.codepath.apps.twitterappclient.adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.text.TextUtils; import android.text.format.DateUtils; import android.text.util.Linkify; import android.view.LayoutInflater; import android.view.View; import android.view.Vie...
true
2336c2bb025aff0934c3ed686c144379ad463b56
Java
qreon/PacDoge
/src/Doge/SuperDoge.java
UTF-8
931
3.09375
3
[]
no_license
package Doge; import Jeu.PacDoge; import iut.Game; import iut.Objet; /** * Invincible. Transforme les grumpyTueur en GrumpyMangeable pour une certaine dur�e. Un super doge ne peut exister qu'apr�s avoir mang� une super boulette. */ public class SuperDoge extends Doge { private long timer; private long duration;...
true
393829f786e0d2cf952ffd0ba764fbf9b68c647e
Java
Cornstarch1025/brianbot-discord
/src/main/java/niflheim/commands/chess/engine/StockfishQueue.java
UTF-8
5,919
2.875
3
[]
no_license
package niflheim.commands.chess.engine; import net.dv8tion.jda.core.EmbedBuilder; import niflheim.Okita; import niflheim.rethink.UserOptions; import java.awt.*; import java.util.Arrays; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.TimeUnit; p...
true
dde5da9302c89b0b6f653f91262991da289e2f68
Java
Elspar2/PeculiarFantasy
/src/main/java/com/elspar2/fantasymod/blocks/AngeliteOre.java
UTF-8
678
2.203125
2
[]
no_license
package com.elspar2.fantasymod.blocks; import java.util.Random; import com.elspar2.fantasymod.init.ModItems; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.item.Item; public class AngeliteOre extends G...
true
24451303b143447dfdc424057e69cab3a223fa2d
Java
SunnySuGitHub/Algorithm
/src/GOF/Bridge/Memory16G.java
UTF-8
221
1.992188
2
[]
no_license
package GOF.Bridge; /** * Description:Algorithm * Created by Administrator on 2020/3/1 */ class Memory16G implements Memory { @Override public void showMemory() { System.out.println("是16G"); } }
true
1514ff678b48467070b845a9f7c66f96a7f3ce20
Java
swatinavghare04/MKPITS_Swati_Navghare_Java_Nov_2020
/Core_Java_Practice/src/com/mkpits/java/string/StringIndexOf1.java
UTF-8
286
3.265625
3
[]
no_license
// int indexOf(int ch, int fronindex) - return the specified char value index starting with given index; class StringIndexOf1 { public static void main(String[] args) { String fname = "Swatiekta,sonu"; int arr = fname.indexOf("sonu",1); System.out.println(arr); } }
true
9827500f77f5cc115e8a4f257e18ba436e2e8502
Java
newSue/pzjstock
/stock-job/src/main/java/com/pzj/core/stock/job/DailyStockJob.java
UTF-8
2,115
2.296875
2
[]
no_license
package com.pzj.core.stock.job; import javax.annotation.Resource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import com.pzj.core.stock.service.StockBottomService; import com.pzj.framework.context.Result; import com.pzj.framework.context.ServiceContext; ...
true
e94733e6bf420bfea5b8d9d5fc586545f0ad8c4c
Java
g2vinay/azure-sdk-for-java
/sdk/spring/azure-spring-boot-test-aad-webapp-and-resource-server-with-obo/src/test/java/com/azure/test/aad/selenium/AADWebAppAndWebApiInOneAppIT.java
UTF-8
9,461
1.5
2
[ "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause", "CC0-1.0", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "LGPL-2.1-or-later" ]
permissive
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.test.aad.selenium; import com.azure.spring.aad.webapi.AADResourceServerWebSecurityConfigurerAdapter; import com.azure.spring.aad.webapp.AADWebSecurityConfigurerAdapter; import com.azure.spring.test.aad.AAD...
true
ec2baa249a7ac29193a4166c2a86d37324b24d33
Java
LivTel/operations-ui-basic
/ngat/opsgui/services/ServiceDistributionThread.java
UTF-8
1,956
2.421875
2
[]
no_license
/** * */ package ngat.opsgui.services; import ngat.util.ControlThread; import ngat.util.logging.LogGenerator; import ngat.util.logging.LogManager; import ngat.util.logging.Logger; /** * @author eng * */ public class ServiceDistributionThread extends ControlThread { /** The service to manage. */ private Serv...
true
6bbd0853896d5bbb0d0a29479241eb2752d40729
Java
saurabh2590/NIST-Voting-Tablet
/src/org/easyaccess/nist/HomeActivity.java
UTF-8
31,805
1.734375
2
[ "Apache-2.0" ]
permissive
package org.easyaccess.nist; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.HashMap; import java.util.Locale; import org.json.JSONException; import org.json.JSONObject; import android.app.Activity; import android.app.ProgressDialog; import ...
true
c40a561364fe7b568c2cce103dd83c3a0cc7645c
Java
Bikino/enrolee-service
/src/main/java/com/collabera/enroleesservice/model/Enrollee.java
UTF-8
1,796
2.125
2
[]
no_license
package com.collabera.enroleesservice.model; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import javax.annotation.Generated; import java.time.LocalDate; import java.util.List; @Document() public class Enrollee { @Id private Integer id; pr...
true
3bbfeda830edfa8ae201b14ac305a4690c042668
Java
carlex05/prueba01
/ItemWeightService/src/main/java/co/carlex/item/dtos/LogDTO.java
UTF-8
593
1.953125
2
[]
no_license
package co.carlex.item.dtos; import java.time.LocalDateTime; import lombok.Data; import org.springframework.data.annotation.Id; import org.springframework.data.annotation.TypeAlias; import org.springframework.data.mongodb.core.mapping.Document; /** * * @author Carlex */ @Data @Document(collection = "logs") @TypeAl...
true
d334f1fcefc17624750586febb613bbba63c52c4
Java
joseildofilho/SisBula
/interfaces/SisBula.java
UTF-8
1,960
2.703125
3
[]
no_license
package interfaces; import entidades.*; import excecoes.JaExisteException; import excecoes.NaoAchouException; import java.util.List; public interface SisBula { void cadastrarMedicamento(Medicamento m) throws JaExisteException; void cadastrarMedicamento(String m) throws JaExisteException; void cadastra...
true
70dd824ccf83e5a19d7ec7ebc59d17195a9d3baf
Java
FASTTRACKSE/FFSE1704.JavaWeb
/Project/FBMS/src/fasttrackse/ffse1704/fbms/entity/quanlytailieu/dung/TrangThaiDung.java
UTF-8
1,418
2.078125
2
[]
no_license
package fasttrackse.ffse1704.fbms.entity.quanlytailieu.dung; import java.io.Serializable; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.One...
true
72396a1e49b05b32455747125dcc0a42c957c3da
Java
Woodbin/Numerix
/src/ItkenNevill.java
UTF-8
1,669
3.328125
3
[]
no_license
import java.util.ArrayList; import java.util.Arrays; /** * Created by Woodbin on 5.10.2014. */ public class ItkenNevill { private ArrayList<Double> polynome = new ArrayList<Double>(); private Double x; public ItkenNevill(){ } public ArrayList<Double> count(){ ArrayList<Double> newVals ...
true
41289415ba8e112b2640fa0d98200ed4b677d9cb
Java
oscarib/7Turnos
/7Turnos/src/es/edm/services/IOtherServices.java
UTF-8
554
2
2
[]
no_license
package es.edm.services; import es.edm.domain.entity.ConfigurationEntity; import es.edm.domain.entity.StatisticsEntity; import es.edm.domain.middle.LoginCredentials; import es.edm.domain.middle.LoginStatus; public interface IOtherServices { ConfigurationEntity getConfiguration(); LoginStatus getLoggedUser(); Logi...
true
dd5cf9cf803ae629163c78c410720c7dcfe8d982
Java
43ndr1k/Mappinng-Cryptocurrencies-with-News
/backend/src/main/java/de/uni_leipzig/crypto_news_docs/dto/country/CountryCurrencyOutDto.java
UTF-8
961
2.46875
2
[ "Apache-2.0" ]
permissive
package de.uni_leipzig.crypto_news_docs.dto.country; import com.fasterxml.jackson.annotation.JsonFormat; import java.util.Date; public class CountryCurrencyOutDto { /*private static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");*/ @JsonFormat(shape = JsonFormat.Shape.STRING, ...
true
bc840ad5beb649e471c649a0029b34e7f5f4b67b
Java
elifatagul/kampOdev
/ınterfaceAbstractsDemo/src/ınterfaceAbstractsDemo/Concrete/BaseCustomerService.java
ISO-8859-9
169
2.03125
2
[]
no_license
package nterfaceAbstractsDemo.Concrete; import nterfaceAbstractsDemo.Entities.Customer; public interface BaseCustomerService { void save (Customer customer); }
true
b2f72be5ef36b467c773e23eed3a4016168a8902
Java
CodeYuan94/ChantPlatform
/src/main/java/com/github/chant/dao/UserDao.java
UTF-8
141
1.796875
2
[]
no_license
package com.github.chant.dao; import com.github.chant.entity.User; public interface UserDao { User findByUsername(String username); }
true
4630ce86e64f81807a90d1e501ec47576b238251
Java
Duthris/AntalyaBilimUniversity
/QuizSolution/src/TestCircle.java
UTF-8
271
3.0625
3
[]
no_license
public class TestCircle { public static void main(String[] args) { Circle c1 = new Circle(); Circle c2 = new Circle(3,5,10); System.out.println(c1); System.out.println(c2); System.out.println("The Number of Objects is " + Circle.getCount()); } }
true
102a164bda729b132589f0550234f768d52e5775
Java
Louvivien/Alix
/java/alix/frdo/Mythographies.java
UTF-8
1,903
2.875
3
[ "Apache-2.0" ]
permissive
package alix.frdo; import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import java.text.ParseException; import alix.fr.Lexik; import alix.fr.Tokenizer; import alix.fr.dic.Tag; import alix.util.Occ...
true
4cf7641c07282526cd9947c806e1070f45926d46
Java
zhangbin666888/Common-Lib
/src/com/xdg/util/hibernate/UpdateLogic.java
UTF-8
156
1.8125
2
[]
no_license
package com.xdg.util.hibernate; import org.hibernate.Session; public interface UpdateLogic { void execute(Session session) throws Exception; }
true
3241d95eb91babb4a0188e577d18350f551bfc36
Java
tnagelkerke/dropwizard-config-encrypt
/src/main/java/com/tn/dw/ConfigDecrypter.java
UTF-8
3,256
2.703125
3
[ "MIT" ]
permissive
package com.tn.dw; import com.tn.dw.util.ThrowingConsumer; import io.dropwizard.Configuration; import io.dropwizard.jackson.Discoverable; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; impo...
true
d2cea041a457fc339ae1dd9e9ce9986275c349e1
Java
newSue/SFABASE
/src/main/java/com/winchannel/sfa/service/CommonMultiLevelImporter.java
UTF-8
1,003
1.984375
2
[]
no_license
package com.winchannel.sfa.service; import java.util.Map; import com.winchannel.core.importer.ImpConfigurator; import com.winchannel.core.importer.MultiLevelDataImporter; /** * * @author chenxiangguo * */ public class CommonMultiLevelImporter extends MultiLevelDataImporter { public CommonMultiLev...
true
9d447c30a0241bdea3b72774323236180d6f66eb
Java
IZaiarnyi/randomnessBeaconSolution
/src/main/java/beacon/api/entity/Record.java
UTF-8
1,187
2.453125
2
[]
no_license
package beacon.api.entity; /** * Created by Yupa on 24.02.2016. */ public class Record { String version; String frequency; String timeStamp; String seedValue; String previousOutputValue; String outputValue; String signatureValue; int statusCode; public Record(){} public Record...
true
e9164760655cb5cff71c23fe2963f9c0e6df9be3
Java
IDragonfire/DynamicMarket
/src/bukkitutil/Format.java
UTF-8
4,403
3.328125
3
[]
no_license
/* BukkitUtil Copyright (C) 2011 Klezst This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distri...
true
033fff725781c6fb5ac187189ae4a5b659148abb
Java
Samsaralife/MyPersonalLearning
/src/main/java/com/cugb/dao/ProductMapper.java
UTF-8
664
2.078125
2
[]
no_license
package com.cugb.dao; import java.util.List; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import com.cugb.entity.Product; @Mapper public interface ProductMapper { //插入商品 public int insertProduct(Product product); //获取产品 public Product getProduct(@Param("id")Long id)...
true
89709f7543a23311a7faf6d08da7ac506873ed97
Java
FranciscoValadez/Course-Work
/Java/HW 11/Phone.java
UTF-8
2,768
4.03125
4
[]
no_license
//Written by: Francisco Valadez //Assignment: HW 11 - Pg. 150 - #4.15 //Class: CS 113 //Date: 5/26/2021 //Description: This program displays the corresponding number of a letter import java.util.Scanner; public class Phone { public static void main(String[] args) { String letter = ""; Scanne...
true
23871dbef61b283f634d1580e7f8f8366394eefe
Java
mgrxf/leetcode
/src/lc1018.java
UTF-8
533
2.578125
3
[]
no_license
import java.util.ArrayList; import java.util.List; public class lc1018 { public List<Boolean> prefixesDivBy5(int[] A) { int n = A.length; List<Boolean> list = new ArrayList<>(); if(n==0)return list; int p=0; for(int i=0;i<A.length;i++) { ...
true
83e7029edec91f1b74a4366e3d079e3daa6a68c0
Java
AntonSimeonov/firebase-messging
/app/src/main/java/ninja/paranoidandroid/firebasemessaging/models/Task.java
UTF-8
2,085
2.296875
2
[]
no_license
package ninja.paranoidandroid.firebasemessaging.models; /** * Created by anton on 25.08.16. */ public class Task { private String name; private String projectID; private String parentTaskID; private int priority; private String dateOfCreation; private String dateOfExecution; private Stri...
true
6c3bc631505438aa8a613d429880a693954e8075
Java
ardi87/JavaProjectsArdi
/detyratEshtepise/src/detyra1/Detyra1.java
UTF-8
275
2.4375
2
[]
no_license
package detyra1; public class Detyra1 { public static void main(String[] args) { // TODO Auto-generated method stub String[] numbers = { "*", "**", "***", "****", "*****" }; for (int i = 0; i < numbers.length; i++) { System.out.println(numbers[i]); } } }
true
fccc4225a79a86ecb95c28542282352c1e99d0f9
Java
terasolunaorg/terasoluna-gfw
/terasoluna-gfw-common-libraries/terasoluna-gfw-codepoints/src/test/java/org/terasoluna/gfw/common/codepoints/validator/Name_Collection.java
UTF-8
1,445
1.8125
2
[ "Apache-2.0" ]
permissive
/* * Copyright(c) 2013 NTT DATA Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
true
f6f109207929214fba0471474e1e7d517ea5eb76
Java
Liuguozhu/MyWork
/src/main/java/iyunu/NewTLOL/net/TLOLMessageHandler.java
UTF-8
3,136
2.03125
2
[]
no_license
package iyunu.NewTLOL.net; import iyunu.NewTLOL.base.net.socket.ProtocolHandler; import iyunu.NewTLOL.manager.ServerManager; import iyunu.NewTLOL.model.role.Role; import iyunu.NewTLOL.redis.Redis; import iyunu.NewTLOL.service.iface.auction.AuctionService; import iyunu.NewTLOL.service.iface.bulletin.BulletinServ...
true
fd314de74c56ffcfbe9ca311929c15d4d1c0b099
Java
CS151-KGB/MazeSolver
/src/test/Maze.java
UTF-8
4,332
2.984375
3
[]
no_license
package test; import org.eclipse.wb.swt.widgets.Display; import org.eclipse.wb.swt.widgets.Label; import org.eclipse.wb.swt.widgets.Shell; //Just adding some code to test committing through eclipse import org.eclipse.wb.swt.events.MouseEvent; import org.eclipse.wb.swt.events.MouseAdapter; import org.eclipse.wb.swt.SWT...
true
e4a23790e1599d0f595ce3dcdf5c5926872bea87
Java
AlievShamil/TestNg
/src/test/java/MyTest.java
UTF-8
1,614
2
2
[]
no_license
import org.testng.annotations.Test; import steps.*; import java.util.LinkedHashMap; public class MyTest extends BaseSteps { MainPageSteps mainPageSteps = new MainPageSteps(); RegistrationPageSteps registrationPageSteps = new RegistrationPageSteps(); MailPageSteps mailPageSteps = new MailPageSteps(); ...
true
89db3e619f451f40d40ca9c99ea2f6dff55970e7
Java
arikwex/maslab-sim-2015
/src/map/geom/Obstacle.java
UTF-8
2,779
2.71875
3
[]
no_license
package map.geom; import java.awt.Color; import java.awt.Graphics2D; import java.util.LinkedList; import java.util.List; import core.Config; import map.Map; public abstract class Obstacle extends Polygon { private Polygon minCSpace = null; private Polygon maxCSpace = null; public abstract Color getColor...
true
3768006ce1a47bfd8cd20d6579df8c47d34f6cda
Java
lj199117/OfferCode
/src/com/hnu/sort/pojo/PersonImpComparator.java
UTF-8
494
3.34375
3
[]
no_license
package com.hnu.sort.pojo; import java.util.Comparator; public class PersonImpComparator implements Comparator<Person>{ /** * 这个类是一个比较器,Collections.sort( personList , new PersonImpComparator()) 可以对其排序 * 对两个类,我定义一个什么样的规则进行排序 */ public int compare(Person o1, Person o2) { // TODO Auto-generated method stub i...
true
71351670807fa750391dc3c85e10b7e543f63649
Java
mohit117/WebApiAutomation
/src/org/api/testcases/SolrXGNSTest.java
UTF-8
17,625
2.21875
2
[]
no_license
package org.api.testcases; import static io.restassured.RestAssured.*; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; import java.util.List; import java.util.Map; import org.api.base.TestConfig; import org.hamcrest.CoreMatchers; import org.junit.Assert; //import ...
true
db2f2f55540fbb4d1656fa7d993f9f16b0d50ac7
Java
bigbilii/G-FoodShop
/gfoodshop-manager-web/src/main/Java/me/guoxin/manager/controller/ValidateController.java
UTF-8
1,789
2.078125
2
[]
no_license
package me.guoxin.manager.controller; import me.guoxin.utils.GeetestLib; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import javax.annotation.Resource; import javax.servlet.http.HttpServle...
true
99835ad3c6a532ffd74631fea90c7deee0536046
Java
lakshmi-priya-github/dice-roll-simulator-app
/src/main/java/com/diceroll/entity/DiceRollResult.java
UTF-8
784
2.125
2
[]
no_license
package com.diceroll.entity; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import lombok.AllArgsConst...
true
bbf5838333ce1a8e4ece345f1ccc9d945c34089a
Java
commercetools/commercetools-sdk-java-v2
/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TextLineItem.java
UTF-8
5,508
2.5
2
[ "Apache-2.0", "GPL-2.0-only", "EPL-2.0", "CDDL-1.0", "MIT", "BSD-3-Clause", "Classpath-exception-2.0" ]
permissive
package com.commercetools.history.models.common; import java.time.*; import java.util.*; import java.util.function.Function; import javax.annotation.Nullable; import javax.validation.Valid; import javax.validation.constraints.NotNull; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind....
true
8ea7c0a3a129cc4da8327014c8d4a608c382f7e5
Java
SabaMicheal/classProject
/src/Casses/Flag.java
UTF-8
812
3.078125
3
[]
no_license
package Casses; public class Flag { String country; int size; String color; String materials; public void info() { System.out.println("Contry; " + country); System.out.println("size; " + size); System.out.println("color; " + color); System.out.println("materials; " ...
true
ef31b4abfaf956561ca1b955e4b3a44bfd03dbe9
Java
cz67998/interview
/src/com/wangzhou/leecode/Solution257.java
UTF-8
1,327
3.0625
3
[]
no_license
package com.wangzhou.leecode; import java.util.ArrayList; import java.util.List; /** * Created by IDEA * author:wangzhou * Date:2019/7/17 * Time:17:21 * Blog:https://blog.csdn.net/qq_38522268 **/ public class Solution257 { public List<String> binaryTreePaths(TreeNode root) { List<String> paths = new...
true
952862f576dd7993b942839b32f8d30bc8d2a1bc
Java
Aman83770/MediFinder
/Android app/app/src/main/java/com/example/akshatsharma/medifinder/DigCContactAdapter.java
UTF-8
2,964
2.375
2
[]
no_license
package com.example.akshatsharma.medifinder; 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 java.util.ArrayList; import java.util.List; /** * Created ...
true
fbca02992cff145eaadad0b51eb1c765829e7176
Java
apache/directory-studio
/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/jobs/LoadConfigurationRunnable.java
UTF-8
5,247
1.992188
2
[ "Apache-2.0" ]
permissive
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
true
e806b5df0348ae6ed1063c79c6ccaf13b17e1d20
Java
lhqingit/qmall
/qmall-sso-web/src/main/java/net/imwork/lhqing/qmall/sso/controller/LoginController.java
UTF-8
1,969
2.1875
2
[]
no_license
package net.imwork.lhqing.qmall.sso.controller; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org...
true
3f5e539f70518c07953c94d539bca9bd94c95161
Java
andrea5972/ObjectOrientedSoftwareDev
/WorkObserver/src/work_observer/WorkManagerImplementation.java
UTF-8
1,210
3.09375
3
[]
no_license
package work_observer; import java.util.ArrayList; import java.util.ArrayList; import java.util.List; public class WorkManagerImplementation implements WorkManager { private List<Observer> observers; private WorkItem WorkItem; public WorkManagerImplementation() { observers = new ArrayList<>(); } ...
true
b8ebacd4b82b387c30173d45fac181d2c634cfb0
Java
Michael-Kolbasov/springseptember
/src/main/java/com/epam/spring/model/Cat.java
UTF-8
854
2.875
3
[]
no_license
package com.epam.spring.model; import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persis...
true
8c8baf5ec24c5461de38b147ec634dc2c3bfbd4b
Java
Deagle50/DAM2
/ProgramacionMultimedia/SOLUCIONES/VersionesAndroidRecycler/app/src/main/java/com/example/versionesandroidrecycler/MainActivity.java
UTF-8
1,637
2.34375
2
[]
no_license
package com.example.versionesandroidrecycler; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.GridLayoutManager; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.content.res.TypedArray; import android.os.Bund...
true
e1e742a0480dbe7e04b802adf8f1d2282043c9ba
Java
techmagic-team/techmagic-hr-android
/app/src/main/java/co/techmagic/hr/presentation/DefaultSubscriber.java
UTF-8
1,452
2.359375
2
[]
no_license
package co.techmagic.hr.presentation; import java.net.HttpURLConnection; import java.net.SocketTimeoutException; import co.techmagic.hr.data.exception.NetworkConnectionException; import co.techmagic.hr.presentation.mvp.view.View; import retrofit2.HttpException; import rx.Subscriber; public class DefaultSubscriber<T>...
true
cffd5d1b2f7c439016916b093dbf91618228cd3a
Java
xyn3106/Ebook
/src/com/xyn/ebook/game2.java
GB18030
8,437
3.015625
3
[]
no_license
package com.xyn.ebook; public class game2 { public static int count=20; public static String[][] list = { {"ѡ¼ӵûдֵһ", "Aİװ͵ˣ˭֪һֻƳٿ", "B¿Ƴڳһָһλˣֻܸʰ·硣", "CζΣζϣζδôһ۾Աأ", "B"}, {"ѡ¼ӵûдֵһ", "Aԭġ񣬵Ծⳡʣʧȥһľ", "BбȷɵԾû̹ǵľģ̸ʲôʵǿѧշ壿", "CСɽڵӣļ米͸¶ĵĴ", "C"}, {"ѡ¼ӵûдֵһ", "AһǵǷǽ˷ܵرשͷⲻ֪һ¸ǽѹ", "BŲһŵǧл...
true
ffe2dfa6840a7b1ba55e0679bc36c45c6bb32107
Java
shixuerenxin/Jd_zpc
/app/src/main/java/com/jd_zpc/model/GoodsModel.java
UTF-8
1,008
2.0625
2
[]
no_license
package com.jd_zpc.model; import com.jd_zpc.bean.GoodsBean; import com.jd_zpc.utils.Api; import com.jd_zpc.utils.ApiService; import com.jd_zpc.utils.OnNetListener; import com.jd_zpc.utils.RetrofitUtil; import retrofit2.Call; import retrofit2.Callback; import retrofit2.Response; /** * Created by DELL on 2017/11/8. ...
true
c81ab6e22d194ab2f6b31d6d658ff4139c3b2bb7
Java
GoogleCloudPlatform/fda-mystudies
/response-datastore/response-server-service/src/main/java/com/google/cloud/healthcare/fdamystudies/task/ExportFHIRDataToBQScheduledTask.java
UTF-8
10,745
1.78125
2
[ "MIT" ]
permissive
package com.google.cloud.healthcare.fdamystudies.task; import static com.google.cloud.healthcare.fdamystudies.common.CommonConstants.CONSENT_TABLE_NAME; import com.google.api.services.healthcare.v1.model.Consent; import com.google.cloud.bigquery.BigQuery; import com.google.cloud.bigquery.BigQueryException; import com...
true
e240db8f9c8b49679cd5a650178858e2449cd4f8
Java
dbrowncode/StS-ConstructMod
/src/main/java/constructmod/actions/ImplosionExhaustPileAction.java
UTF-8
4,609
2.421875
2
[ "MIT" ]
permissive
package constructmod.actions; import basemod.BaseMod; import com.megacrit.cardcrawl.actions.AbstractGameAction; import com.megacrit.cardcrawl.cards.AbstractCard; import com.megacrit.cardcrawl.cards.CardGroup; import com.megacrit.cardcrawl.cards.CardQueueItem; import com.megacrit.cardcrawl.cards.status.Burn; import com...
true
b8dd5738832e88d2cc6d0a628704c6dc156b4510
Java
dlobba/ds1_project
/src/main/java/reliable_multicast/BaseParticipant.java
UTF-8
13,063
2.359375
2
[]
no_license
package reliable_multicast; import java.io.Serializable; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.concurrent.TimeUnit; import akka.actor.AbstractActor; import akka.actor.ActorRef; import reliable_multicast.messages.Flus...
true
a2399cb64ef0983f1b273775a267bedc0a2fa4b4
Java
chenps3/dynamic-proxy
/sample/src/test/java/chenps3/dynamicproxy/sample/ch04/immutablecollection/HandcodedFilterDemo.java
UTF-8
703
3.53125
4
[]
no_license
package chenps3.dynamicproxy.sample.ch04.immutablecollection; import java.util.Arrays; /** * @Author chenguanhong * @Date 2021/8/24 */ public class HandcodedFilterDemo { public static void main(String[] args) { ImmutableCollection<String> names = new HandcodedFilter<>(Arrays.asList("Peter", "Paul", "M...
true
ec2cd7ae0649274bccf2d164105a6792488dbd09
Java
musiciancoder/Courses
/src/main/java/com/example/courses/controller/CoursesController.java
UTF-8
3,430
2.4375
2
[]
no_license
package com.example.courses.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; imp...
true
6de4b37fb746c61db8838b407a8df162103ec1da
Java
ajaytiwari000/Habbit
/sm-core/src/main/java/com/salesmanager/core/business/repositories/RewardConsumptionCriteriaRepository.java
UTF-8
940
2.046875
2
[]
no_license
package com.salesmanager.core.business.repositories; import com.salesmanager.core.model.common.RewardConsumptionCriteria; import com.salesmanager.core.model.common.enumerator.TierType; import java.util.List; import java.util.Optional; import org.springframework.data.jpa.repository.JpaRepository; import org.springframe...
true
5b4d44f97d869496b058328195720a7cebc4c8dc
Java
AbuBallan/aspire-final-assignment
/task-2/payment/src/main/java/com/ab/payment/adapter/message/outbound/PaidOutputChannel.java
UTF-8
290
1.648438
2
[]
no_license
package com.ab.payment.adapter.message.outbound; import org.springframework.cloud.stream.annotation.Output; import org.springframework.messaging.MessageChannel; public interface PaidOutputChannel { String OUTPUT = "paid-payment"; @Output(OUTPUT) MessageChannel output(); }
true
432b1c51a76e7881b91aef925312f33957e4a08b
Java
mmassey1993/QA-JavaSE-Week1
/Battleships/src/test/java/ShipTest.java
UTF-8
603
2.671875
3
[]
no_license
import org.junit.Before; import org.junit.Test; import java.util.ArrayList; import java.util.List; import static junit.framework.TestCase.assertEquals; public class ShipTest { private int size; private int xPos; private int yPos; private List<Ship> shipList; @Before public void setup(){ ...
true
b2331ce1153bce8c5d0337770c40b176ee64ab68
Java
Synature-Jitthapong/myrepo_lib
/src/syn/pos/data/dao/DocumentStatus.java
UTF-8
231
1.773438
2
[]
no_license
package syn.pos.data.dao; public class DocumentStatus { static final int PREPARE_DOCUMENT = 0; static final int COMPLETE_DOCUMENT = 2; static final int WORKING_DOCUMENT = 1; static final int CANCEL_DOCUMENT = 99; }
true
bdcb99a51acc5022c75c27a2d8c562f6e1ba0e3f
Java
ritasipaque/PrototipoP31P2021
/PrototipoP31P2021/src/dominio/Maestro.java
UTF-8
1,967
2.171875
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 dominio; /** * * @author familia Sipaque */ public class Maestro { private int codigo_maestro; private String nombre...
true
81f81cdd7c73a70115bfb383de2a071d7dc804e1
Java
vytaut1as/newssite
/src/NArticle.java
UTF-8
440
2.40625
2
[]
no_license
import lt.vtvpmc.Article; public class NArticle implements Article { private String brief; private String heading; public NArticle() { } public NArticle(String arg1, String arg2){ this.heading = arg1; this.brief = arg2; } @Override public String getBrief() { // TODO Auto-generated method stub ...
true
14319344af271fc14bc7bf05b3ac583fe247cd61
Java
shellrean/management-gudang
/src/main/java/com/shellrean/management/barang/domain/dao/Shipper.java
UTF-8
417
1.875
2
[]
no_license
package com.shellrean.management.barang.domain.dao; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; @Entity @Table(name = "tbl_shipper") @Data @AllArgsConstructor @NoArgsConstructor public class Shipper { @Id @GeneratedValue(strategy = Genera...
true
03a88cad98f921fa537cdc871ed253a1e35aac98
Java
rototor/jeuclid
/kas/src/main/java/cTree/cCombine/CC_StrichFracFracN.java
UTF-8
3,340
1.96875
2
[ "Apache-2.0", "BSD-2-Clause" ]
permissive
/* * Copyright 2009 Erhard Kuenzel * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
true
727c25a41bd0629dadec676fff959cf39632268a
Java
Srdjan294/JP23
/eclipse/ProjectEuler/src/projectEuler/Problem003.java
UTF-8
882
3.96875
4
[]
no_license
package projectEuler; public class Problem003 { // The prime factors of 13195 are 5, 7, 13 and 29. // // What is the largest prime factor of the number 600851475143 ? // A function to print all prime numbers of a given number n public static void primeFactors(long n) { // Print the number of 2s that devide ...
true
cccd5b0e0caac390f96b297e4a78fb55fe963813
Java
mhersc1/EVEREST
/Katmandu/ADTProject/src/pe/com/everest/adtprogram/Main.java
UTF-8
1,256
2.640625
3
[]
no_license
package pe.com.everest.adtprogram; import static pe.com.everest.adtprogram.OperationHandler.operacionesConADT; public class Main { public static void main(String[] args) { ADTListHandler adtListHandler = new ADTListHandler(); ADTMapHandler adtHashTableHandler = new ADTMapHandler(); ADTSet...
true
7f41779c790cb847a77360dfa3ced2a5e0029d5a
Java
gintian/TimeMatrix
/src/edu/purdue/timematrix/visualization/Manager.java
UTF-8
3,744
2.546875
3
[ "MIT" ]
permissive
package edu.purdue.timematrix.visualization; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.util.ArrayList; import edu.purdue.timematrix.aggregation.AggGraph; import edu.purdue.timematrix.aggregation.AggGraph.AggNode; import edu.purdue.timematrix.overlay.OverlayManager; i...
true
06cbea23dd8277e8c5e78dcd3c3c52c717101f75
Java
dzdevjee/mesCourses
/workspace/MesCoursesPrimefaces/src/com/lamine/metier/impl/UtilisationMetierImpl.java
UTF-8
900
2.296875
2
[]
no_license
package com.lamine.metier.impl; import java.util.List; import com.lamine.dao.interfaces.UtilisationDAO; import com.lamine.metier.interfaces.UtilisationMetier; import com.lamine.dao.entite.Utilisation; import com.lamine.dao.impl.UtilisationDAOImpl; public class UtilisationMetierImpl implements UtilisationMetier { pri...
true
159048041084403af4a5a5a075d661101faddc23
Java
guan4015/Exchange
/Exchange.java
UTF-8
2,810
3.078125
3
[]
no_license
package ExchangeTerminal; import java.util.ArrayList; import java.util.HashMap; /** * This class defines the Exchange that is used to store and process the tickers * being traded, resting orders and communications between clients and the exchange. * * @author xiaog * */ public class Exchange { ...
true
2fc07a9d30e02f9c8b8af88b23c65e1da6531004
Java
nghiemxuanquang/shoppingmall
/update part 5/example2/src/main/java/com/common/ImageUpload.java
UTF-8
1,873
2.8125
3
[]
no_license
package com.common; import com.mortennobel.imagescaling.AdvancedResizeOp; import com.mortennobel.imagescaling.ResampleOp; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; public ...
true
159c90495a5aecda91f161d4f327c7c0988ce779
Java
victordrnd/java-city
/src/Fenetre.java
UTF-8
3,936
2.734375
3
[]
no_license
import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import java.awt.FlowLayout; import javax.swing.JLabel; import javax.swing.JTextField; import javax.swing.JButton; import java.awt.Color; import java.awt.Font; import ja...
true
372517ca56efb45e047f1efe8ec4f4b6ebc94a61
Java
Pushp1403/Timezone-store-spring-Oauth-React
/tz-store/src/main/java/com/toptal/pushpendra/utilities/Constants.java
UTF-8
4,310
2.109375
2
[]
no_license
package com.toptal.pushpendra.utilities; public class Constants { public static final String INTERNAL_SERVER_ERROR = "Internal Server Error"; public static final String BLANK_STRING = ""; public static final String COMMA = ", "; public static final String ROLE_USER_MANAGER = "ROLE_USER_MANAGER"; public static fi...
true
0a76f71c813836720429b15cb8ce2d4864e7b290
Java
Abduselam99/JavaHomeworks
/Homework1/src/JavaExercise7.java
UTF-8
420
4.03125
4
[]
no_license
public class JavaExercise7 { public static void main(String[] args) { /* Write a Java program to print the area and perimeter of a circle. * Test Data: * Hint: Use Math.PI * Radius = 7.5 */ double radius =7.5; double perimetre = 2* Math.PI*radius; double area = Math.PI*radius*radius; Sys...
true
16b508317223ebcbfe0e8293175f0fc6888e5272
Java
delca85/puzzlesolver
/parte2/puzzlesolver/io/MalformedFileException.java
UTF-8
187
1.898438
2
[]
no_license
package puzzlesolver.io; import java.io.IOException; /** * Raised whenever the input file does not appear to be valid. */ public class MalformedFileException extends IOException { }
true
1b779972c72f5bd4fd4badff233b71b0e57f327a
Java
IS908/leetcode
/src/main/java/leetcode/L083_RemoveDuplicatesFromSortedList.java
UTF-8
889
3.609375
4
[]
no_license
package leetcode; import leetcode.Utils.ListNode; /** * Given a sorted linked list, delete all duplicates such that each element appear only once. * <p/> * For example, * Given 1->1->2, return 1->2. * Given 1->1->2->3->3, return 1->2->3. * <p/> * Created by kevin on 2016/3/8. */ // 换一种思路,相等时向后移动指针,不相等时将指针指向当前...
true
5e30dbb919a2fda1e90a1a59246f07ef7d563b73
Java
njanmelbin/uber-backend
/src/main/java/com/uber/uberapi/services/messagequeue/KafakeService.java
UTF-8
877
2.765625
3
[]
no_license
package com.uber.uberapi.services.messagequeue; import org.springframework.stereotype.Service; import java.util.HashMap; import java.util.LinkedList; import java.util.Map; import java.util.Queue; @Service public class KafakeService implements MessageQueue{ private final Map<String, Queue<MQMessage>> topics = ne...
true
d5d179567f43113a876ceff9d65745613b31e0e9
Java
yugesha/codehint
/codehint-plugin/src/codehint/dialogs/StatePropertyDialog.java
UTF-8
3,385
2.46875
2
[]
no_license
package codehint.dialogs; import org.eclipse.debug.core.DebugException; import org.eclipse.jdt.debug.core.IJavaStackFrame; import org.eclipse.jdt.debug.eval.IAstEvaluationEngine; import org.eclipse.jface.dialogs.IInputValidator; import codehint.exprgen.TypeCache; import codehint.property.Property; import codehint.pro...
true
c43b64469a66cdcc5eff90f6f5b1829b4699619f
Java
TubaBee/SeleniumBatchV
/src/myWork/Callender.java
UTF-8
1,678
2.3125
2
[]
no_license
package myWork; import java.util.List; 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.support.ui.Select; public class Callender { public static void main(String[] args) throws Int...
true
bed58da061076c625e651a70dc9e186050416286
Java
Nabarun/CrmTest
/CrmTest.ModelClasses/src/ModelRecommendUserToFollow.java
UTF-8
1,974
2.078125
2
[ "ISC" ]
permissive
import java.util.List; public class ModelRecommendUserToFollow { private String userName; private String companyName; private String userId; private String title; private String reasonForRecommendation; private String photoUrl; private String accessToken; private List<String> twitterMessages; private ...
true
6c99a7b645e0a9b7a5ccb8f32dfc5378639d8883
Java
vinhha86/qlsv-project
/backend/src/main/java/com/niit/backend/entities/FileResponse.java
UTF-8
747
2.375
2
[]
no_license
package com.niit.backend.entities; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.RequiredArgsConstructor; import javax.persistence.*; @Entity @Table(name = "avatar") @Data @AllArgsConstructor @NoArgsConstructor public class FileResponse { public FileRespons...
true
b8ab49f50bd2377273ea87f44333f3aeb1866738
Java
jf908/UltraEvent
/net/xyfe/ultraplugin/UltraEventBarrier.java
UTF-8
2,800
2.53125
3
[ "MIT" ]
permissive
package net.xyfe.ultraplugin; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.World; import org.bukkit.entity.FallingBlock; import org.bukkit.entity.Player; import org.bukkit.material.MaterialData; import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.scheduler.BukkitRunnable; ...
true
b3627504e8b7c81487c4d4353b2f2c7fc89649cb
Java
youngseonL/2020_JAVA
/Ch07(생성자)/src/exam09/RectangelEx.java
UHC
544
3.53125
4
[]
no_license
package exam09; import java.util.Scanner; public class RectangelEx { private int width; private int height; public double Sum(int width, int height) { this.height = height; this.width = width; return this.height*this.width; } public static void main(String[] args) { Scanner sc = new Scanner(Syste...
true
b6ec2c27701170b3dab1ef3b0c7f946a2776508f
Java
srilakshmi488/Mr.How
/app/src/main/java/com/volive/mrhow/activities/VideoScreenActivity.java
UTF-8
10,071
1.609375
2
[]
no_license
package com.volive.mrhow.activities; import android.app.Dialog; import android.content.Intent; import android.content.res.Configuration; import android.net.Uri; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.view.ViewGroup; i...
true
cc3aeb4f9318bdc11d74d3af44ad2c836735c446
Java
Ozonek95/File-differentiator
/src/com/filedifferentiator/extension_comparison/exceptions/ContentTypeNotFitExtensionException.java
UTF-8
231
1.921875
2
[]
no_license
package com.filedifferentiator.extension_comparison.exceptions; public class ContentTypeNotFitExtensionException extends Exception { public ContentTypeNotFitExtensionException(String message) { super(message); } }
true
a4025b09720660824ba96744c9f22f78e6d35937
Java
domchowit/qa-rest-api
/src/test/java/com/hello/fresh/rest/automation/framework/api/RestClient.java
UTF-8
1,534
2.4375
2
[]
no_license
package com.hello.fresh.rest.automation.framework.api; import static io.restassured.RestAssured.given; import com.hello.fresh.rest.automation.framework.endpoint.Endpoint; import io.restassured.http.Headers; import io.restassured.response.Response; public class RestClient { protected String baseUrl; protected R...
true
6522a5b68edc77522af4ebae9195aeec88d5330e
Java
chentouf/M1ICE_CompteurIntelligent
/ProjectOpenUp_v3/src/Compteur/SimulationCompteur.java
UTF-8
1,046
2.6875
3
[]
no_license
package Compteur; public class SimulationCompteur implements Runnable { private ControleurCompteur controleur; public SimulationCompteur(String id) { // TODO Auto-generated constructor stub controleur = new ControleurCompteur(id); } public ControleurCompteur getControleur() { return co...
true
82f03006e66294030332150e032bef26f9797181
Java
dennis0127/blog
/src/main/java/com/yyyow/blog/controller/TTestController.java
UTF-8
1,143
1.867188
2
[]
no_license
package com.yyyow.blog.controller; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.yyyow.blog.common.utils.PageUtils; import com.yyyow.blog.common.utils.R; import com.yyyow.blog.entity.TTestEntity; import com.yyyow.blog.service.ITTestService; import io.swagger.annotations.Ap...
true
e3b7e50891d5b08a2033ef8affa1d6ffa47244c7
Java
wl21st/flink-clean-architecture-example
/job/src/main/java/com/example/demo/job/infrastructure/flink/Job.java
UTF-8
256
1.8125
2
[ "MIT" ]
permissive
package com.example.demo.job.infrastructure.flink; import org.apache.flink.api.common.JobExecutionResult; import java.io.Serializable; public interface Job extends Serializable { JobExecutionResult start() throws Exception; String getName(); }
true
1447567c5917fa856285f830a1ddc1ddec585eb1
Java
isis-github/project-template
/web/src/main/java/com/tianzhu/cms/controller/BaseAction.java
UTF-8
866
1.742188
2
[ "Apache-2.0" ]
permissive
/* * Copyright © 2013 Changsha Shishuo Network Technology Co., Ltd. All rights reserved. * 长沙市师说网络科技有限公司 版权所有 * http://www.shishuo.com */ package com.tianzhu.cms.controller; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import com.tianzhu.cms.domain.service.Article...
true
008f0c738d389e37442736bceeebd221e1ed159c
Java
ossVerifier/jwala
/jwala-services/src/main/java/com/cerner/jwala/service/binarydistribution/BinaryDistributionControlService.java
UTF-8
2,700
2.28125
2
[ "Apache-2.0" ]
permissive
package com.cerner.jwala.service.binarydistribution; import com.cerner.jwala.common.exec.CommandOutput; import com.cerner.jwala.exception.CommandFailureException; /** * Created by Arvindo Kinny on 10/11/2016. */ public interface BinaryDistributionControlService { /** * This method copies a reso...
true