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
284073fe425ede51bb1175fdfd6a085622a1e569
Java
DeveloperCry/java-learning
/java-zookeeper/src/main/java/com/learning/zookeeper/locks/lock/DistributedLock.java
UTF-8
5,253
2.890625
3
[ "MIT" ]
permissive
package com.learning.zookeeper.locks.lock; import org.apache.zookeeper.*; import org.apache.zookeeper.data.Stat; import org.springframework.util.CollectionUtils; import java.util.Collections; import java.util.List; import java.util.concurrent.CountDownLatch; /** * 锁实现的原理就是:当某个线程释放锁的时候,每个线程都去请求zookeeper...
true
6b316c50b44505a154fff4dfd9dc3721e8153b71
Java
sarathkrishna2018/employeemanager
/src/main/java/com/employeemanager/employeemanager/repo/RequestRepoCustomImpl.java
UTF-8
1,044
2.171875
2
[]
no_license
package com.employeemanager.employeemanager.repo; import com.employeemanager.employeemanager.model.Request; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate; import org.springframewo...
true
43722bc358808b971697deb25a56d14b49e14870
Java
xoghks1397/HappyHouse
/src/main/java/com/ssafy/happyhouse/controller/MainServlet.java
UTF-8
1,019
1.882813
2
[]
no_license
package com.ssafy.happyhouse.controller; import java.io.IOException; 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 org.springframework.stereot...
true
1db819304064050efc76dfeecd8d9c77eae15446
Java
madhutota/ChatApp
/app/src/main/java/com/dev/chatapp/UsersAdapter.java
UTF-8
769
2.25
2
[]
no_license
package com.dev.chatapp; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; public class UsersAdapter extends RecyclerView.Adapter<UsersAdapter.UsersViewHolder> { @NonNull @Override public UsersAdapter.UsersVi...
true
84fabefb9e235a5da0bf1394ec584610a0a0cff8
Java
fei11111/FirstProject
/app/src/main/java/com/fei/firstproject/adapter/NcwAdapter.java
UTF-8
2,989
2.25
2
[]
no_license
package com.fei.firstproject.adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.bumptech.glide.Glide; import com...
true
662f2d4b03b81ed8319e6b4451dec5463959bf11
Java
mathisGilliot/database-project
/java/interface/src/vehlib/Vehlib.java
UTF-8
178
1.5625
2
[]
no_license
package vehlib; public class Vehlib { public static void main(String args[]) { MainFrame mainWindow = new MainFrame(); mainWindow.setVisible(true); } }
true
631f29a39d14554df2a7fbb175f648a4b8b40f6a
Java
DanyBin/code_diary
/TwoHundred/src/main/java/Code_03_ReverseOfString.java
UTF-8
235
2.609375
3
[ "Apache-2.0" ]
permissive
/** * Given s = "leetcode", return "leotcede". * leotcede */ public class Code_03_ReverseOfString { public static void main(String[] args) { } private static String reverse(String target) { return null; } }
true
1d713b323bc2b0ca5f43f1a069072f3ffb0250cc
Java
CcCoffee/CoffeeWeather
/library/src/main/java/com/coffee/library/view/BaseView.java
UTF-8
245
1.695313
2
[]
no_license
package com.coffee.library.view; /** * Created by Administrator on 2016/6/23. */ public interface BaseView { void showLoading(); void hideLoading(); void showNetWorkError(String message); void showLoadError(String message); }
true
371cbd394932d446023f2e643dbd74536f5071bd
Java
blue995/de.hs_coburg.mgse.application
/restapi/src/main/java/de/hs_coburg/mgse/business/view/ViewFootnote.java
UTF-8
533
2.546875
3
[]
no_license
package de.hs_coburg.mgse.business.view; public class ViewFootnote { private int number; private String text; public ViewFootnote() { } public ViewFootnote(int number, String text) { this.number = number; this.text = text; } public int getNumber() { return number; ...
true
0305b92f5845d900eee8848a162f5a5a9f681f84
Java
cyjie/chromium
/chrome/android/features/autofill_assistant/java/src/org/chromium/chrome/browser/autofill_assistant/trigger_scripts/AssistantTriggerScript.java
UTF-8
8,612
1.640625
2
[ "BSD-3-Clause" ]
permissive
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.autofill_assistant.trigger_scripts; import android.content.Context; import android.view.LayoutInflater; import androi...
true
d1a0c73b26b3f8a783532bd5d77632ae4199675e
Java
Luuck4s/DigitalInnovation
/SantanderFullStack/DesenvolvimentoAvancadoJava/src/main/java/Thread/PararelStreamExemplo.java
UTF-8
967
3.78125
4
[]
no_license
package Thread; import java.util.stream.IntStream; public class PararelStreamExemplo { public static void main(String[] args) { long start = System.currentTimeMillis(); IntStream.range(1, 100000).forEach(num -> fatorial(num)); long end = System.currentTimeMillis(); System.out.prin...
true
2d54768958e2786672a71b33fcca670bdc081726
Java
scaliby/market-aggregator
/market-aggregator-core/src/test/java/net/scaliby/marketaggregator/core/market/MarketAggregateTest.java
UTF-8
14,308
2.765625
3
[ "MIT" ]
permissive
package net.scaliby.marketaggregator.core.market; import net.scaliby.marketaggregator.core.common.DoubleWrapper; import net.scaliby.marketaggregator.core.common.PriceSummary; import org.junit.Test; import java.util.Arrays; import java.util.Collections; import java.util.Map; import java.util.Optional; import static j...
true
58a77149400d1e600e62b8c5a5f7042cb0c29af9
Java
liuxianchun/weshare-SpringCloud
/system/src/main/java/com/lxc/system/feign/fallback/LoginServiceImpl.java
UTF-8
1,132
1.757813
2
[ "Apache-2.0" ]
permissive
package com.lxc.system.feign.fallback; import com.lxc.common.entity.ResultBean; import com.lxc.common.entity.user.User; import com.lxc.system.feign.api.LoginService; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Service; /** * @author liuxianchun * @date 2021/5/23 */ @Servic...
true
adaa5d0a4015aa1663041c5569f84664a3c5dc92
Java
ahnuljz/docx4j-template
/docx4j-template-core/src/test/java/org/docx4j/template/Docx4j_读取内容控件_S3_Test.java
UTF-8
7,318
1.914063
2
[ "Apache-2.0" ]
permissive
/* * Copyright (c) 2018, hiwepy (https://github.com/hiwepy). * * 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 requir...
true
0c7d237877182b749ba22845b159d8f21e42ae9f
Java
Saurabhtilekar/java
/src/Loopprograms/Breakex.java
UTF-8
311
2.984375
3
[]
no_license
package Loopprograms; public class Breakex { public static void main(String[] args) { int n1=4,n2=5,n3=n1+n2; boolean t=true; System.out.println(n1+""+n2); while(t) { n3=n1+n2; if(n3>40) break; System.out.println(""+n3); n1=n2; n2=n3; } } }
true
63615f9fc0a585342f9ddf041777cdedbc66bbca
Java
Acodebitch/LeetCode
/src/leetcode/_3Sum.java
UTF-8
760
3.125
3
[]
no_license
package leetcode; import java.util.*; public class _3Sum { public List<List<Integer>> threeSum(int[] num) { List<List<Integer>> list = new ArrayList<List<Integer>>(); Arrays.sort(num); for(int i=0;i<num.length-2;i++) if (i == 0 || (i > 0 && num[i] != num[i-1])) { int j = i+1; in...
true
6c7100e4ff85406d94b81c7cf1d3c7cbbb0cfce8
Java
Irina849/SuperProjectQA
/src/test/java/com/it/pages/DashboardPage.java
UTF-8
779
2
2
[]
no_license
package com.it.pages; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.We...
true
45fc714ccf28be1e85e46378f810f8b3693c8ae7
Java
filippocastrogiovanni/IF3Tserver
/src/main/java/if3t/services/ActionIngredientService.java
UTF-8
425
2
2
[]
no_license
package if3t.services; import java.util.List; import java.util.Map; import if3t.entities.ActionIngredient; public interface ActionIngredientService { public ActionIngredient readActionIngredient(Long id); public List<ActionIngredient> readActionIngredients(); public List<ActionIngredient> getRecipeActionIngredi...
true
02a2a989c7aaba70a56f17954d0667803bea16cf
Java
mihabin/Algorithm
/src/com/jyami/baekjoon/Main_10845_2.java
UTF-8
2,218
3.390625
3
[]
no_license
package com.jyami.baekjoon; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main_10845_2 { public static BufferedReader br; public static StringBuilder sb; public static void main(String[] args) throws IOException { br = new BufferedReader...
true
4cace64733d6cae90b11ac3376506aea66f60d07
Java
AlinMH/acs-sma-lab
/lab07/src/agents/MyAgent.java
UTF-8
2,235
2.90625
3
[ "MIT" ]
permissive
package agents; import java.util.LinkedList; import java.util.List; import agents.behaviors.*; import jade.core.AID; import jade.core.Agent; /** * The Agent. */ public class MyAgent extends Agent { /** * The serial UID. */ private static final long serialVersionUID = 2081456560111009192L; /*...
true
ca99549a74803332d5472f31981f1a7c0239e1c3
Java
uwitec/bdswcrm
/src/com/sw/cms/xls/ExportProductSerialXshzResult.java
GB18030
4,823
2.078125
2
[]
no_license
package com.sw.cms.xls; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import jxl.write.Label; import jxl.write.WritableSheet; import com.sw.cms.service.ProductSerialNumXsHzService; import com.sw.cms.util.DateComFunc; import com.sw.cms.util.JMath; import com....
true
b3fe0b7037f6ac5e254c729d88bd03cd287bf8b3
Java
VerRan/amazon-kinesis-data-visualization-sample
/src/main/java/com/amazonaws/services/kinesis/samples/datavis/kcl/persistence/ddb/DynamoDBCountPersister.java
UTF-8
10,135
2.421875
2
[ "MIT-0" ]
permissive
/* * Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT-0 */ package com.amazonaws.services.kinesis.samples.datavis.kcl.persistence.ddb; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Calendar; impo...
true
109f4f512184b47747e25c0612b4a3591c740c76
Java
Peter554/adventofcode
/2015/aoc2015java/src/main/java/aoc2015/day10/Solution.java
UTF-8
709
3.390625
3
[]
no_license
package aoc2015.day10; public class Solution { public static String lookAndSay(String s, int nTimes) { if (nTimes == 0) { return s; } var pointer = 0; var sb = new StringBuilder(); while (pointer < s.length()) { var character = s.charAt(pointer); ...
true
f38f3d92058ea62264115fe121fbd86bcc2336aa
Java
apache/commons-jcs
/commons-jcs3-core/src/test/java/org/apache/commons/jcs3/auxiliary/AuxiliaryCacheConfiguratorUnitTest.java
UTF-8
5,074
2.046875
2
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
package org.apache.commons.jcs3.auxiliary; /* * 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 L...
true
fc3b6175339547e555ef1800ba4f89ab68ad72a0
Java
premvreddy/Test
/MyProject/src/com/services/DraftWithdrawService.java
UTF-8
629
1.875
2
[]
no_license
package com.services; import java.util.Date; import java.util.List; import com.entities.DraftWithdrawEntity; public interface DraftWithdrawService { DraftWithdrawEntity addUser(String bankname, String bankcode,String branchname, String branchcode, String userName, String memberid, String withdrawno,...
true
c1d31a80bc47c9faba58bfc9be5bac9fa8e43af5
Java
hrbyangnan/Java_assignment
/src/readAILevelException.java
UTF-8
200
2.203125
2
[]
no_license
import java.io.IOException; public class readAILevelException extends Exception { public readAILevelException () { } readAILevelException(String message){ super(message); } }
true
737dca8e60786e9f6f4a11b983224c04bcf9d0e1
Java
wangwenwang/tms-android
/app/src/main/java/com/kaidongyuan/app/kdydriver/ui/activity/NotifyActivity.java
UTF-8
4,926
2.0625
2
[ "MIT" ]
permissive
package com.kaidongyuan.app.kdydriver.ui.activity; import android.os.Bundle; import android.view.View; import android.widget.TextView; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.kaidongyuan.app.basemodule.interfaces.AsyncHttpCallback; import com.kaidongyuan.app.bas...
true
795f7273a3404bda1e2d88d80b7934849207ba38
Java
cmccarthy-ucc/FYP
/app/src/main/java/com/example/ciara/drugsmart/ActivityGroupHome.java
UTF-8
6,285
1.890625
2
[]
no_license
package com.example.ciara.drugsmart; import android.app.Activity; import android.app.ActivityGroup; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.NavigationView; import android.support.v4.widget.DrawerLayout; import android.supp...
true
ceabb2b2a8b2eec00c8cb30bb2262433c8b53ef3
Java
Syed-Bakhtiyar/ARRAYMATRIX
/MissLecture2/src/misslecture2/NewClass1.java
UTF-8
352
1.929688
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 misslecture2; /** * * @author bakhtiyar */ public class NewClass1 { private int a = 2; public void abs(){ ...
true
25ad688006d596d4cd6b63354de0d8e074c5f19d
Java
AntoninoAN/OpenWeatherApp
/app/src/main/java/com/example/tony/myweatherapp/Model/DBContract.java
UTF-8
305
1.90625
2
[]
no_license
package com.example.tony.myweatherapp.Model; import android.database.sqlite.SQLiteDatabase; import android.support.annotation.Nullable; /** * Created by tony on 10/13/17. */ public interface DBContract { void saveCurrentWeather(@Nullable String location, @Nullable String zip, String current); }
true
6aeb8b2e0b2bf0709327c04e202f475917372a80
Java
mikestuartorg/config
/sample/src/main/java/com/example/config/SampleProperties.java
UTF-8
469
1.835938
2
[]
no_license
package com.example.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.cloud.context.config.annotation.RefreshScope; import org.springframework.stereotype.Component; @RefreshScope @Component public class SampleProperties { @Value("${sample.index}") String index; @Val...
true
6d480beee7461c9792a96760a07b939ccb50aa06
Java
ttim/mps-core
/languages/notation/source_gen/jetbrains/mps/core/notation/editor/goodEnterHandling.java
UTF-8
1,578
2.078125
2
[]
no_license
package jetbrains.mps.core.notation.editor; /*Generated by MPS */ import jetbrains.mps.nodeEditor.cells.EditorCell; import jetbrains.mps.smodel.SNode; import jetbrains.mps.nodeEditor.EditorContext; import jetbrains.mps.nodeEditor.CellActionType; import jetbrains.mps.nodeEditor.EditorCellAction; import jetbrains.mps.i...
true
7a2e6e831f0647442ab39029a3bb84cf9eed56ed
Java
brandonlamb/game-server-mmorpg
/draco/src/java/game/com/game/draco/action/internal/FactionRoleRemoveInternalAction.java
UTF-8
1,390
2.203125
2
[]
no_license
//package com.game.draco.action.internal; // //import java.util.Date; // //import com.game.draco.GameContext; //import com.game.draco.message.internal.C0073_UnionRoleRemoveInternalMessage; // //import sacred.alliance.magic.action.BaseAction; //import sacred.alliance.magic.core.Message; //import sacred.alliance.magic.co...
true
0c21faaef8922512ddaf2fffe1a598380a033f89
Java
aline-brilhante/turma21
/Java/AULAS/src/lista6objetos/Preguica.java
ISO-8859-3
658
3.21875
3
[]
no_license
package lista6objetos; public class Preguica extends Animal { private String som; private String escalar; public Preguica(String nome, int idade, String som, String escalar) { super(nome, idade); this.som = som; this.escalar = escalar; } public String getSom() { return som; } public void setSom(String...
true
bdd4762ce3b68a7e2d53cd160985ec8e3c17922b
Java
gsvishnugs/airplane-core
/src/main/java/com/airlines/core/util/SeatBookingUtil.java
UTF-8
5,403
3.09375
3
[]
no_license
package com.airlines.core.util; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.PriorityQueue; import com.airlines.core.enums.SeatType; import com.airlines.core.model.Input; import com.airlines.core.model.Seat; import com.airlines.core.model.SeatMana...
true
4278aad1772ae5260296cc440f36f1cb76ce0509
Java
Retera/ReterasModelStudio
/craft3data/src/com/hiveworkshop/wc3/gui/modeledit/actions/SelectionActionType.java
UTF-8
480
2.171875
2
[ "MIT" ]
permissive
package com.hiveworkshop.wc3.gui.modeledit.actions; public enum SelectionActionType { SELECT, ADD, DESELECT, SELECT_ALL, INVERT_SELECTION, EXPAND_SELECTION; ; public static SelectionActionType fromLegacyId(final int selectionType) { switch (selectionType) { case 0: return SELECT; case 1: return ADD; ...
true
88afdf770c14b9e6b0cf18ba60287126281ba2eb
Java
h879426654/mnc
/gtl/src/main/java/com/basics/support/mybatis/SpringCacheAdapter.java
UTF-8
1,923
2.5
2
[]
no_license
package com.basics.support.mybatis; import java.util.concurrent.locks.ReadWriteLock; import org.apache.ibatis.cache.Cache; import org.springframework.cache.Cache.ValueWrapper; import org.springframework.cache.CacheManager; import com.basics.support.Application; import com.basics.support.LogUtils; public final class...
true
3766b35424106d1c3835c4bc35adc89eb6a7a704
Java
SarathBabu/easy-android
/library/src/main/java/com/sarath/easyandroid/network/NetworkInfoGroup.java
UTF-8
267
2.203125
2
[]
no_license
package com.sarath.easyandroid.network; /** * Created by sarath with 23/2/17. */ public interface NetworkInfoGroup { /** * Select the NetworkInfo from the group. * * @param type * @return */ NetworkInfo getNetworkInfo(int type); }
true
b17ebde0dfcf3c6341422fca5feaa9daf0bf1e28
Java
tkopton/sapl-demos
/sapl-demo-filterchain/src/main/java/io/sapl/demo/filterchain/AuthManager.java
UTF-8
2,212
2.421875
2
[ "Apache-2.0" ]
permissive
package io.sapl.demo.filterchain; import java.util.ArrayList; import java.util.List; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.authentication.BadCredentialsException; import org.springframework.security.authentication.DisabledException; import org.sp...
true
9e3a00cbe7f9b2f800c959ba23b7f4c0e7f78e3d
Java
donhatch/donhatchsw
/com/donhatchsw/util/UndoTreeSquirrel.prejava
UTF-8
85,109
2.875
3
[]
no_license
/* vim: set filetype=java: */ package com.donhatchsw.util; import com.donhatchsw.compat.regex; #include "macros.h" /** * Experimenting with the idea of an undo/redo tree. * <a href="http://www.geocities.com/Hollywood/Set/4159/COULDWRK.WAV">It could work</a>! * <p> * An UndoTreeSquirrel represents the notion of a cur...
true
833715b12d26f1d1dcde87f3bddfdb425d6e7482
Java
phwd/quest-tracker
/hollywood/com.oculus.browser-base/sources/defpackage/C4351q70.java
UTF-8
415
1.632813
2
[]
no_license
package defpackage; /* renamed from: q70 reason: default package and case insensitive filesystem */ /* compiled from: chromium-OculusBrowser.apk-stable-281887347 */ public final /* synthetic */ class C4351q70 implements Q31 { public final C4521r70 F; public C4351q70(C4521r70 r70) { this.F = r70; ...
true
6834e8b5c2f6436daf51186daa8fd5a36a4fb7b7
Java
Candie-H/LeetCode-Solutions-in-Good-Style
/lcof/0062-yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof/src/Solution.java
UTF-8
1,330
3.765625
4
[ "Apache-2.0" ]
permissive
import java.util.ArrayList; import java.util.LinkedList; import java.util.List; public class Solution { // 约瑟夫环问题 // 其实并不一定要构造出一个真的循环链表 public int lastRemaining(int n, int m) { // 先处理极端输入 if (n <= 1) { return -1; } // 这里用链表是为了提升性能,如果用 ArrayList 在删除操作中,就会有大量的性能消耗...
true
d3fb7522c8551678cd5e949835a52367bca208a7
Java
Uhbyxer/security
/spring-security/src/main/java/com/acme/springsecurity/config/SecurityConfig.java
UTF-8
2,881
2.15625
2
[]
no_license
package com.acme.springsecurity.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.se...
true
23f22a09c7b1acd0713e7828ad5a23f0a5d34b3f
Java
slepoj/myTask
/src/task1/myTask2/LessonsTime.java
UTF-8
687
3.328125
3
[]
no_license
package task1.myTask2; public class LessonsTime { private int numLessons; private int hours; private int mins; public LessonsTime(int numLessons) { this.numLessons = numLessons; } public void whatTime() { int k = numLessons / 2; mins = (60 + 45 - 2 * k * 5) % 60; ...
true
c297c19bd8d749563220179c78c6ec610c397fdf
Java
dbarreto22/Paaps
/TecnopotifyWeb/src/java/Serlvets/ServletCliente.java
UTF-8
3,973
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 Serlvets; import edu.tecnopotify.datatypes.dataArtista; import edu.tecnopotify.datatypes.dataCliente; import edu.tecnopotify.d...
true
037f1799e0e3ee0d4ec3568fef05564166db958c
Java
kinnara-digital-studio/shark
/src/org/enhydra/shark/corba/poa/ProcessIteratorExpressionBuilderCORBA.java
UTF-8
8,976
1.890625
2
[]
no_license
package org.enhydra.shark.corba.poa; import org.enhydra.shark.corba.ExpressionBuilders.ProcessIteratorExpressionBuilder; import org.enhydra.shark.corba.ExpressionBuilders.ProcessIteratorExpressionBuilderPOA; import org.omg.CORBA.Any; import org.omg.CORBA.ORB; import org.omg.WfBase.BaseException; /** * ProcessIterato...
true
2ebc5e9bbbbbfe1a3bc30a33ddd82461d14267d7
Java
bert82503/book-study-note
/the-java-tutorials/src/main/java/com/java/tutorial/essential/io/Scanning.java
UTF-8
1,927
3.34375
3
[]
no_license
package com.java.tutorial.essential.io; import com.java.common.FilePathUtils; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.Locale; import java.util.Scanner; /** * <a href="https://docs.oracle.com/javase/tutorial/essential/io/scanning.html">Scanning...
true
1a40b5b07403d9ae085a07dabf2a15d9aaea5af1
Java
nemethjandras/JavaHF
/Game_dev/src_Némó/src/Network.java
UTF-8
3,733
2.828125
3
[]
no_license
package src; import java.net.*; import java.util.concurrent.TimeUnit; import java.io.*; enum ConnectionType { Password_Fail, Password_Ok, Connected, Connected_Win, Not_Connected } public class Network { protected Socket socket = null; protected ObjectOutputStream outputStream = null; protected ObjectInputStrea...
true
fae440ff34c548a2c7da7812a5d7a8f3147e77da
Java
xingi386/zktest
/zktest-main/src/main/java/net.xuanyutech.app.test.zktest/app/ZkTestStatisticController.java
UTF-8
759
1.804688
2
[]
no_license
/** * 深圳玄羽科技有限公司 http://www.xuanyutech.net/ Copyright ©2020 XuanYuTech Inc. All rights reserved. */ package net.xuanyutech.app.test.zktest.app; import com.alibaba.fastjson.JSON; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.s...
true
74e31e923a73d44340600ba29856c634a726471f
Java
ryanlr/EnglishOrJavaCode
/src/EnglishOrCode.java
UTF-8
1,865
2.71875
3
[]
no_license
import java.io.IOException; import org.apache.commons.lang.StringUtils; public class EnglishOrCode { private static Tokenizer tokenizer = null; public static void initializeTokenizer() { tokenizer = new Tokenizer(); //key words String keyString = "abstract assert boolean break byte case catch "...
true
028cbd89723cfcba4ad173cea8c57aa68971a155
Java
MayurSTechnoCredit/JAVATechnoJuly2021
/src/madhavi/SwapVowel.java
UTF-8
1,194
3.546875
4
[]
no_license
package madhavi; import java.util.ArrayList; import java.util.Arrays; public class SwapVowel { void getSwapVowel(String str) { String[] str1 = str.split(""); ArrayList<String> list1 = new ArrayList<String>(Arrays.asList(str1)); int firstindex = list1.size(); int lastindex = 0; String ftemp = ""; String ...
true
d9e46f41ded9f9bebf6bbe2c69a24e986254e88a
Java
williamlema/user-management
/src/main/java/com/user/management/app/repository/RolRepository.java
UTF-8
362
1.8125
2
[]
no_license
package com.user.management.app.repository; import com.user.management.app.model.entity.Rol; import org.springframework.data.jpa.repository.JpaRepository; /** * Repository to handle {@link Rol} entity in database * * @author <a href="weleonm@gmail.com">William Leon</a> * @version 1.0 * @since 1.0 */ public inte...
true
6ad009a6e9cfe5c32a749e08826c346af0b8e1b5
Java
MaxBeyer/simple-web-app
/src/main/java/com/zeus/examples/simplewebapp/db/FoodItem.java
UTF-8
750
2.578125
3
[ "MIT" ]
permissive
package com.zeus.examples.simplewebapp.db; import com.zeus.examples.simplewebapp.domain.FoodType; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; impor...
true
67677db0bbb8c50b7ff33c9c72700601a11d48ac
Java
huangfusuper/seckill-demo
/src/main/java/com/demo/OptimisticLockTest.java
UTF-8
3,523
3.0625
3
[]
no_license
package com.demo; import com.demo.utils.RedisUtil; import redis.clients.jedis.Jedis; import java.util.Set; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * Redis乐观锁秒杀实例 * 大多数是基于数据版本(version)的记录机制实现的。 * 即为数据增加一个版本标识,在基于数据库表的版本解决方案中, * 一般是通过为数据库表增加一个”version”字段来实现读取出数据时...
true
03ecad1c5c47b6944a737790afc72be3dca19772
Java
sunliangyu/iviewback
/system-service/src/main/java/com/qust/entity/RestaurantMember.java
UTF-8
1,497
2.21875
2
[]
no_license
package com.qust.entity; import javax.persistence.*; import java.io.Serializable; import java.sql.Date; // 系统餐厅成员表 @Entity public class RestaurantMember implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Column private Long user; @Column ...
true
718eb6e3419129fa5cdc44c1836d958ddf5e8af0
Java
SumeetBhong/PressureTransmitterApp
/app/src/main/java/com/orion_instruments/www/pressuretransmitterver11/Settings.java
UTF-8
18,606
1.828125
2
[]
no_license
package com.orion_instruments.www.pressuretransmitterver11; import android.app.ProgressDialog; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothSocket; import android.content.Intent; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; imp...
true
bc3abdad5a09db683234966f36c73ed2b54e255b
Java
Mohsin5665/Tanish
/app/src/main/java/com/itpvt/tanish/Adapters/Recycler_Adapter_Sub_catagories.java
UTF-8
2,227
2.1875
2
[]
no_license
package com.itpvt.tanish.Adapters; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import com.itpvt.tani...
true
4f9e5199c51ef8e8c448a2f16138d001918ae253
Java
bculkin2442/bjc-utils2
/base/src/main/java/bjc/utils/ioutils/blocks/MappedBlockReader.java
UTF-8
1,121
3.234375
3
[]
no_license
package bjc.utils.ioutils.blocks; import java.io.IOException; import java.util.function.UnaryOperator; /** * A block reader that applies a transform to each block. * * @author EVE * */ public class MappedBlockReader implements BlockReader { private BlockReader reader; private Block current; private UnaryOpe...
true
123512a0df51271084a0e7e0e2f31f8287277bac
Java
alancesar/flight-plan
/flight-plan-core/src/main/java/org/alancesar/service/RouteService.java
UTF-8
975
2.890625
3
[]
no_license
package org.alancesar.service; import org.alancesar.model.Route; import org.alancesar.repository.RouteRepository; import java.util.List; import java.util.function.Function; public class RouteService implements Service<Route> { private final RouteRepository repository; private Function<Route, String> routeT...
true
c686dac4ff9e5bc5dd15feed7898c62d19024a38
Java
wahabjan123/coco
/Desktop/src/main/java/com/gazman/coco/desktop/miner/requests/CocoRequest.java
UTF-8
5,026
2.375
2
[]
no_license
package com.gazman.coco.desktop.miner.requests; import com.gazman.coco.core.api.ErrorData; import com.gazman.coco.core.hash.Sha256Hash; import com.gazman.coco.core.utils.GsonHelper; import com.gazman.coco.desktop.wallet.WalletModel; import com.gazman.lifecycle.Factory; import com.gazman.lifecycle.utils.Command; import...
true
a4a4e53ef5a8562d4adae32885ead80c2e738045
Java
ybxxszl/qs
/src/com/wjy/util/URLUtil.java
UTF-8
2,438
2.921875
3
[]
no_license
package com.wjy.util; import java.util.HashMap; import java.util.Map; public class URLUtil { public static Map<String, Object> getPathAndParamsByURL(String url) throws Exception { Map<String, Object> map = new HashMap<String, Object>(); if (url != null && !"".equals(url)) { String[] pathAndPa...
true
5c2ee7337126875745360e77b9fdad2e9bd13680
Java
liuyaoCS/spydroid-NEW
/app/src/main/java/com/spydroid/net/rtsp/client/message/RtspEntityMessage.java
UTF-8
2,333
2.265625
2
[]
no_license
package com.spydroid.net.rtsp.client.message; /** * Copyright 2010 Voice Technology Ind. e Com. Ltda. * * RTSPClientLib is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation, either version 3 of * the...
true
819419f431bea2dcbd223b6d865823bc23d1e0ff
Java
Jessevanduijne/2.3_Conway_Game_of_Life
/src/PauzeButtonView.java
UTF-8
377
2.546875
3
[]
no_license
import javax.swing.JButton; import javax.swing.JPanel; import javax.swing.Timer; @SuppressWarnings("serial") public class PauzeButtonView extends JPanel { private Timer timer; public PauzeButtonView(Timer timer) { this.timer = timer; JButton pauzeKnop = new JButton("Pauzeer"); pauzeKnop.addActionListen...
true
814c804cd0264ae20f8ba3928f6d0e972e53d9e3
Java
ramonaflower/Awesome_Music_New
/app/src/main/java/com/example/ramona/music_player/Adapter/AdapterRecyclerViewListArtist.java
UTF-8
2,967
2.328125
2
[]
no_license
package com.example.ramona.music_player.Adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.example.ramona.music_...
true
80aaafb4f3384be76a86ac313273b6768549bc39
Java
vernonsoftwaresolutions/MoodleDotAccounts
/src/main/java/com/moodle/account/client/MoodleTenantClient.java
UTF-8
443
2.015625
2
[]
no_license
package com.moodle.account.client; import com.moodle.account.model.moodle.MoodleSiteRequest; import com.moodle.account.model.moodle.SQSResponse; /** * Created by andrewlarsen on 11/9/17. */ public interface MoodleTenantClient { /** * Method to post Moodle Tenant request to service to be * place on th...
true
54459248f5f20dd5e8a30466ce809df12fb2ed57
Java
yulmaso/ComputerGraphics
/src/main/java/ThreadHandler/ThreadHandler.java
UTF-8
2,279
2.828125
3
[]
no_license
package ThreadHandler; import GUI.MainWindow; import GUI.controllers.LabFiveController; import GUI.controllers.LabFourController; import GUI.controllers.LabSixController; import GUI.controllers.LabThreeController; import lab1.AppRoot1; import lab2.AppRoot2; import lab3.AppRoot3; import lab4.AppRoot4; import lab5.AppRo...
true
633f777d3212864010db8d80ea9f316663af0aff
Java
czarodziejkarol/warsaw-trails
/warsaw-trails-spdb/src/com/carlncarl/spdb/android/NewTrailActivity.java
WINDOWS-1250
12,678
1.867188
2
[]
no_license
package com.carlncarl.spdb.android; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import org.springframework.http.client.HttpComponentsClientHttpRequestFactory; import org.springframework.http.converter....
true
6ae3044052856b10f93c9d5b1a4d17be82e1201c
Java
HimuroV/projeto_poee
/src/main/java/com/projeto/view/produto/BuscaProduto.java
UTF-8
7,039
2.359375
2
[]
no_license
package com.projeto.view.produto; import java.awt.BorderLayout; import java.awt.FlowLayout; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.table.TableRowSorter; import com.projeto.model.models.Pro...
true
8e4409785fabf1b022d8fe2f6a20fa600a6e5321
Java
SunGitShine/tgm-server
/domain/src/main/java/com/juma/tgm/mq/domain/CustomerInvoiceEvent.java
UTF-8
6,529
2.015625
2
[]
no_license
package com.juma.tgm.mq.domain; import java.io.Serializable; import java.math.BigDecimal; /** * 功能 : * * @author : Bruce(刘正航) 15:35 2019-05-28 */ public class CustomerInvoiceEvent implements Serializable { /**来源单号(物流传对账单号)**/ private String sourceDocumentNo; /**来源单类型:RECONCILIATION(对账单),RENT_SALE(租售订单...
true
8e9a3d518fac6353c93a68cde99bcf7185e8bd07
Java
gjk911/PaoPaoGame
/server/CentreSrv/src/jack911/pp/centre/goods/GoodsInfo.java
UTF-8
2,506
2.40625
2
[]
no_license
package jack911.pp.centre.goods; import org.apache.log4j.Logger; import org.json.JSONObject; import jack911.pp.config.ConfigManager; import jack911.pp.config.table.GoodsTblUnit; import jack911.pp.server.MsgUnit; import jack911.util.JsonUtil; import jack911.util.MyUtil; public class GoodsInfo { private Logger logger...
true
150250ddca3f39c5cee6f10a18d67bf9a7cc0bb6
Java
Mahendran-Natarajan/Mock_Hack_Workspace
/src/main/java/com/hcl/app/ecommerce/repository/StoreDetailRepository.java
UTF-8
352
1.742188
2
[]
no_license
package com.hcl.app.ecommerce.repository; import com.hcl.app.ecommerce.entity.StoreDetail; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; /** * The interface Store detail repository. */ @Repository public interface StoreDetailRepository extends JpaRep...
true
bf53f1711d3623a966b125029ec8a8deb62bc2a6
Java
shree8884/Rest_management
/Home.java
UTF-8
2,708
2.609375
3
[]
no_license
package restaurant; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.JTextField; import javax.swing.JLabel; import javax.swing.ImageIcon; import javax.swing.JToggleButton; import javax....
true
b87d1423c5af72f455118661789d1600ec055bc2
Java
sssavundharya/WiproMilestones
/Milestone3/src/Pgm2.java
UTF-8
754
3.390625
3
[]
no_license
import java.util.Scanner; public class Pgm2 { public static void main(String[] args) { Scanner scan=new Scanner(System.in); int n=scan.nextInt(); int opt=scan.nextInt(); int c=1,r=0; switch(opt){ case 1: fun1(n); break; case 2: fun2(n); break; } } public st...
true
76e409a1a70a19aac9249b57743bad0ece64cca4
Java
rsudev/c-geo-opensource
/main/src/cgeo/geocaching/storage/extension/FoundNumCounter.java
UTF-8
1,265
2.375
2
[ "Apache-2.0" ]
permissive
package cgeo.geocaching.storage.extension; import cgeo.geocaching.storage.DataStore; import androidx.annotation.Nullable; /** * Offline storage for the connector specific found number counter, mainly used in the NUMBER log template. * */ public class FoundNumCounter extends DataStore.DBExtension { private st...
true
5a2a0d37cdce7626be0adcb8926a859670b7af1d
Java
MaddisonK/COMP-301-Foundations-of-Programming
/a08-shopping-MaddisonK-main/a08-shopping-MaddisonK-main/src/main/java/com/comp301/a08shopping/Customer.java
UTF-8
1,019
3.25
3
[]
no_license
package com.comp301.a08shopping; import java.util.List; public interface Customer extends StoreObserver { /** Gets the customer's name */ String getName(); /** Gets the amount of money that the customer currently has (in dollars) */ double getBudget(); /** * Purchases a particular product from a store ...
true
0a512756033b7a433cd23c23f0a179c2dfab078d
Java
kathy-a/udacity-BakingApp
/app/src/main/java/com/udacity/baking/MainActivity.java
UTF-8
5,155
2.390625
2
[]
no_license
package com.udacity.baking; import androidx.appcompat.app.AppCompatActivity; import androidx.lifecycle.Observer; import androidx.lifecycle.ViewModelProviders; import androidx.recyclerview.widget.GridLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.annotation.SuppressLint; import android...
true
2a5aa499ef4576ea28dd596e701f01624b74c56a
Java
arianr2014/EduCorpMiddleware
/src/com/educorp/eduinteractive/ecommerce/dao/impl/HorarioDAOImpl.java
WINDOWS-1250
10,170
2.375
2
[]
no_license
package com.educorp.eduinteractive.ecommerce.dao.impl; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.apache.logging.log4j...
true
b4321b4d6114a0ebf67453f7596b606fe286750e
Java
Xarhel/GestionMagasin
/GestionMagasin-ejb/src/java/facades/ReclamationLotFacadeLocal.java
UTF-8
697
1.921875
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 facades; import Entites.Autre.ReclamationLot; import java.util.List; import javax.ejb.Local; /** * * @author 3...
true
460c0adbc64c1bf21abf0bc17de75201707b147b
Java
Minionguyjpro/Ghostly-Skills
/sources/com/facebook/ads/AdSettings.java
UTF-8
5,244
1.804688
2
[ "MIT" ]
permissive
package com.facebook.ads; import android.content.Context; import com.facebook.ads.internal.settings.AdInternalSettings; import java.io.Serializable; import java.util.Collection; public class AdSettings { public static final boolean DEBUG = false; public enum IntegrationErrorMode { INTEGRATION_ERROR_C...
true
e4ab70216ee459d0ac8a68a50e76255ee82df9b8
Java
SatyaRaghuNandan/designpatterns
/abstractfactory/ShapeFactory.java
UTF-8
375
3.0625
3
[]
no_license
package com.saftware.pattern.abstractfactory; public class ShapeFactory extends AbstractFactory { public Shape getShape(String type){ if(type.equalsIgnoreCase("Circle")){ return new Circle(); }else if(type.equalsIgnoreCase("Rectangle")){ return new Rectangle(); }else return null; } @Override publ...
true
dd2d17450f90ee378d3995844aeb344abfc230c8
Java
informatique-cdc/ebad
/src/main/java/fr/icdc/ebad/web/rest/dto/ChaineAssociationDto.java
UTF-8
350
1.726563
2
[ "Apache-2.0" ]
permissive
package fr.icdc.ebad.web.rest.dto; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.ToString; /** * Created by dtrouillet on 13/06/2016. */ @Data @EqualsAndHashCode(exclude = {"batch"}) @ToString(exclude = {"batch"}) public class ChaineAssociationDto { private int batchOrder; private Chain...
true
4d1e991c7ca37975ace11a249bb850cb61e75190
Java
yinkaf/CurrencyApp
/app/src/main/java/com/xipsoft/currency/app/services/CurrencyService.java
UTF-8
2,798
2.328125
2
[]
no_license
package com.xipsoft.currency.app.services; import android.app.IntentService; import android.content.Intent; import android.os.Bundle; import android.os.Parcel; import android.os.ResultReceiver; import android.text.TextUtils; import com.xipsoft.currency.app.Constants; import com.xipsoft.currency.app.helpers.CurrencyPar...
true
28991563ad48496486c337025f627eba692d4a29
Java
jaya429/CoreJavaProject
/CoreJava/src/com/svr/threads/MyThread.java
UTF-8
258
2.375
2
[]
no_license
/** * */ package com.svr.threads; /** * @author Venkata Saripella * */ public class MyThread extends Thread { @Override public void run(){ for(Integer i=0; i<10; i++){ System.out.println("child thread :: "+i); } } }
true
508c91b1028be09f5653ecf36b95b4deefe6dc66
Java
gaurav-4uk/JAVATechnoMar2021
/src/shivani/coding_exam_13/ReturnWordwithTwoVowel.java
UTF-8
1,277
3.703125
4
[]
no_license
package shivani.coding_exam_13; import java.util.ArrayList; /*2. Return all the words having more than two vowels from given array. input: ["aashay","sandesh","madhavi","ankit","ami","priyanka"] output: ["aashay","madhavi","priyanka"]*/ public class ReturnWordwithTwoVowel { ArrayList<String> getVowels(String[]...
true
fb3c05a4f1038a1c8fa208bc14e7d44a710ce428
Java
Ajmat5392/IOCProj1
/src/edu/aptech/test/ClientApp.java
UTF-8
1,068
2.3125
2
[]
no_license
package edu.aptech.test; import org.springframework.beans.factory.BeanFactory; import org.springframework.beans.factory.xml.XmlBeanFactory; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import org.springframework.core.io.ClassPathResou...
true
231952287137f5256d14c477beaedbce73a7c575
Java
learning-layers/Expert-Identification-Service
/src/main/i5/las2peer/services/servicePackage/utils/AlgorithmType.java
UTF-8
356
1.5
2
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
/** * */ package i5.las2peer.services.servicePackage.utils; /** * @author sathvik * */ public class AlgorithmType { public static final String PAGE_RANK = "pagerank"; public static final String HITS = "hits"; public static final String CA_PR = "communityAwarePagerank"; public static final String...
true
c3817af03304ea37e88d8d0c42e91d792c0d8752
Java
ThanhHang29/CustomView
/app/src/main/java/com/ttth/myview/MyView.java
UTF-8
4,142
2.515625
3
[]
no_license
package com.ttth.myview; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.Point; import android.util.AttributeSet; import android.view.View; import java.util.Random; /** * Created by Th...
true
8ac49da66094f92b5370c4f2a40b6622854fe75c
Java
atiqamjad/SupplyChain-EE
/scs-ee-web-api/src/main/java/com/nowgroup/scsee/packingList/PackingList.java
UTF-8
22,166
1.65625
2
[ "MIT" ]
permissive
/** * Copyright 2016 https://github.com/diego-torres * * Licensed under the MIT License (MIT). * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including witho...
true
b5a8bf2e49a554b1178541f7078c7381ec598f36
Java
HPI-BP2017N2/ShopRulesGenerator-deprecated-
/src/main/java/de/hpi/shoprulesgenerator/service/ShopRulesGeneratorService.java
UTF-8
2,441
1.914063
2
[]
no_license
package de.hpi.shoprulesgenerator.service; import de.hpi.restclient.clients.BPBridgeClient; import de.hpi.restclient.clients.URLCleanerClient; import de.hpi.restclient.pojo.Rules; import de.hpi.shoprulesgenerator.model.*; import de.hpi.shoprulesgenerator.properties.ShopRulesGeneratorSettingsProperties; import de.hpi.s...
true
e8e0c020cc8d633355ef68fb63fb8276ecad0bfb
Java
barathkumar2699/NetbeansProject
/8b/src/pkg8b/client.java
UTF-8
1,172
2.765625
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 pkg8b; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.net....
true
02aafeeaff3596f2820709f290fb6fcd1608e92c
Java
WagnerSP/MMS
/mms/src/main/java/com/wagner/mms/bean/Role.java
UTF-8
1,483
2.21875
2
[ "Apache-2.0" ]
permissive
package com.wagner.mms.bean; public class Role { private String roleid; private String rolepermission; private String identify; private String description; private Integer orderno; public String getRoleid() { return roleid; } public void setRoleid(String roleid) { this.roleid = roleid == null ? null ...
true
af5734221c706f989fece30c79a63c01a62c1aee
Java
yebanme/racing
/src/main/java/com/github/hornta/race/events/RaceCheckpointEvent.java
UTF-8
708
2.484375
2
[]
no_license
package com.github.hornta.race.events; import com.github.hornta.race.objects.Race; import com.github.hornta.race.objects.RaceCheckpoint; import org.bukkit.event.HandlerList; abstract public class RaceCheckpointEvent extends RaceEvent { private static final HandlerList handlers = new HandlerList(); private...
true
36029cec29d17cd866279b71777042b3e7fd1400
Java
baygoit/GoJava
/trunk/GoJava5/victor.homyak/KickStarterMVC/src/main/java/goit/vh/kickstarter/mvc/view/ProjectView.java
UTF-8
2,678
2.6875
3
[]
no_license
package goit.vh.kickstarter.mvc.view; import java.util.ArrayList; import java.util.Date; import java.util.concurrent.TimeUnit; import goit.vh.kickstarter.Input; import goit.vh.kickstarter.Output; import goit.vh.kickstarter.mvc.model.ProjectModel; /** * Created by Viktor on 14.07.2015. */ public class ...
true
86458719e8b8a72d11a2beabad3108e4c1892e4e
Java
Moderocky/ByteSkript
/src/main/java/org/byteskript/skript/compiler/Context.java
UTF-8
8,825
2.078125
2
[ "BSD-3-Clause" ]
permissive
/* * Copyright (c) 2021 ByteSkript org (Moderocky) * View the full licence information and permissions: * https://github.com/Moderocky/ByteSkript/blob/master/LICENSE */ package org.byteskript.skript.compiler; import mx.kenzie.foundation.*; import mx.kenzie.foundation.compiler.State; import org.byteskript.skript.a...
true
c79453bdb40200fa094a3463b526df1e4384e3b2
Java
vinkrish/study-manager
/app/src/main/java/com/app/studymanager/util/DisplayUtil.java
UTF-8
1,588
2.78125
3
[]
no_license
package com.app.studymanager.util; import android.content.Context; import android.util.DisplayMetrics; /** * Created by Vinay on 30-10-2016. */ public class DisplayUtil { public static int pxToDp(Context context, int px) { DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics(); ...
true
3d6cb76e8e452169f0610837769059c32a7fc805
Java
Pushkar16/CSE-Bank-master
/src/main/java/exception/csebank_controllers/asu/edu/KYCNotFound.java
UTF-8
450
2.1875
2
[ "MIT" ]
permissive
package exception.csebank_controllers.asu.edu; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(value=HttpStatus.NOT_FOUND, reason="KYC ID Not found.") public class KYCNotFound extends IllegalArgumentException{ private static final long serial...
true
809ce04d1ac17ad365a3ad0ea3b3b1173f5a361a
Java
Christoffersenry/BarberShop
/src/barbershop/customerControllers/CLogCon.java
UTF-8
3,030
2.546875
3
[]
no_license
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package barbershop.customerControllers; import barbershop.customerViews.CHomeV; import barbershop.customerModels.User; import barbersh...
true
411fd3741cd070643b8307ccdb9741a4a845cd07
Java
Cop-Tur/Algorithm_Review
/src/chapter_7/radixsort/RadixSort.java
UTF-8
753
3.703125
4
[]
no_license
package chapter_7.radixsort; import java.util.ArrayList; public class RadixSort { public static void radixSortA(String[] arr, int stringLen) { //用一个ArrayList做桶 final int BUCKETS = 256; ArrayList<String>[] buckets = new ArrayList[BUCKETS]; for (int i = 0; i < BUCKETS; i++) ...
true
f0befeff574e93ea86914e7c96fba6b3b036ffd0
Java
priyatiwari419/MPS
/src/main/java/mps/commisioner/controller/CommissionerController.java
UTF-8
1,979
2.046875
2
[]
no_license
package mps.commisioner.controller; import lombok.AllArgsConstructor; import mps.commisioner.dto.ArrestHistoryDto; import mps.commisioner.request.ArrestHistoryRequest; import mps.commisioner.response.ArrestHistoryResponse; import mps.commisioner.response.ExpenditureResponse; import mps.commisioner.service.ArrestServic...
true
3e953f9949587a68159c80be75c0f69524d87098
Java
frfontoura/destiny-event-scheduler
/src/main/java/com/destinyEventScheduler/factory/MemberHistoryDTOFactory.java
UTF-8
651
2.640625
3
[]
no_license
package com.destinyEventScheduler.factory; import com.destinyEventScheduler.dto.MemberHistoryDTO; import com.destinyEventScheduler.model.Member; public abstract class MemberHistoryDTOFactory { public static MemberHistoryDTO createMemberHistoryDTO(Member member) { MemberHistoryDTO memberHistoryDTO = new MemberHist...
true