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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
e47c1e76bc94792d4203574d140123a6f94e1ac1 | Java | RGC1092/EventWebserviceDemo | /app/src/main/java/com/example/quagnitia/eventwebservicedemo/Event.java | UTF-8 | 1,310 | 2.234375 | 2 | [] | no_license | package com.example.quagnitia.eventwebservicedemo;
/**
* Created by V@iBh@V on 3/21/2018.
*/
public class Event {
String id="";
String event_title="";
String venue="";
String timezone="";
String start_time="";
String end_time="";
String name="";
public String getName() {
ret... | true |
702c9cb2b086c2a990e1c02d5b056bd0e9598c04 | Java | woshiqiuhan/Leetcode | /jianzhi-offer/src/树/二叉树/problem1838/Solution.java | UTF-8 | 1,259 | 3.421875 | 3 | [] | no_license | package 树.二叉树.problem1838;
import 树.common.TreeNode;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
/**
* 剑指 Offer 34. 二叉树中和为某一值的路径
* 输入一棵二叉树和一个整数,打印出二叉树中节点值的和为输入整数的所有路径。
* 从树的根节点开始往下一直到叶节点所经过的节点形成一条路径。
* <p>
* 疑问:节点值是否可为负数? 存在负数节点
*/
class Solution {
private List<List<Inte... | true |
c39b29e5a11cf5ede42f170baac1ea04cc2a500c | Java | wjaskowski/mastering-2048 | /cevo-framework/src/main/java/put/ci/cevo/framework/serializers/ScalarFitnessSerializer.java | UTF-8 | 855 | 2.265625 | 2 | [] | no_license | package put.ci.cevo.framework.serializers;
import put.ci.cevo.framework.fitness.ScalarFitness;
import put.ci.cevo.util.serialization.*;
import put.ci.cevo.util.serialization.serializers.AutoRegistered;
import java.io.IOException;
@AutoRegistered(defaultSerializer = true)
public class ScalarFitnessSerializer implemen... | true |
d9700e700c5360b1a043d80f7cfde2d714b37a4c | Java | antonioaren/HangApp | /HangUp/src/main/java/es/ulpgc/eite/clean/mvp/sample/details/DetailModel.java | UTF-8 | 1,664 | 2.390625 | 2 | [] | no_license | package es.ulpgc.eite.clean.mvp.sample.details;
import android.net.Uri;
import es.ulpgc.eite.clean.mvp.GenericModel;
import es.ulpgc.eite.clean.mvp.sample.data.ProductData;
/**
* Created by Pedro Arenas on 31/5/17.
*/
public class DetailModel extends GenericModel<Detail.ModelToPresenter>
implements Detail... | true |
d9b7d02ecf29e66f6586ca53a0a58c13a184ce5e | Java | shadialtarsha/Overtime | /app/src/main/java/com/shadialtarsha/overtime/group_controllers/GroupCommentsController.java | UTF-8 | 14,748 | 1.890625 | 2 | [] | no_license | package com.shadialtarsha.overtime.group_controllers;
import android.app.Activity;
import android.content.Context;
import android.graphics.Point;
import android.support.v4.content.ContextCompat;
import android.support.v4.widget.NestedScrollView;
import android.support.v7.widget.DividerItemDecoration;
import android.su... | true |
0e60007b80b58d49b7ecdff4aca6106582f6a9cf | Java | da7tysixers/maven-projects | /spring-demo-one/src/com/orubele/spring/BasketballCoach.java | UTF-8 | 290 | 2.0625 | 2 | [] | no_license | package com.orubele.spring;
public class BasketballCoach implements Coach {
@Override
public String getDailyWorkout() {
return "spend 30 minutes on batting practice";
}
@Override
public String getDailyFortune() {
return "Chase the ball with your bat and take a break";
}
}
| true |
1beadec852b45e4ded55d933edc0d94ccccce75b | Java | akuhn/jexample | /JExample/trunk/src/main/ch/unibe/jexample/internal/deepcopy/UseCloneMethod.java | UTF-8 | 750 | 2.78125 | 3 | [] | no_license | package ch.unibe.jexample.internal.deepcopy;
import java.lang.reflect.Method;
public class UseCloneMethod implements DeepCloneStrategy {
private static final Method cloneMethod = getCloneMethod();
private static Method getCloneMethod() {
try {
Method m = Object.class.getDeclare... | true |
b4d66d9482a1fc95f6025a84f01992999e0979ca | Java | saravananshc/dul | /src/com/sun/jimi/core/ImageAccessException.java | UTF-8 | 480 | 1.640625 | 2 | [] | no_license | /* */ package com.sun.jimi.core;
/* */
/* */ public class ImageAccessException extends JimiException
/* */ {
/* */ public ImageAccessException()
/* */ {
/* */ }
/* */
/* */ public ImageAccessException(String paramString)
/* */ {
/* 29 */ super(paramString);
/* ... | true |
fdfe656334919b86eb2b89f6fbca9f198989bdd9 | Java | filipearn/fooddelivery-api | /src/main/java/arn/filipe/fooddelivery/api/v1/openapi/model/CitiesModelOpenApi.java | UTF-8 | 520 | 1.703125 | 2 | [] | no_license | package arn.filipe.fooddelivery.api.v1.openapi.model;
import arn.filipe.fooddelivery.api.v1.model.CityModel;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.hateoas.Links;
import java.util.List;
@ApiModel("CitiesModel")
@Data
public class CitiesModelOpenApi {
private Citie... | true |
d56d7df15fe1b441555922a30107c31f79df1b28 | Java | nendraharyo/presensimahasiswa-sourcecode | /com/google/android/gms/common/api/PendingResult$zza.java | UTF-8 | 358 | 1.539063 | 2 | [] | no_license | package com.google.android.gms.common.api;
public abstract interface PendingResult$zza
{
public abstract void zzu(Status paramStatus);
}
/* Location: C:\Users\haryo\Desktop\enjarify-master\presensi-enjarify.jar!\com\google\android\gms\common\api\PendingResult$zza.class
* Java compiler version: 5 (49.... | true |
73e96e5cc5ca2691882b82e53b3cb79823f044d9 | Java | AnEmortalKid/csl-stats | /csl-stats/src/main/java/com/anemortalkid/csl/pagescrub/MatchHistoryScrubber.java | UTF-8 | 10,218 | 2.296875 | 2 | [] | no_license | package com.anemortalkid.csl.pagescrub;
import java.io.IOException;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Attributes;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org... | true |
c6fcbc96cfee252ab08cfe467627baec2b7179e1 | Java | QubeChan/Software-Guild-Projects | /OOP/M3/Exercises/Enums/src/main/java/com/sg/enums/howmanydaysuntilfriday/App.java | UTF-8 | 1,125 | 3.46875 | 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 com.sg.enums.howmanydaysuntilfriday;
import java.util.Scanner;
/**
*
* @author Qube
*/
public class App {
public stat... | true |
b2050c609da956938a78e799566aeedb5ed31c09 | Java | primary10/bullCard | /clientAndServer/circle/websites/player/java/g/web/player/controller/form/BetForm.java | UTF-8 | 1,365 | 2.1875 | 2 | [] | no_license | package g.web.player.controller.form;
import g.web.player.consts.FormValidRegExps;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
import org.soul.web.support.IForm;
import javax.validation.constraints.Digits;
import javax.validation.constraints.Pattern;
/**
*... | true |
d802ae239d18dda1f187ee02d18da7788a163277 | Java | Cyboot/tmt | /game/TMT-Client_Main/src/net/tmt/gui/view/GameStateToolbar.java | UTF-8 | 2,253 | 2.5625 | 3 | [] | no_license | package net.tmt.gui.view;
import net.tmt.game.interfaces.ClickListener;
import net.tmt.game.manager.GameManager;
import net.tmt.gamestate.DummyGamestate;
import net.tmt.gamestate.EconomyGamestate;
import net.tmt.gamestate.SimulatorGamestate;
import net.tmt.gamestate.SpaceGamestate;
import net.tmt.gfx.Sprite;
import ne... | true |
ccd1d122f4f38bf9f9fc1e25a460e3b5b9132aa9 | Java | jyoo980/310-design-patterns | /CarDecorator/src/NavSystem.java | UTF-8 | 265 | 2.5625 | 3 | [] | no_license | import interfaces.ICar;
public class NavSystem extends CarDecorator {
public NavSystem(ICar car) {
super(car);
}
@Override
public void assemble() {
super.assemble();
System.out.println("Adding navigation system");
}
}
| true |
528fb507a7d119930adc9179bc3d97789e95cbe0 | Java | EunhyangGo/Project01 | /src/com/biz/grade/contact/GradeContact.java | UTF-8 | 662 | 1.851563 | 2 | [] | no_license | package com.biz.grade.contact;
public class GradeContact {
// final : 이후에 이 변수에 값 저장 금지
// 배열의 위치 값이 담겨있는 변수.
public final static int FILES_STD = 0;
public final static int FILES_SCORE = 1;
public final static int FILES_GRADE = 2;
// 학생 명부 파일에 있는 데이터 위치 값
public static int ST_strNum = 0;
public static int S... | true |
07a44ad0b634163f04b59e5a543711e6b6ae8689 | Java | chandrika14chandu/Testcapgemini | /HealthCareSystem1/src/main/java/com/capg/ControlLayer/ControlLayer.java | UTF-8 | 2,418 | 2.890625 | 3 | [] | no_license | package com.capg.ControlLayer;
import java.util.List;
import java.util.Scanner;
import com.Exception.HealthException;
import com.capg.DAOLayer.HealthDaoImpl;
import com.capg.DTOLayer.DiagnosticCenter;
import com.capg.DTOLayer.Test;
import com.capg.ServiceLayer.HealthServiceImpl;
public class ControlLayer {
st... | true |
a55e09c024ca05aaa2e3cacd35abb4f4fe41ed0f | Java | CongBao/Arkanoid | /src/arkanoid/AbstractGameState.java | UTF-8 | 2,317 | 3.125 | 3 | [] | no_license | package arkanoid;
/**
* <code>AbstractGameState</code> class provides several events for handling.
* All issues except game logic should be handling by extending this class.
*
* @author Cong Bao
*/
public abstract class AbstractGameState {
public enum CollisionType {
BALL, WALL, BOARD, MAGNET
}
... | true |
ea63028805bb72a6c129133338dc6afaf4c9f5a3 | Java | CrazyHorse1877/clustersim | /FG_NetLogo/src/FGInterfaceProperties.java | UTF-8 | 2,254 | 3.203125 | 3 | [] | no_license | /*
* Written By Elias Jordan, 2009
*/
import java.util.*;
import java.io.*;
/* A properties class, utilising the singleton pattern.
* Stores FGInterface server information as well as
* system properties.
*/
public class FGInterfaceProperties extends Properties
{
// path to the properties file
private static ... | true |
914f9282d4c6b6a59f9ecdb529155c2190551743 | Java | linkedin/rest.li | /data/src/main/java/com/linkedin/data/schema/PrimitiveDataSchema.java | UTF-8 | 1,851 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | /*
Copyright (c) 2012 LinkedIn Corp.
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... | true |
ba39749a8d4db4985961ceaba320dcab6ece019a | Java | kasunbg/m2-release-test2 | /components/webapp-mgt/org.wso2.carbon.cxf.ext/src/main/java/org/wso2/carbon/webapp/ext/cxf/lifecycle/CarbonServerLifeCycleListener.java | UTF-8 | 2,216 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2005-2012, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.o... | true |
bca2e3096fbad39566014c6bdf037bbc90d926df | Java | lazercorn/phoneVerifier | /app/src/main/java/net/devaction/phoneverifier/model/util/AllDataInTableDeleter.java | UTF-8 | 398 | 2.09375 | 2 | [
"Apache-2.0"
] | permissive | package net.devaction.phoneverifier.model.util;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
/**
* @author Víctor Gil
*/
public class AllDataInTableDeleter{
public static void delete(Context context, String tableName){
SQLiteDatabase database = DatabaseProvider.provideW... | true |
39d1c445a83face445b563bcf5a11f3a8e0cc5f0 | Java | Natan-Luiz/programming_paradigms | /extras/extra_em_grupo/orientado_a_objetos/Dados.java | UTF-8 | 1,078 | 3.28125 | 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 orientadoaobjetos;
import java.util.Scanner;
/**
*
* @author André L. Rakowski
*/
public class Dados {
int n;
int... | true |
4dc122cd2fe5fa4d7e436e154037f2d60598aef8 | Java | sharygin-vic/JavaRushTasks | /3.JavaMultithreading/src/com/javarush/task/task22/task2203/Solution.java | UTF-8 | 1,538 | 3.46875 | 3 | [] | no_license | package com.javarush.task.task22.task2203;
/*
Между табуляциями
*/
public class Solution {
public static String getPartOfString(String string) throws TooShortStringException {
if (string == null) {
throw new TooShortStringException();
}
int tabIndex1 = -1;
int tabIndex5... | true |
93d2ee5c9bae5982c637de5d87f5c0c8e727aa6b | Java | bisengaurav/Flash | /src/main/java/com/kone/cplan/config/spring/MvcConfig.java | UTF-8 | 2,590 | 2.5 | 2 | [] | no_license | package com.kone.cplan.config.spring;
import com.kone.cplan.config.AppSettings;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import java.util.Arr... | true |
31f6ebeb646b9ef18de93cd24c018a38466623ac | Java | yyhLogin/securityDemo | /src/main/java/com/web/service/impl/SysRoleServiceImpl.java | UTF-8 | 433 | 1.5 | 2 | [
"Apache-2.0"
] | permissive | package com.web.service.impl;
import com.web.entity.SysRole;
import com.web.dao.SysRoleDao;
import com.web.service.SysRoleService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 服务实现类
* </p>
*
* @author yyh
* @since 2017-12-01
*/
@Service
p... | true |
4e8507cfedd7875ae0ce56ef5beb2b287e555919 | Java | nthanhdo2610/hd | /sms-mq/src/main/java/com/tinhvan/hd/sms/dao/SMSDAOImpl.java | UTF-8 | 2,209 | 2.515625 | 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 com.tinhvan.hd.sms.dao;
import com.tinhvan.hd.sms.model.SMS;
import java.util.List;
import javax.persistence.EntityManager;
i... | true |
8707f28167cf9b60ee734ae29547859628f99b75 | Java | SOURAVPURI100/CellularNetworkMonitor | /app/src/main/java/edu/buffalo/cse/ubwins/cellmon/UIStatistics.java | UTF-8 | 15,445 | 1.757813 | 2 | [
"MIT"
] | permissive | package edu.buffalo.cse.ubwins.cellmon;
import android.app.Fragment;
import android.app.FragmentTransaction;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import ... | true |
ebe9afe71993ee3e1c21eaeb7ef05bfbdcda98e7 | Java | AvalZ/json2java | /src/it/avalz/json/elements/serializers/JsonSerializer.java | UTF-8 | 859 | 2.484375 | 2 | [] | no_license | package it.avalz.json.elements.serializers;
import it.avalz.json.elements.JsonArray;
import it.avalz.json.elements.JsonBoolean;
import it.avalz.json.elements.JsonElement;
import it.avalz.json.elements.JsonFloat;
import it.avalz.json.elements.JsonInteger;
import it.avalz.json.elements.JsonObject;
import it.avalz.json.e... | true |
3eddd6e83816313f4cc622a79fa7805a1a4a91d0 | Java | mlopezsegura/Main | /app/src/main/java/com/wwc2/main/media/driver/android/AndroidAudioDriver.java | UTF-8 | 31,867 | 1.757813 | 2 | [] | no_license | package com.wwc2.main.media.driver.android;
import android.os.Handler;
import android.os.Message;
import android.text.TextUtils;
import com.wwc2.common_interface.Define;
import com.wwc2.common_interface.utils.FileUtils;
import com.wwc2.common_interface.utils.StorageDevice;
import com.wwc2.corelib.db.Packet;
import co... | true |
c0b55d9ebc98fef29ca094139cedfa2706e37bed | Java | xinling01/Course2 | /app/src/main/java/com/linger/course2/app/MineApplication.java | UTF-8 | 460 | 2.0625 | 2 | [] | no_license | package com.linger.course2.app;
import android.app.Application;
import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley;
public class MineApplication extends Application {
private static RequestQueue requestQueue;
@Override
public void onCreate() {
super.onCreate();
... | true |
977f0042933ffd23e07f3ba75b4e2abc9c3fb24e | Java | bahadir09/anketuygulama | /AnketUygulamasi/app/src/main/java/com/example/asustr/anket/AnketCoktanSecmeli.java | UTF-8 | 12,017 | 1.9375 | 2 | [] | no_license | package com.example.asustr.anket;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.wid... | true |
a587a8a21b718c9e575232034dac77623d110a5a | Java | atishagrawal/indiaonphone | /IOP/IndiaOnPhone/src/com/iop/indiaonphone/wakefulWork/AppService.java | UTF-8 | 2,091 | 2.125 | 2 | [] | no_license | /***
Copyright (c) 2009-11 CommonsWare, LLC
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 ... | true |
6975936d45132ae823a4dd8c145ecad47c4cd7b9 | Java | Snapooh/Snapooh-MMS | /TestCases/Campaign/PageObject.java | UTF-8 | 2,694 | 2.25 | 2 | [] | no_license | package Campaign;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class PageObject {
private static WebDriver driver = null;
public static void main(String[] args) throws InterruptedException {
driver = new FirefoxDriver();
... | true |
4f0136ec073d86be03ced02673d8a55643a75e32 | Java | ConstantinosSocratous/2D_Game | /TileGame/src/tilegame/Launcher.java | UTF-8 | 212 | 1.757813 | 2 | [] | no_license | package tilegame;
public class Launcher {
public static void main(String[] args){
Game game = new Game("My Game!", 1000, 1000);
game.start();
//Save save = new Save(game);
//save.saveObj();
}
}
| true |
2f19116b390d83fd14b87475d2715e0ffcb4a507 | Java | caoruitan/sport | /sport/src/main/java/org/cd/sport/utils/AuthenticationUtils.java | UTF-8 | 1,415 | 2.375 | 2 | [] | no_license | package org.cd.sport.utils;
import java.util.Collection;
import java.util.Iterator;
import org.cd.sport.vo.UserAuth;
import org.cd.sport.vo.UserVo;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.se... | true |
73011df66e13f68843fe8eb1614d8881b137ac78 | Java | EdwinZhangyc/StudySpring | /src/main/java/com/spring/three/chapterFourteen/securityMethod/service/SpittleService.java | UTF-8 | 228 | 1.945313 | 2 | [] | no_license | package com.spring.three.chapterFourteen.securityMethod.service;
import com.spring.three.chapterFourteen.securityMethod.domain.Spittle;
public interface SpittleService {
public abstract void addSpittle(Spittle spittle);
} | true |
adc5d2c09c0b090ae2052b6ceb79e476c34ff030 | Java | ShirKempinski/Arkanoid | /src/Sprite.java | UTF-8 | 572 | 3.15625 | 3 | [] | no_license | import biuoop.DrawSurface;
/**
* Sprite can be drawn on the screen, and can be notified that time has passed.
*/
public interface Sprite {
/**
* Draw the sprite to the screen.
*
* @param d - the drawSurface
*/
void drawOn(DrawSurface d);
/**
* Notify the sprite that time has pas... | true |
19e5dbd43d41c77015fe5c6d60daed5114faeaa0 | Java | Programming-Systems-Lab/archived-workflakes | /littlejil/LittleJILException.java | UTF-8 | 1,630 | 2.578125 | 3 | [] | no_license | package psl.workflakes.littlejil;
import java.io.Serializable;
import org.cougaar.planning.ldm.plan.Task;
import org.cougaar.planning.ldm.plan.Allocation;
/**
* An object used in the plugins representing an exception thrown by a step
* @author matias
*/
public class LittleJILException implements Serializable {
... | true |
a8c5749d31ec9048d3464f5593993c2e7d1ec09f | Java | saralazic/RAUM | /Cot.java | UTF-8 | 144 | 1.992188 | 2 | [] | no_license | package prm;
public class Cot extends Funkcija{
public Cot() {}
public double aprox(double x) {
return 1/Math.tan(x);
}
}
| true |
b6c13433879a2c241ab0e8bed9403f02b8e23526 | Java | bellmit/zycami-ded | /src/main/java/d/v/b0/c/e/a.java | UTF-8 | 5,010 | 1.59375 | 2 | [] | no_license | /*
* Decompiled with CFR 0.151.
*
* Could not load the following classes:
* android.graphics.Bitmap
* android.graphics.Bitmap$Config
* android.graphics.BitmapFactory
* android.graphics.BitmapFactory$Options
* android.os.Build$VERSION
* android.util.LruCache
*/
package d.v.b0.c.e;
import android.graphi... | true |
c3b28a5d7ee072d9b6c5e46be902badc47c63f93 | Java | rmsor/EA-PRACTICE | /friendProjects/E-POS-master/src/main/java/entities/Product.java | UTF-8 | 4,786 | 2.15625 | 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 entities;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.... | true |
2316aed44d88a2e1cbd2583e2b5fd8fbd3364d43 | Java | yessikameliza/fase2_compiladores | /src/logic/AnalizadorLexicoConstants.java | UTF-8 | 1,276 | 1.765625 | 2 | [] | no_license | package logic;
/* Generated By:JavaCC: Do not edit this line. AnalizadorLexicoConstants.java */
public interface AnalizadorLexicoConstants {
int EOF = 0;
int TERMINAL = 6;
int PALABRARESERVADALEER = 7;
int PALABRARESERVADASI = 8;
int PALABRARESERVADAENTONCES = 9;
int PALABRARESERVADASINO = 10;
int PALABR... | true |
67ba0ead81e93ad03cdd3ab9c8b27a892fffe396 | Java | willowmck/Spring-To-Quarkus-Spring | /src/test/java/com/redhat/appdevpractice/samples/survey/service/SurveyServiceImplTest.java | UTF-8 | 3,661 | 1.96875 | 2 | [] | no_license | package com.redhat.appdevpractice.samples.survey.service;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when... | true |
a75a46ffcbe640e6aad4b9e2fd6adbc6ba403a2c | Java | CoryLanter/TrackMyStudent | /TMS/src/Faculty.java | UTF-8 | 13,584 | 2.234375 | 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.
*/
/**
*
* @author user
*/
public class Faculty extends javax.swing.JFrame {
/**
* Creates new form facMain
*/
publ... | true |
8ff6f92bbdd2619440fdec98b6f3cd29cb7d76af | Java | uddhavgautam/dynamic-resourceUpdateCheck | /app/src/main/java/edu/ualr/cpsc7398/updatechecker/controller/service/utils/HttpRequestRunnable.java | UTF-8 | 10,517 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | package edu.ualr.cpsc7398.updatechecker.controller.service.utils;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calend... | true |
2142b2df38e22f2951272a248cacf6ef1619e358 | Java | MengkZhang/ebook | /newapp/src/main/java/com/tzpt/cloudlibrary/ui/readers/ActionDetailContract.java | UTF-8 | 2,228 | 2.171875 | 2 | [] | no_license | package com.tzpt.cloudlibrary.ui.readers;
import com.tzpt.cloudlibrary.base.BaseContract;
import com.tzpt.cloudlibrary.bean.ActionInfoBean;
import java.util.List;
/**
* Created by Administrator on 2017/11/13.
*/
public interface ActionDetailContract {
interface View extends BaseContract.BaseView {
/**... | true |
78bb4bbc60ad9755cd87b64caca7fd2149bb2e54 | Java | Runtime4642/mysite2 | /src/com/douzone/mvc/action/board/BoardFormAction.java | UTF-8 | 1,470 | 2.03125 | 2 | [] | no_license | package com.douzone.mvc.action.board;
import java.io.IOException;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import javax.servlet.ServletException;
import com.douzone.mvc.action.Action;
import com... | true |
a2f38d1a9d452b81603a729e974a1fb0ef13791c | Java | herbetreis/HerbetRepo | /frb.edu.br.herbet/src/java/frb/edu/br/dominio/entidades/EnderecoDto.java | UTF-8 | 1,989 | 2.453125 | 2 | [] | no_license | package frb.edu.br.dominio.entidades;
public class EnderecoDto {
private int idendereco;
private String endereco;
private String endereco2;
private String bairro;
private CidadeDto cidade;
private String cep;
private String telefone;
public EnderecoDto(CidadeDto cidade) {
this.... | true |
4a558935814da70e8efac64a66e2cce4c4f0a523 | Java | ashley-k/TextWorldProject | /src/Chicken.java | UTF-8 | 556 | 3.203125 | 3 | [] | no_license | public class Chicken extends Creature {
public Chicken(Graph.Node currentRoom){
super(currentRoom);
this.name = "chicken";
this.description = "a white chicken";
}
public Chicken(Graph.Node currentRoom, String name, String description){
super(currentRoom, name, description);
... | true |
7b58189616f89a6ee68a029546fc9a3c9eddb8e8 | Java | qcamei/scm | /java/com/genscript/gsscm/systemsetting/service/AssignmentRulesService.java | UTF-8 | 7,366 | 1.96875 | 2 | [] | no_license | package com.genscript.gsscm.systemsetting.service;
import java.util.List;
import java.util.Map;
import org.apache.struts2.ServletActionContext;
import org.dozer.DozerBeanMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.tra... | true |
e005a08cc1fe14d0e923c1058fdce23c101dea48 | Java | tranthon/MyStudentMgmtApp | /MyStudentMgmtApp/src/main/java/edu/mum/cs/cs425/studentmgmt/repository/ClassroomRepository.java | UTF-8 | 245 | 1.8125 | 2 | [] | no_license | package edu.mum.cs.cs425.studentmgmt.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import edu.mum.cs.cs425.studentmgmt.model.Classroom;
public interface ClassroomRepository extends JpaRepository<Classroom, Long> {
}
| true |
b99db97f19b011ada3c3dd450c595fd8bbb210c9 | Java | litouche/AppMarket | /app/src/main/java/com/alinge/software/market/adapter/decoration/AppItemDecoration.java | UTF-8 | 2,855 | 2.515625 | 3 | [] | no_license | package com.alinge.software.market.adapter.decoration;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.R... | true |
252156e27cad528adad58aaea8cdd61ff2a3704b | Java | captainJeck/SendKeys | /src/main/java/com/linjiaxiaohai/sendkeys/view/FloatButton.java | UTF-8 | 8,358 | 2.3125 | 2 | [] | no_license | package com.linjiaxiaohai.sendkeys.view;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.graphics.PixelFormat;
import android.os.Build;
import android.os.Handler;
import android.os.Message;
import android.util.AttributeSet;
import android.... | true |
b129a901278aaa32a5671e02742a5f40005f8e9e | Java | exigow/mBankScraper | /src/main/java/mbank/payload/response/Response.java | UTF-8 | 251 | 2.046875 | 2 | [] | no_license | package mbank.payload.response;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
@Data
@FieldDefaults(level = AccessLevel.PRIVATE, makeFinal = true)
public class Response<T> {
int status;
T body;
}
| true |
614064615fb2ce908bfa2709e85963926c6aa69f | Java | CarmenMorenodeVega/EjerciciosProgramacion | /EjerciciosT3/Ejercicio10.java | UTF-8 | 353 | 3.28125 | 3 | [] | no_license | /**
* T3. Lectura de datos
*
* E10. Conversor de unidades: de MB a KB.
*
* Carmen Moreno de Vega
*/
public class Ejercicio10 {
public static void main(String[] args) {
System.out.print("introducir valor en MB: ");
double MB = Double.parseDouble(System.console().readLine());
System.out.printl... | true |
354f1b587f555f3ddcbe7ffca1cca43aa160d81d | Java | yjh728/TTMS | /src/main/java/com/yjh/test/util/JDBCUtil.java | UTF-8 | 2,252 | 2.671875 | 3 | [] | no_license | package com.yjh.test.util;
import java.sql.*;
public class JDBCUtil {
public static Connection getConnection() {
Connection connection = null;
try {
Class.forName("com.mysql.cj.jdbc.Driver");
connection = DriverManager.getConnection
("jdbc:mysql://localh... | true |
bba4c9d244548eaacf38f7c4356c51cd227c7dac | Java | mustafacandan/pokedex | /Poke/src/Pokedex.java | UTF-8 | 695 | 2.90625 | 3 | [] | no_license | public class Pokedex extends BinarySearchTree
{
public void initializePokemon()
{
add("Alakazam","Electric",500,320);
add("Balbasaur","Grass",450,375);
add("Pikachu","Electric",520,300);
add("Squirtle","Water",450,420);
add("Eevee","Fire",600,600);
add("Char... | true |
79afea76e2aae74958e33f2bce7c8099f91458ba | Java | hdulqs/NC65_SCM_SO | /sellingrequisition/src/client/nc/ui/so/m38/billui/model/PreOrderValidationService.java | UTF-8 | 808 | 1.929688 | 2 | [] | no_license | package nc.ui.so.m38.billui.model;
import nc.bs.uif2.validation.IValidationService;
import nc.bs.uif2.validation.ValidationException;
import nc.ui.pubapp.uif2app.view.BillForm;
import nc.ui.uif2.editor.IEditor;
import nc.vo.pubapp.pattern.exception.ExceptionUtils;
public class PreOrderValidationService implements IVa... | true |
a140c86b4c464a716192a586ea5e6495d39923c2 | Java | mmazur658/Lecture25-Homework | /src/main/java/pl/marcinmazur/restaurant/menu/repository/MealRepository.java | UTF-8 | 1,424 | 2.265625 | 2 | [] | no_license | package pl.marcinmazur.restaurant.menu.repository;
import java.time.LocalDate;
import java.util.List;
import javax.transaction.Transactional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository... | true |
45e62691f9d6f487642d8a9ce9f0aa76fadbf621 | Java | zhaoqinmuxue/Sina | /app/src/main/java/org/aoli/weibo/sinasdk/http/HomeTimeLinePresenter.java | UTF-8 | 5,913 | 2.265625 | 2 | [] | no_license | package org.aoli.weibo.sinasdk.http;
import com.alibaba.fastjson.JSON;
import org.aoli.weibo.application.Aoli;
import org.aoli.weibo.application.ConfigType;
import org.aoli.weibo.sinasdk.action.Actions;
import org.aoli.weibo.sinasdk.bean.ErrorMsg;
import org.aoli.weibo.sinasdk.bean.StatusContent;
import org.aoli.weib... | true |
bc1ea41d7813b563db767259287d279984d6a425 | Java | ljinsheng/multimedia | /src/com/jstt/PlayPhoto/PhotoPlay.java | UTF-8 | 3,324 | 2.25 | 2 | [] | no_license | package com.jstt.PlayPhoto;
import android.app.Activity;
import android.content.Intent;
import android.gesture.GestureOverlayView;
import android.gesture.GestureOverlayView.OnGestureListener;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.util.Log;
impor... | true |
fd1cce25510a248a0f665715f40ef48e0130d9d3 | Java | AAMikhaylov/otus-java-2018-12-AAMikhaylov | /L09/src/main/java/ru/otus/l09/JSonWriter.java | UTF-8 | 2,940 | 2.890625 | 3 | [] | no_license | package ru.otus.l09;
import javax.json.*;
import java.io.IOException;
import java.io.OutputStream;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.Collection;
import java.util.Iterator;
public class JSonWriter {
private OutputStream os;
pub... | true |
2df429e04be6dd735b9db29890846724d3dcc343 | Java | zeljkoobrenovic/sketchlet-plugins | /plugin-derivedvars/src/main/java/net/sf/sketchlet/plugins/derivedvars/standard/ui/SerializeVariablesPanel.java | UTF-8 | 8,964 | 1.976563 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editorPanel.
*/
package net.sf.sketchlet.plugins.derivedvars.standard.ui;
import net.sf.sketchlet.common.file.FileDrop;
import net.sf.sketchlet.context.SketchletContext;
import net.sf.sketchlet.context.VariablesBlackboardContext;
... | true |
b6a701f25699319b53a85a09173669ef3573e619 | Java | Evolvus/spring-batch-training | /file-process-db/src/main/java/com/evolvus/spring/batch/CustomChunkListener.java | UTF-8 | 679 | 1.9375 | 2 | [] | no_license | package com.evolvus.spring.batch;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.core.ChunkListener;
import org.springframework.batch.core.scope.context.ChunkContext;
import org.springframework.stereotype.Component;
@Component
public class CustomChunkListener implements Chun... | true |
eadbaf866e6e4e0365ac79b05eeba4f2119946ca | Java | ye8530036/- | /src/main/java/com/example/service/impl/ParkingServiceImpl.java | UTF-8 | 2,040 | 2.03125 | 2 | [] | no_license | package com.example.service.impl;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.dao.ParkingMapper;
impo... | true |
d1d819cbd49756ac756c42a82d2a13162b9762ae | Java | anlostsheep/ripples | /ripples-web-admin/src/main/java/com/wave/ripples/web/admin/web/interceptor/LoginInterceptor.java | UTF-8 | 1,363 | 2.140625 | 2 | [
"Apache-2.0"
] | permissive | package com.wave.ripples.web.admin.web.interceptor;
import com.wave.ripples.domain.Member;
import com.wave.ripples.web.admin.constants.SystemConstants;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import j... | true |
5b201bf3b57b64ae4feac64e0a98ebfd037e2ae3 | Java | ssccbb/demo-collections | /DemoCollections/app/src/main/java/com/sung/demo/democollections/IMChat/view/ChatMsgList.java | UTF-8 | 1,310 | 1.90625 | 2 | [] | no_license | package com.sung.demo.democollections.IMChat.view;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.hyphenate.chat.EMConversation;
import com.hyphenate.easeui.EaseConstant;
import com.hyphenate.easeui.ui.EaseConversationListFragment;
import com.sung.... | true |
d2ecb7c236411f8e546bc52d0f0a71190b36e4db | Java | kim-doan/InnoMES_backend | /InnoMES/src/main/java/com/innomes/main/master/param/MasterToolParam.java | UTF-8 | 1,516 | 1.625 | 2 | [] | no_license | package com.innomes.main.master.param;
import java.util.Date;
import javax.persistence.Column;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.innomes.main.master.model.MST110;
import com.innomes.main.master... | true |
c41f7c7309851986c59c77a853cccbc94a3e6f6e | Java | mrhu0126/sunjob | /boot80/src/main/java/com/example/boot80/service/UserService.java | UTF-8 | 469 | 1.773438 | 2 | [] | no_license | package com.example.boot80.service;
import com.example.boot80.mapper.UserMapper;
import com.example.boot80.pojo.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class UserService {
@Autowired
privat... | true |
2a4fd6c7c90faef216799c5c8aadba59639d59e0 | Java | dimits-exe/UserFriendlyAutomaton | /src/editor/TranslatorInterface.java | UTF-8 | 3,700 | 3.3125 | 3 | [] | no_license | package editor;
import java.io.PrintStream;
/**
* An interface describing all the actions an interpreter or compiler will be
* asked to perform by the {@link Editor}.
*
* @author dimits
*/
public interface TranslatorInterface {
/**
* Test for compilation or execution errors in the background ... | true |
570617895a4c07b25f08f835052957c79a1df46e | Java | woyaodeyangguang/JavaConcurrencyProgramming | /src/main/java/com/test/chapter5JavaLock/LockUseCase.java | UTF-8 | 1,874 | 3.671875 | 4 | [] | no_license | package com.test.chapter5JavaLock;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
/**
* 不要将获取锁的过程写在try块中,因为如果在获取锁(自定义锁的实现)时发生了异常,
* 异常抛出的同时,也会导致锁无故释放
*
* Lock和synchronized区别
* 1、synchronize是一种隐式锁,先获取后释放
* 2、Lock需要显式获取锁和释放锁,虽然少了隐式的便捷性,但是永遇乐锁获取与释放的可操作性、可中断性、
* 可中断的获取锁以及超... | true |
d94deb53809a89197533ba0c049be6f71df30309 | Java | sindrekjr/PFInitiativeTracker | /src/test/java/tracker/CharacterTest.java | UTF-8 | 1,319 | 3.109375 | 3 | [] | no_license | package tracker;
import org.junit.jupiter.api.*;
import static org.junit.jupiter.api.Assertions.*;
class CharacterTest {
private final static String testName = "TestCharacter";
private final static int avgInitiative = 10;
private final static int avgDexterity = 10;
private Character c;
@BeforeEach
void set... | true |
ba977f489f00715bccc181b1d15dcb349e726cf2 | Java | PaulWuesthoff/MediaDB | /src/main/java/mediaDB/LicensedImpl.java | UTF-8 | 425 | 2.34375 | 2 | [] | no_license | package mediaDB;
import uploaderDB.Uploader;
import java.util.Collection;
public class LicensedImpl extends ContentImpl implements Licensed {
private String holder;
public LicensedImpl(Uploader uploader, String address, Collection<Tag> tags, String holder) {
super(uploader, address, tags);
t... | true |
fb063d5f39b88d955eb2c3a18dc8865b362a4a12 | Java | ydaoudi30/StageFinEtudes2018_Linker_Backend | /src/main/java/com/ant/linker/data/entity/User.java | UTF-8 | 4,067 | 2.140625 | 2 | [] | no_license | package com.ant.linker.data.entity;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import com.googlecode.objectify.Ref;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;
import com.googlecode.objectify.annotation.Index;
import com.google... | true |
bc467e2d6a1eb1bf18a5f2a89e47267661a3306e | Java | rahulyhg/cafe_AMI | /app/src/main/java/co/geeksters/cafe_ami/events/success/LoginEvent.java | UTF-8 | 358 | 2.046875 | 2 | [] | no_license | package co.geeksters.cafe_ami.events.success;
import co.geeksters.cafe_ami.models.Member;
/**
* Created by soukaina on 27/11/14.
*/
public class LoginEvent {
public String accessToken;
public Member member;
public LoginEvent(String accessToken, Member member) {
this.accessToken = accessToken;
... | true |
557a107c78ad74da355da6ab448d080255af5c72 | Java | xtzeng/xmq-spring-batch-parent | /xmq-spring-batch-bill-message/src/test/java/com/xmq/JobTest.java | UTF-8 | 2,185 | 2.171875 | 2 | [] | no_license | package com.xmq;
import java.util.HashMap;
import java.util.Map;
import org.junit.Test;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.JobExecution;
import org.springframework.batch.core.JobParameter;
import org.springframework.batch.core.JobParameters;
import org.springfra... | true |
ddfcd75a187f3918a248ba2d30d55d494ff8d955 | Java | KabilPonnusamy/Delivr | /app/src/main/java/sg/delivr/ui/models/SearchDatas.java | UTF-8 | 781 | 2.109375 | 2 | [] | no_license | package sg.delivr.ui.models;
public class SearchDatas {
public SearchDatas(){}
String loc_id;
String loc_name;
String loc_date;
public SearchDatas(String loc_id, String loc_name, String loc_date) {
this.loc_id = loc_id;
this.loc_name = loc_name;
this.loc_date = loc_date;
... | true |
c67c4e392341936b1ef709704f211fee4a2013b6 | Java | TopIn-MC/TopIn | /src/main/java/me/hsgamer/topin/data/list/DataList.java | UTF-8 | 5,504 | 2.671875 | 3 | [
"MIT"
] | permissive | package me.hsgamer.topin.data.list;
import me.hsgamer.hscore.config.path.StringConfigPath;
import me.hsgamer.topin.TopIn;
import me.hsgamer.topin.config.DisplayNameConfig;
import me.hsgamer.topin.config.FormatConfig;
import me.hsgamer.topin.config.SuffixConfig;
import me.hsgamer.topin.data.value.PairDecimal;
import j... | true |
1fd73ae65e8affca0852f85c73da02719d0aad8e | Java | soldiers1989/documentResource | /复兴/新希望/scf-bas-paren/scf-bas-api/src/main/java/com/huateng/scf/bas/pbc/service/IBPbcWhseInspectService.java | UTF-8 | 734 | 1.679688 | 2 | [] | no_license | package com.huateng.scf.bas.pbc.service;
import com.huateng.base.common.beans.Page;
import com.huateng.scf.bas.crr.model.BCrrLnCon;
import com.huateng.scube.server.annotation.ScubeParam;
/**
* <p>押品变更流水信息接口</p>
*
* @author liph
* @date 2016年12月29日上午9:43:48
* @version 1.0
* @Copyright Shanghai Huateng Software ... | true |
77415e3ff903f1ed649fabc831d8c3256fe5081b | Java | lqhuygt/OnJobTraning | /IdeaProjects/jspSeveletMyself/src/main/java/com/laptrinhjavaweb/controller/admin/api/NewAPI.java | UTF-8 | 1,105 | 1.945313 | 2 | [] | no_license | package com.laptrinhjavaweb.controller.admin.api;
import com.laptrinhjavaweb.utils.HttpUtil;
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 jav... | true |
0c1c5c935c487511e3c8a32ca92fc709f97bd284 | Java | cadywsq/Cloud-Computing_Twitter-Analytics_MySQL | /src/main/java/util/ConnectionHelper.java | UTF-8 | 1,540 | 2.484375 | 2 | [] | no_license | package util;
import com.jolbox.bonecp.BoneCP;
import com.jolbox.bonecp.BoneCPConfig;
import java.sql.Connection;
import java.sql.SQLException;
/**
* @author Siqi Wang siqiw1 on 4/12/16.
*/
public class ConnectionHelper {
private final BoneCP connectionPool;
// Name of database
// private static final ... | true |
0443e367112e13a2c81829394db8e1fecd346ca1 | Java | yucheng52011/pass-platform | /pass-platform-deploy-domain/src/main/java/com/gome/autodeploy/domain/online/OnlineTask.java | UTF-8 | 2,485 | 1.820313 | 2 | [] | no_license | /**
*
*/
package com.gome.autodeploy.domain.online;
import java.io.Serializable;
import java.util.Date;
import com.gome.autodeploy.domain.app.Application;
/**
* @author bailu-ds
*
*/
public class OnlineTask implements Serializable {
private static final long serialVersionUID = 8163289806045863205L;
private ... | true |
0a090f17a2616e3ac8339606e5f52c34bb83d14f | Java | yud1sta/belajar | /src/main/java/com/me/belajar/entity/Author.java | UTF-8 | 1,897 | 2.25 | 2 | [] | no_license | package com.me.belajar.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
... | true |
6643aa9a02ce5eb1ddbf95911e6c38d0e8a827da | Java | jmarysystems/Assistente_de_Ressuprimento | /Importar_Exportar/gb_evento/LojasAMb52.java | UTF-8 | 7,229 | 1.851563 | 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 gb_evento;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializ... | true |
01c8c11329d011178fc0d660a636b6bfc593e20b | Java | RelayXue/myproject | /src/com/gh/action/business/ZxingEncode.java | UTF-8 | 1,692 | 2.25 | 2 | [] | no_license | package com.gh.action.business;
import java.io.File;
import java.io.IOException;
import java.util.Hashtable;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts2.ServletActionContext;
import com.gh.common.UUIDCreater;
import com.google.zxing.BarcodeFormat;
import com.google.zxing.EncodeHintType;
... | true |
90f4e41e6c4f6baf7cbfb74e6b606f2bc64a8471 | Java | strunjas/HackerRankGit | /src/MaxConnected.java | UTF-8 | 2,275 | 3.21875 | 3 | [] | no_license | import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class MaxConnected {
public static void main(String[] args) {
/* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */
Scanner s = n... | true |
f7cbb4c16474a5750dbde180860a6d78e8418f60 | Java | zhongxingyu/Seer | /Diff-Raw-Data/2/2_2c11db33527f4867d637791bb6fe9b3f846e8c03/ServerMotd/2_2c11db33527f4867d637791bb6fe9b3f846e8c03_ServerMotd_s.java | UTF-8 | 1,498 | 2.484375 | 2 | [] | no_license | package com.jamesst20.jcommandessentials.Methods;
import com.jamesst20.jcommandessentials.JCMDEssentials.JCMDEss;
public class ServerMotd {
static JCMDEss plugin = JCMDEss.plugin;
private static String defaultMotd = "&f[&aJCMD&2Ess&f] &cMotd not set!";
public static void setServerMotd(String message){
... | true |
8c2f238ac86d79379d79fda655db5ce03a63e341 | Java | zrmzack/SheffieldLife | /leetcode/src/main/java/leetcode/刷题61天/SplitArray.java | UTF-8 | 925 | 3.1875 | 3 | [] | no_license | package leetcode.刷题61天;
/**
* @author zack
* @create 2020-03-11-10:17
*/
public class SplitArray {
class Solution {
public boolean canThreePartsEqualSum(int[] A) {
int sum = 0;
for (int i : A) {
sum += i;
}
if (sum % 3 != 0) {
... | true |
8276e03601dd203bb6375202a1adb62b3b906001 | Java | hugoescosta/workspace | /Aula28102019/src/Q1/teste/FuncionarioTeste.java | UTF-8 | 851 | 2.734375 | 3 | [] | no_license | package Q1.teste;
import javax.swing.JOptionPane;
import Q1.classes.Funcionario;
import Q1.classes.Gerente;
import Q1.classes.Vendedor;
public class FuncionarioTeste {
public static void main(String[] args) {
String nome,clt;
double salario = 0;
Vendedor vendedor = new Vendedor();
vendedor.pedirDados();
... | true |
31ebb945f9ed21011c123ea368707432274bb9c1 | Java | liuhaidong123/YUYIPAD | /app/src/main/java/com/technology/yuyipad/adapter/RecycleViewBlood.java | UTF-8 | 4,206 | 2.125 | 2 | [] | no_license | package com.technology.yuyipad.adapter;
import android.content.Context;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
... | true |
e046d65fbe75035b998499b8c71d079eefeed722 | Java | leogle232323/JavaStudy | /test/src/test/JavaCollections.java | UTF-8 | 1,076 | 3.734375 | 4 | [] | no_license | package test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class JavaCollections {
public static void main(String[] args) {
// 1.List ArrayList
ArrayList<Object> al = new ArrayList<Ob... | true |
2c6107825c309e90fee3023d0536c2914883b6f4 | Java | NDboy/training-solutions | /src/test/java/week06/week06d03/SeriesTest.java | UTF-8 | 946 | 3.109375 | 3 | [] | no_license | package week06.week06d03;
import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.List;
import static org.junit.jupiter.api.Assertions.*;
class SeriesTest {
@Test
void calculateSeriesType() {
assertEquals(ListType.ASCENDING, new Series().calculateSeriesType(List.of(1,2,3,4... | true |
0c7e448f1435c84167424c288ecf51cdc6a6fc3d | Java | bayamp2086/batch1 | /basicjava/src/com/bayamp/akshatha/training/coding/programs/RemoveDuplicates.java | UTF-8 | 1,181 | 3.828125 | 4 | [] | no_license | package com.bayamp.akshatha.training.coding.programs;
import java.util.Arrays;
public class RemoveDuplicates {
public static void main(String[] args) {
// TODO Auto-generated method stub
int[] myArray = { 5, 1, 7, 2, 3, 4, 5, 1, 9, 4 };
int[] myArraySorted = {2,3,4,5};
int result1[] = removeDuplicates1(... | true |
5e37f19c94fe4d08a930c81e30f17ba4f1cee194 | Java | damienomurchu/college-projects | /android/donation_android_app/app/src/main/java/app/donation/main/DonationApp.java | UTF-8 | 2,292 | 2.453125 | 2 | [] | no_license | package app.donation.main;
import java.util.ArrayList;
import java.util.List;
import android.app.Application;
import android.util.Log;
import android.widget.Toast;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import app.donation.model.Candidate;
import app.donation.model.Donation;
import app.don... | true |
72554867ea557a46003450eaf4bd5898cfb06ff3 | Java | BrightScale/Competitive-Programming-1 | /BovineAlliance.java | UTF-8 | 1,841 | 3.03125 | 3 | [] | no_license | import java.io.*;
import java.util.*;
public class BovineAlliance {
private static StreamTokenizer st;
private static int nextInt() throws IOException{
st.nextToken();
return (int)st.nval;
}
public static void main(String[] args) throws IOException{
st = new StreamTokenizer(new BufferedReader(new InputStreamR... | true |
47b42e9a3f6a47ed1a0b3615a079a6b12a478790 | Java | yuk1h1ra/TDU | /xml/ItemSearcherByWordInContent.java | UTF-8 | 3,309 | 2.71875 | 3 | [] | no_license | import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
import org.w3c.dom.*;
import org.w3c.dom.bootstrap.DOMImplementationRegistry;
import org.w3c.dom.ls.*;
import java.util.ArrayList;
public class ItemSearcherByWordInContent {
public static void main(String[] args) {
ItemSearch... | true |
47e47bb00d697a68c7f21779a2b569a92d554ed5 | Java | roboticscm/apiv2 | /src/main/java/vn/com/sky/sys/menucontrol/CustomMenuControlRepo.java | UTF-8 | 730 | 2.0625 | 2 | [] | no_license | package vn.com.sky.sys.menucontrol;
import org.springframework.stereotype.Repository;
import reactor.core.publisher.Mono;
import vn.com.sky.base.BaseR2dbcRepository;
@Repository
public class CustomMenuControlRepo extends BaseR2dbcRepository {
/*
-- Module: System (sys)
-- Section: Menu Control (mct)
-- Functi... | true |
2715e9675727db78b0fc21f2eff5bdbbba4ff68b | Java | dwianaambarr/tugas-akhir-apap-b6 | /src/main/java/com/apap/finalprojectB6/FinalprojectB6Application.java | UTF-8 | 331 | 1.5625 | 2 | [] | no_license | package com.apap.finalprojectB6;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class FinalprojectB6Application {
public static void main(String[] args) {
SpringApplication.run(FinalprojectB6Application.class, a... | true |
02f4f96da44c6315491a67a24f9f698c553c8cfc | Java | cjbooms/Stratos-DE | /PythonAppEngine/src/main/java/com/gmail/cjbooms/thesis/pythonappengine/client/filebrowser/FileWrapper.java | UTF-8 | 3,541 | 2.671875 | 3 | [] | no_license | /*
* Copyright (c) 2012 Conor Gallagher
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, pub... | true |