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
2bfefe1acf2731fb193340541f30c4fe54c9fb41
Java
le-savage/ascalon-ps
/src/com/AscalonPS/util/ShutdownHook.java
UTF-8
1,305
2.375
2
[]
no_license
package com.AscalonPS.util; import com.AscalonPS.GameServer; import com.AscalonPS.world.World; import com.AscalonPS.world.content.WellOfGoodwill; import com.AscalonPS.world.content.WellOfWealth; import com.AscalonPS.world.content.clan.ClanChatManager; import com.AscalonPS.world.content.grandexchange.GrandExchangeOffer...
true
af60a459cb1bb5c567f1928c515684f057ea3376
Java
eahom1/MessageBus
/app/src/main/java/com/eahom/messagebus/message/RefreshUiMessage.java
UTF-8
539
1.96875
2
[]
no_license
package com.eahom.messagebus.message; import android.graphics.Bitmap; import com.eahom.messagebuslib.message.IMessage; /** * Created by eahom on 17/1/10. */ public class RefreshUiMessage extends IMessage { private String text; private Bitmap bitmap; public String getText() { return text; ...
true
3cc88a4cdbad4b539dd14088bafc2e7b7d01b9c0
Java
cshang2017/myread
/flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/restart/FixedDelayRestartStrategy.java
UTF-8
3,436
2.796875
3
[]
no_license
package org.apache.flink.runtime.executiongraph.restart; import org.apache.flink.api.common.time.Time; import org.apache.flink.configuration.Configuration; import org.apache.flink.configuration.RestartStrategyOptions; import org.apache.flink.runtime.concurrent.FutureUtils; import org.apache.flink.runtime.concurrent.Sc...
true
7b6ff9b82d902a8ba2615e3d7c5a78091e602137
Java
vacaly/Alink
/core/src/main/java/com/alibaba/alink/operator/stream/regression/BertTextRegressorPredictStreamOp.java
UTF-8
885
1.914063
2
[ "Apache-2.0" ]
permissive
package com.alibaba.alink.operator.stream.regression; import org.apache.flink.ml.api.misc.param.Params; import com.alibaba.alink.common.annotation.NameCn; import com.alibaba.alink.common.annotation.NameEn; import com.alibaba.alink.operator.batch.BatchOperator; /** * Prediction with a text regressor using Bert model...
true
a69e23979fb50172b10e847fadf6e021e2bd5ca2
Java
teofilp/InSight
/app/src/main/java/com/racoders/racodersproject/classes/Review.java
UTF-8
2,606
2.390625
2
[]
no_license
package com.racoders.racodersproject.classes; import android.animation.Animator; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.view.View; import android.widget.Toast; import com.google.firebase.database.DatabaseError; import com.google.firebase.database.Database...
true
fd7c8ee49dca92ee738699f52a89baf477e319b7
Java
tentasys/study_algorithm
/SWEA/SW_4012/src/Solution.java
UTF-8
1,588
2.984375
3
[]
no_license
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Solution { static int N; static int S[][]; static int min = Integer.MAX_VALUE; public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(S...
true
31b474809a5b583c33b01c8fbdc6adb082ff891f
Java
dongfanggugu/owner_Android
/app/src/main/java/com/honyum/owner/activity/wbdd/MtHistoryOrderActivity.java
UTF-8
3,373
2
2
[]
no_license
package com.honyum.owner.activity.wbdd; import android.content.Intent; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapte...
true
b3042a245be10b1737f60645d23a1d42ebeba660
Java
ljtrycatch/item
/prototype/src/com/IT/ghost/CloneableTest.java
UTF-8
658
3.359375
3
[]
no_license
package com.IT.ghost; public class CloneableTest { public static void main(String[] args){ Realizetype obj1 = new Realizetype(); Realizetype obj2 = new Realizetype(); //=判断存储空间 他们是两个不同的对象 存储空间不一样 System.out.println("obj1==obj2"+(obj1==obj2)); } } //具体原型 class Realizetype imp...
true
2f220225972c45053abc52cfabf14a6a0fa08d67
Java
brahyam/tour-reviews
/app/src/main/java/com/dvipersquad/tourreviews/di/ActivityBindingModule.java
UTF-8
734
1.945313
2
[]
no_license
package com.dvipersquad.tourreviews.di; import com.dvipersquad.tourreviews.reviews.ReviewsActivity; import com.dvipersquad.tourreviews.reviews.ReviewsPresenterModule; import com.dvipersquad.tourreviews.tourdetails.TourDetailsActivity; import com.dvipersquad.tourreviews.tourdetails.TourDetailsPresenterModule; import d...
true
963dd8966fd2a9dafe9127ec4d9be1ffb8cbfae6
Java
jbankz/GithubUsers
/app/src/main/java/bankzworld/com/main/MainActivity.java
UTF-8
3,885
2.125
2
[]
no_license
package bankzworld.com.main; import android.arch.lifecycle.ViewModelProviders; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.DefaultItemAnimator; import android.support.v7.widget.LinearLayoutManager; import android.support.v7....
true
5ead76d6ea9248f5e9994a193f9d357fbafb153f
Java
BarteKKmita/Project-Gym-Star
/Gym-Star/src/main/java/com/learning/gym/star/gym/GymDataHandler.java
UTF-8
1,049
3
3
[]
no_license
package com.learning.gym.star.gym; import com.learning.gym.star.gym.database.jdbc.GymRepository; import java.util.ArrayList; import java.util.List; /** * This class was created to simulate getting gym data from SQL dadabase. */ public class GymDataHandler implements GymRepository { private final List<String> ...
true
7c7d589af1925928ceaef3ea26133edf03a6a9a7
Java
cornelius-muhatia/algorithms-playground
/miscellaneous/src/main/java/com/cmuhatia/playground/sort/MergeSort.java
UTF-8
2,140
3.8125
4
[]
no_license
package com.cmuhatia.playground.sort; import lombok.AccessLevel; import lombok.NoArgsConstructor; /** * Merge sort worst case time complexity: O(n log n) */ @NoArgsConstructor(access = AccessLevel.PRIVATE) public class MergeSort { /** * Sorts an array using merge sort * * @param arr array to be ...
true
652e752f5ea9a50ef92997f4e6f5a252835a8ccd
Java
Suprita0390/SampleJavaApplication
/SampleProjectSup/src/SampleProject/PrePostIncrement.java
UTF-8
417
3.390625
3
[]
no_license
package SampleProject; public class PrePostIncrement { public static void main(String args[]) { //i++ -> post increment(increment happens after assignment //++i -> pre increment (increment happens first and then assignment) //Post Increment int i=5; int j; j=i++; // post increment System.out.pri...
true
4a37baeb7f962052c4bfe5f7d5caf5b6d55a6556
Java
eric-r-ramos/opala
/src/main/java/com/opala/repository/search/PassageiroSearchRepository.java
UTF-8
330
1.617188
2
[]
no_license
package com.opala.repository.search; import com.opala.domain.Passageiro; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; /** * Spring Data Elasticsearch repository for the Passageiro entity. */ public interface PassageiroSearchRepository extends ElasticsearchRepository<Passageiro, ...
true
fff3e11f7af0da1c8472b330516db86cfaf9f4ba
Java
JRakin/Problem-Solving-Playground
/NamesScoresPE/src/Solution.java
UTF-8
941
3.25
3
[]
no_license
import java.util.Arrays; import java.util.Scanner; /** * @author Rakin * * Jul 22, 2018 */ public class Solution { private static final Scanner scan = new Scanner(System.in); public static void main(String[] args) { int t = scan.nextInt(); String[] arr = new String[t]; for(int...
true
9ed9462e0e345f0f43a3e3246f83209a56d240e9
Java
Quintec/ExplodingKittens
/src/Bot.java
UTF-8
3,280
3.796875
4
[]
no_license
/** * The base class for you to base your AI on. */ public abstract class Bot { /** * Method called at the start of the game. * @param myIndex your player's index in the list of players */ public abstract void init(int myIndex, GameView view); /** * Method called at the start of the game to...
true
9c9e3103d16dabecd3fb554575ea989dc0eb3986
Java
hapsoa/java_thethelab_workspace
/예전 모음/KeyEventManager(합)_01/src/TestKey.java
UTF-8
2,536
2.484375
2
[]
no_license
import processing.core.PApplet; import java.security.KeyManagementException; import java.util.List; public class TestKey extends PApplet { public static void main(String[] args) { TestKey.main("TestKey"); } private Rect rect = new Rect(this); private boolean isKeyPressed; public static K...
true
922c760737ff5ab1c2b50bfb1e2c5ec7f178f249
Java
spring-projects/spring-integration
/spring-integration-ip/src/main/java/org/springframework/integration/ip/tcp/connection/AbstractTcpConnectionSupport.java
UTF-8
1,593
2.171875
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2017-2019 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
true
7b2c730a1f2f1f2bcc2a68a95d50ede66f280508
Java
fullstackjavaprof/oct-java-training
/oct24/TestThread2.java
UTF-8
525
3.1875
3
[]
no_license
package com.threads; class TestThread2 implements Runnable{ public void run(){ for(int i=1;i<5;i++){ try { Thread.sleep(5000); } catch (InterruptedException e) { e.printStackTrace(); } System.out.println(i); } } public static void main(String ...
true
d6bbcf89aa2487ae125fb323f600251ccf2890f5
Java
Facualv14/xHub-OPENSOURCED
/src/main/java/services/xenlan/hub/queue/plugins/Custom.java
UTF-8
1,057
2.5625
3
[]
no_license
package services.xenlan.hub.queue.plugins; import org.bukkit.entity.Player; import services.xenlan.hub.queue.Queue; import services.xenlan.hub.utils.CC; import services.xenlan.hub.xHub; public class Custom extends Queue { @Override public boolean inQueue(Player p) { return xHub.getInstance().getQueueManager().get...
true
c2cf171eebb91b0e0b72cfde586c1ce9a4c37c41
Java
hellcy/leetcode
/Algorithms/496. Next Greater Element I.java
UTF-8
1,484
3.34375
3
[]
no_license
class Solution { public int[] nextGreaterElement(int[] nums1, int[] nums2) { /* Brute force */ // int[] ans = new int[nums1.length]; // for (int i = 0; i < nums1.length; ++i) { // boolean flag = false; // for (int j = 0; j < nums2...
true
763266304a8f4570ab10af262db7884c09bcac55
Java
heineman/ebc-example
/EBC_SoftwareEngineeringProject/src/example/calc/controller/ComputeController.java
UTF-8
1,251
2.875
3
[]
no_license
package example.calc.controller; import javax.swing.JOptionPane; import example.calc.model.Constant; import example.calc.model.Model; import example.calc.view.CalculatorApp; public class ComputeController { CalculatorApp app; Model model; public ComputeController(CalculatorApp app, Model m) { this.app = app; ...
true
98e78973a4456216ec5ec099cb7eac4766cf80ec
Java
christophorBlagoev/JavaOOP
/L04_InterfacesAndAbstraction/Exercise/P02_MultipleImplementation/Birthable.java
UTF-8
149
2.40625
2
[]
no_license
package Exercise.P02_MultipleImplementation; /* @created by Ch.B. on 23-Mar-21 - 18:59 */ public interface Birthable { String getBirthDate(); }
true
e076afe0208551f66cf694db807337e37d151d50
Java
KirillIvushkin/testGitHW
/src/Lesson06/Cat.java
UTF-8
1,345
3.59375
4
[]
no_license
package Lesson06; import models.Animal; public class Cat extends Animal { private String catName = "Кошка"; private static int catMaxRunDistance = 200; private static int catMaxSwimDistance = 0; private static int catsCount = 0; public Cat(String nickname) { super(nickname); se...
true
7b95d424840ba59d31b5249260e380a0e1cf81fa
Java
buzheng1949/Message
/app/src/main/java/com/example/yupeibiao/message/com/example/yupeibiao/message/activity/SettingActivity.java
UTF-8
2,251
2.1875
2
[]
no_license
package com.example.yupeibiao.message.com.example.yupeibiao.message.activity; import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toa...
true
a90603afb19b35d66a4ec06215c7769ce6242604
Java
gabrysbiz/lesscss-extended-compiler
/src/main/java/biz/gabrys/lesscss/extended/compiler/source/ClasspathSource.java
UTF-8
3,961
2.546875
3
[ "BSD-3-Clause" ]
permissive
/* * Extended LessCSS Compiler * http://lesscss-extended-compiler.projects.gabrys.biz/ * * Copyright (c) 2015 Adam Gabryś * * This file is licensed under the BSD 3-Clause (the "License"). * You may not use this file except in compliance with the License. * You may obtain: * - a copy of the License at project ...
true
61f19f5d6f941742a2c28f71ddd2e200d9df4a1c
Java
reactivesystems-eu/jax-2018-microservices-workshop
/booking-api/src/main/java/eu/reactivesystems/workshop/booking/api/BookingRequest.java
UTF-8
1,140
2.375
2
[]
no_license
package eu.reactivesystems.workshop.booking.api; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Value; import java.time.LocalDate; import java.util.UUID; /** */ @Value public final class BookingRequest { /** * The user that requests ...
true
35ff6456ccb476a74186ca8d9a883025eb173a11
Java
abhi-manyu/Hibernate
/ORM_is-a_Table_per_ConcreetClass/src/classses/Hardware_Company.java
UTF-8
613
2.625
3
[]
no_license
package classses; public class Hardware_Company extends Company { private double hike; private int no_of_holydays; public Hardware_Company() { } public Hardware_Company(int reg_no, String name, double hike, int no_of_holydays) { super(reg_no, name); this.hike = hike; this.no_of_holydays...
true
dbcc58acc13590502d1df3dae00ce94d9e956327
Java
rvelhote/university
/pyra/src/BlocoSprite.java
UTF-8
288
2.40625
2
[ "Unlicense" ]
permissive
import javax.microedition.lcdui.Image; import javax.microedition.lcdui.game.Sprite; public class BlocoSprite extends Sprite { public boolean colidiu; public BlocoSprite(Image img, int w, int h) { super(img, w, h); colidiu = false; } }
true
c281dba8ec12491ea4049b51ce16b2cfe41c9901
Java
maratimaev/job4j
/chapter_003/src/test/java/ru/job4j/comparator/ListCompareTest.java
UTF-8
2,304
3.140625
3
[]
no_license
package ru.job4j.comparator; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.hamcrest.Matchers.greaterThan; import static org.hamcrest.Matchers.lessThan; import static org.hamcrest.MatcherAssert.assertThat; /** * @author Marat Imaev (mailto:imaevmarat@outlook.com) * @version $Id$ * ...
true
1c21b8bdfe18ef1c2a54029ba888e6e830ab3b5f
Java
DaniyalKhan/Orcs-n-Barrels
/gca-game/src/com/gca/models/projectiles/Spell.java
UTF-8
951
2.703125
3
[]
no_license
package com.gca.models.projectiles; import com.badlogic.gdx.math.Rectangle; import com.badlogic.gdx.math.Vector2; import com.gca.screens.GameScreen; public class Spell extends LineProjectile { public static final float LENGTH = 74f/GameScreen.PIX_PER_UNIT; public static final float FIRE_HEIGHT = 108f/GameScreen.PI...
true
01ad489916e6103375b6036281551dfa50ecd156
Java
hydrangea86/spring_core_study
/src/main/java/com/spring/core/oop/hotel/FrenchRestaurant.java
UTF-8
596
2.609375
3
[]
no_license
package com.spring.core.oop.hotel; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Component; @Component("fr") //이름 설정 가능("xx") public class FrenchRestaurant implements Restaurant{ private final Ch...
true
0177cdd686e69c74a5bb1d29764962f9bf1efbe0
Java
YidaChen/UVa-Java
/UVa10101_BanglaNumbers.java
UTF-8
954
4.09375
4
[]
no_license
/* 有點看不懂題目 */ import java.util.Scanner; class UVa10101_BanglaNumbers { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int count = 1; while(sc.hasNext()) { System.out.printf("%4d.", count++); long n = sc.nextLong(); if(n == 0) { System.out.println(" 0"...
true
5ff7c4d88777a2d688921cb3cf0fc685a99afb06
Java
pborczyk/BracketlyFrontend
/app/src/main/java/edu/bracketly/frontend/dto/MatchDto.java
UTF-8
365
1.992188
2
[]
no_license
package edu.bracketly.frontend.dto; import java.io.Serializable; import java.util.List; import edu.bracketly.frontend.consts.MATCH_STATUS; import lombok.Data; @Data public class MatchDto implements Serializable { private Long id; private String tag; private List<SeatDto> seats; private MATCH_STATUS ...
true
3e75979923dfaac7aaed95a778bf9c488fe0a8f7
Java
manishgdev/MyJavaProjects
/ExtentReportsProject/TestNG-Parallel-Methods/com/manish/beans/Student.java
UTF-8
406
2.625
3
[]
no_license
package com.manish.beans; public class Student { private String name; private int marks; public void setName(String name) { this.name = name; } public void setMarks(int marks) { this.marks = marks; } public String getName() { return name; } public int getMarks() { return marks; } public S...
true
633da870022ec1342e636e26afb393eb380ce1ea
Java
Donpommelo/Gallery-Rouge
/core/src/abilities/CallforBackup.java
UTF-8
739
2.125
2
[]
no_license
package abilities; import java.util.ArrayList; import party.Enforcer; import party.Schmuck; import states.BattleState; public class CallforBackup extends Skill{ public final static String name = "Call for Backup"; public final static String descr = "TEMP"; public final static int id = 1; public final static int...
true
7cf4340fecba85861ab76f3f974b42452af8ccc0
Java
RohitB97/Baseform-Epanet-Java-Library
/org/addition/epanet/hydraulic/models/PipeHeadModel.java
UTF-8
1,938
2.25
2
[]
no_license
/* * Copyright (C) 2012 Addition, Lda. (addition at addition dot pt) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ver...
true
00dda8f13cb130423a74379a7c195add693b0882
Java
deepthikamaraj/javaCode
/opserv-sp-core/src/main/java/com/cognizant/opserv/sp/core/dao/TAlgmntBussRuleDAO.java
UTF-8
8,490
2.515625
3
[]
no_license
package com.cognizant.opserv.sp.core.dao; import java.util.List; import com.cognizant.opserv.sp.core.entity.TAlgmntBussRule; import com.cognizant.opserv.sp.core.entity.TAlgmntSalesTeam; import com.cognizant.opserv.sp.core.entity.TBussRuleConfig; import com.cognizant.peg.core.common.SearchFilter; /** * Interface rep...
true
9ef008e5a2eba0d0773772f53d64866f38439dbb
Java
yuanyuanheng/framework
/dataPull/src/main/java/com/mn/config/Init.java
UTF-8
1,203
2.171875
2
[]
no_license
package com.mn.config; import java.util.logging.Level; import java.util.logging.Logger; import com.mn.bean.Mysql; import com.mn.persistent.MysqlOpt; import com.mn.proc.PersistentOpt; import com.mn.util.ReadText; public class Init { private static Mysql m_mysql; public static Mysql initMysql() { if (null == m_m...
true
1d7397a57aab6f2425ba328b3a4527b1c4e0545d
Java
vuleenguyen/DataStructure_Algorithm_Java
/learning-datastructures/src/ds/circurlarlinkedlist/TestCircularLinkedList.java
UTF-8
652
2.71875
3
[]
no_license
package ds.circurlarlinkedlist; import ds.singlylinkedlist.SinglyLinkedList; /** * Created by Do My Duyen on 9/24/2017. */ public class TestCircularLinkedList { public static void main(String[] args) { CircularLinkedList myList = new CircularLinkedList(); myList.insertFirst(100); myList...
true
3dd02f0dff6ee2aa04e64f01dd3c2bdae57b6361
Java
ManjunathPrabhakar/ReportBuilderJava
/src/main/java/com/rajatthareja/reportbuilder/report/Hook.java
UTF-8
733
1.976563
2
[ "MIT" ]
permissive
package com.rajatthareja.reportbuilder.report; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.time.Duration; import java.util.List; @JsonIgnoreProperties(ignoreUnknown = true) public class Hook { private Result result = new Result(); private List<Embedding> embeddings; public ...
true
8cb784db149e23866360563c21e1b7c04d2504ac
Java
Adityacprtm/NetBeansProjects
/SEMESTER 2/src/Tugas1/Peternakan.java
UTF-8
734
2.890625
3
[]
no_license
package Tugas1; public class Peternakan { public String jenis; public int jumlah; public int harga; public int untung; public int melahirkan(int a) { return this.jumlah = jumlah + a; } public void penjualan(int x) { this.untung = harga * x; this.jumlah = jumlah - ...
true
6c878972ee2951f65ff0f77d456fa184b17c599c
Java
cr951213/CR_pinduoduo
/app/src/main/java/com/example/administrator/cr_pinduoduo/activity/model/Ssyy_Imodel.java
UTF-8
331
1.828125
2
[]
no_license
package com.example.administrator.cr_pinduoduo.activity.model; import com.example.administrator.cr_pinduoduo.activity.bean.SsyyBean; import rx.Observer; /** * Created by Administrator on 2017/12/13. */ public interface Ssyy_Imodel { //将观察者传(bean)进去 public void shuju(Observer<SsyyBean> observer); }
true
9300cab9ad1f39b84fa41853ea67628bdda29676
Java
Sq-List/LeetCode
/src/main/java/com/sqlist/leetcode/editor/cn/Q668KthSmallestNumberInMultiplicationTable.java
UTF-8
2,059
3.53125
4
[]
no_license
package com.sqlist.leetcode.editor.cn; /** 几乎每一个人都用 乘法表。但是你能在乘法表中快速找到第k小的数字吗? 给定高度m 、宽度n 的一张 m * n的乘法表,以及正整数k,你需要返回表中第k 小的数字。 例 1: 输入: m = 3, n = 3, k = 5 输出: 3 解释: 乘法表: 1 2 3 2 4 6 3 6 9 第5小的数字是 3 (1, 2, 2, 3, 3). 例 2: 输入: m = 2, n = 3, k = 6 输出: 6 解释: 乘法表: 1 2 3 2 4 6 第6小的数字是 6 (1, 2, 2, 3, 4, ...
true
28705d7ffb9c7be4658f6bbf5210b2287436341f
Java
andriychuk94/java_pft
/sandbox/src/main/java/ru/stqa/pft/sandbox/Rectangle.java
UTF-8
218
2.484375
2
[ "Apache-2.0" ]
permissive
package ru.stqa.pft.sandbox; /** * Created by Boris on 07.06.2017. */ public class Rectangle { public double a; public double b; public Rectangle(double a, double b) { this.a = a; this.b = b; } }
true
02ad12667a525ac9d73ca451acbc2fe9ee280950
Java
VasilSokolov/TestProject
/src/contains/Person.java
UTF-8
719
3.046875
3
[]
no_license
package contains; //@SuppressWarnings(value = { "" }) public class Person { public String p = "Person field"; private String name; public Person() { System.out.println("construct"); } public String getName() { return name; } public void setName(String name) { this.name = name; } { String init...
true
be9cfcdc7ad35a0b536479e1db6a83ff8224c8c7
Java
HeliasEurodyn/Camel-Spring-Test
/src/main/java/com/flexi/controller/MySqlConnectionController.java
UTF-8
1,565
2.25
2
[]
no_license
package com.flexi.controller; import com.flexi.model.MySqlConnection; import com.flexi.repository.MySqlConnectionRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Sort; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.an...
true
fddf56b89f8433bcdda2e776ff9c5ce48ed21a8c
Java
mns1234/Mrinalini_shah
/Innovapath/src/com/main/ThrowExample.java
UTF-8
838
3.296875
3
[]
no_license
package com.main; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; public class ThrowExample { /*public static void checkage(int age){ if(age<18) throw new ArithmeticException(); else{ System.out.println("the age is fine"); } }*/ public static void checage(int...
true
339ea99d3e50c6488bfef7d1094da1ef122afb2d
Java
NeroAo/DemoBox
/NettyDemo/src/main/java/neroao/demobox/subreqserver/SubReqServerHandler.java
UTF-8
913
2.59375
3
[]
no_license
package neroao.demobox.subreqserver; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; public class SubReqServerHandler extends ChannelInboundHandlerAdapter { @Override public void channelRead(ChannelHandlerContext ctx,Object msg)throws Exception{ Subs...
true
76c9a0315d05d510acc60383cdbd7d289fbc5d20
Java
yezijiang/matthew-alpha
/matthew-algorithm-practice/src/main/java/com/matthew/google/challenge/thirteen/Solution.java
UTF-8
3,182
3.3125
3
[]
no_license
package com.matthew.google.challenge.thirteen; import com.google.common.base.Strings; import com.sun.org.apache.xalan.internal.xsltc.compiler.util.StringStack; import org.junit.Assert; import org.junit.Test; import java.util.HashMap; import java.util.Map; /** * Created with IntelliJ IDEA * User: maxing * TIME: 20...
true
dc8e3690a53b9879cef5a561e045d1ef84630b07
Java
Creator-Youth/Leetcode
/src/com/wxs/leetcode/TreeNode.java
UTF-8
774
3.15625
3
[]
no_license
package com.wxs.leetcode; import java.util.ArrayList; import java.util.List; import java.util.Stack; public class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int x) { val = x; } List<Integer> list = new ArrayList<>(); public List<Integer> preorderTraversal(TreeNode roo...
true
41f1c1fbb017d05386d0d63fea419a5f6331655a
Java
flocela/IngAve-Android
/InglesAventurero/app/src/androidTest/java/com/olfybsppa/inglesaventurero/tests/linesCPtests/ProviderBackgroundsTest.java
UTF-8
4,071
2.234375
2
[]
no_license
package com.olfybsppa.inglesaventurero.tests.linesCPtests; import android.content.ContentValues; import android.database.Cursor; import android.provider.BaseColumns; import android.test.ProviderTestCase2; import android.test.mock.MockContentResolver; import com.olfybsppa.inglesaventurero.collectors.Background; import...
true
4002593f38e5110ac29d5b44476ca26d31eb03b2
Java
renderlife/travel-spring-hibernate
/src/main/java/com/travel/utility/parsing/Parsing.java
UTF-8
2,231
2.59375
3
[]
no_license
package com.travel.utility.parsing; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.openqa.selenium.WebDriver; import org.openqa.selenium.phantomjs.PhantomJSDriver; import java.io.File; /** * Парсинг авиабилетов и номеров в отеле при составлении тура * * @author...
true
d9639d6fbc95f7f2ea19bb114defa9c46587fc3b
Java
jmg216/tsi2-g1-2012
/GeoRed-BackOffice-Web/src/com/geored/backoffice/managedBean/eventos/GestionEventoBean.java
UTF-8
5,909
2.109375
2
[]
no_license
package com.geored.backoffice.managedBean.eventos; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.faces.bean.ManagedBean; import javax.faces.bean.RequestScoped; import com.geored.backoffice.managedBean.BaseBean; import com.geored.backo...
true
83769633b046425f9d4d4d7f135e0ad0d841701d
Java
madcatlove/NationalAssembly
/app/src/main/java/kr/or/osan21/nationalassembly/Media/MediaAPI.java
UTF-8
1,006
2.25
2
[]
no_license
package kr.or.osan21.nationalassembly.Media; import java.util.List; import kr.or.osan21.nationalassembly.Utils.API; import retrofit.Callback; import retrofit.http.GET; import retrofit.http.Path; /** * Created by madcat on 12/30/15. */ public class MediaAPI extends API { private static final String LOG_TAG = "...
true
c69f56990598c13141aba0dca1669515535ec424
Java
phoenixvk/COC
/app/src/main/java/com/hashstar/cocbases/activity/SendAuuthentication.java
UTF-8
4,953
1.984375
2
[]
no_license
package com.hashstar.cocbases.activity; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.os.AsyncTask; import android.provider.Settings; import com.hashstar.cocbases.data.ServiceUrls; import com.hashstar.cocbases.network.ServerResponseHandler; import com.ha...
true
b52d4e73f807eecb633007c9e94e9e9122819455
Java
oracle614/data-monitor-server
/src/main/java/com/yiche/utils/DateFormatSafe.java
UTF-8
3,373
2.890625
3
[]
no_license
package com.yiche.utils; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class DateFormatSafe { private static Threa...
true
83c39d57486af17ce703de0d1df3b2e8f9b9902a
Java
myongchao/scholarship
/src/main/java/com/myc/scholarship/service/ScoreService.java
UTF-8
509
1.8125
2
[]
no_license
package com.myc.scholarship.service; import com.baomidou.mybatisplus.mapper.Wrapper; import com.baomidou.mybatisplus.plugins.Page; import com.myc.scholarship.entity.Score; import com.baomidou.mybatisplus.service.IService; /** * <p> * 服务类 * </p> * * @author Juci123 * @since 2019-01-10 */ public interface Score...
true
963aabb149ab08223c230ac56b07f75a9a5eef63
Java
orisayda/OriHub
/projects/Lab-project/src/Views/ChangingPermissionUI.java
UTF-8
2,286
2.640625
3
[]
no_license
package Views; import java.awt.Font; import javax.swing.DefaultComboBoxModel; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JSeparator; import javax.swing.JTextField; import graphics.GUIimage; public class ChangingPermissionUI exte...
true
5d032b525f2f9bb57943f1cd12f48e20591e5777
Java
BhaveshKabra/Bewery-Producer
/src/main/java/org/bhavesh/micro/mapper/CustomerMapper.java
UTF-8
318
1.96875
2
[]
no_license
package org.bhavesh.micro.mapper; import org.bhavesh.micro.web.bean.Customer; import org.bhavesh.micro.web.bean.dto.CustomerDTO; import org.mapstruct.Mapper; @Mapper public interface CustomerMapper { CustomerDTO customertoCustomerDTO(Customer customer); Customer customerDTOtoCustomer(CustomerDTO customerDTO); }
true
45917ce0cc5c2b82476e7d49d890454dde92fa30
Java
bellmit/online_education
/education_common/src/main/java/com/oe/domain/dto/TabOperateRecordDTO.java
UTF-8
536
1.671875
2
[]
no_license
package com.oe.domain.dto; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import java.io.Serializable; import java.util.Date; @Data @AllArgsConstructor @NoArgsConstructor @Accessors(chain = true) public class TabOperateRecordDTO implements...
true
59a821b199742fe4c58ad05ebf81a2ee8558a22c
Java
Yuriel849/Databases
/SQL/src/study/MessageFormat_to_SQL.java
UHC
1,812
3.21875
3
[]
no_license
package study; import java.io.*; import java.text.MessageFormat; /* * 1. SQL Developer ֹ ̺ (ORDER_M, ORDER_D) * 2. α׷ "data.csv" * 3. Java α׷ (eclipse) INSERT & SQL Developer * 4. ORDER_M & ORDER_D join */ class MessageFormat_to_SQL { @SuppressWarnings("resource") public static void main(String[] args) t...
true
17ef8c6f4a6c1f003b816477a20ffbd8ed179711
Java
vriche/adrm
/test/service/com/vriche/adrm/service/.svn/text-base/PriceDetailManagerTest.java.svn-base
UTF-8
3,651
2.3125
2
[]
no_license
package com.vriche.adrm.service; import java.util.List; import java.util.ArrayList; import com.vriche.adrm.dao.PriceDetailDao; import com.vriche.adrm.model.PriceDetail; import com.vriche.adrm.service.BaseManagerTestCase; import com.vriche.adrm.service.impl.PriceDetailManagerImpl; import org.jmock.Mock;...
true
c3a4bdcafb9e135e97913e8298e72910d354f7a6
Java
love525150/springcloud
/user-service/src/main/java/org/allen/user/controller/UserController.java
UTF-8
2,415
1.96875
2
[]
no_license
package org.allen.user.controller; import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand; import com.netflix.hystrix.contrib.javanica.annotation.HystrixProperty; import org.allen.user.bus.event.UserUpdateEvent; import org.allen.user.service.UserService; import org.springframework.beans.factory.annotati...
true
d407f7a5862c9461dd9ddfc7f67a51f50fc01755
Java
calooper/FinalProject
/JPAGearSilo/src/test/java/com/skilldistillery/gearsilo/entities/ReviewOfShopperTest.java
UTF-8
1,551
2.453125
2
[]
no_license
package com.skilldistillery.gearsilo.entities; import static org.junit.jupiter.api.Assertions.assertEquals; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; impor...
true
a99781fb19b3da44cc2e4c5b820a7d70538ffc31
Java
mdafsar15/ADF_Genx
/Model/src/EOsNew/DepartmentsEOImpl.java
UTF-8
6,026
1.960938
2
[]
no_license
package EOsNew; import oracle.jbo.AttributeList; import oracle.jbo.JboException; import oracle.jbo.Key; import oracle.jbo.RowIterator; import oracle.jbo.server.EntityDefImpl; import oracle.jbo.server.EntityImpl; import oracle.jbo.server.TransactionEvent; // -------------------------------------------------------------...
true
07609359e1557d9ffd014ca5957206dc70ffd917
Java
bustomiabdulgoni21/KKP
/src/pembayaran/tampil/Daftar.java
UTF-8
23,137
2.109375
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 pembayaran.tampil; import java.awt.Toolkit; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.Res...
true
b005b4114b63ca44b29538285dd360066d1bc7a4
Java
brecht-d-m/cros-core
/app/controllers/SecurityController.java
UTF-8
1,935
2.390625
2
[ "MIT" ]
permissive
package controllers; import com.fasterxml.jackson.databind.node.ObjectNode; import exceptions.IncompatibleSystemException; import models.User; import play.data.Form; import play.data.validation.Constraints; import play.libs.Json; import play.mvc.Controller; import play.mvc.Http; import play.mvc.Result; import utilitie...
true
50c68989ac9af400dd317e21c7c04256c1d4c75c
Java
adamtbak/algorithms-data-structures
/Recursion/Exponentiation.java
UTF-8
711
4.4375
4
[]
no_license
/* * This class calculates the exponentiation of a number, in other words, * it calculates the value of the expression, x raised to the power or n, * written also as x^n. * * The recursive formula for the x^n is given by: * x^n = x * x^(n-1) * */ public class Exponentiation { public static voi...
true
79675331846214b296081cbf14226b45523c1284
Java
aa407766499/springv2
/src/main/java/com/study/springv2/web/servlet/mvc/method/annotation/MyRequestMappingHandlerMapping.java
UTF-8
2,213
2.640625
3
[]
no_license
package com.study.springv2.web.servlet.mvc.method.annotation; import com.study.springv2.annotation.MyController; import com.study.springv2.annotation.MyRequestMapping; import com.study.springv2.context.MyApplicationContext; import com.study.springv2.web.method.MyHandlerMethod; import javax.servlet.http.HttpServletReq...
true
edd029ee5c92a4b0f997fcc4b4659035fc56167b
Java
Alexlloydwhite/learning-java
/com/ClassExample/Main.java
UTF-8
714
4.1875
4
[]
no_license
package com.ClassExample; public class Main { // Public means it has access to other files // Static means it does not change // Void means it has no return public static void main (String[] args) { // to make an object from a class, type the name of the class, name it, and set it equal to a ...
true
1ea84e1efb8d2b3accf92d37cd6c9715cdbac550
Java
Hospitaljavaprojects/HospitalSystemPc
/PatientSQL3.java
GB18030
907
2.5625
3
[]
no_license
package cn.edu.usst.moon; import java.sql.*; public class PatientSQL3 { public static void main(String[] args) { // TODO Auto-generated method stub Connection con=null; Statement stmt=null; String strTemp= ""; try{ Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); }catch(C...
true
8210a48b0bfc9530adfd4e63e51f4ce69918eabe
Java
CyberLynxTelecom/tutorial_upload_github
/eclipse-3.8.1/eclipse/environments/osgi.cmpn/src/org/osgi/service/blueprint/context/ServiceUnavailableException.java
UTF-8
1,533
2.1875
2
[ "Apache-2.0" ]
permissive
/* * Copyright (c) OSGi Alliance (2008, 2009). All Rights Reserved. * * 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 req...
true
4b160a3e41251e97fa3729dc52a7354309daee17
Java
DevManah6Eugenio/moduloAtualizaProjetoNetbeans
/src/moduloAtualizaProjeto/telaTopComponent.java
UTF-8
39,576
1.664063
2
[]
no_license
package moduloAtualizaProjeto; import java.io.BufferedReader; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import javax.swing.JOptionPane; import org.netbeans.api.settings.ConvertAsProperties; import org.openide.awt.Acti...
true
d217beceb6855b0ae6f5973b1d5458bac64795af
Java
pwt-team/thms
/src/com/thms/service/GoodsServiceImpl.java
UTF-8
1,294
2.109375
2
[]
no_license
package com.thms.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.thms.bean.Goods; import com.thms.dao.GoodsDao; @Service public class GoodsServiceImpl implements GoodsService { @Autowired public GoodsDao goods...
true
0af907882b0924231734f694b3da54ce0b463129
Java
bellmit/MSFM
/client/Java/intermarketTranslator/com/cboe/intermarketPresentation/common/formatters/AlertFormatter.java
UTF-8
7,269
2.203125
2
[]
no_license
// // ------------------------------------------------------------------------ // FILE: AlertFormatter.java // // PACKAGE: com.cboe.intermarketPresentation.common.formatters // // ------------------------------------------------------------------------ // Copyright (c) 1999-2003 The Chicago Board Options Exchange. All...
true
eac2024ea511095c5db8c15404c276aa1285ac56
Java
WilsonParker/Algorithm_Study
/Algorithm/171007/이창주_백준_14726번_신용카드판별.java
UTF-8
767
3
3
[]
no_license
package B_14726; import java.util.Scanner; public class Main { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int T = sc.nextInt(); sc.nextLine(); for(int test_case = 0; test_case < T; test_case++) { String input=sc.nextLine(); int n= input.l...
true
a5e7d5a64a5951cddd058352ffbd729107cb82f3
Java
bernmic/justmusic-javalin
/backend/src/main/java/de/b4/justmusic/service/ServiceRegistry.java
UTF-8
754
2.1875
2
[]
no_license
package de.b4.justmusic.service; import de.b4.justmusic.service.impl.LibraryServiceImpl; public class ServiceRegistry { private static LibraryService libraryService; private static PlaylistService playlistService; private static UserService userService; public static LibraryService getLibraryService() { ...
true
d41229ee8f575d2fcf045e51db0926b267025292
Java
luotianwen/pgy
/dd_adv_op/src/main/java/com/kkgame/feeop/excel/DataSheetBean.java
UTF-8
1,166
2.15625
2
[]
no_license
package com.kkgame.feeop.excel; import com.kkgame.feeop.util.ThreeRelate; import com.kkgame.feeop.util.TwoRelate; import java.util.List; /** * Function: * * @version $Revision$ $Date$ * Date: 2016/3/17 * Time: 13:11 * @author: Administrator * @since 3.0 */ public class DataSheetBean { /...
true
ad152af7394166f0c8b5082e9011a8a79ca79645
Java
itayelbaz11/beta
/app/src/main/java/com/example/beta/User.java
UTF-8
816
2.625
3
[]
no_license
package com.example.beta; public class User { private String name, email, uid; private Boolean active; public User (){} public User (String name, String email, String uid, Boolean active) { this.name=name; this.email=email; this.uid=uid; this.active=active; } p...
true
c96bd6947567b86ed3ce6771655321586b9d9685
Java
przemyslawkonik/shop
/src/model/enums/Status.java
UTF-8
265
2.421875
2
[]
no_license
package model.enums; public enum Status { ZREALIZOWANE("ZREALIZOWANE"), BRAK("BRAK"); private String name; private Status(String name) { this.name = name; } @Override public String toString() { return name; } }
true
5f3096c8f2e9fe5e2c88f458bbf188102098fd2e
Java
clarenznet/Homlie
/app/src/main/java/com/luns/neuro/mlkn/library/User.java
UTF-8
1,218
2.265625
2
[]
no_license
package com.luns.neuro.mlkn.library; /** * Created by neuro on 2/24/2018. */ public class User { private String phonenumber, firebaseid, user_priviledge, user_fullname, user_address, user_latitude, user_longitude; public User(String phonenumber, String firebaseid, String user_priviledge, String user_fullna...
true
bf5b7723e437740cac56ab8e1c0d25e0f5f121ec
Java
x2long/webjoin-insight-plugins
/lib/org.springframework.webflow-2.0.5.RELEASE-sources/org/springframework/webflow/conversation/impl/ConversationLockFactory.java
UTF-8
2,734
2.46875
2
[]
no_license
/* * Copyright 2004-2008 the original author or authors. * * 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 requi...
true
57fa5656af089d4e589efdf545c8d90147adb1fc
Java
jcastro-inf/delfos
/src/main/java/delfos/rs/contentbased/vsm/booleanvsm/symeonidis2007/Symeonidis2007Model.java
UTF-8
3,641
2.0625
2
[]
no_license
/* * Copyright (C) 2016 jcastro * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distribute...
true
abbd2e1c934fd66f56aa13e5a1c4bdcabdae2de1
Java
Ayush-Saxena/Java-Berlin-Clock-UBS
/src/test/java/com/ubs/opsit/interviews/impl/BerlinClockTest.java
UTF-8
1,244
2.6875
3
[]
no_license
package com.ubs.opsit.interviews.impl; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Before; import org.junit.Test; import com.ubs.opsit.interviews.domain.Colour; public class BerlinClockTest { BerlinClock clock; @Before public void setUp() { clock = new BerlinClock.Builder() ...
true
f59390e1de67c270745e465c6d569bf10f120ef0
Java
oneid-sa/oneid.bankstatements
/api/java/digital-oneid/src/main/java/digital/oneid/model/AuditSearch.java
UTF-8
1,465
2.125
2
[]
no_license
/** * ****************************************************** * Copyright (c) 2020, PowerRecruit. * All rights reserved. ********************************************************/ package digital.oneid.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; /** * Created by hubinotech on 07/04/20. *...
true
579a8bca05ae5d6e07b3380fab70be85a5d7f05e
Java
vnmk/product-service
/src/main/java/com/myretail/redskyservice/client/ProductServiceClient.java
UTF-8
1,605
2.453125
2
[]
no_license
package com.myretail.redskyservice.client; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; import com.sun.jersey.api.client.Client; import com.sun.jersey.api.client.ClientResponse; import com.sun.jersey.api.client.WebResource; /** * Client t...
true
f9bbc0cd1a5667e52680ba41e6316af5308b7953
Java
mirko2021/EX-003_010_YCMSTextComponent
/src/proccess/java/ycms/server/process/web/bean/ProccessBean.java
UTF-8
388
1.960938
2
[]
no_license
package ycms.server.process.web.bean; import java.io.Serializable; /** * Зрно којим се означавају процеси на серверу * који могу утицати на стање апликације. * @author VM * @version 1.0 */ public class ProccessBean implements Serializable{ private static final long serialVersionUID = 6454096321016212886L; }
true
67fcb7df53c071160b79c7fcaf633c4b3e234592
Java
boatengfrankenstein/ofCampus
/src/com/app/ofcampus/SignUpActivity.java
UTF-8
5,808
2.03125
2
[]
no_license
package com.app.ofcampus; import android.app.ProgressDialog; import android.content.DialogInterface; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import com.app.ofcampus.networ...
true
dd41d26076d47719ebc18aeeeeb1757dba678b11
Java
lnbs/mybase
/app/src/main/java/com/example/administrator/mybasetest1/mvp/view/activity_view/GankDataView.java
UTF-8
321
1.796875
2
[]
no_license
package com.example.administrator.mybasetest1.mvp.view.activity_view; import com.example.administrator.mybasetest1.base.mvpbase.BaseView; /** * Created by Administrator on 2018/11/16. */ public interface GankDataView<T> extends BaseView{ void getGankDataSuccess(T bean); void getGankDataError(String msg); }...
true
4a5bfa106f71c155aeb3c6bc7795cc70a5fdc8a5
Java
AdeYac/mda-garage
/src/main/java/tech/becoming/mda/one/Main.java
UTF-8
593
2.390625
2
[ "MIT" ]
permissive
package tech.becoming.mda.one; import tech.becoming.mda.one.model.actor.Owner; import tech.becoming.mda.one.model.garage.DigitalKey; import tech.becoming.mda.one.model.garage.DigitalLock; import tech.becoming.mda.one.model.garage.Gate; import tech.becoming.mda.one.model.garage.Motor; public class Main { public s...
true
4f72090a8587ee748c721b5f50bf09ac17970ff8
Java
ardolazarini/geplanes
/src/br/com/linkcom/sgm/beans/UsuarioUnidadeGerencial.java
ISO-8859-1
2,561
1.960938
2
[]
no_license
/* Copyright 2007,2008,2009,2010 da Linkcom Informtica Ltda Este arquivo parte do programa GEPLANES. O GEPLANES software livre; voc pode redistribu-lo e/ou modific-lo sob os termos da Licena Pblica Geral GNU, conforme publicada pela Free Software Foundation; tanto a verso 2 da ...
true
2a962d41c1d239cff38be4e7614e02f561076561
Java
rootmos/audio-journal
/android/app/src/main/java/Sound.java
UTF-8
8,450
2.109375
2
[]
no_license
package io.rootmos.audiojournal; import static io.rootmos.audiojournal.Common.TAG; import android.net.Uri; import android.util.Log; import android.content.Intent; import android.content.Context; import androidx.core.content.FileProvider; import java.io.IOException; import java.io.InputStream; import java.io.FileInpu...
true
8f0238f7a1cdd49d8f1d9936b6135dd9074c6962
Java
FMzhizhi/juc
/src/com/zjj/juc/thread/TestCallable.java
UTF-8
1,183
3.671875
4
[]
no_license
package com.zjj.juc.thread; import java.util.concurrent.Callable; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import java.util.concurrent.FutureTask; /** * @author zhijiaju * @version 1.0 * @date 2020/6/27 12:58 */ public class TestCallable { public static void ...
true
27ad8194566748bfed2fbea03f06b08198a262e4
Java
Kepler-Framework/Kepler-Trace
/kepler-trace/src/main/java/com/kepler/trace/SpanContext.java
UTF-8
350
2.484375
2
[]
no_license
package com.kepler.trace; public class SpanContext { private static final ThreadLocal<Span> span = new ThreadLocal<Span>() { @Override protected Span initialValue() { return new Span(); } }; public static void set(Span span) { SpanContext.span.set(span); } public static Span get() { return S...
true
4300efe2aa2ba5d399790b7c4cf347e699ef319e
Java
ildar66/WSAD_NRI
/2005/webcommon/com/hps/july/project/valueobject/ProjectActionObject.java
WINDOWS-1251
9,473
2.296875
2
[]
no_license
package com.hps.july.project.valueobject; import com.hps.july.persistence.*; import java.util.*; /** * -wrapper . * Creation date: (29.05.2003 12:04:46) * @author: Dmitry Dneprov */ public class ProjectActionObject { private int divcode; private java.lang.String comment; private java.lang.String objtype; pr...
true
581fdcc20504fba1d1cf7273f1f032385172f47b
Java
colin314/FamilyMapServer
/src/Result/EventIDResponse.java
UTF-8
306
1.929688
2
[]
no_license
package Result; import Model.Event; import com.sun.java.accessibility.util.EventID; public class EventIDResponse extends Event { public EventIDResponse() { super(); } public EventIDResponse(Event event) { super(event); success = true; } boolean success; }
true
d868f308d4174aa1a56eabf0f137693a1ff8a44a
Java
ganguixu/videos
/src/test/java/cn/ggx/test/UserDaoTest.java
UTF-8
2,394
2.234375
2
[]
no_license
package cn.ggx.test; import cn.ggx.dao.UserDao; import cn.ggx.entity.User; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4Clas...
true
b602fa8d17b7e2c40b18abd5e172bc3e43d69f31
Java
chenxiaozj/oddjob
/src/main/java/org/oddjob/beanbus/mega/MegaBeanBusInterceptor.java
UTF-8
1,068
2.03125
2
[ "BSD-2-Clause" ]
permissive
package org.oddjob.beanbus.mega; import org.oddjob.arooa.ArooaConfigurationException; import org.oddjob.arooa.ArooaSession; import org.oddjob.arooa.ParsingInterceptor; import org.oddjob.arooa.life.ClassResolverClassLoader; import org.oddjob.arooa.parsing.ArooaContext; import org.oddjob.arooa.parsing.SessionOver...
true
f15207e8bc1e9ac63fc9ecadf4ee164d5ccf7ee3
Java
Sdreamery/Eyuan
/src/com/eyuan/filter/LoginIntercept.java
UTF-8
4,160
2.8125
3
[]
no_license
package com.eyuan.filter; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.annotation.WebFilter; import ja...
true