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
965a641625951e03e7d10f094f8431842887a27f
Java
dydgus0111/swexpert_algo
/D3/1244.java
UTF-8
2,425
3.09375
3
[]
no_license
package d3; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.StringTokenizer; public class Solution1244{ stat...
true
cb719ebff6da38ff0ccc7ac8699cc5efa478b4b2
Java
tushti19/PaymentsPrototype
/app/src/main/java/com/anddev/paymentsprototype/OtpActivity.java
UTF-8
7,436
1.898438
2
[]
no_license
package com.anddev.paymentsprototype; import androidx.appcompat.app.AppCompatActivity; import android.content.res.Resources; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import android.util.TypedValue; import android.view.View; import android.view.V...
true
102d086246804f4a3da2e3fa8ccdfae547ca830c
Java
bairaginath/practice
/src/main/java/Permutation.java
UTF-8
650
3.125
3
[]
no_license
public class Permutation { static void perm(String pre,String suffix){ if(suffix.length()<=1) return; if(suffix.length()==2) { System.out.println(pre+suffix); System.out.println(pre+suffix.charAt(1)+suffix.charAt(0)); return ; } ...
true
31b3a85334a8c1f539bc8990cace92ebbc38fa84
Java
caikaixuan/yuanzi_earn_project
/earn-business-management/earn-business-management-api/src/main/java/com/ygbc/brain/business/management/api/dto/question/CreateQuestionReqDTO.java
UTF-8
2,071
2.296875
2
[]
no_license
package com.ygbc.brain.business.management.api.dto.question; import com.alibaba.fastjson.JSONObject; import com.ygbc.brain.base.dto.BaseDTO; public class CreateQuestionReqDTO extends BaseDTO { /** * 题目内容 */ private String content; /** * 题目选项 */ private JSONObject options; /**...
true
f25ce718bf467bc895fe06b06ac1a9e3c5dd2f54
Java
He1senber9/GitRep
/LeetCodePro/src/club/vann/leetcode/offer/daily/LeetCode_10.java
UTF-8
3,282
3.421875
3
[]
no_license
package club.vann.leetcode.offer.daily; /** * <p>难度:Hard</p> * <p>题目:正则表达式匹配</p> * <p>描述:给你一个字符串 s 和一个字符规律 p,请你来实现一个支持 '.' 和 '*' 的正则表达式匹配。 * * '.' 匹配任意单个字符 * '*' 匹配零个或多个前面的那一个元素 * 所谓匹配,是要涵盖 整个 字符串 s的,而不是部分字符串。 * * 说明: * * s 可能为空,且只包含从 a-z 的小写字母。 * p 可能为空,且只包含从 a-z 的小写字母,以及字符 . 和 *。 * 示例 1: * * 输入: * s ...
true
de99fb100155ef906935040d063d06b00d6a75e3
Java
cralf/Algo3
/codigoBaseProy/Graph.java
UTF-8
1,200
2.453125
2
[]
no_license
/** * */ import java.util.List; import java.util.Set; import java.util.Iterator; import java.io.IOException; import java.util.NoSuchElementException; public interface Graph { public boolean load(String dirArchivo) throws IOException; public int getNNode(); public int getNEdge(); public b...
true
fd0d98ffb786ce802442ee4b6201f95dbc629f28
Java
quanghung22092k/BT_JAVA_2019
/Week6/src/bai1/ConHeo.java
UTF-8
1,525
3.0625
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 bai1; import java.util.Scanner; /** * * @author Admin */ public class ConHeo { private String ten; private float c...
true
39e6801516cbcb40e211574dbd9856bc023ed9c1
Java
commonfire/weiboessay
/nlpir/com/zjd/nlpir/NlipirTools.java
UTF-8
1,810
3.0625
3
[]
no_license
package com.zjd.nlpir; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import kevin.zhang.NLPIR; /** * Nlpir分词工具 * @author DELL * @version 创建时间 2016年6月12日下午2:37:30 1.0 */ public class NlipirTools { /** * 对句子进行分词 * @param str 输入的待分词句子 * @param needPOS 分词结...
true
25e7e90a66fc7dae8272cbadaf6416dbb7546168
Java
alexamorales/java-se-examples
/src/main/java/com/lisun/examples/multithreading/waitnotify/example/ProducerConsumerExample.java
UTF-8
584
2.734375
3
[]
no_license
package com.lisun.examples.multithreading.waitnotify.example; /** * @author Alex * @since 27.12.2014 */ public class ProducerConsumerExample { public static void main(String[] args) { Drop drop = new Drop(); StackTraceElement[] stackTraceElements = Thread.currentThread().getStackTrace(); ...
true
3978b0d1ea1e8df4b94536573b2d333bb9de4e42
Java
Anna-2800/Task_242_final
/src/main/java/testgroup/Task_231/dao/RoleDAO.java
UTF-8
341
1.976563
2
[]
no_license
package testgroup.Task_231.dao; import testgroup.Task_231.model.Role; import testgroup.Task_231.model.User; import java.util.List; public interface RoleDAO { List<Role> listRoles(); void add(Role role); void delete(Role role); void edit(Role role); Role getById(long id); Role findRoleBy...
true
9fe9413adb5ebce7d27436b70e6e93e607547120
Java
bcmoney/ToDoList-JavaFX
/src/main/java/com/oultoncollege/model/Tasks.java
UTF-8
2,005
3.390625
3
[]
no_license
package com.oultoncollege.model; import java.util.ArrayList; import com.oultoncollege.model.Task; /** * Tasks.java * This wrapper for the Task model object is not used in this demo... useful as an example if we wanted * to switch to use the same logic but in another context such as CLI, Applet, Swing or even An...
true
3f8d01f3db61f5c2bca5bea666834f6f8ce81cf0
Java
Sanduni-Fernando/Sample-java-Encryption-Application
/AESEncryption/src/crypto/CryptoInf.java
UTF-8
23,170
2.21875
2
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package crypto; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import javax.crypto.Cipher; import javax.crypto.CipherOutputStream; import javax.crypto.spec.SecretKeySpec; import ja...
true
bfc8aaca8a34393e7d02fce1ef8c958d3de04350
Java
lynnRobotics/Engine_demo
/src/IntelM2M/algo/NewKmCluster.java
BIG5
2,837
2.546875
3
[]
no_license
package IntelM2M.algo; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java...
true
f1400b4922ac884afcf417c55c3473a59278c4f1
Java
ksksks2222/pl-workspace
/slfx/slfx-jp/slfx-jp-pojo/src/main/java/slfx/jp/command/admin/policy/PolicyCommand.java
UTF-8
2,726
2.046875
2
[]
no_license
package slfx.jp.command.admin.policy; import hg.common.component.BaseCommand; import java.util.Date; /** * * @类功能说明:添加、修改、政策的command类 * @类修改者: * @修改日期: * @修改说明: * @公司名称:浙江汇购科技有限公司 * @部门:技术部 * @作者:qiuxianxiang * @创建时间:2014年8月6日下午2:31:21 * @版本:V1.0 * */ public class PolicyCommand extend...
true
830ff2a388c94a1b00ccb706c699611955310dc5
Java
Haimanot1989/learning-kotlin
/src/kjd/MainJ.java
UTF-8
318
2.390625
2
[]
no_license
package kjd; public class MainJ { public static void main(String[] args) { Point p1 = new Point(3,3); PointJ p2 = new PointJ(4,4); System.out.println(p1.getX()); System.out.println(p1.getY()); System.out.println(p2.getX()); System.out.println(p2.getY()); } }
true
5c8898fad167d7c6b7ae6de72a6adf9574982f91
Java
kriegfrj/idempiere-test
/org.idempiere.test.assertj/src/org/idempiere/test/assertj/AbstractAD_FieldAssert.java
UTF-8
18,535
1.71875
2
[]
no_license
/****************************************************************************** * Product: iDempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
true
f0ff01b9692633706a771be71c79e3787151fda2
Java
chenjuyu/FXPDA
/app/src/main/java/com/fuxi/util/print/template/GeneratPrintTemplate.java
UTF-8
3,254
2.28125
2
[]
no_license
package com.fuxi.util.print.template; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Properties; import android.content.Context; import com.fuxi.application.ECApplication; import com.fuxi.dao.ParamerDao; import com.fuxi.util.LoginParameterUtil; import com.fuxi.util.ParamterFileUti...
true
bd9635a1337d6eda2f2089316a6c844318e8c782
Java
ChaitaliGondhalekar/Frogger
/Background.java
UTF-8
940
3.09375
3
[]
no_license
package frogger; import java.awt.Color; import java.awt.Graphics; /** * @authors Chaitali Gondhalekar, Jingru Zhu */ public class Background { /** * draws background of the game * @param g */ public void drawBackground(Graphics g) {// how to pass view? or how to get // panel width n height? g...
true
d3579c4dcb1a5253ac63d5dff4f0958a67e38000
Java
sandeepraju/why-kotlin
/coffee-vending-machine-java/src/main/java/barista/VendingDisplay.java
UTF-8
1,799
3.375
3
[ "BSD-3-Clause" ]
permissive
package barista; import java.util.Scanner; class VendingDisplay { private static final Scanner scanner = new Scanner(System.in); public static void main(String[] args) { CoffeeVendor vendor = CoffeeVendor.getInstance(); keepServing(vendor); } private static void keepServing(CoffeeVen...
true
1d0761edf1986ca10fea46fe2c0b684e9605780b
Java
M6C/framework-util
/FrameWork_Util/src/framework/ressource/xalan/xpath/axes/SelfIteratorNoPredicate.java
UTF-8
1,513
1.640625
2
[]
no_license
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) // Source File Name: SelfIteratorNoPredicate.java package framework.ressource.xalan.xpath.axes; import javax.xml.transform.TransformerException; import framework.ress...
true
8b46d8fc7636472e293ecaca519b354dd8d2ceeb
Java
Dziurson/Calories_Calculator
/app/src/main/java/pl/edu/agh/student/calcalc/activities/MainActivity.java
UTF-8
30,759
1.601563
2
[]
no_license
package pl.edu.agh.student.calcalc.activities; import android.Manifest; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Canvas; import android.location.Location; import android.net.Uri; import android.os.Bundle; import android.os.StrictMode; import android.support.annotation.NonN...
true
9f6f2450aeeec60b4f4d28a8512abea496a00ff2
Java
yxlHuster/algo
/LeetCode/src/main/java/LeetCode/ThreeSum.java
UTF-8
2,456
3.640625
4
[]
no_license
package LeetCode; import java.util.*; /** * Created with IntelliJ IDEA. * User: author * Date: 15-3-15 * Time: 下午8:23 * To change this template use File | Settings | File Templates. */ public class ThreeSum { public List<List<Integer>> threeSum(int[] num) { Arrays.sort(num); List<List<Integer>> results =...
true
87316dd83dc4ad83ba78d4692063aa6e02ebede2
Java
rodsong/arithmetic
/src/main/java/Leet_Max_slide_Num.java
UTF-8
2,803
3.875
4
[]
no_license
import java.util.ArrayDeque; import java.util.Arrays; import java.util.LinkedList; /** * <p>main.java.Leet_Max_slide_Num</p> * Copyright @ 2019 Shanghai hailang Co. Ltd. * All right reserved. * * @author songyanfei * @date 2019年02月14日 * * * 有一个长度为n的整型数组arr 和一个大小为w 的窗口从数组的最左边滑到最右边,窗口每次向右滑动一个位置,求每个窗口所含arr元素的最...
true
f2c826549b9e90c438b3b332b24752b69d739cd2
Java
Pandaroid/PandaroidSpring
/HandWrite/pandaroid-spring-v2.1-MVC/src/main/java/com/pandaroid/springframework/beans/PandaroidBeanWrapper.java
UTF-8
701
2.328125
2
[]
no_license
package com.pandaroid.springframework.beans; /** * @author pandaroid */ public class PandaroidBeanWrapper { private Object wrappedInstance; private Class<?> wrappedClass; public PandaroidBeanWrapper(Object instance) { wrappedInstance = instance; wrappedClass = instance.getClass(); } ...
true
d962c822707c2a2626798edf04f4fc517cbe2854
Java
rainbow-stone/urule
/rule-client/src/main/java/com/rule/client/vo/ObjectFormulaVO.java
UTF-8
1,004
2.109375
2
[ "Apache-2.0" ]
permissive
package com.rule.client.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; /** * @author LiTianLiang * @date 2020/12/26 0026 14:50 * @version 1.0 * @description...
true
ed1dbdd73ae2e50481afb2c2155eaa53358ad933
Java
programmingII/oop-practice-1-169819JuanPablo
/Ejercicio8_DisplayJava/Ejercicio8_DisplayJava.java
UTF-8
330
2.234375
2
[]
no_license
/** *Nombre: Juan Pablo Martinez *Fecha: 10/02/2019 *Hora: 4:42 */ class Ejercicio8{ public static void main(String args[]){ System.out.println(" J a v v a"); System.out.println(" J a a v v a a"); System.out.println("J J aaaaa v v aaaaa"); System.out.println(" JJ a a...
true
24b524cffdbc3bd72d5690f399e1499ec8677f54
Java
da3mon-01/CellarManager
/src/main/java/hu/pte/schafferg/cellarManager/ui/FieldWorkView.java
UTF-8
10,775
2.140625
2
[]
no_license
package hu.pte.schafferg.cellarManager.ui; import hu.pte.schafferg.cellarManager.model.FieldWork; import hu.pte.schafferg.cellarManager.model.Land; import hu.pte.schafferg.cellarManager.model.Person; import hu.pte.schafferg.cellarManager.ui.components.FieldWorkForm; import hu.pte.schafferg.cellarManager.ui.components....
true
35207976c4a9f420a536510d59acc71b9428b6ee
Java
ShaliniJain65/Envoy_Rider
/src/class/SliderManager.java
UTF-8
4,336
2.4375
2
[]
no_license
package com.slider; import java.io.File; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Iterator; import java.util.List; import javax.servlet.ServletException; import org.apache.commons.fileupload.FileItem; import org.apache.commons.fileupload.FileI...
true
0414fd850329c2aaaf12ea35ad0607f4945b3f0e
Java
TedYav/GucciGames
/src/voogasalad_GucciGames/gameplayer/windows/mainwindow/components/bar/LoadGameButton.java
UTF-8
957
2.234375
2
[ "MIT" ]
permissive
package voogasalad_GucciGames.gameplayer.windows.mainwindow.components.bar; import java.util.ResourceBundle; import javafx.scene.Parent; import javafx.scene.control.Button; import voogasalad_GucciGames.gameplayer.config.PlayerConfig; import voogasalad_GucciGames.gameplayer.controller.GameControllerInterface; import v...
true
04aa2ad485d0e9c3345c00def0a1622f13e600c3
Java
fudai/algorithm
/src/main/java/com/thread/pool/Test.java
UTF-8
3,018
2.890625
3
[]
no_license
/** * Copyright (c) 2009-2021 fudai,Inc.All Rights Reserved. * * @fileName: Test * @package: com.thread.pool * @date: 2021-11-15 17:59 * @version: V1.0 */ package com.thread.pool; import com.PrintNumThread; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Proxy; import java.util.concurrent....
true
71adbac0bf65a74f1d3fab1ea9284a87a43e5751
Java
CarpinterCoder/algo
/src/com/company/algo/myLeetcode/string/LongestPalindromicSubstring.java
UTF-8
2,821
3.359375
3
[]
no_license
package com.company.algo.myLeetcode.string; /** * @Description: * @Author:XiaoNing * @Date:Greated in 16:47 2018/8/2 */ public class LongestPalindromicSubstring { public static String longestPalindrome(String s) { if (s==null || s.length()<2)return s; int mid = (s.length()>>1)-1; int in...
true
1e3e01c120528e281695cd6e288d2fc0f69773fa
Java
liuwuxiang/property_app
/src/main/java/com/springmvc/controller/wnk_business_app/doings_spread/DoingsSpreadBusinessController.java
UTF-8
22,939
2.109375
2
[]
no_license
package com.springmvc.controller.wnk_business_app.doings_spread; import com.springmvc.controller.upload.ImageToolsController; import com.springmvc.entity.DoingsSpread; import com.springmvc.entity.WnkBusinessAccount; import com.springmvc.entity.WnkStoreInformation; import com.springmvc.service.impl.*; import com.spring...
true
0cad6627512ac572108cf5ffb843f2068b12f9dd
Java
SridharCR/Android_tryouts
/Exercise_3/app/src/main/java/com/example/sri/exercise_3/MainActivity.java
UTF-8
713
2.109375
2
[]
no_license
package com.example.sri.exercise_3; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.EditText; import android.widget.Toolbar; public class MainActivity extends AppCompatActivity { private EditText e1,e2; p...
true
dc01da89a27136c69062200721d7aafe870b2cb4
Java
prudhviy/math_stackexchange_hadoop
/math_stack/Query3.java
UTF-8
9,910
2.109375
2
[]
no_license
package math_stack; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Random; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFact...
true
93cbfa5e5542b4402e4c8f25474849c9937ec54f
Java
raultov/klich_android
/Klich/src/net/SoftForLife/Klich2/model/GeopointMobile.java
UTF-8
383
2.015625
2
[]
no_license
package net.SoftForLife.Klich2.model; import net.softforlife.klich.model.Geopoint; public class GeopointMobile extends Geopoint { /** Constante serialVersionUID. */ private static final long serialVersionUID = 1L; private Boolean sent; public void setSent(Boolean sent) { this.sent = sent; ...
true
050454c6c12e59278bd05293dbedc0b86d36e75d
Java
pneumaier1/ch5BoxBall
/BoxBall.java
UTF-8
2,715
3.59375
4
[]
no_license
import java.awt.*; import java.awt.geom.*; /** * Ball bounces inside of box. * * @author Paul Neumaier * @version 2019.10.21 */ public class BoxBall { // instance variables - replace the example below with your own private int ballMinus = 1; private Ellipse2D.Double circle; private int diameter; ...
true
e588a3f63be0e7ed5e09eb155b2e6bb7f369b8fc
Java
dralmostright/Natrual-language-Interface-for-relational-database
/src/ListFunctionOperators.java
UTF-8
5,541
2.6875
3
[]
no_license
import javax.swing.*; import javax.swing.table.TableCellRenderer; import java.awt.*; import java.awt.event.*; public class ListFunctionOperators { public static JTable listSyms; public static String[] holdStr = {"S.n","Symonym","Function or Operator","Clause"}; public static String[] flds = {"fsynonym","operator",...
true
5464146ec6b49ce2627116275649bc4a36182bae
Java
eight-claws/springboot-example
/import-demo/src/main/java/com/jun/sail/importdemo/myimport/beandefinition/UserService.java
UTF-8
452
1.976563
2
[]
no_license
package com.jun.sail.importdemo.myimport.beandefinition; import org.springframework.stereotype.Service; @Service public class UserService implements IUserService { @Override @MyAsync public void testAdd() { System.out.println("testAdd async exec, " + Thread.currentThread().getName()); } ...
true
60d0ae08b8819c7ce0291a31bcf0bd33eb6fc36f
Java
metodiistatkov/Soton
/Enigma/src/Rotor.java
UTF-8
1,043
3.484375
3
[]
no_license
/** * An abstract class that defines the basic properties and methods * All the other rotor classes will use those */ public abstract class Rotor { /** * Properties of the rotors */ private String name; private int position; protected int mapping[]; protected final int ROTORSIZE = 26; /** * Construc...
true
772753ebf5b3fc61a9348135eaac4850b8bc910b
Java
jayajp1/E-Voting-System
/E-voting System FrontEnd/DRSbyAJJAYComplete/app/src/main/java/com/example/drs/NotificationActivity.java
UTF-8
1,489
1.820313
2
[]
no_license
package com.example.drs; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.NotificationCompat; import androidx.core.app.NotificationManagerCompat; import android.app.Activity; import android.app.AlarmManager; import android.app.NotificationManager; import android.app.PendingIntent; import andr...
true
c9a0f6f665df4191a5ca956af2b6772951491d5e
Java
davemckain/qtiworks
/qtiworks-mathassess-glue/src/main/java/uk/ac/ed/ph/qtiworks/mathassess/glue/AsciiMathInputException.java
UTF-8
2,640
1.96875
2
[ "BSD-3-Clause" ]
permissive
/* Copyright (c) 2012-2013, University of Edinburgh. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * li...
true
4c28019739e079dd39008cf633912312715aa5b9
Java
zjj1379805106/Zk_Demo03
/app/src/main/java/zjj/bwie/com/zk_demo03/presenter/ShopCartPresenter.java
UTF-8
886
2.140625
2
[]
no_license
package zjj.bwie.com.zk_demo03.presenter; import zjj.bwie.com.zk_demo03.bean.ShopCartBean; import zjj.bwie.com.zk_demo03.contract.ShopCartContract; import zjj.bwie.com.zk_demo03.model.ShopCartModel; public class ShopCartPresenter implements ShopCartContract.IShopCartPresenter { private ShopCartModel shopCartMode...
true
24711d5a50398d4e9aa7f9ec63f27ee380e1c7f5
Java
olenalo/HW
/Restaurant/src/MainDishBuilder.java
UTF-8
921
2.90625
3
[]
no_license
public class MainDishBuilder extends DishBuilder { public MainDishBuilder(String id) { super(id); } public MainDish createDish() { return new MainDish(this.id, this.title, this.environment, this.ingredients, this.technology, ...
true
3f0a752d2adaf23cef373068bf78e78998aac0a3
Java
DileepNallabo/AOS-Project1
/AOS1/src/AOS.java
UTF-8
2,214
2.890625
3
[]
no_license
import java.io.IOException; import java.util.*; public class AOS implements Runnable{ List<Node>total_Node_List; int n; static int sumOfNodes=0; public AOS(int n, List<List<Integer>> graph, List<Integer> portNumbers, List<String>hostNames ) throws IOException{ this.total_Node_List = new ArrayList<>(); ...
true
60baef96a434495e3d01cb9eebd57a53c234df8e
Java
polarisltd/jClarion
/examples/invoice.j/src/main/java/clarion/equates/Window.java
UTF-8
236
1.71875
2
[]
no_license
package clarion.equates; public class Window { public static final int OK=0; public static final int NOTOPENED=1; public static final int BADWINDOW=2; public static final int CLOSEPENDING=3; public static final int INDESTROY=4; }
true
607dee6b384133b8b6ce7c2d2b5a1c99611b4b9d
Java
pjh37/graduationProject
/app/src/main/java/com/example/graduationproject/form/FormSaveManager.java
UTF-8
3,709
2.4375
2
[]
no_license
package com.example.graduationproject.form; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import org.json.JSONObject; public class FormSaveManager { private static final String DB_FORM="checkmate.db"; priva...
true
af30861d991be8e322cd99a3efca8de0395a8cf2
Java
krakrak/Adventure_Game
/src/items/FriedChicken.java
UTF-8
1,299
3
3
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package items; import commands.Game; import commands.GameState; import java.util.List; /** * * @author Irakiza Krak */ public class FriedChicken extends AbstractItemMovable{ public FriedChicken(...
true
d6977651a655929aa84a56443107f430784a3938
Java
LeeeJuHyeon/Android_Team7
/Project_Team7_2-1/app/src/main/java/com/example/project_team7/list_item.java
UTF-8
967
2.3125
2
[]
no_license
package com.example.project_team7; import java.sql.Timestamp; import java.text.SimpleDateFormat; import java.util.Date; /** * Created by 주현 on 2017-11-28. */ public class list_item {//투표방 글 목록 listview에 나타낼 항목 private String nickname; private String title; private String time_limit; public list_it...
true
f7e925707cccdce935029dbc0977ee12dce321d0
Java
Morcal/FB_project
/snacks-android/Snacks/src/com/feibo/snacks/model/dao/SnacksDao.java
UTF-8
45,630
1.515625
2
[]
no_license
package com.feibo.snacks.model.dao; import android.text.TextUtils; import com.feibo.snacks.model.bean.AboutInfo; import com.feibo.snacks.model.bean.Address; import com.feibo.snacks.model.bean.BaseComment; import com.feibo.snacks.model.bean.CartItem; import com.feibo.snacks.model.bean.CartSuppliers; import com.feibo.s...
true
f570d4e20ea757ade0053e94e3f1d772026d9f3c
Java
GT-RAIL/interactive_world
/jinteractiveworld/src/main/java/edu/wpi/rail/jinteractiveworld/ros/msgs/interactiveworldmsgs/TaskTrainingData.java
UTF-8
3,123
2.84375
3
[ "BSD-3-Clause" ]
permissive
package edu.wpi.rail.jinteractiveworld.ros.msgs.interactiveworldmsgs; import edu.wpi.rail.jrosbridge.messages.Message; import javax.json.Json; import javax.json.JsonArray; import javax.json.JsonObject; import java.io.StringReader; import java.util.Arrays; /** * The interactive_world_msgs/TaskTrainingData message. *...
true
e5411fd1a19f1d394bb5d5c777afba964882e3ea
Java
esusige3/de
/src/main/java/kr/hs/dgsw/de/Controller/UserController.java
UTF-8
1,150
2.265625
2
[]
no_license
package kr.hs.dgsw.de.Controller; import kr.hs.dgsw.de.Domain.User; import kr.hs.dgsw.de.Service.CommentService; import kr.hs.dgsw.de.Service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.web.bind.annotation.*; imp...
true
b0a3c98d5e3f446213be639b3200c79d7e2e0a6e
Java
4DeaTechnologies/vTourInAndroid
/app/src/main/java/com/fourdea/a360viewerdemoapp/MainActivity.java
UTF-8
4,297
2
2
[]
no_license
package com.fourdea.a360viewerdemoapp; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import com.fourdea.a360viewerdemoapp.PanoramaHelpers.MyPanoramaHelper; import...
true
d63326d545a6414d8d3b53740a865693e78afc08
Java
NAGULAVANCHA/Acumen-app
/QRCode/app/src/main/java/com/example/newpc/qrcode/ReaderActivity.java
UTF-8
4,943
2.03125
2
[]
no_license
package com.example.newpc.qrcode; import android.app.Activity; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import androi...
true
c346f6ad3a30d86581d404103524150c58a21d84
Java
abhiabhishek6a/test
/EMS/src/com/tb/ems/services/exception/EmployeeServiceException.java
UTF-8
243
2.0625
2
[]
no_license
package com.tb.ems.services.exception; public class EmployeeServiceException extends Exception { public static final String NO_EMPLOYEE_FOUND="no employee found in list"; public EmployeeServiceException(String msg) { super(msg); } }
true
b3067796a8c529de0adfa89b807d9c72d215b7c3
Java
ManojKumarPradhan/DesignPattern
/DesignPattern/src/main/java/com/bigob/observer/Observe.java
UTF-8
136
2.125
2
[]
no_license
package com.bigob.observer; public interface Observe { void updatePrice(double iphonePrice,double samsungPrice, double oppoPrice); }
true
7b661fea7b8f0cb9b465948e9caa784994e5d3f2
Java
alk2018/Java
/FourRectanglePrinter.java
UTF-8
455
3.65625
4
[]
no_license
import java.awt.Rectangle; /** Prints a rectangle, then moves and prints it 3 times. */ public class FourRectanglePrinter { public static void main(String[] args) { Rectangle box = new Rectangle(10, 20, 50, 70); System.out.println(box); box.translate(50, 0); System.out.println(b...
true
f97232706285b2ae5a800a28e45e57b14e2524f2
Java
lanping100/Iyan3d
/iyan3d/trunk/Iyan3D-Android/app/src/main/java/com/smackall/iyan3dPro/Adapters/ImageSelectionAdapter.java
UTF-8
4,739
1.96875
2
[ "MIT" ]
permissive
package com.smackall.iyan3dPro.Adapters; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.support.v4.content.ContextCompat; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; impo...
true
2786026a43ebd2a26f14d292ebc2f1177181c5d3
Java
Oshi41/RandomContent
/src/main/java/dash/dashmode/mixin/client/EntityRenderDispatcherAccessor.java
UTF-8
592
1.5625
2
[ "MIT" ]
permissive
package dash.dashmode.mixin.client; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.client.render.entity.EntityRenderDispatcher; import net.minecraft.client.render.entity.EntityRenderer; import net.minecraft.entity.EntityType; import org.spongepowered.asm.mixin.Mixin; import ...
true
502dcee1ee5d56ea22af25ed623e1b99a4970ce2
Java
JaydenHoFly/AndroidTech
/app/src/main/java/com/jaydenho/androidtech/databinding/DataBindingInfo.java
UTF-8
694
2.34375
2
[]
no_license
package com.jaydenho.androidtech.databinding; import android.support.annotation.DrawableRes; import android.support.annotation.IdRes; /** * Created by hedazhao on 2017/12/14. */ public class DataBindingInfo { private String text = null; @DrawableRes private int imageResId = 0; private int viewTyp...
true
b42b9ac565ec0b30cdce3eb4531936877fc972cf
Java
apache/druid
/indexing-service/src/test/java/org/apache/druid/indexing/common/TestFirehose.java
UTF-8
3,424
1.890625
2
[ "EPL-1.0", "Classpath-exception-2.0", "ISC", "GPL-2.0-only", "BSD-3-Clause", "Apache-2.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-generic-cla", "0BSD", "LicenseRef-scancode-sun-no-high-risk-activities", "LicenseRef-scancode-free-unknown", "JSON", "LicenseRef-scancode-unico...
permissive
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
true
c61b4fc1bc116e682d4488330bd3c04fd08f0a0b
Java
denys-pohribnyi/Training
/src/main/java/week7/Processor.java
UTF-8
1,836
3.09375
3
[]
no_license
package week7; public class Processor { private int numberOfCore; private double frequency; public Processor(int numberOfCore, double frequency) { this.numberOfCore = numberOfCore; this.frequency = frequency; } public int getNumberOfCore() { return numberOfCore; } ...
true
bb8cdfe63e161c13f6e86780c1211bdcb63711fc
Java
raphael-gosteli/doctemplate
/pdf-engine/src/test/java/ch/dvbern/lib/doctemplate/pdf/PDFMergeEngineTest.java
WINDOWS-1252
9,995
2.234375
2
[ "Apache-2.0", "LicenseRef-scancode-unknown", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/* * Copyright 2017 DV Bern AG * * 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 applicable law or agreed...
true
9fa9f64016792bf7c8813c3c063dfaf563a03038
Java
Sridharreddy597/bcjdecember2016git
/Assignments_SRR/src/com/bcj/corejava/oops/classes/medium/lab1/InvoiceDemo.java
UTF-8
961
3.40625
3
[]
no_license
package com.bcj.corejava.oops.classes.medium.lab1; import java.util.Scanner; public class InvoiceDemo { public static void main(String[] args) { Scanner s= new Scanner(System.in); Invoice in=new Invoice(); System.out.println("enter the quantity of items "); int quantity=s.nextInt(); if(quantity<0) ...
true
2afe3785f18e04935bc74f579b66a7971f53addd
Java
David-force/hrrecruit
/src/main/java/org/vbazurtob/HRRecruitApp/ui/secured/JobAdsManagementController.java
UTF-8
16,416
1.625
2
[]
no_license
package org.vbazurtob.HRRecruitApp.ui.secured; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Optional; import javax.annotation.PostConstruct; import javax.servlet.http.HttpSession; import javax.validation.Valid; import org.springframework.beans....
true
4510a6d58a942ca5012f12aed3c254a218f22298
Java
iedadata/geomapapp
/haxby/db/custom/ExcelFileFilter.java
UTF-8
817
2.921875
3
[ "Apache-2.0" ]
permissive
package haxby.db.custom; import java.io.File; import javax.swing.filechooser.FileFilter; public class ExcelFileFilter extends FileFilter { public boolean accept(File f){ if (f.isDirectory()) return true; String ext = getExtension(f); // For excel files formats of xls or xlsx are accepted. if (e...
true
66a587e355832f3fe72c93f25e387dd9b793cf39
Java
andreashmaier/Uebungen_I1A_Java
/Uebungsblatt_DOME/src/de/gbsschulen/dome/DVD.java
UTF-8
977
2.953125
3
[]
no_license
package de.gbsschulen.dome; public class DVD { private String titel; private String regisseur; private int spielzeit; private boolean habIch; private String kommentar; public DVD(String titel, String regisseur, int spielzeit) { this.titel = titel; this.regisseur = regisseur; ...
true
428c16d131e5b8c1af498a8bc8c40302feb8bcaa
Java
ndpar/mom-test
/src/main/java/com/ndpar/JmsQueueListener.java
UTF-8
525
1.796875
2
[ "Apache-2.0" ]
permissive
package com.ndpar; import org.springframework.beans.factory.annotation.Required; import javax.jms.Message; import javax.jms.MessageListener; public class JmsQueueListener implements MessageListener { private TestResultAggregator testResultAggregator; @Required public void setTestResultAggregator(TestRe...
true
fc5550fd2175329b1dd7d749e25d77ab1f33c643
Java
iverasp/ntnu
/it1901/SheepWatchUI/src/models/Report.java
UTF-8
2,233
3.109375
3
[]
no_license
package models; import java.util.Date; import org.jdesktop.swingx.mapviewer.GeoPosition; /** * Instances of this class contain reports from {@link Sheep}. */ public class Report { private Sheep sheep; private GeoPosition sheepLocation; private int heartRate; private Date time; ...
true
29c9b954b04b56cab10503382972a5446c60e309
Java
alldatacenter/alldata
/studio/micro-services/tis/plugins-3.7.2/tis-datax/tis-datax-elasticsearch-plugin/src/main/java/com/qlangtech/tis/plugin/datax/EsTokenizerType.java
UTF-8
3,529
2.0625
2
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "Li...
true
02c4d81fdf80a6bd4750e4b1427389afc03035b1
Java
tfurukawa33/restTrainContainer
/rest-service/src/main/java/com/example/restservice/repository/FilmRepository.java
UTF-8
316
1.976563
2
[]
no_license
package com.example.restservice.repository; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.repository.CrudRepository; public interface FilmRepository extends CrudRepository<Film, Integer> { Page<Film> findAll(Pageable pageable); }
true
74974dd9a1350f149badfb63975b21dd3ac43030
Java
ShallowDreamzrc/autohome_api
/src/main/java/com/autohome_api/commons/GetSign.java
UTF-8
2,030
2.1875
2
[]
no_license
package com.autohome_api.commons; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Map; import java.util.SortedMap...
true
9a0e1b2299122e12d9bf8b29384191f91b45bfa6
Java
CpuID/ovirt-engine-sdk-go
/generator/src/main/java/org/ovirt/sdk/go/GoReservedWords.java
UTF-8
2,392
2.09375
2
[ "Apache-2.0" ]
permissive
/* Copyright (c) 2015 Red Hat, Inc. / Nathan Sullivan 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 applicable law or agreed to in...
true
f893a5dd29527fe6d9f3832a53de1a98cc3c1925
Java
chayo55/sometests
/sometests/src/main/java/com/cy/sometests/floatcalculate/FloatCalculateTests.java
UTF-8
1,331
3.78125
4
[]
no_license
package com.cy.sometests.floatcalculate; import java.math.BigDecimal; public class FloatCalculateTests { public static void main(String[] args) { // //反例 // float a = 1.0f - 0.9f; // float b = 0.9f - 0.8f; // if (a == b){ // //预期进入此代码块, // //但事实a==b...
true
ca91e1b44bcd9c59a01bcc045a3f669c6944010d
Java
koobonhui/java8
/java8/src/java8/Home23.java
UHC
728
3.546875
4
[]
no_license
package java8; import java.util.Random; import java.util.Scanner; public class Home23 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Random rd = new Random(); int com = rd.nextInt(9) + 1; while(true) { System.out.println(com); System.ou...
true
329fe675328f94dc307a2bea5e5eb9165a9f2348
Java
Dominat0rr/Algorithms
/src/com/domain/algorithms/HeapSort.java
UTF-8
3,039
4.09375
4
[]
no_license
package com.domain.algorithms; /** * Heap sort is a comparison based sorting technique based on Binary Heap data structure. * It is similar to selection sort where we first find the maximum element and place the maximum element at the end. We repeat the same process for remaining element. */ public class HeapSort {...
true
1d0fe7e0448437b6939c682569ec09bc40f7a09f
Java
aashay91/Combination-in-java
/Colorfull.java
UTF-8
787
2.84375
3
[]
no_license
import java.util.*; public class Colorfull { List<Integer>prod=new ArrayList<Integer>(); public static void main(String[] args) { // TODO Auto-generated method stub iscolor(3245); } public static void iscolor(int num) { String str=Integer.toString(num); int len=str.length(); int []dig=new int[len]; ...
true
f677ab92bba5c9c4b0e1d691f4839c401813c642
Java
darshanmodh/cmpe281
/src/cmpe281/billing/servlet/SensorListingServlet.java
UTF-8
2,173
2.5625
3
[]
no_license
package cmpe281.billing.servlet; import java.io.IOException; import java.io.PrintWriter; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; impor...
true
3ec5be01407433077e7b9b5c2e190d287e94dc43
Java
moutainhigh/welink
/welink-commons/src/main/java/com/welink/commons/domain/PropertyManagementFeesBillExample.java
UTF-8
49,208
1.820313
2
[]
no_license
package com.welink.commons.domain; import java.util.ArrayList; import java.util.Date; import java.util.List; public class PropertyManagementFeesBillExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table pmf_bill * * @mbggenerated Thu Nov 2...
true
dadeb4b605db1f5e43ace1e4e8e8b52e8b9bc1e8
Java
zeeneddie/squale
/Squale/squale-web/src/main/java/org/squale/squaleweb/applicationlayer/action/component/AckApplicationAction.java
ISO-8859-1
9,252
1.820313
2
[]
no_license
/** * Copyright (C) 2008-2010, Squale Project - http://www.squale.org * * This file is part of Squale. * * Squale is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of the ...
true
f2fd72d564bc72bb0b11e2f8372283cfe1358fdb
Java
dxawgzy/java
/src/java2/practice/Test1.java
UTF-8
163
2.328125
2
[]
no_license
package java2.practice; public class Test1 { public static void main(String[] args){ int a=2; int b=6; int c=(a++)+(++b)+a*b; System.out.print(c); } }
true
e410d2062c2fca9449307a67d019e8ca9bf01be8
Java
crifan/rcsjta
/core/src/com/gsma/rcs/core/ims/service/sip/streaming/OriginatingSipRtpSession.java
UTF-8
6,446
1.617188
2
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT", "BSD-2-Clause", "NIST-PD" ]
permissive
/******************************************************************************* * Software Name : RCS IMS Stack * * Copyright (C) 2010-2016 Orange. * Copyright (C) 2015 Sony Mobile Communications Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compl...
true
7fb5a389cda7b73f76357b7d271f4fe16c254f77
Java
lcwithpeter/PeterLC
/longest-substring-without-repeating-characters.java
UTF-8
1,547
3.671875
4
[]
no_license
/* Source : https://leetcode.com/problems/longest-substring-without-repeating-characters/ Author : Jiayi Lei Date : Sep 2, 2015 Description: Given a string, find the length of the longest substring without repeating characters. For example: the longest substring without repeating letters for "abcabcbb" is ...
true
1bb9ce269693dde1357c672021a194da0d9da020
Java
xjtuselb/HUAWEI-machine-test
/华为机试题/最长的公共子字符串2.java
UTF-8
658
3.1875
3
[]
no_license
package 华为机试题; import java.util.Scanner; public class 最长的公共子字符串2 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { String s1 = sc.nextLine(); String s2 = sc.nextLine(); String min = s1.length() > s2.length() ? s2 : s1; String max = s1.length() > ...
true
9ba53799bb406ee5ff81dd0f8716c87bc0461189
Java
bu0207/consult-system-bishe
/src/main/java/com/consult_system/repo/UserRepo.java
UTF-8
721
2.03125
2
[]
no_license
package com.consult_system.repo; import com.consult_system.entity.User; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface UserRepo extends JpaReposi...
true
5ef52a249e3f4704d73e16ffa91c07e6d3ee9a5f
Java
sowmyarishit/newproject
/Selenium_imp/src/Interview/emailid_word_copy_pwd.java
UTF-8
1,811
2.265625
2
[]
no_license
package Interview; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.interactions.Actions; public class emailid_word_copy_pwd { public static void main(String[] args) throws Inte...
true
f25902a894cb267d7c3682cbd44c3628239997cd
Java
22saxe22/Ticket-To-Ride
/Route.java
UTF-8
2,680
3.421875
3
[]
no_license
import java.util.*; /** * A Object Orented Class to hold all information pertaining to a route for the game Ticket to Ride * * @author Group 3 * @version 1.0 */ public class Route { //the two endpoint citys of the route CityName cityA, cityB; //the color of the route RouteColor color...
true
341e94d606d1eb2aaa175cd4b2b775624d1faf79
Java
JshawnJones/netAnalysis
/src/main/java/com/jshawn/netanalysis/profile/userprofileRepository.java
UTF-8
440
1.984375
2
[]
no_license
package com.jshawn.netanalysis.profile; import java.util.List; import org.springframework.data.repository.CrudRepository; import com.jshawn.netanalysis.profile.userprofile; // This will be AUTO IMPLEMENTED by Spring into a Bean called userRepository // CRUD refers Create, Read, Update, Delete public interface user...
true
194d0aa60d96703bfa91bd21766e98193bd05b3e
Java
ecolban/LaserBeamEventServer
/LaserBeamEventServer/src/org/wintrisstech/erik/lbes/ClientHandler.java
UTF-8
1,352
3
3
[]
no_license
package org.wintrisstech.erik.lbes; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; public class ClientHandler implements Runnable { private final EventServer server; // private final BufferedReader in; private final ...
true
5b76644ffed76a271840ccc653f0816a38bfc686
Java
lavertyaf/cc_wk8_day3_topBandsHW
/app/src/main/java/com/example/aileenlaverty/topbands/TopGigsAdapter.java
UTF-8
1,223
2.40625
2
[]
no_license
package com.example.aileenlaverty.topbands; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import java.util.ArrayList; public class TopGigsAdapter extends ArrayAdapter<Gig...
true
0b441d9fa2f801935156e76ae478d30a485f5ebd
Java
Divya-127/Chatbot
/app/src/main/java/com/digitalhawks/chatbot/ChatActivity.java
UTF-8
61,752
1.617188
2
[]
no_license
package com.digitalhawks.chatbot; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.RequiresApi; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.ActivityCompat; import android.content.Context; import android.content.Intent; import android.con...
true
b01ef17de5c62c1554bcf15f2af7123cb93774e4
Java
eduardacavalcante/stockMap
/repository/StockRepository.java
UTF-8
382
1.953125
2
[ "MIT" ]
permissive
package com.example.repository; import com.example.model.Stock; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import java.util.List; public interface StockRepository extends JpaRepository<Stock, Integer> { @Query("SELECT w FROM Stock w WHERE...
true
2ec60d00d9d3248d916d09462ee6010afe2ae5e1
Java
tudorpop9/PTAssignments
/tudorpop-pt2019_30229_pop_tudor_assignment_2-df6867156f54/PT2019_30229_Pop_Tudor_Assignment_2/src/main/java/guiPackage/QueueWindow.java
UTF-8
1,419
3.015625
3
[]
no_license
package guiPackage; import java.awt.GridLayout; import java.util.ArrayList; import java.util.Timer; import java.util.TimerTask; import javax.swing.JFrame; import javax.swing.JLabel; import simulator.Simulator; public class QueueWindow extends JFrame{ /** * */ private static final long serialVersionUID = 1L; p...
true
0d6d60a77bb4e6d7f12eff305d5034dce01b9d3c
Java
ank90tiwari/GitDemo
/src/com/d2/inheritance/HrManager.java
UTF-8
539
2.78125
3
[]
no_license
package com.d2.inheritance; class HrManager extends Manager { public HrManager(int employeeid, String name, String email, String phoneNumber, String designation, double incentive) { super(employeeid, name, email, phoneNumber, designation); this.incentive=incentive; // TODO Auto-generated constructor stub } d...
true
2999cfe9ea5261fe618527f6c61f1fbcefbe780e
Java
matejhrazdira/corba-binding
/src/main/java/com/matejhrazdira/corbabinding/generators/cppcorba/JniFieldAccessRenderer.java
UTF-8
2,944
2.328125
2
[ "Apache-2.0" ]
permissive
/* * Copyright (C) 2016 Matej Hrazdira. * * 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 applicable law or agreed...
true
a8c25798ca7b412468c362fece927d3a2a6b2a09
Java
ushan1997/MAD-Project
/app/src/main/java/com/example/ecommerceapp/Model/Orders.java
UTF-8
1,980
2.296875
2
[]
no_license
package com.example.ecommerceapp.Model; public class Orders { private String address,colomboArea,name,orderDate,orderTime,phoneNo,state,orderId; private Cart cart; public Orders(){} public Orders(String address, String colomboArea, String name, String orderDate, String orderTime, String phoneNo, Str...
true
ee82da93a90e377574819087a5ce01332cdd85f2
Java
lqqokim/healthMonitoringPrediction
/backend/pdm-portal/portal/src/main/java/com/bistel/a3/portal/dao/common/TaskerMapper.java
UTF-8
1,055
1.890625
2
[]
no_license
package com.bistel.a3.portal.dao.common; import com.bistel.a3.portal.domain.common.Tasker; import com.bistel.a3.portal.domain.common.WorkspaceMap; import org.apache.ibatis.annotations.Param; import java.util.List; /** * Created by yohan on 15. 10. 29. */ public interface TaskerMapper { List<Tasker> selectByWor...
true
56e3ea17b441a3f9be2f37acc584f80b8be6e4ac
Java
knackepizza/CSE_1321_L
/Lab05/src/NextMeeting.java
UTF-8
1,228
3.671875
4
[]
no_license
/* * Class: CSE 1321L * Section: 10 * Term: Spring 2020 * Instructor: Imad Ghandour * Name: Nick Nettleton * Lab#: 1 */ import java.util.Scanner; public class NextMeeting { static String getCurrentDay(int day) { String theDay; switch (day) { case 0: theDay = "Sunday"; break; case 1: th...
true
aec0ae88857b3c68fd60c5fd2ad500be30af9026
Java
zhaolingzhi/algorithm
/src/main/java/template/dp/最大连续子串.java
UTF-8
928
3.234375
3
[]
no_license
package template.dp; public class 最大连续子串 { public int maxSubArray(int[] nums){ int[] dp = new int[nums.length]; dp[0] = nums[0]; int max = 0; for (int i = 1; i < nums.length; i++){ dp[i] = Math.max(dp[i - 1] + nums[i], nums[i]); max = Math.max(max, dp[i]); ...
true
fb142ea55b8a6cf254ab86032fdf6e6c754900a5
Java
hitzvera/Kuliah
/PBO/CastingData.java
UTF-8
481
3
3
[]
no_license
package tesCasting; /** * @author Mujahid a.k.a hitzvera * date: 27 May, 2021 */ public class CastingData { public static void main(String[] args) { // local variable byte a = 50; int b = 5; float c = 2; int d = (int)(a*b/c); int e = (int)(a*b)/251; Syst...
true
d908c51ec6ad9300dc445fa886da839b4517855f
Java
Sanchi02/Bootcamp_Sanchita
/Day1-5/src/AnnotationDemo/Employee.java
UTF-8
153
1.664063
2
[]
no_license
package AnnotationDemo; @Company(name = "CDK",location = "Pune") @Timestamp(day = Day.MONDAY, month = Month.JAN, year = Year._2018) class Employee { }
true