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
1f08b393c15416a11ff969fa77ef3c53ac4c8cbf
Java
CodingHou/Lift
/src/main/java/com/hou/lift/service/impl/LabelServiceImpl.java
UTF-8
2,311
2.171875
2
[]
no_license
package com.hou.lift.service.impl; import com.hou.lift.dao.LabelMapper; import com.hou.lift.dao.TaskSqlMapper; import com.hou.lift.model.Label; import com.hou.lift.model.LabelExample; import com.hou.lift.model.TaskExample; import com.hou.lift.service.LabelService; import org.springframework.beans.factory.annotation.Au...
true
0ee19da3590a1678d695960bf467f6cf7d6f630e
Java
Tattivachkina/java_prakt_1_2
/src/ru/Tattivachkina/java/pr16/Main.java
UTF-8
1,554
3.375
3
[]
no_license
package ru.Tattivachkina.java.pr16; import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ArrayList<Integer> arr1 = new ArrayList<>(); ArrayList<Integer> arr2 = new ArrayList<>(); ...
true
b994199b1bbc65f21f3985a9fd1a531508abafa4
Java
AiRrRock/FileSystem
/fs/src/main/java/is/this_way/better/filesystem/io/readers_writers/SystemInfoWriter.java
UTF-8
856
2.546875
3
[]
no_license
package is.this_way.better.filesystem.io.readers_writers; import is.this_way.better.filesystem.io.exceptions.FSSerializationException; import is.this_way.better.filesystem.io.serialization.SystemInfoSerializer; import is.this_way.better.filesystem.model.high_level_items.SystemInfo; import is.this_way.better.fil...
true
f491a2d7e4cbc95a630af508028716b53e86eae7
Java
ido11/Manage_Store
/devs/src/logic/deliveries/models/ProductDelivery.java
UTF-8
1,678
2.796875
3
[]
no_license
package logic.deliveries.models; public class ProductDelivery { private int deliveryID; private Site suppSite; private Site branchSite; private logic.inventory.models.Product product; private int countOfProducts; public ProductDelivery(int deliveryID, Site suppSite, Site branchSite, logic.inve...
true
96c11d449641c4c4e18b20e72613f6fbf9d7aa46
Java
ryecoder/JavaCourseProjects
/AbstractClassesChallengeTry1/src/com/armo/MyLinkedList.java
UTF-8
3,250
3.5625
4
[]
no_license
package com.armo; public class MyLinkedList implements NodeList { private ListItem root; public MyLinkedList() { root = null; } public ListItem getRoot() { return root; } @Override public boolean add(ListItem newItem) { if (newItem != null){ if (roo...
true
f272935675489e35d21a08c51211b2431f687699
Java
sphatak21/project1-ASD
/src/TeacherPanel.java
UTF-8
3,501
3.046875
3
[]
no_license
import java.awt.*; import java.util.ArrayList; import javax.swing.*; import javax.swing.event.TableModelEvent; import javax.swing.event.TableModelListener; public class TeacherPanel extends Panel implements TableModelListener { Panel StudentList; JTable table; Button addGrade; double numerator; doub...
true
a62518d888d307c6d550c732eaaab3eaa82e622d
Java
eronitplakiq/EHealthCareManagment
/Doctor.java
UTF-8
4,505
2.609375
3
[]
no_license
import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Doctor extends JPanel implements ActionListener{ JFrame doctor_frame = new JFrame("Doctor Managment"); JButton button_assign_new_Patient , Log_Out , Watch_Operations , Shifts; private Client_Database client; ...
true
e356c71d7e8f102a893410c82276965601b2fac8
Java
xenovon/AdManager
/app/models/service/campaign/CampaignProcessor.java
UTF-8
6,035
2.15625
2
[]
no_license
package models.service.campaign; import java.text.ParseException; import java.util.Date; import org.joda.time.DateTime; import com.avaje.ebean.Ebean; import com.avaje.ebean.Page; import play.data.Form; import models.custom_helper.DateBinder; import models.data.Banner; import models.data.Campaign; import models.data...
true
9b6d48dd5e0fa801a6ec1e6390d8df5871f28f46
Java
marianacavichioli/MoviesRoad
/app/src/main/java/com/example/mariana/prova_moviesroad/movies/MoviesPresenter.java
UTF-8
795
2.578125
3
[]
no_license
package com.example.mariana.prova_moviesroad.movies; import android.app.Activity; import android.content.Intent; import java.util.ArrayList; import java.util.List; /** * Created by mariana on 07/11/17. */ class MoviesPresenter { private MoviesView moviesView; private List<String> moviesList = new ArrayLi...
true
70415e868d564ed2ab7819b855a6e1ff1670df5c
Java
jaryaman/DesignPatterns
/src/com/jaryaman/patterns/state/Tool.java
UTF-8
398
2.875
3
[]
no_license
package com.jaryaman.patterns.state; /*A state pattern helps us abide by the "Open closed principle". I.e. classes are open for extension but closed for * modification. We can add new functionality by adding new classes and test those clases, rather than modifying the * existing classes and potentially breaking someth...
true
138dbe0bd30b90617f0242e2c52a4e45cd716b56
Java
xiezhifeng/mysource
/jira-project/jira-webdriver-tests/src/main/java/com/atlassian/jira/webtest/webdriver/tests/issue/TestMoveIssueWithSubTasks.java
UTF-8
5,015
1.75
2
[]
no_license
package com.atlassian.jira.webtest.webdriver.tests.issue; import java.net.URISyntaxException; import javax.inject.Inject; import com.atlassian.jira.functest.framework.suite.Category; import com.atlassian.jira.functest.framework.suite.WebTest; import com.atlassian.jira.pageobjects.BaseJiraWebTest; import com.atlassia...
true
fd067caca7ca3252d48e5076767d83785aac2963
Java
svenreimers/hg-netbeans-org-community-xml
/xml.misc/src/org/netbeans/modules/xml/time/AbstractDialog.java
UTF-8
11,332
1.71875
2
[]
no_license
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are su...
true
b3d689c4ce4fbe8ba8d3bb1896c33c477803ead4
Java
hgkimer/Plzdog
/Plzdog/src/main/java/com/plz/service/impl/MemberServiceImpl.java
UTF-8
2,920
2.25
2
[]
no_license
package com.plz.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com....
true
16b8873d443ef94151c5375b01f1c0f78b95609b
Java
Pouyan97/CS342-HW4
/NumQuestion.java
UTF-8
1,343
3.171875
3
[]
no_license
import java.io.PrintWriter; import java.util.Scanner; public class NumQuestion extends Question{ public double tolerance; public NumQuestion() { super(); tolerance = 0; } public NumQuestion(String text,double maxValue,double tolerance){ super(text, maxValue); this.tolerance = tolerance; } public NumQu...
true
2850da29023877d5289c8ad9f607732e0a20bdfe
Java
MarcoFedez1/MavenSki
/Ski/src/main/java/Pages/travelers.java
UTF-8
5,109
2.359375
2
[]
no_license
package Pages; import java.util.List; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.sup...
true
a04100eb73fbd9ec92ebfc70fa97d471838b2a31
Java
271387591/luzhishen
/core/src/main/java/com/ozstrategy/dao/userrole/impl/RoleDaoHibernate.java
UTF-8
3,552
2.25
2
[]
no_license
package com.ozstrategy.dao.userrole.impl; import com.ozstrategy.dao.hibernate.GenericDaoHibernate; import com.ozstrategy.dao.userrole.RoleDao; import com.ozstrategy.model.userrole.Role; import org.apache.commons.lang.StringUtils; import org.springframework.stereotype.Repository; import java.util.List; import java.uti...
true
71be43e4f949ac226b2d62872d1e1f25d426dd77
Java
siren-myx/OOP-MVC
/src/sceneViews/ABridgeSceneView.java
UTF-8
4,257
2.59375
3
[]
no_license
package sceneViews; import graphics.Angle; import graphics.Avatar; import graphics.BodyLine; import graphics.BridgeScene; import graphics.ImageShape; import graphics.Oval; import graphics.StringShape; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Component; import java.awt.Graphics;...
true
8f8c45258b3dc358c95a671bce7dc95df6ddaf0f
Java
qiyuan129/InfectStatisticWeb
/src/main/java/com/example/infect_statistic_web/model/Country.java
UTF-8
3,827
3.09375
3
[]
no_license
package com.example.infect_statistic_web.model; import java.time.LocalDate; import java.util.HashMap; /** * 存有各省疫情信息的全国类 * 使用了单例模式,该类的唯一实例由该类的getInstance()方法获得 */ public class Country { HashMap<String, Province> provincesMap; public static String[] PROVINCES = {"安徽", "北京", "重庆", "福建", "甘肃", "广东", "广西", ...
true
165895f85c46cf1c22d2ba8b9d36eae520be4c62
Java
garzuzo/JIM-The-Ripper
/CCPL_11_2018/src/E.java
UTF-8
1,450
3.21875
3
[ "Apache-2.0" ]
permissive
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.text.DecimalFormat; public class E { public static void main(String[] args) throws IOException{ BufferedReader in = new BufferedReader...
true
7a0b130ab3a26e5595c1d31257c95584df2fd0c0
Java
wuranbeijing/bigdata
/DataInputMysql/src/cn/amazon/dao/imp/MyBatchPreparedStatementSetter.java
UTF-8
888
2.546875
3
[]
no_license
package cn.amazon.dao.imp; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.List; import org.springframework.jdbc.core.BatchPreparedStatementSetter; /** * 处理批量插入的回调类 * */ public class MyBatchPreparedStatementSetter implements BatchPreparedStatementSetter{ final L...
true
2712349bb7af3c2cd0a24079cdfd963b07111403
Java
Cauchy-NY/LeetCode
/src/main/java/Easy/Question53.java
UTF-8
360
2.578125
3
[]
no_license
package Easy; public class Question53 { public int maxSubArray(int[] nums) { int res = Integer.MIN_VALUE, count = 0; for (int num: nums) { if (count < 0) count = num; else count += num; if (count > res) res = count...
true
76db379bdbc99150e1841f1c6894bf3e3207e4fc
Java
guiotta/cooperative_poll
/src/test/java/com/otta/cooperative/poll/meeting/job/PollEndJobTest.java
UTF-8
2,588
2.015625
2
[]
no_license
package com.otta.cooperative.poll.meeting.job; import static org.mockito.BDDMockito.given; import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import java.util.Optional; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.E...
true
e084b4bc0ee170dfa3382ae5744a0d8edebb9dc5
Java
miles801/settle
/lrsoft-settle/src/main/java/com/michael/settle/report/dao/impl/GroupBonusDaoImpl.java
UTF-8
2,323
2.140625
2
[]
no_license
package com.michael.settle.report.dao.impl; import com.michael.core.hibernate.HibernateDaoHelper; import com.michael.core.hibernate.criteria.CriteriaUtils; import com.michael.settle.report.bo.GroupBonusBo; import com.michael.settle.report.dao.GroupBonusDao; import com.michael.settle.report.domain.GroupBonus; import or...
true
61166ce33bc7cd16544a00e2f5371698482f777b
Java
amakaroff/Java
/JavaTechOfDevelopment/menu/src/main/java/com/ssu/alexey_makarov/task_2/SolutionTaskTwo.java
UTF-8
961
2.296875
2
[]
no_license
package com.ssu.alexey_makarov.task_2; import com.ssu.alexey_makarov.task_2.controller.Controller; import com.ssu.alexey_makarov.task_2.dao.impl.JSONDAO; import com.ssu.alexey_makarov.task_2.db.reader.Reader; import com.ssu.alexey_makarov.task_2.db.reader.json.impl.JSONReader; import com.ssu.alexey_makarov.task_2.mode...
true
15516734af73e57fd335ccfd560a6d314dff14db
Java
yh2tan/CS349Spring2016
/A2/Xrectangle.java
UTF-8
3,409
2.890625
3
[]
no_license
import java.awt.*; import javax.swing.*; import java.lang.*; import java.io.*; import java.util.*; class Xrectangle extends Xshape { int color; boolean filled = false; Shape shape; int thick; int fill = -1; // internal data double x; double y; double dx; double dy; // c...
true
a0f75653185223f37e2501d18222383649352e3b
Java
MatiasGrondona/POO-UNNE-SERIES
/Serie3/RegistroCivil.java
UTF-8
1,699
3.671875
4
[]
no_license
/** * Permite crear y manipular objetos de tipo Hombre y Mujer. * * @author Matias Grondona * @version 05/09/18 * */ public class RegistroCivil { public static void main(String [] args) { String m_nombre = args[0]; String m_apellido = args[1]; int m_edad = Integer.valueOf(args[2]...
true
9925e75a7190eecd943bb1222a607e8f0388e78c
Java
parkingsmart/parkingsmart-backend
/src/main/java/com/oocl/parkingsmart/service/UserService.java
UTF-8
5,292
2.28125
2
[]
no_license
package com.oocl.parkingsmart.service; import com.oocl.parkingsmart.entity.Order; import com.oocl.parkingsmart.entity.ParkingPromotions; import com.oocl.parkingsmart.entity.ShopPromotions; import com.oocl.parkingsmart.entity.User; import com.oocl.parkingsmart.entity.UserShopPromotions; import com.oocl.parkingsmart.exc...
true
9fc733089eb9c967cfd17de4f0ee284d2e2cf4c1
Java
kcabhi/MyApplication2
/app/src/main/java/com/example/myapplication/Heroesclass.java
UTF-8
222
1.84375
2
[]
no_license
package com.example.myapplication; import retrofit2.Call; import retrofit2.http.Body; import retrofit2.http.POST; public interface Heroesclass { @POST("heroes") Call<Void> createHeroes(@Body Heroes heroes); }
true
58b1b82d7606b1fa68336c53917b2e453cc66b21
Java
aspose-cells/Aspose.Cells-for-Java
/Examples/src/AsposeCellsExamples/TechnicalArticles/ApplyingSubtotal.java
UTF-8
1,307
3.203125
3
[ "MIT" ]
permissive
package AsposeCellsExamples.TechnicalArticles; import com.aspose.cells.CellArea; import com.aspose.cells.Cells; import com.aspose.cells.ConsolidationFunction; import com.aspose.cells.Workbook; import com.aspose.cells.Worksheet; import AsposeCellsExamples.Utils; public class ApplyingSubtotal { public static...
true
78dd16d809489c10f99820b7188ae52661e61aef
Java
Japijapo12/training-solutions
/src/main/java/week10d02/MaxTravel.java
UTF-8
1,028
3.25
3
[]
no_license
package week10d02; import java.util.List; //Van egy egész számok listája, amelyben egy szám azt jelzi, hogy az adott számú buszmegállóban egy ember fel akar szállni. // A 12,12,0,3,4,4 sorozat tehát azt jelenti, hogy a 12-es buszmegállóban, ami kétszer szerepe, vagyis 2-en, akarnak felszállni. //Vagyis ahányszor sze...
true
ef3992ce2d0b5a2352197cad2f67275ea83a8472
Java
lcy7747/eclipseGit
/src/main/java/kr/or/ddit/elecAuthorization/controller/approval/ApprovalCreateController.java
UTF-8
386
1.695313
2
[]
no_license
package kr.or.ddit.elecAuthorization.controller.approval; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; // clone 수정 @Controller public class ApprovalCreateController { @RequestMapping("/elecAuthorization/approval/approInsert") public String...
true
8ebf23513698a3776d8a76b10ec9f534ccdcace6
Java
hungnv132/Project_Management
/src/main/java/com/hungnv132/core/support/UserAuthenticationSuccessHandler.java
UTF-8
716
2.0625
2
[]
no_license
package com.hungnv132.core.support; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.security.core.Authentication; import org.springframework.security.web.authentication....
true
535cff92daa87b4186720d2af250b2bfb5907a38
Java
Scaseco/jenax
/jenax-arq-parent/jenax-arq-rdfnode-in-dataset/src/main/java/org/aksw/jenax/arq/dataset/impl/ResourceInDatasetImpl.java
UTF-8
8,573
2.109375
2
[]
no_license
package org.aksw.jenax.arq.dataset.impl; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; import org.aksw.jenax.arq.dataset.api.LiteralInDataset; import org.aksw.jenax.arq.dataset.api.ResourceInDataset; import org....
true
5a900ad83a7e637ad6e8bbeed40f6a9bac3ea9c8
Java
ocean-wll/java_up_study
/work/src/main/java/week8/problem6/atomikosdemo/src/main/java/pers/ocean/AtomikosExample.java
UTF-8
3,282
2.453125
2
[]
no_license
package pers.ocean; import com.atomikos.icatch.jta.UserTransactionImp; import com.atomikos.jdbc.AtomikosDataSourceBean; import org.omg.CORBA.SystemException; import javax.transaction.UserTransaction; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; i...
true
1752c794c3190b296327d467eb93aea0bfeefb2a
Java
Sagarkpr/CarRentalLLDSolution
/src/main/java/com/lld/providers/CarRentalService.java
UTF-8
1,740
2.75
3
[]
no_license
package com.lld.providers; import com.lld.models.Receipt; import com.lld.models.Vehicle; import com.lld.models.enums.VehicleType; import java.time.LocalDateTime; import java.util.List; public class CarRentalService { private BookingService bookingService; private UserService userService; private Inventor...
true
c2c375b4009d650e4541976c373fc312b7bebf96
Java
zoeyyang123/distributedProject
/springboot-devtools/src/main/java/com/zoey/controller/IndedController.java
UTF-8
504
1.828125
2
[]
no_license
package com.zoey.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * IndedController class * * @author zhaoyi * @date 18-8-22 */ @RestController public class IndedController { @RequestMapping("/index") public Str...
true
f83e170873c745b737c3b3da0d42a09cd93cac63
Java
qiyutao/DJIBlockly
/app/src/main/java/com/dji/sdk/sample/demo/battery/SetGetDischargeDayView.java
UTF-8
3,286
2.171875
2
[]
no_license
package com.dji.sdk.sample.demo.battery; import android.content.Context; import android.os.Handler; import android.os.Message; import android.widget.ArrayAdapter; import com.dji.sdk.sample.R; import com.dji.sdk.sample.internal.controller.DJISampleApplication; import com.dji.sdk.sample.internal.utils.DialogUtils; impor...
true
2a7044435b35a3c095430516d819c728db3b9aaf
Java
sharvi1203/jdi05
/CRS_Flipkart_Dropwizard/src/main/java/com/flipkart/service/AdminInterface.java
UTF-8
2,912
2.671875
3
[]
no_license
package com.flipkart.service; import com.flipkart.bean.Course; import com.flipkart.bean.Professor; import com.flipkart.bean.RequestedCourse; import com.flipkart.bean.Student; import com.flipkart.exception.LimitExceededException; import com.flipkart.exception.RepeatException; import java.util.List; /** * @author JED...
true
a560ca67467f8d064f588f24ae5a295c0ed4a918
Java
huyasec008/buffalo
/src/main/java/com/asen/buffalo/validator/DefaultEnumValidator.java
UTF-8
1,178
2.578125
3
[]
no_license
package com.asen.buffalo.validator; import com.google.common.collect.Lists; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import java.util.Collections; import java.util.List; /** * 枚举类校验器 * * @author Asen * @version 1.0.0 * @since 2020/05/19 */ public class De...
true
e213ff17a9d4a97ad6f59d043002bcb3a63610bb
Java
fady-zarif/baking-App
/app/src/main/java/com/example/fady/bakingapp/Fragment/DetailsActivityFragment.java
UTF-8
1,750
2.09375
2
[]
no_license
package com.example.fady.bakingapp.Fragment; import android.app.Fragment; import android.content.Intent; import android.os.Bundle; import android.os.Parcelable; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflat...
true
e51b59b4046a5ca1ac56c27d1f31a8e6cc47fd57
Java
matthiaw/xwiki-rendering-macro-tasks
/xwiki-rendering-macro-tasks/src/main/java/org/xwiki/rendering/tasks/TaskEventListener.java
UTF-8
1,683
1.976563
2
[]
no_license
package org.xwiki.rendering.tasks; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Provider; import org.xwiki.bridge.event.DocumentCreatedEvent; import org.xwiki.bridge.event.DocumentUpdatedEvent; import org.xwiki.component.anno...
true
69d9793e194a4c0e9e128be17f8e7c01f1da2764
Java
codehaus/picocontainer
/java/1.x/picocontainer/tags/picocontainer-1_2-RC-2/container/src/test/org/picocontainer/defaults/BeanPropertyComponentAdapterTestCase.java
UTF-8
763
2.546875
3
[ "BSD-3-Clause" ]
permissive
package org.picocontainer.defaults; import junit.framework.TestCase; import org.picocontainer.testmodel.CoupleBean; /** * * @author greg * @author $Author: $ (last edit) * @version $Revision: $ */ public class BeanPropertyComponentAdapterTestCase extends TestCase { public void testBeanPropertyComponentAdapt...
true
f8975abe9b3800f7314ced077830d58476f865c5
Java
dinhhungitq/JF1
/Android/app/src/main/java/vn/edu/activestudy/activestudy/util/DeviceUtil.java
UTF-8
931
2.046875
2
[]
no_license
package vn.edu.activestudy.activestudy.util; import android.content.Context; import android.os.Build; import android.telephony.TelephonyManager; import android.util.Log; import vn.edu.activestudy.activestudy.ASController; import vn.edu.activestudy.activestudy.model.DeviceInfo; /** * Created by dell123 on 8/21/2015....
true
db3f323e0521587ba379b09f646914605549573d
Java
bhagwat-c/CaseStudyProject
/src/com/sonata/Main/LoginValidationDoctor.java
UTF-8
1,657
2.140625
2
[]
no_license
package com.sonata.Main; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.Htt...
true
e769dea9d40cc0da4ff3a59e7dead3855936303c
Java
RAMYA-V-777/javaapps
/work1/distance.java
UTF-8
686
2.921875
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 work1; import java.util.Scanner; /** * * @author velmurugan */ public class distance { public static voi...
true
b34f35138b37ad72ca0fd743991d04134de30ef1
Java
evad-e/oop_proj
/src/chess/pieces/Knight.java
UTF-8
1,278
3.421875
3
[]
no_license
package chess.pieces; import chess.Board; public class Knight extends Piece { public Knight(int x, int y, boolean is_white, String file_path, Board board) { super(x,y,is_white,file_path, board, 'n', "\u2658", "\u265E"); } @Override public boolean canMove(int destination_x, int destin...
true
469e014dee24a428332f31639c782d401ad9a6d3
Java
parthapratim-das/Core-Java-Codes
/Java_LambdaExp/src/com/lambdaexp/FunctionWithLambda.java
UTF-8
444
3.40625
3
[]
no_license
package com.lambdaexp; import java.util.function.Function; public class FunctionWithLambda { public static void main(String[] args) { //get the length of a string using function, apply Function<String,Integer> f = s -> s.length(); System.out.println(f.apply("Partha")); //convert a string characters...
true
51cabf74a784df4dffd3ea0a53531be843a69529
Java
babruix/Kattis-Solutions
/buttonbashing.java
UTF-8
1,469
2.84375
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 Solutions; /** * * @author David */ import java.io.*; import java.util.*; public class buttonbashing { public static vo...
true
dca782f38e95c4acf412f17099391195d9fe228f
Java
sartajg/Certification
/CertificationCommonLib/src/main/java/com/lift/so/filter/FilterSO.java
UTF-8
952
2
2
[]
no_license
package com.lift.so.filter; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSeeAlso; import com.lift.so.enums.ExamTypes; @XmlRootElement(name="filterSO") @XmlSeeAlso({ExamTypes.class}) public class FilterSO { private DateSO dateSO; private ExamTypes examTypes; pr...
true
63b453a90caf973e1b3690fdbd60092e06fd1ea4
Java
MaWeizheng-4396/sharebooks
/src/main/java/com/mwz/demo/sharebooks/api/AdminLookCommentsApi.java
UTF-8
1,702
1.953125
2
[]
no_license
package com.mwz.demo.sharebooks.api; import com.mwz.demo.sharebooks.entity.Commonts; import com.mwz.demo.sharebooks.service.AdminLookCommentsService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotat...
true
c81b7c55620f9899d5638f9ecb8f492a6f0807ac
Java
thinkmobiles/UAE_TRA_Android
/app/src/main/java/com/uae/tra_smart_services/fragment/ComplainAboutServiceFragment.java
UTF-8
7,853
1.632813
2
[]
no_license
package com.uae.tra_smart_services.fragment; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.util.Log; import android.util.Patterns; import android.view.View; import android.view.View.OnClickListener; import android.widget.EditText; import android.widget.Spin...
true
4d249e0f48dca6b86041cba5177bd0dcee85f9cb
Java
Cinetryx/haxademic
/src/com/haxademic/core/draw/particle/ParticleSystemSwirl.java
UTF-8
2,198
2.34375
2
[ "MIT" ]
permissive
package com.haxademic.core.draw.particle; import com.haxademic.core.app.P; import com.haxademic.core.math.MathUtil; import com.haxademic.core.ui.UI; import processing.core.PGraphics; import processing.core.PImage; public class ParticleSystemSwirl extends ParticleSystem { public ParticleSystemSwirl(PImage[] particl...
true
5dc64a4657887054684615a45d1a5ca47c6fb522
Java
rosoareslv/SED99
/java/neo4j/2019/12/DatabaseLog.java
UTF-8
2,697
2.078125
2
[]
no_license
/* * Copyright (c) 2002-2019 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * Neo4j 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 ...
true
85bd88e3d5f86914c696ff1def6c432cf463f072
Java
Szeksick/JobBoard
/src/main/java/pl/kgdev/jobboard/services/UserService.java
UTF-8
1,748
2.328125
2
[]
no_license
package pl.kgdev.jobboard.services; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Service; import pl.kgdev.jobboard.entities.RoleEnum; ...
true
d911b47fe39057f209b528857afd26d627d27a12
Java
sanvert/salesMessageProcessor
/src/main/java/sales/processor/UpdateMessageProcessor.java
UTF-8
2,600
2.4375
2
[]
no_license
package sales.processor; import sales.MessageUtils; import sales.analytics.MessageAnalytics; import sales.entity.ItemUpdateOperations; import sales.entity.PriceAmountPairs; import sales.entity.UpdateOperation; import sales.model.SalesUpdateMessage; import sales.repository.SalesRepository; import sales.repository.Updat...
true
29cc9d3342862e8161f50a3dae9b28cae3dcc718
Java
farisNassif/ThirdYear_PPIT
/pp/src/server/Server.java
UTF-8
4,812
3.46875
3
[]
no_license
package server; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.Socket; import services.Services; import database.SQL; /** * @version 1.4 * @author Faris Nassif and Cormac Raftery <br> * <br> * The class <b>Server</b> extends <b>Thr...
true
0a315a36ce95de3aa4c0b40e9fc0502956bce270
Java
answerSachse/leetcode
/src/main/java/leetcode/problemset/Problem69.java
UTF-8
2,042
4.1875
4
[]
no_license
package leetcode.problemset; /** * @author hefuhai */ public class Problem69 { /** * 实现 int sqrt(int x) 函数。 * * 计算并返回 x 的平方根,其中 x 是非负整数。 * * 由于返回类型是整数,结果只保留整数的部分,小数部分将被舍去。 * * 示例 1: * * 输入: 4 * 输出: 2 * 示例 2: * * 输入: 8 * 输出: 2 * 说明: 8 的平方根是 2.82842..., *   由于返回类...
true
eaaf7f7c6a1414dc0e2a057dbbb957aba2f93dc8
Java
VirginiaLP/16F_SE_Move-TeamAlpha
/src/main/java/scheduler/DataManager.java
UTF-8
6,872
2.625
3
[]
no_license
package scheduler; import java.io.InputStream; import java.nio.file.Path; import java.sql.Connection; import java.sql.Statement; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.DriverManager; import java.sql.SQLException; import java.util.Scanner; import java.util.logging.FileHandler; imp...
true
c913177874ee64eeb7cd6e2245760edba6bd9116
Java
androidTang/SVNDemo
/svnlib/src/main/java/com/tang/svnlib/ImageUtil.java
UTF-8
250
1.757813
2
[]
no_license
package com.tang.svnlib; /** * 包名: com.tang.svndemo * 作者: tang * 时间: 2018/7/24 0024 下午 3:43 * 邮箱: 3349913147@qq.com * 描述: */ public class ImageUtil { public static boolean getBoolean() { return true; } }
true
1e00575367e302368c45019122f6d2e9b6b9ba95
Java
wujek444/restful-api-app
/src/main/java/com/pl/jwojcik/restfulapiapp/RestfulApiAppApplication.java
UTF-8
481
1.796875
2
[]
no_license
package com.pl.jwojcik.restfulapiapp; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; @SpringBootApplication(exclude = {SecurityAutoConfiguration.class}) pu...
true
e5e4a2b957f968d55cb36343e802ca618ff5ea17
Java
itstianyuqiu/Development-UML
/src/ictgradschool/industry/lab_uml/ex01/Sphere.java
UTF-8
141
1.789063
2
[]
no_license
package ictgradschool.industry.lab_uml.ex01; /** * Should represent a Sphere. * * TODO Implement this class. */ public class Sphere { }
true
a0fc619a3486c933e084f06c79bd201da37efcea
Java
gt666666/kmzx_demo
/src/main/java/com/zhwlt/logistics/netty/server/handle/ObjectServerHandler.java
UTF-8
1,146
3.09375
3
[]
no_license
package com.zhwlt.logistics.netty.server.handle; import com.zhwlt.logistics.pojo.Member; import io.netty.channel.ChannelHandlerAdapter; import io.netty.channel.ChannelHandlerContext; public class ObjectServerHandler extends ChannelHandlerAdapter { /** * 当接收到消息之后会自动调用此方法对消息内容进行处理; * @param msg 接收到的消息,这个消息可能是各种类型的数...
true
10db66ef6027b605a61a2363c2f721582a34b0d8
Java
illes/multimodal
/src/java/bme/iclef/predict/RegexPredictor.java
UTF-8
20,255
1.679688
2
[]
no_license
package bme.iclef.predict; import java.io.BufferedReader; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.Writer; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Arrays; import ...
true
bf06adb160477715b2854d3650950ffdd6821c44
Java
ysemylord/HenCoderTape
/Tape/app/src/main/java/com/xyb/tape/ui/MathUtil.java
UTF-8
1,017
2.828125
3
[]
no_license
package com.xyb.tape.ui; import java.math.BigDecimal; /** * Created on 2017/11/7. * * @author xyb */ public class MathUtil { public static String towDecimal(float value) { BigDecimal bigDecimal = new BigDecimal(value); return bigDecimal.setScale(2, BigDecimal.ROUND_HALF_UP).toString(); ...
true
f356c260bda0bd194bd73f8a272cbac09eb373b7
Java
vanessalb08/java-exercices
/src/GerenciadorCandidatosVestibular/Main.java
UTF-8
381
2.4375
2
[ "Apache-2.0" ]
permissive
package GerenciadorCandidatosVestibular; public class Main { public static void main(String[] args){ boolean continuarExecutar = true; while (continuarExecutar){ try { continuarExecutar = Sistema.executar(); }catch (Exception erro){ System.out...
true
8c21c2ce662ef7232eba60b56228099c486adedb
Java
goranstack/jfreeview
/se.bluebrim.view/src/main/java/se/bluebrim/view/model/PropertyChangeNotifier.java
UTF-8
269
1.804688
2
[ "Apache-2.0" ]
permissive
package se.bluebrim.view.model; import java.beans.PropertyChangeListener; /** * * @author GStack * */ public interface PropertyChangeNotifier { public abstract void addPropertyChangeListener(String propertyName, PropertyChangeListener listener); }
true
6f441d32911ac5269b4d5f29f6250bdfff7e6052
Java
BartekCzarnecki/creditApp
/src/main/java/pl/inteca/creditApp/controller/CreditController.java
UTF-8
1,508
2.296875
2
[]
no_license
package pl.inteca.creditApp.controller; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import pl...
true
9beaa8cc7fce0413cd29727934d9c20bcf530355
Java
wanggary/java-train
/week3/NettyAPIGateWay/src/main/java/com/wsj/gateway/work1/inbound/HttpInboundServer.java
UTF-8
1,257
2.671875
3
[]
no_license
package com.wsj.gateway.work1.inbound; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelOption; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.NioServerSocketChannel; public class HttpI...
true
59eeb2ee7cd20cfdec3c5f56d7186f67512b3690
Java
gorishabh/Learn_Process
/Process/src/com/goelrishabh/www/threadclass/Thread1.java
UTF-8
666
3.1875
3
[ "MIT" ]
permissive
package com.goelrishabh.www.threadclass; public class Thread1 extends Thread0 { // static { // System.out.println("static block starts!::t1"); // System.out.println(currentThread()); // System.out.println("static block ends!::t1"); // } public Thread1(final String name) { super...
true
0f4c051ab7934a795f92bff1ca5fec69a1f827d9
Java
hortonworks/cloudbreak
/redbeams/src/main/java/com/sequenceiq/redbeams/service/operation/OperationService.java
UTF-8
1,465
1.851563
2
[ "LicenseRef-scancode-warranty-disclaimer", "ANTLR-PD", "CDDL-1.0", "bzip2-1.0.6", "Zlib", "BSD-3-Clause", "MIT", "EPL-1.0", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-jdbm-1.00", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
package com.sequenceiq.redbeams.service.operation; import java.util.Optional; import org.springframework.stereotype.Component; import com.sequenceiq.flow.api.model.operation.OperationFlowsView; import com.sequenceiq.flow.api.model.operation.OperationResource; import com.sequenceiq.flow.api.model.operation.OperationV...
true
5605684e904eb35dc9a816c362efc4ce34e44747
Java
lianrey/IC-practice-java
/src/main/java/com/liana/examples/Question7.java
UTF-8
1,078
3.359375
3
[]
no_license
package com.liana.examples; /** * Created by liana on 3/24/18. */ public class Question7 { private int max; private int min; private double mean; private int mode; private int total; private int numberOfReadings; private int[] occurrences = new int[111]; // Array of 0s at indices 0....
true
0d7190a984e63a8855d2dce2895cca6bc3d19526
Java
maheshtungala/Geethika
/CoreJava/src/commandlineArguments/StringReverse.java
UTF-8
621
3.390625
3
[]
no_license
package commandlineArguments; public class StringReverse { public static void main(String[] args) { String input = "qaplanet"; // getBytes() method to convert string // into bytes[]. byte [] strArray = input.getBytes(); byte [] result = ...
true
37b4b956e45c0b735a19d6625d0b022e49348d73
Java
guangyuanlcc123/inxedu-upload
/src/main/java/com/inxedu/wxos/util/JsonUtil.java
UTF-8
3,355
2.65625
3
[]
no_license
package com.inxedu.wxos.util; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.extern.log4j.Log4j; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import...
true
ae1fc58a7e057dcd08b2a50c9d04770b1c3bc834
Java
p-jifroo/Resolute
/Resolute Project/src/ca/concordia/mjlaali/gate/ml/DocumentInstance.java
UTF-8
798
2.140625
2
[]
no_license
package ca.concordia.mjlaali.gate.ml; import gate.AnnotationSet; import gate.Document; import gate.Factory; import gate.util.InvalidOffsetException; /** * This class extract an instance which is equal to whole document. * @author mjlaali * */ public class DocumentInstance implements InstanceExtractor{ private ...
true
a6f537047d020514ecd65a788d55bce2059de7e4
Java
revaturelabs/Staging-Messaging-Portal
/src/main/java/com/revature/smp/SmpApplication.java
UTF-8
1,130
2.15625
2
[]
no_license
package com.revature.smp; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.web.client.RestTemplateBuilder; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentSc...
true
1d23163fb437e91335c150391122ea335db659fe
Java
maxahirwe/MDPproject
/app/src/main/java/com/hillygeeks/mdpproject/RegisterActivity.java
UTF-8
8,965
2.234375
2
[]
no_license
package com.hillygeeks.mdpproject; import android.content.Intent; import android.content.SharedPreferences; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.WindowManager; import ...
true
0ff759e07cf09b72c08626cc848fc705f5f0a17d
Java
feryadialoi/bayu-backend
/src/main/java/dev/feryadi/backend/bayu/model/response/UserMutationResponse.java
UTF-8
740
1.820313
2
[]
no_license
package dev.feryadi.backend.bayu.model.response; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.math.BigDecimal; import java.time.LocalDateTime; @Data @AllArgsConstructor @NoArgsConstructor ...
true
c8bd01063f825842ab23d3c0cb1020e0da11159d
Java
janniklaskeck/livestreamer_twitch_gui
/src/main/java/app/lsgui/model/generic/GenericService.java
UTF-8
3,159
2.234375
2
[ "MIT" ]
permissive
/** * MIT License * * Copyright (c) 2016 Jan-Niklas Keck * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
true
9c7a3b387a56b51168ee797c4823a689f8f62919
Java
OnexZgj/Rxjava2
/app/src/main/java/com/it/onex/rvcommonadapter/GetRequest_Interface.java
UTF-8
673
1.851563
2
[]
no_license
package com.it.onex.rvcommonadapter; import com.it.onex.rvcommonadapter.bean.Translation; import com.it.onex.rvcommonadapter.bean.Translation1; import com.it.onex.rvcommonadapter.bean.Translation2; import io.reactivex.Observable; import retrofit2.http.GET; /** * Created by Linsa on 2018/3/26:10:46. * des: */ pu...
true
7b5629dc2bd61a312d50a646d4f19bdae383a38a
Java
marcszeg/webfejlBeadando
/src/main/java/com/deik/webfejlBeadando/album/AlbumRepository.java
UTF-8
373
1.859375
2
[]
no_license
package com.deik.webfejlBeadando.album; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Qualifier("datasource2") @Repository public interface AlbumRepository extends JpaRepository<Album, Str...
true
ff04c14e13031ff5da1502c1d8c8ce789e08f0a8
Java
WangYMcc/cloud-calendar
/pcc/src/main/java/group/cc/pcc/service/impl/PccScheduleAdditionalTypeServiceImpl.java
UTF-8
706
1.742188
2
[]
no_license
package group.cc.pcc.service.impl; import group.cc.pcc.dao.PccScheduleAdditionalTypeMapper; import group.cc.pcc.model.PccScheduleAdditionalType; import group.cc.pcc.service.PccScheduleAdditionalTypeService; import group.cc.core.AbstractService; import org.springframework.stereotype.Service; import org.springframework....
true
e44c863b39a3d711fb14ff2921679cdcccabb691
Java
wrazeen27/EventPlaningSystem
/EventPlaningSystem/src/service/EventServiceImp.java
UTF-8
10,035
2.640625
3
[]
no_license
package service; import java.io.IOException; import java.sql.Connection; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; ...
true
91d89e2e0303e805d2cc8eff18c207b84d33f069
Java
IamWilliamWang/wolf
/app/src/main/java/android/support/v4/widget/k.java
UTF-8
826
1.578125
2
[]
no_license
package android.support.v4.widget; import android.content.Context; import android.graphics.Canvas; class k implements m { public Object a(Context paramContext) { return null; } public void a(Object paramObject, int paramInt1, int paramInt2) { } public boolean a(Object paramObject) { return...
true
69515390598efbf42708fb0238d12cc68999c449
Java
ElenaLubianska/JavaStart
/src/com/javaStart/Task4Level1b/Main.java
UTF-8
570
3.28125
3
[]
no_license
package com.javaStart.Task4Level1b; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("enter a number"); int n = sc.nextInt(); long factorial = 1L; if (4 < n && n < 16){ ...
true
5ad2e942f3595f069aee3d95f3223bfb58f573d7
Java
DChaushev/oopJava_Tokenization
/src/com/fmi/oopjava/serverProxy/ServerProxy.java
UTF-8
2,822
2.984375
3
[ "MIT" ]
permissive
package com.fmi.oopjava.serverProxy; import com.fmi.oopjava.client.Client; import com.fmi.oopjava.enums.ServerName; import com.fmi.oopjava.interfaces.RemoteServer; import com.fmi.oopjava.interfaces.Storable; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; im...
true
b566752f29d8e7774f3df85334334718a780a521
Java
roman1999r/Java
/HomeWorks/Core11Home2/src/Main.java
UTF-8
363
2.09375
2
[]
no_license
public class Main { public static void main(String[] args) { // int arr[] = {1,2,3,7,5,6,9}; Collection collection = new Collection(); collection.aClass.hasNext(); collection.aClass.next(); System.out.println("__________________"); collection.class2.hasNext(); ...
true
092b25f9d2cce1baccd76167e83bdab5157a84ee
Java
bassimbentahar/Saga
/Client_Saga/src/business/Client.java
UTF-8
181
2.1875
2
[]
no_license
package business; public class Client extends Personne { public Client(String id,String nom, String prenom,String dateNaissance) { super(id,nom, prenom,dateNaissance); } }
true
c2ecf8e82e9510981a273f02670e4a63827505e5
Java
beango/sundyn
/src/com/sundyn/vo/ManagerVo.java
UTF-8
5,201
1.59375
2
[]
no_license
package com.sundyn.vo; import lombok.Getter; import lombok.Setter; import java.util.Date; public class ManagerVo { private Integer id; private String name; private String realname; private String password; private Integer skinid; private Integer userGroupId; private String remark; pri...
true
a985626b1db9f320287c816d30cbdedbb3a5fd9b
Java
rajeshbishnoi/android_apps_basic
/POIParsinggg/POIParsing/app/src/main/java/ysic47/poiparsing/Gagan.java
UTF-8
539
2.34375
2
[]
no_license
package ysic47.poiparsing; import java.util.ArrayList; /** * Created by hp on 02-07-2017. */ public class Gagan { ArrayList<String>nameArr= new ArrayList<String>(); ArrayList<String>vicArr= new ArrayList<String>(); public ArrayList<String> getNameArr() { return nameArr; } public void...
true
2a5a9bfb4f0f057f7152c3ee0356456335eee2c4
Java
gyani91/Java-Projects
/Challenges/Step 1/Workspace/Assignment 1/Q2/LeapYear/src/com/psl/Client.java
UTF-8
621
3.265625
3
[ "MIT" ]
permissive
package com.psl; public class Client { public boolean isLeapYear(int year) { // Write your code here to test if the year passed as a parameter is a Leap Year or not. if(year%100 == 0) { if(year%400 == 0) return true; else return fa...
true
01d09baeb14ccfd5a8c8c3c5205c9405e76a9378
Java
deepak-m1shra/otus_java
/L09jdbc/src/main/java/ru/otus/shtyka/Main.java
UTF-8
1,121
2.4375
2
[]
no_license
package ru.otus.shtyka; import ru.otus.shtyka.base.DBService; import ru.otus.shtyka.base.UsersDataSet; import ru.otus.shtyka.connection.DBServiceTransactional; public class Main { public static void main(String[] args) throws Exception { try (DBService dbService = new DBServiceTransactional()) { ...
true
51c9d7f706cac64d1f3b33af610743df8daba4dd
Java
jschwarzwalder/Java
/Week7_Games/Pez/Example.java
UTF-8
1,845
3.640625
4
[]
no_license
package Week7_Games.Pez; /** * Created by Jami on 10/4/2015. */ public class Example { public static void main(String[] args){ System.out.println("We are making a new Pez Dispenser."); PezDispenser dispenser1 = new PezDispenser("Yoda"); System.out.printf("The dispenser character is %s\n",...
true
3f3ccb65a42cef527c1eb689609131f97ec1bfea
Java
leonardoconsutec/bistroeasy
/src/main/java/br/com/consutec/dao/OperadorDAO.java
UTF-8
215
1.882813
2
[]
no_license
package br.com.consutec.dao; import javax.ejb.Stateless; import br.com.consutec.models.Operador; @Stateless public class OperadorDAO extends BaseDAO<Operador>{ public OperadorDAO(){ super(Operador.class); } }
true
b6fc197596f87fdd07f3644c8e8830a80e178703
Java
Razaltan/openstorefront
/server/openstorefront/openstorefront-core/model/src/main/java/edu/usu/sdl/openstorefront/validation/ValidValueRule.java
UTF-8
3,376
2.390625
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2014 Space Dynamics Laboratory - Utah State University Research Foundation. * * 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/LICEN...
true
cb320fd462585b59bf66d1d87a3bd1b21ad978b2
Java
tookaa2/omise-java
/src/main/java/co/omise/models/FlowType.java
UTF-8
290
2.15625
2
[ "MIT" ]
permissive
package co.omise.models; import com.fasterxml.jackson.annotation.JsonProperty; public enum FlowType { @JsonProperty("offline") Offline, @JsonProperty("redirect") Redirect; @Override public String toString() { return super.toString().toLowerCase(); } }
true
6c7ce7abc0fe17bb6627a7ba75ff65a0280725b9
Java
Sa1ZeR/DiverseCart
/src/me/Sa1ZeR_/DiverseCart/commands/AllCommand.java
UTF-8
517
2.21875
2
[]
no_license
package me.Sa1ZeR_.DiverseCart.commands; import me.Sa1ZeR_.DiverseCart.DiverseCart; import me.Sa1ZeR_.DiverseCart.commands.base.AbstractPlayerCommand; import org.bukkit.entity.Player; public class AllCommand extends AbstractPlayerCommand { public AllCommand(String[] aliases, String perm, int args, String usage) {...
true
76b95c1c27e0036d060741240478e9da7a73667b
Java
laughing1990/aplan-fork
/aplanmis-common/src/main/java/com/augurit/aplanmis/common/constants/StandardStageCode.java
UTF-8
947
2.5625
3
[]
no_license
package com.augurit.aplanmis.common.constants; import lombok.Getter; import java.util.HashMap; import java.util.Map; /** * @author yinlf * @Date 2019/8/14 */ @Getter public enum StandardStageCode { //1 立项用地规划许可 2 工程建设许可 3 施工许可 4 竣工验收 5 并行推进 LXYDGHXK("立项用地规划许可", "1"), GCJSXK("工程建设许可", "2"), SGXK("施...
true
bb6e440d0a946d3ca4c62d5811079990c26ef5af
Java
YLFriedman/Circular_Queue
/app/src/main/java/ca/uottawa/seg2105/project/cqondemand/activities/ServiceListActivity.java
UTF-8
20,072
2.015625
2
[]
no_license
package ca.uottawa.seg2105.project.cqondemand.activities; import android.content.DialogInterface; import android.content.Intent; import androidx.annotation.NonNull; import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.AlertDialog; import android.os.Bundle; import androidx.recyclerview.widget.LinearLa...
true
c66dad0c494d853bf00081e394fc8cec17291a7c
Java
kokodavid/Tiki-Taka
/app/src/main/java/com/example/tiki_taka/ui/HomeActivity.java
UTF-8
3,210
1.90625
2
[ "MIT" ]
permissive
package com.example.tiki_taka.ui; import android.graphics.Typeface; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget....
true
39593839823885e975ccb5dea9b322279d46e0bf
Java
macvis/spring-cloud-sel
/order/src/main/java/com/tee/springcloudsel/order/util/ResultVOUtil.java
UTF-8
512
2.046875
2
[]
no_license
package com.tee.springcloudsel.order.util; import com.tee.springcloudsel.order.enums.ResultEnum; import com.tee.springcloudsel.springcloudsel.dto.ResultVO; /** * @author youchao.wen * @date 2018/10/27. */ public class ResultVOUtil { public static ResultVO success(Object obj){ ResultVO resultVO = new Re...
true