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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
b1bc35a46dd30f6a7c892ebf8640f9020042570e | Java | welocalize/GlobalSight_source_code_8.7 | /main6/envoy/src/java/com/globalsight/everest/webapp/pagehandler/administration/company/CompanyBasicHandler.java | UTF-8 | 17,442 | 1.632813 | 2 | [] | no_license | /**
* Copyright 2009 Welocalize, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | true |
974d68baf5fa2b02173587671568ad61db652372 | Java | connor-taylorbrown/coup | /src/main/java/coup/RulesetSyntaxException.java | UTF-8 | 195 | 1.882813 | 2 | [] | no_license | package coup;
/**
* Created by connortaylorbrown on 3/06/17.
*/
public class RulesetSyntaxException extends Exception {
public RulesetSyntaxException(String s) {
super(s);
}
}
| true |
cf339eac0f9ac997286a976d9c642a6d5b6eae21 | Java | pqqanqing/common | /common-base/src/main/java/com/wjs/common/base/base/BasePageResults.java | UTF-8 | 1,192 | 2.171875 | 2 | [] | no_license | package com.wjs.common.base.base;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
@Setter
@Getter
public class BasePageResults<DTO extends BaseDTO> extends BaseObject {
private int pageNo;//下一页
private int pageSize = 10;//每页个个数
private int count;//总数
private int currentPage;//当前页数... | true |
ebdd1e2af1aa89eb304c099ee7cb18c312183e59 | Java | NIHAL-JAIN/Split-bill | /app/src/main/java/com/example/almighty/navigationdrawer/CustomAdapter.java | UTF-8 | 1,979 | 2.234375 | 2 | [] | no_license | package com.example.almighty.navigationdrawer;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import java.util.ArrayList;
/**
* Created by sandyas... | true |
249c2cb35061655d5e6b9d8f1249c78109e13aae | Java | masif088/Petani-Terpadu | /src/Controller/C_resetPassword.java | UTF-8 | 1,179 | 2.28125 | 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 Controller;
import View.V_login;
import View.V_lupaPass;
import View.V_resetPassword;
import java.awt.event.ActionEvent;
import... | true |
36810b3c34469ab70217beadf4098b326e60fd4e | Java | gguzelj/fiuba-tp2-bombita | /Bomberman/src/com/bombitarodriguez/vista/factory/menues/items/VistaItemReanudar.java | UTF-8 | 243 | 2.078125 | 2 | [] | no_license | package com.bombitarodriguez.vista.factory.menues.items;
public class VistaItemReanudar extends VistaItem{
public VistaItemReanudar(){
super(FabricaImagenesItems.vistaReanudarOut(),FabricaImagenesItems.vistaReanudarOver());
}
} | true |
08ac732f88c1e412d0f16cf283d674d5af4aab46 | Java | saubhagya1987/myproj7 | /kyc-persistence/src/main/java/com/airtel/kyc/repository/entity/SubscriberWorkFlow.java | UTF-8 | 3,226 | 1.984375 | 2 | [] | no_license | package com.airtel.kyc.repository.entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColum... | true |
fd3dca7feb0ab30fe8ee666ec3124703b9dd4192 | Java | lijunfeng11/2019-7-15 | /code/myArray/src/com/itheima_02/ArrayTest3.java | GB18030 | 1,800 | 4.40625 | 4 | [] | no_license | package com.itheima_02;
/*
* 飬ȶһ飬ֵȻڶʱѵһĵֵַڶ顣
* Ȼڶ鸳ֵٴԪء
*
* һΪint[] arr = new int[5];
* arr[0] = 10;
* arr[1] = 20;
* ...
ֱarr1,arr2ָ
int[] arr1 = arr;
int[] arr2 = arr;
arr1ΪеԪظֵ
arr2 ȡеԪصֵ
һΪint[] arr = {1,2,3,4,5};
ֱarr1,arr2ָ
int[] arr1 = arr;
int[] arr2 = arr;
arr1ΪеԪظֵ
arr... | true |
811dbe2e8c336f98636fc520de0931f1a23f11fa | Java | azamberletti/musicrev | /app/src/main/java/com/example/andrea/musicreview/utility/ConnectionHandler.java | UTF-8 | 4,877 | 2.59375 | 3 | [] | no_license | package com.example.andrea.musicreview.utility;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.util.Log;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Outpu... | true |
e6f024d76e24140cdcab26d2e1e9b79c82b5897c | Java | RiverYangZiJiang/AndroidStudy | /ActivityTest/app/src/main/java/com/example/yangzijiang/widget/ButtonActivity.java | UTF-8 | 932 | 2.515625 | 3 | [] | no_license | package com.example.yangzijiang.widget;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import com.example.yangzijiang.activitytest.R;
// 以实现View.OnClickListener接口的方式来进行响应按钮点击事件的注册
public class ButtonActivity ... | true |
8cfd91c345ebb3e48ba5e3723a549d39d09561be | Java | jack-1r/stochastic-kriging | /kriging-components/src/test/java/se/sics/kriging/components/TestGenerator.java | UTF-8 | 694 | 2.578125 | 3 | [] | no_license | package se.sics.kriging.components;
import java.util.Arrays;
public class TestGenerator {
/**
* @param args
*/
public static int N_DIM = 5;
public static int N_SEP = 2;
public static int[] coeffVector = new int[N_DIM];
public static int count = 0;
public static void main(String[] args) {
// TODO Auto-ge... | true |
a8c9a294a5d796f19897c1d8d882e745f0cfdc4f | Java | vyarmolik/java8 | /src/io/ConsoleTest.java | UTF-8 | 330 | 2.796875 | 3 | [] | no_license | package io;
import java.io.Console;
public class ConsoleTest {
public static void main(String[] args) {
Console console = System.console();
console.writer().println("Testing console");
final String userName = console.readLine("Enter your username ");
console.writer().println("The username is: " + userNam... | true |
a98e751200c1cf104310893a0d8e6b1e993921b2 | Java | lt397961457/cloudtest | /springcloudtest-producer/src/main/java/com/yly/config_server/controller/KafkaProducerController.java | UTF-8 | 623 | 1.929688 | 2 | [] | no_license | package com.yly.config_server.controller;
import com.yly.config_server.kafkaproducer.KafkaProducer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.... | true |
25ea47decb65beaede87b1eae39a72f0917b5958 | Java | OldTraveller/gfgScraperAndroid | /app/src/main/java/com/example/abhishek/gfgscraper/SuccessActivity.java | UTF-8 | 1,295 | 2.359375 | 2 | [] | no_license | package com.example.abhishek.gfgscraper;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class SuccessActivity extends AppCompatActivity {
TextView textView ;
... | true |
074c3db1568f61e9caa2051add3404909d3c8ffe | Java | jclarke94/ServedOnline-Android | /app/src/main/java/com/servedonline/servedonline_android/Fragments/Home/HomeFragment.java | UTF-8 | 14,405 | 1.890625 | 2 | [] | no_license | package com.servedonline.servedonline_android.Fragments.Home;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.os.Handler;
import android.os.Parcel;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import andr... | true |
4e658709ee5a0855be68a2cfbe08a7d53c0d0503 | Java | zhao-qc/zstack | /header/src/main/java/org/zstack/header/console/APIUpdateConsoleProxyAgentEvent.java | UTF-8 | 919 | 2.015625 | 2 | [
"Apache-2.0"
] | permissive | package org.zstack.header.console;
import org.zstack.header.message.APIEvent;
import org.zstack.header.rest.RestResponse;
@RestResponse(allTo = "inventory")
public class APIUpdateConsoleProxyAgentEvent extends APIEvent {
private ConsoleProxyAgentInventory inventory;
public APIUpdateConsoleProxyAgentEvent() {... | true |
40912e0d6ebb652d0f4bfc7605200a5ab2e4d0ff | Java | MittagQI/src | /de/folt/util/OpenTMSSupportFunctions.java | UTF-8 | 44,329 | 2.375 | 2 | [] | no_license | /*
* Created on 10.09.2008
*
* To change the template for this generated file go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
package de.folt.util;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileIn... | true |
b5646aca58d5bc9c09ac019ef00c3096333c3ab4 | Java | toukirnaim08/SpringBoot-Postgres-Docker-Compose | /src/main/java/com/Abacc/Adelaide/Controllers/EventController.java | UTF-8 | 2,246 | 2.40625 | 2 | [
"MIT"
] | permissive | package com.Abacc.Adelaide.Controllers;
import com.Abacc.Adelaide.Dto.EventDto;
import com.Abacc.Adelaide.Exceptions.ResourceNotFoundException;
import com.Abacc.Adelaide.Models.Event;
import com.Abacc.Adelaide.Services.EventService;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;... | true |
1a65b293706df1982efaf33a6979e527a08ada99 | Java | smurfate/P3 | /app/src/main/java/com/itland/employer/fragments/MoreFragment.java | UTF-8 | 5,380 | 1.945313 | 2 | [] | no_license | package com.itland.employer.fragments;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.SwitchCompat;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CompoundButton;
... | true |
765076747148323055fca9b98c491672ed6f2ac8 | Java | 2868466192/Test1 | /src/main/java/test1/Apple.java | UTF-8 | 132 | 1.9375 | 2 | [] | no_license | package test1;
public class Apple {
public void test() {
System.out.print("1234567");
System.out.print("123");
}
}
| true |
55b80c45e46648daadcfce8bd732ba170c77fb3d | Java | bernardobreder/agbreder | /agbreder/agbreder_plugin/src/com/agbreder/plugin/wizard/filter/BProjectViewerFilter.java | UTF-8 | 431 | 1.75 | 2 | [] | no_license | package com.agbreder.plugin.wizard.filter;
import org.eclipse.jface.viewers.Viewer;
import com.agbreder.plugin.element.Element;
import com.agbreder.plugin.element.Parent;
import com.agbreder.plugin.element.breder.BProject;
public class BProjectViewerFilter extends BViewerFilter {
@Override
public boole... | true |
fec89f464cdfdef43f1ee4c254567bfcc56fb8de | Java | adityarajpunekar/Fxfrontoffice | /src/Parametrs/testng.java | UTF-8 | 185 | 1.671875 | 2 | [] | no_license | package Parametrs;
import org.testng.annotations.Test;
import org.testng.Reporter;
public class testng {
@Test
public void demo1()
{
Reporter.log("1",true);
}
}
| true |
e2edad44526a1695493a667a51143f80997c8dc1 | Java | hongnam207/pi-network-source | /java/com/facebook/reactnative/androidsdk/FBShareAPIModule.java | UTF-8 | 2,481 | 2.078125 | 2 | [] | no_license | package com.facebook.reactnative.androidsdk;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.Promise;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.rea... | true |
bcb41269f5052809590246918420577b307b9e71 | Java | johnnykahalawai/wonder | /Examples/Ajax/JQueryExample/Sources/er/ajax/jquery/example/components/AjaxObserveFieldPage.java | UTF-8 | 1,473 | 2.015625 | 2 | [] | no_license | package er.ajax.jquery.example.components;
import com.webobjects.appserver.WOContext;
import com.webobjects.appserver.WOResponse;
import com.webobjects.foundation.NSArray;
import er.ajax.jquery.JQAjaxUtils;
public class AjaxObserveFieldPage extends Main {
/**
*
*/
private static final long serialVersionUID =... | true |
8ad9e0e0d12242f57fd942ca6a5b11855b0598c3 | Java | ys93239/DataStructureAndAlgorithms | /datastructres/src/main/java/topcodingquestion/backtracking/CombinationSum.java | UTF-8 | 924 | 3.078125 | 3 | [] | no_license | package main.java.topcodingquestion.backtracking;
import java.util.ArrayList;
import java.util.List;
//https://leetcode.com/problems/combination-sum/
public class CombinationSum {
public List<List<Integer>> combinationSum(int[] candidates, int target) {
List<List<Integer>> result = new ArrayList<>();
... | true |
5d1ffa0a8c8d6ffd717df5b277d8abe3d11877c9 | Java | swathisprasad/citrus | /modules/citrus-core/src/main/java/com/consol/citrus/server/ServerShutdownThread.java | UTF-8 | 2,649 | 2.6875 | 3 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2006-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | true |
500c5c5c3d4f12f3247cccf51041fd6f554dc286 | Java | panyawen/zzubuy | /src/servlet/BookUpload.java | GB18030 | 4,969 | 2.46875 | 2 | [] | no_license | package servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import jav... | true |
ebadd1604787f5354ea2100109428f14076bab85 | Java | ildar66/WSAD_NRI | /2005/webcommon/com/hps/july/arenda/actionbean/ShowAbonentPayedListAction.java | WINDOWS-1251 | 2,604 | 2.015625 | 2 | [] | no_license | package com.hps.july.arenda.actionbean;
import javax.transaction.*;
import javax.naming.*;
import java.math.*;
import java.util.*;
import com.hps.july.arenda.valueobject.*;
import com.hps.july.persistence.*;
import javax.servlet.*;
import java.io.*;
import javax.servlet.http.*;
import org.apache.struts.action.*;
impor... | true |
29e63d09a25f2114e9d5a06cb9a550109d1c94a2 | Java | bellmit/scm-order | /scm-order-admin/src/main/java/com/lyf/scm/admin/dto/shop/SaleOrgDTO.java | UTF-8 | 564 | 1.78125 | 2 | [] | no_license | package com.lyf.scm.admin.dto.shop;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author zys
* @Description
* @date 2020/6/15 11:05
* @Version
*/
@ApiModel(description="销售组织信息")
@Data
@EqualsAndHashCode
public c... | true |
b0d88daafc7d87f2e290c545315330ca58f172a9 | Java | zlqkgkxm2375/zlqkgkxm2375 | /src/main/java/com/jang/pany/model/Home.java | UTF-8 | 565 | 1.757813 | 2 | [] | no_license | package com.jang.pany.model;
public class Home {
private int numh;
private String eid;
private String hdate;
private String ename;
public int getNumh() {
return numh;
}
public void setNumh(int numh) {
this.numh = numh;
}
public String getEid() {
return eid;
}
public void setEid(String eid) {
thi... | true |
f98826c5efea1b932de60f4d535b383ad554b97f | Java | sealtalk/sealtalk-android | /sealtalk/src/main/java/cn/rongcloud/im/ui/activity/UltraGroupUnreadMentionDigestsActivity.java | UTF-8 | 14,871 | 1.757813 | 2 | [] | no_license | package cn.rongcloud.im.ui.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.w... | true |
daea863b7ffe92b8846bdcc2cd463e2023ed184c | Java | jppreti/OrientacaoObjetos | /java/src/main/java/br/edu/ifmt/cba/java/excecoes/TesteExcecao.java | UTF-8 | 559 | 3.140625 | 3 | [
"MIT"
] | permissive | package br.edu.ifmt.cba.java.excecoes;
public class TesteExcecao {
public static void main (String[] args) {
try {
int len = args.length;
System.out.println(args[len*2]);
}
catch (ArithmeticException e) {
System.out.print("1");
}
catch (RuntimeEx... | true |
68c79d22a3af316669284b116483ec862a899fd0 | Java | SE60/Code | /se_restaurant_real/SetPageOrdered.java | UTF-8 | 1,505 | 2.03125 | 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 se_restaurant_real;
import javafx.fxml.FXML;
import javafx.scene.layout.AnchorPane;
/**
*
* @author l3oat
*/
public class ... | true |
e77cacf426c9092b900932b4e6f01397a4c9117c | Java | RobotoRaccoon/AnimalGuard | /src/main/java/me/Fupery/AnimalGuard/AnimalGuard.java | UTF-8 | 1,400 | 2.171875 | 2 | [] | no_license | package me.Fupery.AnimalGuard;
import com.sk89q.worldguard.bukkit.WGBukkit;
import org.bukkit.Bukkit;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.plugin.java.JavaPlugin;
import java.io.File;
public class AnimalGuard extends JavaPlugin {
private static String denyMessage;
publi... | true |
0fd7e2eac20690d744ad88a9b2bfd113904bc518 | Java | lipgartdmitriy/benchmark | /src/main/java/com/example/query/benchmark/service/QueryBenchmarkService.java | UTF-8 | 234 | 1.539063 | 2 | [] | no_license | package com.example.query.benchmark.service;
import com.example.query.benchmark.common.QueryBenchmarkResult;
import java.util.List;
public interface QueryBenchmarkService {
List<QueryBenchmarkResult> testQuery(String query);
}
| true |
584a5082967557594868223eb3473d343bf7a460 | Java | wyett/springbootdemo | /springboot-mongo-demo/src/main/java/com/wyett/mongo/models/CatDao.java | UTF-8 | 424 | 1.671875 | 2 | [] | no_license | package com.wyett.mongo.models;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
/**
* @author : wyettLei
* @date : Created in 2020/12/21 15:51
* @description: TODO
*/
@Data
public class CatDao {
private String catId;
private String name;
private Integer age;
pr... | true |
36621b1d2e523d55674a10ad6d862b2fd10721dd | Java | tiffwong/dash-n-dine | /Dash & Dine/app/src/main/java/com/example/test/dashanddine/LogInActivity.java | UTF-8 | 1,265 | 2.15625 | 2 | [] | no_license | package com.example.test.dashanddine;
import android.content.Intent;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class LogInActivity ex... | true |
fc8e9f51b50754517eb05ef59d69753b8dd15073 | Java | pritam9/Spring | /REST API/PupilArena/src/main/java/com/pupilarena/dao/impl/AuthDao.java | UTF-8 | 30,021 | 2.1875 | 2 | [] | no_license | package com.pupilarena.dao.impl;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import javax.management.Notification;
import javax.sql.DataSource;
import com.pupilarena.dao.IAuthDao;
import com.pupilarena.model.Groups;
... | true |
3bbafdf16e70527d87128b9921239b038bffd5c9 | Java | aymanomran/MVP-CheckLogin-Example | /app/src/main/java/com/example/ayman/mvpexample/Model/user.java | UTF-8 | 772 | 2.609375 | 3 | [] | no_license | package com.example.ayman.mvpexample.Model;
public class user implements LoginContract.Imodel {
private String username;
private String password;
public user(String username, String password) {
this.username = username;
this.password = password;
}
public user() {
}
public... | true |
c26faf680eaf7e425b03e58072cbbf646f881074 | Java | franciscoJMP/AplicacionTiendasCliente | /app/src/main/java/com/example/aplicaciongestiontiendas/LoginActivity.java | UTF-8 | 5,598 | 2.265625 | 2 | [] | no_license | package com.example.aplicaciongestiontiendas;
import androidx.appcompat.app.AppCompatActivity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import... | true |
78bc24321662e112cabd97c96b578056f4d68b5f | Java | ivenDev/Android-School_Engurazov | /Lesson_6_Engurazov/app/src/main/java/com/cloniamix/lesson_6_engurazov/screens/MainActivity.java | UTF-8 | 4,310 | 2.3125 | 2 | [] | no_license | package com.cloniamix.lesson_6_engurazov.screens;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;
import com.cloniamix.lesson_6_engurazov.R;
import com.cloniamix.lesson_6_engurazov.screens.fra... | true |
9a89c08b549cb5b0a6794a08229d6fbd684255b3 | Java | bulidWorld/thinking | /thinking-cluster/src/main/java/org/zwx/thinking/cluster/delay_execute/impl_by_redis/Task.java | UTF-8 | 271 | 1.976563 | 2 | [] | no_license | package org.zwx.thinking.cluster.delay_execute.impl_by_redis;
import java.io.Serializable;
public class Task implements Serializable {
public Long id;
public String content;
public void doTask() {
System.out.println("do Task:" + content);
}
}
| true |
a8b69f0900b724e0d64bcb7448c7091f4fc7d4ba | Java | huttonj/chevrolet | /chevrolet-dal/src/main/java/com/chevrolet/dal/dao/domain/query/DaasRedoLogQuery.java | UTF-8 | 17,767 | 1.96875 | 2 | [] | no_license | package com.chevrolet.dal.dao.domain.query;
import com.subaru.common.query.BaseCriteria;
import com.subaru.common.query.BaseQuery;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.io.Serializable;
import java.util.Date;
import java... | true |
4a406aaa8fc084d5289cf3c48e0d3eae98860a1d | Java | pausehyeon/HipBus | /HipBus/src/handler/mybus/MyBusBeforeEdit.java | UTF-8 | 871 | 1.976563 | 2 | [] | no_license | package handler.mybus;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelA... | true |
1e9d24d07820d561994f566bea94bbcabe722005 | Java | chenhehong/EasyFarm | /app/src/main/java/com/scau/easyfarm/fragment/FeedBackFragment.java | UTF-8 | 3,023 | 2.09375 | 2 | [] | no_license | package com.scau.easyfarm.fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import com.scau.easyfarm.AppContext;
impo... | true |
77f874b061879b52f16cc0de74268b6d84ebe56d | Java | bellmit/rationem | /Rationem-ejb/src/java/com/rationem/entity/config/common/NumberRange.java | UTF-8 | 6,812 | 1.625 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rationem.entity.config.common;
import com.rationem.entity.audit.AuditNumberControl;
import com.rationem.entity.config.company.AccountType;
//import com.rationem.entity.config.fi.FiGlActType;
import javax.per... | true |
ffbf936510b15351dbd69c347fa33974a040eef5 | Java | Amit-java1506/GitDemoProject1 | /src/Test.java | UTF-8 | 209 | 2.5 | 2 | [] | no_license |
public class Test {
public static void main(String[] args) {
String hungry="yes";
if(hungry=="yes")
{
System.out.println("go to sleep");
}
else
{
System.out.println("work");
}
}
}
| true |
b31cd4180d8b5c41c1e523dc409ab79666c54bce | Java | AlvynXu/xiangmu | /guangxuan-api/src/main/java/com/guangxuan/service/impl/AddressApplyRecordServiceImpl.java | UTF-8 | 574 | 1.546875 | 2 | [] | no_license | package com.guangxuan.service.impl;
import com.guangxuan.model.AddressApplyRecord;
import com.guangxuan.mapper.AddressApplyRecordMapper;
import com.guangxuan.service.AddressApplyRecordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>... | true |
9600b1c295a1dab054d138ad6d6819751b83b202 | Java | jiafeng123456/Demo | /src/main/java/com/example/time/Gof/Builder/Meal.java | UTF-8 | 627 | 3.0625 | 3 | [] | no_license | package com.example.time.Gof.Builder;
import com.example.time.Gof.Builder.impl.Item;
import java.util.ArrayList;
import java.util.List;
/*
*@description:
*@author jiafeng
*@date 2019/12/26 0026 15:36
*/
public class Meal {
private List<Item> itemList = new ArrayList<>();
public void addItem(Item item){
... | true |
feba6c524607f3ebaca7d9a1320be442ebd2b737 | Java | HoanNguyenn/java.github.io | /Buoi1/App.java | UTF-8 | 1,380 | 3.328125 | 3 | [] | no_license | package Buoi1;
import java.util.Scanner;
public class App {
public static void main(String[] args) {
// System.out.println("Hello, World!");
int a;
a = 5;
float b = 4.5f;
double c = 4.5;
System.out.println(a + "\t" + c);
// sys sysout
// S... | true |
7b353e6cc0fd777015021773a4c1fc3e91ff4955 | Java | anay-jain/DSA | /pep/pep2/E/Solution.java | UTF-8 | 1,764 | 3.171875 | 3 | [] | no_license | import java.util.ArrayList;
import java.util.Scanner;
public class Solution{
static ArrayList<Integer> par = new ArrayList<>();
static ArrayList<Integer> size = new ArrayList<>();
// finds parent
public static int find(int u){
if(par.get(u)==u){
... | true |
23f9c30985f8a153149b72276d948a7a633261d6 | Java | noviceeee/TankWar | /TankWar_Image/src/Wall.java | GB18030 | 1,102 | 2.828125 | 3 | [] | no_license | import java.awt.Graphics;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.Toolkit;
import java.net.URL;
public class Wall {
private static URL wallURL = Wall.class.getClassLoader().getResource("images/wall.gif");
//ImageIcon ii = new ImageIcon(wallURL);//ʽһ
// Image wall = ii.getImage();
/*
... | true |
0a066cd504c4c999a08fae1f34b449dc6df29133 | Java | veerappanvs/fppweb | /src/main/java/ma/dph/fpp/domain/generallicensing/BatchNumbers.java | UTF-8 | 5,185 | 2.15625 | 2 | [] | no_license | package ma.dph.fpp.domain.generallicensing;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity(name = "batch_revised")
public class BatchNumbers {
public BatchNumbers(St... | true |
d045cde2829913c022721e4b0edc1f7929a84e94 | Java | LiuLiRenM/StudentComprehensiveEvaluationSystem | /web/src/main/java/tech/mycps/sces/controller/PermissionController.java | UTF-8 | 4,748 | 2.359375 | 2 | [
"Apache-2.0"
] | permissive | package tech.mycps.sces.controller;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.c... | true |
f3b90c53f7f5968b7dccd170fee08e5f1a7490f1 | Java | slad08/Weblance_project_last | /app/src/main/java/com/weblance_project/ExpendedActivity.java | UTF-8 | 5,797 | 2.34375 | 2 | [] | no_license | package com.weblance_project;
import android.annotation.TargetApi;
import android.app.Activity;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.widget.ExpandableListView;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.SimpleExpandab... | true |
66b8fa3f5f1d0fdd76aac0801173d454e8058126 | Java | tazad-csci/CSCI_470 | /Assign4/PDGameGui.java | UTF-8 | 11,968 | 2.921875 | 3 | [] | no_license | /***************************************************************
CSCI 470 Program 3 Spring 2021
Programmer: Tamjid Azad
Date Due: 2/21/21
Purpose: Created a class PDGameGui which represents GUI interface
of the game.
***************************************************************/
package package1... | true |
b3a1ed84263e30125eaa634a5561d6b05c08363c | Java | ChoHyeok/OSS-Project-1Q- | /menu/menuDataController.java | UTF-8 | 529 | 2.109375 | 2 | [] | no_license | package menu;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.stage.Stage;
public class menuDataController {
private Stage dialogStage;
private List list;
private int returnValue = 0;
@FXML
private void initialize() {
}
public void setDialogStage(Stage dialogStage) {
this.dialogS... | true |
9cbf0acb0c474cefa40d9f81a87820b58335c9ac | Java | TomYang1993/javacs | /proj1a/LinkedListDeque.java | UTF-8 | 2,658 | 3.640625 | 4 | [] | no_license | public class LinkedListDeque<T> {
private class LinkedNode {
private T item;
private LinkedNode prev;
private LinkedNode next;
public LinkedNode(T i, LinkedNode p, LinkedNode n){
item = i;
prev = p;
next = n;
}
private T getRecursive(int index){
if(index == 0){
return this.item;
}
... | true |
d0283b4938b7495463d1a9a9cf54a197b9edf4b2 | Java | maurer2/EloGG | /src/kinect/Kinect.java | UTF-8 | 3,566 | 2.421875 | 2 | [] | no_license | package kinect;
import java.util.ArrayList;
import processing.core.PApplet;
import processing.core.PVector;
import SimpleOpenNI.SimpleOpenNI;
@SuppressWarnings("serial")
public class Kinect {
private SimpleOpenNI kinect;
private ArrayList<KinectUser> userList = new ArrayList<KinectUser>();
private PVector posPro... | true |
110946f2ff977d0c10013253c0b15fdaed67b50d | Java | dncomponents/dncomponents | /material-ui/src/main/java/com/dncomponents/material/client/autocomplete/tree/AutocompleteTreeViewImpl.java | UTF-8 | 3,376 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | package com.dncomponents.material.client.autocomplete.tree;
import com.dncomponents.UiField;
import com.dncomponents.Component;
import com.dncomponents.client.components.HasTreeData;
import com.dncomponents.client.components.Tree;
import com.dncomponents.client.components.core.CellConfig;
import com.dncomponents.clien... | true |
bd41c68cf9334fed9ccb51554e3729138dce3760 | Java | flywind2/joeis | /src/irvine/oeis/a292/A292320.java | UTF-8 | 397 | 2.59375 | 3 | [] | no_license | package irvine.oeis.a292;
import irvine.oeis.LinearRecurrence;
/**
* A292320 p-INVERT of <code>(1,0,0,1,0,0,1,0,0,...)</code>, where <code>p(S) = 1 - S - S^3</code>.
* @author Sean A. Irvine
*/
public class A292320 extends LinearRecurrence {
/** Construct the sequence. */
public A292320() {
super(new long... | true |
b6153814c6b2347e98ddfeb2dcb0118f21a3928b | Java | bruce12452002/SpringBootAndSpringBatchPractice | /src/main/java/bruce/home/listener/MyJobListener.java | UTF-8 | 604 | 2.078125 | 2 | [] | no_license | package bruce.home.listener;
import org.springframework.batch.core.JobExecution;
import org.springframework.batch.core.JobExecutionListener;
import org.springframework.stereotype.Component;
//@Component
public class MyJobListener implements JobExecutionListener {
@Override
public void beforeJob(JobExecution j... | true |
a8805fb1c4cc94c07bb41e69da036df55fa9f9e1 | Java | yqq836438958/cyancloud | /src/com/yqq/framework/RemoteProxyClient.java | UTF-8 | 2,079 | 2.03125 | 2 | [] | no_license |
package com.yqq.framework;
import android.os.Bundle;
import android.os.IBinder;
import android.os.RemoteException;
import com.limpoxe.support.servicemanager.ProcessBinder;
import com.limpoxe.support.servicemanager.ServiceProvider;
import com.limpoxe.support.servicemanager.compat.BundleCompat;
import com.limpoxe.supp... | true |
73f993a1fc2c071517cff717b5b601a133dab20a | Java | noumanhabib/QNo218ARID2982 | /app/src/main/java/com/example/qno218arid2982/RegisterActivity.java | UTF-8 | 1,018 | 2.015625 | 2 | [] | no_license | package com.example.qno218arid2982;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class RegisterActivity extends AppCompatActivity {
Button register;
Edi... | true |
84de9f36e273fb535bda544e3f92d692fe6511b6 | Java | gdlwl/homework | /pattern-design/prototype/src/main/java/com/lwl/prototype/demo/Order.java | UTF-8 | 1,010 | 2.40625 | 2 | [] | no_license | package com.lwl.prototype.demo;
import java.io.Serializable;
public class Order extends BaseEntity implements Serializable{
private String orderNo;
private Integer orderType;
private Long orderProductRefId;
public String getOrderNo() {
return orderNo;
}
public void setOrderNo(String... | true |
1fd01700a2db2ec7c61b1fb16a642173dccc5ba4 | Java | yalowe/Java-822.104-1 | /01_Basic java/Day 02 - 07.10.2018/Lesson code/06_Short conditation/App.java | UTF-8 | 351 | 3.109375 | 3 | [] | no_license |
public class App {
public static void main(String[] args) {
String str1, str2;
int num=8;
if(num%2==0)
str1="Even";
else
str1="Odd";
System.out.println("Regular conditation: "+str1 );
str2=(num%2==0) ? "Even" : "Odd";
System.out.println("Short conditatio... | true |
46620e4ed2a673c2c64c482c9bef8d0b30e5e3bc | Java | mariaangelina/SkyLark | /VIPPlazaAndroid/app/src/main/java/in/vipplaza/info/InfoCountry.java | UTF-8 | 294 | 2.078125 | 2 | [] | no_license | package in.vipplaza.info;
/**
* Created by manish on 17-07-2015.
*/
public class InfoCountry {
public String name;
public String id;
public InfoCountry()
{
}
public InfoCountry(InfoCountry obj)
{
this.name=obj.name;
this.id=obj.id;
}
}
| true |
299c12fa7361b47fe127736d805306aa4ac65794 | Java | ryneal/chaos-arcade | /src/main/java/com/github/ryneal/chaosarcade/service/PodService.java | UTF-8 | 282 | 1.90625 | 2 | [
"Apache-2.0"
] | permissive | package com.github.ryneal.chaosarcade.service;
import com.github.ryneal.chaosarcade.model.Pod;
import java.util.List;
import java.util.Optional;
public interface PodService {
Optional<Pod> getRandomPod();
List<Pod> getAllPods();
Optional<Pod> deletePod(Pod pod);
}
| true |
f151ddf0de89c9284c0bdcb8b8ee44d05c645bf2 | Java | emeraldjava/JavaFx-Widget-for-Desktop | /src/main/java/com/arivan/amin/widget/cpu/CpuMonitor.java | UTF-8 | 473 | 2.359375 | 2 | [
"Apache-2.0"
] | permissive | package com.arivan.amin.widget.cpu;
import com.arivan.amin.widget.SystemCommandHandler;
@FunctionalInterface
public interface CpuMonitor extends SystemCommandHandler
{
/**
* Gets cpu usage of the system, all cores combined.
* The double returned is between 0 and 1 where 1 means full cpu usage
* th... | true |
b78b20b07e11e1a0d7fbbb74f7eb10550c31b5d4 | Java | sandhya2304/DesignPattern | /src/bridgePattern1/TestDemo.java | UTF-8 | 250 | 2.609375 | 3 | [] | no_license | package bridgePattern1;
public class TestDemo
{
public static void main(String[] args)
{
Shape red = new Circle(100,100,10,new RedCircle());
Shape green = new Circle(100,100,10,new GreenCircle());
red.drwa();
green.drwa();
}
}
| true |
cf6ef3e5c17523d24b224f50c50226c18ad22ea6 | Java | desabi/java-se | /bases_datos/mysql/java_mysql_b/b_java_mysql_consola/src/c_trabajador/Trabajador_Eliminar_A.java | UTF-8 | 684 | 2.796875 | 3 | [] | no_license |
package c_trabajador;
import b_utilidades.ConexionMySQL;
import java.util.Scanner;
/**
*
* Autor: Abi
*/
public class Trabajador_Eliminar_A {
public static void main(String[] args) {
Scanner leer = new Scanner(System.in);
/* 1ro: Pedir los datos */
System.out... | true |
655eae17f6bc7c0b9db9b92899154d09bd3a11b5 | Java | cha63506/CompSecurity | /Entertainment/xfinity_source/src/tv/freewheel/hybrid/CuePointManager.java | UTF-8 | 2,224 | 2.09375 | 2 | [] | no_license | // Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package tv.freewheel.hybrid;
import android.util.Pair;
import java.util.ArrayList;
import tv.freewheel.hybrid.utils.Logger;
import tv.freewheel.... | true |
3d8335abe3ffbb9c192b77309b1edd84c689de5a | Java | gillesvtsilvano/jcaml | /jml/src/Testes/TesteSintax.java | ISO-8859-1 | 1,771 | 3.046875 | 3 | [] | no_license | package Testes;
import java.util.LinkedList;
import java.util.List;
import symbolTable.Table;
import symbolTable.VarType;
import symbolTable.Variable;
import interpreter.ExpressionEvaluator;
import CommonClasses.Error;
import CommonClasses.Lexem;
import CommonClasses.SintaxElement;
import CommonClasses.Si... | true |
047ae46fd444b4d49d8a18d18e22419365411188 | Java | haithamsboui/Tunisian-Red-Crescent---Android | /app/src/main/java/com/esprit/redcrescentapp/Fragments/SignupFragment.java | UTF-8 | 9,142 | 2.1875 | 2 | [
"ISC"
] | permissive | package com.esprit.redcrescentapp.Fragments;
import android.app.DatePickerDialog;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.InputType;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Vi... | true |
a2ed0ce01ba26ab9d42cc5d884add138d12a9de0 | Java | snmuppa/twitter-redux | /app/src/main/java/com/fetherz/saim/twitterredux/models/client/Tweet.java | UTF-8 | 7,391 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package com.fetherz.saim.twitterredux.models.client;
import com.fetherz.saim.twitterredux.utils.GenericUtil;
import org.parceler.Parcel;
/**
* Created by sm032858 on 3/25/17.
*/
@Parcel(analyze={Tweet.class})
public class Tweet {
static final String COLUMN_CREATED_AT = "CreatedAt";
static final String CO... | true |
122e998a8de5a4d31abbff227966514351a2e0a7 | Java | Alphadash/kata-samples | /test/java/com/techelevator/KataPrimeFactorsTest.java | UTF-8 | 3,171 | 2.9375 | 3 | [] | no_license | package com.techelevator;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
public class KataPrimeFactorsTest {
@Test
public void resultIs2forInput2()
{
List<Integer> result = KataPrimeFactors.factorize(2);
Assert.assertEquals(1, result.size());
Assert.assertEquals(2, result.get(0).intV... | true |
f2826c664dd04e2d1002c5c83bd1bb47bd19bd6e | Java | shriviraj/EDac-Backend-Project | /EdacProject-springboot-backend/src/main/java/com/shr/springboot/controller/UsersController.java | UTF-8 | 2,672 | 2.1875 | 2 | [] | no_license |
package com.shr.springboot.controller;
import java.util.List;
import java.util.Optional;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.ui.Model;
import org.springframework.web.bind.anno... | true |
b011bf2af8fd2ce5f722a8df078135fe5d88fcf0 | Java | estuardo8u14/Hoja-de-trabajo-4 | /StackArrayListTest.java | UTF-8 | 417 | 1.53125 | 2 | [] | no_license | pakagee hdt4;
public class StackArrayListTest {
public StackArrayListTest() {
}
@BeforeClass
public static void setUpClass() {
}
@AfterClass
public static void tearDownClass() {
}
@Test
public void testSomeMethod() {
// TODO review the generated test code ... | true |
b2b680333336420570a2a2714d2dfc48bc450ea1 | Java | seraphdestiny/JavaTest | /PowerWeapon.java | UTF-8 | 290 | 3.046875 | 3 | [] | no_license | package ntou.cs.java2019.hw3;
public class PowerWeapon extends Weapon{
public PowerWeapon(double offense, double defense) {
super(offense, defense);
// TODO Auto-generated constructor stub
}
@Override
public double attack() {
return super.getOffense()*1.2; //attack * 1.2
}
}
| true |
3543210dc9e9b26ebb70dffa5c06ae1af67e95d5 | Java | dickanirwansyah/springboot-ok | /src/main/java/com/dicka/ngboot/springok/services/serviceImpl/ProductServiceImpl.java | UTF-8 | 1,987 | 2.390625 | 2 | [] | no_license | package com.dicka.ngboot.springok.services.serviceImpl;
import com.dicka.ngboot.springok.model.Product;
import com.dicka.ngboot.springok.repository.RepoProduct;
import com.dicka.ngboot.springok.services.ProductServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotyp... | true |
d9e361b56c7005ff76da955d1ef913a19ceca4ac | Java | Madhur345/BasicProgramRevision | /src/P77Customer.java | UTF-8 | 115 | 2.109375 | 2 | [] | no_license |
public class P77Customer {
String custName;
void disp(){
System.out.println("Display customer Details");
}
}
| true |
062afc3405715db9c66c57ce78a04bda036318a6 | Java | kamrul-s/CSE308-SW | /offline 4/1705081_q2/src/Mediator/JSC.java | UTF-8 | 2,262 | 3.09375 | 3 | [] | no_license | package Mediator;
import Partcipents.*;
import java.util.*;
public class JSC implements Mediaor {
private Queue<String> jwsalist;
private Queue<String> jpdclist;
private Queue<String> jrtalist;
private Queue<String> jtrcList;
public JSC(){
jwsalist=new LinkedList<>();
jpdclist=ne... | true |
e2bc85730d8375991a55ba9d0c45ecdc85add770 | Java | GongLe/lework2 | /modules/core-service/src/main/java/org/lework/core/service/auditor/OperatingRecordManager.java | UTF-8 | 2,461 | 2.140625 | 2 | [] | no_license | package org.lework.core.service.auditor;
import org.lework.core.persistence.dao.auditor.OperatingRecordDao;
import org.lework.core.persistence.entity.auditor.OperatingRecord;
import org.lework.runner.orm.support.SearchFilter;
import org.lework.runner.orm.support.Specifications;
import org.lework.runner.utils.Collectio... | true |
5749430b0f54393339a4865fe88afdfeeb91ba3c | Java | RakhmedovRS/LeetCode | /src/main/java/tasks/MinimumBitFlipsToConvertNumber.java | UTF-8 | 560 | 2.859375 | 3 | [] | no_license | package tasks;
import common.Difficulty;
import common.LeetCode;
/**
* @author RakhmedovRS
* @created 4/3/2022
*/
@LeetCode(
id = 2220,
name = "Minimum Bit Flips to Convert Number",
url = "https://leetcode.com/problems/minimum-bit-flips-to-convert-number/",
difficulty = Difficulty.EASY
)
public class Minim... | true |
9cedfcbb6020557b4a3a505fd32532e7002db408 | Java | lierba64/brz | /MX5/app/src/main/java/com/brz/ui/DateView.java | UTF-8 | 3,471 | 2.3125 | 2 | [] | no_license | package com.brz.ui;
import android.annotation.TargetApi;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.graphics.Typeface;
import android.o... | true |
7ce586434f4b1f92f16e0615a1888d81148c49b9 | Java | juanfmv/Minijuego-Java-1-DAW | /Principal.java | ISO-8859-3 | 3,638 | 2.84375 | 3 | [] | no_license | package juego;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.Clip;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
import javax.swing.LayoutStyle.ComponentPlace... | true |
014dec00e885c2ffdc8d1884d44179ce254cd402 | Java | cardinal76/echo | /rd-api/src/main/java/it/clevercom/echo/rd/repository/IVModalityAllocation_rd_Repository.java | UTF-8 | 632 | 1.9375 | 2 | [] | no_license | package it.clevercom.echo.rd.repository;
import java.util.Date;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import it.clevercom.echo.rd.model.entity.VModalityAllocation;
public interface IVModalityAlloc... | true |
a1d07faf785a9587b78514bc9dfa1358179b560e | Java | GoodGuyChester/WM | /main/java/com/GoodGuyChester/Witcher/Entity/EntityGhoul.java | UTF-8 | 1,031 | 2.21875 | 2 | [] | no_license | package com.GoodGuyChester.Witcher.Entity;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.ai.EntityJumpHelper;
import net.minecraft.entity.ai.EntityMoveHelper;
import net.minecraft.entity.passive.EntityRabbit;
... | true |
61f00e133d4a1ac457f429fba6872126f187130f | Java | lperali/Myrepo | /helloworld/src/helloworld/HelloWorld.java | UTF-8 | 548 | 3.5625 | 4 | [] | no_license | package helloworld;
public class HelloWorld {
HelloWorld() {
System.out.println("hello constructor");
}
int getValue(int i) {
int j=i++;
System.out.println("The value of i is:"+j+" "+i+ " "+(--i));
return --j;
}
static {
System.out.println("hai");
}
public static void main(String args... | true |
6076493755c9bbbd4212e6f37a605bb0d39fc13e | Java | sendyoung/jlldajiaxinfu | /src/main/java/jll/model/message/OrgReceiveMessage.java | UTF-8 | 2,877 | 1.992188 | 2 | [] | no_license | package jll.model.message;
import jll.model.Base_Model;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
/**
* 收信表
*/
@Entity(name="org_receive_message")
public class OrgReceiveMessage extends Base_Model {
... | true |
a603f523e73e379e5e6e8ba7b782908a40cb0175 | Java | bliblidotcom/blibli-backend-framework | /blibli-backend-framework-api-client/src/test/java/com/blibli/oss/backend/apiclient/TestApplication.java | UTF-8 | 1,705 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | package com.blibli.oss.backend.apiclient;
import com.blibli.oss.backend.apiclient.client.ExampleInterceptor;
import com.blibli.oss.backend.apiclient.customizer.ApiClientTcpClientCustomizer;
import com.blibli.oss.backend.apiclient.interceptor.GlobalApiClientInterceptor;
import org.springframework.boot.autoconfigure.Spr... | true |
a17297f4fdf80eb64779f0330d9962493ed4fba9 | Java | skkuse-adv/2019Fall_team2 | /analysis/reverse-engineering/decompile-fitts-with-gradle-20191031-2200/src/main/java/kr/co/popone/fitts/http/GlobeHttpHandler.java | UTF-8 | 792 | 1.804688 | 2 | [
"Apache-2.0"
] | permissive | package kr.co.popone.fitts.http;
import okhttp3.Interceptor.Chain;
import okhttp3.Request;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface GlobeHttpHandler {
public static final Companion Companion = Companion.$$INSTANCE;
public static final cla... | true |
169cd7d5a816646b6c59917c823fd36ccebd941a | Java | tpbvieira/mobisaude | /mobisaude-ws/src/main/java/co/salutary/mobisaude/model/avaliacao/facade/AvaliacaoFacadeImpl.java | UTF-8 | 1,422 | 2.078125 | 2 | [] | no_license | package co.salutary.mobisaude.model.avaliacao.facade;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import co.salutary.mobisaude.mode... | true |
50c5e76439b30b9025152a38125f477c51d09c7e | Java | a3herrera/Project-PGEN | /PGEN-CLIENT/ejbModule/com/app/bussiness/CheckBookBusinessLogicLocal.java | UTF-8 | 499 | 1.984375 | 2 | [] | no_license | package com.app.bussiness;
import java.util.List;
import com.app.entity.banks.ChequeE;
import com.app.entity.banks.ChequeraE;
import com.app.entity.enums.EstadoCheque;
import com.app.entity.enums.EstadoChequera;
public interface CheckBookBusinessLogicLocal {
EstadoCheque getNewStateCheck(EstadoChequera ... | true |
03e506c152801df072ff2fca4a8bc2cbb1997561 | Java | BananApp/httone | /mobile/src/main/java/io/github/bananapp/httone/gcm/GcmIntentService.java | UTF-8 | 8,902 | 1.789063 | 2 | [] | no_license | package io.github.bananapp.httone.gcm;
import android.app.IntentService;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.database.DatabaseUtils;
imp... | true |
97ede1901e2d8576a39ceccbb79ac2326473c3c0 | Java | Food-Ordering-Application/pos-android | /app/src/main/java/com/foa/smartpos/model/enums/StockState.java | UTF-8 | 217 | 1.890625 | 2 | [] | no_license | package com.foa.smartpos.model.enums;
import com.google.gson.annotations.SerializedName;
public enum StockState {
@SerializedName("OUT_OF_STOCK")
OUT_OF_STOCK,
@SerializedName("IN_STOCK")
IN_STOCK
}
| true |
ea3e97e611f8d8ab2139d5264c7f278eecdb0c18 | Java | fjh658/bindiff | /src_procyon/com/google/security/zynamics/bindiff/graph/BinDiffGraph.java | UTF-8 | 7,799 | 2.046875 | 2 | [] | no_license | package com.google.security.zynamics.bindiff.graph;
import com.google.security.zynamics.bindiff.graph.listeners.*;
import com.google.security.zynamics.bindiff.graph.settings.*;
import com.google.security.zynamics.bindiff.enums.*;
import com.google.security.zynamics.zylib.gui.zygraph.*;
import com.google.common.base.*;... | true |
70dcd0788cb75a8577a954559a0cdd1c4d1b8239 | Java | michael-artes/estudos-cdc | /spring-mvc-cdc/src/test/java/br/com/michael/loja/confg/DataSourceConfigurationTest.java | UTF-8 | 636 | 1.921875 | 2 | [] | no_license | package br.com.michael.loja.confg;
import javax.sql.DataSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Profile;
import org.springframework.jdbc.datasource.DriverManagerDataSource;
public class DataSourceConfigurationTest {
@Bean
@Profile("dev")
public D... | true |
d04537d5b82757f23516c5efcd589bdeca94b836 | Java | tkint/mini-dao | /src/test/java/com/thomaskint/minidao/testonly/model/UserTest.java | UTF-8 | 3,109 | 1.796875 | 2 | [
"MIT"
] | permissive | /*
* MIT License
*
* Copyright (c) 2017 Thomas Kint
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modi... | true |
569e8dd3e99af50d483a6e6a9f9199e7b57c799b | Java | jalindd/Dogger | /src/main/java/com/zoo/dogger/cons/Status.java | UTF-8 | 357 | 2.5 | 2 | [
"Apache-2.0"
] | permissive | package com.zoo.dogger.cons;
public enum Status {
WAIT("待解码"),ING("转码中"),DID("已完成"),UNDO("不解码"),FAIL("失败");
private final String value;
private Status(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return value;
... | true |