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
55a347c5f6605dd167454557f69664413669d9cf
Java
mse1163/Algorism2
/BOJ/Main전구길만걷자.java
UTF-8
1,726
3.453125
3
[]
no_license
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; // 초기화...꼭꼭꼭 기억합시당..!!!!!!!! // 어려운 문제는 아니였음.. public class Main전구길만걷자 { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(ne...
true
34253c5180315a00d97b3253abe7294e28623e81
Java
staryin-code/blog
/web/src/main/java/com/hlib/sql/RoleSqlProvider.java
UTF-8
1,729
2.109375
2
[]
no_license
package com.hlib.sql; import com.hlib.entity.RoleResource; import com.hlib.entity.UserRole; import java.util.List; import java.util.Map; import static org.apache.ibatis.jdbc.SqlBuilder.*; /** * Created by hlib on 2015/11/26 0026. */ public class RoleSqlProvider { private final String USER_ROLE = "t_user_role...
true
da6355755f36808f6d9fd390c3832316a1d1676a
Java
keepfit/objectrelations
/src/main/java/de/esoco/lib/expression/function/ThrowingFunction.java
UTF-8
2,871
2.703125
3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // This file is a part of the 'objectrelations' project. // Copyright 2019 Elmar Sonnenschein, esoco GmbH, Flensburg, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compli...
true
e3fcc5c8a48e9c09ae9b7f64c1911955f50392c7
Java
AurelienJournet/ProjetImmobilier
/src/main/java/com/fr/adaming/web/converter/ClientConverter.java
UTF-8
747
2.5
2
[]
no_license
package com.fr.adaming.web.converter; import com.fr.adaming.entity.Client; import com.fr.adaming.web.dto.ClientDto; /** * @author Aurélien * */ public class ClientConverter { public static Client DtoClientToClient(ClientDto dto) { Client client=new Client(); client.setEmail(dto.getEmail()); cli...
true
40c69c0279b563750a6a31cda94608f1c21edaa0
Java
Tarasso/WhataPOS
/src/WhataPOS/Order.java
UTF-8
2,411
2.734375
3
[]
no_license
package WhataPOS; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Vector; import WhataPOS.JDBC; public class Order { private Integer id; private String date; private Vector<String> order; public static String fname = ""; ...
true
d91a81a754a0d53b333b956a0a4f51fa3127551c
Java
deepak41/workspace
/JavaPractice/src/package1/test2.java
UTF-8
264
2.078125
2
[]
no_license
package Package1; import java.util.Arrays; class test2 { public static void main(String[] args) { stopwatch.start(); BinaryCode a = new BinaryCode(); String[] s = a.decode("8"); System.out.println(Arrays.toString(s)); stopwatch.stop(); } }
true
9a5fd466f5442c9f3cc89edfb47ff62c942c1731
Java
col-panic/rocket-chat-rest-client
/src/main/java/com/github/baloise/rocketchatrestclient/RocketChatRestApiV1Users.java
UTF-8
4,721
2.578125
3
[ "MIT" ]
permissive
package com.github.baloise.rocketchatrestclient; import java.io.IOException; import com.github.baloise.rocketchatrestclient.model.User; import com.github.baloise.rocketchatrestclient.requests.CreateUserRequest; import com.github.baloise.rocketchatrestclient.requests.UpdateUserRequest; import com.github.baloise.rocket...
true
ba923f1c6e15e52570f4302db43a97a45ea75a19
Java
JaRMoS/models
/demo3/AffineFunctions.java
UTF-8
2,410
2.609375
3
[]
no_license
public class AffineFunctions { public double evaluateA(int i, double[] p) { if( (i<0) || (i>get_n_A_functions()-1) ) { throw new RuntimeException( "Input parameter is invalid in evaluateA()," + " i = " + i + " but get_n_A_functions() = " + get_n_A_functions()); } switch(i) { case 0: ret...
true
537df7ebfe25bffb7dc03a929e90963449a68a3b
Java
italocavalcanti/BrasilPrev
/src/main/java/com/Brasilprev/gateways/http/jsons/requests/OrderRequest.java
UTF-8
1,069
2.015625
2
[]
no_license
package com.Brasilprev.gateways.http.jsons.requests; import java.io.Serializable; import java.math.BigDecimal; import java.util.Set; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.Size; import com.sun.istack.NotNull; import io.swagger.annotations.ApiModel; import io.sw...
true
3aad591f0bd18b8c4a30ecf5d87023b228e88948
Java
anujak30/activityinfo
/src/main/java/org/activityinfo/server/command/handler/CommandHandler.java
UTF-8
2,047
2.421875
2
[]
no_license
package org.activityinfo.server.command.handler; /* * #%L * ActivityInfo Server * %% * Copyright (C) 2009 - 2013 UNICEF * %% * 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 versi...
true
eec1b5969b8c99211dca34eb81224c13b34446ae
Java
denizgurzihin/MonoPoly
/iteration2/GoToNearestRailRoadCard.java
UTF-8
627
3.25
3
[]
no_license
public class GoToNearestRailRoadCard extends Card { private int targetLocationIndex; public GoToNearestRailRoadCard(String explanation){ super(explanation); } @Override public void action(Player player) { int locationIndex = player.getPawn().getLocation().getIndex(); if(Ma...
true
6197bfd5d1e8b55145fcc70ac95a94b69037a877
Java
allanim/vaadin
/uitest/src/com/vaadin/tests/components/table/UncollapsedCollumnWidth.java
UTF-8
1,319
2.796875
3
[ "Apache-2.0" ]
permissive
package com.vaadin.tests.components.table; import com.vaadin.tests.components.TestBase; import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; import com.vaadin.ui.Table; public class UncollapsedCollumnWidth extends TestBase { @Override protected void setup() { final Table table = new T...
true
715c73f5b14487f94347a2ab5ae41a7b27215aed
Java
Pratik-Singh786/new_core_java
/module1/src/flowcontrol/ForEachEx1.java
UTF-8
406
3.484375
3
[]
no_license
package flowcontrol; public class ForEachEx1 { public static void main(String[] args) { int arr[][]= {{1,2,3,4,5},{6,7,8}}; for(int i=0;i<arr.length;i++) { for(int j=0;j<arr[i].length;j++) { System.out.print(arr[i][j]+ " "); } System.out.println(); } for(int [] x1:arr) { for(int x...
true
d2f5d326312d622162e8bf396029970ccf5ac41d
Java
xuyanbo0123/TA_Auto
/src/main/java/name/mi/buyer/revimedia/map/CommuteDistanceMap.java
UTF-8
1,046
2.5625
3
[]
no_license
package name.mi.buyer.revimedia.map; import name.mi.auto.enumerate.CommuteDistance; import java.util.Collections; import java.util.HashMap; import java.util.Map; public class CommuteDistanceMap { private static final Map<CommuteDistance, String> mMap; private static final String DEFAULT = "4-...
true
45dc07d072e1812bc116d0059b009d5e591b93a6
Java
trunghieudinh224/GoodFood_AndroidApp
/admin_goodfood/app/src/main/java/com/example/admingoodfood/QuanLyUsers.java
UTF-8
5,366
1.882813
2
[]
no_license
package com.example.admingoodfood; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import...
true
443babfb5687573a2df1c3ae161f66e4f39c8ee2
Java
KatrukOV/FacultyImmutable
/src/main/java/com/katruk/entity/Person.java
UTF-8
160
2.15625
2
[]
no_license
package com.katruk.entity; public interface Person extends Model { String lastName(); String name(); String patronymic(); Person addId(Long id); }
true
69c10c97ce969183ceabdb43592d0a5427b7fe81
Java
0xSeanJ/scorpio
/scorpio-security-starter/src/main/java/top/jshanet/scorpio/security/jwt/component/JwtAuthenticationFilter.java
UTF-8
2,558
2.109375
2
[ "MIT" ]
permissive
package top.jshanet.scorpio.security.jwt.component; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.security.core.use...
true
f7c9769036082ecfd5efc89e044475e0d0048644
Java
yangmeiliang/antelope
/antelope-test/src/main/java/com/lmy/antelope/test/EnumDemo.java
UTF-8
417
2.34375
2
[]
no_license
package com.lmy.antelope.test; /** * @author yangmeiliang * @date 2018/4/18 */ public class EnumDemo { public static void main(String[] args) { switch (TestEnum01.TEST01) { case TEST01: System.out.println("test01"); break; case TEST02: ...
true
0f14e35fb1c981048b3579b0c9761998c5532bd7
Java
eboot/CoinCap
/app/src/main/java/com/coin/murti/coincap/Food.java
UTF-8
700
2.859375
3
[]
no_license
package com.coin.murti.coincap; /** * Created by murti on 19.03.2018. */ public class Food { private int rank; private String name; private double price; public Food(String name, double price, int rank) { this.name = name; this.price = price; this.rank = rank; } pub...
true
feaafe2a2369a455807e327b233872a9eb251574
Java
bkoprucu/distributed-counter
/distributedcounter-service/src/main/java/org/berk/distributedcounter/counter/Counter.java
UTF-8
1,235
2.6875
3
[]
no_license
package org.berk.distributedcounter.counter; import org.berk.distributedcounter.api.Count; import org.springframework.lang.Nullable; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; public interface Counter { default Mono<Long> increment(String eventId) { return increment(eventId, ...
true
473f7e90736bd9e40be44336597142781a700883
Java
ankitaanand1011/fuow
/app/src/main/java/sketch/findusonweb/Screen/Logout.java
UTF-8
1,725
1.953125
2
[]
no_license
package sketch.findusonweb.Screen; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.Toast; import es.dmoral.toasty.Toasty; import sketch.findusonweb...
true
15664ba4ac693edcc62c7a36618f9c9dfb5a2130
Java
Mohammad-Sharkar/AllMyWorkAt02032020
/testNghomework5/src/TestScript/facebookSignupScript.java
UTF-8
1,846
1.976563
2
[]
no_license
package TestScript; import java.util.concurrent.TimeUnit; import org.junit.Before; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.AfterTest; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; import junit.framework.Assert...
true
94087230393bc40a3dd7d7cbf1e3d6838a84fd92
Java
zengzhiying/programming_languages
/java/algorithms/src/algorithm/DataCompute.java
UTF-8
2,858
4
4
[]
no_license
package algorithm; import java.math.BigDecimal; /** * 常用的数据计算方法类 * @author zengzhiying * */ public class DataCompute { /* * 无限大精度数字加法计算 */ public static String bigNumberAdd(String s1, String s2) { BigDecimal a1 = new BigDecimal(s1); BigDecimal a2 = new BigDecimal(s2); return (a1.a...
true
d112cdbd6fd9d08d12fa3e7f5f55c6e475245c2b
Java
endacsd/demologin2
/src/main/java/com/example/demo/repository/MyUserRepository.java
UTF-8
685
2.109375
2
[]
no_license
package com.example.demo.repository; import com.example.demo.entity.MyUser; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.data.jpa.repository.support.JpaRepositoryImplementation; i...
true
d61aeba029f10def9946e4c2af18365e6d7ab5a0
Java
jconverter/jconverter
/src/main/java/org/jconverter/converter/catalog/enumeration/EnumerationToMapConverter.java
UTF-8
692
2.28125
2
[ "Apache-2.0" ]
permissive
package org.jconverter.converter.catalog.enumeration; import java.util.Enumeration; import java.util.Map; import java.util.Map.Entry; import org.jconverter.JConverter; import org.jconverter.converter.Converter; import org.jconverter.converter.TypeDomain; import org.jconverter.converter.catalog.iterator.IteratorToMapC...
true
73d02db8454933962923d5229f99196110f8376e
Java
JetBrains/intellij-community
/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/MultipleSingleTypeImports.java
UTF-8
196
2.359375
2
[ "Apache-2.0" ]
permissive
// multiple single-type import of the same class import java.io.IOException; <warning descr="Unused import statement">import java.io.IOException;</warning> class c { public IOException m; }
true
d3d9ee7cf409f76ff402e90874bdd693dd198d00
Java
dkayiwa/openmrs-module-reporting
/api/src/test/java/org/openmrs/module/reporting/query/obs/evaluator/SqlObsQueryEvaluatorTest.java
UTF-8
3,944
2.09375
2
[]
no_license
/** * The contents of this file are subject to the OpenMRS Public License * Version 1.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://license.openmrs.org * * Software distributed under the License is distributed on an "AS IS" ...
true
1d852fdb9cd47b37c6b12bd1eba3b8d7f099b315
Java
agCepeda/Data_Structures
/Main.java
UTF-8
1,293
3.171875
3
[]
no_license
import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.Set; public class Main { public static void println(Object... args) { for (Object arg : args) { System.out.print(arg.toString() + " "); } System.out.println(""); } static int findShortest( int graphNodes,...
true
aab6fc7bc97fe590364625938eb4ec0997f1247e
Java
shanghaif/hbhims_android
/app/src/main/java/com/example/hbhims/model/entity/HealthBloodSugar.java
UTF-8
4,919
2.1875
2
[ "MIT" ]
permissive
package com.example.hbhims.model.entity; import androidx.annotation.NonNull; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.example.hbhims.model.common.Constant; import com.example.hbhims.model.common.entity.JsonResult; import com.example.hbhims.model.common.util.http.Http; ...
true
59d90e2474e37b71bce8392605d640e7413ea280
Java
larsla1/pg6100
/11_0-students/src/main/java/no/nith/pg6100/infrastructure/StudentDao.java
UTF-8
845
2.5
2
[]
no_license
package no.nith.pg6100.infrastructure; import no.nith.pg6100.entity.Student; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.TypedQuery; import java.util.List; @Stateless public class StudentDao { private EntityManager enti...
true
fafad710efdc9663042f301daaf3eaa8cbfcc917
Java
shortcolin/OpenLiveView
/src/net/sourcewalker/olv/data/Prefs.java
UTF-8
946
2.3125
2
[ "Apache-2.0" ]
permissive
package net.sourcewalker.olv.data; import net.sourcewalker.olv.R; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.preference.PreferenceManager; /** * Provides access to the preferences of this application. * * @author Robert...
true
35bb781442cb32556752e32dfaa29ea521cc2318
Java
xieyaxiong/CommonUtil
/src/com/xyx/redis/RedisTest.java
WINDOWS-1252
2,126
2.640625
3
[]
no_license
package com.xyx.redis; import java.util.Map; import java.util.Set; import java.util.UUID; import redis.clients.jedis.Jedis; /** * ٶ10000/ * @author Administrator * */ public class RedisTest { public static int count=0; public static void main(String[] args) { for(int i=0;i<10000;i++){ n...
true
0cf6177ffee247bc476fe12613e8b3dc014002a9
Java
erchandrasekhar/core-java
/src/staticMethodDemostration/Picture.java
UTF-8
1,381
3.578125
4
[]
no_license
package staticMethodDemostration; import java.util.ArrayList; public class Picture { private int pictureId; private String color; private double area; public int getPictureId() { return pictureId; } public void setPictureId(int pictureId) { this.pictureId = pictureId; } public String ge...
true
1434a758b1a434cdf7e252ab35649693d5a40909
Java
timeeapitan/School-Projects
/Lab6/src/timeea/pitan/se/labs/lab6/ex2/BankAccount.java
UTF-8
1,728
3.671875
4
[]
no_license
package timeea.pitan.se.labs.lab6.ex2; public class BankAccount implements Comparable { private String owner; private double balance; BankAccount(){} BankAccount(String owner, double balance){ this.owner=owner; this.balance=balance; } public void withdraw(double ...
true
956170229e65e550f762b44afe487211d9527480
Java
gavinjou818/miaosha
/src/main/java/com/miaoshaproject/mq/Test.java
UTF-8
2,088
2.5625
3
[]
no_license
package com.miaoshaproject.mq; import org.apache.rocketmq.client.producer.DefaultMQProducer; import org.apache.rocketmq.client.producer.SendResult; import org.apache.rocketmq.common.message.Message; import org.apache.rocketmq.remoting.common.RemotingHelper; public class Test { public static void main(String[] arg...
true
140ef582f211127648b6e8416448fcad66924f7c
Java
javaguy0726/watashi-no-code
/SeleniumDemo/src/headfirst/my/strategy/Hero.java
UTF-8
856
3.140625
3
[]
no_license
package headfirst.my.strategy; public abstract class Hero { CONBehavior conBehav; AOEBehavior aoeBehav; public Hero() { } public void attack() { System.out.println("attack!"); } public void stand() { System.out.println("Stand!"); } public void hold() { System.out.println("Hold!...
true
7d9250cd189e0b057a7264a391e7b4f67dd35237
Java
zhangsong1990/Demo_yst_2016
/Demo_2016_4/src/com/wjw/prefect/swiperefreshlayout/DummyListViewAdapter.java
UTF-8
2,771
2.375
2
[]
no_license
package com.wjw.prefect.swiperefreshlayout; import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import java.util.Arr...
true
53b1e434b2b892216f05a9659a4de74ce1be2df0
Java
afourcad/avaj-launcher
/fr/fortytwo/avaj/simulator/vehicules/Coordinates.java
UTF-8
1,250
2.90625
3
[]
no_license
package fr.fortytwo.avaj.simulator.vehicules; public class Coordinates { private int longitude; private int latitude; private int height; Coordinates(int longitude, int latitude, int height) { this.longitude = Math.max(longitude, 0); this.latitude = Math.max(latitude, 0); this....
true
bf1f4a7115a6c94df1c901394781034280bf4770
Java
cvilcan/Teme
/AdunareMatriciPP/src/Matrix/MatrixIO.java
UTF-8
449
3.0625
3
[]
no_license
package Matrix; import java.io.BufferedReader; import java.io.InputStreamReader; public class MatrixIO { public int ReadInt(String message) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int number = 0; System.out.println(message); try { number = Integer.parseIn...
true
2075db307d268d5a4b469ef5469e969f9b6776a1
Java
adams1508/nauka-java
/src/main/tasks/Z005_Petla.java
UTF-8
671
3.1875
3
[]
no_license
package main.tasks; public class Z005_Petla { public static void main(String args[]) { int count; for (count = 0; count < 5; count++) ; System.out.println("count wynosi: " + count); // zapytać Jarka czemu nie wyszła pętla :(" double gallons, liters; int counter; ...
true
69cf170c3cf9cedf29c3519a5b92c4011286f93d
Java
BLCheung/hybrid-android-jd
/app/src/main/java/com/blcheung/hybridappdemo/permission/result/IRequestPermissionResult.java
UTF-8
581
2.34375
2
[ "MIT" ]
permissive
package com.blcheung.hybridappdemo.permission.result; import android.app.Activity; /** * @Author BLCheung * @CreatDate 2019/11/5 */ public interface IRequestPermissionResult { /** * 处理权限请求结果 * * @param activity 当前Activity * @param permissions 请求的权限数组 * @param grantResults 权限请求结果数组 ...
true
da4b8aa5f1000a8a4f9a459e8e93ce2fc072810f
Java
cha63506/CompSecurity
/GoogleWallet_source/src/com/google/android/apps/wallet/plastic/ActivationFragment$NavState.java
UTF-8
1,285
1.632813
2
[]
no_license
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.google.android.apps.wallet.plastic; // Referenced classes of package com.google.android.apps.wallet.plastic: // Activati...
true
ed772262279ae8aad6d719d863614af8c4771845
Java
rgfretes/juego-walkers-of-the-city
/Soft/Walkers-of-the-city/src/monitor.java
UTF-8
8,046
1.867188
2
[]
no_license
import java.util.HashMap; import java.util.concurrent.Semaphore; /** * @author usuario * @version 1.0 * @created 28-nov-2012 03:53:09 p.m. */ public class monitor { private Cola[] acciones; private Semaphore lock; private static int[][] matriz_incidencia= {{0,0,1,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0...
true
0c799b068c23e2b12327eac4f5d29c02d43d4daa
Java
ISWPOLI/FedeMarketMovil
/app/src/main/java/qantica/com/conexion/Descarga.java
UTF-8
7,587
2.078125
2
[]
no_license
package qantica.com.conexion; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import qantica.com.fedemarket.R; import qantica.com.fedemarket.Singleton; import qantica.com.conf.RecursosRed; import android.app.Activi...
true
27ebfa733c2a6ee05d9e51b5007592fe8ca1aedf
Java
boaglio/linuxgames
/src/main/java_old/br/com/linuxgames/model/vo/RoteiroInstalacaoVO.java
UTF-8
2,287
2.4375
2
[]
no_license
package br.com.linuxgames.model.vo; import java.io.Serializable; public class RoteiroInstalacaoVO implements Serializable,AprovadoVO { private static final long serialVersionUID = 25606674527847L; private int id; private DistroVO distro; private Colaborador usuario; private String descricao; private boolean ...
true
edd2cf4e464dcae6366b56fba86c8ea361bb50e5
Java
sun-wangbaiyu/emr-code
/pkuhit.iih-model/src/main/java/pkuhit/xap/me/FunctionAction.java
UTF-8
3,485
2
2
[]
no_license
package pkuhit.xap.me; import xap.sv.annotation.Column; import xap.sv.annotation.DictionaryTag; import xap.model.BaseRelationModel; import java.util.List; import java.util.ArrayList; import java.util.Date; public class FunctionAction extends BaseRelationModel { public FunctionAction(){ super(); } public Fun...
true
90797640f5189225d6b3527cb354beb60c5034d6
Java
scc-digitalhub/dremio-oss
/services/nessie/src/main/java/com/dremio/service/nessie/DatastoreDatabaseAdapter.java
UTF-8
17,574
1.539063
2
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/* * Copyright (C) 2017-2019 Dremio 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 l...
true
7d82313f58108825d60c3cdd66ae26202a1ab174
Java
Lucas97Meneses/AulasE2ETreinamentosWarRoom
/eclipse-workspace/Turma_A_WarRoom/src/test/java/br/com/e2etreinamentos/WarRoom/OpenSiteTest.java
UTF-8
668
1.8125
2
[]
no_license
package br.com.roomscrool.aulas; import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class OpenSiteTest { WebDriver driver; @Before public void setUp...
true
a284311cc3a8aba8dad590d67f81fa1b2a64755d
Java
primewinter/Algorithm
/Algorithm/src/programmers/level02/MakingMinimumValue.java
UHC
3,533
4.15625
4
[]
no_license
package programmers.level02; import java.util.Arrays; public class MakingMinimumValue { /* ּҰ (+2) * https://programmers.co.kr/learn/courses/30/lessons/12941 * ̰ 迭 A, B ΰ ֽϴ. 迭 ڿ ̷ ֽϴ. 迭 A, B ڸ ̾ մϴ. ̷ 迭 ̸ŭ ݺϸ, Ͽ մϴ. ̶ ּҰ ǵ ǥԴϴ. (, 迭 k° ڸ ̾Ҵٸ k° ڴ ٽ ϴ.) A = [1, 4, 2] , B = [5, 4, 4] A...
true
bf1ec76c77da4890886d12c251500d69d9b477db
Java
fxleyu/cu-cafes
/hello-oj/src/main/java/fx/leyu/leetcode/top0001to0050/problem23/Solution.java
UTF-8
3,002
3.4375
3
[]
no_license
package fx.leyu.leetcode.top0001to0050.problem23; public class Solution { public ListNode mergeKLists(ListNode[] lists) { if (lists == null || lists.length == 0) { return null; } for (int left = gainLeftNull(lists, 0), right = gainRightNotNull(lists, lists.length - 1); ...
true
5cf80a43b7b32f4358cbba44c8c0cd2dea90e917
Java
ilbcjnj/firstTest
/src/com/hesine/nmsg/ui/DetailActivity.java
UTF-8
23,223
1.632813
2
[]
no_license
package com.hesine.nmsg.ui; import java.io.File; import java.lang.ref.WeakReference; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; impo...
true
336aed895bac0acff52fae5d0e153574dbc6b826
Java
fabioiuri/CompetitiveProgramming
/Codeforces/_1204/ProbC.java
UTF-8
1,788
3.171875
3
[]
no_license
package Codeforces._1204; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.LinkedList; public class ProbC { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
true
84e6e0e6334851bb997fa3a67d6c42f5bf122773
Java
DRIODDEV/PinWi
/PinWiDemo/src/com/hatchtact/pinwi/classmodel/GetNotificationListByParentIDList.java
UTF-8
682
2.015625
2
[]
no_license
package com.hatchtact.pinwi.classmodel; import java.io.Serializable; import java.util.ArrayList; @SuppressWarnings("serial") public class GetNotificationListByParentIDList implements Serializable { private ArrayList<GetNotificationListByParentID> getNotificationListByParentID=new ArrayList<GetNotificati...
true
6d7a231bdf0391431e4a8fdc2c6f09d0d65522ad
Java
madalinan/bigdata
/Tema 2/LogProcessor.java
UTF-8
2,457
2.71875
3
[]
no_license
package com.logs.process; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Map; import java.util.concurrent.Callable; import java.util.regex.Matcher; import java.util.r...
true
78e35d28afdd376ff5bc80bde9ff7d8ed255673d
Java
blong43/css490
/src/com/lumagaizen/minecraftshop/model/Product.java
UTF-8
3,758
2.328125
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.lumagaizen.minecraftshop.model; import java.sql.Timestamp; import java.util.ArrayList; /** * * @author Taylor */ publi...
true
265a3d513654a28b4de0e4178471e24258cecc51
Java
apollo2099/lshop
/lshop_mananger/src/main/java/com/lshop/common/https/InterfaceResponse.java
UTF-8
814
2.28125
2
[]
no_license
package com.lshop.common.https; public class InterfaceResponse { public static final int STATUS_SUCCESS = 1; // 成功状态 public static final int STATUS_FAIL = 0; // 失败状态 private String responseBody; // 返回数据 private int responseStatus; // 返回状态 private String responseMessage; // 返回消息 public String getResponseBody...
true
362e30f6590df78a03976d285849b14d78ed0b26
Java
chrisv1796/Udacity-Music-Structure-Project
/app/src/main/java/com/example/musicplayer/SongAdapter.java
UTF-8
1,550
2.390625
2
[]
no_license
package com.example.musicplayer; import android.content.Context; import android.graphics.Movie; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.L...
true
82dfdfea0f721ef46b99a7e9b738675eb7eb2ddb
Java
versionwen/PATdemo
/src/main/java/com/offer/Offer45.java
UTF-8
902
3.671875
4
[]
no_license
package com.offer; /** * @author version * @version 1.0 * @date 2020/3/12 22:22 */ /* 给定一个double类型的浮点数base和int类型的整数exponent。求base的exponent次方。 */ public class Offer45 { public double Power(double base, int exponent) { double ans=1; int flag=1; if(base==0){ return 0; ...
true
bcc05b393af4d0c1e3eb16180ba32b74bd597751
Java
chetannaik/jacana
/src/java/approxlib/join/PQGramTbl.java
UTF-8
4,293
2.75
3
[]
no_license
/* * Created on Aug 2, 2005 */ package approxlib.join; import java.sql.Connection; import java.sql.SQLException; import approxlib.sqltools.InsertBuffer; import approxlib.sqltools.TableWrapper; import approxlib.sqltools.SQLTools; import java.util.LinkedList; import approxlib.hash.FixedLengthHash; /** * Stores pq...
true
9ff8986286880ed78afbf1f9e3b9fb142815af70
Java
YAMM25/RetoSofkaU
/src/main/java/co/com/sofka/api/model/data/UserData.java
UTF-8
688
2
2
[]
no_license
package co.com.sofka.api.model.data; import co.com.sofka.api.model.user.NewUser; import com.github.javafaker.Faker; import java.security.SecureRandom; import java.util.Locale; public class UserData { private static Faker faker = Faker.instance(new Locale("es", "CO"), new SecureRandom()); public static NewU...
true
db862049b2fd79ce2148cb254c9f5f6a9698404f
Java
YancongLi/CodingChallenges
/src/com/peter/dailyCodingProblem/Problem26.java
UTF-8
2,027
3.953125
4
[]
no_license
package com.peter.dailyCodingProblem; /* Given a singly linked list and an integer k, remove the kth last element from the list. k is guaranteed to be smaller than the length of the list. The list is very long, so making more than one pass is prohibitively expensive. Do this in constant space and in one pass. Examp...
true
684a572ce9e8645a769d2c7f35da35b2c01859f2
Java
AdrianBriano/PDDLGeneration
/src/Theme.java
UTF-8
399
2.421875
2
[]
no_license
import java.util.List; public class Theme { private String themeName; private List<Subtheme> subthemes; public String getThemeName() { return themeName; } public void setThemeName(String themeName) { this.themeName = themeName; } public List<Subtheme> getSubthemes() { return subthemes; } public voi...
true
1be77511540b7d00f5944ba766a28c362217f1cf
Java
shulieTech/Takin-web
/takin-web-entrypoint/src/main/java/io/shulie/takin/web/entrypoint/controller/leakcheck/LeakCheckResultController.java
UTF-8
1,273
1.992188
2
[]
no_license
package io.shulie.takin.web.entrypoint.controller.leakcheck; import javax.validation.constraints.NotNull; import io.shulie.takin.web.biz.pojo.request.leakverify.LeakVerifyTaskReportQueryRequest; import io.shulie.takin.web.biz.pojo.response.leakverify.LeakVerifyTaskResultResponse; import io.shulie.takin.web.biz.servic...
true
490f3277561e79e6cdc7e6281e65f5b51b5bfc84
Java
allysin/Fete
/Fete/app/src/main/java/com/group9/fete/model/GlobalData.java
UTF-8
6,926
2.25
2
[]
no_license
package com.group9.fete.model; import android.app.Application; import android.util.Log; import com.group9.fete.R; import org.json.JSONArray; import org.json.JSONObject; import java.io.InputStream; import java.util.ArrayList; import java.util.List; /** * Created by Anubhav on 02-11-2014. */ public class GlobalDat...
true
bec37a0bce1276c32ef33d02f3c43f9e1859363f
Java
JiamingXing/Leetcode-solution
/src/tree/ConstructBinaryTreefromInorderandPostorderTraversal.java
UTF-8
1,020
3.578125
4
[]
no_license
package tree; /* 106. Construct Binary Tree from Inorder and Postorder Traversal */ public class ConstructBinaryTreefromInorderandPostorderTraversal { public TreeNode buildTree(int[] inorder, int[] postorder) { if (inorder == null || inorder.length == 0) { return null; } r...
true
00129cc1d5b1a333dd1bfee2afd5a7804b26e512
Java
frelei/design_patterns
/src/com/pattern/strategy/FlyWings.java
UTF-8
161
2.234375
2
[]
no_license
package com.pattern.strategy; public class FlyWings implements FlyBehavior{ @Override public void fly() { System.out.println("Voando Alto!!!!"); } }
true
a279d2877a9abf30a9f5e47e474568f3b89adf91
Java
kannans89/swabhav-techlabs-1
/java/oop/InterfaceManApp/src/com/techlabs/imanable/Boy.java
UTF-8
351
2.890625
3
[]
no_license
package com.techlabs.imanable; public class Boy implements IMannerAble,IEmotionAble { public void wish(){ System.out.println("HEllo, Everyone BOY"); } public void depart(){ System.out.println("GoodBye...Boy"); } public void cry(){ System.out.println("Boy is crying"); } public void laugh(){ System.out.pr...
true
9a13a857e59d318ce78fda6ec25c3ae7c592597b
Java
P79N6A/alibaba-1
/web/src/main/java/com/sun3d/why/controller/wechat/WechatLiveController.java
UTF-8
9,720
1.875
2
[]
no_license
package com.sun3d.why.controller.wechat; import java.io.IOException; import java.util.Date; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controlle...
true
ffaa9d34a5f27edb0ec5d70883a7cbdd44f21941
Java
minhlab/ixa-pipe-srl
/IXA-EHU-srl/src/main/java/ixa/srl/SRLClient.java
UTF-8
3,939
2.15625
2
[]
no_license
package ixa.srl; import java.io.IOException; import java.io.InputStream; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.HelpFormatter; import org.apache.commons...
true
bc4e2ac0424a4e980ad3447ba3e3c1939a3cba26
Java
kpeterr/java
/CernaszamoloDos/src/cernaszamolodos/CernaszamoloDos.java
UTF-8
812
2.890625
3
[]
no_license
package cernaszamolodos; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class CernaszamoloDos { public static void main(String[] args) { System.out.println("A Cérnszámoló program elindult!"); System.out.println("-----------------------...
true
7cc4f6775613ad779c8cae7785f2c4314f38975d
Java
JiawaHawKodomo/yummy
/src/main/java/com/kodomo/yummy/bl/CustomerBlService.java
UTF-8
5,758
2.1875
2
[]
no_license
package com.kodomo.yummy.bl; import com.kodomo.yummy.controller.vo.CustomerLevelStrategyVo; import com.kodomo.yummy.controller.vo.CustomerRechargeStatisticsVo; import com.kodomo.yummy.controller.vo.CustomerStatisticsVo; import com.kodomo.yummy.controller.vo.OrderStatisticsInfoVo; import com.kodomo.yummy.entity.custome...
true
a35edaff365f4d0f0e4866535830f6cda4cd2915
Java
buan/corejava
/Variables/StaticAndInstance.java
UTF-8
566
3.5
4
[]
no_license
class StaticAndInstance { int a=20; static int b=30; public static void main(String args[]) { StaticAndInstance t1=new StaticAndInstance(); System.out.println(t1.a); System.out.println(t1.b); t1.a=999; t1.b=888; System.out.println(t1.a); System.out.println(t1.b); StaticAndInstance t2=new StaticAndInstance(...
true
e254a0071ca6dfa05214836d4f3346c43e1427ed
Java
msamkov/exam-OCA1Z0-808
/src/com/company/chapter5/pack/c5q2/Platypus.java
UTF-8
734
3.203125
3
[]
no_license
package com.company.chapter5.pack.c5q2; public class Platypus extends Mammal { public Platypus() { //будет ошибка компиляции, так как класс от которого мы наследуемся не имеет конструктора по // дефолту. Но конструктор класса наследника первым делом вызывает super() без аргументов. Чтобы ошибки не ...
true
fe246ab760c838458645ecc353552e544b81fc8a
Java
ducvo1983/WebStore
/src/main/java/com/wap/controller/ProfileServlet.java
UTF-8
1,815
2.28125
2
[]
no_license
package com.wap.controller; import java.io.IOException; import java.util.List; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.s...
true
187d2305353c2c855a0408c7ea7fbc78287318f6
Java
nguyendangkhoa25/Spring-Boot-Training
/Spring-Component-Scan/src/main/java/com/nguyendangkhoa25/exclusions/SpringComponentScanExclusionsApp.java
UTF-8
921
2.328125
2
[]
no_license
package com.nguyendangkhoa25.exclusions; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotat...
true
d199ee07d59a5ceb9f2e588bcce8a196dc68d536
Java
rednaga/notcompatible-c
/src/main/java/diff/notcompatible/c/bot/net/udp/UDPSocket.java
UTF-8
885
2.53125
3
[]
no_license
package diff.notcompatible.c.bot.net.udp; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.channels.DatagramChannel; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import diff.notcompatible.c.bot.net.CustomSocket; public class UDPSocket extends CustomSocket { ...
true
9830523cbe0125b5a99fc5faa101df6336f6a9ae
Java
MyInta/exam
/src/leetcode_inta/leetcode/StackReverse.java
UTF-8
763
3.40625
3
[]
no_license
package leetcode_inta.leetcode; import java.util.Stack; /** * @author inta * @date 2019/8/5 * @describe 实现栈的逆序,但是只能使用递归函数和这个栈本身 */ public class StackReverse { //该方法可以弹出栈的最先压入的一个元素(与pop原先功能方向刚好相反) private int get(Stack<Integer> stack){ int result = stack.pop(); if(stack.isEmpty()){ ...
true
aedc636a947d8a345da4076fae849f508fee983e
Java
dulybon1/TicTacNole
/src/TicTacWindow.java
UTF-8
15,271
2.9375
3
[]
no_license
/* * Bonheur, Duly * Project 1 * COP3252 * 02/07/2016 * * This file TicTacWindow.java implements a version of the game * tictactoe that allows multi-player games as it does one player * against the computer(not a very smart one). * */ import javax.swing.*; import java.awt.Toolkit; import java.awt.Componen...
true
7c18d1776579cd16878553fe9035618168b6925a
Java
Ryo-wei/leetcode
/src/main/java/WordBreakII.java
UTF-8
2,375
3.609375
4
[]
no_license
import java.util.*; public class WordBreakII { /* * 140. Word Break II Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentence where each word is a valid dictionary word. Return all such possible sentences. Note: The same w...
true
83a5505d9f6f806400990fbc08181b45626ab747
Java
PanRes/Java8UdemyCourse
/src/gr/pr/udemy/java8/functional_interfaces/BiFunctionExample.java
UTF-8
869
3
3
[]
no_license
package gr.pr.udemy.java8.functional_interfaces; import gr.pr.udemy.java8.data.Student; import gr.pr.udemy.java8.data.StudentDataBase; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.function.BiFunction; import java.util.function.Predicate; public class BiFunctionExample { s...
true
b6f0056b8eba01ae2691d478d96e48e3b30e5261
Java
starbro7046/PrExerK
/app/src/main/java/com/example/fruitsman/prexerk/SeleRou.java
UTF-8
2,889
2.296875
2
[]
no_license
package com.example.fruitsman.prexerk; import androidx.appcompat.app.AppCompatActivity; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.util.Log; import android.widget.List...
true
d233f2634aab87012df054896c366c344bb2ee7c
Java
VineshChauhan24/recordsdk_android
/short/src/main/java/com/qukan/qkrecordupload/Camera1Activity.java
UTF-8
10,732
1.726563
2
[ "Apache-2.0" ]
permissive
package com.qukan.qkrecordupload; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.os.SystemClock; import android.text.TextUtils; imp...
true
ad7588afde379ec829b0144708edc1cacaa5349f
Java
NhungPhan0801/news-special
/src/main/java/model/Category.java
UTF-8
463
2.328125
2
[]
no_license
package model; public class Category { private Long categoryId; private String categoryName; public Long getCategoryId(long id) { return categoryId; } public void setCategoryId(Long categoryId) { this.categoryId = categoryId; } public String getCategoryName(String name) ...
true
5847f6fcd8fc6d5f26ef5aaef15a1663ab366bc8
Java
dnwang/agility4android
/agility/src/main/src_agility/org/pinwheel/agility/animation/TouchAnimator.java
UTF-8
4,559
2.421875
2
[]
no_license
package org.pinwheel.agility.animation; import android.animation.Animator; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.view.MotionEvent; import android.view.View; import org.pinwheel.agility.util.UIUtils; /** * Copyright (C), ...
true
35cff703246244823e84cb47b19aebf21dffcde7
Java
romycaicedo/repo-test-bootcamp
/Clase Java - 23032021/src/Ejercicio2/Util.java
UTF-8
490
3
3
[]
no_license
package Ejercicio2; import java.awt.*; public class Util { public static double areaPromedio(FiguraGeometrica[] figuras){ Circulo circulo = new Circulo(); circulo= (Circulo) figuras[0]; Triangulo triangulo = new Triangulo(); triangulo = (Triangulo) figuras[1]; Recta...
true
baaa68e734a99f2830a3277d14fb3cb35d173d67
Java
cckmit/server-devlop
/pcop-spacialimportsvc/src/main/java/com/glodon/pcop/spacialimportsvc/util/DateUtil.java
UTF-8
881
2.4375
2
[]
no_license
package com.glodon.pcop.spacialimportsvc.util; import java.text.SimpleDateFormat; import java.util.Date; public class DateUtil { /** * 获取当前日期:yyyyMMddHHmmss * * @return */ public static String getCurrentDateReadable() { SimpleDateFormat df = new SimpleDateFormat("yyyyMMddHHmmss");...
true
797aec9f3dabe1e24c92f3be0a9437471c3dba42
Java
destinyd/paopao_deliveryman_android
/app/src/com/realityandapp/paopao_official_deliveryman/models/User.java
UTF-8
2,446
2.21875
2
[]
no_license
package com.realityandapp.paopao_official_deliveryman.models; import com.activeandroid.annotation.Column; import com.activeandroid.annotation.Table; import com.activeandroid.query.Delete; import com.activeandroid.query.Select; import com.google.gson.annotations.SerializedName; import com.mindpin.android.authenticator....
true
3c777a49e9d72fabd4e3d9b5ed3d3d76c4c505b8
Java
phuong23401/Mp3Project-backend
/src/main/java/com/karaoke/mp3project/service/ICommentSongService.java
UTF-8
372
1.78125
2
[]
no_license
package com.karaoke.mp3project.service; import com.karaoke.mp3project.model.CommentSong; import com.karaoke.mp3project.model.Song; import com.karaoke.mp3project.model.User; public interface ICommentSongService { Iterable<CommentSong> findAllBySong(Song song); void saveComment(CommentSong commentsong); ...
true
fd7a0b21be7e62ee3989ce43e9b7ef179bd329f7
Java
H3AR7B3A7/ProblemSolving
/src/be/dog/d/steven/dynamic/DynamicMethods.java
UTF-8
22,772
3.921875
4
[]
no_license
package be.dog.d.steven.dynamic; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; /** * DYNAMIC PROGRAMMING - COMBINATORIAL & OPTIMIZATION PROBLEMS * <p> * 1. Define the objective function * 2. Identify base case * 3. Write down transition function * 4. I...
true
de6cccb3a33b10351b6694e328c9ea36937770b5
Java
lucasli233/COMPSCI-230
/Bounce-III/src/bounce/ImageRectangleShape.java
UTF-8
1,242
2.984375
3
[]
no_license
package bounce; import javax.imageio.ImageIO; import javax.swing.*; import java.awt.*; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; public class ImageRectangleShape extends RectangleShape{ Image image; int nwidth; int nheight; public ImageRectangleShape(int de...
true
a181106fcf0dd516f1c4847cc6f995c66455a478
Java
dmage1/example
/src/main/java/com/examples/mockito/MyClass.java
UTF-8
401
2.375
2
[]
no_license
package com.examples.mockito; public class MyClass { private int uniqueId; private String thisString; int getUniqueId() { return uniqueId; } void setUniqueId(int uniqueId) { this.uniqueId = uniqueId; } void testing(int uniqueId) { this.uniqueId = uniqueId; } ...
true
bd41c7b2d5f32193b2bcd71b22dd73c8f90e2389
Java
ImLena/Lab7Prog
/Server7/src/Actions/Info.java
UTF-8
478
2.03125
2
[]
no_license
package Actions; import Collections.MapCommands; import Other.ReadCommand; import java.io.IOException; import java.nio.channels.SocketChannel; import java.util.Map; /** * Класс для реализации команды info */ public class Info extends Command { private static final long serialVersionUID = 32L; ...
true
27d62c147f80a9cbbf144b89fad8b2e332f591de
Java
matheusmvr10/ProjetoTesteCIT
/ProjetoTesteApi/src/main/java/br/com/apiteste/entity/Competicao.java
UTF-8
1,798
2.171875
2
[]
no_license
package br.com.apiteste.entity; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.NamedQuery; import javax.persistence.Table; @NamedQuery(name="Competicao.consultaCompeticao", query="SELECT count(*) FROM Competicao WHERE i...
true
4173a3f061117bbcbb996c3ceb1154b133d95afc
Java
iswangyj/casserver
/cas_paste/src/main/java/org/jasig/cas/authentication/ImmutableAuthentication.java
UTF-8
5,015
2.296875
2
[]
no_license
package org.jasig.cas.authentication; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.jasig.cas.authentication.principal.Principal; import org.springframework.util.Assert; import java.io.Serializable; import java.util.Collections; import java.ut...
true
753fa76c432f0a04e52d1e9c9c87c5b9ac526343
Java
2020-Spring-Cohort/high-st-hospital-DanielVillasmil
/src/main/java/Doctor.java
UTF-8
829
3.578125
4
[]
no_license
//Gets paid $90.000 //extends employee //Can draw blood and care for patient public class Doctor extends Employee implements MedicalStaff { private String specialty; public Doctor(String name, int id, int salary, String specialty, boolean Paid) { super(name, id, salary, Paid); this.specialty ...
true
099a4ea6b9ca13d700c4cd8d4d2212fef0c49490
Java
huahuayanyan/MyLearningRecord
/weather-one/src/main/java/com/mywork/spring/cloud/weatherone/service/impl/CityDataServiceImpl.java
UTF-8
1,172
2.359375
2
[]
no_license
package com.mywork.spring.cloud.weatherone.service.impl; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.List; import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.Resource; import org.springframework.stereotype.Service; import com.mywork.spring.c...
true
012102fc15bcddde280d7247c141b4d5f0ea80e8
Java
bada13/Java2.0
/src/main/java/Task5/CalculatorInterface.java
UTF-8
2,706
4.21875
4
[]
no_license
package Task5; import java.util.InputMismatchException; import java.util.Scanner; public class CalculatorInterface { private CalculatorCalculations calculator; public CalculatorInterface() { calculator = new CalculatorCalculations(); } public void doIt(){ Scanner input = new Scann...
true
1439bd75e598993b5d73a1a858009d3a3aac21a9
Java
realist1004/JspProject
/Semi_Project_TEST00/src/com/sist/action/ReportVO.java
UTF-8
1,503
1.90625
2
[]
no_license
package com.sist.action; public class ReportVO { private int report_no; private String report_type; private String report_title; private String report_writer; private String report_helper; private String report_date; private String report_status; private String report_content; public int getReport_no() { ...
true
1ef4defc355cbd9f1a5d437cad748efd682191c3
Java
lemberh/LvivPubTrans
/app/src/main/java/org/rnaz/lvivpubtrans/utils/MapUtils.java
UTF-8
2,168
2.546875
3
[]
no_license
package org.rnaz.lvivpubtrans.utils; import com.google.android.gms.maps.model.LatLng; import com.google.android.gms.maps.model.LatLngBounds; import org.rnaz.lvivpubtrans.model.IPathModel; import org.rnaz.lvivpubtrans.model.PathPoint; import org.rnaz.lvivpubtrans.model.realm.RealmPathModel; import java.util.ArrayList...
true
30be14977d565b3674432afacc76d6bdd5e637d7
Java
imam932/SMusicPlayer
/app/src/main/java/com/imam/nawawi/simple_music_player/SongsManager.java
UTF-8
4,470
2.828125
3
[]
no_license
package com.imam.nawawi.simple_music_player; /** * Created by nawaw on 10/18/2017. */ import android.app.Activity; import android.provider.MediaStore; import java.io.File; import java.io.FilenameFilter; import java.util.ArrayList; import java.util.HashMap; public class SongsManager extends Activity{ // SDCard ...
true