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
574c0c45ccb3a337b480f228f536bf6d8f4c7243
Java
hehuazheng/spring-rest-demo
/src/main/java/hello/CustomizationBean.java
UTF-8
768
2.109375
2
[]
no_license
package hello; import org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer; import org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer; import org.springframework.stereotype.Component; /** * Created by hejf on 2017/7/12. */ @Component public class CustomizationBean...
true
f857817c643b2c957e94eab3e10efdbff58e537a
Java
Elscha/UniDefense
/src/uni_defense/logic/buildings/Building.java
UTF-8
414
2.640625
3
[]
no_license
package uni_defense.logic.buildings; public abstract class Building { /** * @param dtime The time since last step in milliseconds. */ public abstract void step(double dtime, int x, int y); public abstract int getInfluenceRange(); public abstract int getThreatLevel(); publi...
true
c91715fad9642c54133e1e7a5f9bb757e309b9a0
Java
williamyyj/mjo2
/src/main/java/hyweb/jo/fun/ende/encode_asezip.java
UTF-8
1,830
2.203125
2
[ "Apache-2.0" ]
permissive
/* * 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 hyweb.jo.fun.ende; import de.idyl.winzipaes.AesZipFileEncrypter; import de.idyl.winzipaes.impl.AESEncrypter; import d...
true
4efe87d55712eceb7f0e974fbbd221337e66b0aa
Java
initLiu90/base-gradle_2.3.0-build-system
/gradle-core/src/test/java/com/android/build/gradle/internal/dependency/DependencyGraphTest.java
UTF-8
12,891
1.84375
2
[ "Apache-2.0" ]
permissive
/* * Copyright (C) 2016 The Android Open Source Project * * 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 app...
true
cd4aee9082b30de0a9cd6b12070abc9dfaeaea9e
Java
teclan/teclan-activejdbc
/src/main/java/teclan/activejdbc/service/spi/KingbaseService.java
UTF-8
9,183
2.0625
2
[]
no_license
package teclan.activejdbc.service.spi; import java.util.List; import org.javalite.activejdbc.DB; import com.google.common.base.Joiner; import teclan.activejdbc.db.DataSource; import teclan.activejdbc.service.DbType; import teclan.activejdbc.service.DefaultDbService; public class KingbaseService extends DefaultDbSe...
true
693aee3ae686db232f1a503b1cc7df437eec9186
Java
guptavivek792/DemoProject
/demoProject/src/main/java/com/healogics/pretx/dao/impl/TokenDAOImpl.java
UTF-8
2,017
2.328125
2
[]
no_license
package com.healogics.pretx.dao.impl; import java.util.List; import javax.transaction.Transactional; import org.hibernate.SessionFactory; import org.hibernate.query.Query; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.healogics...
true
f80d38489d6561c50b3b7c8428183e5d4f0758fd
Java
ChoiMK/Outsourcing-Platform
/src/main/java/kr/or/plzdvl/chatting/controller/ChattingController.java
UTF-8
2,475
2.328125
2
[]
no_license
package kr.or.plzdvl.chatting.controller; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpSession; import kr.or.plzdvl.chatting.vo.ChattingVO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework....
true
bca433f185c8e38c41c4f1e5f435f44a1b09da1c
Java
vikev/SDP
/trunk/PC/PCControl/src/sdp/pc/vision/Vision.java
UTF-8
10,828
2.328125
2
[]
no_license
package sdp.pc.vision; import java.awt.BorderLayout; import java.awt.Graphics; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.image.BufferedImage; import javax.swing.ImageIcon; import javax.swing.JButton;...
true
b658d87329f1fc587af3fd39bafa604619e9c268
Java
cyl1234day/my_tmall_ssm
/src/main/java/cn/cyl/service/ProductService.java
UTF-8
854
2.203125
2
[]
no_license
package cn.cyl.service; import cn.cyl.entity.Category; import cn.cyl.entity.Product; import java.util.List; /** * @author chengyl * @create 2018-09-15-14:58 */ public interface ProductService { //根据分类来查询下面的所有产品 public List<Product> listByCategory(Category c); //根据关键词模糊查询 public List<Product> lis...
true
a76c93098d6c0f91cc1cdc8b9815a5fa64f4be59
Java
degtiarev/multi-agent-system
/src/SolarPanel.java
UTF-8
424
2.984375
3
[]
no_license
public class SolarPanel { private static final double peakPower = 3; double sunLevel; double amountOfGeneratedEnergy; public void setSunLevel(double sunLevel) { this.sunLevel = sunLevel; } public void generateEnergy() { amountOfGeneratedEnergy = 6 * peakPower * sunLevel; ...
true
7b5b238e07c35d05963c779d53b0e8e18132bab3
Java
cjlaserna/eclipsejavabackups
/Assignment1/CheckerboardKarel.java
UTF-8
782
3.3125
3
[]
no_license
/* * File: CheckerboardKarel.java * ---------------------------- * When you finish writing it, the CheckerboardKarel class should draw * a checkerboard using beepers, as described in Assignment 1. You * should make sure that your program works for all of the sample * worlds supplied in the starter folder. */ import st...
true
4f0621ee283bf5800ed3888ef2c74f13e224e627
Java
ederks85/three-syllable-lingo
/three-syllable-lingo-swing-client/src/main/java/games/tsl/swing/panels/CommandPanel.java
UTF-8
4,064
2.75
3
[]
no_license
package games.tsl.swing.panels; import games.tsl.swing.actions.gui.WindowCloseAction; import javax.swing.*; import javax.swing.border.Border; import java.awt.*; public class CommandPanel extends JPanel { private static final Font FONT = new Font("Verdana", Font.BOLD, 30); private final Component leftGlue; ...
true
cfdbd044169138dd9a2d153aa759183111a602c6
Java
wenzhaot/luobo_tool
/laosiji-sources/feng/android/sources/com/feng/car/operation/CommentInfoOperation.java
UTF-8
18,415
1.757813
2
[]
no_license
package com.feng.car.operation; import android.content.Context; import android.content.Intent; import android.view.View; import com.feng.car.FengApplication; import com.feng.car.activity.BaseActivity; import com.feng.car.activity.CommentReplyListActivity; import com.feng.car.activity.LoginActivity; import com.feng.car...
true
dee8beed74dd07a655e6882b324577dbff81bbcf
Java
pokemonAce241/CSC-316
/CSC 316 - Project 3/Galant 104/src/edu/ncsu/csc/Galant/graph/component/GraphElement.java
UTF-8
902
2.28125
2
[]
no_license
package edu.ncsu.csc.Galant.graph.component; /** * Abstract class containing graph element manipulation methods * @author Jason Cockrell, Ty Devries, Alex McCabe, Michael Owoc */ public abstract class GraphElement { public abstract double getWeight(); public abstract double getWeight(int state); public abstrac...
true
cc0ad4a0f5244dc1b534feffef26036faf8beb6c
Java
timkabot/Music-Generation-genetic-algorithms-
/src/NotesParticle.java
UTF-8
2,461
3.1875
3
[]
no_license
import java.util.Random; /** * Created by Timkabor on 11/4/2017. */ public class NotesParticle implements Comparable<NotesParticle> { private int NUMBER_OF_NOTES = 32; private int notes[]; private double velocity; private int octaveNumber; private Tone tone; private ChordParticle chordParticl...
true
53da60b6adcf6479026e00589d5f69af48c9b97d
Java
pologood/op-util
/topats/top-ats-core/src/test/java/api/TaskParserTest.java
UTF-8
28,749
2.1875
2
[]
no_license
package api; import java.io.InputStream; import java.util.HashMap; import java.util.Map; import junit.framework.Assert; import org.json.JSONException; import org.junit.Test; import com.taobao.top.ats.XmlException; import com.taobao.top.ats.domain.ApiDO; import com.taobao.top.ats.domain.ParameterDO; impo...
true
8db109d0e153e098601efe2b3e6136a41cd820d8
Java
deepakkumarshree/leavemanagementsprinboot
/src/main/java/com/lms/controller/MvcConfiguration.java
UTF-8
1,384
1.8125
2
[]
no_license
package com.lms.controller; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org...
true
1ed17218fafba4fc4d1dbeb1bb9c732f0efd89f3
Java
punsaraprathibha/VehicleServiceCenterMgtSystem
/src/lk/edu/ijse/VehicleServiceCentre/business/custom/impl/AddRepairServiceBOImpl.java
UTF-8
3,028
2.4375
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 lk.edu.ijse.VehicleServiceCentre.business.custom.impl; import java.sql.Connection; import lk.edu.ijse.VehicleServiceCentre.bus...
true
7c919bf00291965205ca60078b496ebd37772ec1
Java
Agileaq/arc
/target/generated-sources/cxf/com/hp/it/sbs/sems/interfaces/RoleDTO.java
UTF-8
5,708
2
2
[]
no_license
package com.hp.it.sbs.sems.interfaces; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for roleDTO complex ...
true
ed2c1ae715cfbdf386f4adbff3799e134855bf75
Java
mhelmstetter/mongo-security-sample
/mongo-security-sample/src/main/java/com/mongodb/mongoapp/domain/Favorites.java
UTF-8
734
2.046875
2
[]
no_license
package com.mongodb.mongoapp.domain; import java.util.List; import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.data.mongodb.core.mapping.Field; @Document public class Favorites { @Field("sl") private SecurityLabel securityLabel; private List<String> cartoo...
true
b613d5575e44bf33913d0100c3c04d407df9cc0b
Java
MDoder97/Jetto
/SpringBootBackend/src/main/java/com/markododer/webproject/services/ReservationService.java
UTF-8
3,544
2.34375
2
[]
no_license
package com.markododer.webproject.services; import com.markododer.webproject.model.MyUser; import com.markododer.webproject.model.Ticket; import com.markododer.webproject.repositories.ReservationRepository; import com.markododer.webproject.model.Reservation; import org.springframework.stereotype.Service; import java....
true
5add5e5792680c1aee6776122db9d97eecea823d
Java
luis-ayala95/reinscripciones
/Inscripciones/src/main/java/com/edu/itlp/mx/Servicio.java
UTF-8
879
1.882813
2
[]
no_license
package com.edu.itlp.mx; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annota...
true
7f1f52a0b1ddf360399f593a87e188d11e671506
Java
modinishank/HotelManagement
/src/model/Query.java
UTF-8
1,829
2.15625
2
[]
no_license
package model; public interface Query { String INSERT_GUEST_QUERY="INSERT INTO GUEST" + " (GUESTID," + "GUESTNAME," + "GUESTADDRESS," + "GUESTAFFILIATION)" + " VALUES (seq_guest.nextval,?,?,?)"; String INSERT_CONTACT_US_DETAILS="INSERT INTO CONTACTUS" + "(CONTACTNAME," + "CONTACTEMAIL," + ...
true
681754e9d66bc483c9219d25a1686ea2d69182c1
Java
moutainhigh/goddess-java
/modules/reportmanagement/reportmanagement-api/src/main/java/com/bjike/goddess/reportmanagement/service/CashFlowProjectSer.java
UTF-8
2,905
1.992188
2
[]
no_license
package com.bjike.goddess.reportmanagement.service; import com.bjike.goddess.common.api.exception.SerException; import com.bjike.goddess.common.api.service.Ser; import com.bjike.goddess.reportmanagement.bo.CashFlowProjectBO; import com.bjike.goddess.reportmanagement.bo.CashFormulaBO; import com.bjike.goddess.reportman...
true
a74178b1d1477237d03f62aaae9088aec71c1271
Java
4n0nD3v3l0p3r/apexcharts-flow
/src/main/java/com/github/appreciated/apexcharts/config/chart/toolbar/AutoSelected.java
UTF-8
252
1.914063
2
[ "Apache-2.0" ]
permissive
package com.github.appreciated.apexcharts.config.chart.toolbar; public enum AutoSelected { zoom("zoom"), selection("selection"), pan("pan"); private final String name; AutoSelected(String name) { this.name = name; } }
true
ae64ea11e1c3eb736ec163e415f1b0306fd5f9b7
Java
dbautista102/LABORATORIO_POO
/PRIMER PARCIAL/LPOO_P1_03/CAPITULO5/src/ProgrammingExercises/Ejercicio10.java
UTF-8
4,183
3.171875
3
[]
no_license
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package ProgrammingExercises; import java.util.Scanner; /** * * @author bautista */ public class Ejercicio10 { public st...
true
398f3105126ea4bd6be93e4b1a8beb7c861b1457
Java
Quozul/OnDemandServer
/src/main/java/dev/quozul/OnDemandServer/enums/ServerStatus.java
UTF-8
224
1.53125
2
[]
no_license
package dev.quozul.OnDemandServer.enums; public enum ServerStatus { STARTING, STARTED, EMPTY, STOPPING, STOPPED, ERROR, UNKNOWN, STANDALONE, UPDATING, DETACHED, NOT_CONFIGURED, }
true
3ba7ae8760c58b01bd1d8c3458cc2ca12f535b40
Java
wxwwang/test
/base/day05/src/demo02/ArrayListDemo05.java
UTF-8
794
3.6875
4
[]
no_license
package demo02; import java.util.ArrayList; import java.util.Random; /** * Created by wangxiaowei on 2020/9/5. * 题目:随机生成6个整数,添加到集合,并遍历集合。 */ public class ArrayListDemo05 { public static void main(String[] args) { //创建一个整数包装类型的集合 ArrayList<Integer> list = new ArrayList<Integer>(); Random...
true
3e1ea82f33dfa3747293a881f756f9ddb41f1ef9
Java
DevanshiParekh/procsets
/facesix-webapp/src/main/java/com/semaifour/facesix/impl/qubercloud/DeviceStatusMonitorService.java
UTF-8
796
1.71875
2
[]
no_license
package com.semaifour.facesix.impl.qubercloud; import java.util.Timer; import java.util.TimerTask; import javax.annotation.PostConstruct; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com....
true
a9e89a374b02c75816a567144348871213c80bf7
Java
phwd/quest-tracker
/hollywood/com.oculus.socialplatform-base/sources/X/AnonymousClass0f7.java
UTF-8
2,785
2.453125
2
[]
no_license
package X; import com.google.common.base.Objects; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.Map; /* renamed from: X.0f7 reason: invalid class name */ public abstract class AnonymousClass0f7<K, V> extends AbstractC05580wA<Map.Entry<K, V>> { public abstract ...
true
abdc0e41bb8e8ccfb2c00469b43322d881d95ec7
Java
Nithanim/mensaapi
/src/test/java/jkumensa/api/AllergyCodeSetTest.java
UTF-8
5,650
2.78125
3
[ "Apache-2.0" ]
permissive
package jkumensa.api; import java.util.Arrays; import org.junit.After; import org.junit.AfterClass; import org.junit.Assert; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; public class AllergyCodeSetTest { @BeforeClass public static void setUpClass() { } @AfterClass ...
true
2481f7f8d607bacd828cd8e2187381ff9afe6ce5
Java
huitoukest/OfficeToPdf
/src/util/tingfeng/java/files/officeToPdf/OfficeToPDFInfo.java
UTF-8
379
1.875
2
[ "Apache-2.0" ]
permissive
package util.tingfeng.java.files.officeToPdf; public class OfficeToPDFInfo { /** * 转换的来源路径 */ public String sourceUrl; /** * 转换后的本地路径 */ public String destUrl; /** * 这里是OpenOffice的安装目录 */ public String openOfficeHOME; /** * 单个任务执行的超时时间; */ public Integer task_execution_timeout; }
true
c436b749c3c20f149e0dad17a21f8e333f36d28f
Java
PatrickJahn/3Sem_EksamensOpgave
/src/main/java/rest/DemoResource.java
UTF-8
4,203
2.296875
2
[]
no_license
package rest; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import dto.searchesDTO; import entities.Breed; import entities.User; import facades.DogFacade; import facades.RemoteServerFacade; import facades.UserFacade; import java.util.ArrayList; import java.util.List; import javax.annotation.security...
true
55f7621f469fe1f8d07fa0b4509cb0fa338b7266
Java
EngAlaa22/RegistrationTest
/app/src/main/java/com/example/alaa/registrationtest/RegistrationActivity.java
UTF-8
2,465
2.0625
2
[]
no_license
package com.example.alaa.registrationtest; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AutoCompleteTextView; import android.widget.EditText; import android.widget.Toast; import com.example.alaa.registrationte...
true
fe0687350e3574f90bdf6128b14e40a95f880022
Java
dray92/Programming-Questions
/leetcode/Optimum_Movie_Schedule.java
UTF-8
1,424
3.6875
4
[ "MIT" ]
permissive
package leetcode; import java.util.Arrays; /* * Question: http://stackoverflow.com/questions/36293291/optimum-movie-schedule-considering-duration-and-no-overlap/36294032#36294032 */ public class Optimum_Movie_Schedule { public static void main(String[] args) { Movie[] movies = new Movie[] { new Movie("f", 5...
true
01022b3498697d81673d515cb943152d23c863bb
Java
pshyc007/Capstoneprojectrepo
/New Folder/app/src/main/java/com/google/android/gms/games/internal/game/ExtendedGameRef.java
UTF-8
2,529
1.625
2
[]
no_license
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.google.android.gms.games.internal.game; import android.os.Parcel; import com.google.android.gms.common.data.DataHolder; import com.g...
true
de3010fc82ead4aea5ad3c07b5196d982f787930
Java
gbz-student/Poo_smartPhoneApp
/Riedo_Jaggi_Jeyakumar/src/Contact/ContactFormView.java
UTF-8
7,714
2.640625
3
[]
no_license
package Contact; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.util.ArrayList; import javax.swing.ImageIcon; imp...
true
04bbdb931f50af3a92bf26acd7df50fc00c8919b
Java
CooganKoerts/CS3502-OS-Project
/LongScheduler.java
UTF-8
3,357
3.40625
3
[]
no_license
/* The purpose for this class is to take programs from the Disk and load them into the memory (RAM) based off their priority # */ public class LongScheduler { private static int currentPriority = 1; /* 1.) Iterate through Disk and find the first Job with the highest priority (1-A, 1 being t...
true
1cb52903ef06fdd1702d6d9624c6f6697fbd2eab
Java
TomaszSzubiak/newRepository
/RMIInterface/src/com/rmiinterface/TestRemote.java
UTF-8
471
2.1875
2
[]
no_license
package com.rmiinterface; import java.awt.Point; import java.rmi.Remote; import java.rmi.RemoteException; import java.util.List; /**Remote interface * */ public interface TestRemote extends Remote { public boolean isLoginValid(String username, String pass) throws RemoteException; void addPoints(Point...
true
c8afb24c32a224d9e266538cff6fb42c696c385e
Java
worldup/boss
/BusinessLogic/src/com/dtv/oss/service/listhandler/IteratorException.java
UTF-8
198
1.867188
2
[]
no_license
package com.dtv.oss.service.listhandler; public class IteratorException extends Exception { public IteratorException() {} public IteratorException(String str) { super(str); } }
true
7a22cb3e41f522189e8bae03245eb9818d60fb9b
Java
youngzil/quickstart-application-container
/quickstart-quickserver/src/main/libsrc/QuickServerV2.1.0/src/main/org/quickserver/util/ClassUtil.java
UTF-8
3,084
2.90625
3
[ "Apache-2.0", "LGPL-2.1-only", "LGPL-2.1-or-later", "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "GPL-2.0-only", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft" ]
permissive
/* * This file is part of the QuickServer library * Copyright (C) QuickServer.org * * Use, modification, copying and distribution of this software is subject to * the terms and conditions of the GNU Lesser General Public License. * You should have received a copy of the GNU LGP License along with this * libra...
true
e7847aa62c9a0c1ecd7e0528d338535888a08f72
Java
rjourdan/SConASK
/lambda-SconASK/src/main/java/com/riverbed/sconask/beans/SconUplink.java
UTF-8
3,911
2.34375
2
[]
no_license
package com.riverbed.sconask.beans; public class SconUplink extends SconObject{ private int qos_bw_up; private int qos_up; private int qos_bw_down; private int qos_down; private String site; private String static_gw_v6; private String static_ip_v6; private String static_gw_v4; private String static_ip_v4; ...
true
cae2f3d68a0aef9fe11af9d308ed2ab908a92111
Java
fanxinglanyu/XUpdateAPI
/xupdate-easy/src/main/java/com/xuexiang/xupdate/easy/EasyUpdate.java
UTF-8
6,320
1.726563
2
[ "Apache-2.0" ]
permissive
/* * Copyright (C) 2020 xuexiangjys(xuexiangjys@163.com) * * 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
fee7dad2a37039800ca34b352f5131a6d1519d12
Java
vadosnaprimer/swingme
/ToolsME/src/net/yura/tools/mobilegen/MobileXmlGen.java
UTF-8
13,607
2.546875
3
[]
no_license
package net.yura.tools.mobilegen; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.PrintStream; import java.io.Writer; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Arrays; import java.util.Collec...
true
d752a7362b122a1389eb87b3612e8a879209a2ce
Java
caizhenxing/javaweb_test
/itel_sam/.svn/pristine/d7/d752a7362b122a1389eb87b3612e8a879209a2ce.svn-base
UTF-8
9,630
2.015625
2
[]
no_license
package com.itel.service.impl; import java.text.SimpleDateFormat; import java.util.Date; import java.util.UUID; import org.json.JSONException; import org.json.JSONObject; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.tr...
true
698bc34f601c75f10ff7e9369a74ac9661b341f9
Java
fxuantiue0400/server_parent
/server/src/main/java/xx/ProtocalMessage.java
UTF-8
1,472
2.4375
2
[]
no_license
package xx; import xx.codec.Packet; /** * Created by Administrator on 2017/8/7/007. */ public class ProtocalMessage implements Packet{ public static final int HEADER_LEN = 12;// 包头长度 public static final int MSGLEN_POSITION = 2;// msgLen字段position偏移量 /*** 起始标记 */ public static final in...
true
089a9b6ea6306b55e786eadccdbc7ac7489dceaf
Java
mohadesehjm/CompilerProject
/src/compiler/phase3/Value.java
UTF-8
2,192
2.96875
3
[]
no_license
package compiler.phase3; public class Value { Class clas; Method method; Loop loop; Field field; Variable variable; String type; public Value(Class clas){ type = "class"; this.clas = clas; this.method = null; this.loop = null; this.fie...
true
b47f750ff77085b1277a44b13e3febfcdbbb560e
Java
tied/AITest-1
/src/main/java/com/virtusa/gto/plugins/aitest/entity/EEntityTPTCDIStatus.java
UTF-8
367
2.15625
2
[ "Apache-2.0" ]
permissive
package com.virtusa.gto.plugins.aitest.entity; /** * @author RPSPERERA on 8/3/2018 */ public enum EEntityTPTCDIStatus { IN_PROGRESS("In Progress"), PASS("Pass"), FAILED("Failed"); private String status; EEntityTPTCDIStatus(String status) { this.status = status; } public String...
true
2afa43621c7dd4d1dc500fe328a760b648df6d02
Java
MatheusXCH/Editor-Audiovisual---Modelo-UML-e-Bancos-de-Dados
/Project/Etapa II/editor/src/main/java/br/edu/unifei/ecot13/editor/CurtaMetragem.java
UTF-8
601
2.15625
2
[]
no_license
package br.edu.unifei.ecot13.editor; import java.io.Serializable; import javax.persistence.Entity; import lombok.Data; import lombok.EqualsAndHashCode; @Data @EqualsAndHashCode(callSuper = false) @Entity public class CurtaMetragem extends Cinematografico implements Serializable{ private static final l...
true
543ee11d2cebc31b5ba2a565643fe3b72f4b90f9
Java
fengbujue1/springboot_test
/src/main/java/com/zyj/springboot_test/test/java/netWork/nioDemo/MultipleIOServer.java
UTF-8
6,480
3.078125
3
[]
no_license
package com.zyj.springboot_test.test.java.netWork.nioDemo; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.ServerSocketChannel; import java.nio.channels.SocketChannel; import java.util.Iterator; import jav...
true
251d32e9d4fa78d0c5eea06b92b7ebac03bcfda9
Java
banshiguhun/mygit
/WxMassTaskInfoController.java
UTF-8
5,850
2.046875
2
[]
no_license
package com.lenovo.eas.im_wxadmin.controller.cms; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.sprin...
true
cbfdc9af9937286484d5613eff56c3d9f7593d23
Java
bitsetd4d/word-playground
/GameUtil/src/d3bug/graphics/GraphicsCalc.java
UTF-8
526
3.390625
3
[ "Apache-2.0" ]
permissive
package d3bug.graphics; import java.awt.Dimension; public class GraphicsCalc { public Dimension fillAvailableArea(int width,int height,double ratio) { int w = width; int h = height; int widthForHeight = (int)(height * ratio); int heightForWidth = (int)(width / ratio); /* Ensure image will fill area but p...
true
c21392cc69f159085a382159a5ee8d2451b5485e
Java
rrong777/design_patterns
/src/main/java/com/pattern/iterator/StudentAggregateImpl.java
UTF-8
643
3.265625
3
[]
no_license
package com.pattern.iterator; import java.util.ArrayList; import java.util.List; public class StudentAggregateImpl implements StudentAggregate{ private List<Student> list = new ArrayList<>(); @Override public void addStudent(Student student) { list.add(student); } @Override public vo...
true
4184e9dd6402966beda6c28ffee20c71ae7592f8
Java
Carryours/algorithm004-03
/Week 01/id_178/LeetCode_15_178.java
UTF-8
6,224
3.96875
4
[]
no_license
package org.geektime.weak01; import java.util.*; /** * Created by fukan on 2019/10/22. * 给定一个包含 n 个整数的数组 nums,判断 nums 中是否存在三个元素 a,b,c , * 使得 a + b + c = 0 ?找出所有满足条件且不重复的三元组。 * 排序 加 双指针。在遍历的过程中注意减枝和去重 */ public class LeetCode_15_178 { public static void main(String[] args) { int nums[] = {-1, 0, 1, 2...
true
7cd7e91ca1fbe50ff960beb7cb01a79d9f155db6
Java
HairulHaqimy/Saimen1
/BillingSystem.java
UTF-8
3,200
3.203125
3
[]
no_license
package saimen1; import java.util.Scanner; public class BillingSystem extends BakeryDetails4{ //subclass Scanner scan = new Scanner(System.in); private String customer_name; private String customer_hp; private int quantity,choice; private double price; private double voucher; BillingSystem(){ ...
true
d22630a47c0b031abbd94d0dbe2dc84f6ba747af
Java
DenisPodberiozkin/P2P_Main_Application
/src/main/java/User/Main/ConnectionLogic/ConnectToLocalServer.java
UTF-8
2,671
2.53125
3
[]
no_license
package User.Main.ConnectionLogic; import User.CommunicationUnit.Client.ClientController; import User.CommunicationUnit.Client.IClientController; import User.CommunicationUnit.Client.OutboundConnection; import User.NodeManager.Node; import User.NodeManager.User; import User.Settings.ConnectionSettingsModel; import ja...
true
7306af7b0bd57aeefb29f3b515ea557ae767b57e
Java
syahraazly/PresentasiTugas1
/src/studykasus/SwitchCase.java
UTF-8
1,027
3.1875
3
[]
no_license
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package studykasus; import java.util.Scanner; /** * * @author MOKLET-01 */ public class SwitchCase { /** * @param args the...
true
24e4aaa8527ff6cee6b572fe25539037dfdeee08
Java
yarphen/aspectJdemo
/src/main/java/com/sheremet/aspectj/HelloAspectJ/Message.java
UTF-8
136
1.945313
2
[]
no_license
package com.sheremet.aspectj.HelloAspectJ; public interface Message { String getSender(); String getReceiver(); String getText(); }
true
05e29e97b8c50e574326627e7213333cfebdb5b8
Java
AY1920S1-CS2103T-W11-1/main
/src/test/java/seedu/algobase/model/problem/ProblemTest.java
UTF-8
5,260
2.578125
3
[ "MIT" ]
permissive
package seedu.algobase.model.problem; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.algobase.logic.co...
true
84d4a02237a294d23492f30abd3b9d82343bf122
Java
wtZZx/Test
/Test/ehealth-base/src/main/java/eh/autodiagnosis/service/IntelligenceGuidance.java
UTF-8
5,122
2.3125
2
[]
no_license
package eh.autodiagnosis.service; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import ctd.persistence.DAOFactory; import ctd.persistence.exception.DAOException; import eh.autodiagnosis.dao.DiseaseConfigDao; import eh.entity.autodiagnosis.DiseaseConfig; import eh.entity.autodiagnosis.v...
true
bbe3db05df7bb5bc7e546bc4b8c2de1d21ea3249
Java
lieven1/ProjectenII-java
/java-g06/src/gui/activiteit/ActiviteitenListPanel.java
UTF-8
5,499
2.453125
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 gui.activiteit; import domain.controllers.ActiviteitenController; import domain.Activiteit; import gui.ActiviteitenLi...
true
2a3ccde65d31f77111aad95bc88e20227aca374c
Java
timoftean/language-interpreter
/utils/ExeStack.java
UTF-8
842
3.265625
3
[]
no_license
package utils; import java.util.*; public class ExeStack<E> implements IExeStack<E> { private Deque<E> d; public ExeStack(){ this.d=new ArrayDeque<E>(); } public Iterable<E> getAll(){ return d; } public void push(E elem){ d.push(elem); } public E pop(){ r...
true
b27b94a90794321df8c374ed4cee5da10b0e8376
Java
sergey-moiseyenko/BST
/src/com/company/bst/Node.java
UTF-8
927
3.109375
3
[]
no_license
package com.company.bst; import com.company.util.CompareObject; /** * Created by Igor on 4/5/16. */ public class Node<T extends CompareObject<T>> { private T value; private Node left; private Node right; private Node parent; public Node(T value, Node right, Node left, Node parentNode) { ...
true
5240c056629e10282bc374743209af9c22238f22
Java
balaji66/Polymorphism
/src/ICICI.java
UTF-8
109
2.5
2
[]
no_license
public class ICICI extends Bank { @Override float getRateOfInterest() { return 6.6f; } }
true
7002b432ae9d64af0dcd2b8404603a750c3ba0a1
Java
Jeff-Lewis/geb
/middleoffice/src/main/java/ru/prbb/middleoffice/rest/operations/DealsOneNewController.java
UTF-8
5,369
1.921875
2
[]
no_license
package ru.prbb.middleoffice.rest.operations; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework...
true
c30b3a13ffcf3bcdf0ecb6cda843e412fb2d136a
Java
JustinChoii/Process-Scheduling
/FIFO.java
UTF-8
2,207
3.359375
3
[]
no_license
import java.util.*; public class FIFO { Queue<Process> pq; int total_time; int current_time; int[] running_times = new int[Main.processList.length]; double average_time = 0.00; public void calculate_average_time(){ double avg_time = this.average_time; for (int i ...
true
27121303122a3c4e2c937db68297fa9bab245ffa
Java
almeidalhs/wuye_android
/MidnightArtifact/app/src/main/java/com/atman/wysq/adapter/GetHisVisitorAdapter.java
UTF-8
6,625
1.726563
2
[]
no_license
package com.atman.wysq.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.RelativeLayout; import android.widge...
true
beb910721c89f51f4fd9b577d16eb5be40cfefac
Java
zk19900208/test
/src/thread/MyThread.java
UTF-8
1,095
3.421875
3
[]
no_license
package thread; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; public class MyThread extends Thread{ @SuppressWarnings("deprecation") @Override public void run() { String name=Thread.currentThread().getName(); System.out.println(name+" is running"); if(name==...
true
add2ba69703b3a08c22b955592849e4d347d031d
Java
VichitGit/Norton-E-Commerce
/app/src/main/java/vichitpov/com/fbs/retrofit/response/ProductResponse.java
UTF-8
17,758
2.234375
2
[]
no_license
package vichitpov.com.fbs.retrofit.response; import com.google.gson.annotations.SerializedName; import java.io.Serializable; import java.util.List; /** * Created by VichitPov on 2/25/18. */ public class ProductResponse implements Serializable { @SerializedName("meta") private Meta mMeta; @SerializedN...
true
94ee2f783dab1c8f9ca197a3816394b337ccfd20
Java
rabdelilah/gestion_location_voiture
/src/sessionBeans/RemboursementSinistreFacade.java
UTF-8
791
2.28125
2
[]
no_license
package sessionBeans; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import entity.RemboursementSinistre; @Stateless public class RemboursementSinistreFacade extends AbstractFacade<RemboursementSinistre> { @PersistenceConte...
true
ae2338d6abdb1a1b16b414123ce64c9cba05589a
Java
wxweven/JavaSEUtils
/src/main/java/com/wxweven/designpattern/factory/abstractfactory/AirConditionB.java
UTF-8
274
2.515625
3
[]
no_license
package com.wxweven.designpattern.factory.abstractfactory; /** * @author wxweven * @date 2019/4/22 */ public class AirConditionB implements AirCondition { @Override public void createAirCondition() { System.out.println("制造-->AirConditionB"); } }
true
0b9ec2a37e25f36766169dcf02d27b110cbfa78d
Java
magx2/jSupla
/protocol-java/src/main/java/pl/grzeslowski/jsupla/protocoljava/api/serializers/dcs/SetActivityTimeoutSerializer.java
UTF-8
364
1.53125
2
[ "MIT" ]
permissive
package pl.grzeslowski.jsupla.protocoljava.api.serializers.dcs; import pl.grzeslowski.jsupla.protocol.api.structs.dcs.SuplaSetActivityTimeout; import pl.grzeslowski.jsupla.protocoljava.api.entities.dcs.SetActivityTimeout; public interface SetActivityTimeoutSerializer extends DeviceClientServerSerializer<SetAc...
true
d4676e916a415b5ee5188cf1ad36e5362d2a8a89
Java
rzarowski/wildfly-sample
/wildfly-rest/src/main/java/explaineverything/wildfly/rest/service/GroupService.java
UTF-8
238
1.546875
2
[]
no_license
package explaineverything.wildfly.rest.service; import javax.ws.rs.core.Response; import explaineverything.wildfly.ejb.GroupEJB; public class GroupService { private GroupEJB service; public Response create() { return null; } }
true
f66d3f5c21ff7fed83fbc7b1f65446341b44520f
Java
evbedarev/ScreenCapture
/src/main/java/main/Prop.java
UTF-8
4,729
1.804688
2
[]
no_license
package main; import cast.*; import checks.LocationCheck; import checks.afterDeath.*; import checks.check_hp.*; import checks.location.*; import logic.*; import logic.take_loot.*; import java.awt.event.KeyEvent; import java.util.ArrayList; import java.util.List; /** * Properies */ public class Prop { //////////...
true
94962c8e403a9178aa2658a5a2a674cdca44e0bc
Java
moutainhigh/sac
/SAC-AC/sac-ac-dao/src/main/java/net/easipay/cbp/dao/impl/SacCheckInfoDao.java
UTF-8
543
1.773438
2
[]
no_license
package net.easipay.cbp.dao.impl; import net.easipay.cbp.dao.ISacCheckInfoDao; import net.easipay.cbp.dao.base.ibatis.GenericDaoiBatis; import net.easipay.cbp.model.SacCheckInfo; import org.springframework.stereotype.Repository; @Repository("sacCheckInfoDao") public class SacCheckInfoDao extends GenericDaoiBatis<Sac...
true
5d76543420e50a4673394bee93437e9781a805d1
Java
injulkarnilesh/Algorithm
/src/main/java/in/algorithm/course/part/one/week/two/stack/Stack.java
UTF-8
248
2.34375
2
[]
no_license
package in.algorithm.course.part.one.week.two.stack; public interface Stack<T> { T pop(); void push(T item); boolean isEmpty(); class EmptyStack extends RuntimeException { } class FullStack extends RuntimeException { } }
true
46a3a3bbef4b696906722baad44ff80a0de34999
Java
ardovic/Dagger2Example
/app/src/main/java/com/ardovic/dagger2example/di/component/ActivityComponent.java
UTF-8
419
1.9375
2
[]
no_license
package com.ardovic.dagger2example.di.component; import com.ardovic.dagger2example.MainActivity; import com.ardovic.dagger2example.di.PerActivity; import com.ardovic.dagger2example.di.module.ActivityModule; import dagger.Component; @PerActivity @Component(dependencies = ApplicationComponent.class, modules = Activity...
true
ffa9d7c18c8b1fd997212fd186250d5e0bfc5979
Java
liam-b/computer-blocks
/src/computerblocks/block/CableBlock.java
UTF-8
322
2.375
2
[]
no_license
package computerblocks.block; import computerblocks.display.Color; import computerblocks.position.*; public class CableBlock extends Block { public CableBlock(BlockPosition position) { super(position); this.type = BlockType.CABLE; this.color = Color.CABLE; this.chargeColor = Color.CABLE_CHARGE; }...
true
1efe0ce72dc696327ca97b8ccf3080fb7877b5b5
Java
adrpieper/Merapar
/AnalyzeApp/src/main/java/merapar/app/controller/dto/AnalyzeRequestDTO.java
UTF-8
321
2.1875
2
[]
no_license
package merapar.app.controller.dto; import com.fasterxml.jackson.annotation.JsonProperty; import java.net.URL; public class AnalyzeRequestDTO { private final URL url; public AnalyzeRequestDTO(@JsonProperty("url") URL url) { this.url = url; } public URL getUrl() { return url; } }...
true
24930bcc300851de20a58445a9f942b112fbb8db
Java
SGBenjamin/SamplesAndroid
/AndrodiAssignment/app/src/main/java/assignment/com/raghu/androdiassignment/ProfileActivity.java
UTF-8
2,434
2.109375
2
[]
no_license
package assignment.com.raghu.androdiassignment; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.T...
true
d0569e54a5abfe8d9d489bb117c733ad450f6318
Java
nick886/hms-react-native-plugin
/react-native-hms-awareness/android/src/main/java/com/huawei/hms/rn/awareness/wrapper/AwarenessBarrierWrapper.java
UTF-8
37,320
1.617188
2
[ "Apache-2.0" ]
permissive
/* Copyright 2020-2021. Huawei Technologies Co., Ltd. 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 https://www.apache.org/licenses/LICENSE-2.0 Un...
true
dd229ef5d628bf57a1f8054f3ea3fdd7514339a1
Java
AncientBeholder/projectDarkContinent
/Dark Continent/src/net/clockworkgiant/input/KeyManager.java
UTF-8
1,714
2.796875
3
[]
no_license
package net.clockworkgiant.input; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; public class KeyManager implements KeyListener { private boolean[] keys, pressed, locked; public boolean up, down, left, right, c_UP, c_DOWN, c_LEFT, c_RIGHT, c_SNAP, escape, p_BUTTON, c_LOCK, k_BUTTON, l_BUTTON...
true
de568d3101baa837bbd59508995c7ea5839d42f8
Java
viktimolog/PersonalAccountant
/app/src/main/java/com/incode_it/test2/koganov/personalaccountant/NewTransactionFragment.java
UTF-8
9,201
1.960938
2
[]
no_license
package com.incode_it.test2.koganov.personalaccountant; import android.graphics.Color; import android.os.Bundle; import android.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.ArrayAdapter; import androi...
true
3cb5329cd7251de6ab6745fc812f98857a61c927
Java
ptkplus/YTDTWeb_Project
/YTDTWeb/src/main/java/com/iesvn/yte/dieutri/vienphi/action/Tonghopthuocydungcutheophong.java
UTF-8
10,831
1.601563
2
[]
no_license
package com.iesvn.yte.dieutri.vienphi.action; import com.iesvn.yte.XuatReportUtil; import com.iesvn.yte.dieutri.delegate.DieuTriUtilDelegate; import com.iesvn.yte.dieutri.delegate.HsbaDelegate; import com.iesvn.yte.dieutri.entity.BenhNhan; import com.iesvn.yte.dieutri.entity.Hsba; import com.iesvn.yte.entity.Dm...
true
ff66ba0b277369dc4a6fab6546a61a68973a7554
Java
Overbyte1/java-concurrent-utils
/src/test/java/threadpool/MThreadPoolExecutorTest.java
UTF-8
1,570
2.96875
3
[]
no_license
package threadpool; import org.junit.Test; import java.util.concurrent.*; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.ReentrantLock; public class MThreadPoolExecutorTest { @Test public void testShutdown() throws InterruptedException { MThreadPoolExecutor threadPool...
true
08c243002688074d45ff28030bf170c8a082d497
Java
alexandreev707/lunch_advisor
/src/main/java/ru/lunch/advisor/service/mapper/ItemMapper.java
UTF-8
408
1.890625
2
[]
no_license
package ru.lunch.advisor.service.mapper; import org.mapstruct.Mapper; import ru.lunch.advisor.persistence.model.ItemModel; import ru.lunch.advisor.service.dto.ItemDTO; import java.util.List; import java.util.Set; @Mapper(componentModel = "spring") public interface ItemMapper { ItemDTO map(ItemModel item); ...
true
c66dc99b1567c100531efa50e8c511069b6e4886
Java
marcianorama/aplikasi-tagihan
/src/main/java/id/ac/tazkia/payment/virtualaccount/dto/RekapPembayaran.java
UTF-8
455
1.789063
2
[ "Apache-2.0" ]
permissive
package id.ac.tazkia.payment.virtualaccount.dto; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import org.springframework.format.annotation.DateTimeFormat; import java.math.BigDecimal; import java.util.Date; @Data @AllArgsConstructor @NoArgsConstructor public class RekapPemba...
true
2d29b2ccddf17b64eef6abfaf9b76bf5fdb977d9
Java
satorunooshie/algorithm
/CS/MiddleSubstring.java
UTF-8
1,205
3.90625
4
[]
no_license
package CS; import java.util.Scanner; /** * The type Middle substring. * 文字列 string を受け取り、文字数の半分を文字列の真ん中から返す * (文字数が 2 以下の場合は、最初の文字を返します。) * 返却する文字列の長さは、引数に与えられた文字列の長さを2で割って、小数を切り捨てた値、 * 前方で削除する文字数は、返却する文字列の長さを2で割って、小数を切り上げた値になる。 */ class middleSubstring { /** * Middle substring string. * * @...
true
2765f9f753046e11a860d6448332f95c15c3df9b
Java
1203876671/taige
/src/main/java/com/yc/education/model/Invite.java
UTF-8
1,389
2.375
2
[]
no_license
package com.yc.education.model; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; public class Invite { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; /** * 招聘内容 */ private String context; /**...
true
7cd742e9bb772910b391927cb9d2496c7ce9f9e0
Java
ersaxenas/algo_practice
/src/main/java/com/lrn/leetcode/google/Q095UniqueBinarySearchTrees2.java
UTF-8
1,383
3.234375
3
[]
no_license
package com.lrn.leetcode.google; import java.util.ArrayList; import java.util.List; public class Q095UniqueBinarySearchTrees2 { /* 2022-01-13T07:10:10.885Z * pd: https://leetcode.com/problems/unique-binary-search-trees-ii * assm: nodes < 1000, best time sol * appr: https://leetcode.com/problems/unique-bin...
true
92f1a3fa563acd8ef3f5c986a41465a1a25aa4b4
Java
nutzam/nutz
/test/org/nutz/dao/test/meta/issue889/Issue889UserProfile.java
UTF-8
705
1.8125
2
[ "Apache-2.0" ]
permissive
package org.nutz.dao.test.meta.issue889; import org.nutz.dao.entity.annotation.Column; import org.nutz.dao.entity.annotation.Id; import org.nutz.dao.entity.annotation.Name; import org.nutz.dao.entity.annotation.Table; @Table("t_issue_user_profile") public class Issue889UserProfile { @Id(auto=false) @Column("...
true
3c4d7c99e2cb44241244d49e817d5f6f585eed61
Java
jccarrillo/XCoLab
/portlets/feeds-portlet/src/main/java/org/xcolab/portlets/feeds/dataProviders/RecentlyActiveUsersFeedDataProvider.java
UTF-8
2,640
1.9375
2
[ "MIT" ]
permissive
package org.xcolab.portlets.feeds.dataProviders; import com.ext.portlet.Activity.ActivityUtil; import com.liferay.portal.kernel.exception.SystemException; import com.liferay.portal.kernel.search.SearchException; import com.liferay.portal.service.RoleLocalServiceUtil; import org.springframework.ui.Model; import org.xc...
true
7ad86f027a90512900067ec64bcf5636ea391c01
Java
jop-coder/Atrium-Modulo3
/src/main/java/com/jop/hibernate/dao/ArticulosDAO.java
UTF-8
4,248
2.640625
3
[]
no_license
package com.jop.hibernate.dao; import static org.hibernate.criterion.Example.create; import java.util.List; import org.hibernate.LockOptions; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframew...
true
b9ff86ee797243f2fc62a1f501feabbbea3131e5
Java
SpectraLogic/ds3_java_browser
/dsb-gui/src/main/java/com/spectralogic/dsbrowser/gui/services/jobprioritystore/JobSettings.java
UTF-8
2,288
2.0625
2
[ "Apache-2.0" ]
permissive
/* * ****************************************************************************** * Copyright 2016-2017 Spectra Logic Corporation. 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. A copy of the Licens...
true
03298f93b1c207d7c0ab671bf2d8909660766489
Java
raghd33/healthy31
/app/src/main/java/com/example/healthy/MainActivity.java
UTF-8
788
1.914063
2
[]
no_license
package com.example.healthy; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Button; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setCon...
true
4344d04e1ebfbec7b6ea31f870e6c3d62d4ef241
Java
wks1222/mobius-source
/java/lineage2/gameserver/instancemanager/DelusionChamberManager.java
UTF-8
10,420
2.015625
2
[]
no_license
/* * 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 distributed in the hope that it will be u...
true
0ea273cbb316bd3121cd7b58927781297963e4e1
Java
devilsuse/contests
/src/com/nano/hacker/java/collections/JavaDeque.java
UTF-8
2,722
4.09375
4
[]
no_license
package com.nano.hacker.java.collections; import java.util.ArrayDeque; import java.util.Deque; import java.util.Iterator; import java.util.Scanner; /** * @author LXMRX In computer science, a double-ended queue (dequeue, often * abbreviated to deque, pronounced deck) is an abstract data type that ...
true
667bb1a71b8d10a23a818d61f24a1312984bd680
Java
tatianamih/homeworke3_Objects_and_Classes
/exercise2_human/src/test/java/by/jrr/jis4/bean/HumanTest.java
UTF-8
2,901
3.078125
3
[]
no_license
package by.jrr.jis4.bean; import org.junit.Test; import static org.junit.Assert.*; public class HumanTest { @Test public void getName() { Human human = new Human(); human.setName("Jane"); String expected = "Jane"; String actual = human.getName(); assertEquals(expecte...
true
a40d01921961c437fede902870cd0e5f4b8192a0
Java
notalan/IDKPanopoly
/src/property/Rentable.java
UTF-8
139
2.546875
3
[]
no_license
package property; public interface Rentable extends Identifiable { public double getRent(); // Get the rental rate for this property }
true
bc751a542f7515a7366830d808b0be685838c04d
Java
JustinW1395/SQLiteExample
/app/src/main/java/com/example/sqliteexample/MainActivity.java
UTF-8
1,385
2.1875
2
[]
no_license
package com.example.sqliteexample; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.widget.ListView; import com.google.android.material.floatingactionbutton.FloatingA...
true