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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
3f07550ddce82b5901325697a647e8ac0bec5d49 | Java | aniketkadam20/Ahold-Grocery_AIHealthyEating-master- | /code/REST Service/aholdaiserver/src/main/java/aholdai/aholdaiserver/models/enums/RecipeCategory.java | UTF-8 | 110 | 1.617188 | 2 | [] | no_license | package aholdai.aholdaiserver.models.enums;
public enum RecipeCategory {
MAIN_DISHES, SALADS, DESSERTS
}
| true |
e4c49656e83fb18b07210ca975ccd02225584540 | Java | pro-java-training/Design-Pattern | /src/Visitor/Directory.java | UTF-8 | 755 | 3.203125 | 3 | [] | no_license | package Visitor;
import java.util.ArrayList;
import java.util.Iterator;
public class Directory extends Entry {
private String name;
private ArrayList<Entry> entries = new ArrayList<>();
public Directory(String name) {
this.name = name;
}
@Override
public String getName() {
r... | true |
d81f16462d24d525509ac9b4e57f879d0ee43bb5 | Java | Jesica9/Jesica-Guzman-Rojas | /Practica8/src/practica8/Practica8.java | UTF-8 | 1,490 | 3.546875 | 4 | [] | 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 practica8;
import java.io.IOError;
import java.io.IOException;
import java.util.ArrayList;
/**
*
* @author Jesica Guzmán
*... | true |
3ea254502a7be9c9ca58d7b052267d9a40b95da5 | Java | gcl1991/code-quality | /clean-code/ch3/src/main/java/ShortSmallReview.java | UTF-8 | 528 | 2.390625 | 2 | [] | no_license | public class ShortSmallReview {
private static String renderPageWithSetupsAndTeardowns(
ShortSmall.PageData pageData, boolean isSuite
) throws Exception {
if (isTestPage(pageData)) {
includeSetupAndTeardownPages(pageData, isSuite);
}
return pageData.getHtml();
... | true |
7d796d365289f86f26a9e69f2a979d54ea83a03d | Java | xykid1986/ChineseInterpretor | /src/main/java/com/kiwii/chinese/services/search/VocabularySearcherImpl.java | UTF-8 | 3,531 | 2.609375 | 3 | [] | no_license | package com.kiwii.chinese.services.search;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.Appli... | true |
8d579c6e929ce692ac29c5b97aad14ce8efe20ed | Java | rowsheet/spring_security_demo | /src/main/java/com/rowsheet/springsecurityjpa/resources/PagesResource.java | UTF-8 | 3,301 | 2.5 | 2 | [] | no_license | package com.rowsheet.springsecurityjpa.resources;
import com.rowsheet.springsecurityjpa.models.Comment;
import com.rowsheet.springsecurityjpa.models.CommentRepository;
import com.rowsheet.springsecurityjpa.models.Post;
import com.rowsheet.springsecurityjpa.models.PostRepository;
import org.springframework.beans.factor... | true |
8134cd3304f0050a1140d6316a5f09a89bf1e720 | Java | Brombe74/IT | /QUARTA/OOP/Animale/src/animale/MainAnimale.java | UTF-8 | 459 | 3.265625 | 3 | [
"MIT"
] | permissive |
package animale;
import java.util.*;
public class MainAnimale {
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
char scelta;
System.out.println("Inserisci l'animale da descrivere\n"
+ "[M] per mammifero [R] per rettile");
... | true |
1bc04e97f9b1fb81ac82ce243ffd2c6192e465a0 | Java | ashwingarad/Hibernate-Cache-Configuration | /HibernateOperationTemp/src/main/java/com/client/Test.java | UTF-8 | 1,598 | 2.796875 | 3 | [
"Apache-2.0"
] | permissive | package com.client;
import com.config.HibernateUtil;
import com.model.Student;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.query.Query;
public class Test {
public static void main(String... args) {
SessionFactory sessionFactory = HibernateUtil.getSessi... | true |
ef77eef7fa3d2684a66d4076e5417b0c01bf2426 | Java | ahsyh/java | /leetcode/lc-01/src/com/leetcode/q002/Test.java | UTF-8 | 391 | 2.53125 | 3 | [] | no_license | package com.leetcode.q002;
import com.leetcode.q002.Solution;
public class Test {
static void test1(){
int[] A=new int[]{1};
int[] B=new int[]{2,3,4};
Solution s = new Solution();
double d = s.findMedianSortedArrays(A, B);
System.out.println(d);
}
static void test2(){
}
public sta... | true |
fb8775fecb84097b7732f0dd1c78f458fa2e3cc0 | Java | ahodanenok/advent-of-code | /2022/21/Day21.java | UTF-8 | 7,889 | 3.15625 | 3 | [] | no_license | import java.io.BufferedReader;
import java.io.FileReader;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
/**
* Advent of Code - Day 21
* https://adventofcode.com/2022/day/21
*/
public class Day21 {
... | true |
282532fc60298b543a13221e29526c2d9dcdaf82 | Java | wuqiuyun/ccq_user | /NewCCQuser/src/main/java/ccj/yun28/com/adapter/DindanDetailExpandableListViewAdapter.java | UTF-8 | 6,382 | 2.125 | 2 | [] | no_license | package ccj.yun28.com.adapter;
/**
* 订单详情适配器
*/
import java.util.List;
import java.util.Map;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import ccj.yun28.com... | true |
2937b41ce5e084c3754ed6ba86ac43f72941117b | Java | Altudy/algorithm-SeungJae | /JAVA/BOJ/BOJ_5427.java | UTF-8 | 2,684 | 2.90625 | 3 | [] | no_license | package study;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.Queue;
import java.util.StringTokenizer;
public class BOJ_5427 {
static char input[][];
static int dp[][];
static int N,M;
static int sy,sx;
static ... | true |
4e6901d72fc0f18adcab13a8c927ce72d40f35db | Java | petersohn/jumlstatemachine | /test/com/kangirigungi/jstatemachine/GuardTest.java | UTF-8 | 6,026 | 2.375 | 2 | [] | no_license | /*
* Copyright (c) 2013, Peter Szabados
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* (1) Redistributions of source code must retain the above copyright
* notice, this lis... | true |
55a5a8917dc7da3b5c860ee8f05179981d29b7c4 | Java | chrisnusa/DemoScringo | /src/com/example/demoscringo/welcomeFragment.java | UTF-8 | 2,661 | 2.3125 | 2 | [] | no_license | package com.example.demoscringo;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.Ra... | true |
d40a415dddbbcfe26b6493beea64eb08db357f89 | Java | pozai/eversharp | /common/src/com/eversharp/commons/mail/MyAuthenticator.java | UTF-8 | 705 | 2.375 | 2 | [] | no_license | /*
*Copyright(C) 2012 www.eversharp.com
*All right reserved.
*/
package com.eversharp.commons.mail;
import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;
/**
* description:用户信息验证
*
* @author wu_quanyin(wuquanyin1201@gmail.com)
* @version 1.0
* @date 2012-7-27
*/
public c... | true |
17a5777f5c10eaaa9276a14df8b4a5c3fd34d39d | Java | Toshimichi0915/Punisher | /src/main/java/punisher/punisher/Punisher.java | UTF-8 | 1,499 | 2.359375 | 2 | [] | no_license | package punisher.punisher;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.ChatColor;
import org.bukkit.configuration.file.FileConfiguration;
//import org.bukkit.Bukkit;
import java.util... | true |
6d35025f4d0c56bdb44d9a377d052a19fe456d41 | Java | linOnePlus/2020JavaSE | /src/oop/construct/ConstructExtends.java | UTF-8 | 363 | 2.765625 | 3 | [] | no_license | package oop.construct;
public class ConstructExtends {
}
class people{
String name;
people(String name) {
this.name = name;
}
}
class stu extends people{
stu(String name,int age){
super(name);//此处隐藏一句super() 父类没有,所以不写有参数构造方法的话会编译错误
System.out.println(age);
}
} | true |
c1f3f540ebf330918e7e0393561582cb93386895 | Java | EvgenyKoval/GPsolutions | /src/main/java/tasks/Task579.java | UTF-8 | 1,237 | 3.5625 | 4 | [] | no_license | package tasks;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
public class Task579 {
public static void main(String[] args) {
try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
int ... | true |
a200065c38568ebaabb655febaad0bf326dd3141 | Java | adiray/Layoutwithglidetest1 | /app/src/main/java/com/example/dell/layoutwithglidetest1/single_element.java | UTF-8 | 369 | 2.328125 | 2 | [] | no_license | package com.example.dell.layoutwithglidetest1;
import android.media.Image;
/**
* Created by DELL on 11/17/2017.
*/
public class single_element {
public single_element(Integer img) {
this.img = img;
}
Integer img;
public Integer getImg() {
return img;
}
public void setIm... | true |
e419fc44e0b6ab5e8f8912edb479f9cf670b9769 | Java | keybo/PublisherGithub | /Publisher/src/com/meta/pubui/PubApplication.java | UTF-8 | 623 | 2.125 | 2 | [] | no_license | package com.meta.pubui;
import android.app.Application;
import android.content.Context;
import android.database.Cursor;
public class PubApplication extends Application
{
private static Context context;
Cursor sharedCursor;
@Override
public void onCreate()
{
super.onCreate();
context = getApplicationContext... | true |
1fc4cfaf85f4de40a34739035ba30fb1e4041dda | Java | wwwongsta/PiCar-Android | /app/src/main/java/com/example/picar/database/dao/PositionDao.java | UTF-8 | 893 | 1.96875 | 2 | [] | no_license | package com.example.picar.database.dao;
import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Delete;
import android.arch.persistence.room.Insert;
import android.arch.persistence.room.Query;
import android.arch.persistence.room.Update;
import com.example.picar.database.entity.Position;
import... | true |
6a9b5f3aad0df7c300abd963c4b920d0f30fe49b | Java | Stomick/avfofun | /app/src/main/java/evfor/fun/skvader/utils/socket/listeners/WriteMessageListener.java | UTF-8 | 800 | 2.453125 | 2 | [] | no_license | package evfor.fun.skvader.utils.socket.listeners;
import com.google.gson.Gson;
import evfor.fun.skvader.utils.socket.models.ModelConnect;
import evfor.fun.skvader.utils.socket.models.Writer;
import javax.inject.Inject;
import io.socket.client.Socket;
public class WriteMessageListener extends ObsSocketListener<Write... | true |
d17f80da2e2e85e4c12a8fea38c713f846d02854 | Java | mehdiFeghhi/WorkshopMastar | /src/main/java/com/project/Student.java | UTF-8 | 303 | 2.390625 | 2 | [
"MIT"
] | permissive | package com.project;
public class Student implements RoleOfWorkShape {
int id;
public Student() {
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
@Override
public String getMyClass() {
return "1";
}
}
| true |
4e73e5d90968d78c2620554b439f33e488b8aedf | Java | zhengdunhao/ShareTribe | /20170109/ShareTribe-master/ChatOnline14/src/com/atm/chatonline/bbs/bean/BBS.java | GB18030 | 4,127 | 2.296875 | 2 | [] | no_license | package com.atm.chatonline.bbs.bean;
import java.util.Date;
import java.sql.Timestamp;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
/**
* @ʾ бУӵĴϢʾģ
* @author Jiong
* @ʱ 20150729 19:48:59
*/
public class BBS implements java.io.Serializable {
private String clickGoo... | true |
eedb544d767895d74f3d80ffc25618a769e4bd58 | Java | monishraj96/bhanutest | /Abstraction/src/org/ts/CompanyDetails.java | UTF-8 | 356 | 2.46875 | 2 | [] | no_license | package org.ts;
public class CompanyDetails extends Employee{
@Override
public void employeeID() {
System.out.println("1234");
}
@Override
public void employeePh() {
System.out.println("9087426646");
}
public static void main(String[] args) {
CompanyDetails cd=new CompanyDetails();
cd.employeeID();
cd.e... | true |
8c7cbd564ec44cc5ce70bb23dbdfae49ad6024cf | Java | SnarkyShark/AdaptersDemo | /app/src/main/java/edu/temple/adaptersdemo/CanvasFragment.java | UTF-8 | 1,536 | 2.484375 | 2 | [] | no_license | package edu.temple.adaptersdemo;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import java.util.Ran... | true |
1301e4df09eac4bb9f18ad6e6e66229a362d1e30 | Java | mpelnikowski/ticket-booking-system | /src/main/java/pl/touk/ticket/booking/demo/common/reservation/SaveReservationDto.java | UTF-8 | 1,410 | 2.03125 | 2 | [] | no_license | package pl.touk.ticket.booking.demo.common.reservation;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import pl.touk.ticket.booking.demo.common.seat.SaveSeatDto;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
@Data
@Buil... | true |
6c36203360424428119d25061c6e5a327ac5ea5f | Java | dylanbora/OOSD-Year-2 | /lab5/src/lab5/Cylinder.java | UTF-8 | 486 | 3.09375 | 3 | [] | no_license | package lab5;
public class Cylinder extends Circle {
// Variables
private static float rad;
protected int height;
// Constructors
public Cylinder( int x , int y ,int height) {
super(x , y , rad);
setHeight(height);
}
// Getters & Setters
public int getHeight() {
return height;
}
public... | true |
c34ce1099800dd22d57f9e8b6f1dbb3a3184b6dd | Java | martoinholland/BasicJavaApp | /main/TableViewStudentsController.java | UTF-8 | 2,750 | 2.765625 | 3 | [] | no_license | package main;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Label;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.cell.PropertyValueFa... | true |
a14be9d1943de85bdba8b1f0b1ee7926f1849473 | Java | ruwanta/msf4j-tomcat-bridge | /samples/hello-world/src/main/java/com/wso2/carbon/identity/msf4j/bridge/hello/world/HelloService.java | UTF-8 | 1,433 | 2.359375 | 2 | [] | no_license | package com.wso2.carbon.identity.msf4j.bridge.hello.world;
import org.osgi.service.component.annotations.Component;
import org.wso2.msf4j.Microservice;
import java.util.HashMap;
import java.util.Map;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws... | true |
789a12d4d50164ac2ef80a3e2238ddcbc4deefe1 | Java | Thesohan/MyContactApp | /app/src/main/java/com/example/mycontactapp/ContactsFragment.java | UTF-8 | 7,119 | 2.1875 | 2 | [] | no_license | package com.example.mycontactapp;
import android.annotation.SuppressLint;
import android.database.Cursor;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.provider.ContactsContract;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import an... | true |
97be785e62df6bfa54b89a2b1ff7cd111468ae94 | Java | zhangxiaolang123/elastic-job-springboot | /elastic-job-springboot/src/main/java/com/zxl/elasticjobspringboot/quartz/MySimpleJob.java | UTF-8 | 2,766 | 2.390625 | 2 | [] | no_license | package com.zxl.elasticjobspringboot.quartz;
import com.dangdang.ddframe.job.api.ShardingContext;
import com.dangdang.ddframe.job.api.simple.SimpleJob;
import com.dangdang.elasticjob.lite.annotation.ElasticSimpleJob;
import com.zxl.elasticjobspringboot.entiy.YfUserYfbaoAccountJob;
import org.slf4j.Logger;
import org.s... | true |
13f03ca34c311d4dc25a43942f7fb1ba7128b13a | Java | lunachickengrill/vaadin14sampleUI | /src/main/java/eu/vrtime/sampleui/domain/Value.java | UTF-8 | 106 | 1.953125 | 2 | [] | no_license | package eu.vrtime.sampleui.domain;
public interface Value<T> {
public boolean sameValueAs(T other);
}
| true |
2b0441cfb922095b68f3e9462ff27e040f26e0ef | Java | Idonius/rsp | /RedXXIWeb/src/net/ciespal/redxxi/web/datamanager/home/HomeDataManager.java | UTF-8 | 2,455 | 1.9375 | 2 | [] | no_license | package net.ciespal.redxxi.web.datamanager.home;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import net.ciespal.redxxi.ejb.persistence.entities.DoctorDTO;
import net.ciespal.redxxi.ejb.persistence.entities.DoctorVieDTO;
import net.ciespal.redxxi.e... | true |
4818cf80fcdc2fd83c92ec55bc9d637baf06343e | Java | m17asci/Auto-Gallery-Project-for-Smart-IQ | /SMARTIQ/src/main/java/com/example/SMARTIQ/Repository/CarRepository.java | UTF-8 | 240 | 1.960938 | 2 | [] | no_license | package com.example.SMARTIQ.Repository;
import com.example.SMARTIQ.Model.Car;
import org.springframework.data.repository.CrudRepository;
public interface CarRepository extends CrudRepository<Car,Long> {
Car getByCarId (Long carId);
}
| true |
ab3fe2b4aaa74cc085ea999ab263fa790ecb2ad3 | Java | sg0993/HomePanel | /app/src/main/java/com/honeywell/homepanel/ui/AudioVideoUtil/AVIUtil.java | UTF-8 | 737 | 2.125 | 2 | [] | no_license | package com.honeywell.homepanel.ui.AudioVideoUtil;
import android.util.Log;
import org.greenrobot.eventbus.EventBus;
import java.io.File;
import java.io.FileOutputStream;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.SocketException;
import java.util.LinkedList;
import java.util.Que... | true |
730b7ef7e4ffe6363077e72925bba26cede7c3a9 | Java | sencerseven/TurkcellPoc | /src/main/java/com/turkcell/poc/config/OAuthServerConfigration.java | UTF-8 | 5,060 | 1.898438 | 2 | [] | no_license | package com.turkcell.poc.config;
import com.turkcell.poc.service.CustomUserDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Confi... | true |
70fe5c7fb18d44bc320e1e06f6b0ab96a28496a5 | Java | yugandharproject/InventoryManagement | /yugandhar-mdmhub-component-ews/src/main/java/com/inventory/component/InventorySummaryComponentRule.java | UTF-8 | 3,225 | 1.828125 | 2 | [] | no_license | package com.inventory.component;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import com.yugandhar.common.exception.YugandharCommonException;
import com.yugandhar.common.transobj.TxnTransferObj;
imp... | true |
b9e001d7b9402a4b91279c6ebd36ec893179cd8b | Java | prestodb/presto | /presto-memory/src/main/java/com/facebook/presto/plugin/memory/MemoryPageSinkProvider.java | UTF-8 | 5,137 | 1.789063 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | true |
a61aa70ede9aa20c39592c34dd9b71fd0c8f0288 | Java | AdrieuPazin/FTI-springMVC-hibernate | /src/br/com/fti/model/dao/ProdutoDAO.java | UTF-8 | 2,256 | 2.484375 | 2 | [] | no_license | package br.com.fti.model.dao;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.persistence.Query;
import br.com.fti.model.entities.Cliente;
import br.com.fti.model.entities.Prod... | true |
57d7bac981de12ff4d9a26401e1a0b3aae2bb7a3 | Java | EvanSat/Home_Automation | /HomeAutomation/src/OutsideLightState.java | UTF-8 | 136 | 1.578125 | 2 | [] | no_license |
public interface OutsideLightState {
void nighttime();
void daytime();
void switchOn();
void switchOff();
}
| true |
db7696084a2f48eba7b34d1c3580238c4ea4115b | Java | fabric8io/kubernetes-client | /kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/internal/KubeConfigUtilsTest.java | UTF-8 | 5,075 | 1.992188 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | true |
60d45bbd27a1bd737af8007841a4f6db59ab5e5f | Java | P79N6A/speedx | /reverse_engineered/sources/com/google/common/collect/ImmutableListMultimap$Builder.java | UTF-8 | 1,380 | 2.625 | 3 | [] | no_license | package com.google.common.collect;
import java.util.Comparator;
import java.util.Map.Entry;
public final class ImmutableListMultimap$Builder<K, V> extends ImmutableMultimap$Builder<K, V> {
public ImmutableListMultimap$Builder<K, V> put(K k, V v) {
super.put(k, v);
return this;
}
public Im... | true |
55ca1e85fa9f787b58a2d105d528b5f9efc8212a | Java | josepa333/Casos-Dise-o | /Caso 1/Subastas/src/subastasViews/SubastaClienteController.java | UTF-8 | 1,265 | 2.578125 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package subastasViews;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import subastas.Oferente;
public cla... | true |
58aead0329f0edec464a2fd768208545cf64780d | Java | senrabia/JAVA_2020B18 | /src/Day39_AccesModifiers/CarObjects.java | UTF-8 | 506 | 3.1875 | 3 | [] | no_license | package Day39_AccesModifiers;
//--1
public class CarObjects {
public static void main(String[] args) {
//new Constructorr
Car car1=new Car(" Toyota "); //Line 21
System.out.println(car1);
Car car2=new Car(" BMW "," X6 ");//line 25
System.out.println(car2);
Car car3=n... | true |
d469aec732f8436ce5ff913d8892067343b4b405 | Java | griff-kodexx/RestOrm | /src/main/java/DAO/CRUD.java | UTF-8 | 303 | 1.96875 | 2 | [] | no_license | package DAO;
import Entity.User;
import javax.ejb.Local;
import java.util.List;
/**
* Created by kodexx on 3/14/18.
*/
@Local
public interface CRUD {
boolean addUser(User user);
User getById(int id);
boolean updateUser(User user);
void delete(User user);
List<User> getAll();
}
| true |
d698fe8a906663fc6cec39627183250d313901c2 | Java | MakerBurst/burstcoin-jminer | /src/main/java/burstcoin/jminer/core/CoreProperties.java | UTF-8 | 15,797 | 1.59375 | 2 | [
"MIT"
] | permissive | /*
* The MIT License (MIT)
*
* Copyright (c) 2016 by luxe - https://github.com/de-luxe - BURST-LUXE-RED2-G6JW-H4HG5
*
* 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,
... | true |
05c7c8620d8a8030e1f8b0766e92aa77bec8efae | Java | Zeo077/BattleCode-2013 | /teams/Rskisha/EncampmentRobot.java | UTF-8 | 825 | 1.828125 | 2 | [] | no_license | package Rskisha;
import battlecode.common.Clock;
import battlecode.common.Direction;
import battlecode.common.GameActionException;
import battlecode.common.GameObject;
import battlecode.common.MapLocation;
import battlecode.common.Robot;
import battlecode.common.RobotController;
import battlecode.common.RobotInfo;
imp... | true |
b83a831be2e51673b3e22ad1f5e5e3f5021b4d2b | Java | AGPC/iss1 | /src/modelo/Orcamento.java | UTF-8 | 6,176 | 2.03125 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package modelo;
import java.io.Serializable;
import java.util.Collection;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persis... | true |
c3e9cc875f2e855d754ef070890e7b63e2fc65d6 | Java | lqx-bubble/java | /jiekou_cat_dog/jumpingDemo.java | UTF-8 | 1,459 | 3.546875 | 4 | [] | no_license | package jiekou_cat_dog;
import java.net.JarURLConnection;
/*
测试类
*/
public class jumpingDemo {
public static void main(String[] args) {
//创建对象、调用无参方法
Animal c = new Cat();
c.setName("加菲");
c.setAge(2);
System.out.println(c.getName() + "," + c.getAge());
c.eat()... | true |
b9a34e86fd6e1738d113c7559362eea922fb9a51 | Java | Ariah-Group/Finance | /af_webapp/src/main/java/org/kuali/kfs/module/ld/document/authorization/SalaryExpenseTransferAccountingLineAuthorizer.java | UTF-8 | 3,529 | 1.671875 | 2 | [] | no_license | /*
* Copyright 2012 The Kuali Foundation.
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by app... | true |
c905c28d839c1466241599068182710e63940122 | Java | lijunlan/1yingli | /yiyingliService/src/cn/yiyingli/ExchangeData/ExTeacher.java | UTF-8 | 7,096 | 2.140625 | 2 | [] | no_license | package cn.yiyingli.ExchangeData;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Set;
import cn.yiyingli.ExchangeData.Util.ExArrayList;
import cn.yiyingli.ExchangeData.Util.ExList;
import cn.yiyingli.Persistant.ServicePro;
import cn.yiyingli.Persistant.Stud... | true |
3cce8adb80a4ff3be97ebbec61411091d52ba55c | Java | sanjanas1/N_Project1 | /NaveenAutomation.automation/src/test/java/com/zoopla/qa/test/PropListTest.java | UTF-8 | 745 | 2.03125 | 2 | [] | no_license | package com.zoopla.qa.test;
import java.io.IOException;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import com.zoopla.qa.base.Base;
import com.zoopla.qa.page.HomePage;
import com.zoopla.qa.page.PropList;
public class PropList... | true |
4bed836105df64061629d47bda9bfd2e98f08e43 | Java | josh22r/faro10-android | /app/src/main/java/com/kartum/adapter/EditSettingAdapter.java | UTF-8 | 4,480 | 2.03125 | 2 | [] | no_license | package com.kartum.adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Switch;
import android.widget.TextView;
import com.kartum.R;
import com.kartum.SettingActivity;
... | true |
7d2107a45ed12dc4e8edfeb1f3bedf5fe9e8f0af | Java | dhamotharang/avatar | /avatar-common/avatar-common-model/src/main/java/com/kirana/avatar/common/jpa/config/AuditingDateTimeProvider.java | UTF-8 | 1,158 | 1.921875 | 2 | [] | no_license | /*******************************************************************************
*
* Copyright (c) 2019 GranaTech Limited
*
* All information contained herein is, and remains the property of GranaTech
* Limited. The intellectual and technical concepts contained herein are
* proprietary to GranaTech and are ... | true |
bcb00015cb772215966e2058e8c7b3b961dded77 | Java | zman2013/pull-stream | /src/test/java/com/zman/pull/stream/PullTest.java | UTF-8 | 4,868 | 2.78125 | 3 | [
"Apache-2.0"
] | permissive | package com.zman.pull.stream;
import com.zman.pull.stream.impl.*;
import com.zman.pull.stream.util.Pull;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.junit.MockitoJUnitRunner;
import javax.xml.ws.Holder;
import static com.zman.pull.stream.util.Pull.pull;
@RunWi... | true |
098d1d31bc8d32d3dbabf38b6c4c3abeca3ebcab | Java | ArekLopus/ConfiguratorTest | /src/main/java/configurator/test/resources/json/props/JA_KeyBad_.java | UTF-8 | 847 | 2.203125 | 2 | [] | no_license | package configurator.test.resources.json.props;
import javax.inject.Inject;
import javax.json.JsonArray;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import configurator.TypedProperty;
import configurator.annotations... | true |
c76da618a31b462fea0de579481d7bfa7c6b7f79 | Java | spinxas/Backoffice | /src/main/java/uaiContacts/controller/TechnologyController.java | UTF-8 | 6,870 | 2.109375 | 2 | [] | no_license | package uaiContacts.controller;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.MessageSource;
import org.springframework.http.HttpStatus;
import org.springframework.... | true |
2096aaefb1addfe09ceb0033a73e7a3b52ae14a6 | Java | boli1234/repo1 | /Java_Test/src/com/farsight/main/TestMain.java | GB18030 | 1,874 | 3.03125 | 3 | [] | no_license | package com.farsight.main;
import com.farisht.myinterface.GetData;
import com.farisht.myinterface.ImplentInterface;
import com.farsight.java_test.ArrayTest1;
import com.farsight.java_test.ArrayTest2;
import com.farsight.java_test.ArrayTest3;
import com.farsight.java_test.Basic_Type;
import com.farsight.java_test.MyStr... | true |
a976e4d03d1efb0189dd379cfd9aa00f7c2df5ae | Java | kodjobaah/waid | /android/WAID/app/src/main/java/com/waid/invite/email/InviteListTask.java | UTF-8 | 5,991 | 2.03125 | 2 | [] | no_license | package com.waid.invite.email;
import java.net.HttpURLConnection;
import java.util.ArrayList;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Dialog;
import android.content.ContentResolver;
import... | true |
e7361dc1f6e78cfaa3f695d9548855e909ff43f8 | Java | DavidEgolf/MLP-BiM | /PlayingField.java | UTF-8 | 7,823 | 2.90625 | 3 | [] | no_license | import javax.swing.*; // all the UI elements
import java.awt.*;
import java.awt.event.*;
import javax.swing.ImageIcon;
import java.net.URL;
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
@SuppressWarnings("serial")
public class PlayingField extends JPanel
{
//private boolean isTurn; // may be used... | true |
c9895ff29ec97257835f9b741edf6fa32775bf30 | Java | SzewskiJanusz/ClimberGame | /core/src/com/janusz/climbergame/game/entities/Satellite.java | UTF-8 | 1,090 | 2.484375 | 2 | [] | no_license | package com.janusz.climbergame.game.entities;
import com.badlogic.gdx.math.Rectangle;
import com.janusz.climbergame.ClimberGame;
import com.janusz.climbergame.Const;
import com.janusz.climbergame.EntityTextures;
import com.janusz.climbergame.game.sound.GameSound;
import com.janusz.climbergame.game.states.PlayGameState... | true |
32a19b99345b2eca626115efee6aa835225472ae | Java | Jayendrang/budgetsystem | /src/main/java/SpringSemester/budgetsystem/controller/UserReminderController.java | UTF-8 | 4,548 | 2.421875 | 2 | [] | no_license | package SpringSemester.budgetsystem.controller;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.s... | true |
a62f4792e4a7482da6b1baf8887fd00dd584c03f | Java | frc5024/uBase | /src/main/java/frc/lib5k/spatial/LocalizationEngine.java | UTF-8 | 4,073 | 3.296875 | 3 | [
"MIT"
] | permissive | package frc.lib5k.spatial;
import frc.lib5k.kinematics.Error2D;
import frc.lib5k.kinematics.FieldPosition;
import frc.lib5k.utils.Mathutils;
public class LocalizationEngine {
/* Current instance */
private static LocalizationEngine m_instance = null;
/* Robot position information */
private FieldPosi... | true |
d513c1cdfcbebdc15345ffa6af9b3befa5d0cde5 | Java | StupidTrees/HITSZ-Assistant | /app/src/main/java/com/stupidtree/hita/views/BadgeActionProvider.java | UTF-8 | 2,628 | 2.28125 | 2 | [
"MIT"
] | permissive | package com.stupidtree.hita.views;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.DrawableRes;
import androidx.annotation.StringRes;
import androidx... | true |
6c4b8b82f0b5a03fb0a07f3e5da6e26a9d7fe941 | Java | geitehabe/testproject | /shixun/src/day1/com/rjxy/bean/Hero.java | GB18030 | 2,925 | 2.96875 | 3 | [] | no_license | package day1.com.rjxy.bean;
import day1.com.rjxy.bean.state.Hero1stState;
import day1.com.rjxy.bean.state.HeroState;
import javax.swing.*;
import java.awt.*;
/**
* Created by lele on 18-1-8.
*
*/
public class Hero {
private int x;
private int y;
private int allBlood;
private int score;
private... | true |
7264e54a76aab6bb54d532b4d0b424691110346c | Java | 9981223102/SSSHWebServices | /src/com/homedepot/ss/sh/webservices/lookup/sku/interfaces/SkuLookupProtocol.java | UTF-8 | 4,126 | 2.234375 | 2 | [] | no_license | package com.homedepot.ss.sh.webservices.lookup.sku.interfaces;
/*
* This program is proprietary to The Home Depot and is not to be reproduced,
* used, or disclosed without permission of:
* The Home Depot
* 2455 Paces Ferry Rd, N.W.
* Atlanta, GA, 30339-4024
*
* File Name: $Workfile: SkuLookupProtocol.... | true |
02df123733679fce3b6bd34bf375c1317c906ca7 | Java | Agraphie/htwg.ebut.srck | /eBus-Framework/src/de/htwg_konstanz/ebus/framework/wholesaler/vo/base/BaseArticlenumbertype.java | UTF-8 | 4,017 | 2.328125 | 2 | [] | no_license | package de.htwg_konstanz.ebus.framework.wholesaler.vo.base;
import java.io.Serializable;
/**
* This is an object that contains data related to the articlenumbertype table.
* Do not modify this class because it will be overwritten if the configuration file
* related to this class is modified.
*
* @hibe... | true |
6e8f8770d3d29dec9f0cfafc627a62fb479a62cd | Java | AdoniasAlcantara/esamu-web | /src/main/java/org/myopenproject/esamu/web/dto/NotificationDto.java | UTF-8 | 1,533 | 1.984375 | 2 | [] | no_license | package org.myopenproject.esamu.web.dto;
import java.util.Map;
import com.google.gson.annotations.SerializedName;
public class NotificationDto {
@SerializedName("app_id")
private String appId;
@SerializedName("include_player_ids")
private String[] userId;
@SerializedName("headings")
private Map<String, Str... | true |
7b646cc03d196c44ec792bb40fb24841b2884b33 | Java | sinne24/JPACRUDProject | /MyPokedex/src/main/java/com/skilldistillery/jpacrud/dao/PokemonDAO.java | UTF-8 | 400 | 2.3125 | 2 | [] | no_license | package com.skilldistillery.jpacrud.dao;
import java.util.List;
import com.skilldistillery.jpacrud.entities.Pokemon;
public interface PokemonDAO {
Pokemon findById( int pokemonId);
List<Pokemon> findAll();
//add
Pokemon addPokemon(Pokemon pokemon);
boolean deletePokemon(int pokemonId);
Pokemon updat... | true |
9211e0d0fac7f89fd7bced56a3be53e194351eed | Java | brian-a-k/Data-Structures-and-Algorithms-with-Java | /StackClass/src/stackclass/Listing.java | UTF-8 | 1,177 | 3.359375 | 3 | [] | no_license | /*
* Assignment 3B
* Brian Kalinowski
* Question # 41
*/
package stackclass;
import java.util.*;
import java.io.*;
import java.text.*;
public class Listing
{ private String name; // key field
private String address;
private String number;
public Listing()
{ name = "";
address = "";
n... | true |
910c3bca499494088eef9f5c963dd4fc5f0df417 | Java | somi92/eKlub | /src/main/java/rs/fon/eklub/core/entities/Group.java | UTF-8 | 1,650 | 2.484375 | 2 | [
"Apache-2.0"
] | permissive | /*
* 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 rs.fon.eklub.core.entities;
/**
*
* @author milos
*/
public class Group {
private long id;
private String name... | true |
f300c284ec81a80ff8834882d9fab4ec7c60885d | Java | apibaque/payments-api | /src/main/java/io/swagger/model/PaymentOrderConsentResponse.java | UTF-8 | 3,758 | 2.15625 | 2 | [] | no_license | package io.swagger.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;
import javax... | true |
e236b78498bbaeea67949625c24ee8d141eb01a1 | Java | mmiklavc/metron | /metron-platform/metron-solr/metron-solr-common/src/main/java/org/apache/metron/solr/dao/SolrRetrieveLatestDao.java | UTF-8 | 3,948 | 1.882813 | 2 | [
"Apache-2.0",
"MIT",
"CC-BY-SA-3.0",
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-unknown-license-reference",
"CC-BY-SA-4.0",
"LicenseRef-scancode-warranty-disclaimer"
] | 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 |
b1820f29ed528eda57c9b33bba12f139c3fb570d | Java | mrahimov/SQLite-Tutorial | /app/src/main/java/com/example/murodjonrahimov/savefellowsinfo/data_base/DataBase.java | UTF-8 | 902 | 2.34375 | 2 | [] | no_license | package com.example.murodjonrahimov.savefellowsinfo.data_base;
import android.content.Context;
import android.database.DatabaseErrorHandler;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by murodjon.rahimov on 2/2/18.
*/
public class DataBase extends ... | true |
b9a21fcc6d38479213eca9b59ae1b4206f6bdad9 | Java | youseounghun/javaCodeTest | /src/round15/Round15_Ex10.java | UHC | 2,343 | 3.609375 | 4 | [] | no_license | package round15;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Round15_Ex10
{
private static BufferedReader in;
static
{
in = new BufferedReader(new InputStreamReader(System.in));
}
public static void main(String[] arg) throws IOException
{
in... | true |
1ce083b1eae47ea8336ccbadf40b39e275b7cc0f | Java | AHGZ/TuipianTuozhuaiAndSuofang | /app/src/main/java/com/hgz/test/tuipiantuozhuaiandsuofang/SQLite.java | UTF-8 | 656 | 2.046875 | 2 | [] | no_license | package com.hgz.test.tuipiantuozhuaiandsuofang;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by Administrator on 2017/8/23.
*/
public class SQLite extends SQLiteOpenHelper {
public SQLite(Context context) {
... | true |
9bfdcbf4642aa70068bfb0788557c42f7c42fc9b | Java | Pahansith/JThread | /src/main/java/com/pahansith/jtheard/controller/UserViewController.java | UTF-8 | 1,370 | 2.6875 | 3 | [
"Apache-2.0"
] | permissive | package com.pahansith.jtheard.controller;
import com.pahansith.jtheard.model.User;
import com.pahansith.jtheard.service.UserService;
import com.pahansith.jtheard.view.UserView;
public class UserViewController implements AbstractController{
private UserView view;
public Long controllerId = 1L;
public User... | true |
aaa2d6962479493858696217f0de7d4ec7de017a | Java | jokerdada/TouYingProjector | /app/src/main/java/com/reeman/projector/view/WaitDialogUtil.java | UTF-8 | 2,710 | 2.234375 | 2 | [] | no_license | package com.reeman.projector.view;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.view.KeyEvent;
import android.view.View;
import android.view.Window;
import android.view.animation.Animation;
import android.widget.TextView;
import com.reema... | true |
26be63ca6b1b788d5efee4ad99ba679bb218143a | Java | VictorEspuelasBosonit/EjerciciosJava | /jpa/src/main/java/com/example/jpa/infraestructure/domain/Profesor/Profesor.java | UTF-8 | 1,368 | 2.203125 | 2 | [] | no_license | package com.example.jpa.infraestructure.domain.Profesor;
import com.example.jpa.infraestructure.domain.Estudiante.Student;
import com.example.jpa.infraestructure.domain.Persona.Persona;
import com.example.jpa.infraestructure.dto.input.ProfesorInputDto;
import lombok.Data;
import javax.persistence.*;
import java.util.... | true |
95a80c1896cd3773263ce4206456434d99282543 | Java | striveprince/strive | /app/src/main/java/com/cutv/ningbo/ui/activity/main/fragment/news/NewsPagerViewModel.java | UTF-8 | 833 | 1.703125 | 2 | [] | no_license | package com.cutv.ningbo.ui.activity.main.fragment.news;
import android.content.Context;
import com.cutv.ningbo.inject.qualifier.context.FragmentContext;
import com.cutv.ningbo.ui.base.respond.Respond;
import com.cutv.ningbo.ui.base.viewModel.BaseViewModel;
import javax.inject.Inject;
/**
* project:cutv_ningbo
* d... | true |
de91c088a3e64d20ecb53955d6758939f048168f | Java | chrisGerken/gramar | /eclipse35/org.gramar.eclipse.ui/src/com/gerken/xaa/model/retired/File.java | UTF-8 | 1,861 | 2.453125 | 2 | [
"Apache-2.0"
] | permissive | package com.gerken.xaa.model.retired;
import org.w3c.dom.Node;
public class File extends Artifact {
private String originalPath;
private String nameExpression;
private String folderExpression;
private String projectID;
public File(Generation generation) {
super(generation);
}
publi... | true |
51e929765b58c3e0c642daff73958f3559ee1d9e | Java | gburlac/populate-db | /src/main/java/testData/InsertInToProductList.java | UTF-8 | 2,185 | 2.703125 | 3 | [] | no_license | package testData;
import com.opencsv.CSVReader;
import com.opencsv.bean.ColumnPositionMappingStrategy;
import com.opencsv.bean.CsvToBean;
import conections.DB_conection;
import utils.ProductList;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.sql.Connection;
import java.sql.PreparedStat... | true |
d6ec34d5c03f4a5dc9c1bb5f3e45db0f4f326ee5 | Java | xch3166/oms | /src/main/java/com/hrada/oms/controller/common/EnumController.java | UTF-8 | 4,979 | 2.21875 | 2 | [] | no_license | package com.hrada.oms.controller.common;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.hrada.oms.dao.common.EnumRepository;
import com.hrada.oms.model.common.Enum;
import org.springframework.beans.factory.annotation.Autowired;
import org.spr... | true |
9ea2d9a79d82e3492db905f52da3854f5f2d393c | Java | nevilleekka/Portfolio | /Trash_Corner/src/java/Database/Database_Access_Object.java | UTF-8 | 6,911 | 3.03125 | 3 | [] | no_license | package Database;
import Database.Model.Order_Model;
import Database.Model.User_Model;
import java.sql.*;
import java.util.ArrayList;
import java.util.Vector;
/**
* @author Neville Ekka
* Assignment 2
*/
public class Database_Access_Object {
private String table_name;
private java.sql.Connection connector;
... | true |
6ed9a2d0643763c78dd7def540ceaa639d70e73c | Java | Silverath/ExamenDPSept | /Acme-Santiago/src/test/java/services/UserServiceTest.java | ISO-8859-1 | 3,796 | 2.3125 | 2 | [] | no_license |
package services;
import javax.transaction.Transactional;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
impor... | true |
6884223224f3df66ada52e8393d6b333b87e821a | Java | chgang/springboot-case | /springboot-quartz/src/main/java/com/qskx/quartz/service/KillProcessService.java | UTF-8 | 428 | 1.585938 | 2 | [] | no_license | package com.qskx.quartz.service;
import com.qskx.quartz.utils.ResponseCode;
/**
* @ProjectName: springboot-case
* @Package: com.qskx.quartz.service
* @ClassName: KillProcessService
* @Description: java类作用描述
* @Author: 111111
* @CreateDate: 2018/10/1 19:54
* @Version: 1.0
* Copyright: Copyright (c) 2018
*/
pu... | true |
86202050e8e2baf21c39ee51964fb1849104cd8d | Java | shixinke/design-pattern-practise | /src/main/java/com/shixinke/practise/design/pattern/prep/principle/liskovsubstitution/Animal.java | UTF-8 | 218 | 2.796875 | 3 | [] | no_license | package com.shixinke.practise.design.pattern.prep.principle.liskovsubstitution;
/**
* 动物类
* @author shixinke
*/
public class Animal {
public void eat() {
System.out.println("吃东西");
}
}
| true |
07be9c9e8cacf765d47959b98ad6d9e50bd6c603 | Java | mmy625/JAVAEE | /bookPro/src/com/kgc/dao/UserInforDaoImpl.java | GB18030 | 4,330 | 2.421875 | 2 | [] | no_license | package com.kgc.dao;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;
import com.kgc.annotation.Column;
import com.kgc.annotation.Table;
import com.kgc.entity.UserInfor;
import com.kgc.util.PageBean;
public class UserInforDaoImpl implements UserInforDao
{
static org... | true |
615f6320c9f0b8d8b1c2240f48c9a828d169af30 | Java | JamesMcT/RedHotChiliBeans | /com.team6.project/src/main/java/com/team6/project/services/DataImportService.java | UTF-8 | 11,048 | 2.265625 | 2 | [] | no_license | package com.team6.project.services;
import static java.nio.file.StandardWatchEventKinds.ENTRY_CREATE;
import static java.nio.file.StandardWatchEventKinds.OVERFLOW;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.nio.file.FileSystems;
imp... | true |
ca6467440397bfa0444b4e60eec275602a5c6ada | Java | kbyyd24/Lunch-Learn-lambda-java | /test/StreamAPITest.java | UTF-8 | 2,800 | 2.90625 | 3 | [] | no_license | import org.junit.Before;
import org.junit.Test;
import java.util.*;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import java.util.stream.Stream;
public class StreamAPITest {
private Collection<ThoughtWorker> twers;
@Before
public void setUp... | true |
65bc7fe9dd24ad44556b213391878138eb7d9d16 | Java | liruxru/page-tools | /src/main/java/com/mt/tlstools/pojo/Point.java | UTF-8 | 254 | 1.53125 | 2 | [] | no_license | package com.mt.tlstools.pojo;
import lombok.Data;
import java.io.Serializable;
@Data
public class Point implements Serializable {
private Integer pointId;
private Number pointValue;
private String pointName;
private String loadLine;
}
| true |
48e7879b1beedb60cb196be150b65158f44d7538 | Java | jhonatanMD/productos | /src/main/java/com/ws/web/ControllerOrdenDeCompra.java | UTF-8 | 962 | 2.203125 | 2 | [] | no_license | package com.ws.web;
import com.ws.entidades.OrdenDeCompra;
import com.ws.servicios.impl.OrdenDeCompraServiceImpl;
import io.reactivex.Flowable;
import io.reactivex.Maybe;
import io.reactivex.Single;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@RestC... | true |
0ab713778e10fa7130569cc0f54f3b5793502531 | Java | joanflo/music_recognizer | /reconeixedorMusica/src/reconeixedormusica/Gravadora.java | UTF-8 | 3,013 | 2.984375 | 3 | [] | no_license |
package reconeixedormusica;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.DataLine;
import javax.sound.sampled.LineUnavailableException;
import javax.sound.sampled.TargetDataLine;
import java... | true |
91a1eeb6059bebe28ec5b99564b86ccdf843e571 | Java | ilrt/crew | /crew/CrewWeb/src/main/java/net/crew_vre/web/facet/impl/TextFacetFactory.java | UTF-8 | 3,689 | 1.945313 | 2 | [] | no_license | /**
* Copyright (c) 2008-2009, University of Bristol
* Copyright (c) 2008-2009, University of Manchester
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1) Redistributions of source co... | true |
6935f49d43731255b44df7fc93f6e291dfc13ecf | Java | kyconlyone/remembervoca | /app/src/main/java/com/ihateflyingbugs/hsmd/OfflineLesson/OLData/WordTextView.java | UTF-8 | 1,365 | 2.28125 | 2 | [] | no_license | package com.ihateflyingbugs.hsmd.OfflineLesson.OLData;
import java.io.Serializable;
/**
* Created by 영철 on 2016-06-17.
*/
public class WordTextView implements Serializable{
String word;
int word_id;
String type;
Boolean isSelected = false;
int tvResID;
public WordTextView(){
}
... | true |
18743b120f036e72594ea806d91744f7edc8de97 | Java | fengjiachun/rpc-benchmark | /netty-server/src/main/java/benchmark/rpc/Server.java | UTF-8 | 2,398 | 2.4375 | 2 | [
"Apache-2.0"
] | permissive | package benchmark.rpc;
import java.net.InetSocketAddress;
import benchmark.rpc.netty.server.handler.BenchmarkChannelInitializer;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelOption;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.ServerChan... | true |
459cfba305dbbd40e64973c4c0b4a6d0bc0c1d43 | Java | Andiekistner95/Condicionais_Interadores | /Condicionais_Interadores/src/exercicio/numero18/Classe.java | ISO-8859-1 | 1,721 | 3.875 | 4 | [] | no_license | /*
* Pergunte o nome da pessoa, o dia e ms e ano de aniversrio. Pergunte para outra
pessoa o nome, o dia, ms e ano de aniversrio. Agora verifique qual a pessoa
mais velha, e imprima o nome da mais velha e o nome da mais nova, utilizando
apenas um Sysout. Sendo considerado o dia, ms e ano, cada uma sendo ... | true |
da6eaaab73899bed3d3a282388544f55f4c68c83 | Java | yxh-y/code_comment_generation | /CodeComment_Data/Code_Jam/val/Revenge_of_the_Pancakes/S/panCake(165).java | UTF-8 | 1,342 | 2.5625 | 3 | [] | no_license | package methodEmbedding.Revenge_of_the_Pancakes.S.LYD662;
/*
* 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.
*/
import java.io.BufferedReader;
import java.io.IOException;
import java.io.I... | true |
bfa72701f79c65586a8d74a13154977e8698cc26 | Java | AlvarDev/Delivery-Medicamentos | /Web/SistemaFarmacia/src/servlets/ServletRegistrarUserAndroid.java | UTF-8 | 2,401 | 2.28125 | 2 | [] | no_license | package servlets;
import java.io.BufferedReader;
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 utility.R... | true |