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
0274d5591b2ed122eef0353300dcdfd1d22c7a35
Java
Mohamed-Abdelhamed/ticketing-support-system
/src/Ticket/SolvedTicket.java
UTF-8
379
2.140625
2
[]
no_license
package Ticket; import ticketingsystem.Date; public class SolvedTicket { protected Date TimeTakenToBeSolved; public Date getTimeTakenToBeSolved() { return TimeTakenToBeSolved; } public void setTimeTakenToBeSolved(Date TimeTakenToBeSolved) { this.TimeTakenToBeSolved = TimeTake...
true
d7b6d219a3276c71fe10b9f0e783fa640f867f16
Java
ArtursKuzmiks/SpringStudy
/src/main/java/com/example/Tests/Example2/App.java
UTF-8
2,778
2.90625
3
[ "MIT" ]
permissive
package com.example.Tests.Example2; import com.example.Tests.Example2.ApplicationConfig.AppConfig; import com.example.Tests.Example2.Service.CustomerService; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.support.AbstractApplicationContext; import ...
true
beff03e01d1d85823867765702d599443bc864de
Java
DevelopmentOnTheEdge/be5
/server/src/main/java/com/developmentontheedge/be5/server/authentication/rememberme/InvalidCookieException.java
UTF-8
240
1.875
2
[]
no_license
package com.developmentontheedge.be5.server.authentication.rememberme; public class InvalidCookieException extends RememberMeAuthenticationException { public InvalidCookieException(String message) { super(message); } }
true
357b737dcabe1bd34f4eb7d640a61729cfe0f99f
Java
umesh-lewa/cg-training-java
/Day_3/BasicsLabBook/src/labbook2/Q4.java
UTF-8
937
3.578125
4
[]
no_license
package labbook2; public class Q4 { public static void main(String[] args) { Q4 obj1 = new Q4(); Stack obj = new Stack(5); obj.insert(123); obj.insert(56); obj.insert(34); obj.display(); obj.remove(); obj.remove(); obj.display(); } } class Stack { private int arr[]; private int ...
true
392bc44068df6295ee304cf10010a902d7399622
Java
Razarion/razarion
/razarion-ui-service/src/test/java/com/btxtech/uiservice/cdimock/TestInventoryUiService.java
UTF-8
527
1.890625
2
[]
no_license
package com.btxtech.uiservice.cdimock; import com.btxtech.shared.dto.InventoryInfo; import com.btxtech.uiservice.inventory.InventoryUiService; import javax.enterprise.context.ApplicationScoped; import java.util.function.Consumer; /** * Created by Beat * on 09.11.2017. */ @ApplicationScoped public class TestInvent...
true
bc78ead0feff3209f33d1b55a44eebd4cd67740b
Java
yacovyi/kafka-error-handler
/src/main/java/com/ws/ng/kafkaerrorhandler/model/IcdEntity.java
UTF-8
240
1.945313
2
[]
no_license
package com.ws.ng.kafkaerrorhandler.model; public class IcdEntity { private String wsType; public String getWsType() { return wsType; } public void setWsType(String wsType) { this.wsType = wsType; } }
true
d62afa437dc43ec538a08eca72ac7026d8755339
Java
DhanashreeC/LibraryManagementSystem
/OnlineLibraryManagementSystem/src/main/java/com/my/onlinelibrary/exception/UserException.java
UTF-8
283
2.3125
2
[]
no_license
package com.my.onlinelibrary.exception; public class UserException extends Exception{ public UserException(String message) { super("LibrarianException-"+message); } public UserException(String message, Throwable cause) { super("LibrarianException-"+message,cause); } }
true
42c193938c20b2ea63569acccece3cedf05617d1
Java
battleground/storm-mobile
/app/src/main/java/com/baofeng/mobile/network2/VideoClient.java
UTF-8
1,814
1.976563
2
[ "Apache-2.0" ]
permissive
package com.baofeng.mobile.network2; import com.baofeng.mobile.bean.FilterBean; import com.baofeng.mobile.bean.Page; import com.baofeng.mobile.bean.Status; import com.baofeng.mobile.bean.Video; import com.loopj.android.http.RequestParams; import java.util.List; /** * 影库 */ public class VideoClient extends ApiClie...
true
ab377ca03f118cd51953cd4ecda6c71b27a49ff8
Java
marzenakulikowska/warehousing-app
/src/main/java/pl/coderslab/StoragePlace.java
UTF-8
1,593
2.421875
2
[]
no_license
package pl.coderslab; import org.hibernate.validator.constraints.Range; import javax.persistence.*; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Pattern; import java.util.ArrayList; import java.util.List; @Entity @Table(name ="storagePlace") public class StoragePlace { @Id ...
true
9262d702d41e8666c1ed0d1969ea0c71a6d85a00
Java
rayhan-ferdous/code2vec
/codebase/selected/seltrans/1262093.java
UTF-8
4,205
1.8125
2
[]
no_license
package com . tysanclan . site . projectewok . entities ; import java . util . Arrays ; import java . util . Date ; import javax . persistence . * ; import org . hibernate . annotations . AccessType ; import org . hibernate . annotations . Cache ; import org ....
true
91d4e3085021071706c5b8ce4a5e70caa15477b6
Java
harriks/camel-dubbo
/src/main/java/com/gateway/dubbo/config/RouteContainer.java
UTF-8
12,442
1.679688
2
[]
no_license
package com.gateway.dubbo.config; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.gateway.dubbo.camel.DubboCamelComponent; import com.gateway.dubbo.camel.InterfaceInfo; import com.gateway.dubbo.camel.InterfaceRegistry; import com.gateway.dubbo.entity.ConnectorDubboParameterEntity; ...
true
e6e846ecf904971c179092a7ffd27ef8f53a3a2a
Java
dpetrocelli/unlu2019
/LU/src/main/java/Class2/pi.java
UTF-8
191
2.359375
2
[]
no_license
package Class2; public class pi implements Tarea{ int pi = 0; public Object ejecutar() { // TODO Auto-generated method stub for (int i=0; i<10; i++) { pi+=1; } return pi; } }
true
929043359ad8b798469c5edc02ce8a870ede5ce0
Java
qysnssl/y_project-RuoYi-Vue-master
/RuoYi-Vue/ruoyi-system/src/main/java/com/ruoyi/system/domain/News.java
UTF-8
2,153
2.0625
2
[ "MIT" ]
permissive
package com.ruoyi.system.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; /** * 【请填写功能名称】对象 news * * @author ruoyi * @date 2021-06-10 */ public class Ne...
true
b91885f188b782fc937f10911759ecf17ecba8ff
Java
Harrison-Dolin/Spreadsheets
/src/model/formula/IFormulaFunction.java
UTF-8
192
1.742188
2
[]
no_license
package edu.cs3500.spreadsheets.model.formula; /** * Represents a function that is a formula {FormulaInterface}. */ public interface IFormulaFunction extends FormulaInterface { }
true
60915ee428144b8cef1dfa8b45bdc16abb7179b1
Java
Slavik3/SummaryTask1
/src/ua/nure/kozlov/SummaryTask1/Demo.java
WINDOWS-1251
833
2.90625
3
[]
no_license
//JTH-73 package ua.nure.kozlov.SummaryTask1; /** * * Demonstrates work of the program * @author Slavik Kozlov * */ import java.io.FileNotFoundException; public class Demo { public static void main(String[] args) throws FileNotFoundException { System.setProperty("file.encoding", "Cp1251"); Train train = ne...
true
2690e44e59f2c4b55492df96ba85f83170f13abe
Java
xobyx/ANDROID
/SimpleBlocker/src/com/simpleblocker/data/models/Phone.java
UTF-8
1,220
2.859375
3
[]
no_license
package com.simpleblocker.data.models; /** * * */ public final class Phone extends Id { private Contact contact; private String contactPhone; private String contactPhoneType; //------- Getters & Setters --------------// public Contact getContact() { return contact; } public void setContact(Contact ...
true
b493f7a5848ec3229184892f177d40447900c6d8
Java
cw01393/Lect-lv9
/rpg/src/models/Player.java
UTF-8
293
1.960938
2
[]
no_license
package models; import java.util.Scanner; public class Player { public static Scanner sc = new Scanner(System.in); public static int money; public static Player instance = new Player(); public Guild guild = new Guild(); public Inventory inven = new Inventory(); }
true
b6343322640eb8ac9afb73520c1e59e0e7660c18
Java
Ashleychen/MEETING
/src/UI/BookingUI.java
UTF-8
8,986
2.640625
3
[]
no_license
package UI; import java.awt.Color; import java.awt.Panel; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.SQLException; import java.util.Calendar; import java.util.Date; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFormattedTextField; import ja...
true
30359e10d9e0d4d9705a8d3628565a70fea7d108
Java
qoo7972365/timmy
/OSWE/oswe/openCRX/rtjar/rt.jar.src/com/sun/xml/internal/ws/wsdl/parser/MemberSubmissionAddressingWSDLParserExtension.java
UTF-8
3,008
1.515625
2
[]
no_license
/* */ package com.sun.xml.internal.ws.wsdl.parser; /* */ /* */ import com.sun.xml.internal.ws.api.addressing.AddressingVersion; /* */ import com.sun.xml.internal.ws.api.model.wsdl.WSDLFeaturedObject; /* */ import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundOperation; /* */ import...
true
524ad6e4042059ee03d92b445620b586fc26360e
Java
wildstang/2011_software
/NutronCode/src/edu/neu/nutrons/lib/MotorMechanism.java
UTF-8
591
2.515625
3
[]
no_license
/* * MotorMechanism * * This interface is used to define mechanisms on the robot that have a motor * hooked up to some kind of feedback. Using this abstraction allows for sweeping * changes in the low level that dont affect control logic, like a simulator */ package edu.neu.nutrons.lib; /** * * @author NUTRON...
true
08b9f94052c386e1ff642668c4b1343761abb0f5
Java
guffyWave/Khurshid-Web-Delegation
/app/src/main/java/lab/computing/khurshid/khurshidwebdelegation/dto/WebRequest.java
UTF-8
2,427
2.109375
2
[]
no_license
package lab.computing.khurshid.khurshidwebdelegation.dto; import com.j256.ormlite.field.DataType; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; import java.util.Date; @DatabaseTable public class WebRequest { @DatabaseField(generatedId = true) int id; @DatabaseF...
true
2834f0b7241874a523e216235c1a3cd8d182b2fa
Java
DarenSu/Community
/src/main/java/com/nowcoder/community/controller/DiscussPostController.java
UTF-8
3,020
2.40625
2
[]
no_license
package com.nowcoder.community.controller; import com.nowcoder.community.entity.DiscussPost; import com.nowcoder.community.entity.User; import com.nowcoder.community.service.DiscussPostService; import com.nowcoder.community.service.UserService; import com.nowcoder.community.util.CommunityUtil; import com.nowcoder.comm...
true
924280b82c9840f051adbca3c4c6e5d64f1ce58d
Java
MarianoPaniagua/KafkaTest1
/src/main/java/com/pani/KafkaTest/controller/ApacheKafkaWebController.java
UTF-8
1,563
2.125
2
[]
no_license
package com.pani.KafkaTest.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.kafka.annotation.KafkaListener; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.an...
true
e10776af3f32b780f3b4bc617a655fd41065172f
Java
thanasit/hello-ews-openshift
/src/main/java/th/or/pao/revenueonline/model/base/Province.java
UTF-8
2,517
2.109375
2
[]
no_license
package th.or.pao.revenueonline.model.base; import com.fasterxml.jackson.annotation.JsonBackReference; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import j...
true
d0b1b727ae26fca755fb8e34f77f72c7b8823e9e
Java
iundarigun/design-patterns
/src/main/java/cat/ocanalias/designpatterns/nullobject/solucao/Main.java
UTF-8
926
3.546875
4
[]
no_license
package cat.ocanalias.designpatterns.nullobject.solucao; import cat.ocanalias.designpatterns.nullobject.Carrinho; /** * Created by uri on 18/11/16. */ public class Main { /** * Vamos supor que temos uma aplicaçao de compra e temos um carrinho * Precisamos pegar o carrinho da request. Agora o processo...
true
4dea7f1883881457beb1ab5702bd81f486cdf3c2
Java
aguisset/BattleshipGame
/documents-export-2015-11-28/Grid.java
UTF-8
1,463
3.203125
3
[]
no_license
package grid; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.io.Writer; import java.util.HashSet; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Grid extends Cell{ /*Grid dimension & ship position*/ pri...
true
2f5ba65b6a890b80048e3728f9cb141d512aca5c
Java
Samyak81/RetrofitExample
/src/main/java/com/example/darshan/retrofitdemo/RetroApp.java
UTF-8
329
1.679688
2
[]
no_license
package com.example.darshan.retrofitdemo; import android.app.Application; import com.activeandroid.ActiveAndroid; /** * Created by darshan.mistry on 9/1/2015. */ public class RetroApp extends Application { @Override public void onCreate() { super.onCreate(); ActiveAndroid.initialize(this);...
true
f15a5bfed76765065019b04443961b3ae5f730d5
Java
tsdavid/QBox
/src/main/java/com/dk/codingTest/hyndaiCard/bfsDfs/TargetNumber.java
UTF-8
1,104
3.359375
3
[]
no_license
package com.dk.codingTest.hyndaiCard.bfsDfs; import java.lang.annotation.Target; public class TargetNumber { public static void main(String[] args) { int[] numbers = {1, 1, 1, 1, 1}; int target = 3; int returns = 5; TargetNumber targetNumber = new TargetNumber(); System....
true
4637100e8eb42c6bceb68885782ea0ee507d2e46
Java
tmyzh13/FusionWorker
/app/src/main/java/com/bm/fusionworker/presenter/InspectionItemInfoPresenter.java
UTF-8
1,712
1.90625
2
[]
no_license
package com.bm.fusionworker.presenter; import com.bm.fusionworker.model.UserHelper; import com.bm.fusionworker.model.apis.InspectionItemInfoApi; import com.bm.fusionworker.model.beans.BaseData; import com.bm.fusionworker.model.beans.InspectionItemInfoBean; import com.bm.fusionworker.model.beans.RepairItemInfoBean; imp...
true
6ab2f642fc4bbb7ab40b6abd30aa94b5dd062bbc
Java
Jade5916/zealot
/src/main/java/com/blinkfox/zealot/exception/ZealotException.java
UTF-8
611
2.5
2
[ "Apache-2.0" ]
permissive
package com.blinkfox.zealot.exception; /** * 自定义的Zealot运行时异常. * * @author blinkfox on 2018-04-24. */ public class ZealotException extends RuntimeException { private static final long serialVersionUID = 1L; /** * 附带日志消息参数的构造方法. * @param msg 日志消息 */ public ZealotException(String msg) { ...
true
580a08f6c5b854d4dccfd2e77a16dd4a3bc29c16
Java
katanike/learning-Datastructures-and-Algorithms
/Algorithms/hackerRank/MigratoryBirds.java
UTF-8
1,431
3.640625
4
[]
no_license
import java.util.*; public class MigratoryBirds { public static void main(String args[]) { List<Integer> arr=new ArrayList<Integer>(); arr.add(1); arr.add(4); arr.add(4); arr.add(4); arr.add(5); arr.add(3); HashMap<Integer,Integer> birds=new HashMap<Integer,Integer>(); i...
true
52f32957714417c57f9b370bb70b107b3d6ee9ea
Java
RaulG89/CPM-1
/2015/Modulo_2015/src/igu/PanelCardLayout/PanelListaCruceros.java
UTF-8
27,913
2.09375
2
[]
no_license
package igu.PanelCardLayout; import java.awt.*; import java.awt.event.*; import java.util.ArrayList; import javax.swing.*; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import javax.swing.event.TableModelEvent; import javax.swing.table.*; import igu.VentanaPrincipal; import igu.Panel...
true
46cb15729eeb4482ffc9e4f9ed85141b3309d1e3
Java
erikness/graph
/src/com/erikleeness/graph/Vector2D.java
UTF-8
496
3.078125
3
[]
no_license
package com.erikleeness.graph; public class Vector2D { public Vector2D(double x, double y) { this.x = x; this.y = y; } public double x; public double y; public boolean inBounds(int xmin, int ymin, int xmax, int ymax) { return x >= xmin && x <= xmax && y >= ymin && y <= ymax; } public boolean isFinit...
true
34b603e1bf7ddd2113da52c1c8ef2b2c8085e736
Java
AmryRp/HRManagement
/src/models/EntityLocation.java
UTF-8
1,628
2.421875
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 models; /** * * @author amry4 */ public class EntityLocation { private Integer Id; public EntityLocation() { ...
true
1a6152851e432e2487785d7eb58db424db93a9c4
Java
HeNanFei/graduation
/mservice2/src/main/java/com/zjt/graduation/mservice2/config/RabbitMessageListener.java
UTF-8
2,705
2.046875
2
[]
no_license
package com.zjt.graduation.mservice2.config; import cn.hutool.json.JSONUtil; import com.fasterxml.jackson.databind.ObjectMapper; import com.rabbitmq.client.Channel; import com.zjt.graduation.common.dto.order.Messager; import com.zjt.graduation.common.entity.Orders; import com.zjt.graduation.common.entity.SellGood; imp...
true
90d056ffb279bfda68fd113fcdcfe53028a20f25
Java
valetedo/seeg-sampling
/src/main/java/com/biolab/xtens/contact/bean/PersonalData.java
UTF-8
45,050
1.984375
2
[]
no_license
package com.biolab.xtens.contact.bean; import java.util.Date; public class PersonalData { /** * This field was generated by MyBatis Generator. * This field corresponds to the database column PERSONAL_DATA.ID_PRS_DATA * * @mbggenerated Sun Apr 14 16:24:57 CEST 2013 */ privat...
true
19ff2b4c8e25d7688e55b20a2bafe4266e170828
Java
HEITAOCHAO/tensqure
/tensquare_user/src/main/java/com/tensquare/user/interceptor/JWTInterceptor.java
UTF-8
1,045
2.359375
2
[]
no_license
package com.tensquare.user.interceptor; import io.jsonwebtoken.Claims; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import util.JwtUtil; import javax.servlet.http.HttpServletReq...
true
3b1ac954489556659534dc7a99a587c62c0148fe
Java
dalzinho/terminus
/src/main/java/com/terminl/demo/database/entity/visit/AirportVisitRepository.java
UTF-8
263
1.640625
2
[]
no_license
package com.terminl.demo.database.entity.visit; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface AirportVisitRepository extends JpaRepository<AirportVisit, Integer> { }
true
080203c58ee196aff09c8aa30c8823d467203ada
Java
uiocool/MyDemo
/app/src/main/java/com/example/administrator/mydemo/util/JsonUtil.java
UTF-8
2,646
2.5
2
[]
no_license
package com.example.administrator.mydemo.util; import com.example.administrator.mydemo.entity.AtDemand; import com.example.administrator.mydemo.entity.TabAccount; import com.example.administrator.mydemo.entity.TestData; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonElement; ...
true
92b04ecb75aec5b4bcf14f4fc4d7155f16845991
Java
bestjonav2/EVA3_PRACTICAS
/EVA3_11_BROADCAST_RECIEVER/app/src/main/java/com/bj/j622/eva3_11_broadcast_reciever/CustomService.java
UTF-8
1,665
2.609375
3
[]
no_license
package com.bj.j622.eva3_11_broadcast_reciever; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.util.Log; public class CustomService extends Service { Thread hilo; Intent dataIntent; @Override public IBinder onBind(Intent intent) { // TODO...
true
7db25850b78d61493f5e7a5bdae358ba799003af
Java
michaelpcote/HealthSystem
/Health_Interactions/src/PatientDAOTest.java
UTF-8
752
2.265625
2
[]
no_license
import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; import dao.oracle.PatientDAO; import beans.Patient; public class PatientDAOTest { private Patient patient = null; @Before public void setUp() throws Exception { patient = new Patient(); patient.setAd...
true
284e15f331d62e8f80898c7de7221c8600dbe813
Java
richardvclam/arbitrader
/src/main/java/com/rlam/arbitrader/App.java
UTF-8
3,458
3.140625
3
[]
no_license
package com.rlam.arbitrader; import java.util.ArrayList; public class App { public static final boolean test = true; public static String[] currencies = {"USD", "BTC", "ETH", "LTC"}; public static double[][] marketRates = {{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}}; ...
true
67f08463765d692ee13842fa7a938bcb8d9ed6c1
Java
fishtzz/JieMaster
/app/src/main/java/com/szmaster/jiemaster/network/base/HttpConnector.java
UTF-8
8,761
2.25
2
[]
no_license
package com.szmaster.jiemaster.network.base; import android.os.Build; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.concurrent.TimeUnit; import com.szmaster.jiemaster.App; import com.szmaster.jiemaster.Constants; import com.szmaster.jiemaster.db.PreferenceImp; import co...
true
56bacd42c29c26da5efc4339f1d2436496fd8e9a
Java
KevzPeter/Computer_Graphics
/Stickman.java
UTF-8
702
3.171875
3
[ "MIT" ]
permissive
import java.awt.*; import javax.swing.*; class MyCanvas3 extends JComponent { public void paint(Graphics g) { g.drawRect(5,5,190,190); g.drawOval(90,60,20,20); g.drawLine(100,80,100,120); g.drawLine(100,100,80,100); g.drawLine(100,100,120,75); g.drawLine(10...
true
7c0f698bf7d0a9776e09c2cc52c53f39d01937ad
Java
shanzalewis/Portfolio
/VendingMachineSimulator/src/VendingMachineSimulator.java
UTF-8
8,516
3.265625
3
[]
no_license
/** * EN.605.201 Introduction to Java Programming * This is the main class for Vending Machine Simulator. * At program startup, the vending machine is loaded with a variety of products * in a variety of packaging. Also included is the cost of each item. * The program is designed to load a different set of prod...
true
5aa2f8cfe8bf8086ede61fd5204226a785db48e1
Java
droidsde/eclip_app
/AntiVirusProxanh2/src/com/security/virusscanner/antivirus/SplashActivity.java
UTF-8
2,597
1.984375
2
[]
no_license
package com.security.virusscanner.antivirus; import java.io.IOException; import java.util.Calendar; import com.security.virusscanner.antivirus.R; import com.security.virusscanner.antivirus.free.DataHelper; import com.security.virusscanner.antivirus.service.ScanService; import android.app.Activity; import android.app...
true
ced583b3ecbd17f371f0d16fd41b6b81252821e1
Java
holmes/intellij
/base/src/com/google/idea/blaze/base/console/BlazeConsoleServiceImpl.java
UTF-8
1,906
1.835938
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2016 The Bazel Authors. 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 required by a...
true
158885533b4bbb664015d91668007e3878b37ac5
Java
PerDalsten/MusicLibraryToolsSpring
/src/main/java/dk/purplegreen/musiclibrary/tools/model/AlbumCollection.java
UTF-8
773
2.296875
2
[]
no_license
package dk.purplegreen.musiclibrary.tools.model; import java.util.ArrayList; import java.util.Collection; import java.util.List; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.anno...
true
0259c67d3c0817a077cab768e9bcd5f740199bb2
Java
Shubhamb162/EcommerceProject
/projectbackend/src/main/java/niit/projectbackend/projectbackend/dao/impl/CartDaoImpl.java
UTF-8
1,164
2.234375
2
[]
no_license
package niit.projectbackend.projectbackend.dao.impl; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; import niit.projectbackend.projectbackend.Cart; im...
true
2c8f89d2b4e3255c0a746f03b5f697d45dd66cde
Java
guojunhua/Demo1
/haha/src/main/java/com/lzl_rjkx/doctor/utils/MyParams.java
UTF-8
473
1.703125
2
[]
no_license
package com.lzl_rjkx.doctor.utils; import org.xutils.http.RequestParams; /** * Created by Administrator on 2016/3/18. */ public class MyParams { public final static RequestParams getParams(String url,String appToken){ RequestParams params=new RequestParams(url); params.addHeader("USER-AGENT-TYP...
true
3f68f4d5d5a387b189d4d3e6946114d3e3f4ab4d
Java
qfsf0220/gitxuexi
/test001/src/KFjava/test20170424/LogicCalc.java
UTF-8
910
3.609375
4
[]
no_license
package KFjava.test20170424; /** * Created by Administrator on 2017/4/24. */ public class LogicCalc { public static void main (String args []){ int a = 5; int b = 10; int c = 10; int e= 10; int f= 10; if (a>2 |b++ >10){ // |这个是非短路或操作 a>2做完 还会继续操作b++ 虽然b++操作对结果没有影...
true
37d1ac9dc1c31f333219a18c450f07a63154098e
Java
selbiselbi/jdonref
/JDONREFv4/src/main/java/org/elasticsearch/index/query/jdonrefv4/JDONREFv4QueryBuilder.java
UTF-8
2,940
1.960938
2
[]
no_license
package org.elasticsearch.index.query.jdonrefv4; import java.io.IOException; import org.elasticsearch.common.lucene.search.jdonrefv4.MaximumScoreBooleanQuery; import org.elasticsearch.common.xcontent.ToXContent.Params; import org.elasticsearch.common.xcontent.XContentBuilder; import org.elasticsearch.index.query.BaseQ...
true
67b9e149df07a2bd43d4d50607404a9beb6f38f3
Java
drbgfc/chpl-api
/chpl/chpl-service/src/main/java/gov/healthit/chpl/entity/surveillance/SurveillanceNonconformityEntity.java
UTF-8
8,059
1.898438
2
[ "BSD-3-Clause", "BSD-2-Clause-Views" ]
permissive
package gov.healthit.chpl.entity.surveillance; import java.util.Date; import java.util.HashSet; import java.util.Set; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence....
true
8814ffe93f524551631685059f40e2d326bc2262
Java
Kuuskinen/SmitBookRental
/src/main/java/com/example/smitbookrental/service/ReservationRepository.java
UTF-8
746
1.984375
2
[]
no_license
package com.example.smitbookrental.service; import com.example.smitbookrental.entity.ReservationEntity; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Rep...
true
e9660d68c2df279e6b3e24027a32474a7380e48e
Java
NikoletaDeleva/TrainingRepo
/Homework2/src/Six.java
UTF-8
391
3.421875
3
[]
no_license
import java.util.Scanner; public class Six { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Vuvedi chislo:"); int chislo = input.nextInt(); int sum = 0; for(int count = 1; count<=chislo; count++) { sum +=count; }System.out.println("Sumata na vsic...
true
23b4d8996a6343f2c7d8187f57deebaeaa7943a0
Java
mahesh122000/Data-Structures
/Binary-Tree/Binary_Tree_Tilt.java
UTF-8
585
3
3
[]
no_license
class Solution { int sum; public int findTilt(TreeNode root) { if(root==null) return 0; sum=0; fill(root); find(root); return sum; } int fill(TreeNode root) { if(root==null) return 0; int l=fill(root.left); in...
true
b47d01865ebb32165972ea37a4d89389437ac3c9
Java
Atlanca/LearningGit
/app/src/main/java/chalmers/talex/learninggit/DietModel/Categories.java
UTF-8
183
1.59375
2
[]
no_license
package chalmers.talex.learninggit.DietModel; /** * Created by SAMSUNG on 2017-03-25. */ public enum Categories { PORK, FISH, CHICKEN , BEEF, SALAD, VEGETABLE, FRUIT, GRAIN }
true
558bc033af0e99a4cc1110ee40902303718e1809
Java
opus-research/ancient-organic
/src/java/br/pucrio/inf/organic/extensions/ui/agglomeration/AgglomerationLabelProvider.java
UTF-8
2,144
2.359375
2
[]
no_license
package br.pucrio.inf.organic.extensions.ui.agglomeration; import java.net.MalformedURLException; import java.net.URL; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jface.viewers.StyledCellLabelProvider; import org.eclipse.jface.viewers.StyledString; import org.eclipse.jface.viewers.ViewerCell...
true
29a6d786873a635eb7b9ce322c4db1babc72e932
Java
ADDPALADIN1983/A_Gregos_Capstone
/app/src/main/java/com/example/a_gregos_capstone/ViewPagerAdapter.java
UTF-8
968
2.328125
2
[]
no_license
package com.example.a_gregos_capstone; import java.util.List; import androidx.annotation.NonNull; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentActivity; import androidx.lifecycle.ViewModelProviders; import androidx.viewpager2.adapter.FragmentStateAdapter; public class ViewPagerAdapter ...
true
af4b8a2a7bb8aa6bcdefda82f42ca1c7113676a8
Java
MirelleGushomoto/Projeto05POO
/Projeto-06-master/src/java/br/com/fatecpg/jdbc/Compras.java
UTF-8
3,348
2.203125
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 br.com.fatecpg.jdbc; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; i...
true
8fb2f9de9266ddf214476e8a3c4c8ee46718412f
Java
fcevatyilmaz/Spring-Projects
/018_PrototypeScope/src/main/java/com/furkanyilmaz/SelamApp.java
UTF-8
936
1.96875
2
[]
no_license
package com.furkanyilmaz; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class SelamApp { public static void main(String[] args) { ApplicationContext context = new ClassPathXmlApplicationContext("SpringBeansConfig.xml"); ...
true
73877117c6b204737f384cffd510d876f76507bf
Java
bitterbit/quotes-app
/QuoteApp/src/main/java/com/gtr/quotes/views/QuoteViewPhone.java
UTF-8
761
2.109375
2
[]
no_license
package com.gtr.quotes.views; import android.content.Context; import com.galtashma.lazyparse.LazyParseObjectHolder; import com.gtr.quotes.quote.Quote; public class QuoteViewPhone extends QuoteView { public QuoteViewPhone(Context context, LazyParseObjectHolder<Quote> quote) { super(context, quote); }...
true
ba065edaf0e2058b2ebfb8de2875b484573e063e
Java
wire2coder/android_baking_app
/app/src/androidTest/java/com/bkk/android/android_bake1/TabletTest.java
UTF-8
2,863
1.984375
2
[]
no_license
package com.bkk.android.android_bake1; import android.support.test.espresso.contrib.RecyclerViewActions; import android.support.test.espresso.matcher.ViewMatchers; import android.support.test.rule.ActivityTestRule; import android.support.test.runner.AndroidJUnit4; import com.bkk.android.android_bake1.Util.KeyUtil; ...
true
142d5c12696d990a1de5c860f693d9bef1f204df
Java
dickiep/relationAndroid
/commented but not working/RelationBN-2/app/src/main/java/com/dickies/android/relationbn/productdisplay/CategoryProductsDisplayActivity.java
UTF-8
2,744
2.171875
2
[]
no_license
package com.dickies.android.relationbn.productdisplay; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import androi...
true
4d58dadae63668f0a64ac0510cf885ccc69997cf
Java
powerex/MPIUsed
/src/main/java/com/mathpar/parallel/stat/FMD/Test.java
UTF-8
3,745
2.203125
2
[]
no_license
/** * Copyright © 2011 Mathparca Ltd. All rights reserved. */ package com.mathpar.parallel.stat.FMD; import com.mathpar.matrix.MatrixD; import com.mathpar.matrix.file.dense.FileMatrixD; import com.mathpar.number.Element; import com.mathpar.number.Newton; import com.mathpar.number.NumberZ; import com.mathpar.number.Ri...
true
56613b2529385985088b0d433d42ec1925ab1687
Java
nizeyu/Practice
/0314. Binary Tree Vertical Order Traversal.java
UTF-8
1,513
3.34375
3
[]
no_license
/** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */ class Position { TreeNode node; int column; public Position(TreeNode node, int column) { this.node = node; this.colu...
true
17f2bdf4e4017f04f18e55d3c444e7633c02d353
Java
togetherworks/Procurement-System
/src/main/java/com/ncs/iframe4/ps/action/CustomerAction.java
UTF-8
620
1.859375
2
[]
no_license
package com.ncs.iframe4.ps.action; import java.io.Serializable; import com.ncs.iframe4.ps.service.CustomerService; /** * * Common action User: qinjun Date: 12-1-16 Time: 上午10:49 To change this * template use File | Settings | File Templates. */ public class CustomerAction implements Serializable { ...
true
2f7a6dca0fa60fd8b8055dcf80c517e40457db0b
Java
dilip-devaraj/Interview
/Interview/src/ReverseListKGroup.java
UTF-8
1,536
3.84375
4
[]
no_license
public class ReverseListKGroup { public ListNode reverseKGroup(ListNode head, int k) { ListNode curr = head; int count = 0; while (curr != null && count != k) { // find the k+1 node curr = curr.next; count++; } if (count == k) { // if k+1 node is found curr = reverseKGroup(curr, k); // reverse list ...
true
b3d07d84f2305c8561d2e9ec2c68a8b2848b43ac
Java
BuZhiheng/xx
/platform/src/main/java/com/horen/cortp/platform/contract/ExperienceCreateTxtContract.java
UTF-8
920
1.78125
2
[]
no_license
package com.horen.cortp.platform.contract; import android.content.Intent; import android.widget.EditText; import com.horen.cortp.platform.bean.ExperienceCreate; import com.jaydenxiao.common.base.BaseModel; import com.jaydenxiao.common.base.BasePresenter; import com.jaydenxiao.common.base.BaseView; /** * Created by HO...
true
80f8f50a9e6961730dd99aa45612347b1849135e
Java
yehecan/bw-calendar-engine
/bw-calendar-engine-impl/src/main/java/org/bedework/calsvc/Calendars.java
UTF-8
20,978
1.5
2
[]
no_license
/* ******************************************************************** Licensed to Jasig under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Jasig licenses this file to you under the Apache License, ...
true
a26ec745494fea3a3ebe42dd12de4a780a800aef
Java
kannabi/graphony
/Isoline/src/ru/nsu/ccfit/schukin/IsolineView/CoordinatesBar.java
UTF-8
1,915
2.890625
3
[]
no_license
package ru.nsu.ccfit.schukin.IsolineView; import javax.swing.*; import java.awt.*; import java.awt.image.BufferedImage; import java.text.DecimalFormat; import static ru.nsu.ccfit.schukin.Entities.Const.DEFAULT_HEIGHT; import static ru.nsu.ccfit.schukin.Entities.Const.DEFAULT_WIDTH; import static ru.nsu.ccfit.schukin....
true
3fbd65d97765fc7b8f8b95301c0c7f14686f125f
Java
menakaprabu/Learnbay
/src/main/java/Companies/eBay/MinMeetingRequired.java
UTF-8
937
3.140625
3
[]
no_license
package Companies.eBay; import java.util.Arrays; import java.util.PriorityQueue; import java.util.Queue; public class MinMeetingRequired { private static int minMeetingRooms(int[][] intervals) { if (intervals.length == 0) { return 0; } Arrays.sort(intervals, (a, b) -> Integer.c...
true
7c962b75742f8d8c332b4776568eaee7bca22143
Java
afahmip/ArkavQuariumJava
/src/com/arkavquarium/controller/GameOption.java
UTF-8
166
1.84375
2
[]
no_license
package com.arkavquarium.controller; /** * Represents the options on the game. */ enum GameOption { NONE, BUY_FOOD, BUY_GUPPY, BUY_PIRANHA, BUY_EGG, TAKE_COIN }
true
25b2e39a92e0404955ad25ebb6465a329921eb3d
Java
tripti91/Foodwayz
/app/src/main/java/com/foodwayz/owner/OwnerFreagment/Resturent_detail_Fragment.java
UTF-8
17,279
1.5625
2
[]
no_license
package com.foodwayz.owner.OwnerFreagment; import android.Manifest; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.BitmapShader; i...
true
cd9258969e13b043aa963d2d71bfba84dc5f7c2f
Java
JAVA-FOR-YOUR-HOSPITAL/Hospital-reservation-program
/src/Hostpital_System_View/ViewMain2.java
UHC
9,319
2.484375
2
[]
no_license
package Hostpital_System_View; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.time.Month; import java.util.ArrayList; import java.util.Calendar; import javax.swing.ImageIcon; import javax....
true
cf911ac9dfd728558779ae456bcfadbe938b5f3b
Java
YumTao/Topology
/storm-wordcount/src/main/java/com/yumtao/driver/WordCountTp.java
UTF-8
1,490
2.65625
3
[]
no_license
package com.yumtao.driver; import backtype.storm.Config; import backtype.storm.StormSubmitter; import backtype.storm.generated.StormTopology; import backtype.storm.topology.TopologyBuilder; import backtype.storm.tuple.Fields; /** * Topology任务注册类 1.指定sport实例 2.指定bolt实例 3.提交任务 * * @author yumTao * */ public class...
true
33f8ceb4d684cc5b700f035051cc9859224b027b
Java
yobbo-wang/MS
/src/main/java/wang/yobbo/sys/controller/SysMenuController.java
UTF-8
3,243
2.15625
2
[]
no_license
package wang.yobbo.sys.controller; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; i...
true
cedee591d0ff917b9e1ab2ea7d961300b327be8d
Java
h2oai/h2o-3
/h2o-mapreduce-generic/src/main/java/water/hadoop/h2odriver.java
UTF-8
82,228
1.585938
2
[ "Apache-2.0" ]
permissive
package water.hadoop; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.Text; import org.apache.hadoop.io.Writable; import org.apache.hadoop.mapreduce.*; import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat; im...
true
626905672c2824e1e2c0eb535dca5ef43ea742a6
Java
Scriptgate/engine-core
/src/main/java/net/scriptgate/engine/image/ImageLoader.java
UTF-8
2,797
2.609375
3
[]
no_license
package net.scriptgate.engine.image; import javax.imageio.ImageIO; import java.awt.Graphics; import java.awt.GraphicsConfiguration; import java.awt.image.BufferedImage; import java.awt.image.DataBufferInt; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.Map; import s...
true
eed9d68dcb8226f92be98ef750393710b86fdd86
Java
juanicastellan0/CarWorkshop
/src/jic/controllers/RepairOrderController.java
UTF-8
3,593
3.265625
3
[ "MIT" ]
permissive
package jic.controllers; import jic.models.Car; import jic.models.RepairOrder; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.Scanner; public class RepairOrderController { private static Scanner scanner = new Scanner(Syste...
true
d18d4ebc8693521aae3402b0210a21e3eb305da7
Java
studyforeign/genuinetest
/genuine-modules/genuine-kdb/src/main/java/com.sn.genuinetest/module/kdb/util/ValidatorRegistry.java
UTF-8
1,868
2.484375
2
[]
no_license
package com.sn.genuinetest.module.kdb.util; import com.sn.genuinetest.module.kdb.util.q.QType; import org.apache.logging.log4j.Logger; import java.io.IOException; import java.util.HashMap; import java.util.Map; import static com.sn.genuinetest.module.kdb.util.q.QType.*; import static org.apache.logging.log4j.LogMana...
true
452f859253069ddfc174ea3c36bb4d44d1b62a6a
Java
cengler/caeycae-mdi-sample
/src/com/appspot/mdisample/client/event/NavigationTabEvent.java
UTF-8
1,849
2.390625
2
[]
no_license
package com.appspot.mdisample.client.event; import com.appspot.mdisample.client.module.content.navigation.NavigationTabElement; import com.google.gwt.event.shared.EventHandler; import com.google.gwt.event.shared.GwtEvent; import com.gwtplatform.mvp.client.HasEventBus; /** * @author Olivier Monaco * @auth...
true
3d0a8c9e9a296ed0b39fe988f3e4ceafbce3fde4
Java
YamAzoulay/menuColors
/app/src/main/java/com/example/yam35/menucolors/Main2Activity.java
UTF-8
1,502
2.203125
2
[]
no_license
package com.example.yam35.menucolors; import android.content.Intent; import android.graphics.Color; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.LinearLayo...
true
84497c75b4b572fdf8c07c8df2d4e9209a18700b
Java
bacali95/ACM-Algorithms
/src/com/eniso/acm/Mathematics/NumberTheory/PrimeNumbers.java
UTF-8
1,158
3.625
4
[]
no_license
package com.eniso.acm.Mathematics.NumberTheory; import java.io.*; import java.util.*; public class PrimeNumbers { static BitSet isPrime = new BitSet(10000000); static ArrayList<Long> primes = new ArrayList<>(); static void sieve() { isPrime.set(0); isPrime.set(1); for (long i = 2...
true
c8eb2e7e022fd27efa4a5e9091ce767f8877d6c6
Java
moutainhigh/Fexie-Spring-MVC-Backend
/fexie_openservice/fexie-common/src/main/java/com/yuzhidi/ro/product/ProductCartDetailRO.java
UTF-8
587
1.617188
2
[]
no_license
package com.yuzhidi.ro.product; import lombok.Data; import java.util.List; /** * 商品购物车 * Created by chen.qiu on 2017/4/28 at 20:40. */ @Data public class ProductCartDetailRO implements java.io.Serializable { private boolean is_vip; private double total; private long count; private boolean select_...
true
38324710ccb352bb5a77fdd87b6761f0edadc16f
Java
marcoaureliomunhoz/android
/apps/androidx/MemoList/app/src/main/java/br/com/marcoaureliomunhoz/memolist/activities/MemoListActivity.java
UTF-8
4,944
2.171875
2
[]
no_license
package br.com.marcoaureliomunhoz.memolist.activities; import br.com.marcoaureliomunhoz.memolist.MemoListApplication; import br.com.marcoaureliomunhoz.memolist.R; import br.com.marcoaureliomunhoz.memolist.adapters.MemoListRecyclerAdapter; import br.com.marcoaureliomunhoz.memolist.callbacks.MemoListItemTouchHelperCallba...
true
4f056fc9e6db725c5805851595bf7e6fccf01b44
Java
ZerocksX/Java-Course-2017
/hw15-0036492049/src/main/java/hr/fer/zemris/java/dao/DAOProvider.java
UTF-8
386
2.28125
2
[]
no_license
package hr.fer.zemris.java.dao; import hr.fer.zemris.java.dao.jpa.JPADAOImpl; /** * {@link DAO} provider * @author Pavao Jerebić */ public class DAOProvider { /** * Instance of {@link DAO} implementation */ private static DAO dao = new JPADAOImpl(); /** * getter for DAO * @return ...
true
69d9c69d99a43405243a403b2bc6cdf722d08a7b
Java
victorperone/PadroesdeProjetos
/Mediator/mediator/src/mediator/TorreMediator.java
UTF-8
812
3.140625
3
[]
no_license
package mediator; import java.util.ArrayList; public class TorreMediator implements Mediator{ protected ArrayList<Colleague> avioes; public TorreMediator() { avioes = new ArrayList<Colleague>(); } public void adicionarColleague(Colleague colleague) { avioes.add(colleague); } @Overri...
true
458d7efe9d757f862b19c8541d551a0c87252622
Java
sanwaralkmali/imglib2
/src/test/java/net/imglib2/util/StopWatchTest.java
UTF-8
1,921
3.140625
3
[ "BSD-2-Clause" ]
permissive
package net.imglib2.util; import org.junit.Ignore; import org.junit.Test; import static org.junit.Assert.assertEquals; public class StopWatchTest { @Ignore // NB: This is not a test. But it's a short demo how StopWatch could be used during debugging. @Test public void demo() throws InterruptedException { StopW...
true
90b372a7af66ae2c2bda85af8c37a24cfe3452ba
Java
cha63506/CompSecurity
/Shopping/amazon_shopping_source/src/com/amazon/rio/j2me/client/services/mShop/BarcodeSearchRequest.java
UTF-8
1,460
1.6875
2
[]
no_license
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.amazon.rio.j2me.client.services.mShop; public class BarcodeSearchRequest { private String barcode; private String barcodeT...
true
d138a937ced579725f05bcaeb9ccdefe8746c926
Java
razkevich/swagger-gen
/src/test/java/ru/sbrf/ufs/eu/bh/services/valueobjects/admin/producttype/BankingProductSubtypeUpdateVO.java
UTF-8
825
2.0625
2
[]
no_license
package ru.sbrf.ufs.eu.bh.services.valueobjects.admin.producttype; public class BankingProductSubtypeUpdateVO { private Long typeId; private Long id; private Integer sequence; private String productSubtype; public Integer getSequence() { return sequence; } public void setSequence...
true
eb9ee42c0da96b21ddda256db462c3f409088d1e
Java
IdelsTak/dpml-svn
/tags/SDK-2.0.2/main/depot/tools/src/main/dpml/tools/tasks/RMICTask.java
UTF-8
5,011
1.984375
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2006 Stephen McConnell * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
true
730640e51338e3b3d75c71849291e530cccd3942
Java
rbkmoney/magista
/src/main/java/com/rbkmoney/magista/query/BaseQuery.java
UTF-8
1,735
2.5625
3
[ "Apache-2.0" ]
permissive
package com.rbkmoney.magista.query; /** * Created by vpankrashkin on 04.08.16. */ public abstract class BaseQuery<T, CT> implements Query<T, CT> { private final Object descriptor; private QueryParameters queryParameters; private Query parentQuery; public BaseQuery(Object descriptor, QueryParameters...
true
6922c0bb3b92c84930d8944745369aacb41e917c
Java
SheepYang1993/MobileSafe
/app/src/main/java/com/sheepyang/mobilesafe/ui/ToolsActivity.java
UTF-8
573
1.867188
2
[]
no_license
package com.sheepyang.mobilesafe.ui; import android.content.Intent; import android.os.Bundle; import android.view.View; import com.sheepyang.mobilesafe.R; /** * Created by SheepYang on 2016/6/11 14:00. */ public class ToolsActivity extends BaseActivity{ @Override protected void onCreate(Bundle savedInstanc...
true
c148027d7f6791d05f9abe2181528b1319dd0066
Java
MaibornWolff/codecharta
/analysis/import/SourceCodeParser/src/test/resources/max-nesting-level/lambda_function.java
UTF-8
225
2.796875
3
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "BSD-3-Clause", "LGPL-3.0-only" ]
permissive
class LambdaFunction { public void lamba() { FuncInterface fobj = (int x) -> { if(a<b) { System.out.println(2 * x); } }; fobj.abstractFunction(5); } }
true
5a12029569d1d77bf29b627d811a97426bef8a84
Java
Guifamelo/Guithub
/ListaHerança/testePessoa.java
UTF-8
586
2.453125
2
[]
no_license
package listaPOO; public class testePessoa { public static void mais(String args[]) { pessoa guilherme = new pessoa("Guilherme", 1014); vendedor leonardo = new vendedor ("Leonardo", 1015, 1000, 10); administrador laurent = new administrador ("Laurent", 1016, 500); pessoa guigui = new vendedor("Guigui", 1017,...
true
560b58d2538c3e9ed9933113e329405ccb6692d8
Java
webprotocol/MosaicSpring
/src/main/java/com/hybrid/controllers/PrimaryController.java
UTF-8
3,782
2.203125
2
[]
no_license
package com.hybrid.controllers; import com.gluonhq.particle.application.ParticleApplication; import com.gluonhq.particle.state.StateManager; import com.gluonhq.particle.view.ViewManager; import java.util.ResourceBundle; import javafx.event.EventHandler; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import ...
true
d26f7130f6147b87d65fbfd7b40083e2ea215adf
Java
bmickow/Calculator
/Calculator.java
UTF-8
41,571
2.9375
3
[]
no_license
import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JComponent; import java.awt.event.ActionListener; import java.math.BigDecimal; import java.math.RoundingMode; import java.text.DecimalFormat; import java.awt.event.ActionEvent; import javax.swing.JLabel; impo...
true
bde5de6724b421fbbe67e3defdd4c1828b346531
Java
Piglet719/iThome
/code/SelectionSort.java
UTF-8
587
3.515625
4
[]
no_license
public class SelectionSort { public static void main(String[] args){ int[] arr = {41, 24, 97, 6, 19, 53, 78}; int n = arr.length; for(int i = 0 ; i < n-1 ; i++){ int min = i; for(int j = i+1 ; j < n ; j++){ if(arr[min] > arr[j]){ //找最小值 ...
true
108b8d8b7e892c1e7aec06c4c1241bb1d399c699
Java
sabex/udacity-project1
/starter/cloudstorage/src/main/java/com/udacity/jwdnd/course1/cloudstorage/services/FileService.java
UTF-8
1,736
2.6875
3
[]
no_license
package com.udacity.jwdnd.course1.cloudstorage.services; import com.udacity.jwdnd.course1.cloudstorage.mapper.FileMapper; import com.udacity.jwdnd.course1.cloudstorage.model.File; import com.udacity.jwdnd.course1.cloudstorage.model.User; import java.io.IOException; import java.util.List; import org.springframework.ste...
true