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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
cd45947c38274a6d6bc4eab0127d0e74cd6eca86 | Java | haoyu-liu/crack_WeMo | /wemo_apk/java_code/com/almworks/sqlite4java/SWIGTYPE_p_sqlite3_blob.java | UTF-8 | 700 | 1.8125 | 2 | [] | no_license | package com.almworks.sqlite4java;
class SWIGTYPE_p_sqlite3_blob
{
private long swigCPtr;
protected SWIGTYPE_p_sqlite3_blob()
{
this.swigCPtr = 0L;
}
protected SWIGTYPE_p_sqlite3_blob(long paramLong, boolean paramBoolean)
{
this.swigCPtr = paramLong;
}
protected static long getCPtr(SWIG... | true |
2aab0fc85b6f35ee69e9af53ede53ba23b219c55 | Java | bboyblue195/wikidota2 | /src/bean/Phong.java | UTF-8 | 1,116 | 2.390625 | 2 | [] | no_license | package bean;
public class Phong {
private String maPhong;
private String tenPhong;
private String maKhuVuc;
private String tenKhuVuc;
private int mucGia;
public Phong() {
super();
}
public Phong(String maPhong, String tenPhong, String maKhuVuc, String tenKhuVuc, int mucGia) {
super();
this.... | true |
b249253a542d9272074f95e5010ae4171be3a58d | Java | FASTTRACKSE/FFSE1704.JavaWeb | /FFSE1704006_MinhTQ/quanlyautomoeny/src/codemaster/servlet/entity/SavingAccount.java | UTF-8 | 1,157 | 2.921875 | 3 | [] | no_license | package codemaster.servlet.entity;
public class SavingAccount extends Account {
private double interest;
private int term;
public SavingAccount() {
super();
}
public SavingAccount(String accountNo, String ownerName, double amount, int accountType, double interest,
int term) {
super(accountNo, ownerName, ... | true |
f8d913661e9824262331f35733ebce39b6a2085b | Java | VLoye/shopping | /src/main/Java/com/team6/controller/ShopController.java | UTF-8 | 1,636 | 2.046875 | 2 | [] | no_license | package com.team6.controller;
import com.alibaba.fastjson.JSON;
import com.sun.org.apache.regexp.internal.RE;
import com.team6.service.login.LoginService;
import com.team6.service.shop.ShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import o... | true |
442ab8c82ec42576c9c15b84db8a7965f5a4325a | Java | harshac/biblioteca | /test/com/twu28/biblioteca/TestSpecificConsole.java | UTF-8 | 1,310 | 2.65625 | 3 | [] | no_license | package com.twu28.biblioteca;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.*;
import static junit.framework.Assert.assertEquals;
/**
* Created with IntelliJ IDEA.
* User: hp
* Date: 7/15/12
* Time: 5:29 PM
* To change this template use File | Settings | File Templates.... | true |
4796c3b7c166736724b2611e7b82677ea29b88f5 | Java | avelov42/aloa | /core/src/com/avelov/Frontend/Screens/ScreenFade.java | UTF-8 | 3,293 | 2.625 | 3 | [] | no_license | package com.avelov.Frontend.Screens;
import com.avelov.Aloa;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.utils.TimeUtils;
import com.badlogic.gdx.utils.viewport.ScreenViewport;
import com.badlogic.gdx.utils.viewport.... | true |
ab545b8dcf1367213244259d4a38c9baa3283c5c | Java | ali-irawan/aop-example | /src/main/java/com/aliirawan/aopexample/employee/bo/EmployeeBo.java | UTF-8 | 259 | 1.976563 | 2 | [] | no_license | package com.aliirawan.aopexample.employee.bo;
public interface EmployeeBo {
public void addEmployee();
public String addEmployeeWithReturn();
public void addEmployeeWithException() throws Exception;
public void addEmployeeAround(String name);
}
| true |
1ab7c417c6df2056c3cda3f3b87b9a274fa989a3 | Java | shaotime/Meet-a-Sweedt | /app/MeetASweedt/app/src/main/java/com/untitledapps/meetasweedt/Matches2Activity.java | UTF-8 | 625 | 1.984375 | 2 | [] | no_license | package com.untitledapps.meetasweedt;
import android.widget.ListView;
import java.util.ArrayList;
import static com.untitledapps.meetasweedt.R.id.matchesList;
/**
* Created by User on 10/12/2016.
*/
public class Matches2Activity {
ListView listView;
@Override
protected void onCreate{
super.o... | true |
30749199e40db00c0f1829e2554317d5943d5b08 | Java | AndersonFCanel/JavaPassoAPasso | /Basico Passo a passo/j_arrays/Exemplos/C_ImprimindoUmArrayFormatado.java | UTF-8 | 445 | 3.609375 | 4 | [
"Apache-2.0"
] | permissive | package j_arrays.Exemplos;
public class C_ImprimindoUmArrayFormatado {
public static void main(String[] args) {
double[] vet;
int i;
vet = new double[3];
vet[0] = 2.1;
vet[1] = 3.4;
vet[2] = 4.7;
System.out.print("vet = { ");
fo... | true |
6bf945404c9fc727cb20150ee832348b5faf58bf | Java | bbelovic/ticket-tracker | /src/test/java/org/bbelovic/tickettracker/domain/TicketStatisticsTest.java | UTF-8 | 1,688 | 2.859375 | 3 | [] | no_license | package org.bbelovic.tickettracker.domain;
import org.junit.Test;
import java.math.BigDecimal;
import java.time.YearMonth;
import java.util.*;
import static java.math.BigDecimal.ZERO;
import static org.junit.Assert.assertTrue;
public class TicketStatisticsTest {
@Test
public void
equals_implementation_... | true |
a0cabe4beb8558a853b31ff9b96ccde07f2284c6 | Java | xiaojialun/demoServer | /src/main/java/com/demo/Dao/userDao.java | UTF-8 | 481 | 1.898438 | 2 | [] | no_license | package com.demo.Dao;
import grpc.demo.login.User;
import java.util.List;
/**
* Created by xjl on 2017/10/24.
*/
public interface userDao {
public boolean addUser(User user);
public boolean delUser(int id);
public boolean upUser();
public List<User> QuerryAllUser();
public int userCount();
... | true |
025f221eb02f12616c31991db82197bfbb8fc5fd | Java | dangparra/TiendaGenerica | /src/main/java/modelo/clientesDTO.java | UTF-8 | 1,490 | 2.453125 | 2 | [] | no_license | package modelo;
public class clientesDTO {
private Long cc_cliente;
private String dir_cliente;
private String email_cliente;
private String nombre_cliente;
private String telefono_cliente;
// Conctructor cc_cliente
public clientesDTO(Long cc_cliente) {
super();
this.cc_cliente = cc_cliente;
}
... | true |
bc5d006b2001c68fe4601017c3eab0ed686419f3 | Java | sun09221/leshuo | /XGS2/app/src/main/java/com/example/feng/xgs/main/find/shop/cart/ShopCartActivity.java | UTF-8 | 14,186 | 1.570313 | 2 | [] | no_license | package com.example.feng.xgs.main.find.shop.cart;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.View;
import ... | true |
4a4176c16f185950c321fb8d108b87e9b5d0ad01 | Java | kmamit5296/Banking-Management-System | /src/StartBank.java | UTF-8 | 520 | 1.960938 | 2 | [] | no_license | import working.*;
import javax.swing.LookAndFeel;
import javax.swing.UIManager;
import GUI.AdminChangePassword;
import GUI.CreateAdmin;
public class StartBank{
public static void main(String v[]){
try{
UIManager.LookAndFeelInfo l1[]=UIManager.getInstalledLookAndFeels();
... | true |
bef1875beeb3a2e8d5dfe991058efc3868b0e29a | Java | wuyuxiang627/quyue | /LibUI/src/main/java/com/gm/utils/ILogLifeCycle.java | UTF-8 | 169 | 1.742188 | 2 | [] | no_license | package com.gm.utils;
/**
* Created by PC005 on 2017/11/28.
*/
public interface ILogLifeCycle {
boolean getLogEnabled();
void logLifeCycle(String var2);
}
| true |
a043d1ab3018c7ad7a5265c22696400d61996b99 | Java | weltond/DataStructure | /Head First Servlet and JSP/Chapter3/src/com/example/web/BeerSelect.java | UTF-8 | 1,894 | 2.78125 | 3 | [] | no_license | package com.example.web;
import com.example.model.BeerExpert;
import sun.misc.Request;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import jav... | true |
e7189c1b841bb82a9f356aee9411eb678472651c | Java | PolinaKhainson/PersonXML | /src/personXML/configuration/PersonList.java | UTF-8 | 2,131 | 2.59375 | 3 | [] | no_license | package personXML.configuration;
import myFiler.MyFiler;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import javax.xml.bind.Unmarshaller;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.... | true |
c9102f280681faa425f8b7f8335a5c22d613b29f | Java | PhilRev/ProjectOneTRMS | /projectOne/src/test/java/dev/crane/runners/ProjectOneRunner.java | UTF-8 | 879 | 1.953125 | 2 | [] | no_license | package dev.crane.runners;
import java.io.File;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import dev.crane.p... | true |
449494f084d8fc6836ca3788e3a948021d9aa824 | Java | liu6tot/AlgorithmsSolutions | /src/me/zonglun/leetcode/linkedList/question160/IntersectionOfTwoLinkedLists.java | UTF-8 | 2,003 | 3.90625 | 4 | [] | no_license | package me.zonglun.leetcode.linkedList.question160;
import me.zonglun.SwordToOffer.util.ListNode;
import java.util.HashSet;
import java.util.Set;
/**
* 求两个链表的相交的节点
*
* @author : Administrator
* @create 2018-08-27 16:00
* @subject :
* <p>
* 编写一个程序,找到两个单链表相交的起始节点。
* <p>
* <p>
* <p>
* 例如,下面的两个链表:
A: ... | true |
030fb644c77f922851e394b1344b9b0b95af170d | Java | chavantr/ExampleLRForD | /app/src/main/java/ve/com/abicelis/remindy/app/adapters/AttachmentAdapter.java | UTF-8 | 6,758 | 2.296875 | 2 | [
"MIT"
] | permissive | package ve.com.abicelis.remindy.app.adapters;
import android.app.Activity;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import java.security.InvalidParameterException;
import java.util.List;
import ve.com.abicelis.remindy.R;
import ve.com.abicelis.... | true |
3c759e39bf3502477fae2659ff9c32da313f0c89 | Java | xrealm/tiktok-src | /sources/com/bytedance/android/live/broadcast/widget/C3092ak.java | UTF-8 | 513 | 1.773438 | 2 | [] | no_license | package com.bytedance.android.live.broadcast.widget;
import com.bytedance.android.livesdkapi.depend.model.live.LiveMode;
/* renamed from: com.bytedance.android.live.broadcast.widget.ak */
public final /* synthetic */ class C3092ak {
/* renamed from: a */
public static final /* synthetic */ int[] f9564a;
... | true |
fbdacd86321251a7ca8158afad2bf07e91e2bc32 | Java | DreamBlack/leetcode | /linearlist/SetMatrixZero.java | GB18030 | 2,481 | 3.96875 | 4 | [] | no_license | package linearlist;
public class SetMatrixZero {
public static void main(String[] args) {
// TODO Auto-generated method stub
}
public static void setZeroes(int[][] matrix) {
/*
* էһܼ һspaceO(m*n) һͬľȱһ¼ӦijλԪǷΪ0
* ٴαͬʱݼ¼еֵɾӦк spaceO(m+n) ֱһΪmͳΪn飬һ¼Ҫɾкźк
* ¼ɾԭжӦк spaceO(1)
* ܴﵽԭزء벻֮ǰҲûƵ⣬ֻȿ˼ô šðɡ
... | true |
440c0ebf45889538c85addc0d736bbab2324157f | Java | 514687572/exchange | /common/src/main/java/com/cmd/exchange/common/rongHub/UserRegister.java | UTF-8 | 2,127 | 2.1875 | 2 | [] | no_license | package com.cmd.exchange.common.rongHub;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.cmd.exchange.common.rongHub.model.UserModel;
import com.cmd.exchange.common.rongHub.result.TokenResult;
import com.cmd.exchange.common.rongHub.util.GsonUtil;
import com.cmd.exchange.common.rong... | true |
dddf01136492af61712299eab677e6497835b859 | Java | codejq/UpecFaceRecognition | /app/src/main/java/com/piisoft/upecfacerecognition/CameraHiddenCapturePhoto.java | UTF-8 | 13,871 | 1.921875 | 2 | [] | no_license |
package com.piisoft.upecfacerecognition;
import android.Manifest;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.pm.PackageMan... | true |
be328460333835e72e71d9276d411464fc283b64 | Java | kozak/cibi | /src/com/cibi/item/GeoItem.java | UTF-8 | 3,444 | 2.390625 | 2 | [] | no_license | package com.cibi.item;
import android.content.Context;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.Log;
import com.cibi.R;
import com.cibi.utils.UrlUtils;
import com.google.android.maps.GeoPoint;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
im... | true |
0a95930d4ac5c47e61dfe9f7c76e271c6d029681 | Java | SunAlwaysOnline/LeetCode | /src/leetcode/medium/phase11/Number1004.java | UTF-8 | 3,209 | 3.484375 | 3 | [] | no_license | package leetcode.medium.phase11;
import datastructure.Array;
import method.Classic;
import method.SlidingWindow;
import result.OverTime;
import java.util.ArrayList;
import java.util.List;
/**
* @author qcy
* @create 2021/04/09 16:12:49
* 1004. 最大连续1的个数 III
*
* 给定一个由若干 0 和 1 组成的数组 A,我们最多可以将 K 个值从 0 变成 1 。
*
* ... | true |
3b06bfa4d64e8bbd562339e5ed943a757af6049b | Java | secure-software-engineering/opcua-scanner | /src/main/java/de/fraunhofer/iem/opcuascanner/ResultReporter.java | UTF-8 | 3,720 | 2.875 | 3 | [] | no_license | package de.fraunhofer.iem.opcuascanner;
import de.fraunhofer.iem.opcuascanner.logic.AccessPrivileges;
import de.fraunhofer.iem.opcuascanner.logic.Authentication;
import de.fraunhofer.iem.opcuascanner.logic.Privilege;
import org.apache.logging.log4j.LogManager;
import java.io.File;
import java.io.FileNotFoundException... | true |
27ee5a388157d2a6bd08486df59652b9cd1959c5 | Java | owlfeng1021/owlBlog | /src/main/java/com/owl/owlBlog/controller/admin/ArticleController.java | UTF-8 | 4,844 | 1.875 | 2 | [] | no_license | package com.owl.owlBlog.controller.admin;
import com.owl.owlBlog.constant.WebConst;
import com.owl.owlBlog.controller.BaseController;
import com.owl.owlBlog.bo.RestResponseBo;
import com.owl.owlBlog.dto.LogActions;
import com.owl.owlBlog.dto.Types;
import com.owl.owlBlog.exception.TipException;
import com.owl.owlBlog.... | true |
113718d43f585d6fc4bbbb873a5e8a5faffae621 | Java | devlopper/org.cyk.system.root | /root-persistence-impl-jpa/src/main/java/org/cyk/system/root/persistence/impl/security/AbstractSecuredViewDaoImpl.java | UTF-8 | 559 | 1.671875 | 2 | [] | no_license | package org.cyk.system.root.persistence.impl.security;
import java.io.Serializable;
import org.cyk.system.root.model.security.AbstractSecuredView;
import org.cyk.system.root.persistence.api.security.AbstractSecuredViewDao;
import org.cyk.system.root.persistence.impl.AbstractTypedDao;
public abstract class AbstractSe... | true |
d3a3cb56c72fe133d1ec3b15b2f8a3a0f0a2937f | Java | Divyankitha/Android-MocMedicare | /app/src/main/java/com/manage/hospital/hmapp/util/JSONUtil.java | UTF-8 | 4,362 | 2.25 | 2 | [] | no_license | package com.manage.hospital.hmapp.util;
import com.manage.hospital.hmapp.model.Appointment;
import com.manage.hospital.hmapp.model.EmergencyContact;
import org.json.JSONException;
import org.json.JSONObject;
import java.sql.Date;
public class JSONUtil {
public static EmergencyContact parseEmergencyContactFrom... | true |
780925cb62f17083c43e38b46345aeb127706ca6 | Java | SirDaniil/StripesCSRF | /src/main/java/com/github/sirdaniil/stripes/interceptors/CsrfInterceptor.java | UTF-8 | 2,154 | 2.171875 | 2 | [] | no_license | package com.github.sirdaniil.stripes.interceptors;
import java.io.*;
import java.lang.reflect.*;
import java.util.*;
import javax.servlet.http.*;
import com.github.sirdaniil.stripes.*;
import net.sourceforge.stripes.action.*;
import net.sourceforge.stripes.controller.*;
import net.sourceforge.stripes.tag.*;
/**
* Cr... | true |
418518219671c4bb3a9e27a539563d22f5ca7885 | Java | MarkSinD/MySQL-tables-spring | /src/main/java/com/pigyugov/forwarder/model/Supply.java | UTF-8 | 493 | 1.867188 | 2 | [] | no_license | package com.pigyugov.forwarder.model;
import lombok.Data;
import javax.persistence.*;
/**
* DECRIPTION
*
* @author Mark Sinakaev
* @version 1.0
*/
@Entity
@Data
@Table(name = "supply")
public class Supply {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "id")
Integer id;
... | true |
341fb76cda1e2bce9d4638e4568830a056390b95 | Java | Verbify/verbify | /scripts/migrate/udfs/src/com/verbify/pig/TypeID.java | UTF-8 | 173 | 1.578125 | 2 | [] | no_license | package com.verbify.pig;
// customize these to match your instance's typeids
enum TypeID {
INVALID,
COMMENT,
ACCOUNT,
LINK,
MESSAGE,
SUBVERBIFY,
}
| true |
a89392f89657cd328132534e38471b97cf9bf17c | Java | zhaoxinsheng/collection-data | /cedf-project-backend/src/main/java/io/nakong/common/utils/CacheUtils.java | UTF-8 | 1,012 | 2.609375 | 3 | [
"Apache-2.0"
] | permissive | package io.nakong.common.utils;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import org.apache.commons.lang.StringUtils;
/**
* 实现该接口的类,将获取应用配置信息实例
*
* @author allen
* @version : AppConfigurationAware.java, v 0.1 2016年2月28日 上午4:48:23 allen Exp $
*/
public class CacheUtils {
... | true |
443b49b796f77f10a303e78222a687938595b9a7 | Java | mchgood/hrpms | /src/main/java/com/zhidisoft/accumulationfund/controller/ProvidentFundPaymentController.java | UTF-8 | 1,004 | 2.09375 | 2 | [] | no_license | package com.zhidisoft.accumulationfund.controller;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.zhidisoft.accumulationfund.entity.Accum... | true |
5423d541008b305d7d8a0dc47cfa6173900ac797 | Java | juzraai/proxy-manager | /src/main/java/hu/juzraai/proxymanager/cli/StatCommand.java | UTF-8 | 226 | 1.703125 | 2 | [] | no_license | package hu.juzraai.proxymanager.cli;
import com.beust.jcommander.Parameters;
/**
* @author Zsolt Jurányi
*/
@Parameters(commandNames = "stat", commandDescription = "Prints statistics of proxy lists")
public class StatCommand {
}
| true |
002525079ade4e549e3e44d278e139ba3a57760d | Java | BrittleSkittle/AndroidSniffer | /app/src/main/java/com/application/sniffer/PeteLogView.java | UTF-8 | 1,360 | 2.15625 | 2 | [] | no_license | package com.application.sniffer;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.google.android.material.snackbar.Snackbar;
import java.util.Objects;
import androidx.appcompat.app.AppCompatAc... | true |
4393f43f1b204bc27aac3923dd42e1ab7d762a5a | Java | Luokaiyun/graduation-public | /src/main/java/com/stusystem/lky/service/UserService.java | UTF-8 | 323 | 1.898438 | 2 | [] | no_license | package com.stusystem.lky.service;
import com.stusystem.lky.entity.UserInfo;
import com.stusystem.lky.dto.UserLoginExceution;
public interface UserService {
UserInfo getByUserName(String userName);
UserLoginExceution userLogin(String userName,String userPassword);
int insertUser(String userName,String password);... | true |
5208f874e960185b92f01c77ac9c9af5d1893979 | Java | Walkerzj/zhouguangjing | /the_third_task/JAVA_file/src/GJZhou/homework0516/Account.java | UTF-8 | 1,422 | 3.375 | 3 | [] | no_license | package GJZhou.homework0516;
public class Account {
private String name;
private double balance;
private String pwd;
public Account() {
}
public Account(String name, double balance, String pwd) {
this.setName(name);
this.setBalance(balance);
this.setPwd(pwd);
}
... | true |
a238e894eeb788c2f479f6e9b010c8022bd3836f | Java | andreyk2002/6_Tasks | /library/logic/LibraryLogic.java | UTF-8 | 1,899 | 2.984375 | 3 | [] | no_license | package by.epam.tc.oop.task_6.library.logic;
import java.io.IOException;
import by.epam.tc.oop.task_6.library.dao.UserIO;
import by.epam.tc.oop.task_6.library.entity.*;
import by.epam.tc.oop.task_6.library.view.ConsoleMenu;
public class LibraryLogic {
private static LibraryLogic instance = null;
privat... | true |
ee7d488aeb1064a1be6bd014fa5f23847d05dec8 | Java | LiuZhen1999/JT | /jt/jt-manage/src/main/java/com/jt/mapper/ItemCatMapper.java | UTF-8 | 172 | 1.523438 | 2 | [] | no_license | package com.jt.mapper;
import com.jt.pojo.ItemCat;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
public interface ItemCatMapper extends BaseMapper<ItemCat>{
}
| true |
dc69816fc6a1efa924e6907f5ddd10499a5f8926 | Java | pjgg/flightSearchPOC | /src/main/java/org/pjgg/flightSearch/model/PricingRules.java | UTF-8 | 691 | 2.5 | 2 | [] | no_license | package org.pjgg.flightSearch.model;
public class PricingRules {
private int from;
private int to;
private int percentage;
public PricingRules(int from, int to, int percentage) {
this.from = from;
this.to = to;
this.percentage = percentage;
}
public int getFrom() {... | true |
fc9a75eba869dd5322c3d0a41d113aca89b0842d | Java | Arslandinho/DeliveriesTestTask-backend | /src/main/java/com/example/delivery_register/controller/DeliveryController.java | UTF-8 | 1,986 | 2.203125 | 2 | [] | no_license | package com.example.delivery_register.controller;
import com.example.delivery_register.model.Delivery;
import com.example.delivery_register.repository.DeliveryRepository;
import com.example.delivery_register.service.DeliveryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframew... | true |
b5062c132772ef310aaa6fe55d1ec31358ee0dd1 | Java | zdy333666/slience | /services/rchl/src/main/java/com/hzcominfo/rchl/pojo/RCHLCarDetailResult.java | UTF-8 | 1,003 | 1.851563 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.hzcominfo.rchl.pojo;
import java.util.List;
/**
*
* @author cominfo4
*/
public class RCHLCarDetailResult ... | true |
0c0b9c3d6da217cde0b0740759bc6b4dfbef862a | Java | ripplect001/Project-R | /Project/Ripplect/app/models/Project.java | UTF-8 | 531 | 2.296875 | 2 | [] | no_license | package models;
import java.util.*;
import play.db.ebean.*;
import play.data.validation.Constraints.*;
import javax.persistence.*;
@Entity
public class Project extends Model {
@Id
public Long id;
public String title;
public String tagline;
public static Finder<Long,Project> find = new Finder<Long,Project... | true |
5a4eb2a5f383a0be231f97e9a510b63a8c457d50 | Java | y312349150/shopping | /shopping-parent/shopping-pay/src/main/java/com/my/fegin/OrderFegin.java | UTF-8 | 267 | 1.507813 | 2 | [] | no_license | package com.my.fegin;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.stereotype.Component;
import com.my.service.OrderService;
@Component
@FeignClient("order")
public interface OrderFegin extends OrderService {
}
| true |
a1e42538f79951b2412ee1d82977bc9f173efb9a | Java | Zurich1994/Bpmx3_dev | /src/com/hotent/core/bpm/graph/.svn/text-base/ShapeType.java.svn-base | UTF-8 | 756 | 2.734375 | 3 | [] | no_license | package com.hotent.core.bpm.graph;
import com.hotent.core.bpm.graph.ShapeType;
/**
* 对象功能:程序设计器 连接类型
* 开发公司:广州宏天软件有限公司
* 开发人员:raise
* 创建时间:2013-02-01 08:50:46
*/
public enum ShapeType {
STRAIGHT("straight"),
FREE("free"),
ORTHOGONAL("orthogonal"),
OBLIQUE("oblique");
private String text;
ShapeType(Strin... | true |
e1ce0607dcac27f7ea9726d4b08e99bb6ac1dd6b | Java | Dew25/JPTVR17Library | /src/providers/ReturnBookProvider.java | UTF-8 | 1,564 | 2.984375 | 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 providers;
import entity.History;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.List;
import... | true |
509b8f3e1372ef5b514e0dee95faad0254039199 | Java | MahmoudFouadMohamed/WEB2SMS | /Web2SMS_Common_DALayer/src/main/java/com/edafa/web2sms/dalayer/enums/MonthName.java | UTF-8 | 315 | 2.140625 | 2 | [] | no_license | package com.edafa.web2sms.dalayer.enums;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
@XmlType(name = "MonthName", namespace = "http://www.edafa.com/web2sms/service/enums/")
@XmlEnum
public enum MonthName {
JAN, FEB, MAR, APR, MAY, JUNE, JULY, AUG, SEPT, OCT, NOV, DEC;
}
| true |
6fcd811297be8a30d0eb013ac7c95ee6fa90ec9d | Java | 919126624/Feiying- | /hr-web/src/main/java/com/wuyizhiye/hr/salary/controller/SalaryItemEditController.java | UTF-8 | 3,698 | 1.992188 | 2 | [] | no_license | /**
* com.wuyizhiye.basedata.basic.controller.BasicDataEditController.java
*/
package com.wuyizhiye.hr.salary.controller;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servle... | true |
cb66cd19660a8a1d573000232552593b6be572db | Java | samijan/opsCloud | /cmdb-service/src/main/java/com/sdg/cmdb/factory/workflow/TodoLdapGroup.java | UTF-8 | 4,654 | 2.0625 | 2 | [] | no_license | package com.sdg.cmdb.factory.workflow;
import com.alibaba.fastjson.JSON;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.sdg.cmdb.domain.auth.UserDO;
import com.sdg.cmdb.domain.workflow.WorkflowTodoVO;
import com.sdg.cmdb.domain.workflow.detail.*;
import com.sdg.cmdb.service.LdapService;
im... | true |
02146f7142382918fa3d58476800dbc4e18401e4 | Java | mcbarin/ultimate-monopoly | /src/domain/SquareChance.java | UTF-8 | 1,092 | 2.671875 | 3 | [] | no_license | package domain;
public class SquareChance extends Square {
public int upRow,downRow,upPos,downPos;
public SquareChance(String type,String name, int id, int position, int row) {
super(type,name, id, position, row);
// TODO Auto-generated constructor stub
initializeUpDown(position, row);
}
public void ini... | true |
610332bdf94a0f9ea14170b824b80a3715c8759c | Java | lexevs/cts2-framework | /cts2-filter/src/test/java/edu/mayo/cts2/framework/filter/match/SoundexMatcherTest.java | UTF-8 | 1,204 | 2.6875 | 3 | [
"Apache-2.0"
] | permissive | package edu.mayo.cts2.framework.filter.match;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
import edu.mayo.cts2.framework.filter.match.SoundexMatcher;
public class SoundexMatcherTest {
private SoundexMatcher matcher;
@Be... | true |
5b493dca5bf798ef83086c328d5d86090f65da14 | Java | ZappCraft/socket | /server/src/main/java/ru/sonicxd2/socket/server/utils/TriFunction.java | UTF-8 | 139 | 1.796875 | 2 | [] | no_license | package ru.sonicxd2.socket.server.utils;
@FunctionalInterface
public interface TriFunction<T, U, V, W> {
W generate(T t, U u, V v);
}
| true |
28281daa081ce6099eb881dad1078a5511d84d50 | Java | vova9/Trender | /Trender-user/src/main/java/com/trender/user/component/UserForm.java | UTF-8 | 12,253 | 2.046875 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.trender.user.component;
import com.trender.entity.Role;
import com.trender.entity.User;
import com.trender.service.RoleSer... | true |
664b8b04a91e5905e2d9771eee12ed3fe789db79 | Java | LinkaiMobileDev/LinkaiAndroid | /app/src/main/java/com/linkai/app/services/SyncContactsService.java | UTF-8 | 2,189 | 2.078125 | 2 | [] | no_license | package com.linkai.app.services;
import android.app.IntentService;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import com.linkai.app.ChatApplication;
import com.linkai.app.libraries.Common;
import com.linkai.app.libraries.Const;
import com.linkai.app.libraries.DatabaseHandl... | true |
a871efb2362b5a9c9fae91130bb8c38bfce00707 | Java | mrvanolog/PHAS0056 | /PHAS0056/src/exam2/Image.java | UTF-8 | 1,286 | 3.609375 | 4 | [] | no_license | package exam2;
import java.util.ArrayList;
import java.util.Scanner;
/**
* Stores the full information about the image
*/
public class Image {
protected int id; // id of an image
protected double lat, lon; // latitude and longitude of the
// location where the image was taken
// na... | true |
7ebe8a57337409bc4a0cd2bae19ec4b64d925731 | Java | Skrubs/spiderHero | /FXGameEngine/src/entities/WebShot.java | UTF-8 | 686 | 2.59375 | 3 | [] | no_license | package entities;
import javafx.geometry.Rectangle2D;
import javafx.scene.image.Image;
import utils.Id;
public class WebShot extends Sprite {
public WebShot(Image spriteImage, double posX, double posY, double velX, double velY, Id id) {
super(spriteImage, posX, posY, velX, velY, id);
}
@Override
... | true |
ffdff5391710d9ae69c266b2a17cd2ec6e31331a | Java | madhavkv29/spring-boot | /proessApp/src/main/java/com/dataeconomy/proessApp/config/CacheConfiguration.java | UTF-8 | 1,541 | 2.125 | 2 | [] | no_license | package com.dataeconomy.proessApp.config;
import com.dataeconomy.proessApp.controller.ItemController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoco... | true |
998e19d9848eb7a20b342f770a96fad31029005d | Java | grammarhoard/2014-pachitariu-megastore | /src/systemlog/LogAnalyzer.java | UTF-8 | 9,144 | 2.953125 | 3 | [] | no_license | package systemlog;
import java.util.LinkedList;
import java.util.List;
/**
* Created by George on 17/06/2014.
*/
public class LogAnalyzer {
private LinkedList<LogCell> log;
public LinkedList<LogCell>[] splittedLog;
public LogAnalyzer() {
this.log=SystemLog.log;
divideLog();
}
p... | true |
b62b8d744f67748e8e0fb2dfdeb78449ec10cfa9 | Java | luojiannan/pinyougou | /pinyougou-goods/src/main/java/com/pinyougou/goods/dao/mapper/ItemMapper.java | UTF-8 | 262 | 1.523438 | 2 | [] | no_license | package com.pinyougou.goods.dao.mapper;
import com.pinyougou.goods.dao.entity.Item;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
/**
* @author ljn
*/
@Repository
public interface ItemMapper extends Mapper<Item> {
} | true |
6a446ffb323a3ab7566d886237dd2492d572b69e | Java | MustafaB3irat/My-Cart | /app/src/main/java/com/example/icart/interfaces/Add.java | UTF-8 | 199 | 1.601563 | 2 | [] | no_license | package com.example.icart.interfaces;
public interface Add {
interface AddFragment {
void initAddButtons();
}
interface AddPresenter {
}
interface AddModel {
}
}
| true |
f885ac949951d69bd0401fd99620592e8c80abbe | Java | zackangelo/ivy | /src/com/redstone/opengl/util/OrbitControls.java | UTF-8 | 4,632 | 2.34375 | 2 | [] | no_license | package com.redstone.opengl.util;
import java.nio.FloatBuffer;
import org.eclipse.swt.events.MouseEvent;
import org.eclipse.swt.events.MouseListener;
import org.eclipse.swt.events.MouseMoveListener;
import org.eclipse.swt.events.MouseWheelListener;
import org.eclipse.swt.opengl.GLCanvas;
import org.eclipse.s... | true |
cd3daafa1231f8d251d69088df44375f49925433 | Java | SUZHOUTEAM/swp | /src/main/java/com/mlsc/yifeiwang/licence/entity/OperationLicence.java | UTF-8 | 6,819 | 1.585938 | 2 | [] | no_license | package com.mlsc.yifeiwang.licence.entity;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
*
* </p>
*
* @author zhangj
* @since 2017-... | true |
1db9fa866a8c7ad56255f6202ed5cd8890aa4c1e | Java | epamTest1/suicidenote | /suicide_notes_tests/src/test/java/com/epam/projectname/web/elements/OutputElement.java | UTF-8 | 471 | 2.53125 | 3 | [] | no_license | package com.epam.projectname.web.elements;
import org.openqa.selenium.By;
/**
* Entity that represents output text and image
* @author Oleksandr_Kachur
*
*/
public class OutputElement extends AbstractElement{
public OutputElement(String locator) {
super(locator);
}
public String getTextVa... | true |
dd14a65ff84d06be91f1d940c7639e820b58b162 | Java | IegorSoboliev/lottery | /lottery/src/main/java/lottery/Lotto.java | UTF-8 | 1,712 | 3.765625 | 4 | [] | no_license | package lottery;
import java.util.Random;
import java.util.Scanner;
public class Lotto {
private static String[] getDigitsFromUser() {
System.out.println("Введіть три числа від 0 до 9, відділяючи їх пробілами: ");
Scanner scanner = new Scanner(System.in);
String chosenDigits = scanner.nextLine();
scanner.cl... | true |
f17fc12b1c0aa1467d6857a6aa76e9a9df5cb3a5 | Java | mendes5/Etec | /2Semestre/PCI/Frequencia da Lista.java | UTF-8 | 1,555 | 3.03125 | 3 | [] | no_license | import javax.swing.*;
public class Entrada {
public static void main( String args[] ) {
int respostas[] = {
1, 2, 6, 4, 8, 5, 9, 7, 8, 10,
1, 6, 3, 8, 6, 10, 3, 8, 2, 7,
6, 5, 7, 6, 8, 6, 7, 5, 6, 6,
5, 6, 7, 5, 6, 4, 8, 6, 8, 10
};
int f... | true |
e01947a9e0e70e53b779be577b06d2b5499b1921 | Java | BenSargsyan/Folder_Size | /src/Main.java | UTF-8 | 174 | 2.015625 | 2 | [] | no_license | import java.io.File;
public class Main {
public static void main(String[] args) {
File f=new File("D:\\Riot Games");
FolderService.printSize(f);
}
}
| true |
807c7f53cbc6afa30e3ddfb0c4d2828df645202e | Java | RamyFRadwan/TwitterChallenge | /app/src/main/java/com/challenger/ramyfradwan/twitterchallenge/Model/UserModel.java | UTF-8 | 16,643 | 1.6875 | 2 | [] | no_license |
package com.challenger.ramyfradwan.twitterchallenge.Model;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
public class UserModel implements Serializable{
@SerializedName("contributors_enabled")
private Boolean mContributorsEnabled;
@SerializedName("created_at")
priv... | true |
9723782627bda69f04f67a318991b4eaf4a8656f | Java | dgenxxx/webtest | /java/games/VideoGames.java | UTF-8 | 3,866 | 2.296875 | 2 | [] | no_license | package games;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Jo... | true |
614a88aa7eacc44f24810eb1e6c589b702d26705 | Java | HurricaneM/gmall0105 | /gmall-manage-service/src/main/java/com/hur/gmall/manage/service/impl/CatalogServiceImpl.java | UTF-8 | 1,578 | 2.015625 | 2 | [] | no_license | package com.hur.gmall.manage.service.impl;
import com.alibaba.dubbo.config.annotation.Service;
import com.hur.gmall.bean.PmsBaseCatalog1;
import com.hur.gmall.bean.PmsBaseCatalog2;
import com.hur.gmall.bean.PmsBaseCatalog3;
import com.hur.gmall.manage.mapper.PmsBaseCatalog1Mapper;
import com.hur.gmall.manage.mapper.Pm... | true |
a3a44bb3af85a3451726f8a3099c143bc0b0dbb8 | Java | adhess/SupplierPortalAndroid | /app/src/main/java/com/adhess/org/supplier/portal/model/P2p_invoice.java | UTF-8 | 555 | 1.867188 | 2 | [] | no_license | package com.adhess.org.supplier.portal.model;
import android.os.Parcelable;
import com.adhess.org.supplier.portal.model.intermediary.EPFTET;
import java.io.Serializable;
import lombok.Data;
public class P2p_invoice implements Serializable {
private EPFTET root;
public EPFTET getRoot() {
return r... | true |
8c1c21acc77ae2b9c7bf9a60e24482f042b072b4 | Java | nicova99/Eclipse | /EjerciciosFicheros/src/Ejercicio5.java | UTF-8 | 676 | 3.015625 | 3 | [] | no_license | import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
public class Ejercicio5 {
public static void main(String[] args)
{
String fich=new String("D:\\nico\\ADT ACCESO A DATOS\\Workspace\\EjerciciosFicheros\\texto.txt");
FileWriter fw=null;
String palindromo = "Anit... | true |
45d5b2f4d0c607d71df0609bb087a4061a1e6285 | Java | Tejas945/InterviewPrep | /src/removeDuplicates.java | UTF-8 | 569 | 3.5 | 4 | [] | no_license | public class removeDuplicates {
public static void main(String[] args) {
int [] input = new int[]{1,1,3,3,3,4,5};
System.out.println(removeDuplicates(input));
}
public static int removeDuplicates(int[] nums) {
int i = 0;
for(int j=0;j<nums.length;j++){
System... | true |
cd0d0f679c3090dc9bc3b4e9c8466d4690ba24d2 | Java | rmarbeck/aBOOKadabra-sandbox | /web/app/com/abookadabra/utils/amazon/api/models/answerelements/Attributes.java | UTF-8 | 4,417 | 2.34375 | 2 | [] | no_license | package com.abookadabra.utils.amazon.api.models.answerelements;
import java.util.*;
public class Attributes {
private List<String> authors;
private String ean;
private String isbn;
private String binding;
private String manufacturer;
private String label;
private String edition;
private long numbe... | true |
14d551d455fa8ad21a996f843334ab6c4c02ae2a | Java | TheBlueFrog/utt1 | /src/asim/agents/EntityState.java | UTF-8 | 195 | 1.96875 | 2 | [] | no_license | package asim.agents;
/**
* Created by mike on 6/12/2015.
*/
public class EntityState {
private long mTime;
public EntityState () {
mTime = System.currentTimeMillis();
}
}
| true |
5c28b67ba68efa2782d2a19e52aa0ddf9e6376ee | Java | ggim00922/JejuLantis | /JejuLantis/src/main/java/com/khd/jejulantis/client/login/Controller/LoginController.java | UTF-8 | 2,140 | 2.1875 | 2 | [] | no_license | package com.khd.jejulantis.client.login.Controller;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
... | true |
1242b10d0766aebc1819533507132e7d5612567e | Java | pr-s18/Java_App_database | /DashboardAdmin.java | UTF-8 | 3,656 | 2.625 | 3 | [] | no_license | import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.util.*;
class DashboardAdmin extends JFrame implements ActionListener {
JLabel lblWelcome;
JLabel lblImage;
JButton btnUser;
JButton btnDesignation;
JButton btnProject;
JButton btnPhase;
JButton btnCancel;
JButton b... | true |
9e4a1f0e08db97d21c56f2bf785df9bd64c3c2d2 | Java | majededdin/HomeTest | /app/src/main/java/majed/eddin/shaadoowapp/data/application/BaseApplication.java | UTF-8 | 759 | 2.125 | 2 | [] | no_license | package majed.eddin.shaadoowapp.data.application;
import android.app.Application;
import majed.eddin.shaadoowapp.BuildConfig;
import majed.eddin.shaadoowapp.data.consts.AppConst;
public class BaseApplication extends Application {
private AppConst aConst;
private static BaseApplication instance;
@Overri... | true |
75d086457488e3f648953193ada94d59202fa547 | Java | zhtaosd/Frame | /app/src/test/java/com/zht/frame/simplefctory/ImpC.java | UTF-8 | 179 | 2.109375 | 2 | [] | no_license | package com.zht.frame.simplefctory;
public class ImpC implements Api {
@Override
public void dobusiness() {
System.out.println("C对象已经被创建");
}
}
| true |
2e7d0905c7567add819e729dc882fbec2defa84e | Java | singhvikash630/multithreading | /thread/src/com/jspider/thread/Demo4.java | UTF-8 | 226 | 2.453125 | 2 | [] | no_license | package com.jspider.thread;
public class Demo4 {
public static void main(String[] args)
{
Thread name=Thread.currentThread();
System.out.println(name);
name.setName("My Thread");
System.out.println(name);
}
}
| true |
68c69ce469ac69088953a15f56398ebcad26da9d | Java | Lamashino/Teaching-B4J-Spanish | /Tema 13 - XUI Views/Ejemplo/B4J/Objects/src/b4j/example/madewithlove.java | UTF-8 | 9,411 | 1.796875 | 2 | [
"CC-BY-4.0"
] | permissive | package b4j.example;
import anywheresoftware.b4a.debug.*;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.B4AClass;
public class madewithlove extends B4AClass.ImplB4AClass implements BA.SubDelegator{
public static java.util.HashMap<String, java.lang.reflect.Method> htSubs;
private void innerIniti... | true |
96d6fdea2a845d9e1052501f850f31bf276b2a3c | Java | problem-frames/openpf | /workspace/event/src-gen/uk/ac/open/event/eventcalculus/Expression.java | UTF-8 | 6,313 | 1.6875 | 2 | [
"BSD-3-Clause"
] | permissive | /**
*/
package uk.ac.open.event.eventcalculus;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Expression</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link uk.ac.open.event.eventc... | true |
112c7a214e105afda85691a7e5593fc7d58b49cb | Java | CodeYoungBoy/vhr | /vhrserver/vhr-service/src/main/java/com/wbj/service/impl/DepartmentServiceImpl.java | UTF-8 | 475 | 1.617188 | 2 | [] | no_license | package com.wbj.service.impl;
import com.wbj.entity.Department;
import com.wbj.mapper.DepartmentMapper;
import com.wbj.service.IDepartmentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 服务实现类
* </p>
*
* @author wbj
* @since... | true |
8aab66f4c206ea76316767f3769b3a577fce23a0 | Java | estudio89/android-styling | /styling/src/main/java/br/com/estudio89/styling/StylesInjection.java | UTF-8 | 1,570 | 2.21875 | 2 | [] | no_license | package br.com.estudio89.styling;
import android.content.Context;
import java.io.InputStream;
import java.util.HashMap;
/**
* Created by luccascorrea on 10/1/15.
*/
public class StylesInjection {
private static HashMap<Class, Object> graph = new HashMap<Class, Object>();
public static boolean init(Contex... | true |
0adbb036da77d16cff87e106b6840d58110904a8 | Java | weslleyrosalem/microservices-docker | /Source-code/RestauranteApp/RestauranteAppAPI/src/main/java/br/com/fiap/restauranteapp/api/RestaurantApi.java | UTF-8 | 2,584 | 2.421875 | 2 | [] | no_license | package br.com.fiap.restauranteapp.api;
import java.util.ArrayList;
import java.util.List;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax.... | true |
1308d50d15a5d4f44ea2e49ed6160eb0a61284d0 | Java | LeenBalkhi/SQLCompiler | /src/Rules/AST/Java/Utils/MultipleBooleanExpression.java | UTF-8 | 838 | 3 | 3 | [] | no_license | package Rules.AST.Java.Utils;
import Rules.AST.Node;
import Rules.SymbolTableMu.Scope;
import Rules.Utils.Error;
public class MultipleBooleanExpression extends Node {
public Node left;
public Node right;
public String op;
public Boolean getValue(Scope scope) throws Error {
if(op == "||")
... | true |
3fe7d1468f5435290419f2b20963e751a1af99a7 | Java | Azaka7/algaecraft_MC1.6.4 | /azaka7/algaecraft/common/item/ItemAirTank.java | UTF-8 | 3,528 | 2.171875 | 2 | [] | no_license | package azaka7.algaecraft.common.item;
import java.util.List;
import azaka7.algaecraft.common.AlgaeCraftMain;
import azaka7.algaecraft.common.container.TileEntityAirCompressor;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelBiped;
import net.minecr... | true |
7f81646cfcd39a9843a971e41da0dbf71ded600e | Java | mgobec/concord-plugins | /tasks/terraform/src/main/java/com/walmartlabs/concord/plugins/terraform/TerraformTask.java | UTF-8 | 7,748 | 1.703125 | 2 | [
"Apache-2.0"
] | permissive | package com.walmartlabs.concord.plugins.terraform;
/*-
* *****
* Concord
* -----
* Copyright (C) 2017 - 2018 Walmart 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
*
* ... | true |
06bb5303f8e7bfec97eb392bb2cbc752e90e5bdd | Java | sayalim10/new1 | /app/src/main/java/com/devn/delivery/dao/UserInfo.java | UTF-8 | 1,272 | 2.171875 | 2 | [] | no_license | package com.devn.delivery.dao;
public class UserInfo {
}
//import android.arch.persistence.room.ColumnInfo;
//import android.arch.persistence.room.Entity;
//
///**
// * Created by Nitin Kalokhe on 11/13/2017
// * * you can contact me at : nitin3kalokhe@gmail.com
// */
//
//@Entity(tableName = "UserInfo")
//public clas... | true |
078de915c6c747ba87bf0afb8e8e69e9f37c0b41 | Java | Sourov72/CSE-308-ASSIGNMENTS | /OFFLINE 1/src/Main.java | UTF-8 | 157 | 1.632813 | 2 | [] | no_license | public class Main {
public static void main(String[] args) {
// write your code here
bank Bank = new bank();
Bank.takeInput();
}
}
| true |
f9bafaa96999faca3e23737a9d37b782071d4f21 | Java | exoego/StreamUtilities | /test/net/exoego/stream/MoreStreamsTest.java | UTF-8 | 2,003 | 2.84375 | 3 | [
"MIT"
] | permissive | package net.exoego.stream;
import java.util.List;
import java.util.Random;
import java.util.stream.Stream;
import org.junit.Test;
import org.junit.experimental.runners.Enclosed;
import org.junit.runner.RunWith;
import static java.util.Arrays.asList;
import static java.util.stream.Collectors.toList;
import static org... | true |
4ee8ec5255ffeb25103d031acace6ba26570f8cd | Java | 2742195759/FleaMallServer | /Message/MsgCommodityByCno.java | UTF-8 | 1,183 | 2.34375 | 2 | [] | no_license | package Message;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import Respond.Respond;
import Respond.RspSingleRow;
public class MsgCommodityByCno extends Message { ///不需要权限
String cno ;
public MsgCommodityByCno(String tcno) {
super(null, null);
cno = tcno ;
// TODO Auto... | true |
5a8f3d2dde3aa3a2fbfc769ce4dbb5a107a61271 | Java | GITTraining001/EclecticIQ | /src/test/java/Tests/Test1.java | UTF-8 | 1,711 | 2.296875 | 2 | [] | no_license | package Tests;
import PageClasses.HomePage;
import TestDataProvider.TestDataProvider;
import Utils.Initializer;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.testng.asserts.SoftAssert;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.u... | true |
212078a13c481a819ab3222541160f3484a48265 | Java | apache/netbeans | /php/php.editor/test/unit/src/org/netbeans/modules/php/editor/csl/TestUtilities.java | UTF-8 | 3,690 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | true |
b51ce9ab752b0070c7d2bfc4058b5cd76f820f67 | Java | copslock/Walktour4 | /app/src/main/java/com/walktour/gui/newmap2/bean/StationEvent.java | UTF-8 | 448 | 1.671875 | 2 | [] | no_license | package com.walktour.gui.newmap2.bean;
import android.graphics.Point;
/**
* @author zhicheng.chen
* @date 2018/11/21
*/
public class StationEvent {
public static final int CLEAR = 0;
public static final int SELECT = 1;
/**
* 框选框过滤
*/
public static final int RECT_FILTER = 2;
/**
*... | true |
67af868053bcfc12cab00a5a567038b6f9adc2ca | Java | learnerjiahao/IQclass | /IQClass/src/com/hungry/iqclass/net/GetClassLocation.java | UTF-8 | 2,101 | 2.34375 | 2 | [] | no_license | package com.hungry.iqclass.net;
import java.util.HashMap;
import java.util.Map;
import org.json.JSONException;
import org.json.JSONObject;
import com.hungry.iqclass.Config;
public class GetClassLocation {
public GetClassLocation(String class_id,
final SuccessCallback successCallback,
final FailCallback fail... | true |
3fab200465c9561dd19027db7777159d43136272 | Java | Dream-without-trace/topshow | /service/src/main/java/com/luwei/models/activity/series/ActivitySeriesDao.java | UTF-8 | 631 | 1.875 | 2 | [] | no_license | package com.luwei.models.activity.series;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import java.util.List;
/**
... | true |
52b1d44f9424a991ab15c459d15893466b3c9d7c | Java | reshordling/autocomplete-reversal | /src/main/java/org/fibo/seo/autocomplete/mappers/DtoMapper.java | UTF-8 | 1,096 | 2.5625 | 3 | [
"Apache-2.0"
] | permissive | package org.fibo.seo.autocomplete.mappers;
import com.fasterxml.jackson.databind.JsonNode;
import org.fibo.seo.autocomplete.dto.AutocompleteDto;
import java.util.ArrayList;
import java.util.List;
/**
* Transform JSON into format for analysis
*/
public class DtoMapper {
public static List<AutocompleteDto> map... | true |
4f35bed44c25d1b16937f6e887622dff90b7f096 | Java | Bizlem-Dev/AdminTemplateWebsite_Bizlem.io | /src/main/java/com/test/servlet/CORSFilter.java | UTF-8 | 1,294 | 2.0625 | 2 | [] | no_license | package com.test.servlet;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import org.apache.felix.scr.annotations.sling.Sling... | true |