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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
61f46aea2c525ef0f68864077abdef583d33bc48 | Java | HeoJC/Project | /Project/src/co/yedam/cart/ProductDAO.java | UTF-8 | 1,928 | 2.71875 | 3 | [] | no_license | package co.yedam.cart;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import com.mustacchio.briiiqtt.DAO;
public class ProductDAO extends DAO{
// 상세 페이지에서 ID 받아서 제품정보 불러오기
public List<Product> getProductList(String id) {
connect() ;
List<Product> list = new Array... | true |
2349f5214c48554603e50f6ce37409319e244f13 | Java | apache/dubbo | /dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/identifier/MetadataIdentifier.java | UTF-8 | 3,337 | 1.875 | 2 | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-protobuf"
] | 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 may ... | true |
07f3e7a64b3b2f1025c24413217fd2879e0b48af | Java | ahmedshehab123/pet-crud-spring-boot | /src/main/java/org/paymob/onlineshop/exceptions/PetExceptions.java | UTF-8 | 672 | 2.28125 | 2 | [] | no_license | package org.paymob.onlineshop.exceptions;
import java.util.Map;
public class PetExceptions extends RuntimeException {
private String errorCode;
private Map<String, String> errorMessage;
public PetExceptions(Map<String, String> errorMessage) {
this.errorMessage = errorMessage;
}
public Ma... | true |
3d583a1cac57eb0c80057caf0aa4af1c922be7c4 | Java | Development707/Book-store | /Client/Client/src/main/java/com/client/entity/Sach.java | UTF-8 | 3,513 | 2.078125 | 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.client.entity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.s... | true |
5bf9ade7cd60e3484bb777e7400430e5be118792 | Java | sheetalgaikwad/MovieFlix-Sheetal | /src/main/java/io/sheetal/service/WriterService.java | UTF-8 | 563 | 2.1875 | 2 | [
"MIT"
] | permissive | package io.sheetal.service;
import java.util.List;
import io.sheetal.entity.Writer;
import io.sheetal.exception.WriterAlreadyExistsException;
import io.sheetal.exception.WriterNotFoundException;
public interface WriterService {
public List<Writer> findAllWriters();
public Writer findOneWriter(String writerId) thr... | true |
8f489b7382482a6c1af1d281a8383558884a0e55 | Java | dgrin2005/otus-java-2018-12-dmitry-grinshteyn | /L14.1/src/main/java/ru/otus/WebServer/WebServerUtilites.java | UTF-8 | 4,732 | 2.34375 | 2 | [] | no_license | package ru.otus.WebServer;
import ru.otus.DataSet.AddressDataSet;
import ru.otus.DataSet.PhoneDataSet;
import ru.otus.DataSet.UserDataSet;
import ru.otus.WebServer.Dto.UserDataSetDto;
import javax.servlet.http.HttpServletRequest;
import java.util.*;
import java.util.stream.Collectors;
public class WebServerUtilites ... | true |
93d13dfc3f5c90aa726389213e487c9605f0fb7c | Java | Rawi01/lombok | /test/eclipse/src/lombok/eclipse/references/FindReferencesTest.java | UTF-8 | 2,064 | 1.929688 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"BSD-3-Clause"
] | permissive | package lombok.eclipse.references;
import static org.junit.Assert.*;
import java.util.List;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.JavaModelException;
import ... | true |
97a7a6412b4460b06b0e48530fdc8bfdd237b2b5 | Java | mariusndini/Java-501-502 | /Chap 11 - Recursion/RecursionDemo1.java | UTF-8 | 490 | 3.515625 | 4 | [] | no_license |
public class RecursionDemo1{
public static void main(String[] args){
System.out.println("writeVertical(4613):");
writeVertical(4613);
}
//Recursive method - Method which calls itself.
public static void writeVertical(int n){
if (n < 10){
System.out.println(n);
... | true |
f7ac18b5d7e4cf37c3179811dde4a84df7e4544d | Java | svivancos/Java | /entornos/src/repaso/probando.java | UTF-8 | 1,057 | 2.828125 | 3 | [] | no_license | package repaso;
import java.sql.*;
import java.text.*;
import javax.swing.JOptionPane;
public class probando {
public probando(){};
Connection db = null;
private String url = "jdbc:mysql://localhost:3306/regantes";
private String usu = "root";
private String pwd = "";
private Statement stm;
private Re... | true |
092185919a63e6eb2d319f3844c051d6e80582dd | Java | charansrirama/Interview | /Interview/src/th/tree2/PrintLevelByLevel.java | UTF-8 | 734 | 3.296875 | 3 | [] | no_license | package th.tree2;
import java.util.LinkedList;
import java.util.Queue;
public class PrintLevelByLevel {
public static void printLevelByLevel(Node root) {
if(root == null) {
System.out.println("null");
return;
}
Queue<Node> queue = new LinkedList<Node>();
queue.add(root);
while (!queue.isEmpty()... | true |
b94625370a81de4df9a36acf3eece0f64a89df78 | Java | grzegorz2047/TASProjekt | /ProductManagement/src/main/java/pl/grzegorz2047/productmanagement/controller/ProductController.java | UTF-8 | 3,609 | 2.65625 | 3 | [
"Apache-2.0"
] | permissive | package pl.grzegorz2047.productmanagement.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import pl.grzegorz2047.productmanagement.model.Product;
import pl.grzegorz2047.productmanagement.model... | true |
23df43b155fca275b27de4c68ddbd26b33e58e88 | Java | GongarDev/FunApp | /funapp_servidor/src/dao/AnuncioDAO.java | UTF-8 | 292 | 1.6875 | 2 | [] | no_license | package dao;
import java.util.List;
import model.Anuncio;
/**
*
* @author melkart
*/
public interface AnuncioDAO {
public List listaPublicacionesAdmin();
public boolean adminInsertarAnuncio(Anuncio anuncio);
public boolean adminEliminarAnuncio(int id_anuncio);
}
| true |
355aedb1591b0f4ccfd07503162115bd0cfb6c63 | Java | ZQHYZ/Demo | /src/main/java/com/example/demo/model/Person.java | UTF-8 | 258 | 1.929688 | 2 | [] | no_license | package com.example.demo.model;
import lombok.Data;
import java.util.List;
@Data
public class Person {
private Long id;
private String code;
private String name;
private int age;
private String pcode;
private List<Person> child;
}
| true |
a292242604cc00f68f2ecf168a4bac008e3409f3 | Java | axelauza97/SBD | /src/Vistas/VInicio.java | UTF-8 | 3,096 | 2.5 | 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 Vistas;
import VistasConsulta.VConsuCliente;
import VistasConsulta.VConsuArt;
import VistasConsulta.VConsuSerArt;
im... | true |
bc4d82374df1feddb35ff1b87021cee14b6cf6f1 | Java | memCards/Mem_cards | /src/main/java/view/entry/LoginForm.java | UTF-8 | 3,366 | 2.578125 | 3 | [] | no_license | package view.entry;
import com.intellij.uiDesigner.core.GridConstraints;
import com.intellij.uiDesigner.core.GridLayoutManager;
import ui.ButtonStyle;
import view.FrameLocation;
import javax.swing.*;
import java.awt.*;
public class LoginForm extends JFrame {
private enum CurrentPanel {AUTH, REGISTER}
privat... | true |
4f30f3b853b32f7df0bc5cd68d84e0900bb0ce62 | Java | trunghq3007/CollectionInJava | /src/collection/main/ArrayListInJava.java | UTF-8 | 1,046 | 3.75 | 4 | [] | no_license | /**
*
*/
package collection.main;
import java.util.ArrayList;
/**
* @description:
* @author: Admin
* @time: 5:28:18 PM
* @date: Mar 9, 2018
*/
public class ArrayListInJava {
public void showArrayListInJava() {
// Create list
ArrayList<String> list = new ArrayList<String>();
// Add obje... | true |
e49df56316bde1a17e0eb38e55a3544310d87089 | Java | EdioticIdeas/Ape-Master | /src/Fee/Fee_mainController.java | UTF-8 | 3,576 | 2.046875 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Fee;
import SocketConnect.Request;
import SocketConnect.Response;
import SocketConnect.ServerConnection;
import USER.FEEPAY.Fe... | true |
f4bbbcae8ee4cc48c06c6b263235c766b504c13e | Java | DanielBL210/meli-mutants | /src/main/java/co/com/mercadolibre/mutants/repository/MutantRepository.java | UTF-8 | 1,400 | 2.390625 | 2 | [] | no_license | package co.com.mercadolibre.mutants.repository;
import co.com.mercadolibre.mutants.model.MutantModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Reposit... | true |
557b6252a201f9051472860c44d43eddb817556c | Java | shakshi/DreamBooksProject | /app/src/main/java/com/codingblocks/dreambooks/activities/TopRecommendedActivity.java | UTF-8 | 6,914 | 2.390625 | 2 | [] | no_license | package com.codingblocks.dreambooks.activities;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.Spinner;
import andr... | true |
509448b3ab6858c2b92fa50dbde0c2af96eff62d | Java | CQZhangXin/testWar | /src/main/java/com/example/demo/proctice/Test2.java | UTF-8 | 1,616 | 3.328125 | 3 | [] | no_license | package com.example.demo.proctice;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
/**
* @author Zhangxin
* @title: Test2
* @projectName testWar
* @description: TODO
* @date 2019/7/12 17:50
*/
public class Test2 {
public static void main(String[] args)... | true |
9397042e7bbf6daabd67bc23b28b6c59d1d4f283 | Java | Lakshmanan95/SkyRateWAPI | /skyRateWAPI/src/main/java/com/skyrate/model/message/ReadCountResponse.java | UTF-8 | 347 | 1.828125 | 2 | [] | no_license | package com.skyrate.model.message;
import java.util.List;
import com.skyrate.clib.model.BaseResponse;
public class ReadCountResponse extends BaseResponse{
List<ReadCount> readCount;
public List<ReadCount> getReadCount() {
return readCount;
}
public void setReadCount(List<ReadCount> readCount) {
this.readC... | true |
a4c04d8654897e3874c3f6bcebb352dd4d5442f6 | Java | hedgefox/RealTimeDBTutorial | /app/src/main/java/com/gamoffice/simplerealtimedb/ArmiList.java | UTF-8 | 1,209 | 2.375 | 2 | [] | no_license | package com.gamoffice.simplerealtimedb;
import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import java.util.List;
/**
* Created by Belal on 2/26/2017.
*/
public class ArmiList... | true |
0f92cacd88c21ef922affd6ea2187dec5ec6214b | Java | p10rahulm/langjv-bp | /Sedgewick/TilePatterns.java | UTF-8 | 6,930 | 3.328125 | 3 | [] | no_license | public class TilePatterns {
public static void main(String[] args){
for(int i =0;i<6;i++){
for(int j=0;j<6;j++){
if((i+j)%2==1){
draw_my_tile(((double)1/12+(double)i/6),((double)1/12+(double)j/6),(double)1/12 );
}
}
}
... | true |
e7458a0d0312943daea5a9b532be21f48b75b65f | Java | samynathan17/Twitter_Spark | /uob/UOB/src/main/java/com/bt/SocialMedia/Instagram.java | UTF-8 | 6,467 | 2.40625 | 2 | [] | no_license | package com.bt.SocialMedia;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.StringReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java... | true |
8d606124af5f7c34d047aa1a34135c44a32867ce | Java | kairk/coding-test-ranking | /src/main/java/com/idealista/ranking/configuration/RuleConstraintConfig.java | UTF-8 | 919 | 1.75 | 2 | [] | no_license | package com.idealista.ranking.configuration;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import java.util.List;
@Configuration
@G... | true |
f778fa637a6958d1e4ec6599cb5e0421ef70fc80 | Java | skayyali/class_projects | /cs348/test/SimpleDatabase.java | ISO-8859-1 | 14,127 | 3.078125 | 3 | [] | no_license | package project1;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import j... | true |
f1608ed03290a8d31d37d33c52100d302a7aedf0 | Java | bknguyenthao/designpattern | /src/com/nguyenthao/Proxy/RealImage.java | UTF-8 | 325 | 2.515625 | 3 | [] | no_license | package com.nguyenthao.Proxy;
public class RealImage implements Image {
private String url;
public RealImage(String url) {
this.url = url;
}
@Override
public void ShowImage() {
System.out
.println(String.format("%s: Hình ảnh %s bắt đầu được load", new java.util.Date().getTime(), this.url));
}
}
| true |
d3387aa8943277b18066e55361ae9dd1ee156479 | Java | cnboyou/java-base-learning | /src/main/java/com/ehi/stream/foreach/Demo02NormalFilter.java | UTF-8 | 2,046 | 4.21875 | 4 | [] | no_license | package com.ehi.stream.foreach;
import java.util.ArrayList;
import java.util.List;
/**
* ClassName: Demo01ForEach
*
* @Author: WangYiHai
* @Date: 2020/6/1 10:25
* @Description:
*
* 循环遍历的弊端
* Java 8的Lambda让我们可以更加专注于做什么(What),而不是怎么做(How),这点此前已经结合内部类进行了对比说明。
* 现在,我们仔细体会一下上例代码,可以发现:
*
* for循环的语法就是“怎么做”
* for循... | true |
95589735cd5e7b624726b9ab97f591cf1132e34a | Java | JuilyT/java-learning-tasks-juily | /Java-Learning/CustomAnnotations/src/main/java/org/customannotations/model/HomeLoanVerificationDoc.java | UTF-8 | 392 | 2.140625 | 2 | [] | no_license | package org.customannotations.model;
public class HomeLoanVerificationDoc {
private DrivingLisence dl;
private BankStatement bankStmt;
public DrivingLisence getDl() {
return dl;
}
public void setDl(DrivingLisence dl) {
this.dl = dl;
}
public BankStatement getBankStmt() {
return bankStmt;
}
public void... | true |
2a4cc8cf066426807d03d716e768ecf4d4b02e08 | Java | Ram183/Defect_Adactin | /src/test/java/org/stepsssclasss/Steps_Definition_2_Dim_Map.java | UTF-8 | 3,651 | 2.53125 | 3 | [] | no_license | package org.stepsssclasss;
import java.util.List;
import java.util.Map;
import org.baseclass.Base_Class;
import org.pojoclass.Adactin_Pojo_Class;
import io.cucumber.java.en.And;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
public class Steps_Definition_2_Dim_Ma... | true |
81368a6a71614bbc278f273473eeb520aa1f2ad9 | Java | TaufiqKhan116/aSimpleCalenderApp | /app/src/main/java/com/tahsin/calendarview/Main3Activity.java | UTF-8 | 3,690 | 2.59375 | 3 | [] | no_license | package com.tahsin.calendarview;
import androidx.appcompat.app.AppCompatActivity;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import android.content.SharedPreferences;
import android.icu.util.Calendar;
import android.os.Build;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import andr... | true |
72b68f454ed6f1fa15bff3d9ce6c154e5116050c | Java | leevivian/Fading-Shapes | /app/src/main/java/com/example/vivian/fadingshapes/ShapeFactory.java | UTF-8 | 470 | 2.84375 | 3 | [] | no_license | package com.example.vivian.fadingshapes;
import android.content.Context;
/**
* Created by Vivian on 3/21/16.
*/
public class ShapeFactory {
public Shape getShape(Context context, String shape){
if(shape == null){
return null;
}
if(shape.equals("circle")){
return ... | true |
2cc4e180edec469fdb2cc6e7724fb926051032e9 | Java | grazianiborcai/Agenda_WS | /src/br/com/mind5/business/storeText/model/decisionTree/StorextNodeDeleteL2.java | UTF-8 | 2,074 | 1.984375 | 2 | [] | no_license | package br.com.mind5.business.storeText.model.decisionTree;
import java.util.ArrayList;
import java.util.List;
import br.com.mind5.business.storeText.info.StorextInfo;
import br.com.mind5.business.storeText.model.checker.StorextCheckStorextault;
import br.com.mind5.model.action.ActionStd;
import br.com.mind5.... | true |
2ebacaf1110214ee65cbfc95c89f033cda1331a0 | Java | ops4j/org.ops4j.pax.scanner | /pax-scanner-service/src/main/java/org/ops4j/pax/scanner/ServiceConstants.java | UTF-8 | 1,342 | 2.09375 | 2 | [] | no_license | package org.ops4j.pax.scanner;
/**
* An enumeration of constants related to provision service.
*
* @author Alin Dreghiciu
* @since August 26, 2007
*/
public interface ServiceConstants
{
/**
* Scheme separator.
*/
static final String SEPARATOR_SCHEME = ":";
/**
* Separator for options.
... | true |
d11c81825c2a04f798b4d8d9317bca06178a8540 | Java | QianleHe/ssmweb-proj | /src/main/java/com/project/ssm/dao/MemberDao.java | UTF-8 | 925 | 2.234375 | 2 | [] | no_license | package com.project.ssm.dao;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.project.ssm.entity.Member;
public interface MemberDao {
/**
* @param memberId
* @return
* Search for member info by member id
*/
Member queryById(long memberId);
/**
*... | true |
b3ed07057f61478f3e9b50639318eb12f56c5664 | Java | ecfeed/ecfeed.junit | /src/test/java/com/ecfeed/core/junit5/AnnotationInputGetTest.java | UTF-8 | 10,516 | 2.0625 | 2 | [] | no_license | package com.ecfeed.core.junit5;
import static org.junit.jupiter.api.Assertions.assertAll;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import java.util.Arrays;
import java.util.Hash... | true |
44c6542099b27cbe7d0b187f72857bfaa02acf9c | Java | tinysnake/the-invoker-mod | /common/snake/mcmods/theinvoker/blocks/BlockTotem.java | UTF-8 | 3,278 | 2.015625 | 2 | [] | no_license | package snake.mcmods.theinvoker.blocks;
import java.util.Random;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecra... | true |
484005d4b60b4f2fb9a0994b2e2ad7635b8474e3 | Java | zhaohui-zh/java-learn | /chapter03/src/com/zh/core/A.java | UTF-8 | 395 | 2.765625 | 3 | [] | no_license | package com.zh.core;
/**
* Created by zhaohui on 2020/3/19
*/
public class A {
private int id = 1;
private void print() {
System.out.println("print");
}
protected void printProtected() {
System.out.println("Protected");
}
public static void main(String[] args) {
A ... | true |
912b7b7a0585af8b5ec091c277a831744fc2c5c6 | Java | daniel-abella/angular-rest-springboot | /project/src/main/java/br/edu/ufcg/embedded/smart/service/ProductService.java | UTF-8 | 1,263 | 2.328125 | 2 | [] | no_license | package br.edu.ufcg.embedded.smart.service;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import br.edu.ufcg.embedded.smart.domain.entity.Product;
import br.edu.ufcg.embedded.s... | true |
723032fad6108b8f85a3d10dc9c514ed52bca49a | Java | AChew02/Chew-a02 | /exercise16/src/main/java/Solution16.java | UTF-8 | 1,184 | 3.984375 | 4 | [] | no_license | /*
* UCF COP3330 Fall 2021 Assignment 2 Solution
* Copyright 2021 Adrian Chew
*/
/*
print "What is your age?"
'in' = get input from user
'userAge' = parseInt('in')
'legalAge' = 16
'output' = 'userAge' >= 'legalAge' ? "You are old enough to legally drive." : "You are not old enough to legal... | true |
f3e5f0fa20cfb651e37f8094d92a130da382c6bc | Java | ropert911/study01_java_base | /Demo01-JDK-Base/src/main/java/com/study/base/基础/动态代理/Main.java | UTF-8 | 475 | 2.34375 | 2 | [] | no_license | package com.study.base.基础.动态代理;
/**
* @author sk-qianxiao
* @date 2019/12/25
*/
public class Main {
public static void main(String[] args) {
JavaDeveloper jack = new JavaDeveloper("Jack");
Developer jdkProxy = JdkProxy.newProxyInstance(jack);
jdkProxy.code();
jdkProxy.debug();
... | true |
7be8b9ebd41a5f0f0823c0b71f195b7518edd8d7 | Java | bellmit/crmtest | /src/java/com/trilogy/app/crm/home/validator/LateFeeEarlyRewardExtensionValidator.java | UTF-8 | 7,343 | 1.679688 | 2 | [] | no_license | /*
* This code is a protected work and subject to domestic and international
* copyright law(s). A complete listing of authors of this work is readily
* available. Additionally, source code is, by its very nature, confidential
* information and inextricably contains trade secrets and other information
* propr... | true |
6540e6ac76e89f1202b29db40f02e71cde9a33a0 | Java | yupiik/camel-sample | /fintech/platform/connectors/bankbng/src/main/java/io/yupiik/camel/sample/fintech/platform/connectors/bankbng/BankbngProcessor.java | UTF-8 | 1,779 | 1.859375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2020 - Yupiik SAS - https://www.yupiik.com
*
* 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 ap... | true |
aa1b98f88a7c0c244d3cd176a1eb775743e1aff5 | Java | SCabal/Holding | /Holding/src/Model/PublicServices.java | UTF-8 | 2,049 | 2.6875 | 3 | [] | no_license | package Model;
//imports used of the java util
import java.util.ArrayList;
import java.util.Date;
//interface used
import Interfaces.ICompanyService;
public class PublicServices extends LegalPersonality implements ICompanyService{
//atributes
private PublicServiceType type;
private int totalSubs;
privat... | true |
95a4b06da2b33fad063fa8ef9e652551dc561fd0 | Java | MrCuiWenQiang/Inspection | /app/src/main/java/com/zt/inspection/contract/StatisticsContract.java | UTF-8 | 385 | 1.921875 | 2 | [] | no_license | package com.zt.inspection.contract;
import com.zt.inspection.model.entity.response.HomeBean;
public class StatisticsContract {
public interface View {
void loadSuccess(int year,int month,HomeBean data);
void loadFail(String message);
}
public interface Presenter {
void loadData(... | true |
e7198a3f2c3646617e8844210b72f70b6e16f9fd | Java | alexthomas96/eclipse_trial | /src/com/iontrading/groupactivity/BillingANDPricing/MenuManager.java | UTF-8 | 3,374 | 3.609375 | 4 | [] | no_license | package com.iontrading.groupactivity.BillingANDPricing;
import java.util.*;
import java.util.regex.*;
public class MenuManager implements IMenuManager{
/*To perform operations on the menu of items.
* Operations:adding item
* removing item
* updating price
* displaying menu.*/
public boole... | true |
9d42957808ea71a08ed4f58c138d2909b9c94a34 | Java | oyesidhu/Kung-Fu-Master | /src/main/java/org/kungfu/fee/FeeService.java | UTF-8 | 983 | 2.453125 | 2 | [] | no_license | package org.kungfu.fee;
import java.util.ArrayList;
import java.util.List;
import org.kungfu.student.Student;
import org.kungfu.student.StudentRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class FeeService {
@Autowired
pub... | true |
f76fdf860b6d07b44f5fd47e5cf36b5a2f157c30 | Java | zhaozhen197/ssm-shiro-example | /src/main/java/cn/zanezz/sys/service/impl/RolesServiceImpl.java | UTF-8 | 469 | 1.53125 | 2 | [] | no_license | package cn.zanezz.sys.service.impl;
import cn.zanezz.sys.entity.Roles;
import cn.zanezz.sys.mapper.RolesMapper;
import cn.zanezz.sys.service.IRolesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 服务实现类
* </p>
*
* @author zhao... | true |
d2b349447bba9a88c703af3f0dc5ec476c766efe | Java | onyexx/Console-Roulette | /console roulette/src/za/co/roulette/RouletteTest.java | UTF-8 | 4,515 | 2.921875 | 3 | [] | no_license | package za.co.roulette;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import java.util.SplittableRandom;
import java.util.TreeMap;
import java.util.concurrent.CopyOnWriteArrayList;
import za.co.roulette.classes.BetType;
import za.co.roulette.classes.Player;
import ... | true |
7ecee0d3cdcbc4ec32005c5c6683f7bb164f17c5 | Java | ivorossi/TierraMediaArgentinaProgrma-v2 | /src/main/java/productos/Producto.java | UTF-8 | 3,346 | 2.84375 | 3 | [] | no_license | package productos;
import excepcion.ExcepcionDeProducto;
import sistema.TiposDeAtraccion;
public abstract class Producto {
private int idProducto;
private String nombreDeProducto;
private String tipoDeProducto;
protected int costoTotal;
protected double timepoDeProducto;
public Producto(int idProducto, ... | true |
8c24b613245c0422d416b853b6ce96566c9ab064 | Java | Charlinho/truncate-annotation | /src/main/java/com/trucante/sample/model/Person.java | UTF-8 | 389 | 2.046875 | 2 | [] | no_license | package com.trucante.sample.model;
import com.trucante.sample.annotation.Truncable;
import com.trucante.sample.annotation.Truncate;
import lombok.Builder;
import lombok.Data;
import java.util.List;
@Data
@Builder
public class Person {
@Truncate(size = 10)
private String name;
@Truncable
private Add... | true |
a6733b16e93e21a7094f6eda09a7505a985ffaf8 | Java | zzyssg/cloud-blog | /cloudblog-user/src/main/java/com/zzy/cloudbloguser/dto/BlogDTO.java | UTF-8 | 537 | 1.6875 | 2 | [] | no_license | package com.zzy.cloudbloguser.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author zzy
* @Date 2020/12/2 17:30
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BlogDTO {
private Integer blogId;
... | true |
d8c21950e06c65a488c7b496da05f0f0aab7f49c | Java | worldgu/Code | /Code/JUC/src/main/java/com/zero/juc/c_018_01_Unsafe/HelloUnsafe.java | UTF-8 | 880 | 3.0625 | 3 | [] | no_license | package com.zero.juc.c_018_01_Unsafe;
import sun.misc.Unsafe;
/**
* @ClassName HelloUnsafe
* @Description TODO
* @Author 张春海
* @Date 2020/9/25 16:52
* @Version 1.0
*/
public class HelloUnsafe {
static class M {
private M(){}
int i = 0;
}
/**
*
* Unsafe 在 1.8 之后无法直接调用 ,只能通... | true |
00350dca58a4c3ab8cad73e73600afae70ad4c67 | Java | 3tools/redis-console | /src/main/java/cn/tools3/redis/console/controller/ServerController.java | UTF-8 | 1,966 | 2.0625 | 2 | [] | no_license | package cn.tools3.redis.console.controller;
import cn.tools3.redis.console.domain.Server;
import cn.tools3.redis.console.repository.ServerRepository;
import cn.tools3.redis.console.repository.ServerUserRepository;
import com.fasterxml.jackson.annotation.JsonView;
import org.springframework.beans.factory.annotation.Aut... | true |
94102af74d542a08b700242183f6862ea51932dc | Java | kubernetes-client/java | /extended/src/test/java/io/kubernetes/client/extended/kubectl/KubectlPatchTest.java | UTF-8 | 4,265 | 1.914063 | 2 | [
"Apache-2.0"
] | permissive | /*
Copyright 2020 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwar... | true |
d030ab45bb818cefe3f46f06e03f2a3ff7d1f192 | Java | WW010/passystem | /src/com/ccut/passystem/dbcode/service/DBCodeService_Imp.java | UTF-8 | 1,215 | 2.171875 | 2 | [] | no_license | package com.ccut.passystem.dbcode.service;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.transact... | true |
f336b5fe62b09f32934bf222b80642ed4842c192 | Java | bikashkarmokar/SESTools | /SESEditor/src/main/java/dlr/ses/utils/XmlUtils.java | UTF-8 | 5,785 | 2.328125 | 2 | [
"MIT"
] | permissive | package dlr.ses.utils;
import dlr.ses.core.XMLViewer;
import javax.swing.plaf.basic.BasicInternalFrameUI;
import java.awt.Container;
import java.awt.Dimension;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
public class XmlUtils {
public static XMLViewer xmlview;
public ... | true |
ad134a840e352f3e4383a16c337dcc2302ce1fb3 | Java | cizhijingli/rcgl_v0.1 | /src/org/jeecgframework/core/util/excel/ExcelExportUtil.java | UTF-8 | 23,635 | 2.34375 | 2 | [] | no_license | package org.jeecgframework.core.util.excel;
import java.io.OutputStream;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.ap... | true |
1556b9c0eab00f8fc5b5d430606c2d6b9443f18a | Java | LucasKauer/projeto-base_java | /src/IniciativaProgramadores/src/main/java/Hackaton/IniciativaProgramadores/infrastructure/database/configuration/mysql/MySqlConnection.java | UTF-8 | 924 | 2.65625 | 3 | [] | no_license | package Hackaton.IniciativaProgramadores.infrastructure.database.configuration.mysql;
import java.sql.*;
import Hackaton.IniciativaProgramadores.infrastructure.database.configuration.DataBaseConnection;
import Hackaton.IniciativaProgramadores.infrastructure.database.configuration.DataBaseConstants;
public class MySq... | true |
1cacb6ef422166bf39a605aee66ef15061151569 | Java | VRushLP/TCSS360Brooklyn | /src/model/Job.java | UTF-8 | 11,020 | 3.125 | 3 | [] | no_license | package model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
/**
* @author Robert, Bethany, Lachezar, Duong
* @version Release
*/
public class Job implements Serializable, Comparable<Job>
{
private static final long se... | true |
5b230b46d01583966953d39305a2d34ee9598115 | Java | angusmacdonald/h2o | /src/main/org/h2o/util/DatabaseInstanceProbability.java | UTF-8 | 1,483 | 2.71875 | 3 | [] | no_license | package org.h2o.util;
import java.io.Serializable;
public class DatabaseInstanceProbability implements Serializable, Comparable<DatabaseInstanceProbability> {
private static final long serialVersionUID = 2642261932912933106L;
private double probability;
public DatabaseInstanceProbability(final double p... | true |
d4f0085a684ed884a16ca1a0a2f003bf5052720f | Java | google-code/cchlib | /cchlib-swing/src/main/java/com/googlecode/cchlib/swing/batchrunner/package-info.java | UTF-8 | 462 | 2.09375 | 2 | [] | no_license | /**
* <code>com.googlecode.cchlib.swing.batchrunner</code> is a framework for creating small
* swing applications.<br/>
* The default interface (which is scalable) allows the user to select a list of files
* to convert and a destination folder before starting treatment.
*
* @see com.googlecode.cchlib.swing... | true |
1570ff95c6faa4ab5f78a6ba768bc74689a6f22e | Java | tamerlanchik/RoboCar | /Android/MyApplication4/app/src/main/java/com/tamerlanchik/robocar/LogStorage.java | UTF-8 | 600 | 2.484375 | 2 | [] | no_license | package com.tamerlanchik.robocar;
import android.content.Context;
import java.util.ArrayList;
import java.util.List;
public class LogStorage{
private static LogStorage mLogStorage;
private List<LogItem> mLog;
private LogStorage(Context context){
mLog = new ArrayList<>();
}
public static ... | true |
59cd00d371f7e5866f4ec0ac5456ed63e87610f2 | Java | anmol1455/java | /first.java | UTF-8 | 661 | 3.265625 | 3 | [] | no_license | import java.util.*;
public class first
{
int id;
String name;
void setid(int id)
{
this.id=id;
}
void setname(String name)
{
this.name=name;
}
int getid()
{
return id;
}
String getname()
{
return name;
}
}
class stud ex... | true |
5b3358b573e6821d2b002416cbbf9e4fc386833f | Java | ForestMing/bookstore | /src/main/java/com/example/bookstore/entity/BookComment.java | UTF-8 | 646 | 2.125 | 2 | [] | no_license | package com.example.bookstore.entity;
public class BookComment {
public BookComment(){}
private int bookid ;
private String customername ;
private String content ;
public int getBookid() {
return bookid;
}
public void setBookid(int bookid) {
this.bookid = bookid;
}
... | true |
f13b3f74729f53dbb0684782d530c11e72f466e0 | Java | Ramyabalraj/LMS---Java | /src/main/java/com/kgisl/resources/entity/User.java | UTF-8 | 2,212 | 2.09375 | 2 | [] | no_license |
package com.kgisl.resources.entity;
import javax.persistence.*;
import javax.persistence.JoinColumn;
import com.kgisl.resources.entity.Resources;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.*;
/**
* User
*/
@Entity
@JsonIgnoreProperties({"hibernateLazyInitializer", "... | true |
beae11f221b814f1fda20d32ceae0d8616fff8c5 | Java | sokoo78/socketraktar | /src/com/berraktar/WorkOrders.java | UTF-8 | 4,809 | 2.5625 | 3 | [] | no_license | package com.berraktar;
import java.io.File;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;
final class WorkOrders {
// Munkalap számláló
private static AtomicInteger workCounter;
// Munkalapok
private static ConcurrentHashMap<Integer, Worksheet> works... | true |
c37e4e1fd5a23cc50e52f8b6248a672614b199b6 | Java | alu0100697032/RAM_Machine | /src/clases/OutputTape.java | UTF-8 | 649 | 3.15625 | 3 | [] | no_license | /**
* File name:OutputTape.java
* Package name: tests
* Proyect name: daa_ramMachine
*/
package clases;
import java.util.ArrayList;
public class OutputTape {
/**
* Atributes
*/
private ArrayList<Integer> elements;
/**
* Constructor: OutputTape
*/
public OutputTape() {
elements = new ArrayList<>()... | true |
7f7e4b4bb7c4098c152223c768b2cc89f9b6c53c | Java | MT-GMZ/mg | /knowledge/demo/boot/empty/src/main/java/com/mg/empty/demo/alt/leetcode/Mg20200923.java | UTF-8 | 1,861 | 3.125 | 3 | [] | no_license | package com.mg.empty.demo.alt.leetcode;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
public class Mg20200923 {
public int lengthOfLongestSubstring(String s) {
if(s.length()<=1)return s.length();
int length=0;
for(int i=0;i<s.length();i++)
{
... | true |
66b80006d7217bade7732b631504094b51a80313 | Java | aakarshak9/Explore-Rajasthan | /app/src/main/java/com/example/aakarshak/explore/data/local/ResourceClass.java | UTF-8 | 34,609 | 2.203125 | 2 | [] | no_license | package com.example.aakarshak.explore.data.local;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import androidx.annotation.ArrayRes;
import androidx.annotation.NonNull;
import androidx.palette.graphics.Palette;
impo... | true |
2034fd4bd64ba1125f205e7eb49153196fc87bed | Java | Benjy007/HNDtask2 | /app/src/main/java/com/example/alumnos/hndtask2/beans/TipBean.java | UTF-8 | 571 | 2.5625 | 3 | [] | no_license | package com.example.alumnos.hndtask2.beans;
import java.io.Serializable;
public class TipBean implements Serializable{
private String titulo,detalle;
public TipBean(String titulo, String detalle) {
this.titulo = titulo;
this.detalle = detalle;
}
public String getTitulo() {
... | true |
30c73ac2fab7ba2fd0a9bee5f0c64922a4da6f27 | Java | xianjie/jdbc | /src/main/java/jdbc/preparedStatement/JDBCPreparedStatementInsertExample.java | UTF-8 | 1,942 | 3.03125 | 3 | [] | no_license | package jdbc.preparedStatement;
import jdbc.DataSource;
import java.beans.PropertyVetoException;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
/**
* @Title: JDBCPreparedStatementInsertExample
* @Descriptio... | true |
acd8bb228716123241380d867ea1f491ef60fe3c | Java | Professionalrix/productInventory | /src/main/java/com/product/managment/webapp/repositories/StockRepository.java | UTF-8 | 570 | 2.0625 | 2 | [] | no_license | package com.product.managment.webapp.repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import com.product.managment.webapp.entities.Stock;
@Repository
public interface StockRepository ext... | true |
e48855920705cbeea2fc9b711928ebfdc4138c17 | Java | tikalk/Android4JavaWorkshopExamples | /example3/src/com/tikal/android4java/adapter/WebSiteListAdapter.java | UTF-8 | 1,134 | 2.375 | 2 | [
"MIT"
] | permissive | package com.tikal.android4java.adapter;
import java.util.List;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.tikal.android4java.example3.R;
public... | true |
ce8729512b37f01a5cfc1a2be105478ba3371bfb | Java | sarthakbhutani/NSKFDC-App | /NSKFDC App/nskfdc-app-common/src/main/java/com/nskfdc/scgj/common/StringUtility.java | UTF-8 | 4,996 | 2.921875 | 3 | [] | no_license | package com.nskfdc.scgj.common;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
@Component
public class StringUtility {
private static final Logger LOGGER = LoggerFactory.getLogger(StringUtility.class);
public String constructedBatchId(Stri... | true |
d699443ea7e8a3d2e661ee63eded860fafb3f27e | Java | ibirrer/spring-remoting-gson-poc | /src/main/java/ch/there/gson/Server.java | UTF-8 | 2,762 | 2.375 | 2 | [] | no_license | package ch.there.gson;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configurati... | true |
b5fa247b0f441a9366eb0b7d2ecf79f7c57f8139 | Java | zekuny/FirstProject | /FirstProject/src/Book.java | UTF-8 | 1,288 | 3.03125 | 3 | [] | no_license | public class Book {
private String title;
private String author;
private String description;
private double price;
private boolean isInStock;
private String bookCode;
public Book(){
title = "";
author = "";
description = "";
price = 0.0;
isInStock = false;
bookCode = "";
}
... | true |
e3f9efac2f9de805612465f38749c086ea5006ac | Java | mdalarmankhan/Car-Rental-Management-System | /Vehicle.java | UTF-8 | 372 | 2.53125 | 3 | [] | no_license | public interface Vehicle{
public void setRegis(String registration);
public String getRegis();
public void setAvailability(String yesOrNo);
public String getAvailability();
public void setUserName(String fName, String lName);
public String getUserName();
public void setUserNo(String userNumber);
publi... | true |
00aeea57abc3cb0239d44c1310440aa824e80963 | Java | TheChiefPriest/Eco-Wheel-for-Rider | /app/src/main/java/com/example/eco_rest_retro_mysql/Models/Passenger.java | UTF-8 | 395 | 2.546875 | 3 | [] | no_license | package com.example.eco_rest_retro_mysql.Models;
public class Passenger {
private int passenger_id;
private String username;
public Passenger(int id, String username) {
this.passenger_id = id;
this.username = username;
}
public int getPassenger_id() {
return passenger_id;... | true |
4081238ba1179599e7210b78559084108bc5df38 | Java | OnlyJJ/yuyin | /src/main/java/com/jiujun/voice/common/cmd/vo/BaseRespVO.java | UTF-8 | 1,757 | 2.46875 | 2 | [] | no_license | package com.jiujun.voice.common.cmd.vo;
import com.alibaba.fastjson.JSON;
import com.jiujun.voice.common.doc.annotation.DocFlag;
import com.jiujun.voice.common.enums.ErrorCode;
import com.jiujun.voice.common.model.CmdModel;
import com.jiujun.voice.common.utils.StringUtil;
/**
*
* @author Coody
* @date ... | true |
e11d6c1b85b584c794441a3c617bbb01f4abb9c3 | Java | 267062491/review | /le-tbtSps/trunk/le-tbtSps-dao/src/main/java/com/letv/tbtSps/dao/LanguageDao.java | UTF-8 | 1,551 | 2.328125 | 2 | [] | no_license | package com.letv.tbtSps.dao;
import java.util.List;
import com.letv.tbtSps.domain.Language;
import com.letv.tbtSps.domain.query.LanguageQuery;
/**
* LanguageDao接口<br/>
* 对'原文语种'表进行基本的操作
*
* @author yuguodong
* @version 2017-3-25 22:43:03
*
*/
public interface LanguageDao {
/**
* 新增对象
*
... | true |
5c8d5cdc8a6006bc8253ff058496e9755c95581e | Java | rcteslic/Vjezbe | /src/intI/Cat.java | UTF-8 | 593 | 3.5625 | 4 | [] | no_license | package intI;
public class Cat implements Animal {
private String ime;
private String bojaKrzna;
public Cat(String ime, String bojaKrzna) {
this.ime = ime;
this.bojaKrzna = bojaKrzna;
}
@Override
public void jedenje() {
System.out.println("Macka jede meso.");
}
@Override
public void kretanje() {
S... | true |
e3afac908352470b70b2ce1f06ca495828f27272 | Java | jinrenyu/JavaEE | /Book_Store/src/main/java/com/tz/online/entity/Address.java | UTF-8 | 4,969 | 2.421875 | 2 | [] | no_license | package com.tz.online.entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
@Entity
@Table(na... | true |
cfb3592c4d960ebb19559f1cca491377147af55d | Java | EeveeCreations/UnstableProgramers | /UnstableProgramers/src/main/java/Observables/PlayerObservable.java | UTF-8 | 126 | 2.1875 | 2 | [] | no_license | package Observables;
import Observers.*;
public interface PlayerObservable {
void Update(PlayerObserver observer);
}
| true |
30c0f70155b0042de8441c1927c6746cbc3af412 | Java | HikaRiwwww/shogaku-frame | /src/main/java/com/throne/controller/admin/AdminPageController.java | UTF-8 | 1,404 | 1.898438 | 2 | [] | no_license | package com.throne.controller.admin;
import com.throne.entity.bo.HeadLine;
import com.throne.entity.dto.Result;
import com.throne.service.solo.HeadLineService;
import com.throne.service.solo.ShopCategorySerivce;
import org.shogakuframework.aop.annotation.Aspect;
import org.shogakuframework.core.annotations.Controller;... | true |
a52b2b0446552716715bd2e0231b19a634afdab1 | Java | No-Hue/THB_Test | /TestProjectGithub/src/game/TicTacToe.java | UTF-8 | 2,887 | 4.0625 | 4 | [] | no_license | package game;
import java.util.Scanner;
public class TicTacToe {
// declare Variables for rows and column
private static int row, col;
//scanner to take the input for our players
private static Scanner scan = new Scanner(System.in);
// board double character array
private static char [][] bo... | true |
194df46453ea3242bef7d2be72daa9f2968e51ff | Java | fabiofdsantos/2d-cutting-stock-problem | /src/ga/GAListener.java | UTF-8 | 191 | 1.507813 | 2 | [
"MIT"
] | permissive | package ga;
import experiments.ExperimentListener;
public interface GAListener extends ExperimentListener {
void generationEnded(GAEvent e);
void runEnded(GAEvent e);
}
| true |
ca8a1015fb049a53c3f2cfb5a16b43c5ad916bad | Java | ericlabouve/BoardGameFramework | /src/hurkle/Hurkle.java | UTF-8 | 1,792 | 3.6875 | 4 | [] | no_license | package hurkle;
import framework.Renderable;
/**
* Represents all the different images that can be rendered in the board game.
* The game board is filled with EMPTY_SOLID objects to start the game. Once
* clicked, EMPTY_SOLID object can either be replaced by EMPTY_CLEAR objects
* which allow the background the ... | true |
f486d9c8f573fa05f4d90ea26caf06e917ba4854 | Java | toddharrison/AuctionMaster | /src/main/java/me/qKing12/AuctionMaster/AuctionObjects/Categories/Armor.java | UTF-8 | 6,702 | 2.40625 | 2 | [] | no_license | package me.qKing12.AuctionMaster.AuctionObjects.Categories;
import me.qKing12.AuctionMaster.AuctionObjects.Auction;
import me.qKing12.AuctionMaster.AuctionMaster;
import me.qKing12.AuctionMaster.Utils.utils;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemFl... | true |
ab0ac24ed701bed8be6f428c31d8e1c932970582 | Java | zhiyou007/PianYu | /app/src/main/java/com/zzy/pianyu/ui/fragment/HomeFragment.java | UTF-8 | 883 | 2.125 | 2 | [] | no_license | package com.zzy.pianyu.ui.fragment;
import android.view.View;
import android.widget.TextView;
import com.zzy.framework.base.BaseFragment;
import com.zzy.pianyu.R;
import butterknife.Bind;
/**
* Created by zhiyou007 on 2016/9/2.
*/
public class HomeFragment extends BaseFragment {
@Bind(R.id.tv_info)
TextVi... | true |
b97ea07b69fca0c1baddfb846f134f45bc610686 | Java | xuyushiguang/CostAccountingTool | /src/cn/cat/service/order_detail/OrderDetailServiceImpl.java | UTF-8 | 696 | 2.125 | 2 | [] | no_license | package cn.cat.service.order_detail;
import cn.cat.dao.order_detail.OrderDetailMapper;
import cn.cat.pojo.OrderDetail;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
* @author yinxiaochen
* 2017/12/20 13:52
*
*/
@Service
public class OrderDetailServiceImpl implements OrderD... | true |
795074ba012309d0f74550cf52ccc0772967f0dd | Java | karipursiainen/Akkis | /src/main/java/akkis/types/Role.java | UTF-8 | 93 | 1.921875 | 2 | [] | no_license | package akkis.types;
public enum Role {
SELLER,
CUSTOMERSERVICE,
BILLER,
BOSS,
ADMIN
}
| true |
315795aecf49a378f2bd400b8f75d18b8ca53426 | Java | Matteogrf/healthcare-system-integration | /DataProducer/src/it/unitn/laboratory/events/AssegnazioneAreaUtenzaType.java | UTF-8 | 4,464 | 2.03125 | 2 | [] | no_license |
package it.unitn.laboratory.events;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCal... | true |
f37816702bb35d551df0196a649cb075760aaa0a | Java | AllaAboAbayed/BGU_CS | /minHeapComparator.java | UTF-8 | 590 | 3.296875 | 3 | [] | no_license | import java.util.Comparator;
/**
* Comparator for the minHeap, smallest number has the highest priority, natural ordering
*/
public class minHeapComparator implements Comparator<Point> {
@Override
public int compare(Point i, Point j) {
int result;
if (i.getY() > j.getY())
result... | true |
4d9e61c6dc839ba768f92f6fcb07ef2b64546521 | Java | NikolayGst/MyDeliveryClient | /app/src/main/java/ru/mydelivery/Model/Detail/User.java | UTF-8 | 2,324 | 2 | 2 | [] | no_license |
package ru.mydelivery.Model.Detail;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class User {
@SerializedName("fio")
@Expose
private String fio;
@SerializedName("telephone")
@Expose
private String telephone;
@SerializedName("pick_fr... | true |
e03746fc37d7d771e3d41bdbcf3ef4629adccb9d | Java | KunoSayo/jcqbot | /ran/src/main/java/com/meng/modules/MPohaitu.java | UTF-8 | 2,711 | 2.140625 | 2 | [] | no_license | package com.meng.modules;
import com.meng.*;
import com.meng.config.*;
import com.meng.tools.*;
import com.sobte.cqp.jcq.entity.*;
import java.io.*;
import java.util.*;
public class MPohaitu extends BaseModule {
@Override
public BaseModule load() {
enable = true;
return this;
}
@Override
protected boolean ... | true |
e880e5736e7419ac9e7038234fef9ec284703fc5 | Java | facemywrath/SkillSystem | /src/riseofempires/skillsystem/skills/Swipe.java | UTF-8 | 3,161 | 2.484375 | 2 | [] | no_license | package riseofempires.skillsystem.skills;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.Particle;
import org.bukkit.Sound;
import org.bukkit.entity.Entity;
import org.bukkit.entity.EntityType;
import org.bukkit... | true |
79872c83a93494b50afae3e227eea58e5c7db32a | Java | desireiai/c2adeces | /src/java/com/c2a/vie/service/deces/DossiersinistreServiceBeanLocal.java | UTF-8 | 296 | 1.539063 | 2 | [] | no_license | package com.c2a.vie.service.deces;
import javax.ejb.Local;
import com.c2a.vie.entities.Dossiersinistre;
import com.c2a.vie.service.BaseServiceBeanLocal;
/**
*
* @author K.M.A
*/
@Local
public interface DossiersinistreServiceBeanLocal extends BaseServiceBeanLocal<Dossiersinistre,Integer> {
} | true |
e70504ab7d8930658a9475bc62d303e8cf8a22ad | Java | cedricvidal/emf-scaffolding | /plugins/org.eclipselabs.emf.scaffolding.tests.model1/src/org/eclipselabs/emf/scaffolding/tests/model1/builder/Model1Builders.java | UTF-8 | 737 | 2.0625 | 2 | [] | no_license | package org.eclipselabs.emf.scaffolding.tests.model1.builder;
public abstract class Model1Builders {
public static EntityBuilder buildEntity() {
return new EntityBuilder();
}
public static EntityBuilder buildEntity(java.lang.String name) {
return new EntityBuilder(name);
}
public static DAOBuilder buildD... | true |
7c430ec2fa73f9f8e20d8f3f0b7a04450b274479 | Java | fn110/AndroidBasicCommonDemos | /WebService网络请求的实现/app/src/main/java/com/ctrip/www/Utils/ProgressDialogUtils.java | UTF-8 | 840 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | package com.ctrip.www.Utils;
import android.app.ProgressDialog;
import android.content.Context;
/**
* 项目名称:WebService网络请求的实现
* 类描述:
* 创建人:huangchengdu
* 创建时间:16/8/30 下午3:06
* 修改人:huangchengdu
* 修改时间:16/8/30 下午3:06
* 修改备注:
*/
public class ProgressDialogUtils {
private static ProgressDialog progressDialog;
... | true |