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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
9fff65f90176e77cdb7886c8661cef792bf4a1ea | Java | oszhugc/springboot-activiti-demo | /src/main/java/com/neimeng/workflow/entity/params/ApplyDatasetInfo.java | UTF-8 | 990 | 2.203125 | 2 | [] | no_license | package com.neimeng.workflow.entity.params;
import com.neimeng.workflow.entity.enums.PriorityEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import javax.validation.constraints.NotNull;
/**
* 申请数据集的基本信息... | true |
989844e795c36dc413909751e12690bb75b7958b | Java | brunofc125/exemplos-principios | /reuso-composicao/reusocomposicao/src/main/java/br/ufes/reusocomposicao/certo/model/Gerente.java | UTF-8 | 786 | 2.234375 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package br.ufes.reusocomposicao.certo.model;
/**
*
* @author bruno
*/
public class Gerente extends Funcionario {
private b... | true |
95d20e999fe1d124a90ec28a8c9440e677b32270 | Java | VitorMarques/automattor | /src/main/java/br/com/kolin/automattor/model/place/detail/OpeningHours.java | UTF-8 | 255 | 1.53125 | 2 | [] | no_license | package br.com.kolin.automattor.model.place.detail;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class OpeningHours {
private String text;
}
| true |
e0b72d1059d677ba51bf2bfe4cbb85c9d2b35a39 | Java | WKorga/NLP2018 | /Lista_3/zad_3.3/src/Pair.java | UTF-8 | 345 | 3.03125 | 3 | [] | no_license | public class Pair {
private double cheated;
private double nonCheated;
public Pair(double cheated, double nonCheated) {
this.cheated = cheated;
this.nonCheated = nonCheated;
}
public double getCheated() {
return cheated;
}
public double getNonCheated() {
re... | true |
0a19dae71852324c2250c9f668e4bc42e6770117 | Java | lailaAbbas/OOP | /LAILA-ABBAS-ASSIGNMENT-6/Sundae.java | UTF-8 | 707 | 3.015625 | 3 | [] | no_license | package lailaAbbasAssignment;
public class Sundae extends IceCream {
private String SundaeName;
private int toppinPrice;
public Sundae (String iceName, int icePrice ,String toppingName , int toppingPrice)
{
super(iceName,icePrice);
SundaeName = toppingName + " Sundae with \n" ;
toppinPrice = toppingPrice;... | true |
f1e1843a92f40e8ace0c12eb65cca2917d51bc7c | Java | anandhang/testRepo | /src/test/java/test_scripts/inheritance/Grand_Father_Family.java | UTF-8 | 388 | 2.796875 | 3 | [] | no_license | package test_scripts.inheritance;
public class Grand_Father_Family {
String grandFatherName = "Periyathambi";
String grandMotherName = "Kaveri";
public void display_grandFather(){
System.out.println("-:Family Members:-");
System.out.println("Grand Father Name: "+ grandFatherName);
... | true |
cd2c32a630d40c2e7a00cbdecf63004206eead6e | Java | rainyheart/ml4football | /web-demo/mis2/src/main/java/com/mis/repositories/NewsRepository.java | UTF-8 | 749 | 1.921875 | 2 | [] | no_license | package com.mis.repositories;
import java.util.Date;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;
import org.springframework... | true |
1f5bc2311f270aa3541cbfdea4b82053035c4df9 | Java | qqw78901/interview | /src/main/java/com/jeff/serviceImpl/ResultServiceImpl.java | UTF-8 | 4,318 | 2.1875 | 2 | [] | no_license | package com.jeff.serviceImpl;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.jeff.common.mConst;
import com.jeff.mapper.InterviewMapper;
import com.jeff.mapper.ResultM... | true |
5030e4317053a420db3f5c5c33eefe291d7cfe9f | Java | Taekyung2/Java_algorithm | /src/boj_algorithm/_11000번대/_11600/_11657_타임머신.java | UTF-8 | 1,450 | 3.078125 | 3 | [] | no_license | package boj_algorithm._11600;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;
public class _11657_타임머신 {
static class Edge {
int to, weight;
public Edge(int to, int weight) {
this.to = to;
this.weight = weight;
}
}
final static int INF = 1000000000;
static long[] uppe... | true |
d314ffb64a3bed487d05f7fd61b693bc689bd2b8 | Java | reformasky/git | /src/test/java/org/xuan/NumArray_MutableTest.java | UTF-8 | 723 | 2.609375 | 3 | [] | no_license | package org.xuan;
import org.testng.Assert;
import org.testng.annotations.Test;
/**
* Created by xzhou2 on 5/25/16.
*/
public class NumArray_MutableTest {
@Test
public void test() {
NumArray_Mutable.NumArray numArray = new NumArray_Mutable.NumArray(new int[]{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1... | true |
3ad98ccf70786e1585fe751185ae1082dbcf1c44 | Java | K-oba/ExpoWeb | /expoCR/src/main/java/com/kaoba/expo/domain/Pregunta.java | UTF-8 | 3,140 | 2.1875 | 2 | [] | no_license | package com.kaoba.expo.domain;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import javax.persistence.*;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import java.util.Objects;
/**
... | true |
cfa36c6530b750cf452b7b4b5d12c500739bf26e | Java | mengmengmengmeng/PayMaya-Android-SDK | /sdk-android/src/main/java/com/paymaya/sdk/android/checkout/models/Contact.java | UTF-8 | 3,175 | 2.265625 | 2 | [
"MIT"
] | permissive | /*
* Copyright (c) 2016 PayMaya Philippines, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, mer... | true |
92a43d7139b5940525759287e9d56e2f283b3155 | Java | kinnplh/ExprTouchAndSlide | /app/src/main/java/com/example/kinnplh/exprtouchandslide/MainOperationView.java | UTF-8 | 2,184 | 2.4375 | 2 | [] | no_license | package com.example.kinnplh.exprtouchandslide;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.util.DisplayMetrics;
import android.view.MotionEvent;
import android.view.View;
import java.io.BufferedWriter;
import java.io.FileOutputStream;
import java.io.IO... | true |
8d1a1d8473aab7562849ed2452dfb93b32404bbd | Java | chaqui/BananaView | /src/com/android/json/JSONManager.java | UTF-8 | 1,186 | 2.609375 | 3 | [
"BSD-3-Clause"
] | permissive | package com.android.json;
import java.io.*;
import org.apache.http.*;
import org.apache.http.client.*;
import org.apache.http.client.methods.*;
import org.apache.http.impl.client.*;
import org.json.*;
public class JSONManager {
public static JSONObject getJSONfromURL(String url){
InputStream is = null;
S... | true |
1c22949dfbc1a38aa182a296fa721facd5e21577 | Java | Dmitry-khv/2019-09-otus-java-konoplev | /hw09-jdbc/src/main/java/ru/otus/jdbc/dao/AccountDaoJdbc.java | UTF-8 | 1,834 | 2.421875 | 2 | [] | no_license | package ru.otus.jdbc.dao;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ru.otus.api.dao.AccountDao;
import ru.otus.api.dao.UserDaoException;
import ru.otus.api.model.Account;
import ru.otus.api.sessionmanager.SessionManager;
import ru.otus.jdbc.DBExecutor;
import ru.otus.jdbc.sessionmanager.SessionMa... | true |
7aefe51a588a781600e7ef719f5a082313aa270a | Java | RustemGaniev/Csv | /src/main/java/Main.java | UTF-8 | 3,747 | 2.703125 | 3 | [] | no_license | import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.reflect.TypeToken;
import com.opencsv.CSVReader;
import com.opencsv.bean.ColumnPositionMappingStrategy;
import com.opencsv.bean.CsvToBean;
import com.opencsv.bean.CsvToBeanBuilder;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom... | true |
f330b9452c152e172e667e1ef1331a30f8dbbbbb | Java | Bezngor/Patterns | /src/basepatterns/creational/abstractFactory/teamNight/TeamManager_Night.java | UTF-8 | 278 | 2.46875 | 2 | [] | no_license | package basepatterns.creational.abstractFactory.teamNight;
import basepatterns.creational.abstractFactory.Manager;
public class TeamManager_Night implements Manager {
@Override
public void manage() {
System.out.println("Manages team of night shift.");
}
}
| true |
cd5bc025e053423e8cd9838e564a46a3051622a8 | Java | marcobehler/09-microservices-the-good-the-bad | /src/test/java/BankStatementImporterTest.java | UTF-8 | 1,728 | 2.359375 | 2 | [] | no_license | import com.google.common.jimfs.Configuration;
import com.google.common.jimfs.Jimfs;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import java.nio.file.FileSystem;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;
import static org.assertj.core.api.Assertions.a... | true |
3f7799bf3c50581f611f2d69dd6862fa8bbbc527 | Java | estevemestre/Programacion1DAW | /Ud11/src/Teatre/Entrada.java | UTF-8 | 569 | 2.578125 | 3 | [] | no_license | package Teatre;
import java.util.Scanner;
public abstract class Entrada {
protected static int idTotal = 0;
protected static Scanner reader = new Scanner (System.in);
protected int id;
protected Zona Zona;
protected String nom;
public Entrada () {
this.id ... | true |
99f204c36f73fc038ed7b0ac48485318e5d05338 | Java | isfaaghyth/algorithm-playground | /Shortest Unsorted Continuous Subarray/Solution.java | UTF-8 | 1,367 | 3.65625 | 4 | [] | no_license | // https://leetcode.com/problems/shortest-unsorted-continuous-subarray
//
// Given an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array will be sorted in ascending order, too.
// You need to find the shortest such subarray and output i... | true |
6176c673b964354aa5d08092952564e0ef52ad99 | Java | ParakhJaggi/NutritionTrakr | /FTProject/src/main/java/FitnessTracker/Exceptions/UserNotFoundException.java | UTF-8 | 218 | 2.125 | 2 | [] | no_license | package FitnessTracker.Exceptions;
import java.io.IOException;
/*
* @author Garth Terlizzi III
*/
public class UserNotFoundException extends IOException{
public UserNotFoundException(String message) {
super("message");
}
}
| true |
32b11f1ee6f3be3298f9c746a916b4c50fe5aa0d | Java | Toxidius/MindcrackSurvivalGames | /src/MSG/GameMechanics/ChestLootGenerator.java | UTF-8 | 7,311 | 2.578125 | 3 | [] | no_license | package MSG.GameMechanics;
import java.util.ArrayList;
import java.util.Random;
import org.bukkit.Material;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.EnchantmentStorageMeta;
public class ChestL... | true |
15139dbb5e6cfeb840c7fe82e032d3dd466b5c81 | Java | MykhailoMike/programming_patterns | /src/main/java/com/mkaloshyn/behavioral/iterator_16/Playlist.java | UTF-8 | 925 | 3.46875 | 3 | [] | no_license | package main.java.com.mkaloshyn.behavioral.iterator_16;
public class Playlist implements Collection {
private String name;
private String[] tracks;
public Playlist(String name, String[] tracks) {
this.name = name;
this.tracks = tracks;
}
public String getName() {
return n... | true |
3e7256ca735b75d7fe579fc0ab60adbfa5cf0d6e | Java | osdbl/osd-edu | /edu-04/src/main/java/net/croz/osd/edu/shapes/Triangle.java | UTF-8 | 367 | 2.828125 | 3 | [] | no_license | package net.croz.osd.edu.shapes;
public class Triangle extends RegularPoligon {
@Override
public double area() {
return super.area()*Math.sqrt(3)/4;
}
@Override
public double perimeter() {
return 3*sideLength;
}
@Override
public ShapeType getType() {
return ShapeType.EQUILATERAL_TRIANGLE;
}
@Overri... | true |
c3ef73467273a37435dffaed4d20880328c823ba | Java | jamesmarva/SuccessLeetCode | /src/leet0801to1000/problem0852/PeakIndexInMountainArray0852.java | UTF-8 | 669 | 2.9375 | 3 | [] | no_license | package leet0801to1000.problem0852;
/**
* @program: SuccessLeetCode
* @description: https://leetcode-cn.com/problems/peak-index-in-a-mountain-array/
* @author: James
* @create: 2019-09-15 14:05
**/
public class PeakIndexInMountainArray0852 {
public int peakIndexInMountainArray(int[] A) {
int length =... | true |
2ae8790885b7d75461fdaccf483c39b803ad3bab | Java | ilhamfarabi/Bomb-Kicker | /BouncingBall/src/com/example/bouncingball/BouncingBallView.java | ISO-8859-1 | 5,170 | 3 | 3 | [] | no_license | package com.example.bouncingball;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.SurfaceHolder;
import android.vi... | true |
b6589a27c309189689e718bba9900a3dc8c7cae2 | Java | subramanyamgv/CarBuyMVP | /app/src/androidTest/java/app/subbu/carbuy/CarSelectionActivityEspressoTest.java | UTF-8 | 608 | 1.710938 | 2 | [
"MIT"
] | permissive | package app.subbu.carbuy;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import app.subbu.carbuy.activity.CarSelectionActivity;
/**
* Created by Subramanyam on 23-Jan-2017.
*/
@Run... | true |
95c1292a5e3871443862d286265b68fb9563210d | Java | nju-Nicko/leetcode-solutions | /src/main/java/com/huawei/nlz/leetcode/solution/Integer2Roman.java | UTF-8 | 3,665 | 3.890625 | 4 | [] | no_license | package com.huawei.nlz.leetcode.solution;//罗马数字包含以下七种字符: I, V, X, L,C,D 和 M。
//
// 字符 数值
//I 1
//V 5
//X 10
//L 50
//C 100
//D 500
//M 1000
//
// 例如, 罗马数字 2 写做 II ,即为两个并列的 1。12 写做 XII ,即为 X + II 。 27 写做 XXVII, 即为 XX + V + II 。
... | true |
cbdc1e1e2b4da892f93f3581f7038d8bcae9866e | Java | vectorforce/Graph-editor | /src/com/vectorforce/view/dialogs/choisedialogs/ChooseArcDialog.java | UTF-8 | 7,419 | 2.40625 | 2 | [] | no_license | package com.vectorforce.view.dialogs.choisedialogs;
import com.vectorforce.controller.Controller;
import com.vectorforce.model.Arc;
import com.vectorforce.view.graphics.GraphicComponent;
import com.vectorforce.view.setup.ColorSetupComponent;
import com.vectorforce.view.setup.FontSetupComponent;
import org.eclipse.swt.... | true |
3597bf01b54337fa0b53ea53ec01dcae6a00b16a | Java | wbigno/Java-RestAssured-Cucumber | /src/test/java/StepFiles/HourlyStepdefs.java | UTF-8 | 3,088 | 2.359375 | 2 | [] | no_license | package StepFiles;
import cucumber.api.Scenario;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import io.restassured.response.Response;
import static io.restassured.path.json.JsonPath.from;
import org.testng.Assert;
import java.util.HashMap;
import java.util.Li... | true |
883f263f72d93959639e0fadf532c21b6628975b | Java | cha63506/CompSecurity | /Music-Audio/livemix_tapes_source/src/com/google/android/gms/fitness/result/DataStatsResult.java | UTF-8 | 1,253 | 1.53125 | 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 com.google.android.gms.fitness.result;
import android.os.Parcel;
import com.google.android.gms.common.api.Result;
import com.google.andr... | true |
7f891b3a99b1827d2706e8f1d85b9ec44b0c1630 | Java | stinymac/samples | /sample-core-java/src/main/java/org/mac/sample/corejava/concurrency/pattern/count_down/CountDown.java | UTF-8 | 1,080 | 2.671875 | 3 | [] | no_license | /*
* ( (
* )\ ) ( )\ ) ) (
* ( ( (()/( ))\( ((_| /( /(( ))\
* )\ )\ ((_))((_)\ _ )(_)|_))\ /((_)
* ((_|(_) _| (_))((_) ((_)__)((_|_))
* / _/ _ \/ _` / -_|_-< / _` \ V // -_)
* \__\___/\__,_\___/__/_\__,_|\_/ \___|
*
* 东隅已逝,桑榆非晚。(The time has passed,it is not too ... | true |
2f1314623bdeb78f16a29ecbd0b591cbf4b2fd70 | Java | macalinao/MattMG | /src/main/java/com/simplyian/cloudgame/gameplay/hostedffa/listeners/FFAGamePlayerListener.java | UTF-8 | 6,307 | 2.1875 | 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.simplyian.cloudgame.gameplay.hostedffa.listeners;
import com.simplyian.cloudgame.events.GameJoinEvent;
import com.simplyia... | true |
689a073f085eac9a86e34f4e9c74220da953dc3a | Java | carlosmast23/codefac-codesoft | /codefac-web/src/main/java/ec/com/codesoft/web/admin/ordenTrabajo/GestionarOrdenTrabajoMB.java | UTF-8 | 5,473 | 1.773438 | 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 ec.com.codesoft.web.admin.ordenTrabajo;
import ec.com.codesoft.model.DetalleOrdenTrabajo;
import ec.com.codesoft.model... | true |
06d1119f8d8069e57404f471d8078f74f59c4d90 | Java | wuxiangwuxiang/CMS | /src/main/java/com/qdu/controller/StudentInfoController.java | UTF-8 | 4,750 | 2.171875 | 2 | [] | no_license | package com.qdu.controller;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.collections.map.HashedMap;
import org.aspectj.weaver.ast.Var;
import org.spr... | true |
7ab26cbff692746ccf5ec3521a28742d311c752e | Java | RBWare/Glass-App-Manager | /Application Manager/src/main/java/com/rbware/glassappmanager/MainActivity.java | UTF-8 | 6,318 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package com.rbware.glassappmanager;
import android.app.Activity;
import android.app.ActionBar;
import android.app.Fragment;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import a... | true |
e2919cb57c42e39161716fab1bccda0f7a7ec67e | Java | asim-rehman/android-crimemap | /app/src/androidTest/java/uk/asimrehman/crimemap/CrimesInstrumentedTest.java | UTF-8 | 916 | 1.929688 | 2 | [
"MIT"
] | permissive | package uk.asimrehman.crimemap;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import org.junit.Test;
import uk.asimrehman.crimemap.businesslogiclayer.CrimesBLL;
import static org.junit.Assert.assertEquals;
/**
* Created by admin on 07/01/2017.
*/
public cl... | true |
e8c243edfe06af388aa2beeaf72d0b8f5a287c18 | Java | elpaablo/SimTogglePlus | /app/src/main/java/com/elpaablo/simtoggleplus/IOUtils.java | UTF-8 | 1,910 | 2.6875 | 3 | [] | no_license | package com.elpaablo.simtoggleplus;
import android.content.Context;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
final class IOUtils {
private final static String TAG = "ChargingLimiter.IOUtils";
public s... | true |
dd8e233ca9c2ad56fb5e0aaf66638a13f8002057 | Java | shital-shinde/WebTemplateRepo | /WebTemplate2/src/main/java/com/deere/dsfj/jdorderspringmvcweb/controller/WelcomeController.java | UTF-8 | 688 | 2.296875 | 2 | [] | no_license | package com.deere.dsfj.jdorderspringmvcweb.controller;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
... | true |
bf0b6bc475640fc641bac7044f672f6379ac510a | Java | BaharSaffarian/BankCustomersInfManager | /src/main/java/logic/RealCustomerLogic.java | UTF-8 | 1,228 | 2.515625 | 3 | [] | no_license | package logic;
import model.RealCustomer;
import model.RealCustomerCRUD;
import java.util.ArrayList;
public class RealCustomerLogic {
public static int registerCustomer(RealCustomer realCustomer) {
if (!RealCustomerCRUD.doesNationalCodeExists(realCustomer.getNationalCode())) {
return RealCust... | true |
5bf1aa1bf626d3476f1014e8b7cf2ee7e9438815 | Java | MahendraDecha/javaLogin-GetData-Using-MVC | /firstMvc/src/com/org/mvc/EmployeeDAO.java | UTF-8 | 2,997 | 2.984375 | 3 | [] | no_license | package com.org.mvc;
import java.sql.Statement;
import java.util.ArrayList;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
public class EmployeeDAO {
static Connection con = null;
static ResultSet rs = null;
static Statement st=null;
employee empL = null;
... | true |
7fd2678e24b1fc67f2e5dbe5904bd599370558f1 | Java | yisonyang/nmc_downpu | /src/main/java/com/downpu/domain/Admin.java | UTF-8 | 1,107 | 2.15625 | 2 | [] | no_license | package com.downpu.domain;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.criteria.CriteriaBuilder;
import javax.validation.constraints.NotNull;
/**
* Created by yy187 on 2017/9/11.
*/
@Entity
@Table(nam... | true |
14c659a2013fb6fa9297cb71b7518d04fd838dee | Java | eduardo-parra/perHand | /IcanprogramAutomationMOFO/src/Modelus/ModelusÖvning.java | IBM852 | 182 | 2.53125 | 3 | [] | no_license | package Modelus;
public class Modelusvning {
public static void main(String[] args) {
for(int i=0;i<80;i++) {
int mod = i%4;
System.out.println(mod+1);
}
}
}
| true |
63a4b8cdfacc0aed5cb6de0955ba8b001144a3c7 | Java | AkilaDPerera/EZReportsDESKTOP | /src/main/gui/support/FileChoose.java | UTF-8 | 2,380 | 2.65625 | 3 | [] | no_license | package main.gui.support;
import java.awt.Component;
import java.io.File;
import javax.swing.JFileChooser;
public class FileChoose {
public static String[] CreateFile(Component component){
JFileChooser fc = new JFileChooser();
javax.swing.filechooser.FileFilter ezrFilter = new javax.swing.filechooser.FileFil... | true |
dfb155e25e1b61592cdb7ebdc4301377df35d873 | Java | ChinasoftNobody/code-man | /codemanservice/src/main/java/com/chinasoft/lgh/codeman/server/service/ProjectService.java | UTF-8 | 466 | 1.726563 | 2 | [] | no_license | package com.chinasoft.lgh.codeman.server.service;
import com.chinasoft.lgh.codeman.server.model.MProject;
import com.chinasoft.lgh.codeman.server.pojo.project.ProjectListRequest;
import com.chinasoft.lgh.codeman.server.pojo.project.ProjectRegisterRequest;
import org.springframework.data.domain.Page;
public interface ... | true |
c8c2b971246372a48b2ddf79e77703c4b062aebf | Java | ning/atlas | /src/test/java/com/ning/atlas/TestScratchInstaller.java | UTF-8 | 3,397 | 2.15625 | 2 | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | package com.ning.atlas;
import com.ning.atlas.components.ScratchInstaller;
import com.ning.atlas.space.InMemorySpace;
import com.ning.atlas.spi.Deployment;
import com.ning.atlas.spi.Identity;
import com.ning.atlas.spi.Installer;
import com.ning.atlas.spi.My;
import com.ning.atlas.spi.Provisioner;
import com.ning.atlas... | true |
ea843b583ee65b39cc9c60c9cce5682016320681 | Java | fargome/chatbox-BaptisteDelattre | /app/src/main/java/com/example/cesiapp/DateHelper.java | UTF-8 | 553 | 3.03125 | 3 | [] | no_license | package com.example.cesiapp;
import java.text.SimpleDateFormat;
import java.util.Date;
//Classe permettant une gestion simplifiée des dates et timestamps.
public class DateHelper {
private static String format = "HH:mm:ss";
private static SimpleDateFormat formatter = null;
//Renvoie un objet date à part... | true |
be8b543626f35bee8993d560d1adf078f0af1cc9 | Java | arem94/persianCalenderHelper | /app/src/main/java/ir/steponit/persiancalenderhelper/YearMonthDate.java | UTF-8 | 2,035 | 2.890625 | 3 | [] | no_license | package ir.steponit.persiancalenderhelper;
public class YearMonthDate {
public YearMonthDate(int year, int month, int date) {
this.year = year;
this.month = month;
this.date = date;
hour=0;
Minutes=0;
Second=0;
}
public YearMonthDate(int year, int month, String monthText, int date, St... | true |
199b260eb80cd36f51d76ccafc8b6cdab3980ec2 | Java | uru-carlosmontes/WEBII-Java-Session | /src/cams/org/httpsession/Login.java | UTF-8 | 1,988 | 2.65625 | 3 | [] | no_license | package cams.org.httpsession;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import... | true |
66fbd5726dfa786e7ab738bd375da3f811b0611f | Java | strax84mb/SDPlayer | /SDPlayer/src/prog/paket/baza/struct/TraitMenu.java | UTF-8 | 4,059 | 2.375 | 2 | [] | no_license | package prog.paket.baza.struct;
import java.awt.dnd.DnDConstants;
import java.awt.dnd.DragGestureEvent;
import java.awt.dnd.DragGestureListener;
import java.awt.dnd.DragSource;
import java.awt.dnd.DropTarget;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;... | true |
183d728cbe9377c286dd37f0e7edd948a9191817 | Java | PDA-Open-Source/PDA-ENTITY | /src/main/java/com/socion/entity/exceptions/NotFoundException.java | UTF-8 | 631 | 2.296875 | 2 | [
"MIT"
] | permissive | package com.socion.entity.exceptions;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@JsonIgnoreProperties(ignoreUnknown = true)
@ResponseStatus(HttpStatus.BAD_REQUEST)
public class NotFoundExcep... | true |
1a3e78d713b204587d49d93ebe4be324258f0100 | Java | wxz1997/homework | /src/main/java/cn/wxz1997/entity/User.java | UTF-8 | 3,426 | 2.203125 | 2 | [] | no_license | package cn.wxz1997.entity;
import org.apache.commons.fileupload.util.LimitedInputStream;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;
public class User impl... | true |
6f85cd9b19e6a5b2bb07b86beb74fd3b66b0c405 | Java | linyue515/riot | /riot-core/src/main/java/com/redislabs/riot/redis/RpushCommand.java | UTF-8 | 299 | 1.757813 | 2 | [
"Apache-2.0"
] | permissive | package com.redislabs.riot.redis;
import java.util.Map;
import picocli.CommandLine.Command;
@Command(name = "rpush")
public class RpushCommand extends AbstractCollectionCommand {
@Override
protected Rpush<String, String, Map<String, Object>> collectionWriter() {
return new Rpush<>();
}
}
| true |
30dbeded99866241ae7bf4fd93800f6c600d3bf7 | Java | jude-lif/3128-robot-2021 | /src/main/java/org/team3128/grogu/subsystems/EKF.java | UTF-8 | 9,441 | 2.71875 | 3 | [] | no_license | package org.team3128.grogu.subsystems;
/**
* @author Tyler Costello
*/
import java.util.ArrayList;
import org.ejml.simple.SimpleMatrix;
public class EKF {
private SimpleMatrix x;
private SimpleMatrix P;
private SimpleMatrix Q;
private SimpleMatrix H;
private SimpleMatrix R;
private SimpleMatrix I;
private ... | true |
57a5d4975001b81808d9b9f696eca9ebfec53ab0 | Java | SuryaKavutarapu/Java_Basics-Training2 | /Packages/Package1Class.java | UTF-8 | 193 | 1.96875 | 2 | [] | no_license | package package1;
public class Package1Class{
public void show(){
System.out.println("method in package1.Package1Class");
}/*method show*/
}/*class Package1 */ | true |
2b850b3d0bcd230518dabcb1a7c7ee744c5b670a | Java | linxiumeng/zhonghong | /blade-service/blade-bg-admin/src/main/java/org/springblade/bgadmin/modules/sys/enums/OrdersFormEnum.java | UTF-8 | 1,315 | 2.6875 | 3 | [] | no_license | package org.springblade.bgadmin.modules.sys.enums;
import com.baomidou.mybatisplus.core.enums.IEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.io.Serializable;
/**
* @author hanbin
* 订单状态枚举
*/
public enum OrdersFormEnum implements IEnum {
... | true |
356a296a5b9235d062e6410d8ceee8a3c8e41f69 | Java | shahrozimtiaz/shahrozimtiaz.github.io | /3-CSC 202/Concurrency/src/SynchQueue.java | UTF-8 | 1,000 | 3.203125 | 3 | [] | no_license | /**
* This is my description of my SynchQueue Class. It is used by both Consumer and Produce threads.
*
* @author Shahroz Imtiaz
* @version 1.0
* @since 10/11/2017
*/
public class SynchQueue {
private int[] data;
private int last;
private boolean done;
public SynchQueue() {
done = false;
... | true |
73a0a290b04584e35365fd6dbe20a12df9ec9c46 | Java | csradu/Endava-Training | /LanguageAndData/PasswordCreater/src/RandomStringGenerator.java | UTF-8 | 883 | 3.5625 | 4 | [] | no_license | /**
* This file is part of the Endava Graduates training program
* Created by Calin Radu 20.07.2015
*/
import java.util.Random;
public class RandomStringGenerator {
//generator alphabet
private char[] alphabet;
//generator length
private int length;
RandomStringGenerator(int length, String a... | true |
bc0944d6cece3fad4717e603b66e4beb2e608ca0 | Java | mtransitapps/commons-android | /src/test/java/org/mtransit/android/commons/LocationUtilsTests.java | UTF-8 | 7,698 | 2.546875 | 3 | [
"Apache-2.0"
] | permissive | package org.mtransit.android.commons;
import org.junit.Test;
import org.mtransit.android.commons.LocationUtils.LocationPOI;
import org.mtransit.android.commons.data.DefaultPOI;
import org.mtransit.android.commons.data.POI;
import org.mtransit.android.commons.data.Route;
import org.mtransit.android.commons.data.RouteTr... | true |
fb9d892861d4ea1ea3674e6dc0beb7ddd1976a33 | Java | xiao098144/AndroidDemo | /app/src/main/java/com/xiao/demo/recyclerview/widget/customView/ViewPagerAdapter.java | UTF-8 | 1,063 | 2.328125 | 2 | [] | no_license | package com.xiao.demo.recyclerview.widget.customView;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.View;
import android.view.ViewGroup;
import java.util.List;
/**
* Description:
* Created on 2017/3/9
* Author : 萧
*/
public class ViewPagerAdapter exten... | true |
ae3b27cccb63bf7a9a45213b6df15ae5865376b2 | Java | apache/netbeans | /enterprise/performance.scripting/test/qa-functional/src/org/netbeans/performance/languages/actions/CreatePHPSampleProjectTest.java | UTF-8 | 2,865 | 1.601563 | 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 |
acd8c04ae139c0c08ef2eb0b0bfb5bdade035f49 | Java | research-software-directory/RSD-as-a-service | /scrapers/src/main/java/nl/esciencecenter/rsd/scraper/doi/CrossrefMention.java | UTF-8 | 4,917 | 1.71875 | 2 | [
"CC0-1.0",
"CC-BY-4.0",
"Apache-2.0",
"Fair"
] | permissive | // SPDX-FileCopyrightText: 2022 - 2023 Ewan Cahen (Netherlands eScience Center) <e.cahen@esciencecenter.nl>
// SPDX-FileCopyrightText: 2022 - 2023 Netherlands eScience Center
// SPDX-FileCopyrightText: 2022 Dusan Mijatovic (dv4all)
// SPDX-FileCopyrightText: 2022 dv4all
//
// SPDX-License-Identifier: Apache-2.0
packag... | true |
9f9a2ff5d2b59922f871852c8d767222a3e1edd6 | Java | bcgit/bc-java | /core/src/main/jdk1.3/org/bouncycastle/crypto/CryptoServicesRegistrar.java | UTF-8 | 20,266 | 1.773438 | 2 | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package org.bouncycastle.crypto;
import java.math.BigInteger;
import java.security.AccessController;
import java.security.Permission;
import java.security.PrivilegedAction;
import java.security.SecureRandom;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import org.bouncycastle.asn1.x9.... | true |
4a53b442af5ecda93cdda539eda5a710807067aa | Java | xopheS/Gameboy | /src/ch/epfl/gameboj/component/memory/RamController.java | UTF-8 | 3,761 | 3.171875 | 3 | [] | no_license | package ch.epfl.gameboj.component.memory;
import java.util.Objects;
import ch.epfl.gameboj.Preconditions;
import ch.epfl.gameboj.component.Component;
/**
* RamController : une mémoire vive dont le contenu peut changer au cours du temps.
*
* @author Christophe Saad (282557)
* @author David Cian (287967)
*/
publ... | true |
1a5610ea2d2b76f1fd45c4d6db728e5ec82f6c1c | Java | pranavlathigara/AndroidLife | /app/src/main/java/com/camnter/newlife/robotlegs/robotlegs4android/view/adapter/Robotlegs4AndroidAdapter.java | UTF-8 | 1,487 | 2.671875 | 3 | [
"Apache-2.0"
] | permissive | package com.camnter.newlife.robotlegs.robotlegs4android.view.adapter;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
/**
* Description:Robotlegs4AndroidAdapter
* Created by:CaMnter
* Time:2015-11-06 17:05
*/
public class R... | true |
cfa04f416b6a73e8957533e9186213422b3b56f1 | Java | xjie1070160377/AppCenter | /app.cms/src/main/java/cn/mooc/app/module/cms/model/MobileSpecial.java | UTF-8 | 2,831 | 2 | 2 | [] | no_license | package cn.mooc.app.module.cms.model;
import java.util.Date;
public class MobileSpecial {
private Integer id;
private Long creatorId;
private Date creationDate;
private String title;
private String metaKeywords;
private String metaDescription;
private String specialTemplate;
private String smallImage;
priva... | true |
2e14a0c623ebafb26dcf0f9704c3d35b4c31ca0a | Java | tvdinh1008/ScrollView | /app/src/main/java/com/example/scrollview/ItemModel.java | UTF-8 | 893 | 2.515625 | 3 | [] | no_license | package com.example.scrollview;
public class ItemModel {
String lable;
int thumbnailResource;//ảnh nhỏ thumbnail
int imageResource;//ảnh to wall
public ItemModel(String lable, int thumbnailResource, int imageResource) {
this.lable = lable;
this.thumbnailResource = thumbnailResource;
... | true |
b5207f27f9af037f7b4bc30703d11fb999ee4679 | Java | BabtuhAuss/Frise_chronologique | /Projet_Tuteure/src/modele/FriseTest.java | ISO-8859-1 | 649 | 2.625 | 3 | [] | no_license | package modele;
import java.util.HashMap;
import org.junit.jupiter.api.Test;
import junit.framework.TestCase;
class FriseTest extends TestCase {
@Test
void testAjoutEvenement() {
Evenement monEvt = new Evenement(new Date(1, 1, 2010), "event", "descripto", 0, "");
Frise maFrise = new Frise("M... | true |
14db86ac0ed9ad42ddd7725bc6e540339d40b302 | Java | cefran/CheckerGit | /Moodwalk/src/com/example/moodwalk/activities/Connexion_activity.java | UTF-8 | 1,022 | 2.234375 | 2 | [] | no_license | package com.example.moodwalk.activities;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import com.example.moodwalk.fragments.MainFragment;
public class Connexion_activity extends FragmentActivity {
private MainFr... | true |
c4faf3dbd83edca162982277b207c0b3d5791ac9 | Java | xpsky202/Kingdee_PurCloud | /PurCloud/src/com/kingdee/purchase/platform/dao/alibaba/Company2AliAccountDaoImpl.java | UTF-8 | 6,498 | 2.046875 | 2 | [] | no_license | package com.kingdee.purchase.platform.dao.alibaba;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.springframework.beans.factory.an... | true |
945a051fc143797cc08639f25ab4a03cb9f3e0bf | Java | toastedcode/SimpleGame | /src/com/toast/game/engine/interfaces/Drawable.java | UTF-8 | 208 | 2.40625 | 2 | [] | no_license | package com.toast.game.engine.interfaces;
import java.awt.Graphics;
public interface Drawable
{
public void draw(
Graphics graphics);
public int getWidth();
public int getHeight();
}
| true |
b5779d80f2a8b933e7ac1c06ab7bc5f88f00094f | Java | Rune-Status/open-osrs-client | /runescape-client/src/main/java/IsaacCipher.java | UTF-8 | 5,195 | 1.890625 | 2 | [
"BSD-2-Clause"
] | permissive | import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("lw")
@Implements("IsaacCipher")
public final class IsaacCipher {
@ObfuscatedName("e")
... | true |
42a8412cbc35a2965110c86d76fdf76fada59acc | Java | qianyuhebb/day03_sprin_jdbcTemplate | /src/main/java/com/tc/dao/IaccountDao.java | UTF-8 | 340 | 1.820313 | 2 | [] | no_license | package com.tc.dao;
import com.tc.domain.AccountDO;
/**
* 时间: 2020/1/12
* 创建者: Administrator 钟文
* 描述:
* 参数:
* 返回值:
**/
public interface IaccountDao {
AccountDO findAccountByid(Integer id);
AccountDO findAccountByName(String name);
void updateAccount(AccountDO accountDO);
}
| true |
edcc6ccd986973db3d4f632e8a81c9f6defbc323 | Java | gshokida/PiedraPapelTijera | /src/juego/modelo/Juego.java | UTF-8 | 275 | 2.484375 | 2 | [] | no_license | package juego.modelo;
/**
* Created by german.shokida on 7/7/2016.
*/
public class Juego {
public String evaluarJugada(Jugada jugadaUno, Jugada jugadaDos) {
String resultado;
resultado = jugadaUno.versus(jugadaDos);
return resultado;
}
}
| true |
8824b63d9f079b01d1c8940810b358c12768c00d | Java | garygao88898/finalproject | /app/src/main/java/com/example/extstudent/mycamerashot2/MainActivity.java | UTF-8 | 1,821 | 2.453125 | 2 | [] | no_license | /***final project
Final Project
Yuan Gao
**/
package com.example.extstudent.mycamerashot2;
import android.support.v7.app.AppCompatActivity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.provider.MediaStore;
import android.os.Bundle;
import a... | true |
ec815d5c18662e6d1cfe37b928384d4926d25d33 | Java | cgallardo520/Proyecto-Modelamiento | /Proyecto_modelamiento/src/clases/Tren.java | UTF-8 | 1,909 | 3.015625 | 3 | [] | no_license | package clases;
import java.util.ArrayList;
import java.util.List;
public class Tren {
private int codigo_identificacion;
private Jefe oJefe;
private MaquinaTractora oMaquina;
private List<Vagon> lstVagon;
private boolean disponible=true;
public Tren() {
// TODO Auto-generated constructor stub
}
public ... | true |
8aec279c920b875c77c03895950486520d166a56 | Java | ahopgood/Maven_Archetypes | /Spring-Hibernate_Archetype/src/test/java/com/alexander/maven/archetypes/dao/hibernate/TestHibernateDao.java | UTF-8 | 251 | 1.632813 | 2 | [] | no_license | package com.alexander.maven.archetypes.dao.hibernate;
import com.alexander.maven.archetypes.domain.TestEntity;
public class TestHibernateDao<T> extends AbstractHibernateDao<TestEntity> {
public TestHibernateDao() {
super(TestEntity.class);
}
}
| true |
9a5850222816f8477aa33781b24ce21bb4ef4a43 | Java | BackupTheBerlios/robonobo-svn | /robonobo/tags/0.4.0/gui/src/java/com/robonobo/gui/platform/UnknownPlatform.java | UTF-8 | 4,782 | 2.015625 | 2 | [] | no_license | package com.robonobo.gui.platform;
import java.awt.Color;
import java.awt.Desktop;
import java.awt.Event;
import java.awt.Font;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.io.File;
import java.io.IOException;
i... | true |
cbf924b2f7191aa3695c85e1c2d7ecbed49e474a | Java | FearsomeFoursome/Module13Final2 | /3C_OrderSystem/src/Control/CommonConnection.java | UTF-8 | 2,031 | 2.953125 | 3 | [] | no_license | /*
* 3's Company (Amy Roberts, Bella Belova, Scott Young)
* "We pledge that we have complied with the AIC in this work."
*
* Class to handle establishing database connections
*/
package Control;
/**
* This class includes methods to establish SQL and MySQL database connections.
* @author Bella Belova
... | true |
1cfef78ea77aede4fba9bf8c942354010f2affd2 | Java | zhongxingyu/Seer | /Diff-Raw-Data/11/11_1290dadbc3c12c40ad136ec709782d4470dc4a4e/AbstractAction/11_1290dadbc3c12c40ad136ec709782d4470dc4a4e_AbstractAction_t.java | UTF-8 | 591 | 2.15625 | 2 | [] | no_license | package org.shivas.server.core.actions;
import com.google.common.util.concurrent.ListenableFuture;
import com.google.common.util.concurrent.SettableFuture;
public abstract class AbstractAction implements Action {
private final SettableFuture<Action> endFuture = SettableFuture.create();
protect... | true |
96e08127e94d2d3c5a588058f133a797b44ab506 | Java | petardjokic/cinema | /src/test/java/rs/ac/bg/fon/cinema/mapper/MovieProductionCompanyMapperTest.java | UTF-8 | 2,365 | 2.5 | 2 | [] | no_license | package rs.ac.bg.fon.cinema.mapper;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import lombok.extern.slf4j.Slf4j;
import rs.ac.bg.fon.cinema.domain.Movie;
import rs.ac.bg.fon.cinema.domain.MovieProductionCompany;
... | true |
4a842fc3a1e9c932d8603dc642c554afd5f292a0 | Java | vivekglobalintegrity/WarOfSquirrels | /src/main/java/fr/craftandconquest/warofsquirrels/objects/dbobject/Loan.java | UTF-8 | 10,271 | 2.078125 | 2 | [] | no_license | package fr.craftandconquest.warofsquirrels.objects.dbobject;
import com.flowpowered.math.vector.Vector3i;
import fr.craftandconquest.warofsquirrels.objects.Core;
import fr.craftandconquest.warofsquirrels.objects.database.GlobalLoan;
import org.spongepowered.api.block.tileentity.Sign;
import org.spongepowered.api.data.... | true |
400eb336e2db8a117cfbf9d6478d7a0bd9763c0f | Java | muwp/msharp-sharding-jdbc | /single-core/src/main/java/com/msharp/single/jdbc/jtemplate/enums/SqlType.java | UTF-8 | 205 | 1.679688 | 2 | [] | no_license | package com.msharp.single.jdbc.jtemplate.enums;
/**
* SqlType
*
* @author mwup
* @version 1.0
* @created 2019/02/15 13:51
**/
public enum SqlType {
SELECT,
INSERT,
UPDATE,
DELETE
}
| true |
246dc3f7d81775310182e94e51271fc46b40f2e9 | Java | thefancypant/EMSAndroid | /app/src/main/java/com/maintenancesolution/ems/Models/DateTime.java | UTF-8 | 1,038 | 2.296875 | 2 | [] | no_license | package com.maintenancesolution.ems.Models;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by kalyan on 1/6/18.
*/
public class DateTime {
@SerializedName("full")
@Expose
private String full;
@SerializedName("date")
@Expose
privat... | true |
0fdee27412d853d2ef592dce3f179952af1c615c | Java | rPman/app-browser | /src/main/java/org/luwrain/app/browser/CheckChangesEvent.java | UTF-8 | 212 | 1.664063 | 2 | [] | no_license |
package org.luwrain.app.browser;
import org.luwrain.core.*;
import org.luwrain.core.events.*;
class CheckChangesEvent extends ThreadSyncEvent
{
CheckChangesEvent(Area area)
{
super(area);
}
}
| true |
66ba7f212b683ed7014b8c537ba7a56e6f554f5c | Java | kanaida/LG-Esteem-Homeless-Kernel | /out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/org/apache/http/impl/client/TunnelRefusedException.java | UTF-8 | 346 | 2.046875 | 2 | [] | no_license | package org.apache.http.impl.client;
public class TunnelRefusedException
extends org.apache.http.HttpException
{
public TunnelRefusedException(java.lang.String message, org.apache.http.HttpResponse response) { throw new RuntimeException("Stub!"); }
public org.apache.http.HttpResponse getResponse() { throw new Runti... | true |
56b6d317dec2970ceca920055d729fe96b1e2760 | Java | luizedu9/OCOM | /src/main/java/security/AppUserDetailsService.java | UTF-8 | 1,309 | 2.515625 | 3 | [] | no_license | package security;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import org.... | true |
aaf08c22e99d448bbed60fa788ad31ed872cae98 | Java | jayesbe/react-native-splashscreen | /android/src/main/java/com/remobile/splashscreen/RCTSplashScreen.java | UTF-8 | 4,921 | 2.296875 | 2 | [
"MIT"
] | permissive | package com.remobile.splashscreen;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.graphics.Color;
import android.os.Handler;
import android.view.Display;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import a... | true |
32dc14bee6281421e4070570715a9fe2c324fc02 | Java | stefanosalvagni/Pics | /app/src/main/java/com/is/pics/login/StatefulRestTemplate.java | UTF-8 | 2,316 | 2.203125 | 2 | [] | no_license | package com.is.pics.login;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.ResponseEntity;
import org.springframework.http.converter.FormHttpMessageConverter;
import org.springframework.http.converter.S... | true |
3d8c71df023a04489d97c19eca6aad1feae522e6 | Java | uni7corn/blue-ble-sdk | /blue/src/main/java/com/sumian/blue/callback/BluePeripheralDataCallback.java | UTF-8 | 331 | 1.8125 | 2 | [
"Apache-2.0"
] | permissive | package com.sumian.blue.callback;
import com.sumian.blue.model.BluePeripheral;
/**
* Created by jzz
* on 2017/12/3.
* <p>
* desc:
*/
public interface BluePeripheralDataCallback {
void onSendSuccess(BluePeripheral bluePeripheral, byte[] data);
void onReceiveSuccess(BluePeripheral bluePeripheral, byte[]... | true |
e701821fcce77c72df5bdd5bf1f48fa1f4e5c9a1 | Java | WitoldJnc/lessons | /students_db/src/main/java/application/dao_impls/GenericDaoImpl.java | UTF-8 | 1,997 | 2.53125 | 3 | [] | no_license | package application.dao_impls;
import application.dao_interfaces.GenericDao;
import application.models.AbstractObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework... | true |
7ad93b6226968294928ae5afa9e839b21f12954d | Java | opennetworkinglab/onos | /protocols/bgp/bgpio/src/main/java/org/onosproject/bgpio/types/FourOctetAsNumCapabilityTlv.java | UTF-8 | 3,348 | 2.25 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2015-present Open Networking Foundation
*
* 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 appli... | true |
6068fcc922f78d59d2f5dbb49f679afa7d16a904 | Java | tsgramova/ITTalents | /JavaAdvanced/OOPTasks/Vignette/Vignette.java | UTF-8 | 1,649 | 3.25 | 3 | [] | no_license | package Vignette;
import java.util.Date;
import java.util.Random;
public class Vignette {
enum AutoType {CAR,TRUCK,BUS};
enum Duration {ANNUAL,MONTHLY,DAILY};
//each vignette has an auto type and duration
private AutoType autoType;
private Date issueDate;
protected int price;
private String color;
pri... | true |
2c7dcbf0706deece12e6ea956abc42b8a2a58525 | Java | GeorgeV3/CineAlert | /cinealert/src/main/java/org/afdemp/cinealert/dao/ActorsRepo.java | UTF-8 | 278 | 1.601563 | 2 | [] | no_license | package org.afdemp.cinealert.dao;
import org.afdemp.cinealert.model.Actor;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface ActorsRepo extends JpaRepository<Actor, Long>{
}
| true |
7c77ac5ee885529e7097474989d4dc9515c4c987 | Java | imgc0312/appClassProjectGame | /appClassProjectGame/app/src/main/java/imgc0312/appclassprojectgame/INFO.java | UTF-8 | 2,709 | 2.765625 | 3 | [] | no_license | package imgc0312.appclassprojectgame;
import java.util.HashMap;
import java.util.Map;
/**
* Created by Administrator on 2018/10/14.
*/
public class INFO extends HashMap<String, Double>{
public final static double iniLv = 1.0;
public final static double iniMAX_Hp = 400.0;
public final static double iniA... | true |
67342757866d646f57c20a3380988424e4d0dddd | Java | wj1996/springdemo | /src/main/java/com/wj15/test/Test.java | UTF-8 | 635 | 2 | 2 | [] | no_license | package com.wj15.test;
import com.wj15.config.SpringConfiguration;
import com.wj15.service.interfaces.IAccountService;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.ju... | true |
cbc52ececb729390244e4303f555fd133aab1db8 | Java | pramodag/JavaAssignments | /JavaAssignments/src/com/hagenberg/ENI515/exercise10/test/TestRace.java | UTF-8 | 1,969 | 2.84375 | 3 | [] | no_license | package com.hagenberg.ENI515.exercise10.test;
import static org.junit.Assert.*;
import org.junit.Test;
import com.hagenberg.ENI515.exercise10.Person;
import com.hagenberg.ENI515.exercise10.Race;
import com.hagenberg.ENI515.exercise10.Ranking;
import com.hagenberg.ENI515.exercise10.time.SimpleTime;
import com... | true |
3c5677c9a6a948fa291cf91cf9e0cba11aa9cdde | Java | krish4saran/vyka | /src/main/java/com/vyka/domain/ProfileSubject.java | UTF-8 | 5,185 | 2.03125 | 2 | [] | no_license | package com.vyka.domain;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.springframework.data.elasticsearch.annotations.Document;
import javax.persistence.*;
import java.io.Serializable;
import java.math.... | true |
93e5457995427d14064e77ea58b9e2651b064040 | Java | kish8600/Siddu1234 | /src/com/kish/test/TempDomain.java | UTF-8 | 3,383 | 2.65625 | 3 | [] | no_license | package com.kish.test;
import java.util.ArrayList;
import java.util.List;
public class TempDomain {
private String column1;
private String column2;
private String column3;
private String column4;
private String column5;
private String column6;
private String column7;
private String column8;
private S... | true |
8e9c658c1a2c3ee66a5b3c34d7afb294df615efe | Java | dmitrui98/timetable | /src/by/dmitrui98/entity/Group.java | UTF-8 | 1,242 | 2.84375 | 3 | [] | no_license | package by.dmitrui98.entity;
/**
* Created by Администратор on 25.02.2018.
*/
public class Group {
private int id;
private String name;
private int course;
private Department department;
public Group() {
}
public Group(int id) {
this.id = id;
}
public Group(String name,... | true |