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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
717ef50f4e5e3622475ee74a256e1b134d544419 | Java | dreameddeath/couchbase-testing | /core/core-service/src/main/java/com/dreameddeath/core/service/annotation/processor/ServiceExpositionMethodParamDefinition.java | UTF-8 | 1,970 | 1.953125 | 2 | [] | no_license | /*
*
* * Copyright Christophe Jeunesse
* *
* * 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
* *
* * U... | true |
df158e0a5e8e5913bc7419c5e468fcf64a20e8ec | Java | BDXSandrineWCS/ConsommerUnWebServiceDeTypeRESTful | /app/src/main/java/fr/wcs/weathertoaster/Weather.java | UTF-8 | 967 | 2.875 | 3 | [] | no_license | package fr.wcs.weathertoaster;
import java.text.SimpleDateFormat;
import java.util.Date;
public class Weather {
private String date;
private String description;
public Weather() {
super();
}
public Weather(String date, String description) {
super();
this.date = date;
... | true |
16d9af95be20cb5c922de27b7cdfcd44dadc4dda | Java | DocuWare/PlatformJavaClient | /src/com/docuware/dev/schema/_public/services/platform/SelectListExpression.java | UTF-8 | 4,307 | 1.960938 | 2 | [
"MIT"
] | permissive |
package com.docuware.dev.schema._public.services.platform;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.net.URI;
import com.docuware.dev.Extensions.*;
import java.util.concurrent.CompletableFuture;
import java.util.*;
import com.docuware.dev.schema._public.services.Link;
impo... | true |
db8ce601a8ccfb479499eeebc50e6157f92720db | Java | allenday/dataflow-genomics | /genomics-dataflow-core/src/main/java/com/google/allenday/genomics/core/utils/ResourceProvider.java | UTF-8 | 952 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | package com.google.allenday.genomics.core.utils;
import com.google.cloud.ServiceOptions;
import com.google.cloud.resourcemanager.ResourceManager;
import com.google.cloud.resourcemanager.ResourceManagerOptions;
public class ResourceProvider {
private String projectId;
private ResourceManager resourceManager;
... | true |
f0fd8478ee3550629a66e9f8dec4cd2b5d45bf2e | Java | luobuccc/mmall | /src/main/java/com/mmall/controller/common/interceptor/AuthorityInterceptor.java | UTF-8 | 4,863 | 2.21875 | 2 | [
"Apache-2.0"
] | permissive | package com.mmall.controller.common.interceptor;
import com.google.common.collect.Maps;
import com.mmall.common.Const;
import com.mmall.common.ServerResponse;
import com.mmall.pojo.User;
import com.mmall.util.CookieUtil;
import com.mmall.util.JsonUtil;
import com.mmall.util.RedisSharedPoolUtil;
import lombok.... | true |
61c5478b438373db7e56ea4f4f5cd724eb2e553f | Java | rafaelevoinfo/controlcash | /ControlCash/src/br/com/dreamsoft/utils/AdapterDaoPlanilha.java | UTF-8 | 1,083 | 2.5 | 2 | [] | no_license | package br.com.dreamsoft.utils;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import br.com.dreamsoft.dao.DespesaDao;
import br.com.dreamsoft.dao.Factory;
import br.com.dreamsoft.dao.ReceitaDao;
import br.com.dreamsoft.planilha.ExportXls;
public c... | true |
773d8e1f05fc6402c1889cbabd9d2e15e1f542fb | Java | bellmit/jxhk | /src/main/java/com/usky/sms/temptable/TempTableDao.java | UTF-8 | 1,818 | 2.390625 | 2 | [] | no_license |
package com.usky.sms.temptable;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
import org.h... | true |
ed2c7365c7790966571c1ab8098b4ff38f45370a | Java | bakhridin/JavaBasics | /src/com/syntax/class33/Task.java | UTF-8 | 560 | 3.4375 | 3 | [] | no_license | package com.syntax.class33;
import java.util.InputMismatchException;
import java.util.Scanner;
public class Task {
public static void main(String[] args) {
int n = 0;
Scanner in = new Scanner(System.in);
while (true) {
try {
System.out.println("Input a non-negative integer:");
n = in.nextInt();
... | true |
330333a88db08a62076e1557daa9d99a9a718084 | Java | alexander-novikov/pckgr | /server/src/com/ximad/apkpackager/utils/ZipUtils.java | UTF-8 | 986 | 2.59375 | 3 | [] | no_license | /**
*
*/
package com.ximad.apkpackager.utils;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.apache.tools.zip.ZipEntry;
import org.apache.tools.zip.ZipFile;
/**
* @author Vladimir Baraznovsky
*
*/
public clas... | true |
40298462eff6d7562b2fe9f825ad5f01ac6a03b9 | Java | MikeMiaSanMia/prime-numbers | /src/main/java/com/recruitment/view/PresentationService.java | UTF-8 | 2,698 | 2.875 | 3 | [] | no_license | package com.recruitment.view;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartPanel;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.data.xy.DefaultXYDataset;
import org.jfree.data.xy.XYDataset;
import javax.swing.*;
import java.awt.*;
import java.awt.... | true |
c3890f75a0923fa488cf7f65a994e38903aa9d55 | Java | EdgarCampuzanoB/SpringRest2_practice | /src/main/java/com/example/SpringIIPractice/entity/Property.java | UTF-8 | 987 | 3 | 3 | [] | no_license | package com.example.SpringIIPractice.entity;
public class Property {
private Integer code;
private String address;
private Float amount;
public Property() {
}
public Property(Integer code, String address, Float amount) {
this.code = code;
this.address = address;
this.a... | true |
978dcbab3ecb683264f586a87309eb9718b611fd | Java | Demo-H/Tup | /app/src/main/java/com/tupperware/biz/config/Constants.java | UTF-8 | 6,667 | 1.648438 | 2 | [] | no_license | package com.tupperware.biz.config;
/**
* Created by dhunter on 2018/2/1.
*/
public class Constants {
public static boolean isdebug = false;
/** pull refresh 属性种类 **/
public static final int REQUEST_CODE_OUT = 0;
public static final int REQUEST_CODE_UP = 1;
public static final int REQUEST_CODE_D... | true |
9f836fd6c408576cd6249842f55b2f4a6bf33b33 | Java | eseawind/fixflow | /fixflow-core/src/com/founder/fix/fixflow/core/impl/flowgraphics/svg/to/SvgLineBaseTo.java | UTF-8 | 1,142 | 2.40625 | 2 | [] | no_license | package com.founder.fix.fixflow.core.impl.flowgraphics.svg.to;
import java.util.ArrayList;
import java.util.List;
public abstract class SvgLineBaseTo extends SvgBaseTo {
/**
* 线条上的文本
*/
protected String label;
/**
* 线条的构成点
*/
protected List<SvgPoint> svgPointList;
// get set
public String getLabel()... | true |
4fef69f3dfe7a49159708f360c7a9c5a15b0e5c6 | Java | yucheng0407/gps | /dao/src/main/java/net/ruixin/dao/plat/workflow/impl/SysRouterDao.java | UTF-8 | 3,381 | 2.09375 | 2 | [] | no_license | package net.ruixin.dao.plat.workflow.impl;
import net.ruixin.dao.plat.workflow.ISysRouterDao;
import net.ruixin.domain.plat.workflow.structure.frame.SysWorkflow;
import net.ruixin.domain.plat.workflow.structure.route.SysRouter;
import net.ruixin.util.hibernate.BaseDao;
import org.springframework.jdbc.core.RowMapper;
i... | true |
01ba2ae082c009aeb6f1c5562b2f14cb44879a17 | Java | dariojesus/EspacioFP | /Java/prPracticasComplejas/src/prPractica14/Piloto.java | UTF-8 | 1,562 | 3.0625 | 3 | [] | no_license | package prPractica14;
import java.util.Calendar;
import libreriaFechas.LFecha;
public class Piloto implements Comparable<Piloto>{
private String nombre;
private String nacionalidad;
private Calendar fechaNac;
private String escuderia;
private int puntuacion;
public Piloto(String nombre, String nacionalidad... | true |
e451d110270360f4c80b3da01c62285ef36a5343 | Java | dendenmuniz/pid-exercise-3 | /pid-exrcise-3/src/main/java/com/sda/pid/exercise3/http/PokemonApiClient.java | UTF-8 | 1,739 | 2.734375 | 3 | [] | no_license | package com.sda.pid.exercise3.http;
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.sda.pid.exercise3.model.Location;
import com.sda.pid.exercise3.model... | true |
023dacf945b3e647211294c5055dfeb76f87950a | Java | Mostafaelnagar/Bit68Task | /app/src/main/java/app/bt68/fmapp/home/models/MainResponse.java | UTF-8 | 369 | 1.75 | 2 | [] | no_license | package app.bt68.fmapp.home.models;
import java.util.List;
import com.google.gson.annotations.SerializedName;
public class MainResponse {
private List<Categories> objectList;
public List<Categories> getObjectList() {
return objectList;
}
public void setObjectList(List<Categories> objectList... | true |
c2fcdc273c1a4625dbebc2ab11517d8f7351faf7 | Java | STAMP-project/Cling-application | /results/cling/lang-org.apache.commons.lang3.StringUtils-org.apache.commons.lang3.ArrayUtils-11/org/apache/commons/lang3/StringUtils_ESTest.java | UTF-8 | 9,882 | 2.3125 | 2 | [] | no_license | /*
* Tue Mar 03 16:14:08 GMT 2020
*/
package org.apache.commons.lang3;
import org.junit.Test;
import static org.junit.Assert.*;
import org.apache.commons.lang3.StringUtils;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.c... | true |
387b2f0c1f397b9155bab531238da71fff519825 | Java | pshinoj/demoRepo | /printjobs/src/main/java/com/hp/cloudprint/printjobs/config/PersistenceConfig.java | UTF-8 | 3,049 | 2.03125 | 2 | [] | no_license | package com.hp.cloudprint.printjobs.config;
import com.hp.cloudprint.printjobs.dao.JobDAO;
import com.hp.cloudprint.printjobs.dao.JobDAOImpl;
import com.hp.cloudprint.printjobs.dao.JobLinkDAO;
import com.hp.cloudprint.printjobs.dao.JobLinkDAOImpl;
import org.apache.commons.dbcp.BasicDataSource;
import org.springframew... | true |
e6ac424f3d22570bbe3accf62f898bafa3c13525 | Java | FlavioMartins93/DSS | /DSS_CherryShare/DSS_CherryShare-master/src/Exceptions/PasswordInvalidaException.java | UTF-8 | 218 | 2.515625 | 3 | [] | no_license | package Exceptions;
public class PasswordInvalidaException extends Exception{
public PasswordInvalidaException() {
super();
}
public PasswordInvalidaException(String s) {
super(s);
}
} | true |
a82f93b6ed78f7ad158c5836e7ac6046f2542862 | Java | gaohuan/Autoalarm | /.svn/pristine/8e/8e0622684cfb505f71ab442053f766d29636c987.svn-base | UTF-8 | 7,289 | 2.921875 | 3 | [] | no_license | package org.tool.data.autoclass;
import java.io.File;
import java.io.FileWriter;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
public class GenEntityTool {
private String[] colNames;// 列名数组
private String[] co... | true |
3629618feeadde942a74270922ff0e3cf8f303f7 | Java | bobli1128/Professional_Training2 | /源代码/Web工程/Data717/src/com/zrgj/UI/Controller/UserRecoverController.java | UTF-8 | 862 | 2.15625 | 2 | [] | no_license | package com.zrgj.UI.Controller;
import java.io.IOException;
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 com.zrgj.BLL.UserInfoService;
import... | true |
21b92786ea1e2a446be2ca9a7319565983a524ee | Java | Andreas237/AndroidPolicyAutomation | /ExtractedJars/RT_News_com.rt.mobile.english/javafiles/com/google/android/gms/internal/ads/zzazm.java | UTF-8 | 666 | 1.765625 | 2 | [
"MIT"
] | permissive | // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.google.android.gms.internal.ads;
// Referenced classes of package com.google.android.gms.internal.ads:
// zzazl
final class zzazm extends ... | true |
503d716233910d956f0cbb93f471888591fc8509 | Java | abrekka/protrans | /src/main/java/no/ugland/utransprod/service/UserTypeManager.java | UTF-8 | 304 | 1.773438 | 2 | [] | no_license |
// Warning: No line numbers available in class file
package no.ugland.utransprod.service;
import no.ugland.utransprod.model.UserType;
public interface UserTypeManager extends OverviewManager<UserType> {
String MANAGER_NAME = "userTypeManager";
int getNumberOfUsers(UserType var1);
}
| true |
b9acbd8926255fbbfbcb0bb967a9afce800fffbd | Java | alitorabi1/Android | /StudentTracker/app/src/main/java/com/example/ipd/studenttracker/MainActivity.java | UTF-8 | 2,820 | 2.171875 | 2 | [] | no_license | package com.example.ipd.studenttracker;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
public class MainActivity ext... | true |
03e9d24403e20af9a8939f16f64e1ffc59e6813c | Java | Svitlana-Zmiivska/mod-circulation | /src/main/java/org/folio/circulation/support/http/client/ResponseHandler.java | UTF-8 | 2,190 | 2.4375 | 2 | [
"Apache-2.0"
] | permissive | package org.folio.circulation.support.http.client;
import io.vertx.core.Handler;
import io.vertx.core.http.HttpClientResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.invoke.MethodHandles;
import java.util.concurrent.CompletableFuture;
import java.util.function.Function;
import java.... | true |
50a7e233d2faa322fe819b49bade35296a4c617e | Java | CodeRabbit-G/bookstore | /src/gz/itcast/biz/front/index/web/IndexServlet.java | GB18030 | 2,187 | 2.3125 | 2 | [] | no_license | package gz.itcast.biz.front.index.web;
import gz.itcast.biz.front.index.service.IndexService;
import gz.itcast.biz.front.index.service.IndexServiceImpl;
import gz.itcast.entity.Book;
import gz.itcast.entity.Types;
import gz.itcast.util.BaseServlet;
import gz.itcast.util.PageBean;
import gz.itcast.util.WebUtil;
impo... | true |
4813bba252ae94ca7f6808033c2b201c6cd5158e | Java | xam74er1/EscapeGame | /Modele/PorteAClef.java | UTF-8 | 4,435 | 2.359375 | 2 | [] | no_license | package Modele;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.block.BlockState;
import org.bukkit.material.Door;
import org.bukkit.material.MaterialData;
import org.bukkit.material.Openable;
import BaseDeDonne.DAO_EG_Location;
import BaseDeD... | true |
5310e1c4b227a289691ee2a2f6e75a7e7661c7cf | Java | zldesu/hr | /src/com/icss/hr/common/DBUtil.java | GB18030 | 2,098 | 3.046875 | 3 | [] | no_license | package com.icss.hr.common;
import java.beans.PropertyVetoException;
import java.sql.Connection;
import java.sql.SQLException;
import com.mchange.v2.c3p0.ComboPooledDataSource;
/**
* ݿӹ
* @author DLETC
*/
public class DBUtil {
//Դ
private static ComboPooledDataSource dataSource;
//̶߳
pri... | true |
8a92698335946375985e1afc7f995c02d568c10c | Java | alexlzl/JavaDemo2 | /project/bule/BlueRhionDriver_3.2.0/src/cn/bluerhino/driver/model/datasource/RequestOrderTask.java | UTF-8 | 6,800 | 2.03125 | 2 | [] | no_license | package cn.bluerhino.driver.model.datasource;
import java.lang.reflect.Type;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.json.JSONException;
import org.json.JSONObject;
import android.content.Context;
import android.content.res.Resources;
import android.os.Handler;
import androi... | true |
b5d842ab05125f6889acf33fb8fcf50daea6d219 | Java | dengchaoAndroid/ArtCollection | /app/src/main/java/com/tsutsuku/artcollection/view/ShadeNormalTitle.java | UTF-8 | 4,583 | 2.140625 | 2 | [] | no_license | package com.tsutsuku.artcollection.view;
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.CollapsingToolbarLayout;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGro... | true |
f0ef323a2ef7455cfa843563cf1d113c3ccd3098 | Java | nukachiu/Tic-Tac-Toe-Android | /app/src/main/java/com/example/tictactoe/Model/AbstractGame.java | UTF-8 | 2,359 | 2.859375 | 3 | [] | no_license | package com.example.tictactoe.Model;
import android.content.Context;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
import androidx.annotation.Nullable;
import android.os.Handler;
public abstract class AbstractGame implements View.OnClickListener {
protected final String P... | true |
af7e5403869038168a831187ea65efece5fa2dbd | Java | theosunny/leetcode-study | /src/week6/lesson12/p4/lc_53.java | UTF-8 | 3,759 | 3.859375 | 4 | [
"Apache-2.0"
] | permissive | package week6.lesson12.p4;
/**
* 53. 最大子序和
* 给定一个整数数组 nums ,找到一个具有最大和的连续子数组(子数组最少包含一个元素),返回其最大和。
* <p>
* 示例:
* <p>
* 输入: [-2,1,-3,4,-1,2,1,-5,4],
* 输出: 6
* 解释: 连续子数组 [4,-1,2,1] 的和最大,为 6。
* 进阶:
* <p>
* 如果你已经实现复杂度为 O(n) 的解法,尝试使用更为精妙的分治法求解。
*/
public class lc_53 {
//贪心算法 其实是动态规划的优化
public int maxSubAr... | true |
7e5d225e7d4c7d084fdb50a2d022083c9096d20a | Java | LMW940423/Spring_Project | /MibbdaProject11/src/main/java/com/mibbda/project/signup/select/SignUp_Select_Dao.java | UTF-8 | 190 | 1.515625 | 2 | [] | no_license | package com.mibbda.project.signup.select;
public interface SignUp_Select_Dao {
public int check_DuplicatedID_Result(String ID);
public int check_DuplicatedEmail_Result(String ID);
}
| true |
f56f957d22bea811c99c04b8df81917fc80a82ed | Java | uberto/netnumero | /gen/com/numhero/client/mvp/users/UserPanelUserPanelUiBinderImplGenMessages.java | UTF-8 | 1,258 | 1.664063 | 2 | [] | no_license | package com.numhero.client.mvp.users;
import static com.google.gwt.i18n.client.LocalizableResource.*;
@GeneratedFrom("com/numhero/client/mvp/users/UserPanel.ui.xml")
@DefaultLocale("en")
@GenerateKeys("com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator")
@Generate(
format = {"com.google.gwt.i18n.rebind.format.Proper... | true |
db1b5d59e47864405cfb7b48fc3715e29c01d62b | Java | LuthfiFauzi/AplikasiNilai | /src/FormAsisten.java | UTF-8 | 23,747 | 2.109375 | 2 | [] | no_license | import koneksi.config;
import java.sql.Connection;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
import com.toedter.calendar.JDateChooser;
import java.sql.Date;
import java.text.SimpleDateFormat;
public class FormAsisten extends javax.swing.JFrame {
public String dateChooser;
pr... | true |
b7165c25d0ba32a05dad3ec75b9de381fdf03b98 | Java | andreymarchenko/AirNetworkOptimization | /src/main/java/impl/algorithms/genetics/entities/NetworkAllele.java | UTF-8 | 535 | 2.6875 | 3 | [] | no_license | package impl.algorithms.genetics.entities;
public class NetworkAllele {
private boolean isUsed;
private int position;
public NetworkAllele(boolean isUsed, int position) {
this.isUsed = isUsed;
this.position = position;
}
public boolean isUsed() {
return isUsed;
}
... | true |
6268f821deca927a5d1d92ee11131617267fb8b4 | Java | FinancialEngineerLab/OpenSIMM | /src/main/java/com/opengamma/opensimm/util/Pair.java | UTF-8 | 1,826 | 3.40625 | 3 | [
"Apache-2.0"
] | permissive | /**
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.opensimm.util;
/**
* An immutable pair consisting of two elements.
* <p>
* This implementation refers to the elements as 'first' and 'second'.
* The elemen... | true |
893d013153e3255f2f3d812fa5ca712cc42a09c3 | Java | Osama-Naji/My-career-in-learning-Android | /Books_Again/app/src/main/java/Adapter/Books_Adapter.java | UTF-8 | 2,613 | 2.375 | 2 | [] | no_license | package Adapter;
import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import a... | true |
499c956907ff89acfcb773e4b4e8d24c0a233f45 | Java | rangerkao/DVRS | /src/control/CDRControl.java | UTF-8 | 743 | 2.28125 | 2 | [] | no_license | package control;
import java.sql.SQLException;
import java.text.ParseException;
import java.util.List;
import bean.CDR;
import dao.CDRDao;
public class CDRControl extends BaseControl {
private CDRDao cdrDao=new CDRDao();
public CDRControl() throws Exception {
super();
}
public List<CDR> que... | true |
9a8c3cb459a6988265c2b994053c606f3f9d84fa | Java | osswangxining/iot-edge-greengrass | /iot-gateway/src/main/java/org/iotp/gateway/extensions/opc/OpcUaDevice.java | UTF-8 | 5,495 | 2.03125 | 2 | [
"Apache-2.0"
] | permissive | package org.iotp.gateway.extensions.opc;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.eclipse.milo.opcua.stack.core.types.builtin.DataValue;
import org.eclipse.milo.opcua.stack.core.types... | true |
4d8b72f91eca76984667225744d46263b2af0227 | Java | alternet/alternet.ml | /parsing/src/main/java/ml/alternet/parser/util/ComposedRule.java | UTF-8 | 1,764 | 2.84375 | 3 | [
"MIT"
] | permissive | package ml.alternet.parser.util;
import java.util.Optional;
import java.util.stream.Stream;
import ml.alternet.parser.Grammar.Rule;
/**
* Used for a rule that wraps another rule or that is a
* combination of several rules.
*
* There are 2 optimization axis :
* <ul>
* <li>Flattenization (horizontal optimizatio... | true |
98dd105d3aad1af432ccd0e47afa8c19b5d56071 | Java | tsalmela/SQAT_Exercise1 | /src/BowlingGame.java | UTF-8 | 1,552 | 3.4375 | 3 | [] | no_license | import java.util.ArrayList;
import java.util.List;
//Finish time:
//ID:
public class BowlingGame {
//a bowling game is made of (at least) 10 frames
private List<Frame> frames = new ArrayList<Frame>();
private Frame bonus;
public BowlingGame(){}
// adds a frame to the game
public void addFrame(... | true |
7f760e16ab62101c80601ddd5c0b34d37ca1d2aa | Java | jisang702/catdog | /catdog/src/main/java/com/sp/catdog/buyer/BuyerServiceImpl.java | UTF-8 | 1,236 | 2.09375 | 2 | [] | no_license | package com.sp.catdog.buyer;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.sp.catdog.common.dao.CommonDAO;
@Service("buyer.buyerService")
public class BuyerServiceImpl implements BuyerS... | true |
cffe8d2c117532e0434b6d0f7ceaca4e24f65d66 | Java | richard483/JavaGUI | /src/Login.java | UTF-8 | 3,359 | 2.859375 | 3 | [] | no_license | import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Vector;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane... | true |
54600c73a7254d1a98681b89ca6d45d7a627d333 | Java | dattaavinash/springbootsh2 | /sp-dbconc/src/main/java/com/example/spdbconc/exceptionHandilng/GlobalExceptionHandler.java | UTF-8 | 1,939 | 2.328125 | 2 | [] | no_license | package com.example.spdbconc.exceptionHandilng;
import java.util.Date;
import org.springframework.data.rest.webmvc.ResourceNotFoundException;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.MethodArgumentNotValidException;
import ... | true |
a99d6bd3d05ff51af6bde9e115abdb98b6d43f77 | Java | XJGamma/BookGamma | /app/src/main/java/cn/edu/xjtu/se/bookgamma/pretend/way_and_old_company/use_right_place/number_and_young_child/see_company/other_time/Big_place.java | UTF-8 | 613 | 2.609375 | 3 | [] | no_license |
package cn.edu.xjtu.se.bookgamma.pretend.way_and_old_company.use_right_place.number_and_young_child.see_company.other_time;
public class Big_place {
private int important_number;
private int different_number_and_few_fact;
public Big_place() {
important_number = 1428;
different_number_and_... | true |
d8b2927483e381c5155cef1e34aa97e332921ad3 | Java | TempleVillage/spgroup-kd-inspur-interface | /src/main/java/com/kingdee/service/impl/InvBalServiceImpl.java | UTF-8 | 1,709 | 2.234375 | 2 | [] | no_license | package com.kingdee.service.impl;
import com.kingdee.dao.InvBalMapper;
import com.kingdee.datasources.annotation.DataSource;
import com.kingdee.model.po.InvBal;
import com.kingdee.service.InvBalService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@Service
public class InvBalServi... | true |
39466017eef461961a9ef79fc805f9256d26103a | Java | umairabbas/s40-asha | /src/com/tenpearls/olaround/ui/forms/KicksForm.java | UTF-8 | 8,412 | 2.203125 | 2 | [] | no_license | package com.tenpearls.olaround.ui.forms;
import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Displayable;
import com.sun.lwuit.Button;
import com.sun.lwuit.Container;
import com.sun.lwuit.Font;
import com.sun.... | true |
cda841db2bf4a959b7f07d079ef8b0759710bf17 | Java | mohamadjaber/cbs-reinforcement-learning | /code/BIPRL/src/aub/edu/lb/bip/rl/cmd/CmdLineFactory.java | UTF-8 | 5,683 | 2.5625 | 3 | [] | no_license | package aub.edu.lb.bip.rl.cmd;
import aub.edu.lb.bip.rl.DefaultSettings;
import jcmdline.CmdLineHandler;
import jcmdline.FileParam;
import jcmdline.HelpCmdLineHandler;
import jcmdline.IntParam;
import jcmdline.Parameter;
import jcmdline.StringParam;
import jcmdline.VersionCmdLineHandler;
public class CmdLineFactor... | true |
50f9ec554d6a01e7b004f5ff292f494a2dc18041 | Java | busycount/adapter-rv | /library/src/main/java/com/busycount/rvadapter/diff/IDiffCallback.java | UTF-8 | 1,102 | 2.296875 | 2 | [] | no_license | package com.busycount.rvadapter.diff;
import android.support.v7.util.DiffUtil;
import com.busycount.rvadapter.IList;
import java.util.List;
/**
* Use DiffUtil.Callback with IDiffComparable
*
* @see IDiffComparable
* <p>
* 2018/11/19 | Count.C | Created
*/
public class IDiffCallback<T extends IDiffComparable... | true |
5364846b3eade60a92645764240c0574ea876365 | Java | linlangli/library_server | /src/main/java/io/github/grooters/seatOccupied/tool/CheckCoder.java | UTF-8 | 6,245 | 2.703125 | 3 | [] | no_license | package io.github.grooters.seatOccupied.tool;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import org.apache.http.impl.client.HttpClients;
import... | true |
b7a9572ace976fbe0062c40b45cb9f9af62fbce5 | Java | Romlengrd/Task_2.5 | /src/com/company/Student.java | UTF-8 | 978 | 2.875 | 3 | [] | no_license | package com.company;
import java.util.Arrays;
public class Student <T> {
private String name;
private int[] groupID;
private T[] mark;
public Student() {
}
public Student(String name, int[] groupID, T[] mark) {
this.name = name;
this.groupID = groupID;
this.mark= mark... | true |
814510f115b7a1e947af7a112dc11ef7113648fd | Java | Spencer-Ross/TicTacToe | /src/GamePanel.java | UTF-8 | 5,027 | 3.1875 | 3 | [] | no_license | import java.awt.Color;
import java.awt.Graphics;
//import javax.swing.JLabel;
import javax.swing.JPanel;
/**
* This Class extends the JPanel class
* and will create a Hash game board
* for TicTacToe.
* This class can draw X or O and
* keeps track of the game's state
* @author Spencer Ross
*
*/
public class G... | true |
851d0bd562f6f5a4cb65e15cd53f743ba6ec25b1 | Java | vidyanarayanan/academic | /ctc/src/com/vn/util/HierarchicalListPopulator.java | UTF-8 | 507 | 2.359375 | 2 | [
"Apache-2.0"
] | permissive | package com.vn.util;
import com.vn.ds.HierarchicalList;
import java.nio.file.Files;
import java.nio.file.Paths;
/**
* Created by i841928 on 12/8/16.
*/
public class HierarchicalListPopulator<E> {
private HierarchicalList<E> hl;
public HierarchicalListPopulator() {
}
public static void main(String... | true |
e58acd305d294366eaa3f1be9d098fa3dd9997a8 | Java | Letractively/wisematches.temp | /modules/services/src/test/java/billiongoods/server/services/address/impl/HibernateAddressBookManagerTest.java | UTF-8 | 3,432 | 2.234375 | 2 | [] | no_license | package billiongoods.server.services.address.impl;
import billiongoods.core.Member;
import billiongoods.core.Passport;
import billiongoods.core.account.*;
import billiongoods.core.account.impl.HibernateAccountManager;
import billiongoods.server.services.address.AddressBook;
import billiongoods.server.services.a... | true |
df2f72ce5a4590efe52691a4ace4f140d7b3b834 | Java | kskalvar/eCongress-AndroidStudio | /app/src/main/java/com/mycompany/app/econgress/LegislatorObject.java | UTF-8 | 3,186 | 2.609375 | 3 | [
"MIT"
] | permissive | package com.mycompany.app.econgress;
import android.util.SparseArray;
import java.util.HashMap;
public class LegislatorObject {
private SparseArray<HashMap<String, String>> legislators = null;
private HashMap<String, String> legislator = null;
public LegislatorObject() {
}
String getLegislator(int iter) {
... | true |
6fc038ce192b1168ea3edd22746bd51b6978cadf | Java | obinnamaduabum/lims_backend | /service/src/main/java/com/hertfordshire/service/mongodb/NotificationCountMongoDbServiceImpl.java | UTF-8 | 3,144 | 2.046875 | 2 | [] | no_license | package com.hertfordshire.service.mongodb;
import com.hertfordshire.model.mongodb.NotificationCountMongoDb;
import com.hertfordshire.model.psql.PortalUser;
import com.hertfordshire.dao.mongodb.NotificationCountMongodbDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereo... | true |
3779aebeef2656d38d5a8b64b758591cfddb5be8 | Java | WangYG3022/java-study | /basic-knowledge/src/main/java/com/wang/study/jdk8/FuncInterface2.java | UTF-8 | 303 | 2.53125 | 3 | [] | no_license | package com.wang.study.jdk8;
/**
* @description:
* @author: WANG Y.G.
* @time: 2020/04/16 10:57
* @version: V1.0
*/
@FunctionalInterface
public interface FuncInterface2<T, R> {
/**
* 两个数值运算
* @param t1
* @param t2
* @return
*/
R calculate(T t1, T t2);
}
| true |
2af5aa08737ee9fc3cf68fa3707b6c99c721fa43 | Java | yuhangcai96/final-project | /src/main/java/OrderArray.java | UTF-8 | 657 | 2.9375 | 3 | [] | no_license | import java.util.ArrayList;
/*
* 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 Danny
*/
public class OrderArray extends ArrayList{
static ArrayList<Order> orders;... | true |
0bd24405a968d189434c2552af7d49fc16d3ffa2 | Java | DraganovMartin/VertxVendingMachine | /src/main/java/Launcher.java | UTF-8 | 354 | 1.859375 | 2 | [] | no_license | import io.vertx.core.Vertx;
import verticles.database.DBVerticle;
import verticles.server.VendingVerticle;
public class Launcher extends io.vertx.core.Launcher {
public static void main(String[] args) {
Vertx vertx = Vertx.vertx();
vertx.deployVerticle(new VendingVerticle());
vertx.deployVe... | true |
d7f19d9e57a7ea957138d2bb51175dad13557d90 | Java | lethean-kun/model | /distribution-api-dto/src/main/java/com/uhetrip/api/dto/UheRtPricingRsp.java | UTF-8 | 4,734 | 1.945313 | 2 | [] | no_license | package com.uhetrip.api.dto;
import java.util.List;
import com.uhetrip.api.dto.common.ErrorInfo;
import com.uhetrip.api.dto.common.FlightDetail;
import com.uhetrip.api.dto.common.PsgPriceInfo;
import com.uhetrip.api.dto.common.UheRsp;
public class UheRtPricingRsp extends UheRsp {
private ErrorInfo errorInfo;
... | true |
8a8e2fafd754aa57b89a50e23f34b3973ebebb2a | Java | yuweiw823/algorithm-practice | /Leetcode 134 - Gas Station.java | UTF-8 | 463 | 2.375 | 2 | [] | no_license | Leetcode 134 - Gas Station.java
public class Solution {
public int canCompleteCircuit(int[] gas, int[] cost) {
int total = 0;
int sum = 0;
int p = -1;
for(int i=0; i<gas.length; i++){
int diff = gas[i] - cost[i];
sum += diff;
total += dif... | true |
370b38f3402aa0d869dcec36c43e097af943a6eb | Java | phamngocduy98/android-tripgether-app | /app/src/main/java/cf/bautroixa/tripgether/model/types/TimestampPublic.java | UTF-8 | 434 | 2.1875 | 2 | [] | no_license | package cf.bautroixa.tripgether.model.types;
public class TimestampPublic {
public long _seconds;
public int _nanoseconds;
com.google.firebase.Timestamp firebaseTimestamp;
public com.google.firebase.Timestamp toFirebaseTimestamp() {
if (firebaseTimestamp == null) {
firebaseTimestam... | true |
baad5659067de0380faf94669adcc90a919627ee | Java | Coooder-X/olalaShoppingCar | /src/main/java/com/goktech/olala/server/pojo/customer/CtmGoodsinformation.java | UTF-8 | 564 | 1.96875 | 2 | [] | no_license | package com.goktech.olala.server.pojo.customer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CtmGoodsinformation {
private String goodName;
private long goodID;
public String getGoodName() {
return ... | true |
238257103282bcd3661f35e267a2513335f2379b | Java | whfish/Inspection | /Inspection/app/src/main/java/com/demo/inspection/ui/system/SystemAddActivity.java | UTF-8 | 5,010 | 2.125 | 2 | [] | no_license |
/**
* @ProjectName: Inspection
* @Package: com.demo.inspection
* @ClassName: SystemAddActivity
* @Description:添加系统数据至系统列表
* @Author: 张文普
* @CreateDate: 2019/11/6 9:37
* @UpdateUser: 更新者:
* @UpdateDate: 2019/11/6 9:37
* @UpdateRemark: 更新说明:
* @Version: 1.0
*/
package com.demo.inspection.ui.system;
import a... | true |
c9ca46a0db071aef91e6d2e3df9ce63696173425 | Java | yueheng-li/poc | /judge/judge-dao/src/main/java/cn/judge/shizai/entity/ReceiptInfo.java | UTF-8 | 2,063 | 1.914063 | 2 | [] | no_license | package cn.judge.shizai.entity;
public class ReceiptInfo extends BaseEntity{
// id
private String id;
// receipt type id
private String category_id;
// receipt type name
private String category_name;
// 価格
private String amount;
// 日付
private String date;
// receipt name
private String name;
// expense a... | true |
ded5cdcaffd301ecf6f0d2b30bf31edc7ed01e5d | Java | xiaozi7912/Android-TW-CWB | /app/src/main/java/com/xiaozi/taiwan/cwb/model/CityModel.java | UTF-8 | 564 | 1.96875 | 2 | [] | no_license | package com.xiaozi.taiwan.cwb.model;
import org.json.JSONObject;
/**
* Created by xiaoz on 2017-10-16.
*/
public class CityModel extends RootModel {
public String name = null;
public String dataId2 = null;
public String dataId7 = null;
public CityModel() {
super();
}
public CityMo... | true |
3f33249ef7c51e80a120f06fd9b024f50c51a548 | Java | wagnerrodrigo/aquitetura-de-projetos | /Ecommerce/src/ecommerce/ConteudoCarrinho.java | UTF-8 | 925 | 2.65625 | 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 ecommerce;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
*
* @author alunoces
*/
publi... | true |
8204cf61c8a258ff17090f2a8845fbfbd96dd8e5 | Java | junglesung/TestActionBar | /app/src/main/java/com/vernonsung/android/testactionbar/TwoFragment.java | UTF-8 | 3,126 | 2.453125 | 2 | [] | no_license | package com.vernonsung.android.testactionbar;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.app.Fragment;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
impo... | true |
c34b9e76e833a72e6feae6edf57525b8cc811f2c | Java | akarsic1/rpr-t1-z4 | /test/com/company/StudentTest.java | UTF-8 | 285 | 2.484375 | 2 | [] | no_license | package com.company;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class StudentTest {
@Test
void medo() {
Student amel = new Student("Amel", "Karšić", 17338);
assertEquals("Amel Karšić (17338)", amel.toString());
}
} | true |
9e0e0277e8c15d0184444772520388b162e2252d | Java | srikrishnaraghava/ishacrmserver | /src/main/java/crmdna/calling/CallAssignmentResult.java | UTF-8 | 343 | 2.25 | 2 | [] | no_license | package crmdna.calling;
import java.util.Map;
import java.util.Set;
/**
* Created by sathya on 24/7/15.
*/
public class CallAssignmentResult {
Map<Long, Set<Long>> userIdVsMemberIds;
Set<Long> unassignedMembers;
boolean allMembersAssigned() {
return (unassignedMembers == null) || unassignedMemb... | true |
79082ced01e159ca05c1122e55562b28dcf02cf9 | Java | princewillzz/codeforces | /contest/OddSelection1363A.java | UTF-8 | 741 | 3.25 | 3 | [] | no_license | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class OddSelection1363A {
public static void main(String argv[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int t = Integer.parseInt(br.readLine());
while (t-- ... | true |
35f697c022a64ecea1377199082d4a607a65fa47 | Java | Aggidevara/java | /Totalinput.java | UTF-8 | 239 | 2.640625 | 3 | [] | no_license | import java.util.Scanner;
public class Totalinput {
public int totalInput(int[] input){
int[] s1=input;
int sum=0;
for(int i=0;i<s1.length;i++){
sum=sum+s1[i];
}
return sum;
}
}
| true |
4a97b102f43ae815d245e50408db08e25a2d48ed | Java | akasjain/datastructure | /TechAJain/src/ds/tree/MirrorTree.java | UTF-8 | 690 | 3.453125 | 3 | [] | no_license | package ds.tree;
public class MirrorTree {
static Node mirror(Node node) {
if(node == null)
return node;
Node left = mirror(node.left);
Node right = mirror(node.right);
node.left = right;
node.right = left;
return node;
}
p... | true |
71141062eee14cc0546fc395828b3e77e5796281 | Java | faikturan/ecommerce | /backend/faker/src/main/java/org/ashina/ecommerce/faker/configuration/mongo/CustomerRepositoryConfiguration.java | UTF-8 | 418 | 1.6875 | 2 | [] | no_license | package org.ashina.ecommerce.faker.configuration.mongo;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;
@Configuration
@EnableMongoRepositories(
basePackages = "org.ashina.ecommerce.faker.repository.customer",
... | true |
b76fa64cd67257f0aaea14e515400d9ebc37410c | Java | coolhy123/holy_buddha | /src/main/java/com/hydu/services/impl/UserServiceImpl.java | UTF-8 | 442 | 1.546875 | 2 | [] | no_license | package com.hydu.services.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hydu.entity.User;
import com.hydu.mapper.UserMapper;
import com.hydu.services.IUserService;
import org.springframework.stereotype.Service;
/**
* <p>
* 服务实现类
* </p>
*
* @author jobob
* @since 2020-06-... | true |
6dab4b97b6f7c4338c14e03fd350fdf6bb8dd897 | Java | twolfe18/tutils | /src/main/java/edu/jhu/hlt/tutils/ProductIndex.java | UTF-8 | 6,000 | 2.5 | 2 | [] | no_license | package edu.jhu.hlt.tutils;
import java.io.Serializable;
import java.util.Comparator;
import edu.jhu.hlt.tutils.hash.Hash;
import edu.jhu.hlt.tutils.hash.MurmurHash3;
public class ProductIndex implements Serializable {
private static final long serialVersionUID = 8195810997213491777L;
public static final int SE... | true |
5b7e08bbdb1923bc4399fb7b9185e31d8b6df9ec | Java | kbklin/leetcode | /src/main/java/org/forrestlin/jianzhioffer/L21IsPopOrder.java | UTF-8 | 1,291 | 3.671875 | 4 | [] | no_license | package org.forrestlin.jianzhioffer;
import java.util.Stack;
/**
* @program: leetcode
* @description: 栈的压入、弹出序列
* @author: forrestlin
* @create: 2019-11-12 17:55
* <p>
* 输入两个整数序列,第一个序列表示栈的压入顺序,请判断第二个序列是否可能为该栈的弹出顺序。假设压入栈的所有数字均不相等。例如序列1,2,3,4,5是某栈的压入顺序,序列4,5,3,2,1是该压栈序列对应的一个弹出序列,但4,3,5,1,2就不可能是该压栈序列的弹出序列。(注意:这两个序... | true |
8874c42446ce4ccc5a60a77ecb3dfef057a1f466 | Java | tian029/2014011303 | /AlarmClocks/app/src/main/java/com/example/alana/alarmclocks/MainActivity.java | UTF-8 | 10,144 | 1.835938 | 2 | [] | no_license | package com.example.alana.alarmclocks;
import android.app.AlarmManager;
import android.app.AlertDialog;
import android.app.PendingIntent;
import android.content.ContentValues;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import a... | true |
342778d0578aee5ddf1532b3e21b5d5727d4c176 | Java | hyperfit/hyperfit | /hyperfit/src/main/java/org/hyperfit/net/ResponseInterceptor.java | UTF-8 | 253 | 2.046875 | 2 | [
"MIT"
] | permissive | package org.hyperfit.net;
/**
* Intercept response.
* @deprecated create a custom step in the Response to HyperResource pipeline to intercept responses
*/
@Deprecated
public interface ResponseInterceptor {
void intercept(Response response);
}
| true |
6127d2ed8d4e097b0a05383a7c182b2fc7aa22db | Java | theSmokingFrog/javaPlayground | /src/main/java/de/hef/nhoffmann/hackerorg/challenges/web/LoremIpsum.java | UTF-8 | 1,701 | 2.921875 | 3 | [] | no_license | package de.hef.nhoffmann.hackerorg.challenges.web;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;
/**
* @author Nils Hoffmann
* Created on 30.09.2017
*/
public class LoremIpsum
{
public sta... | true |
b60456a9617e55ceaa7686685da828f062221668 | Java | aabdrasheva/client-server | /Server/src/Server.java | UTF-8 | 5,079 | 2.90625 | 3 | [] | no_license | import javax.swing.*;
import java.awt.*;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.zip.ZipInputStream;
public class Server extends JFrame {
JT... | true |
88fae5a208b6d59e867853f537b78dd050a324da | Java | jaehyok/helloMessage | /HelloMessage_APIServer/src/team/hellobro/gw/api/transform/ResponseContents.java | UTF-8 | 793 | 2.171875 | 2 | [] | no_license | package team.hellobro.gw.api.transform;
public class ResponseContents
{
private String messageId;
private String gatewayId;
private String resultCode;
public String getMessageId()
{
return messageId;
}
public void setMessageId(String messageId)
{
this.messageId = messageId;
}
p... | true |
f48b81511574f2d2f20f28cedd644a3f8c1313d2 | Java | uppalavijaygit/FunBooskandVideosApplication | /src/main/java/com/fun/boos/videos/daoImpl/FunBooksAndVediosDaoImpl.java | UTF-8 | 546 | 2.1875 | 2 | [] | no_license | package com.fun.boos.videos.daoImpl;
import com.fun.boos.videos.dao.FunBooksAndVediosDao;
import com.fun.boos.videos.request.PurchaseOrderRequest;
import com.fun.boos.videos.response.Address;
public class FunBooksAndVediosDaoImpl implements FunBooksAndVediosDao {
public boolean activateCustiomerAccount(PurchaseOrde... | true |
089fa4317d56d427de85bb373688d532d4901939 | Java | yukihane/cit_bach | /src/main/java/v1/Parameter.java | UTF-8 | 2,625 | 3.109375 | 3 | [] | no_license | package v1;
import java.util.*;
public class Parameter {
public String name;
public List<String> value_name = new LinkedList<String>();
Parameter(String name) {
this.name = name;
}
void addName(String name) {
value_name.add(name);
}
// 値名の重複のチェック 重複していればエラー
void check() {
if (value_... | true |
fdc771096c6128c00224f605d4dd03ce3b515368 | Java | yaminiratnambevara/Practice-Programs | /Ex5.java | UTF-8 | 748 | 3.171875 | 3 | [] | no_license | package database;
import java.util.Scanner;
public class Ex5 {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner in=new Scanner(System.in);
int a=in.nextInt();
int x=0;
int arr[]=new int[a];
for(int i=0;i<a;i++)
{
arr[i]=in.nextInt();
}
int b... | true |
a78954f4530a744d3e33a1be51c29a88513d43ce | Java | Gautam-ankit/Namami_Serverside | /Namami_Serverside/src/main/java/com/namami/api/CustomBattleAPI.java | UTF-8 | 1,434 | 2.203125 | 2 | [] | no_license | package com.namami.api;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.CrossOrigin;... | true |
a87f317d9138679d79847484b5da4e0c18a1a652 | Java | L00113302/GUI_Revision | /Practical3_F.java | UTF-8 | 4,353 | 3.34375 | 3 | [] | no_license | import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;
import java.awt.GridLayout;
import java.awt.BorderLayout;
import javax.swing.border.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.JScrollPane;
// Practical2B_D IS-A JFrame ==> Inheritance
pub... | true |
fee5aaa92e09c1e20676e728db702fa417f15395 | Java | mcuri/TRAB-PCS | /trab-pcs/src/br/com/pcs/curso/service/FindAluno.java | ISO-8859-1 | 2,220 | 2.875 | 3 | [] | no_license | package br.com.pcs.curso.service;
import java.util.List;
import java.util.Map;
import java.util.Set;
import br.com.pcs.curso.model.Aluno;
import br.com.pcs.curso.model.Curso;
import br.com.pcs.curso.model.Turma;
public class FindAluno {
public Aluno find(String matricula, Curso curso) {
/* Nome... | true |
a78ba08bd144a94069d76a579e05dd362db5d48a | Java | rtanalytics/MoneyAsWord | /src/main/java/vn/rta/moneyaswords/core/languages/russian/RussianCurrencyValues.java | UTF-8 | 3,340 | 2.390625 | 2 | [
"Apache-2.0"
] | permissive | package vn.rta.moneyaswords.core.languages.russian;
import vn.rta.moneyaswords.core.languages.CurrencyBaseValues;
import vn.rta.moneyaswords.core.languages.GenderForms;
import vn.rta.moneyaswords.core.languages.GenderType;
import vn.rta.moneyaswords.core.languages.shared.SlavonicPluralForms;
import vn.rta.moneyaswords... | true |
56a5e0f51d256d78404cfe03e40bb05b62eebc4c | Java | erhanmert/openpayd | /src/main/java/com/openpayd/openpayd/controller/TransactionController.java | UTF-8 | 2,002 | 2.328125 | 2 | [] | no_license | package com.openpayd.openpayd.controller;
import com.openpayd.openpayd.dto.TransactionDTO;
import com.openpayd.openpayd.exception.AccountNotFoundException;
import com.openpayd.openpayd.mapper.TransactionMapper;
import com.openpayd.openpayd.service.TransactionService;
import org.mapstruct.factory.Mappers;
import org.sp... | true |
ea0740d7ebd1e26528d976bea61a02f770fa20f3 | Java | LostKe/nosqleye | /src/main/java/cn/org/openwork/nosql/bean/RedisStatusHistory.java | UTF-8 | 8,466 | 1.773438 | 2 | [] | no_license | package cn.org.openwork.nosql.bean;
import java.io.Serializable;
import java.util.Date;
public class RedisStatusHistory implements Serializable {
private Long id;
private Long serverId;
private String connectedClients;
private String blockedClients;
private String usedMemory;
... | true |
ffa07072a0a543f3ebf0565187f996d17b6b5a03 | Java | nekdenis/piquest | /piquest_player/src/main/java/server/protocol/Command.java | UTF-8 | 428 | 1.914063 | 2 | [] | no_license | package server.protocol;
public class Command {
public static final String COMMAND_PLAY = "PLAY";
public static final String COMMAND_FINISHED_INTRO = "FINISHED_INTRO";
public static final String COMMAND_FINISHED_GAME = "FINISHED_GAME";
public static final int VALUE_PLAY_INTRO_VIDEO = 0;
public sta... | true |
26b05e72655f298fd83ceb76a4df5269647c6e38 | Java | mooseIre/arsc_compare | /MiuiSystemUI/raphael/systemui/broadcast/ActionReceiver$onReceive$1$$special$$inlined$forEach$lambda$1.java | UTF-8 | 1,328 | 1.765625 | 2 | [] | no_license | package com.android.systemui.broadcast;
import android.content.BroadcastReceiver;
import com.android.systemui.broadcast.logging.BroadcastDispatcherLogger;
/* compiled from: ActionReceiver.kt */
final class ActionReceiver$onReceive$1$$special$$inlined$forEach$lambda$1 implements Runnable {
final /* synthetic */ Re... | true |
e0aea71c0823a0463ac5c3048465895c50a0a82d | Java | FredJul/AndroidQuery | /android-query-models/src/main/java/net/frju/androidquery/models/Image.java | UTF-8 | 2,722 | 2.421875 | 2 | [
"Apache-2.0"
] | permissive | package net.frju.androidquery.models;
import android.content.ContentResolver;
import android.net.Uri;
import android.os.Build;
import android.provider.MediaStore;
import android.support.annotation.RequiresApi;
import net.frju.androidquery.annotation.DbField;
import net.frju.androidquery.annotation.DbModel;
@DbModel(... | true |
86765daea725c028d21998ebde420736694a3e6b | Java | pzinsta/spring-mvc-hibernate-crud | /src/main/java/com/pzinsta/crud/dao/impl/CustomerDAOImpl.java | UTF-8 | 1,747 | 2.328125 | 2 | [] | no_license | package com.pzinsta.crud.dao.impl;
import java.util.List;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaDelete;
import javax.persistence.criteria.CriteriaQuery;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.query.Query;
import o... | true |
3ed3407a99609a4d62f1e2b9ad6a577ccc3e85a7 | Java | AlfonsoMartinezBern/00230056-gal-plus | /SPAIN_TD_CustomerProvision/src/main/java/com/telefonica/gal/SPAIN_TD_CustomerProvision/api/ApiCustomerProvisionService.java | UTF-8 | 345 | 1.640625 | 2 | [] | no_license | package com.telefonica.gal.SPAIN_TD_CustomerProvision.api;
import com.telefonica.gal.customerProvision.response.CUSTOMERPROVISIONRESPONSE;
import org.springframework.http.ResponseEntity;
public interface ApiCustomerProvisionService {
ResponseEntity<CUSTOMERPROVISIONRESPONSE> apiCustomersProvision(String xml_reque... | true |
59067a2d213ff42971ad86f8998233b9817e2e4c | Java | google-code/biblestudio | /Java/BibleStudio/src/org/biblestudio/client/db/sql/SqlTransaction.java | UTF-8 | 827 | 2.609375 | 3 | [] | no_license | package org.biblestudio.client.db.sql;
import java.sql.Connection;
/**
*
* @author Israel Chapa
* Creation Date: 19/07/2011
*/
public class SqlTransaction {
protected SqlDbEngine engine;
protected Connection conn;
public SqlTransaction(SqlDbEngine engine) {
this.engine = engine;
}
pub... | true |
44ba0f0c1f4630c297ad6942acfd0b2a8c8767e8 | Java | mazzola/BlueJacket | /src/com/bluejacket/retailapp/ExploreFragment.java | UTF-8 | 3,806 | 2.359375 | 2 | [] | no_license | package com.bluejacket.retailapp;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View... | true |