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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
b27557703a83bf0e964ea3e9c865122c1b91eaaf | Java | ITOPEducation/apiscol-previews | /src/fr/ac_versailles/crdp/apiscol/previews/workers/RemotePDFConversionWorker.java | UTF-8 | 1,271 | 2.34375 | 2 | [] | no_license | package fr.ac_versailles.crdp.apiscol.previews.workers;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
import java.util.List;
import java.util.UUID;
import fr.ac_versailles.crdp.api... | true |
131280ef1901e6853a89b112149ce6c1ee305283 | Java | OmarAouini/Spring-boot-crud | /springboot-crud/src/main/java/com/aouin/springbootcrud/model/Article.java | UTF-8 | 716 | 1.945313 | 2 | [
"MIT"
] | permissive | package com.aouin.springbootcrud.model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.List;
@Data
@NoArgsConstructor
@AllArgsC... | true |
d481b21d784d80ab923f3c6b2bea137424e1e06d | Java | ravikiranvelpula/spring-orm-hibernate-demo | /ReadCSV.java | UTF-8 | 2,197 | 3.421875 | 3 | [] | no_license | package test;
import java.io.*;
import java.util.*;
public class ReadCSV {
public static void main(String[] args) throws FileNotFoundException {
List<String> arr = new ArrayList<String>();
//HDFC-Input-Case1.csv
//ICICI-Input-Case2.csv
//Axis-Input-Case3.csv
//IDFC-Input-Case4.csv
Scanner s... | true |
d479734915cca3cfabca94ac4cd51e3225752500 | Java | shangy/QLearning | /src/main/java/examples/trading/domain/TradingAction.java | UTF-8 | 1,384 | 3.203125 | 3 | [] | no_license | package examples.trading.domain;
import domain.Action;
import domain.State;
public class TradingAction extends Action {
public enum Type {
BUY,
SELL,
NOTHING
}
private final int volume;
private final Type type;
public TradingAction(int index, int volume, Type type) {
... | true |
79e208c4bfb6663e045d8e122e42e92f8afe6a60 | Java | zzznavarrete/JavaIntegracion | /src/java/Entidades/TipoHabitaciones.java | UTF-8 | 4,221 | 2.0625 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Entidades;
import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Collection;... | true |
3fccece4110efca665b4f4a44f9c087c7a31a60c | Java | OverengineeredCodingDuo/ASMUtils | /src/main/java/ocd/asmutil/injectors/LocalIndexedVarCapture.java | UTF-8 | 2,405 | 1.984375 | 2 | [
"MIT"
] | permissive | /*
* MIT License
*
* Copyright (c) 2017-2018 OverengineeredCodingDuo
*
* 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
* t... | true |
4e3fabae5824f8aaa0d702040c2bfea78f4bda77 | Java | zhouwenshuo/lemonJava20 | /src/com/lemon/class0706/inherit/God.java | UTF-8 | 1,263 | 2.765625 | 3 | [] | no_license | package com.lemon.class0706.inherit;
/**
* @time: 2020/7/7 8:59
* @author: Mr.Right
* @contact: 348533713@qq.com
* @file: God
* @desc: โโใใใโโ+ +
* ใใใโโโปโโโโโปโ + +
* ใใใโใใใใใใใโ
* ใใใโใใใโใใใโ ++ + + +
* ใใ โโโโโโโโโ โ+
* ใใใโใใใใใใใโ +
* ใใใโใใใโปใใใโ
* ใใใโใใใใใใใโ + +
* ใใใโโโใใใโโโ
* ใใใใใโใใใโ
* ใ... | true |
8265e82a27fbe170ff384a18265906efbb84176b | Java | gochanghai/CCIMS | /ccims-demo/src/main/java/com/lch/ccims/demo/Lottery.java | UTF-8 | 1,042 | 2.75 | 3 | [] | no_license | package com.lch.ccims.demo;
import java.security.SecureRandom;
import java.util.HashSet;
import java.util.Set;
/**
* ๆฝๅฅๅฎไพdemo
*/
public class Lottery {
// ๅไธๆฝๅฅๆๆบๅท็
static String[] phone = {"13144800360","13144800361","13144800362","13144800363","13144800364","13144800365"
,"13144800366","131448... | true |
7e534c5d95952ee9e1f3c52882051a4bda582e35 | Java | skafetzo/BackendCourse | /src/gr/cosmote/firstexercise/Customer.java | UTF-8 | 1,318 | 2.859375 | 3 | [] | no_license | package gr.cosmote.firstexercise;
public class Customer {
public static void main(String args[]) {
Accountant george = new Accountant("George", new Calculator());
Accountant nick = new Accountant("Nick", new Calculator());
george.calculate("sum", 52, 45);
george.calculate("subt... | true |
496f152e6061887fcd6519e9474ef38aaf01b2d4 | Java | OdysseyProtocol/OCPay | /OCPay_app_android/app/src/main/java/com/ocpay/wallet/widget/dialog/LoadingDialog.java | UTF-8 | 1,530 | 2.296875 | 2 | [] | no_license | package com.ocpay.wallet.widget.dialog;
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.widget.TextView;
import com.ocpay.wallet.R;
/**
* Created by Avazu Holding on 2017/12/11.
*/
public class LoadingDialog extends Dialog {
// private ImageView progressImg... | true |
747471786d648ea2a943cdc092d33c6fdc190591 | Java | Kowah/GameOfLife | /src/gui/RandomDialog.java | UTF-8 | 4,186 | 2.859375 | 3 | [] | no_license | package gui;
import command.GameRequestCommand;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.NumberFormat;
/**
* Created by Kovvah on 31/12/2017.
*/
public class RandomDialog extends JDialog{
GameRequestCommand requestCommand... | true |
5c7dd15355701caf11861dc233abcc62972eebd3 | Java | VectorWen/Netty4.0.xStudy | /src/main/java/com/vector/study/task/day1/Day1PackClient.java | UTF-8 | 2,122 | 2.609375 | 3 | [] | no_license | package com.vector.study.task.day1;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.*;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.nett... | true |
2b8c9b565639f3bdfe5ee9adc1efff1045631a92 | Java | DrRing/Allure-TestNG-Java-Framework | /src/test/java/com/cc/test/shared/datafactory/CaseData.java | UTF-8 | 1,048 | 2.296875 | 2 | [] | no_license | package com.cc.test.shared.datafactory;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.MapperFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
public class CaseData extends CaseCommonFields{
private Map<S... | true |
6045e3b2d05240a39497fe0bcca48c3625a5bb16 | Java | chamoddissanayake/SchoolManagementSystem | /src/main/java/com/itp/exception/QueryLoadingException.java | UTF-8 | 287 | 1.890625 | 2 | [
"Apache-2.0"
] | permissive | package com.itp.exception;
public class QueryLoadingException extends Exception{
private static final long serialVersionUID = 1L;
public QueryLoadingException(String string, Exception e) {
super(string,e);
}
public QueryLoadingException(String string) {
super(string);
}
}
| true |
37e88ab03a54da9ff624c259fa6d63be9fac6261 | Java | BeYkeRYkt/nubia_cam_smali | /com/android/common/appService/C0350z.java | UTF-8 | 3,711 | 1.648438 | 2 | [] | no_license | package com.android.common.appService;
import android.app.Activity;
import android.content.Context;
import android.provider.Settings.System;
import com.android.common.C0616j;
import com.android.common.camerastate.DeviceState;
import com.android.common.setting.C0706f;
import com.p010a.C0090a;
public class C0350z exten... | true |
4a89e45ac7062aad679f0560897d0612247793f7 | Java | LegBill/bscs2b | /Legaspi/Shape.Abstract.Legaspi/MainClass.java | UTF-8 | 1,135 | 4.125 | 4 | [] | no_license | import java.util.*;
public class MainClass {
public static void main (String[] args)
{
Shape h1 = new Circle();
Shape h2 = new Square();
System.out.println("Welcome to Simple Abstraction! \n\n"
+ "\t Please type your number in order in diamater/length \n"
... | true |
4042005f1c0bb927489896df191936b9621b56e7 | Java | MinecraftU/MinecraftByExample | /src/main/java/minecraftbyexample/mbe70_configuration/MBEConfiguration.java | UTF-8 | 12,061 | 2.953125 | 3 | [
"Unlicense"
] | permissive | package minecraftbyexample.mbe70_configuration;
import minecraftbyexample.MinecraftByExample;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.common.config.Property;
import net.minecraftforge.fml.client.event.ConfigChangedEvent;
import n... | true |
65cd972183df0ed3ce76c0225f7a294c30104004 | Java | AlphaWang/alpha-demo | /alpha-concurrency/src/main/java/com/alphawang/concurrency/common/c3_publish/UnsafePublish.java | UTF-8 | 886 | 2.796875 | 3 | [] | no_license | package com.alphawang.concurrency.common.c3_publish;
import com.alphawang.concurrency.common.annotations.NotThreadSafe;
import lombok.extern.slf4j.Slf4j;
import java.util.Arrays;
/**
* 23:52:53 [main] INFO c.a.c.c3_publish.UnsafePublish - INIT: [a, b, c]
* 23:52:53 [main] INFO c.a.c.c3_publish.UnsafePublish - MO... | true |
3ee8e4d44d372234cd06749d9cb1e6963eb8f796 | Java | leodemo/Crawler | /HouseCrawler/src/com/spider/main/SpiderControlMain.java | UTF-8 | 1,304 | 3.296875 | 3 | [] | no_license | package com.spider.main;
import java.util.*;
/**
* ไฝฟ็จ็บฟ็จๆฑ ่ชๅจๅฏๅจๅ็ปๆ็ฌ่ซ็บฟ็จ๏ผ้ฒๆญข็ฌ่ซ็บฟ็จๅตๆญป
* ็ฌ่ซ็จๅบ็ไธปๅ
ฅๅฃ
* ๆฏ3ไธชๅฐๆถ้ๅฏไธๆฌกๆๆ็็ฌ่ก็บฟ็จ
* @author Liang Guo
*
*/
public class SpiderControlMain extends TimerTask{
public static List<Thread> threadlist=new ArrayList<Thread>();
public static void main(String[] args) {
// TODO Auto-generate... | true |
c5ec08f21faae58284037eef89d485597d9d7c28 | Java | omibo/ut-se-online-laboratory | /src/RequestInsuranceControl.java | UTF-8 | 452 | 2.359375 | 2 | [] | no_license | public class RequestInsuranceControl {
private static final RequestInsuranceControl instance = new RequestInsuranceControl();
private RequestInsuranceControl() { }
public static RequestInsuranceControl getInstance() {
return instance;
}
public InsuranceReply submitRequestToInsuranceAPI(Stri... | true |
185609bea3acf2efec90ee9deb7b6431c0b42017 | Java | qiango/yesmywine | /baseRecord/src/main/java/com/yesmywine/base/record/error/BaseRecordError.java | UTF-8 | 1,218 | 2.421875 | 2 | [] | no_license | package com.yesmywine.base.record.error;
import com.yesmywine.base.record.bean.VerifyType;
/**
* Created by WANG, RUIQING on 12/20/16
* Twitter : @taylorwang789
* E-mail : i@wrqzn.com
*/
public class BaseRecordError extends Exception {
private String code;
private String field;
private VerifyType veri... | true |
d01f247d3bfdd9656f0763dcf359eef7804bec73 | Java | marioples/spring | /src/main/java/hr/vsite/validator/PasswordValidator.java | UTF-8 | 1,417 | 2.578125 | 3 | [] | no_license | package hr.vsite.validator;
import java.util.ResourceBundle;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.component.UIInput;
import javax.faces.context.FacesContext;
import javax.faces.validator.FacesValidator;
import javax.faces.validator.Validator;
import... | true |
1e8d662bb2b2956933b25e1f4867587c53290da5 | Java | polpokpoi/facebookSchedule | /schedule/src/main/java/kr/ac/mis/mapper/User_EventMapper.java | UTF-8 | 573 | 1.882813 | 2 | [] | no_license | package kr.ac.mis.mapper;
import java.util.Date;
import java.util.List;
import kr.ac.mis.model.Event;
import kr.ac.mis.model.EUser;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Se... | true |
48df5662ea14143d2e3143cc1cfe34b4a68eac88 | Java | diegopablomansilla/msapi | /src/main/java/z/services/MiTareaSave.java | UTF-8 | 3,117 | 2.125 | 2 | [] | no_license | package z.services;
import java.io.BufferedReader;
import java.io.PrintWriter;
import java.io.StringReader;
import javax.json.Json;
import javax.json.JsonObject;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.ms.back.EnvironmentVariables;
import com.ms.back.co... | true |
5bc7114bb7a45c6a9f5f4bf4f574c252e15b0143 | Java | HypeOrg/OresomeInfected | /com/oresome/OresomeInfection/Listeners/ListMotdListener.java | UTF-8 | 731 | 2.125 | 2 | [] | no_license | package com.oresome.OresomeInfection.Listeners;
import com.oresome.OresomeInfection.Infection;
import org.bukkit.ChatColor;
import org.bukkit.Server;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.server.ServerListPingEvent;
import... | true |
b4699069c3bfa5678e9d96346db2011a2d384f63 | Java | Prashant1293/sprinBoot-handsOn | /src/main/java/edu/knoldus/com/handsonspringboot/exceptions/InvalidNameException.java | UTF-8 | 214 | 2.3125 | 2 | [] | no_license | package edu.knoldus.com.handsonspringboot.exceptions;
public class InvalidNameException extends RuntimeException {
public InvalidNameException(String name) {
super(name + " is invalid.");
}
}
| true |
f12108e9fd0ea79eb37b2c8e5b8f94d95871ea5b | Java | travelersun/query-filtering | /src/main/java/com/tianzhu/filtering/utils/SQLFilter.java | UTF-8 | 420 | 1.859375 | 2 | [] | no_license | package com.tianzhu.filtering.utils;
import java.util.Map;
import java.util.Set;
/**
* @Author: liaoyq
* @Desrition:
* @Created: 2018/10/9 14:30
* @Modified: 2018/10/9 14:30
* @Modified By: liaoyq
*/
public abstract interface SQLFilter {
public static final String FILTER_PREFIX = "F__QV_";
public abst... | true |
ce178f808c6e418f76412f669144467fb0a7fad5 | Java | AnastasiyaVrublevskaya/HT0 | /Prj01/src/com/training/Item.java | UTF-8 | 1,489 | 3.640625 | 4 | [] | no_license | package com.training;
//ะบะปะฐัั Item ะฝะฐัะปะตะดััั ะบะปะฐััั, ะฟัะตะดััะฐะฒะปัััะธะต ะฟัะพะธะทะฒะพะปัะฝัะต ะฟัะตะดะผะตัั ะฒ ะฟะพะผะตัะตะฝะธะธ
public abstract class Item {
private int square;
private String name;
private String material;
public Item(String name, int square){
this.name = name;
this.square = square;
}
... | true |
a7c9e2a75850ad8b99d130e74e14a49ffde64914 | Java | OliverS87/PDB123 | /src/GUI/Main/PDB123Presenter.java | UTF-8 | 18,690 | 2.453125 | 2 | [] | no_license | package GUI.Main;
import Charts.PDBBarChart;
import PDBParser.PDB123LoadingTask;
import GUI.LogMessagesUI.PDB123PrintLog;
import GUI.ProgressUI.PDB123ProgressPresenter;
import GUI.SettingsUI.PDB123SettingsPresenter;
import SelectionModel.PDB123SelectionModel;
;
import javafx.beans.property.BooleanProperty;
import java... | true |
0fdaf578233e333e308c6e75c3b6aac14904f3d8 | Java | maryangrb/IntermedioSeleniumMR | /src/test/java/practico4_findBy/FindBysEjemplos.java | UTF-8 | 2,925 | 2.640625 | 3 | [] | no_license | package practico4_findBy;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.FindAll;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.How;
import org... | true |
39feb550d114e183b3e06a5ee98d2dbd52128ec1 | Java | Arasz/Head-First-Android-Development | /Stopwatch/app/src/main/java/com/example/raraszkiewicz/stopwatch/model/IStopwatch.java | UTF-8 | 237 | 2.296875 | 2 | [
"MIT"
] | permissive | package com.example.raraszkiewicz.stopwatch.model;
/**
* Created by r.araszkiewicz on 01.09.2016.
*/
public interface IStopwatch
{
void Start();
void Stop();
void Reset();
String getFormatedTime();
}
| true |
a47b8bb1a3d7d68889cb5c53c1e846bc69fc25c3 | Java | hanbioinformatica/owe5a | /demoGUI/src/MyGUI.java | UTF-8 | 1,669 | 3.8125 | 4 | [] | no_license | import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class MyGUI extends JFrame implements ActionListener {
JTextField field; //declaratie van een tekstveld
JButton button; // declaratie van button
JPanel panel; // declaratie van een pan... | true |
99f7a8427490ef89c9a30f0fa4da935393760545 | Java | FelixOngati/ebm-web | /src/main/java/ebm/web/model/persistence/Role.java | UTF-8 | 118 | 1.726563 | 2 | [] | no_license | package ebm.web.model.persistence;
/**
* Created by the_fegati on 4/26/16.
*/
public enum Role {
USER, ADMIN
}
| true |
d9e410a863d0af817d710d7f3a4101f67d661aef | Java | MarkShen1992/Mashibing_High_Concurrency | /src/main/java/com/basic/chapter0400/Chapter0403SortAlgorithm.java | UTF-8 | 2,358 | 3.953125 | 4 | [] | no_license | package com.basic.chapter0400;
/**
* ๆๅบๆฐ็ป: ้ๆฉๆๅบ(Selection Sort)
* ๅ็จๅบๅ
่ทไธปๆต็จ๏ผไธปๆต็จ่ท้ๅๅ่่็จๅบ็็ป่
*
* ๅฆไฝๅๆไธไธชไฝ ไธ็ๆ็็ฎๆณๅข๏ผ
* ๅจ็บธไธ ็ปๅพๅๆ๏ผๅๆi็ญไบ0, 1, 2, ...็ๆ
ๅต, ๆพ่งๅพ
*
* ๅๅคง็ปๅ
ธๆๅบ็ฎๆณ๏ผๅจๅพๆผ็คบ๏ผ
* https://www.cnblogs.com/onepixel/articles/7674659.html
*
* @author MarkShen
* @since 20191123
*/
public class Chapter0403SortAlgorithm {
... | true |
70835624f136b2c1ac373d66fc75236c2a811e21 | Java | bulison/test | /ops-biz/src/main/java/cn/fooltech/fool_ops/domain/analysis/service/CostAnalysisBilldetailService.java | UTF-8 | 14,648 | 1.84375 | 2 | [] | no_license | package cn.fooltech.fool_ops.domain.analysis.service;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Date;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import cn.fooltech.fool_ops.utils.Number... | true |
080db5bfe2a5ee2fec2e8cbeb3233a8394dded7d | Java | zhanghaoxuan184/Covid19 | /backend/src/main/java/com/covid19/backend/controller/prescription/DeletePrescription.java | UTF-8 | 2,008 | 2.234375 | 2 | [] | no_license | package com.covid19.backend.controller.prescription;
import com.covid19.backend.controller.BaseController;
import com.covid19.backend.model.Result;
import com.covid19.backend.model.Prescription;
import com.covid19.backend.service.prescription.DeletePrescriptionService;
import com.covid19.backend.service.prescription.G... | true |
c2683fee70143af616ff9ae218f47559a7928156 | Java | Harshbhama/Tbs-Nascomm | /TbsGuiMysql/src/com/Tbs/gui/TbsGuiUserDebitCard.java | UTF-8 | 6,418 | 2.375 | 2 | [] | no_license | package com.Tbs.gui;
import java.awt.Color;
import java.awt.Font;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.io.IOException;
import java.text.DateFormat;
import java.text.Simpl... | true |
a6ecafe9da216754f11e7ad25a8eb6aa5b9710d0 | Java | alexbelij/driver | /driver-service/src/main/java/com/driver/web/model/BasicResponse.java | UTF-8 | 538 | 1.828125 | 2 | [] | no_license | package com.driver.web.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.http.HttpStatus;
import java.util.List;
import static com.fasterxml.... | true |
28b45b980719d754346c35cd4437f2e0ceaf151b | Java | 2Hours/myproject | /src/main/java/com/hzq/ssmboot/manage/model/User.java | UTF-8 | 2,442 | 2.28125 | 2 | [] | no_license | package com.hzq.ssmboot.manage.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
public class User {
private String user_id;
private String user_name;
private String password;
private Integer user_type;
private String nickname;
private String mobile;
priv... | true |
dcbfce0cd6bb32053db77b7f529721a31a8cd6f1 | Java | HungFoolishry/ysvsys_demo | /hungry-java/src/main/java/lee/search/BinarySearch.java | UTF-8 | 3,261 | 4.25 | 4 | [] | no_license | package lee.search;
/**
* description: ไบๅๆฅๆพ ๆญฃๅธธ็ๆฌ๏ผๅทฆ่พน็๏ผๅณ่พน็
*
* @author JunchaoYao
* @date 2021-01-22 15:16
**/
public class BinarySearch {
public int binarySearch(int[] nums, int target) {
int left = 0;
int right = nums.length - 1;
// ๅ ไธบๆ็ดขๅบ้ดๆฏ[left, right],ๆ้ๆ
ๅต left = right็ๆถๅ ่ฟๆฏ่ฆๆ็ดข็
... | true |
b978ce1f23b73228e87ac99d429f215fada315a1 | Java | cxdyyt/main | /src/Sorting/BucketSort.java | UTF-8 | 502 | 3.203125 | 3 | [] | no_license | package Sorting;
public class BucketSort extends CommonSort<Integer> {
int maxValue;
public BucketSort(int maxValue) {
super();
this.maxValue = maxValue;
}
@Override
public void sortInner(Integer[] arrs) {
int[] tmpArr = new int[maxValue];
for(int item : arrs) {
tmpArr[item]++;
}
in... | true |
0e43fd3dd90a8834928763fb41be092c2f3b5f7f | Java | nbourses/DeploymentBranch | /Oyeok/app/src/main/java/com/nbourses/oyeok/RPOT/OkBroker/UI/Rental_Broker_Requirement.java | UTF-8 | 10,609 | 1.671875 | 2 | [] | no_license | package com.nbourses.oyeok.RPOT.OkBroker.UI;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.Uri;
import android.os.Bundle;
import android.provider.Con... | true |
e11266e739fd5bb89ae9800d4e065830c1c84d2a | Java | changhwa/reserve | /reserve/src/main/java/com/narratage/reserve/inform/service/AirportService.java | UTF-8 | 1,367 | 2.59375 | 3 | [] | no_license | package com.narratage.reserve.inform.service;
import java.util.List;
import com.narratage.reserve.inform.domain.Airport;
/**
* ๊ตฌ๊ธ๋งต์์ ํ์๋ ๋์๋ฅผ ๊ฐ์ ธ์ค๊ธฐ ์ํด์ ์ฌ์ฉํฉ๋๋ค. ๋์์ DB์ ์ ์ฅ๋ ๋ชจ๋ ๋์๋ฅผ ๊ฐ์ ธ์ค๋ ๊ฒฝ์ฐ ๊ฐ๋
์ฑ์ด ๋จ์ด์ง๋ฉฐ, DB์ ์ง๋์น
* IO๋ฅผ ๋ฐ์์ํฌ ๊ฐ๋ฅ์ฑ์ด ์์ต๋๋ค. ๊ตฌ๊ธ๋งต์ ์ผ์ชฝ์๋จ์ ์ ๊ณผ ์ค๋ฅธ์ชฝ ํ๋จ์ ์ 2๊ฐ๋ฅผ ํตํด ์ง์ฌ๊ฐํ์ ๊ทธ๋ฆด ์ ์๊ณ ํด๋น ์ง์ฌ๊ฐํ ๋ด๋ถ์
* ์ฃผ์๋์๋ง ๊ฐ์ ธ์ฌ ์ ์๋๋ก ํฉ๋๋ค. ๋... | true |
1c25790ef5c640544595d3a70fffa28fe02bc8d4 | Java | zhilien-tech/juyo-visa | /visa/src/main/java/io/znz/jsite/visa/service/TravelService.java | UTF-8 | 698 | 1.84375 | 2 | [] | no_license | package io.znz.jsite.visa.service;
import io.znz.jsite.base.BaseService;
import io.znz.jsite.base.HibernateDao;
import io.znz.jsite.visa.bean.Travel;
import io.znz.jsite.visa.dao.TravelDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.... | true |
585e1fedb0a64f42afbbd1e1156f16f9936681df | Java | trannys/mygit | /TestCloud/Test-auth/src/main/java/com/lucq/service/impl/AccountServiceImpl.java | UTF-8 | 1,689 | 2.25 | 2 | [] | no_license | package com.lucq.service.impl;
import com.lucq.entity.Account;
import com.lucq.mapper.AccountMapper;
import com.lucq.oauth.CustomUserDetails;
import com.lucq.service.AccountService;
import com.lucq.util.EncryptUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.cor... | true |
ebd662729e1ea6a619aa3690f8af28df7350be03 | Java | nemanja1007/Nemanja_JavaEE | /JEE_uebungen/src/Webshop/Products.java | UTF-8 | 525 | 2.9375 | 3 | [] | no_license | package Webshop;
import java.util.ArrayList;
import java.util.List;
public class Products {
List<Item> items = new ArrayList<>();
static Products products = null;
public static Products getProducts() {
if(products == null)
products = new Products();
return products... | true |
f0cd210d8e6fb6aec77e78ac478a1a5ea0995c88 | Java | fabianschilling/settlers-of-catan | /src/gui/BuildingCostsMenu.java | IBM852 | 9,561 | 2.90625 | 3 | [] | no_license | package gui;
import java.awt.*;
import javax.swing.*;
/**
* Diese Klasse stellt das Baukostenmenü aus der GUI dar
*
* @author Florian Weiss, Fabian Schilling
*
*/
@SuppressWarnings("serial")
public class BuildingCostsMenu extends JPanel {
/**
* Die Breite des Panels
*/
private in... | true |
b32e498984f4ddab31cac6bdcc8043d3abfbeeae | Java | selena-groh/billsplitter | /app/src/main/java/io/github/selena_groh/tinyapp/MainActivity.java | UTF-8 | 2,732 | 2.1875 | 2 | [
"MIT"
] | permissive | package io.github.selena_groh.tinyapp;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
i... | true |
8c2d6b68c608bb1a5c84c5eddd68af7a6c6662f3 | Java | Al-ain-Developers/indesing_plugin | /devtools/idmltools/src/com/adobe/idml/samples/Notes.java | UTF-8 | 7,590 | 2.34375 | 2 | [] | no_license | //========================================================================================
//
// $File: //depot/devtech/16.0.x/devtools/idmltools/src/com/adobe/idml/samples/Notes.java $
//
// Owner: Joe Stinson
//
// $Author: vans $
//
// $DateTime: 2020/11/06 05:06:09 $
//
// $Revision: #1 $
//
// $C... | true |
b46e2d7a16080a8d7cc2e899d012dc33be43e311 | Java | carldibert/Book-Keeping | /src/AuthorButtonPanel.java | UTF-8 | 2,773 | 2.96875 | 3 | [] | no_license | import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JToolBar;
/**
*
* @author Andrey
*
*/
public class AuthorButtonPanel extends JToolBar {
// ********************************
// ATTRIBUTES
// ********************************
private JButton buttonNewAuth... | true |
3680dff93d5255836e9eea08a9675298873aebba | Java | ohdoking/Dansoon | /app/src/main/java/com/ohdoking/dansoondiary/DansoonApplication.java | UTF-8 | 440 | 1.882813 | 2 | [] | no_license | package com.ohdoking.dansoondiary;
import android.app.Application;
import com.tsengvn.typekit.Typekit;
public class DansoonApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
Typekit.getInstance()
.addNormal(Typekit.createFromAsset(this, "fo... | true |
ba46becaaf024993c2c5f4272c9766b8051e97f6 | Java | bigblue311/zhaile | /zhaile.app.biz/src/com/zhaile/biz/scheduler/task/DeleteInvalidCommentTask.java | UTF-8 | 773 | 2.171875 | 2 | [] | no_license | package com.zhaile.biz.scheduler.task;
import java.util.concurrent.TimeUnit;
import org.springframework.beans.factory.annotation.Autowired;
import com.victor.framework.batch.thread.ScheduledTask;
import com.victor.framework.common.tools.LogTools;
import com.zhaile.dal.dao.CustomerCommentDAO;
public class DeleteInva... | true |
9782eddd34796d27d05ae2fc3749e8668263e66d | Java | firak01/Projekt_Kernel02using_JAZVideoInternetArchive | /JAZVideoInternetArchive/src/use/via/client/DlgAboutVIA.java | UTF-8 | 2,130 | 2.5625 | 3 | [] | no_license | package use.via.client;
import java.awt.Frame;
import basic.zKernelUI.component.KernelJDialogExtendedZZZ;
import basic.zKernelUI.component.KernelJFrameCascadedZZZ;
import basic.zKernelUI.component.KernelJPanelCascadedZZZ;
import basic.zKernel.IKernelZZZ;
/**Dialogbox "Help/About". Wird aus dem Men๏ฟฝ des Haup... | true |
f11ca22640dbf70993ba62ebeb1606733503b141 | Java | GauravPandey123/MusicLibrary | /app/src/main/java/android/musicsigner/android/resources/SignUpRequest/ForgotPassword/GetOtpRequest.java | UTF-8 | 518 | 2.015625 | 2 | [] | no_license | package android.musicsigner.android.resources.SignUpRequest.ForgotPassword;
import android.musicsigner.android.web.BaseRequest;
/**
* Created by Editsoft on 12/27/16.
*/
public class GetOtpRequest extends BaseRequest {
/**
* email : jeevan@editsoft.in
*/
private String email;
@Override
... | true |
2a26177928cb9ec4db13bed631c118329f58acdc | Java | markzha/future | /app/src/main/java/com/jnhyxx/html5/activity/web/PaymentActivity.java | UTF-8 | 3,994 | 1.90625 | 2 | [] | no_license | package com.jnhyxx.html5.activity.web;
import android.content.Intent;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.text.TextUtils;
import android.util.Log;
import android.webkit.WebView;
import com.jnhyxx.html5.R;
import com.jnhyxx.html5.activity.WebViewActivity;
import com.jnhyxx.htm... | true |
3da11d183512f07fbfd22403dc9361e8aecc38cf | Java | yhmatg/TerminalSmartBox | /app/src/main/java/com/android/terminalbox/uhf/UhfTag.java | UTF-8 | 1,154 | 2.3125 | 2 | [] | no_license | package com.android.terminalbox.uhf;
public class UhfTag {
public byte AntennaID;
private String epc;
private String tid;
private int rssi;
public UhfTag() {
}
public UhfTag(byte antennaID, String epc, String tid, int rssi) {
AntennaID = antennaID;
this.epc = epc;
... | true |
1da6081130f3f29c9eeed4c23960eec37cd90f67 | Java | CCMForCCH/CCM | /cohoman/src/org/cohoman/model/business/EventManager.java | UTF-8 | 4,343 | 1.914063 | 2 | [] | no_license | package org.cohoman.model.business;
import java.util.Date;
import java.util.List;
import org.cohoman.model.business.MealSchedule.MealScheduleText;
import org.cohoman.model.dto.CohoEventDTO;
import org.cohoman.model.dto.MealEventDTO;
import org.cohoman.model.dto.PizzaEventDTO;
import org.cohoman.model.dto.PotluckEvent... | true |
ec002e7d684a2185d6206b5b4a01b55e4f8a0e36 | Java | zangliguang/DawnLightApp_Test | /DawnLightApp/app/src/main/java/com/liguang/app/activity/MainActivity.java | UTF-8 | 5,736 | 1.890625 | 2 | [] | no_license | package com.liguang.app.activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.design.widget.NavigationView;
import android.support.v4.app.Fragment;
import android.support.v4.view.GravityCompat;
import android.support.v4.view.ViewPager;
import android.support.... | true |
7841f620e7eb548b8da2032afe3defa1fdfb2e1a | Java | lemsviat/lemstudy | /src/main/java/com/lemsviat/javacore/chapter09/MyIFImpl.java | UTF-8 | 163 | 2.390625 | 2 | [] | no_license | package main.java.com.lemsviat.javacore.chapter09;
public class MyIFImpl implements MyIF {
@Override
public int getNumber() {
return 100;
}
}
| true |
274afb48eb75738218a6a198fd01a3bc1b365996 | Java | rinaldo-santana/emissor-fiscal-api | /src/main/java/com/everest/emissorfiscal/api/entities/Cidade.java | UTF-8 | 1,232 | 2.203125 | 2 | [
"MIT"
] | permissive | package com.everest.emissorfiscal.api.entities;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;
import javax.persistence.Table;
import com.everest.emissorfiscal.api.enum... | true |
b514b8bf58c113bfbed8f3eb32f81074a64eca5c | Java | puga1chev/JMCrud1 | /src/main/java/jmCrud/servlet/DeleteServlet.java | UTF-8 | 791 | 2.359375 | 2 | [] | no_license | package jmCrud.servlet;
import jmCrud.service.*;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
@WebServlet("/admin/delete... | true |
6fa09668016278791154ae983c8247cfff639386 | Java | Jim-Robbins/xyz-reader | /XYZReader/src/main/java/com/example/xyzreader/Utils.java | UTF-8 | 1,395 | 2.5625 | 3 | [] | no_license | package com.example.xyzreader;
import android.text.format.DateUtils;
import android.util.Log;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.GregorianCalendar;
/**
* Created by jim on 6/12/17.
*/
public class Utils {
private static final String TAG = ... | true |
68ab29c864e9ea11815c87b2fdd74fe79535b904 | Java | Major-Issue/majorIssue | /app/src/main/java/majorissue/com/gravity/screens/SettingsScreen.java | UTF-8 | 4,845 | 2.375 | 2 | [] | no_license | package majorissue.com.gravity.screens;
import com.majorissue.game.R;
import java.util.List;
import majorissue.com.framework.Game;
import majorissue.com.framework.Graphics;
import majorissue.com.framework.Input.TouchEvent;
import majorissue.com.gravity.GravityGame;
import majorissue.com.gravity.util.Assets;
import m... | true |
9579fab8dd7961f030bbd8b1365dcf1fd013d1fe | Java | PrasadPatharkar/FirstGitRepo | /src/my/udemy/exercise/PracticeDynamicValues.java | UTF-8 | 1,258 | 2.484375 | 2 | [] | no_license | package my.udemy.exercise;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.Select;
public class PracticeDynamicValues {
public static void main(String[] args) {
// TODO... | true |
c16bd5d009600dfdf926019829cf2f604645f29d | Java | Zanobos/shareride-android | /app/src/main/java/com/zano/shareride/adapters/ExampleAdapter.java | UTF-8 | 1,233 | 2.28125 | 2 | [] | no_license | package com.zano.shareride.adapters;
import android.content.Context;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import com.zano.shareride.R;
import java.util.Map;
import butterknife.BindView;
/**
* Created by Zano on 07/06/2017, 18:47.
*/
public class ExampleAdapter exten... | true |
675f04cf8961f0237f7df5fc2797863b9ad61b48 | Java | chris346/Java | /3_ifElseStatements.java | UTF-8 | 280 | 3.453125 | 3 | [] | no_license |
public class Main {
public static void main(String[] args) {
int x = 10;
int y = 5;
if(x>y){
System.out.println("x is bigger than y");
}else if(x==y){
System.out.println("x is equal to y");
}else {
System.out.println("x is less than y");
}
}
}
| true |
07019d4468b29e1982bbd04bc137fba41173b9f8 | Java | Felipe3003p/Etec-ct | /exerc4.java | ISO-8859-1 | 973 | 3.640625 | 4 | [] | no_license | import java.util.Scanner;
public class exerc4 {
/**
* @param args
*/
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a[],b=0,i;
a = new int [10];
//Entrada de dados
for(i=0;i<10;i++) {
System.out.println("Entre com o "+ (i+1)+" valor:");
... | true |
b82819a6fffac47100c300b600210e0fd0065d16 | Java | huyang2100/cool | /app/src/main/java/com/example/cool/activity/InstallApkActivity.java | UTF-8 | 2,214 | 1.945313 | 2 | [] | no_license | package com.example.cool.activity;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import com.example.cool.BuildConfig;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.google.android.mate... | true |
8bdab4922b804e61abdbb56af7f853fbde93499f | Java | eothmal/example | /generics/src/com/mycompany/parameters/h/convention/Main.java | UTF-8 | 644 | 3.125 | 3 | [] | no_license | package com.mycompany.parameters.h.convention;
import java.math.BigInteger;
public class Main {
public static void main(String[] args) {
Employee<Integer> employee1 = new Employee<>(123, 1000, 100);
System.out.println(employee1);
Employee<BigInteger> employee2 = new Employee<>(... | true |
e44b3674be979ff174cd5d408e3017f0c769b07e | Java | julianhyde/pentaho-aggdesigner | /pentaho-aggdesigner-core/src/main/java/org/pentaho/aggdes/model/mondrian/MondrianMeasure.java | UTF-8 | 2,795 | 1.742188 | 2 | [
"Apache-2.0"
] | permissive | /*
* 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 writing, software
* distributed under ... | true |
0efef2c70be9a8bc05aab2b72d0a69391e534e04 | Java | Indivikar/WacherTreeView | /src/app/TreeViewWatchService/PathTreeCell.java | ISO-8859-1 | 13,788 | 2.09375 | 2 | [
"BSD-2-Clause"
] | permissive | package app.TreeViewWatchService;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Map.Entry;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import app.StartWacherDemo;
import app.T... | true |
04f4a639094c03e7d0d1c353234382c331d6821c | Java | Harsh0786/FullStack-DesignPatterns | /src/com/behavioral/designpattern/memento/MementoDemoPattern.java | UTF-8 | 215 | 2.125 | 2 | [] | no_license | package com.behavioral.designpattern.memento;
public class MementoDemoPattern {
public static void main(String[] args) {
Originator originator = new Originator();
CareTaker careTaker = new CareTaker();
}
}
| true |
75615d229c8055ada5fdef157d1ef96454672bf2 | Java | jdmr/mateo | /src/main/java/mx/edu/um/mateo/contabilidad/facturas/web/FacturasController.java | UTF-8 | 802 | 1.820313 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package mx.edu.um.mateo.contabilidad.facturas.web;
import mx.edu.um.mateo.inscripciones.web.*;
import mx.edu.um.mateo.general.web.BaseController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sprin... | true |
d95d8b14975571bf096f0aa24732644e2785c491 | Java | KorallTheCoral/MatchlockGuns-Mod | /java/com/korallkarlsson/matchlockweapons/items/NewReloadGunWheellock.java | UTF-8 | 12,710 | 1.695313 | 2 | [] | no_license | package com.korallkarlsson.matchlockweapons.items;
import java.util.List;
import com.korallkarlsson.matchlockweapons.init.ModItems;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.player.EntityPlayer;
i... | true |
91d7e72cab3b25279831ff65ba148288a838fb9d | Java | fakemonk1/DataStructures-And-Algorithms-IB | /src/linkedlists/IntersectionOfLinkedLists.java | UTF-8 | 1,763 | 4.09375 | 4 | [] | no_license | package linkedlists;
/**
* https://www.interviewbit.com/problems/intersection-of-linked-lists/
*
* Write a program to find the node at which the intersection of two singly linked lists begins.
For example, the following two linked lists:
If the two linked lists have no intersection at all, return null.
The link... | true |
eb8ebb1204fd4224c2bcf5a7fccce3eb4cbcda1e | Java | kalapriyakannan/UMLONT | /com.ibm.ccl.soa.deploy.was/src/com/ibm/ccl/soa/deploy/was/validator/resolution/CreateDefaultNodeGroupUnitIntoCellUnitResolution.java | UTF-8 | 3,303 | 1.539063 | 2 | [] | no_license | /***************************************************************************************************
* Copyright (c) 2003, 2007 IBM Corporation Licensed Material - Property of IBM. All rights
* reserved.
*
* US Government Users Restricted Rights - Use, duplication or disclosure v1.0 restricted by GSA ADP
* S... | true |
1260083db05ea3a9154b12c7c2e5817b3347df2d | Java | govorovsky/LastfmClient | /app/src/main/java/com/techpark/lastfmclient/network/Method.java | UTF-8 | 123 | 1.828125 | 2 | [] | no_license | package com.techpark.lastfmclient.network;
/**
* Created by andrew on 28.10.14.
*/
public enum Method {
GET, POST
}
| true |
6618ec78a2c4984d8b7d6c2c42848e19fd5110ea | Java | 13klove/wba | /src/main/java/web/boostcourse/api/wba/productImage/repository/ProductImageRepository.java | UTF-8 | 531 | 1.640625 | 2 | [] | no_license | package web.boostcourse.api.wba.productImage.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import web.boostcourse.api.wba.productImage.model.entity.ProductImage;
import web.boostcourse.api.wba.productImage.repository.queryDsl.dto.ProductImageDtoRepository;
import web.boostcourse.api.wba.pro... | true |
5f2585e7d901cd2e449a158490ed30a41df4d148 | Java | FilipHusnjak/JavaCourseProjects | /hw11-0036506711/src/main/java/hr/fer/zemris/java/hw11/jnotepadpp/local/LocalizableAction.java | UTF-8 | 1,157 | 2.9375 | 3 | [] | no_license | package hr.fer.zemris.java.hw11.jnotepadpp.local;
import javax.swing.AbstractAction;
import javax.swing.Action;
/**
* Represents AbstractAction which retrieves its name from the given
* {@link ILocalizationProvider}.
*
* @author Filip Husnjak
*/
public abstract class LocalizableAction extends AbstractAction {
... | true |
e463c98689c9e90317f69c123f23e19051fbe8e5 | Java | jxxiaoxi/ME_DEMO | /Telephony/ext/src/com/mediatek/phone/ext/IPhoneMiscExt.java | UTF-8 | 2,771 | 2.078125 | 2 | [
"Apache-2.0"
] | permissive | package com.mediatek.phone.ext;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import com.android.internal.telephony.Phone;
import com.mediatek.calloption.CallOptionHandlerFactory;
public interface IPhoneMiscExt {
/**
* plugi... | true |
ea6d7d4dd2731cbbb2ac3b838d89c23e3fbc7e36 | Java | lukasz1985/JMindMaps | /src/map/ViewModel.java | UTF-8 | 821 | 2.65625 | 3 | [] | no_license | package map;
import java.util.ArrayList;
public class ViewModel {
public ArrayList<Connection> connections = new ArrayList<>();
public ArrayList<Node> nodes = new ArrayList<>();
public void clear() {
this.connections.clear();
this.nodes.clear();
}
public void addNode(Node node) ... | true |
3f1033363e4c0e265b2a57ad7fd68f3cc21afd5e | Java | DevBoost/EMFText-Zoo | /BreedingStation/NLP/edu.stanford.nlp/src/edu/stanford/nlp/stats/Counter.java | UTF-8 | 11,042 | 2.09375 | 2 | [] | no_license | /*******************************************************************************
* Copyright (C) 2012
* The Stanford Natural Language Processing Group
* http://nlp.stanford.edu/
* This Eclipse plugin matches the Stanford CoreNLP version 1.3.3
*
* This program is free software; you can redistribute it and/... | true |
c8548a7641707d4d553af158aa80da28c545b10e | Java | fcu-d0577613/Android-HW4-2 | /app/src/main/java/com/example/acc0752001/fakeapplication/NotiActivity.java | UTF-8 | 776 | 2.3125 | 2 | [] | no_license | package com.example.acc0752001.fakeapplication;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
public class NotiActivity extends AppCompatActivity {
TextView sh_name;
@Override
protected void onCreate(Bundle savedInstan... | true |
460a65e24aacb75f6791a48ffd1e24dab7512fbb | Java | luffy7718/Proxiservices | /app/src/main/java/com/example/a77011_40_05/proxiservices/BroadcastReceivers/InternetBroadcastReceiver.java | UTF-8 | 1,346 | 2.3125 | 2 | [] | no_license | package com.example.a77011_40_05.proxiservices.BroadcastReceivers;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import com.example.a77011_40_05.proxiservices.Entities.Erreur;
import com.... | true |
3200e0ae3074a2aa67131ae76383a0d97ebbb18e | Java | marvuchko/betting-bull | /infrastructure-microservice/src/main/java/com/marvuchko/infrastructuremicroservice/exception/core/UnauthorizedException.java | UTF-8 | 509 | 2.453125 | 2 | [] | no_license | package com.marvuchko.infrastructuremicroservice.exception.core;
import com.marvuchko.infrastructuremicroservice.exception.base.BaseException;
public class UnauthorizedException extends BaseException {
public static final String DEFAULT_ERROR_MESSAGE = "Unauthorized access!";
public UnauthorizedException() ... | true |
b715ee78de2e02d35410c3f08fa51551d6a37d34 | Java | huankai/hk-core | /hk-core-poi/src/main/java/com/hk/commons/poi/excel/style/CustomCellStyle.java | UTF-8 | 5,176 | 2.671875 | 3 | [] | no_license | package com.hk.commons.poi.excel.style;
import lombok.Data;
import org.apache.poi.ss.usermodel.BorderStyle;
import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.FillPatternType;
import org.apache.poi.ss.usermodel.HorizontalAlignment;
import org.apache.poi.ss.usermodel.VerticalAlignment;
imp... | true |
66e5499d0941d28c272d069c7fe3c9a81007bd51 | Java | andrempo/tech-gallery | /src/main/java/com/ciandt/techgallery/service/SkillServiceImpl.java | UTF-8 | 6,822 | 2.234375 | 2 | [
"Apache-2.0"
] | permissive | package com.ciandt.techgallery.service;
import java.util.Date;
import java.util.logging.Logger;
import com.ciandt.techgallery.persistence.dao.SkillDAO;
import com.ciandt.techgallery.persistence.dao.SkillDAOImpl;
import com.ciandt.techgallery.persistence.dao.TechGalleryUserDAO;
import com.ciandt.techgallery.persistenc... | true |
a076e1167c6ef2f3edf93a3530c8dc237ef8ba01 | Java | sdd031215/crowd | /src/main/java/com/crowd/tools/MonitorThread.java | UTF-8 | 8,303 | 2.40625 | 2 | [] | no_license | package com.crowd.tools;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.file.FileSystems;
import java.nio.file.Paths;
import java.nio.file.StandardWatchEventKinds;
impo... | true |
0e7ae43fa47577be72d6672b7232e2498eee1007 | Java | luckyQing/demo | /design-patterns/src/main/java/com/liyulin/design/patterns/chain/LoginReqVO.java | UTF-8 | 148 | 1.640625 | 2 | [
"Apache-2.0"
] | permissive | package com.liyulin.design.patterns.chain;
import lombok.Data;
@Data
public class LoginReqVO {
private String username;
private String pwd;
} | true |
1e26ce36fc3b06333c771d8aadba46cdc0d713c3 | Java | Okami-Kato/jwd-critics | /src/main/java/com/epam/jwd_critics/dao/EntityTransaction.java | UTF-8 | 1,673 | 2.453125 | 2 | [] | no_license | package com.epam.jwd_critics.dao;
import com.epam.jwd_critics.entity.BaseEntity;
import com.epam.jwd_critics.pool.ConnectionPool;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.sql.Connection;
import java.sql.SQLException;
public class EntityTransaction {
private Connection connection;
... | true |
82b12bca0eca29646120dc38e16e308488f1c9a3 | Java | arvindhmk/basicsSelenium | /src/Dragndrop.java | UTF-8 | 2,464 | 2.640625 | 3 | [] | no_license | import java.time.Duration;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.ui.Expected... | true |
621044ffe1d0a4a654c94efd9a717dc2eedee7e9 | Java | Dynamit88/Room-Finding-App-Android | /app/src/main/java/team16/project/team/orbis/global/objectclass/BuildingMapNodeType.java | UTF-8 | 186 | 1.859375 | 2 | [] | no_license | package team16.project.team.orbis.global.objectclass;
/**
* This defines the types a node can be
*/
public enum BuildingMapNodeType {
LIFT, STAIRS, ROOM, LEFT_TURN, RIGHT_TURN
}
| true |
b05bf08b17a6b5fe9af2dc541d7294e28cda56c2 | Java | Eriflow/obm_slemaistre | /java/sync/common/src/main/java/org/obm/sync/auth/OBMConnectorVersionException.java | UTF-8 | 433 | 2.3125 | 2 | [] | no_license | package org.obm.sync.auth;
public class OBMConnectorVersionException extends Exception {
private AccessToken token;
private Version requiredVersion;
public OBMConnectorVersionException(AccessToken token, Version requiredVersion) {
this.token = token;
this.requiredVersion = requiredVersion;
}
public Acces... | true |
5c091a7b825ab8c59ac53ecedc0b1c47dbf03100 | Java | rao1219/elight | /elight/src/jspservlet/dao/OrderDAO.java | UTF-8 | 491 | 1.960938 | 2 | [] | no_license | package jspservlet.dao;
import java.util.ArrayList;
import java.util.List;
import jspservlet.vo.Cart;
import jspservlet.vo.Order;
import jspservlet.vo.Product;
public interface OrderDAO {
public ArrayList<Cart> query(String userId) throws Exception;
public int add(Cart cart) throws Exception;
public void addOrder... | true |
3367a4a0d5bfb3a17e3ad63ad6e81572d9d848bc | Java | emccarthy3/Homework6Halfway | /HW6Runtime/src/edu/elon/math/FunctionInterface.java | UTF-8 | 5,706 | 3.015625 | 3 | [] | no_license | /**
* FunctionInterface.java 1.0 November 17, 2016
*
* Copyright (c) 2016 Dawn Winsor, Betsey McCarthy, Jen Rhodes
* Elon, North Carolina, 27244 U.S.A.
* All Rights Reserved
*/
package edu.elon.math;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
/**
* This class extends ... | true |
71d51315954826521995dba58488765af0270b54 | Java | chandrabipin/dsAndAlgos | /src/com/bipin/algo/greedy/G03ComparatorDensityDesc.java | UTF-8 | 336 | 2.9375 | 3 | [] | no_license |
package com.bipin.algo.greedy;
import java.util.*;
public class G03ComparatorDensityDesc implements Comparator<G03GoldType>{
public int compare(G03GoldType g1, G03GoldType g2){
// since density is in double
// and we want to reverse the order -> multiply by -1
return -1*Double.compare(g1.getDensity(), g2.getD... | true |
5cd2859fdb9f07d4f5130ed09a9e57e68f63504b | Java | ElectroMechByte/brighterBeeProject | /src/main/java/com/projectBee/brighterBee/BrighterBeeApplication.java | UTF-8 | 659 | 1.875 | 2 | [] | no_license | package com.projectBee.brighterBee;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.... | true |
b80fa2e8fea8e336ef072ba92059cac9a7394101 | Java | agarrharr/code-rush-101 | /something-learned/Algorithms and Data-Structures/java/sorting/AlmostSortedArrSearch.java | UTF-8 | 367 | 2.84375 | 3 | [
"MIT"
] | permissive | package sorting;
/**
* Given an array which is sorted, but after sorting some elements are moved to
* either of the adjacent positions, i.e., arr[i] may be present at arr[i+1] or
* arr[i-1].
*
* Link: http://www.geeksforgeeks.org/search-almost-sorted-array/
*
* @author shivam.maharshi
*/
public cla... | true |
e01c24c00802e947cb498fde9d25cfd679d86100 | Java | Zweanslord/Stersectas | /src/main/java/stersectas/domain/common/Id.java | UTF-8 | 865 | 2.34375 | 2 | [] | no_license | package stersectas.domain.common;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.MappedSuperclass;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.experimental.Accessors;
import stersectas.documentation.HibernateConstru... | true |
e5f3f65ffa7ed77a9878d95ab248fba9776aff75 | Java | rajnibebo/warfile | /Generics/src/com/rajni/wildcards/TypeParameter.java | UTF-8 | 1,962 | 3.1875 | 3 | [] | no_license | /**
*
*/
package com.rajni.wildcards;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* @author rajni.ubhi
*
*/
public class TypeParameter {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Object obj ... | true |