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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
01a0591becce30208ebfffe93214c90663c122bf | Java | Leo1998/Rotef | /core/src/com/rotef/game/world/light/LightingMode.java | UTF-8 | 322 | 2.546875 | 3 | [] | no_license | package com.rotef.game.world.light;
public enum LightingMode {
Low(1, false), Medium(2, false), High(2, true);
public final int resolution;
public final boolean smoothFiltering;
LightingMode(int resolution, boolean smoothFiltering) {
this.resolution = resolution;
this.smoothFiltering = smoothFiltering;
}
... | true |
e32826eea882d3ee5130db664d1ffdb4bd93e071 | Java | swoec/online-learning-platform | /src/main/java/com/online/web/service/impl/StudentServiceImpl.java | UTF-8 | 1,679 | 2.171875 | 2 | [] | no_license | /**
* <p>Title: StudentServiceImpl.java</p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2018</p>
* <p>Company: </p>
* @author Alex Wang
* @date 16/06/2018
* @version 1.0
*/
package main.java.com.online.web.service.impl;
import java.util.List;
import javax.annotation.Resource;
import org.sp... | true |
0c9ac4fe3ccfd46bf7b56ffa8b27a0df39890b71 | Java | 200921-USF-ROCP1/vega_code | /CalculatorProject/src/Calculator/Driver.java | UTF-8 | 725 | 3.8125 | 4 | [] | no_license | package Calculator;
import java.util.Scanner;
public class Driver {
public static void main(String[] args) {
System.out.println("Welcomet to the Calculator");
System.out.println("Enter your command below:");
CalculatorImpl c = new CalculatorImpl();
Scanner scanner = new Scanner(System.in);
String input... | true |
46e9c046e28c5344940266bf554012d522937e47 | Java | pineman/code | /java/microhttp/src/main/java/win/pineman/first/DAO.java | UTF-8 | 339 | 2.546875 | 3 | [] | no_license | package win.pineman.first;
import java.util.List;
import java.util.Optional;
// A DAO implementation must have some type of storage of objects of type T, indexed by an id.
public interface DAO<T> {
Optional<T> get(int id);
List<T> getAll();
void save(T t);
void update(T t, String[] params);
v... | true |
28370034c549a88a3b93edf4faf84bd8c5e94093 | Java | lim9101/dongho | /dongho.clothes/src/main/java/dongho/clothes/dao/HostDao.java | UTF-8 | 198 | 2.0625 | 2 | [] | no_license | package dongho.clothes.dao;
import java.util.List;
import dongho.clothes.domain.Product;
public interface HostDao {
List<Product> getProducts();
int addProduct(Product product);
}
| true |
76312d01a4d4835be8734d2a24dfeec0d5a0aba1 | Java | ichunming/mg-api | /mg-web/src/main/java/com/mg/api/controller/VerifyController.java | UTF-8 | 1,652 | 2.265625 | 2 | [] | no_license | /**
* VerifyController
* ming 2016/12/11
*/
package com.mg.api.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import o... | true |
e702c4c2946ba6acc2fd582a9501e630a96d0b5c | Java | udaraJ08/rocketman-final-project | /src/main/java/lk/bigzkoop/rocketman/service/superService/BookingService.java | UTF-8 | 816 | 1.90625 | 2 | [] | no_license | package lk.bigzkoop.rocketman.service.superService;
import lk.bigzkoop.rocketman.dto.BookingDTO;
import lk.bigzkoop.rocketman.dto.BookingDataDTO;
import lk.bigzkoop.rocketman.dto.PaymentDTO;
import lk.bigzkoop.rocketman.entity.Booking;
import lk.bigzkoop.rocketman.entity.queryEntity.BookingAndCustomer;
import java.ut... | true |
cce03aa4c6a2438d69d80e9c798d65b396094607 | Java | snooplsm/robolectric-demo | /app/src/main/java/com/androidnyc/robot/api/Api.java | UTF-8 | 355 | 1.765625 | 2 | [] | no_license | package com.androidnyc.robot.api;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.Query;
import rx.Observable;
public interface Api {
//f28484e6e35893c0002dfe36d437da1e
@Headers("Content-Type: application/json")
@GET("weather")
Observable<Object> getWeather(@Query("lat") Float... | true |
670b4a3294c92bb239e43b26ad5d500b3753355a | Java | fengdexunmi/MobileSurvey | /src/com/gae/mobilesurvey/QuestionListServlet.java | UTF-8 | 1,713 | 2.265625 | 2 | [] | no_license | package com.gae.mobilesurvey;
import java.io.IOException;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.simple.JSONObject... | true |
bb3439dde3a254dfb7afef22ae3822971cbf5e15 | Java | magic-coder/huawei-wear-re | /src/com/huawei/pluginkidwatch/plugin/menu/p165a/at.java | UTF-8 | 1,106 | 1.632813 | 2 | [] | no_license | package com.huawei.pluginkidwatch.plugin.menu.p165a;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
import android.widget.TextView;
/* compiled from: NotificationHistoryAdapter */
class at implements Cloneable {
TextView f5207A... | true |
7deb8dba67a283bbbe5793fae0e824d681d2cb16 | Java | linuschowdhary/AndroidTest | /src/com/mty/demo/fragment/JsonTestFragment.java | UTF-8 | 7,132 | 2.078125 | 2 | [] | no_license | package com.mty.demo.fragment;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.type.TypeReference;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.InputType;
import... | true |
9c51a8bf3da382e84088fa93f4b49eaad242d7bd | Java | dome2073/study_jsp | /WebStudy/src/Controller/FortuneAction.java | UTF-8 | 2,627 | 2.703125 | 3 | [] | no_license | package Controller;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementat... | true |
eed273567e372d38ad085b5f33abcdbbca4aa0c8 | Java | DrTon/jMAVSim | /src/me/drton/jmavsim/MAVLinkMissionItem.java | UTF-8 | 1,185 | 2.59375 | 3 | [
"BSD-3-Clause"
] | permissive | package me.drton.jmavsim;
/**
* User: ton Date: 22.05.14 Time: 17:31
*/
public class MAVLinkMissionItem {
public final int command;
public final int frame;
public final float param1;
public final float param2;
public final float param3;
public final float param4;
public final float x;
... | true |
730e743031372040ed2adae7987f3a74c35789cc | Java | jiangfz1997/LeetCode | /src/Tree/BTreeRightSideView_0199.java | UTF-8 | 1,596 | 3.15625 | 3 | [] | no_license | package Tree;
import java.util.*;
public class BTreeRightSideView_0199 {
public class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode() {}
TreeNode(int val) { this.val = val; }TreeNode(int val, TreeNode left, TreeNode right) {
this.val ... | true |
a2c4176f17a06269d361102e7de5fb94a5f45751 | Java | floodboad/zyj-hssp | /zyj-hec-master/zyj-hec/src/main/java/com/hand/hec/fnd/service/IFndUnitDimValueAssignService.java | UTF-8 | 917 | 1.789063 | 2 | [] | no_license | package com.hand.hec.fnd.service;
import com.hand.hap.core.IRequest;
import com.hand.hap.core.ProxySelf;
import com.hand.hap.system.service.IBaseService;
import com.hand.hec.fnd.dto.FndUnitDimValueAssign;
import com.hand.hec.fnd.exception.FndUnitValueAssignException;
import java.util.List;
public interface IFndUnitD... | true |
60ce6145083c85fb3a50e23d9b12f315faa81e90 | Java | mindo413/FileUpload | /src/controller/FileDownloadController.java | UTF-8 | 2,751 | 2.640625 | 3 | [] | no_license | package controller;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.H... | true |
934fe0fb35da041c33d36efc339fda0bb01ba0af | Java | charlesYangM/Preview_code | /src/main/java/jvm/gc/SoftRefQ.java | UTF-8 | 3,342 | 3.171875 | 3 | [] | no_license | package jvm.gc;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.SoftReference;
/**
*
* 此类用来跟踪软引用队列实验
* Created by CharlesYang on 2018/7/13/013.
*/
public class SoftRefQ {
static User obj;
public static class User{
public int id;
public String name;
public User(int id, St... | true |
b5c1f18489c5c445d5f8dcb3515af03111cc2551 | Java | Relesi/Stream | /SistemaFat/SistemaFaturamento/src/gcom/faturamento/bean/ResumoFaturamentoSimulacaoHelper.java | UTF-8 | 1,521 | 1.921875 | 2 | [] | no_license | package gcom.faturamento.bean;
import gcom.faturamento.ResumoFaturamentoSimulacao;
import gcom.faturamento.ResumoFaturamentoSimulacaoCredito;
import gcom.faturamento.ResumoFaturamentoSimulacaoDebito;
import java.util.Collection;
public class ResumoFaturamentoSimulacaoHelper {
private ResumoFaturamentoSimulacao re... | true |
f25dac9dd62561fa8149d19d77df389a46cc1f64 | Java | nosmoon/misdevteam | /src/chosun/ciis/tn/rpt/rec/TN_RPT_1141_LCURLISTRecord.java | UHC | 1,213 | 1.789063 | 2 | [] | no_license | /***************************************************************************************************
* ϸ : .java
* :
* ۼ :
* ۼ :
***************************************************************************************************/
/***************************************************************************... | true |
b0b188c561d28ab6447d61e156c02fdc528d3357 | Java | Purusingh16/java | /javaAppAbstract_Interface/src/abstractApp/Traingle.java | UTF-8 | 399 | 2.953125 | 3 | [] | no_license | package abstractApp;
public class Traingle extends Shape
{
private double base;
private double height;
public Traingle(String name,double base,double height)
{
super(name);
this.base=base;
this.height=height;
}
@Override
public String getInfo()
{
return super.getInfo()+" "+this.base+" "+this.height... | true |
8763e3305836f34a60407c7c552b02c6cc0e171a | Java | OlegPower/MyFirstISM_Project | /src/test/java/ISM/project/helpers/DioConfigurationAcceptHelper.java | UTF-8 | 1,538 | 2.25 | 2 | [] | no_license | package ISM.project.helpers;
import ISM.project.pages.DioConfigurationAcceptPage;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
import java.util.List;
import java.util.Optional;
public class DioConfigurationAcce... | true |
4daccad23dc39ffd8626613c21bd2683d2e98e13 | Java | rafazampieri/delivery | /src/main/java/com/rafazampieri/delivery/persistence/dao/postgresql/MapsDAOPostgreSQL.java | UTF-8 | 2,077 | 2.515625 | 3 | [] | no_license | package com.rafazampieri.delivery.persistence.dao.postgresql;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdb... | true |
e94e7f4aa3f8852e403eae8358015422b3d70774 | Java | victoriatanaka/hairschedule | /app/src/main/java/com/example/cronogramacapilar/TreatmentDao.java | UTF-8 | 1,075 | 2.40625 | 2 | [] | no_license | package com.example.cronogramacapilar;
import androidx.room.Dao;
import androidx.room.Query;
import java.util.Date;
import java.util.List;
@Dao
public interface TreatmentDao {
@Query("INSERT INTO treatments (type, last_date, next_date, repeats, repeats_unit, observations) VALUES (:type, :lastDate, :nextDate, :re... | true |
cedc272ce614ce04821cf871a2df1f32d480e8e6 | Java | btpka3/btpka3.github.com | /java/spring/first-spring-session/src/main/java/me/test/first/spring/session/conf/SessionConf.java | UTF-8 | 1,903 | 2.171875 | 2 | [] | no_license | package me.test.first.spring.session.conf;
import org.springframework.boot.autoconfigure.web.*;
import org.springframework.context.annotation.*;
import org.springframework.core.*;
import org.springframework.core.serializer.support.*;
import org.springframework.session.data.mongo.*;
import org.springframework.session.w... | true |
04f07ebb7421c073f555a61df7a1a60e1a87b4ac | Java | Persinity/ndt-migrate | /ndt-migrate-1.0-beta/common/src/test/java/com/persinity/common/db/metainfo/AndTest.java | UTF-8 | 2,171 | 2.234375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2015 Persinity Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | true |
43ce9824519c8fdf534f70624d43f6299d3a14cc | Java | mariotudan/HGSS-rescue | /Java/MiewMiew/src/main/java/hr/miewmiew/MiewMiew/data/repository/jpa/KompetencijekorisnikaJpaRepository.java | UTF-8 | 347 | 1.703125 | 2 | [
"Apache-2.0",
"CC-BY-3.0",
"CC-BY-4.0"
] | permissive | package hr.miewmiew.MiewMiew.data.repository.jpa;
import org.springframework.data.jpa.repository.JpaRepository;
import hr.miewmiew.MiewMiew.dbmodel.jpa.KompetencijekorisnikaEntity;
/**
* Repository : Kompetencijekorisnika.
*/
public interface KompetencijekorisnikaJpaRepository extends JpaRepository<Kompetencijekori... | true |
e4ebbacb50d1ea7f7c5195838659e5f7ba075b3b | Java | murrcha/kkaysheva | /chapter_004/src/main/java/ru/job4j/iterators/EvenNumbersIterator.java | UTF-8 | 1,661 | 3.953125 | 4 | [
"Apache-2.0"
] | permissive | package ru.job4j.iterators;
import java.util.Iterator;
import java.util.NoSuchElementException;
/**
* EvenNumbersIterator - итератор четных чисел
*
* @author Ksenya Kaysheva (murrcha@me.com)
* @version $Id$
* @since 0.1
*/
public class EvenNumbersIterator implements Iterator<Integer> {
/**
... | true |
ae879af5b0198c3b4fac165dcd5cda5a015786b2 | Java | gautamishra/CarReviewApp | /src/main/java/com/mindfire/carreview/repository/ImageJpaRepository.java | UTF-8 | 429 | 1.96875 | 2 | [] | no_license | package com.mindfire.carreview.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.mindfire.carreview.model.Image;
/**
* Interface For Image repository
* @author mindfire
*
*/
@Repository
public interface Im... | true |
9e7a621d61e003b77d46edb58bbe9ccbb18917c7 | Java | ssdhaliwal/FileManagerSVC | /src/main/java/elsu/web/service/filemanager/resources/FileDownloadType.java | UTF-8 | 156 | 1.828125 | 2 | [] | no_license | package elsu.web.service.filemanager.resources;
public class FileDownloadType {
public String mimeType = "text/plain";
public byte[] imageData = null;
}
| true |
80c83b1e6568c076d1ff7f0f8cd04b7eb7198514 | Java | pninoh/flowable6.5 | /src/main/java/com/bootdo/ext/servicenode/BaseServiceNode.java | UTF-8 | 726 | 2.234375 | 2 | [] | no_license | package com.bootdo.ext.servicenode;
import org.flowable.engine.delegate.DelegateExecution;
import org.springframework.util.StringUtils;
import java.util.HashMap;
import java.util.Map;
public abstract class BaseServiceNode {
protected Map<String, String> getMyVars(String pid, DelegateExecution execution) {
... | true |
81eb1eb9193256726253eead8f63fc25e5f0bd20 | Java | KnowledgeGarden/bluima | /modules/bluima_utils/src/test/java/ch/epfl/bbp/uima/ae/relations/WriteCoocurrencesToLoadfile2Test.java | UTF-8 | 5,123 | 1.984375 | 2 | [
"Apache-2.0"
] | permissive | package ch.epfl.bbp.uima.ae.relations;
import static ch.epfl.bbp.uima.BlueUima.PARAM_COOCCURRENCE_TYPE;
import static ch.epfl.bbp.uima.BlueUima.PARAM_FIRST_ANNOT_TYPE;
import static ch.epfl.bbp.uima.BlueUima.PARAM_OUTPUT_FILE;
import static ch.epfl.bbp.uima.BlueUima.PARAM_SECOND_ANNOT_TYPE;
import static ch.epfl.bbp.u... | true |
0c3da1553ca437c1c9ef81eac01eabc0acccd292 | Java | pulipulichen/dspace-dlll | /dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/servlet/admin/FilterMediaServlet.java | UTF-8 | 7,000 | 1.835938 | 2 | [] | no_license | /*
* FilterMediaServlet.java
*/
package org.dspace.app.webui.servlet.admin;
import java.io.IOException;
import java.sql.SQLException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.jsp.jstl.fmt.LocaleSupport;
... | true |
05ef4adaa6f2d89be0fd7f5bcdbeb7431e7ce4fc | Java | shenbibo/AndroidFirstTest | /app/src/main/java/download/test/view/DownloadListItemView.java | UTF-8 | 6,060 | 2.03125 | 2 | [] | no_license | package download.test.view;
import com.example.androidfirsttest.R;
import download.test.bean.DownloadFileInfo;
import download.test.bean.DownloadFileInfo.DownloadStatus;
import download.test.control.DownloadManager;
import download.test.viewbeans.BaseBean;
import android.content.Context;
import android.graphics.Bitma... | true |
f295921b269fd4c5d7fe3a8cbeacb55417e69f1d | Java | demhatbadem/Nirvana | /src/test/java/Pages/DashboardPageElements.java | UTF-8 | 972 | 1.632813 | 2 | [] | no_license | package Pages;
import TestBase.BaseClass;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import java.util.List;
public class DashboardPageElements extends BaseClass {
@FindBy(id = "welcome")
public WebElement Db_welcomeSign;
... | true |
137b98a9921842dae94889db438b32e07ad9b6c0 | Java | MrHalley/SpringBoot-Vue | /chapter2/chapter02-1/src/main/java/org/sang/Users.java | UTF-8 | 294 | 1.570313 | 2 | [] | no_license | package org.sang;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.util.List;
@Data
@Component
@ConfigurationProperties("mys")
public class Users {
private List<User> userList;
}
| true |
06fdda8429b03b64a2355578c8f7cc88aedb5c06 | Java | wlrllr/wx | /src/main/java/com/wlrllr/sdk/core/mybatis/PaginationPluginHolder.java | UTF-8 | 742 | 2.1875 | 2 | [] | no_license | package com.wlrllr.sdk.core.mybatis;
import org.apache.ibatis.cache.CacheKey;
/**
* Created by w_zhanglong on 2017/10/24.
*/
public class PaginationPluginHolder {
private static ThreadLocal<PaginationCacheData> threadLocal = new ThreadLocal();
public PaginationPluginHolder() {
}
public static void... | true |
b4fe34753955b54814719e65abf127bcb11420ed | Java | juhyund/test | /kepco-fep/src/test/java/com/nuri/kepco/fep/Test.java | UTF-8 | 2,031 | 2.203125 | 2 | [] | no_license | package com.nuri.kepco.fep;
import java.text.SimpleDateFormat;
import java.util.Base64;
import java.util.Date;
import org.eclipse.leshan.json.JsonArrayEntry;
import org.eclipse.leshan.json.JsonRootObject;
import org.eclipse.leshan.json.LwM2mJson;
import org.eclipse.leshan.json.LwM2mJsonException;
import com.aimir.ut... | true |
63911d312b402492c84776ba412471f4bd72527e | Java | prashantprem/CovidPatientManager | /app/src/main/java/com/example/covidpatientmanager/jsonAPI.java | UTF-8 | 694 | 2.0625 | 2 | [] | no_license | package com.example.covidpatientmanager;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.PATCH;
import retrofit2.http.POST;
import retrofit2.http.PUT;
import retrofit2.http.Path;
public interface jsonAPI {
//These handel the diffrent... | true |
490714474198c30c6053db8c9aacdf336812abd8 | Java | lopezemily/sistemas-distribuidos | /calc/src/calc/Cliente.java | UTF-8 | 1,560 | 3.234375 | 3 | [] | no_license | package calc;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Scanner;
public class Cliente {
public static void main(String[] args) throws Exception {
Socket socket = new Socket("localhost", 9600);
Requisicao req = construirRequisicao();
Conexao.enviar... | true |
3c6c851852f0becd47740201871f8eb5c4342b94 | Java | imperiowolf123/Parcial | /app/src/main/java/com/example/myapplication/MainActivity.java | UTF-8 | 4,509 | 2.234375 | 2 | [] | no_license | package com.example.myapplication;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class MainActivity extends AppCompatActivity {
public String titulo="",convert="";
public Button btn2,btn1... | true |
884b49ff49042e05f4a38cbc3e41b2caaa99601e | Java | handru2019/JavaPractice | /src/com/company/MapBully.java | UTF-8 | 1,407 | 4.0625 | 4 | [] | no_license | package com.company;
import java.util.HashMap;
import java.util.Map;
public class MapBully {
/*
Modify and return the given map as follows: if the key "a" has a value, set the key "b" to have that value, and set the key "a" to have the value "". Basically "b" is a bully, taking the value and replacing it with... | true |
f11e9dd7c30894d339eb35e5213a046074d78fa8 | Java | awprice/server_1.2_01 | /net/minecraft/server/ItemFood.java | UTF-8 | 377 | 2.109375 | 2 | [] | no_license | package net.minecraft.server;
public class ItemFood extends Item {
private int a;
public ItemFood(int i, int j) {
super(i);
this.a = j;
this.maxStackSize = 1;
}
public ItemStack a(ItemStack itemstack, World world, EntityHuman entityhuman) {
--itemstack.count;
... | true |
aabac3fe2f4ef659e77ac4fa19fc43e839d9efbc | Java | Hannayoung/freemark_board | /src/main/java/com/aceproject/free/service/CusService.java | UTF-8 | 339 | 1.765625 | 2 | [] | no_license | package com.aceproject.free.service;
import java.util.List;
import com.aceproject.free.model.CusVo;
public interface CusService {
public void register(CusVo cusVo);
public void modify(CusVo cusVo) ;
public void remove(int cusId) ;
public CusVo get(int cusId) ;
public CusVo getBoardList(int cusId) ;
public Lis... | true |
8d0295fe9a8a39283298d742b15dc1c629a088f7 | Java | cece0719/gutenmorgen | /src/main/java/com/woowol/gutenmorgen/bo/ProcessorBO.java | UTF-8 | 738 | 2.09375 | 2 | [] | no_license | package com.woowol.gutenmorgen.bo;
import com.woowol.gutenmorgen.processor.Processor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Map;
@Service
public class ProcessorBO {
@Autowired
private Map<String, Processor<?>> processorM... | true |
b4721c6e604d735f14c2c8dfad74d057f2de788a | Java | 360J2ME/360-People-Client-J2ME | /sources/src/com/zyb/nowplus/business/sync/SyncEngine.java | UTF-8 | 2,485 | 1.773438 | 2 | [] | no_license | /*******************************************************************************
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the Common Development
* and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain... | true |
b976301b5f35f2a3ef8477ea38ee4adca98fca60 | Java | rishabh245/ToDo | /app/src/main/java/com/example/rishabh/todo/TaskDetails.java | UTF-8 | 550 | 2.296875 | 2 | [] | no_license | package com.example.rishabh.todo;
/**
* Created by rishabh on 7/21/17.
*/
public class TaskDetails {
int id;
String title;
int priority;
String category;
String date;
String time;
boolean isFinished;
TaskDetails(int id , String title , int priority , String category , String dat... | true |
53105af1b0f23d078597dc6b55e05272788cbc1f | Java | SuthasiDev/Clean-Food-Project-backup | /app/src/main/java/suthasidev/cleanfoodproject/SignInActivity.java | UTF-8 | 2,601 | 2.25 | 2 | [] | no_license | package suthasidev.cleanfoodproject;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
public class SignInActivity extends AppCompatActivity {
//Explicit
private EditText userEditText, passwordEd... | true |
018b91391bb56efbb92532fc0fac56d6c4702933 | Java | touhiduzzaman-tuhin/java-code-university-life | /Practice/payrol1l/src/payrol1l/Payrol1l.java | UTF-8 | 988 | 2.515625 | 3 | [] | no_license |
package payrol1l;
public class Payrol1l {
private String name;
private int idnumber;
private double payrate;
private double hoursworked;
public Payroll1(String n,int i)
{
this.name = n;
this.idnumber = i;
}
public void Setname(String n)
{
this.na... | true |
6ef3a171bde13d5fe6f804a7f54921761d8ce319 | Java | shimrithoori/AWS-Cloud-Computing | /Ass2/Fmeasure/src/jobFlow/step2.java | UTF-8 | 2,322 | 2.3125 | 2 | [] | no_license | package jobFlow;
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.DoubleWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop... | true |
8dedd598b117dbc53ee3db9712d0a8be3952babf | Java | HilaryAA/Evaluacion-2 | /src/hilario/giti7083s/Figurass/Cuadrado.java | UTF-8 | 207 | 1.898438 | 2 | [] | no_license | package hilario.giti7083s.Figurass;
/**
*
* @author HILARY
*
*/
public class Cuadrado extends Figura{
private int lado;
public static void area(){
}
public int lado(){
return lado;
}
}
| true |
3e13f6793490d430b6ad5986f0e7107132d17cbb | Java | admglaser/Remote | /RemoteBase/src/main/java/model/message/Identify.java | UTF-8 | 694 | 2.453125 | 2 | [] | no_license | package model.message;
public class Identify {
private String type;
private String deviceName;
private int deviceWidth;
private int deviceHeight;
public String getDeviceName() {
return deviceName;
}
public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
}
public String getType() ... | true |
91fa85ebbc273a9448cd8c27d2790ed1fdd2972d | Java | LoliDevs/abuseblocker | /src/main/java/lolidevs/abuseblocker/listeners/GrimReaper.java | UTF-8 | 570 | 2.40625 | 2 | [] | no_license | package lolidevs.abuseblocker.listeners;
import org.bukkit.GameMode;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.PlayerDeathEvent;
//PS : Its the PlayerDeathListener
public class GrimReaper implements Listener {
@EventHand... | true |
f9ee21523c25f91bec60f7cb8a857235238d1788 | Java | neetaaeapen/Ridesharing_Java | /src/main/Constants.java | UTF-8 | 1,011 | 1.617188 | 2 | [] | no_license | package main;
import java.util.Random;
public class Constants {
public static final boolean debug=true;
//directory configuration
public static final String DATE="2011-4-23"; //trip trajectory of a day
public static final String BASE_DIR = "E:/data/TaxiTrajectory/Beijing/2011/filtered/";
public stati... | true |
6bd2696ce00444519a1fbf163cd93bcb80d9e1b8 | Java | xiaofeng68/bisai | /src/main/java/com/thinkgem/jeesite/modules/bisai/dao/AccountDao.java | UTF-8 | 920 | 1.78125 | 2 | [] | no_license | /**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.bisai.dao;
import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.... | true |
f18f5630ba4dbf84cb6e370667f4498481f3162d | Java | FinalCraftMC/EnderIO | /enderio-base/src/main/java/crazypants/enderio/base/invpanel/database/IChangeLog.java | UTF-8 | 181 | 1.578125 | 2 | [
"Unlicense",
"CC-BY-NC-3.0",
"CC0-1.0",
"CC-BY-3.0",
"LicenseRef-scancode-public-domain"
] | permissive | package crazypants.enderio.base.invpanel.database;
public interface IChangeLog {
void entryChanged(IServerItemEntry entry);
void databaseReset();
void sendChangeLog();
}
| true |
71d0457a3b93be932ac76099ad8f4f00ef4f050a | Java | pievis/natali | /it.mtr.robotBase.test/src/it/mtr/robotBase/test/TestCommand.java | UTF-8 | 1,844 | 2.296875 | 2 | [] | no_license | package it.mtr.robotBase.test;
import static org.junit.Assert.*;
import it.mtr.robotBase.mock.CommandMock;
import it.unibo.iot.models.commands.Command;
import it.unibo.iot.models.commands.ICommand;
import it.unibo.iot.models.commands.baseRobot.BaseRobotAngle;
import it.unibo.iot.models.commands.baseRobot.BaseRo... | true |
beaf0770e6dd2aa8de5e6298588f3efbc4e46982 | Java | juliamartyn/golden-book | /src/test/java/com/juliamartyn/goldenbook/AmazonS3ClientServiceMock.java | UTF-8 | 639 | 2.15625 | 2 | [] | no_license | package com.juliamartyn.goldenbook;
import com.juliamartyn.goldenbook.services.AmazonS3ClientService;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
@Service
@Profile("test")
public class AmazonS3ClientServi... | true |
a9ce8d8ece00147ead4dadb5a911a52659fb2fdf | Java | 8secz-johndpope/snapchat-re | /jadx-snap-new/sources/com/google/android/gms/ads/internal/js/zzu.java | UTF-8 | 1,909 | 1.890625 | 2 | [] | no_license | package com.google.android.gms.ads.internal.js;
final class zzu implements Runnable {
private /* synthetic */ zzae zzcfs;
private /* synthetic */ zzc zzcft;
private /* synthetic */ zzn zzcfu;
zzu(zzn zzn, zzae zzae, zzc zzc) {
this.zzcfu = zzn;
this.zzcfs = zzae;
this.zzcft = z... | true |
755605bfa23a153c383239bd6faf9253dab0f7fe | Java | amakaroff/northwind | /repository/src/main/java/org/northwind/repository/CustomerRepository.java | UTF-8 | 638 | 1.851563 | 2 | [] | no_license | package org.northwind.repository;
import org.northwind.model.Customer;
import org.northwind.model.CustomerInfo;
import org.springframework.roo.addon.layers.repository.jpa.annotations.RooJpaRepository;
import io.springlets.data.jpa.repository.DetachableJpaRepository;
import org.springframework.transaction.annotation.Tra... | true |
f2bcba4471f080b3454c2ec7085cc3bc982e37ab | Java | STAMP-project/dspot-experiments | /benchmark/training/cc/blynk/integration/tcp/DeviceWorkflowTest.java | UTF-8 | 34,404 | 1.710938 | 2 | [] | no_license | package cc.blynk.integration.tcp;
import GraphGranularityType.DAILY;
import GraphGranularityType.HOURLY;
import GraphGranularityType.MINUTE;
import PinType.DIGITAL;
import PinType.VIRTUAL;
import cc.blynk.integration.CounterBase;
import cc.blynk.integration.Holder;
import cc.blynk.integration.SingleServerInstancePerT... | true |
7e4c05d49d718182791c5f75f61802a84d819855 | Java | lowell108/GomoApplicationTest | /src/main/java/gomoService/GomoUvtByUserVideo.java | UTF-8 | 691 | 2.34375 | 2 | [] | no_license | package gomoService;
/**
* The java object that holds the UVT by userID and videoID.
* @author Lowell Gilbertson
*
*/
public class GomoUvtByUserVideo {
private long userID;
private long videoID;
private long uniqueViewingTime;
public GomoUvtByUserVideo() {
super();
}
public long getUserID() {
return... | true |
85cba8fffff49be66c2d39b3b755492dc2cf95d3 | Java | andyrinne12/wacc_compiler | /src/front_end/types/FUNCTION.java | UTF-8 | 910 | 2.8125 | 3 | [] | no_license | package front_end.types;
import java.util.List;
public class FUNCTION extends IDENTIFIER {
private final TYPE returnType;
private final List<PARAM> params;
public FUNCTION(TYPE returnType, List<PARAM> params) {
this.returnType = returnType;
this.params = params;
}
// as a function is not a type, ... | true |
a8be94853f8475a0a2dafc587af1bb18e8c64547 | Java | hanlipengpeng/sparkJavaProject | /javase34/src/main/java/cn/edu360/day10/Server.java | UTF-8 | 2,076 | 3.0625 | 3 | [] | no_license | package cn.edu360.day10;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.ServerSocket;
import java.net.Socket;
/**
* 1:建立链接
* 2:接受验证信息
* 3:返回验证结果
* 4:接受jar文件位置
* 5:接受jar文件‘
* 6:接受comd命令 ----> 执... | true |
8d71af3f6cdd5e99fb39dff3d78453dc1ae3075d | Java | semagrow/semagrow | /rdf4j/src/main/java/org/semagrow/sail/config/RepositorySourceSelectorConfig.java | UTF-8 | 771 | 1.6875 | 2 | [
"Apache-2.0"
] | permissive | package org.semagrow.sail.config;
import org.semagrow.config.SourceSelectorImplConfigBase;
import org.eclipse.rdf4j.repository.config.RepositoryImplConfig;
import org.eclipse.rdf4j.repository.sail.config.ProxyRepositoryConfig;
/**
* Created by angel on 11/1/14.
*/
public class RepositorySourceSelectorConfig extends... | true |
402bb156dcbd2fa1ddac6e8046a7aff309b2116b | Java | pftx/niolex-network-nio | /network-core/src/main/java/org/apache/niolex/network/serialize/StringSerializer.java | UTF-8 | 1,762 | 2.6875 | 3 | [
"Apache-2.0"
] | permissive | /**
* StringSerializer.java
*
* Copyright 2011 Niolex, Inc.
*
* Niolex 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.org/licenses/LICENSE-2.... | true |
83174302a44ea7a394d88641ee7ab174e20246bd | Java | Zumbalamambo/JsyDemo | /JSY-jsy-20170901/JsyDemo/app/src/main/java/cn/jishiyu11/xjsjd/EntityClass/HomeProductList.java | UTF-8 | 1,123 | 1.953125 | 2 | [] | no_license | package cn.jishiyu11.xjsjd.EntityClass;
import java.util.List;
/**
* Created by vvguoliang on 2017/7/3.
* 首页中产品list
*/
public class HomeProductList {
private List<HomeProduct> homeProductList;
private String code = "";
private String msg = "";
private String page_count = "";
private String re... | true |
f2d6fc246546b798399844f605ed4ab16ed072e0 | Java | yyitsz/myjavastudio | /jcg-andygene-web-archetype/src/main/resources/archetype-resources/src/main/java/jms/MyQueueSender.java | UTF-8 | 1,430 | 2.5 | 2 | [
"Apache-2.0"
] | permissive | #set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.jms;
import javax.jms.DeliveryMode;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.Session;
import javax.jms.TextMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ... | true |
2df7d1102c61bcce9ed55fb48c6b620081b8bf35 | Java | mafashen/practice | /src/main/java/com/mafashen/spring/XmlBeanFactoryTest.java | UTF-8 | 556 | 2.109375 | 2 | [] | no_license | package com.mafashen.spring;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;
import com.mafashen.java.ClassTest;
import com.mafashen.spring.custom.editor.DateTypeDITest;
public class XmlBeanFactor... | true |
4a5bf2b6baace8a6cf0c9a5cae475377fb816a35 | Java | fuwei199006/rzframe | /rz-lib/src/test/java/learnJava/rz03/CompletableFutureDemo.java | UTF-8 | 11,893 | 3.5625 | 4 | [] | no_license | package learnJava.rz03;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executors;
public class CompletableFutureDemo {
/**
* 创建CompletableFuture
* - runAsync
... | true |
938e04d64bbd43263c4d6b71f52822c556881077 | Java | Adam-Aggoun/Ecole_Java | /src/view/gestion.java | ISO-8859-1 | 6,667 | 2.421875 | 2 | [] | no_license | package view;
import com.dbconnection.*;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JTable;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.Connection;
import j... | true |
17629f809c45b7f18581d49ef606067177d019ad | Java | goneasfar/capstone-project | /src/com/macneil/capstoneproject/Brick.java | UTF-8 | 1,722 | 3.109375 | 3 | [] | no_license | package com.macneil.capstoneproject;
import java.util.Random;
import processing.core.PApplet;
import processing.core.PImage;
public class Brick extends PApplet{
private final int RED = color(255, 0, 0);
private int xCor;
private int yCor;
private int width;
private int height;
//Depends on the health.
private... | true |
532631ae4cf3d4f00f6d4da97b579670d79ed772 | Java | Ujwalgulhane/Data-Structure-Algorithm | /Algorithms/DynamicProgramming/templeOffering.java | UTF-8 | 794 | 3.15625 | 3 | [] | no_license | import java.util.*;
public class templeOffering{
public static void print(int []arr){
for(int i:arr)System.out.print(i+" ");
System.out.println();
}
public static int solve(int []arr){
int n=arr.length;
int dp[] = new int[n]; dp[0]=1;
int dpp[] = new int[n]; dpp[n-1]=1;
for(int i=1;i<n;i++){
if(arr[i... | true |
7f203ee2d88d4c6378a808b96a15e95baf9bc6be | Java | mberkan/ocp | /src/main/java/pl/mberkan/ocp/chapter10/AStatements.java | UTF-8 | 5,240 | 3.125 | 3 | [] | no_license | package pl.mberkan.ocp.chapter10;
import java.sql.*;
import static pl.mberkan.ocp.Utils.printSeparator;
/**
* Postgres database creation:
* $ sudo su - postgres
* $ psql
* $ create database ocp;
* $ create user ocp with password 'ocp';
* $ \q
* $ psql -u ocp ocp
* $ CREATE TABLE species (id INTEGER PRIMARY K... | true |
c41a31af561a3affe4a580fed36f772049c09775 | Java | apache/openoffice | /main/qadevOOo/java/OOoRunner/src/main/java/graphical/JPEGComparator.java | UTF-8 | 29,835 | 2.5625 | 3 | [
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
... | permissive | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | true |
636b5b0f83edae2f3da1db8c5d298bf6e6ffd714 | Java | miller7777777/HeadFirst_Android | /Starbuzz/app/src/main/java/com/hfad/starbuzz/FoodActivity.java | UTF-8 | 1,128 | 2.34375 | 2 | [] | no_license | package com.hfad.starbuzz;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
public class FoodActivity extends AppCompatActivity {
public static final String EXTRA_FOODNO = "foodNo";
@Override
protected void onCrea... | true |
6bf4eec1ea7e3c6e86c88b6c7efa472fe32bcf6c | Java | AmirHMousavi/AndroidProjects | /LNUreader/src/com/example/lnureader/database/FavoriteFeedsDBhandler.java | WINDOWS-1252 | 2,129 | 2.40625 | 2 | [] | no_license | /**
* @title LNUreader the final project of course 2DV106 Android For Java Programmers
* @author sm222cf (SeyedAmirhossein Mousavi)
* @author sm222cf ms222jg (Mohsen Sadeghi gol)
* @date autumn semester 2013
* @university Linnaeus University Vxj
*/
package com.example.lnureader.database;
import android.content.C... | true |
cc782dbc20da39ea2a3bc458bfcfa8fb9d0be693 | Java | RedShift006/ShengHuaNews | /app/src/main/java/com/example/dell/shenghuanewsapp/Activity/BaseActivity.java | UTF-8 | 693 | 2.125 | 2 | [] | no_license | package com.example.dell.shenghuanewsapp.Activity;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
/**
* Created by Administrator on 2016/11/17.
*/
public class BaseActivity extends AppCompatActivity{
String TAG = getClass... | true |
929b766ebb2ac28afc4c638d51112e5c0850ac80 | Java | mc2ion/vidamed-interfaz-vieja | /src/command/GetUsers.java | UTF-8 | 1,164 | 2.703125 | 3 | [] | no_license | package command;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import domain.User;
public class GetUsers implements DatabaseCommand {
public GetUsers(){}
@Override
public Object executeDatabaseOperation(Conne... | true |
7315b76b9713cd9581b0cdd659382a67e298fbf4 | Java | YouTooLife/PhysicsShmup | /core/src/com/mygdx/game/Player.java | UTF-8 | 1,264 | 2.578125 | 3 | [] | no_license | package com.mygdx.game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Vector2;
public cla... | true |
ace0bc6c96645074041be4d3b64a617ae0dcaaea | Java | gustavolucasc/Proyecto3SO2 | /src/Proyecto3SO2/Mensaje.java | UTF-8 | 2,442 | 2.984375 | 3 | [] | no_license | /*
* UNIVERSIDAD MARIANO GALVEZ
* INGENIERIA DE SISTEMAS DE INFORMACION
* SISTEMAS OPERATIVOS 2
* Gustavo Adolfo Lucas Cifuentes
* 7690-17-2810
* Ronal Geovani Perez Atz
* 7690-14-11506
* Proyecto 3
* Primer Semestre 2019
*/
package Proyecto3SO2;
import java.io.Serializable;
import static Pr... | true |
591cc96e72c6db166e32b0fa585be9545a574130 | Java | CharlesAMiller/ExBOWsion | /src/com/mutanthamster/items/InventoryBase.java | UTF-8 | 1,550 | 3.109375 | 3 | [] | no_license | package com.mutanthamster.items;
import org.bukkit.*;
import org.bukkit.inventory.DoubleChestInventory;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
public class InventoryBase
{
Inventory inventory;
ItemStack[] invContent = new ItemSta... | true |
351f293f432e782de85e8c3b51fdda8621ba44a4 | Java | qinggangqiang/Hello-World | /src/test/java/com/ordersystem/dao/ProductInfoDaoTest.java | UTF-8 | 1,739 | 2.296875 | 2 | [] | no_license | package com.ordersystem.dao;
import com.ordersystem.dataobject.ProductInfo;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.contex... | true |
53a5427a4d2a350d50de8791d1f3b22e23d1253b | Java | wigginz/transit-widget-tools | /eclipse/org.jil.ide.widget/src/org/jil/ide/feature/FeatureCategory.java | UTF-8 | 250 | 2.328125 | 2 | [] | no_license | package org.jil.ide.feature;
public enum FeatureCategory {
GOLD,
SILVER,
BRONZE;
public String value() {
return name();
}
public static FeatureCategory fromValue(String v) {
return valueOf(v);
}
}
| true |
a15e93c0c1f136430e15cfb46e84e8a80e923cf8 | Java | githubhyh/spider | /src/com/hyh/spider/entity/Image.java | UTF-8 | 672 | 2.390625 | 2 | [
"Apache-2.0"
] | permissive | package com.hyh.spider.entity;
import java.io.Serializable;
import java.util.Collection;
/**
* a图片信息,包含一个相册集
* */
public class Image implements Serializable {
/**
*
*/
private static final long serialVersionUID = -1817460996219611876L;
private String title;
private Collection<String> imgs;
public Image(... | true |
2844a1ac5fbd08a71274244647e812e16bbde2bf | Java | mikeharder/dotnet-cli-perf | /scenarios/web/large/gradle/ClassLib102/src/main/java/ClassLib102/Class069.java | UTF-8 | 122 | 1.65625 | 2 | [] | no_license | package ClassLib102;
public class Class069 {
public static String property() {
return "ClassLib102";
}
}
| true |
dd59e7c7d93f70b192ed7bc8d05ab71ebc9f7374 | Java | nitinbhandari14/EasyWash | /src/main/java/com/easywash/controller/PackageController.java | UTF-8 | 10,365 | 1.976563 | 2 | [] | no_license | package com.easywash.controller;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.sprin... | true |
8d02aab90c275983b3384e586fdecbf856cb5d82 | Java | eberjoe/purchase-requisitions | /src/main/java/com/neogrid/prequisition/repositories/PurchaseRequisitionRepository.java | UTF-8 | 374 | 1.835938 | 2 | [] | no_license | package com.neogrid.prequisition.repositories;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;
import com.neogrid.prequisition.models.PurchaseRequisition;
public interface PurchaseRequisitionRepository extends MongoRepository<PurchaseRequisition, String> {
... | true |
191b2611d784d3d478ebcdce9a1264c71ad62298 | Java | 1521zxc/Mke | /pay_android/app/src/main/java/com/example/epay/activity/MainActivity.java | UTF-8 | 10,569 | 1.601563 | 2 | [] | no_license | package com.example.epay.activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.MenuItem;
import android.view.View;
import android.widget.FrameLayout;
import android.w... | true |
ad12c57124117a2324d3ca9aa4e595d79671564c | Java | carmenloklok/AMonitor | /src/com/rich/PicActivity.java | UTF-8 | 6,577 | 1.96875 | 2 | [] | no_license | package com.rich;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import android.app.Activity;
import android.content.Intent;
import android.conten... | true |
de3c9a6f30cae0ba76e5e0fbd76e7bf9676d7888 | Java | caiodeambrosio/android-app-order | /app/src/main/java/com/example/desafioshipp/activity/CardsActivity.java | UTF-8 | 3,431 | 1.960938 | 2 | [] | no_license | package com.example.desafioshipp.activity;
import androidx.appcompat.app.AppCompatActivity;
import androidx.cardview.widget.CardView;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.content.Intent;
import android.os.Bundle;
import android.view.... | true |
cc916129f08dfa9fd3c37db7c0b9334e9ba5c374 | Java | GurunathGuru/Awesomegg | /app/src/main/java/com/integro/eggpro/interfaces/CreateOrder.java | UTF-8 | 176 | 1.773438 | 2 | [] | no_license | package com.integro.eggpro.interfaces;
import com.integro.eggpro.model.RechargeResponse;
public interface CreateOrder {
void onOrderCreated(RechargeResponse response);
}
| true |
5ad2b22d83b5f3e77500b19e36864d55fe5d01dc | Java | desarrollotds/marylove | /marylove/src/marylove/DBmodelo/DireccionPersonaDB.java | UTF-8 | 1,896 | 2.6875 | 3 | [] | no_license |
package marylove.DBmodelo;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import marylove.conexion.ConexionHi;
import marylove.models.Direccion_persona;
public class DireccionPersonaDB extends Direccion_persona{
PreparedStatement ps;
ResultSet re = null... | true |
19e0341f533d995aa2dfe2ccb3a85f74183283c8 | Java | jonatasrd/estrutura-dados | /src/com/fila/TestQueue.java | UTF-8 | 801 | 3.3125 | 3 | [] | no_license | package com.fila;
public class TestQueue {
public static void main(String[] args) {
Queue queue = new Queue();
queue.enqueue("Jonatas");
queue.enqueue("Jaqueline");
queue.enqueue("João");
queue.enqueue("Maria");
System.out.println(queue);
queue.dequeue();
System.out.println(queue);
S... | true |
7ed449ae36124bdccf48238060efcbb64926ac40 | Java | mentimjojo/BC-NetworkSystem | /src/com/blastercraft/mentimjojo/networksystem/commands/cmdHub.java | UTF-8 | 821 | 2.328125 | 2 | [] | no_license | package com.blastercraft.mentimjojo.networksystem.commands;
import com.blastercraft.mentimjojo.networksystem.core.Channels;
import com.blastercraft.mentimjojo.networksystem.core.Functions;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.... | true |
47e49c34f232f9ce049390ae3085721f10877152 | Java | chrislo27/Stray-core | /src/stray/animation/Animation.java | UTF-8 | 1,890 | 2.796875 | 3 | [
"MIT"
] | permissive | package stray.animation;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.utils.Disposable;
public abstract class Animation implements Disposable {
public float framedelay = 0.05f;
public int framecount = 1;
protected TextureRegion[] f... | true |
51342b689eb8eda4cc533e1d76d92874a6961eba | Java | liufud/bhzor | /FinalProject/src/main/java/ics/services/VendorService.java | UTF-8 | 288 | 2 | 2 | [] | no_license | package ics.services;
import java.util.Collection;
import ics.model.Vendor;
public interface VendorService {
public Collection<Vendor> listVendors();
public void addOrUpdateVendor(Vendor vendor);
public Vendor get(Long vendorID);
public void delete(Long vendorID);
}
| true |
ebc322ffe1d735943faa8d82896e55bb34a5768e | Java | xuningForAndroid/MyKmsDemo | /kmslib/src/main/java/com/test/xn/kmslib/RoomResponse.java | UTF-8 | 3,989 | 2.5625 | 3 | [] | no_license | package com.test.xn.kmslib;
import net.minidev.json.JSONArray;
import net.minidev.json.JSONObject;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Vector;
/**
* Created by Administrator on 2018/10/10.
*/
public class RoomResponse {
private int id;
... | true |
0c3bf845b5d05d4094d880a7938ac397be7406d9 | Java | sadlil/android-test-projects | /App0005-MBSTUAdmissionAid/src/com/xor/eror/SeatPlanActivity.java | UTF-8 | 8,581 | 1.945313 | 2 | [] | no_license | package com.xor.eror;
import java.io.IOException;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.util.EntityUtils;
import ... | true |
1936a17850d5a56e7e3000aff97fb13cb902a2f9 | Java | cadox8/SMEdit | /jo_sm/src/jo/vecmath/logic/MoveTransformer.java | UTF-8 | 2,095 | 2.71875 | 3 | [
"Apache-2.0"
] | permissive | package jo.vecmath.logic;
import jo.vecmath.Matrix4f;
import jo.vecmath.Point3f;
import jo.vecmath.Tuple3f;
import jo.vecmath.Vector3f;
public class MoveTransformer implements ITransformer {
private Point3f mPoint;
private Vector3f mVelocity; // per second
private Vector3f mAcceleration; // per sec... | true |
6904e841ad3de820cf04be9aceb6e7a12c97a0a6 | Java | a82687208/society2.1 | /app/src/main/java/com/gdptc/society/tools/CameraUtil.java | UTF-8 | 1,196 | 2.25 | 2 | [] | no_license | package com.gdptc.society.tools;
import android.Manifest;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.provider.MediaStore;
import android.support.v4.content.ContextCompat;
import android.widget.Toast;
import java.io.File;... | true |