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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
1d35373d2c0209dcdf1333db5b5d4b390a94b439 | Java | aws/aws-sdk-java | /aws-java-sdk-licensemanager/src/main/java/com/amazonaws/services/licensemanager/model/CreateLicenseConfigurationRequest.java | UTF-8 | 36,074 | 1.703125 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | true |
ce8a3077fba1a44ba61c70b409585edf62ec8b1f | Java | stelian-mihalceanu/LordOfJava | /Warg.java | UTF-8 | 654 | 3.046875 | 3 | [] | no_license |
public class Warg extends Creature implements IBite {
private double bitePower;
public Warg(double stamina, double speed, int agility, String nickname, long score, double bitePower) {
super(stamina, speed, agility, nickname, score);
this.bitePower = bitePower;
}
@Override
public ... | true |
38a838e815c17be0fca414b327e4590dc07fe216 | Java | ZUP779/InformationSystemTraining1110 | /src/main/java/com/example/esdemo/config/Swagger2Config.java | UTF-8 | 1,782 | 2.15625 | 2 | [] | no_license | package com.example.esdemo.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelect... | true |
69024261af9f9f322ca72d41d09e2c6bdacad24a | Java | sol-work/RepoGarage | /src/main/java/com/qa/controllers/TruckController.java | UTF-8 | 788 | 2.234375 | 2 | [] | no_license | package com.qa.controllers;
import java.util.List;
import com.qa.dao.TruckDAO;
import com.qa.utils.UserInput;
import com.qa.vehicles.Car;
import com.qa.vehicles.Truck;
public class TruckController implements GarageController<Truck> {
private TruckDAO truckDAO;
private UserInput input = UserInput.getInstance();
... | true |
eded553d10ddd22915002716468a28e37e237c32 | Java | navi07/FEM | /src/Model/Matrix_H.java | UTF-8 | 8,452 | 2.375 | 2 | [] | no_license | package Model;
import Resources.InitialData;
import Resources.PrintMatrix;
import static Resources.CleanMatrix.clean_Matrix;
import static java.lang.Math.sqrt;
public class Matrix_H {
public double[][] Hsum = new double[4][4];
public double[][] HBC = new double[4][4];
public VectorP vectorPLocal;
p... | true |
eceba020797855b812d31594fec7d0aa2625219b | Java | Robin-Hoodie/io.oreon.video.rental.store | /src/main/java/io/oreon/casumo/video/rental/store/startup/FilmInitializer.java | UTF-8 | 2,863 | 2.390625 | 2 | [] | no_license | package io.oreon.casumo.video.rental.store.startup;
import io.oreon.casumo.video.rental.store.constants.SpringProfiles;
import io.oreon.casumo.video.rental.store.dao.CustomerRepository;
import io.oreon.casumo.video.rental.store.dao.FilmRepository;
import io.oreon.casumo.video.rental.store.model.Customer;
import io.ore... | true |
fcc1a0efdba7e72edc908c05185c8b802dc87f48 | Java | tomasz-ludek/dashcontrol-android | /app/src/main/java/com/dash/dashapp/models/WalletBalance.java | UTF-8 | 2,089 | 1.953125 | 2 | [] | no_license | package com.dash.dashapp.models;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by Dexter Barretto on 18/2/18.
* Github : @dbarretto
*/
public class WalletBalance {
@SerializedName("address")
@Expose
private String address;
@Serialized... | true |
bcfb929008e7911fb1ab7880c6abc16d9ca1eea7 | Java | spincast/spincast-framework | /spincast-plugins/spincast-plugins-attempts-limiter-parent/spincast-plugins-attempts-limiter/src/main/java/org/spincast/plugins/attemptslimiter/config/SpincastAttemptsLimiterPluginConfig.java | UTF-8 | 1,754 | 2.453125 | 2 | [
"Apache-2.0"
] | permissive | package org.spincast.plugins.attemptslimiter.config;
import org.spincast.core.config.SpincastConfig;
import org.spincast.plugins.attemptslimiter.Attempt;
import org.spincast.plugins.attemptslimiter.AttemptsAutoIncrementType;
import org.spincast.plugins.attemptslimiter.AttemptsManager;
/**
* Configurations for the Sp... | true |
73520f6adcc664097d7d79fcc5b569d8a9637fdd | Java | alandrieu/geektic2014 | /src/main/java/com/ninja_squad/geektic/geek/TypeSexe.java | UTF-8 | 77 | 1.640625 | 2 | [] | no_license | package com.ninja_squad.geektic.geek;
public enum TypeSexe {
homme, femme
} | true |
1b31490af4a58742ca8301b09202905da6895f62 | Java | tshep159/webstore | /src/main/java/com/mrd/controller/PaymentsController.java | UTF-8 | 1,134 | 1.851563 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.mrd.controller;
import com.mrd.entity.Address;
import com.mrd.entity.Payments;
import com.mrd.service.AddressServ... | true |
4ffbdc176a112fe3cabdbd740339d4b064558048 | Java | bananagg/NLKM | /src/main/java/com/wake/nlkm/controller/GuwenController.java | UTF-8 | 6,315 | 2.203125 | 2 | [] | no_license | package com.wake.nlkm.controller;
import com.alibaba.fastjson.JSONObject;
import com.wake.nlkm.entity.Guwen;
import com.wake.nlkm.entity.IdBean;
import com.wake.nlkm.entity.Idiom;
import com.wake.nlkm.error.FailException;
import com.wake.nlkm.error.RequestParamIsEmptyException;
import com.wake.nlkm.service.GuwenServic... | true |
48a55bac9570815c689a546669c9a83d5792e3ab | Java | gyygit/searchH | /src/main/java/com/sinovatech/search/utils/RedisBusinessHelper.java | UTF-8 | 870 | 2.25 | 2 | [] | no_license | package com.sinovatech.search.utils;
import com.sinovatech.common.util.StringUtils;
import com.sinovatech.search.entity.abstractdto.UserAbstractDTO;
/***
*
* @ClassName: RedisBusinessHelper
* @Description:
* @author Ma Tengfei
* @date 2017年3月14日 下午2:20:30
*
*/
public class RedisBusinessHelper {
pri... | true |
be4c5966a5daae77129dede7b69ede6657796fdd | Java | Rock3306/Stack-Queue | /stackAndqueue/src/main/java/com/common/TwoQueueForStack.java | UTF-8 | 1,444 | 4.21875 | 4 | [] | no_license | package com.common;
import java.util.ArrayDeque;
import java.util.Queue;
/**
* 两个队列实现一个栈
* 思路:将 1、2、3 一次放入队列一,然后最上面的 3 留在队列一,
* 将下面的 2、3 入队列二,把 3 出队列一,此时队列一空了,然后把队列二中的所有数据
* 入队列一;将最上面的 2 留在队列一,将下面的 3 入队列二。。一次循环
* @author rocki
*
*/
public class TwoQueueForStack {
Queue<Integer> queue1 = new ArrayDeque<Int... | true |
11a3aeb8e7621ba37c16cf9610491d8c5b661f97 | Java | CiprianOlteanu23/pacaneaFX | /src/main/java/misc/ToolbarHandle.java | UTF-8 | 2,195 | 2.75 | 3 | [] | no_license | package misc;
import javafx.animation.PauseTransition;
import javafx.scene.text.Text;
import javafx.util.Duration;
import misc.data.CashManager;
import java.util.concurrent.atomic.AtomicInteger;
public class ToolbarHandle {
public void initialText(Text creditIndicator, Integer credit, Text betText, Text messag... | true |
7af116de2a0367d8309718a2831c1375e93c777d | Java | Sofia-Kyba/apps20kyba-hw5 | /src/main/java/ua/edu/ucu/stream/AsIntStream.java | UTF-8 | 3,960 | 3.078125 | 3 | [] | no_license | package ua.edu.ucu.stream;
import ua.edu.ucu.function.IntBinaryOperator;
import ua.edu.ucu.function.IntConsumer;
import ua.edu.ucu.function.IntPredicate;
import ua.edu.ucu.function.IntToIntStreamFunction;
import ua.edu.ucu.function.IntUnaryOperator;
import java.util.Arrays;
public class AsIntStream implements IntStr... | true |
19d6caac7f7d6eb8e53b993cb52cf45c2bba59e8 | Java | herasimau/alexa-runner-pizza | /src/it/runnerpizza/alexa/models/PaymentRequest.java | UTF-8 | 507 | 1.992188 | 2 | [] | no_license | package it.runnerpizza.alexa.models;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class PaymentRequest {
private Boolean error;
private String transactionId;
public Boolean getError() {
return error;
}
public void setError(Boolean error) {
... | true |
7ce3adf014d964d02350f89420ffb730cdfe0ba6 | Java | thu512/SamsungSwTest | /src/D3_2806/Solution.java | UTF-8 | 936 | 3 | 3 | [] | no_license | package D3_2806;
import java.util.ArrayList;
import java.util.Scanner;
class Solution {
static int Answer;
static int n;
static int[] col;
static int result=0;
public static void main(String args[]) throws Exception {
Scanner sc = new Scanner(System.in);
int T = sc.nextInt();
for(i... | true |
3ee457404e86ee116527face629b1a4de3713617 | Java | 4shael/XChange | /xchange-yobit/src/main/java/org/knowm/xchange/yobit/service/YoBitTradeService.java | UTF-8 | 10,067 | 1.8125 | 2 | [
"MIT"
] | permissive | package org.knowm.xchange.yobit.service;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.dto.Order;
import org.knowm.xchange.dto.marketdata.Trades;
import org.knowm.xchange.dto.trade.LimitOrder;
import org.knowm.xchange.dto.trade.MarketOrder;
import org.knowm.xchange.dto.trade.OpenOrders;
impo... | true |
3e41831ea1faba30f338227569022aca4fba887b | Java | alijavidan/Internet-Engineering-Course-Project | /CA-6/ie-ca6/server/src/main/java/com/internet/engineering/IECA5/IeCa5Application.java | UTF-8 | 1,047 | 2.015625 | 2 | [] | no_license | package com.internet.engineering.IECA5;
import com.internet.engineering.IECA5.repository.MzRepository;
import com.internet.engineering.IECA5.services.CourseEnrolmentService;
import com.internet.engineering.IECA5.utils.schedulers.SecJob;
import org.springframework.boot.SpringApplication;
import org.springframework.boot... | true |
a01a2aba359cef934d195ae1d9d1c1ae1cf05e19 | Java | paul-g/protrade | /tests-system/org/ic/protrade/model/connection/BetfairConnectionHandlerTest.java | UTF-8 | 1,264 | 2.1875 | 2 | [] | no_license | package org.ic.protrade.model.connection;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.fail;
import java.util.List;
import org.ic.protrade.data.market.connection.BetfairConnectionHandler;
import org.ic.protrade.data.market.connection.Profil... | true |
7be762c18632462d7313ba0b36f837c87540be9e | Java | mythread/rongyi_source | /rongyi-crm5/src/main/java/com/mallcms/service/IShopsService.java | UTF-8 | 309 | 1.625 | 2 | [] | no_license | package com.mallcms.service;
import java.util.List;
import com.mallcms.domain.Shops;
import com.mallcms.domain.ShopsPojo;
public interface IShopsService {
public List<Shops> getShopsByMallId(String mallId);
public void updateShop(ShopsPojo shop);
Shops getShopById(String Id);
}
| true |
307c8b23c51653ab99dbd64cbbd9b552f7a2c240 | Java | kangzhenkang/fat-jar-isolation | /fat-jar-classloader/src/main/java/com/laomei/fatjar/classloader/FatJarClassLoader.java | UTF-8 | 6,264 | 2.8125 | 3 | [] | no_license | package com.laomei.fatjar.classloader;
import com.laomei.fatjar.common.boot.jar.Handler;
import java.io.IOException;
import java.net.JarURLConnection;
import java.net.URL;
import java.net.URLClassLoader;
import java.net.URLConnection;
import java.security.AccessController;
import java.security.PrivilegedExceptionActi... | true |
858ef193972ad2ed172592d2e13649728125b09c | Java | BBogomilov/MainRepository | /Collections, Threads/Library/src/SchoolBook.java | UTF-8 | 775 | 3.203125 | 3 | [] | no_license |
public class SchoolBook extends Reading implements Comparable<SchoolBook>{
private String theme;
private String author;
public SchoolBook(String name, String theme, String publishingHouse, String author) {
super(name, publishingHouse);
this.author = author;
this.theme = theme;
}
protected String getAut... | true |
d6504827c1f56f2ccdf190a84e3864986878bbb4 | Java | UMKC-BigDataLab/RIQ | /RIS/virtuoso/eduDBS/umkc/sce/dbis/anask/DbStarter.java | UTF-8 | 5,873 | 2.515625 | 3 | [] | no_license | package eduDBS.umkc.sce.dbis.anask;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.Socket;
import java.uti... | true |
6cbc79789b662605cc08f6bb4c53159a7fc16f98 | Java | mufanglintest/testui-core | /jorge-testui-core/src/main/java/com/jorge/testui/marshall/CaseApiRequestMarshall.java | UTF-8 | 416 | 1.828125 | 2 | [] | no_license | /*
* acooly.cn Inc.
* Copyright (c) 2016 All Rights Reserved.
* create by zhangpu
* date:2016年3月17日
*
*/
package com.jorge.testui.marshall;
import com.jorge.testui.message.CaseBaseRequest;
/**
* 请求报文组装接口
*
* @author zhangpu
* @param <T>
*/
public interface CaseApiRequestMarshall<T extends CaseBaseRequest, ... | true |
daf98237853a00524589fc2f3eebfba309400d86 | Java | dngamage/Project | /src/main/java/com/service/IServiceGateway.java | UTF-8 | 113 | 1.90625 | 2 | [] | no_license | package com.service;
public interface IServiceGateway
{
public String birdInfo();
public String fishInfo();
}
| true |
d9a91f97364618145cefd58d5f3afd15770970c5 | Java | JasperLue/Uatu | /buildSrc/src/main/java/com/vinctor/log/AbstractLogger.java | UTF-8 | 848 | 2.515625 | 3 | [
"Apache-2.0"
] | permissive | package com.vinctor.log;
import org.gradle.api.logging.LogLevel;
abstract class AbstractLogger implements ILogger {
@Override
public void d(String tag, String msg) {
log(LogLevel.DEBUG, tag, msg, null);
}
@Override
public void i(String tag, String msg) {
log(LogLevel.INFO, tag, ms... | true |
17636d4027e80cddc51c0917787b8bab9927f10a | Java | nastya0715/Projects | /AirPorts/src/main/java/com/fedorova/airPorts/dao/jdbcImplement/CancellationDAO.java | UTF-8 | 3,487 | 2.625 | 3 | [] | no_license | package com.fedorova.airPorts.dao.jdbcImplement;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.ParseException;
import org.apache.log4j.Logger;
import com.fedorova.airPorts.dao.ICancellationDAO;
import com.fedorova.airPorts.mod... | true |
4fb8814436f602651918d57cb3d123e43685fc77 | Java | wzqly1120/my-test1 | /crm-project/crm-test/src/main/java/com/bjpowernode/crm/workbench/service/impl/ActivityServiceImpl.java | UTF-8 | 666 | 2.03125 | 2 | [] | no_license | package com.bjpowernode.crm.workbench.service.impl;/*
*2020/12/10
*/
import com.bjpowernode.crm.workbench.domain.Activity;
import com.bjpowernode.crm.workbench.mapper.ActivityMapper;
import com.bjpowernode.crm.workbench.service.ActivityService;
import org.springframework.beans.factory.annotation.Autowired;
import or... | true |
253c262acf33878623dc93d86708cf6a9b1ba5d8 | Java | Genhis/Evolution | /src/sk/genhis/evolution/OrganismDisplay.java | UTF-8 | 297 | 2.203125 | 2 | [] | no_license | package sk.genhis.evolution;
import javax.swing.JPanel;
public class OrganismDisplay extends JPanel {
private static final long serialVersionUID = 0L;
private final Organism o;
public OrganismDisplay(Organism o) {
this.o = o;
}
public Organism getOrganism() {
return this.o;
}
}
| true |
a313128e8225687f68d05f656f2b14944943b40e | Java | robellgabriel/risk | /tests/GameTest.java | UTF-8 | 9,690 | 2.859375 | 3 | [] | no_license | import org.junit.*;
import org.xml.sax.SAXException;
import javax.xml.parsers.ParserConfigurationException;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.*;
import static org.junit.Assert.*;
public class GameTest {
Game game;
HashMap<String, Boolean> playerNames;
@Be... | true |
f3bc0c9ef4f440e795cc88b761af14b9f82e62cf | Java | Fundamental-OOP/final-project-b07902042 | /src/hearthclone/model/minion/AnnoyRobot.java | UTF-8 | 1,310 | 3.015625 | 3 | [] | no_license | package hearthclone.model.minion;
import hearthclone.model.DivineShield;
import hearthclone.model.Taunt;
//Complete
public class AnnoyRobot extends AbstractMinion implements DivineShield, Taunt {
private static String name = "AnnoyRobot";
private static String description = "DivineShield & Taunt";
privat... | true |
28aedab9aaf38c778dde87d5b2c83e6bf78a2312 | Java | benoist-lab/planificateur_voyage | /src/main/java/com/planificateurVoyage/repository/StatutVoyageRepository.java | UTF-8 | 934 | 2.203125 | 2 | [] | no_license | package com.planificateurVoyage.repository;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import com.planificateurVoyage.model.StatutVoyage;
import com.planificateurVoyage... | true |
cd1737bc277421b7c5a905b9ed764ea0e4a392f8 | Java | nikolabaska/Selenium-AutomationPractice | /objects/Loginpage.java | UTF-8 | 434 | 1.5625 | 2 | [] | no_license | package objects;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
public class Loginpage {
protected By signin =By.xpath("//*[@id=\"header\"]/div[2]/div/div/nav/div[1]/a");
protected By email =By.id("email");
protected By password =By.id("passwd");
protected By Submit1 =By.id(... | true |
e4c9f278a5d4bdc7b1b7038c06c4c36d3353bc66 | Java | e88z4/mythtvguide | /src/main/java/org/jmythapi/protocol/events/IFileWritten.java | UTF-8 | 1,205 | 2.546875 | 3 | [] | no_license | package org.jmythapi.protocol.events;
import java.util.Date;
import org.jmythapi.protocol.annotation.MythParameterType;
import org.jmythapi.protocol.request.IMythCommand;
/**
* @see IMythCommand#BACKEND_MESSAGE_FILE_WRITTEN
*/
public interface IFileWritten extends IRecordingEvent<IFileWritten.Props> {
public stat... | true |
b0c67914620482b7247c514748f6a6d50ce6943b | Java | Catmaniscatlord/ProjectEuler | /problem_32/Problem32.java | UTF-8 | 2,042 | 3.28125 | 3 | [] | no_license | package problem_32;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
public class Problem32 {
public static void main(String[] args) {
String digits = "123456789";
String tmp;
Set<Integer> ... | true |
ae91128a078cd9812ba4b1353e7158531edf3e52 | Java | Rakesh-Subudhi-GitHub/Associtation | /Anno_ManyToMany_Bi/src/main/java/com/rk/dao/ManyToManyDAO.java | UTF-8 | 141 | 1.648438 | 2 | [] | no_license | package com.rk.dao;
public interface ManyToManyDAO {
public void saveDataUsingParent();
public void saveDataUsingChilds();
}
| true |
08b4db35d768ff538c901ae0b3f2a9f7631ef58f | Java | g2vinay/azure-sdk-for-java | /sdk/apimanagement/azure-resourcemanager-apimanagement/src/samples/java/com/azure/resourcemanager/apimanagement/ApiManagementServiceBackupSamples.java | UTF-8 | 1,351 | 1.929688 | 2 | [
"MIT",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause",
"CC0-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.1-or-later"
] | permissive | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.apimanagement;
import com.azure.core.util.Context;
import com.azure.resourcemanager.apimanagement.models.ApiManagementServiceBac... | true |
02fc63c1fdd5013b44e9e2787da47402e8fec88a | Java | jinrang2/TJS_BigData | /src/1_JAVA/ch13_interface/src/com/lec/ex09lib/CDLib.java | UTF-8 | 1,629 | 3.3125 | 3 | [] | no_license | package com.lec.ex09lib;
public class CDLib extends CDInfo implements ILendable {
private String borrower;
private String checkOutDate;
private byte state;
public CDLib() {}
public CDLib(String cdNo, String cdTitle, String bookNo) {
super(cdNo, cdTitle, bookNo);
this.borrower = "";
this.checkOut... | true |
58e7b2c74e6450df0e42550db29590411f65e6ee | Java | xinqipei/YumFoodProject | /app/src/main/java/com/example/yummfoodapp/util/Loading.java | UTF-8 | 510 | 2.234375 | 2 | [] | no_license | package com.example.yummfoodapp.util;
import android.app.ProgressDialog;
import android.content.Context;
public class Loading {
ProgressDialog progressDialog;
public Loading(Context context){
progressDialog=new ProgressDialog(context);
progressDialog.setMessage("Loading...");
... | true |
f1fe631275f8eb852c2ae8a310c7769c3af50387 | Java | 274336317/avt_ui | /com.coretek.spte.core/src/com/coretek/spte/core/locators/MidpointOffsetLocatorForDot.java | GB18030 | 874 | 2.28125 | 2 | [] | no_license | package com.coretek.spte.core.locators;
import org.eclipse.draw2d.Connection;
import org.eclipse.draw2d.MidpointLocator;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.draw2d.geometry.PointList;
/**
* ϢеʡԺűǩλ
*
* @author Ρ
* @date 2010-9-1
*
*/
public class MidpointOffsetLocatorForDot extends Mi... | true |
0056bb2c2ce4ec7383e1121adba507d1e244ab64 | Java | sengeiou/wqb_yzj | /bookkeeper/src/main/java/com/wqb/dao/subject/impl/TBasicSubjectMappingMapperImpl.java | UTF-8 | 6,885 | 2.046875 | 2 | [] | no_license | package com.wqb.dao.subject.impl;
import com.wqb.common.Log4jLogger;
import com.wqb.dao.subject.TBasicSubjectMappingMapper;
import com.wqb.model.TBasicMeasure;
import com.wqb.model.TBasicSubjectMapping;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.springfr... | true |
dc8da2e2d9fa3feaa2120edb4804c13e305106c0 | Java | spinachgit/itextpdf-demo | /src/main/java/sandbox/images/WatermarkedImages2.java | UTF-8 | 3,302 | 2.78125 | 3 | [] | no_license | /**
* This code sample was written by Bruno Lowagie in answer to this question:
* http://stackoverflow.com/questions/26814958/pdf-vertical-postion-method-gives-the-next-page-position-instead-of-current-page
*/
package sandbox.images;
import com.itextpdf.text.Document;
import com.itextpdf.text.DocumentException;
imp... | true |
627a2b55dd3dfb3d9fec91c99a06513d881fef45 | Java | AY1920S1-CS2113T-F10-2/main | /src/main/java/list/UpdateFile.java | UTF-8 | 2,094 | 3.140625 | 3 | [] | no_license | package list;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.util.AbstractList;
import java.util.ArrayList;
import java.util.List;
public class UpdateFile {
private final String filename = "../data/savedegree.txt"; //text file that stores ... | true |
fff0180056c2ebdd8ba3f6c376521499b2372603 | Java | vodrazka/GOF-DesignPatterns | /src/pl/fane/gof/creational/builder/user/model/UserBuilder.java | UTF-8 | 927 | 2.734375 | 3 | [] | no_license | package pl.fane.gof.creational.builder.user.model;
import pl.fane.gof.creational.builder.user.Builder;
public class UserBuilder implements Builder<User> {
private User user;
public UserBuilder() {
this.user = new User();
}
@Override
public User build() {
try{
return ... | true |
222ccdaa259bfe49ce24467af7c39efaac1a2498 | Java | jarvisxiong/dev | /src/main/java/com/hengyun/service/account/PatientAccountService.java | UTF-8 | 1,128 | 2.078125 | 2 | [] | no_license | package com.hengyun.service.account;
import java.util.List;
import com.hengyun.domain.account.PatientInfo;
import com.hengyun.domain.loginInfo.LoginResult;
import com.hengyun.service.BaseService;
import com.hengyun.service.impl.account.UserNotExistException;
/**
* @author bob E-mail:panbaoan@thealth.cn
* @version 创建... | true |
9619e44274e6d7931606a8d3a8b8bad653072b1a | Java | arabhossain/Retail_Pos | /src/FileIOService/Local_DB_ConfigCreate.java | UTF-8 | 4,283 | 2.359375 | 2 | [] | no_license | /*
Software Engineer
---------------------------------------
Md. Arab Hossain
Email: arabhossain317@diu.edu.bd
green.arab1995@gmail.com
Mobile: +8801827-464330
+8801737-331037
Daffodil International University(Student)
*/
package FileIOService;
import AppConfig... | true |
f71bf97dfe022bb7c21937b70dd93d5d91486901 | Java | Frexiona/Digital-Work-Traceability-System | /BackEnd/src/main/java/com/numsource/artproject/DTO/PictureInfo.java | UTF-8 | 328 | 1.632813 | 2 | [] | no_license | package com.numsource.artproject.DTO;
import lombok.Data;
import java.io.File;
@Data
public class PictureInfo {
private String picture;
private String name;
private String author;
private Integer price;
private String info;
private Integer hot;
private String owner;
private String st... | true |
f5da8118944e97d42104cf562113931b2d0d6357 | Java | AishaKaplan/Company.java | /src/day26/MoodRing.java | UTF-8 | 941 | 3.609375 | 4 | [] | no_license | package day26;
import java.util.Scanner;
public class MoodRing {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("What is the mood ring color?");
String color = input.next();
String mood = "";
double budget = 0.0;
... | true |
73c79bfbe34f6e2c6178c7cc1ee7f72356543952 | Java | KarlaGallegos/AlgoritmosSistemas | /ene-jun-2021/Karla Sarabi Gallegos Arredondo/Objeto.java | UTF-8 | 656 | 3.53125 | 4 | [] | no_license | package AlgoritmosDeOrdenamiento;
public class Objeto {
private String nombre;
private int cantidad;
public Objeto(){
nombre = " ";
cantidad = 0;
}
public Objeto(String s, int x){
nombre = s;
cantidad = x;
}
public void se... | true |
49ef982d28a239efecfa738f39b82a0819a959e1 | Java | verygoodwlk/shop_1810pom | /shop_web/shop_item/src/main/java/com/qf/controller/ItemController.java | UTF-8 | 1,913 | 2.453125 | 2 | [] | no_license | package com.qf.controller;
import com.alibaba.dubbo.config.annotation.Reference;
import com.qf.entity.Goods;
import com.qf.service.IGoodsService;
import freemarker.template.Configuration;
import freemarker.template.Template;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ster... | true |
f793c6e303e8905d1c07f6b7cdafa9cc02a511d7 | Java | chaijewon/2020-12-22-JavaStudy | /20210121-예외처리(간접처리)/src/com/sist/main/MainClass2.java | UHC | 1,782 | 2.90625 | 3 | [] | no_license | package com.sist.main;
/*
* ȸ : ýۿ ó => throws
* )
* ҵ(Ű..) throws Ǵ ....
*
* )
* public void display() throws NumberFormatException,NullPointerException,
* ClassCastException,Exception
* =======... | true |
295a2a5034b429138f6e8924a85d6f2b0c879f1b | Java | biaostats/CS-417-IntroCS | /Recusions/src/RecursionExample.java | UTF-8 | 920 | 3.875 | 4 | [] | no_license | public class RecursionExample {
public static int factorial(int n) {
System.out.println( "n is " + n );
if (n == 0) {
System.out.println( "0!=1" );
return 1;
}
else {
System.out.println( "need factorial of " + (n-1) );
int answ... | true |
c8c9569df48ceb28bf66bf04a44302a97d5cd911 | Java | moon70717/test | /exam/src/p15/Exam.java | UTF-8 | 182 | 2.21875 | 2 | [] | no_license | package p15;
public class Exam {
static String str="3";
public static void main(String[]args) {
Exam e=new Exam();
Exam.str="33";
System.out.println(str);
}
}
| true |
2ed0fb1c22a0b521216638ad90560d30e35c417c | Java | jairodealmeida/easy-gpa | /MobileCore/src/br/com/core/services/communicator/Communicator.java | ISO-8859-1 | 2,956 | 2.0625 | 2 | [] | no_license | package br.com.core.services.communicator;
import java.util.List;
import org.apache.http.params.BasicHttpParams;
import org.apache.http.params.HttpConnectionParams;
import org.apache.http.params.HttpParams;
import br.com.core.services.http.HttpClientImpl;
import br.com.core.session.Preferences;
import br.c... | true |
766c641aa23372031ab8c9f53027a9e00d8849a2 | Java | jonyeneho/635TRLProject | /TP_4_Onyeneho_Bicharge/tests/PatronTests.java | UTF-8 | 1,407 | 2.46875 | 2 | [] | no_license | import static org.junit.Assert.*;
import org.junit.Test;
public class PatronTests {
@Test
public void testPatronFound() {
String pid = "P102";
CopyPatronStore cpStore = new CopyPatronStore();
BorrowOutController outController = new BorrowOutController(cpStore);
Patron p = outController.ent... | true |
e55a7a2e3407e26a708a8b0ed4d522597bf707c1 | Java | qinxiaoyu123/OnJava8 | /On_java/src/exceptions/ExceptionSilencer.java | UTF-8 | 346 | 3.140625 | 3 | [] | no_license | package exceptions;
public class ExceptionSilencer {
public static void main(String []args){
try{
try{
throw new RuntimeException();
}finally {
return;
}
}
catch(RuntimeException e){
System.out.println("Caught i... | true |
8f6fc506bcb02476f472388bf5c6aea5e2e5e95f | Java | ralexandre11/restApiCpf | /src/main/java/com/ribeiro/restApiCpf/api/resource/PersonResource.java | UTF-8 | 2,881 | 2.40625 | 2 | [] | no_license | package com.ribeiro.restApiCpf.api.resource;
import java.util.List;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.a... | true |
f9b9abf9cb3a12e9e748601f18cd7dc6de952ed1 | Java | balavart/JavaTraining | /6.Collections/src/ru/epam/balayan/tasksolution6/service/fileio/StrListReverse.java | UTF-8 | 453 | 2.484375 | 2 | [] | no_license | package ru.epam.balayan.tasksolution6.service.fileio;
import java.util.ArrayList;
/**
* Interface for reverse list of strings.
*
* @author Vardan Balayan
* @version 1.8
* @created 15.09.2019
* @see SimpleStrListReverse implements
*/
public interface StrListReverse {
/**
* reverse strings.
*
* @para... | true |
bbd20376ae01745efc3c2d6a00d86d280a81cd23 | Java | k2v-dev/datalogger_android_app | /HelmetStability/app/src/main/java/com/decalthon/helmet/stability/Fragments/CalendarPagerFragment.java | UTF-8 | 15,001 | 2.03125 | 2 | [] | no_license | package com.decalthon.helmet.stability.fragments;
import android.content.Context;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
imp... | true |
e66692007aa7f5159a0bf685738df1781398724f | Java | DenisProkhorov/qa-automation-java | /app/src/main/java/com/tinkoff/edu/app/repository/DynamicLoanCalcRepository.java | UTF-8 | 483 | 2.4375 | 2 | [] | no_license | package com.tinkoff.edu.app.repository;
import com.tinkoff.edu.app.model.LoanRequest;
public class DynamicLoanCalcRepository implements LoanCalcRepository {
private int requestId;
public DynamicLoanCalcRepository(int requestId){
this.requestId=requestId;
}
public DynamicLoanCalcRepository(){... | true |
1eddc86b0d10a13802ac2e2fae853f88a8c590bf | Java | noceravictor/projetosbs | /fj21-agenda/src/br/com/caelum/mvc/logica/BuscaContatoLogic.java | UTF-8 | 709 | 2.21875 | 2 | [] | no_license | package br.com.caelum.mvc.logica;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import br.com.caelum.agenda.dao.ContatoDao;
import br.com.caelum.agenda.... | true |
761bf7ec3f213022bab1926530635c1c310cc170 | Java | maisamali/coinbase_decompile | /src/main/java/com/coinbase/android/deposits/fiat/WithdrawFiatPresenter$$Lambda$6.java | UTF-8 | 533 | 1.640625 | 2 | [] | no_license | package com.coinbase.android.deposits.fiat;
import android.util.Pair;
import rx.functions.Func1;
final /* synthetic */ class WithdrawFiatPresenter$$Lambda$6 implements Func1 {
private static final WithdrawFiatPresenter$$Lambda$6 instance = new WithdrawFiatPresenter$$Lambda$6();
private WithdrawFiatPresenter$... | true |
fc45f53f6f2a8db1fe0714430802e2b2ab5291d6 | Java | arraycto/dh_trade_manage | /dh_trade_manage_dao/src/main/java/com/giao/ssm/dao/ExportProductCDao.java | UTF-8 | 6,501 | 2.15625 | 2 | [] | no_license | package com.giao.ssm.dao;
import com.giao.ssm.domain.ExportProductC;
import org.apache.ibatis.annotations.*;
import org.apache.ibatis.mapping.FetchType;
import java.util.List;
/**
* @program: oracle-ssm
* @description
* @author: 影耀子(YingYew)
* @create: 2020-10-11 22:32
* 报运商品明细dao
**/
public interface ExportPr... | true |
f4d9317b1ded1cd79ba9c77f2c16e3ba6905ac05 | Java | Retera/WarsmashModEngine | /core/src/com/etheller/warsmash/viewer5/handlers/w3x/simulation/behaviors/CAbstractRangedBehavior.java | UTF-8 | 3,588 | 2.5 | 2 | [
"MIT",
"GPL-1.0-or-later"
] | permissive | package com.etheller.warsmash.viewer5.handlers.w3x.simulation.behaviors;
import com.etheller.warsmash.viewer5.handlers.w3x.simulation.CSimulation;
import com.etheller.warsmash.viewer5.handlers.w3x.simulation.CUnit;
import com.etheller.warsmash.viewer5.handlers.w3x.simulation.abilities.targeting.AbilityTarget;
public ... | true |
663d94f49819187233dd7aca4db884c690d8b326 | Java | allynanelia/IoT | /app/src/main/java/com/walkPark/walkinthepark/activities/SplashActivity.java | UTF-8 | 1,055 | 1.9375 | 2 | [] | no_license | package com.walkPark.walkinthepark.activities;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import com.walkPark.walkinthepark.R;
import com.walkPark.walkinthepark.WalkInTheParkGson;
import com.walkPark.walkinthepark.backend.RouteInterface;
import com.walkPark.walkinthepark.backe... | true |
6667956e8a0ac588bce8861056d7954312f44526 | Java | edubossa/gcloud-pubsub | /src/main/java/br/com/hdi/hdipubsub/PubsubController.java | UTF-8 | 530 | 1.773438 | 2 | [] | no_license | package br.com.hdi.hdipubsub;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/cloudp... | true |
7a1b22f90af979200d84aaf7c91a2af6bcf277a4 | Java | MedaniGunathilaka/Simple_Java_Codes | /Day 11/Calculation.java | UTF-8 | 604 | 3.125 | 3 | [] | no_license |
package calc;
import arithmeticCalculator.*;
import java.util.Scanner;
public class Calculation{
public static void main(String args[]){
Scanner scan=new Scanner(System.in);
System.out.print("Enter first number: ");
int num1 = scan.nextInt();
System.out.print("Enter second number: ... | true |
6a9be1eccd5808eef00b317355c2a16372d78f5f | Java | MarlinMatta/gamify | /src/main/java/edu/uapa/web/app/gamify/controllers/security/ParameterController.java | UTF-8 | 3,385 | 2.234375 | 2 | [] | no_license | package edu.uapa.web.app.gamify.controllers.security;
import edu.uapa.web.app.gamify.domains.securities.Parameter;
import edu.uapa.web.app.gamify.services.securities.ParameterService;
import edu.uapa.web.app.gamify.utils.Urls;
import edu.utesa.lib.models.dtos.security.ParamDto;
import org.springframework.data.domain.P... | true |
8e24c5a1ab3b942454be8b81832e303fcd0d3ada | Java | aoyongjx/mscloud | /cloudalibaba-consumer-nacos-order84/src/main/java/com/alen/springcloud/service/PaymentFallbackService.java | UTF-8 | 544 | 2.015625 | 2 | [] | no_license | package com.alen.springcloud.service;
import com.alen.springcloud.entities.CommonResult;
import com.alen.springcloud.entities.Payment;
import org.springframework.stereotype.Component;
/**
* @Description: $
* @Param: $
* @return: $
* @Author: alen.ao
* @date: $
*/
@Component
public class PaymentFallbackService i... | true |
eded8fb7473d2e3e2c9f6e550fbf28dff0fa15ce | Java | Senjoey/Express-Logistics-Information-System | /express-all-1-2-4/model/src/main/java/impl/financeImpl/PaymentFormServiceClientImpl.java | UTF-8 | 2,896 | 2.40625 | 2 | [] | no_license | package impl.financeImpl;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.text.SimpleDateFormat;
import java.util.ArrayList... | true |
d47455be0d8f0f807ef2db242dae42638d734930 | Java | Claudiocia/SmartEnem1 | /app/src/main/java/br/com/ciadeideias/smartenem/fragments/DisciplinasCardFragment.java | UTF-8 | 3,281 | 2.25 | 2 | [] | no_license | package br.com.ciadeideias.smartenem.fragments;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;
import java.util.List;
import androidx.annotation.NonNull;
import androidx.annota... | true |
c53cabe6f547bc2d49167b754459c50d9297af9c | Java | oudaykhaled/iot-pipe-root | /extra/EvalModule.java | UTF-8 | 3,200 | 2.265625 | 2 | [] | no_license | package org.hobbit.sdk.iotpipeline_bm.benchmark;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;
import org.apache.jena.rdf.model.Property;
import org.apache.jena.rdf.model.Resource;
import org.apache.jena.vocabulary.RDF;
import org.hobbit.core.components.AbstractEvaluationModule... | true |
0f87c22ef641fa01d6f57bde81b736596c8a9abe | Java | mixophrygian/Sedgewick-1.3 | /Taxi.java | UTF-8 | 527 | 3.578125 | 4 | [] | no_license | public class Taxi {
public static void main(String[] args) {
int n = Integer.parseInt(args[0]);
for(int count = 9; count <= n; count++){
int twice = 0;
for(int i = 1; i < count; i++){
double firstHalf = Math.pow(i, 3);
for(int j = i + 1; j < count; j++){
double secondHalf = Math.pow(j, 3... | true |
eeda6e1ecee9e7ac7482e0592e8d4def1009abfa | Java | reshi2998/Ordering-Pizza | /src/java/proyecto2/modelo/Extras.java | UTF-8 | 1,676 | 2.78125 | 3 | [] | no_license | package proyecto2.modelo;
import java.io.Serializable;
import org.json.JSONObject;
// Extras.java
//
// EIF209 - Programación 4 - Proyecto #2
// Junio 2020
//
// Autores:
// - 207950788 Sara Moraga Alfaro
// - 116980485 Scarleth Villarreal Jímenez
// - 117250099 Josué Víquez Campos
public class... | true |
a3f3b4a44268b8dfa916133aae4218d52cb90a40 | Java | shiprakumari/JDBC_projects | /New folder/11-Assignment3/src/com/capgemini/ui/FeeDetails.java | UTF-8 | 1,111 | 2.328125 | 2 | [] | no_license | package com.capgemini.ui;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToOne;
@Entity
public class FeeDetails {
@Id
@Column(name="Fee_ID")
@Gene... | true |
6768c0f259547ca213738dba1c4304643ffe5d48 | Java | jwc318/CSE2 | /lab12/ArrayMath.java | UTF-8 | 2,497 | 3.28125 | 3 | [] | no_license | //Joey Carney
//11/12/14
//lab12--ArrayMath
public class ArrayMath{
public static void main(String [] arg){
double x[]={2.3, 3, 4, -2.1, 82, 23},
y[]={2.3, 3, 4, -2.1, 82, 23},
z[]={2.3, 13, 14},
w[]={2.3, 13, 14, 12},
v[],
u[]={2.3, 12, 14};
v=addArrays(x,y);
System.out.pr... | true |
ab97dfb56c7d4ebc2bb14208de4a15b9a4927fb2 | Java | guoshengli/car-friend | /src/main/java/com/friend/rest/dao/InterestDao.java | UTF-8 | 225 | 1.625 | 2 | [] | no_license | package com.friend.rest.dao;
import java.util.List;
import com.friend.rest.model.Interest;
public interface InterestDao extends BaseDao<Interest, Long> {
public List<Interest> getInterestListBySequence();
}
| true |
6686ef50bff67fd38b9e461c2c35affd9c8579ff | Java | jjfiv/coop | /src/main/java/edu/umass/cs/jfoley/coop/index/corpus/AbstractCorpusReader.java | UTF-8 | 2,424 | 2.703125 | 3 | [
"BSD-3-Clause"
] | permissive | package edu.umass.cs.jfoley.coop.index.corpus;
import ciir.jfoley.chai.collections.Pair;
import ciir.jfoley.chai.collections.util.ListFns;
import ciir.jfoley.chai.fn.SinkFn;
import edu.umass.cs.jfoley.coop.querying.TermSlice;
import java.io.Closeable;
import java.io.IOException;
import java.util.ArrayList;
import jav... | true |
1005ec736ce22bea876a25969bfdf95d5280c556 | Java | LoweKumar/Demo-Repo | /composition/src/composition/laptop/components/Processors.java | UTF-8 | 560 | 2.453125 | 2 | [] | no_license | package composition.laptop.components;
public class Processors {
private String brands;
private String series;
public Processors() {
this.brands="HP";
this.series="7th series";
}
public Processors(String brands, String series) {
//super();
this.brands = brands;
this.series = ... | true |
c9869e1e892c302c6507a16c8a82c4e527f3a6c5 | Java | flipkart-incubator/arts | /component-testing-core/src/main/java/com/flipkart/component/testing/HttpTestOrchestrator.java | UTF-8 | 2,597 | 2.53125 | 3 | [
"Apache-2.0"
] | permissive | package com.flipkart.component.testing;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.flipkart.component.testing.model.Observation;
import com.flipkart.component.testing.model.TestSpecification;
import java.util.List;
/**
* Single entry point for the test writer to orchestrate the test set up
* an... | true |
922415ff226fa4005468514ad2da0f4f010e1e77 | Java | sunxuia/spring-security-demo | /c1-method-annotation/src/main/java/net.sunxu.study.c1/AuthorizeController.java | UTF-8 | 8,449 | 2.53125 | 3 | [] | no_license | package net.sunxu.study.c1;
import net.sunxu.study.c0.CustomUserDetails;
import org.springframework.security.access.prepost.PostAuthorize;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMa... | true |
90b63e9f8d136d64b7b60791975c108fc9ade357 | Java | Hrzug585/HouseHunter | /api/src/main/java/com/example/HouseHunter/model/Home.java | UTF-8 | 506 | 2.171875 | 2 | [
"MIT"
] | permissive | package com.example.HouseHunter.model;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.elasticsearch.annotations.Document;
@Getter
@Setter
@Document(indexName = "house")
public class Home {
private Long id;
private String url;
public Long getId() {
return id;
}
... | true |
4fe18e0af0384a53e4b6ffef4e1acda90eeaa953 | Java | jasonlee529/spring-cloud-demo | /spring-core/src/main/java/cn/hebut/lee/spring/core/bean/SlayDragonQuest.java | UTF-8 | 175 | 1.992188 | 2 | [
"Apache-2.0"
] | permissive | package cn.hebut.lee.spring.core.bean;
public class SlayDragonQuest implements Quest {
public void embark() {
System.out.println(" Any Knight is embarking !!!");
}
}
| true |
555428b367d553567d552b57051c046cf6f6f00e | Java | GheorgheCazacu/PAO | /Laborator-02/src/com/fmi/lab2/animals/Cat.java | UTF-8 | 884 | 3.515625 | 4 | [
"MIT"
] | permissive | package com.fmi.lab2.animals;
import java.util.Arrays;
import java.util.*;
public class Cat {
protected boolean shortHair;
private Integer size; // possible values 1, 2, 3 => small, medium, big - enum in the future
Integer propDefault;
public void meow() {
System.out.println("cat - meow"... | true |
0cf235387010e31bcb3220b27ea76839b097a416 | Java | GitHubAlexKir/GSO3-AEXBanner | /src/shared/IListener.java | UTF-8 | 181 | 1.796875 | 2 | [] | no_license | package shared;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface IListener extends Remote {
void setKoersen(String fondsen) throws RemoteException;
}
| true |
6f4e0b9a19ea70148e76c7c3c818e56ac91773ba | Java | Gagandeep39/spring-boot-reddit | /src/main/java/com/gagan/redditclone/mapper/SubredditMapper.java | UTF-8 | 890 | 2.390625 | 2 | [] | no_license | package com.gagan.redditclone.mapper;
import java.util.List;
import com.gagan.redditclone.dto.SubredditDto;
import com.gagan.redditclone.model.Post;
import com.gagan.redditclone.model.Subreddit;
import org.mapstruct.InheritInverseConfiguration;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
@Mapper(comp... | true |
01039cdbde9beb83f294ae53dd5e27bcd21e7a31 | Java | wengyinbing/ChatRoom | /src/main/java/BIO/Server/ChatHandler.java | UTF-8 | 1,438 | 3.171875 | 3 | [] | no_license | package BIO.Server;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.Socket;
/**
* @author wengyinbing
* @data 2021/6/22 21:56
**/
public class ChatHandler implements Runnable{
private ChatServer server;
private Socket socket;
public ChatHand... | true |
6b55f35d27589a928b26dfff2eb7007d81bd9a02 | Java | ma1uta/mxtoot | /src/main/java/io/github/ma1uta/mxtoot/matrix/command/FetchStatuses.java | UTF-8 | 2,145 | 1.835938 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright sablintolya@gmail.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 applicable law or agree... | true |
9bed2068319995467b8052329371a1b874dadae8 | Java | BearTiny/UPnP-DLNA-Demo | /app/src/main/java/com/iss/upnptest/server/medialserver/entity/ImageItem.java | UTF-8 | 3,464 | 2.203125 | 2 | [] | no_license | package com.iss.upnptest.server.medialserver.entity;
import java.util.Arrays;
import java.util.List;
import org.fourthline.cling.support.model.DIDLObject.Property.DC;
import org.fourthline.cling.support.model.DIDLObject.Property.UPNP;
import org.fourthline.cling.support.model.Person;
import org.fourthline.cling.suppor... | true |
d471aeebf214e029826f3b67dae981e7e42c5efb | Java | benpilcher/TE-Exercises | /1 - Pair Exercise, Week 3/src/test/java/com/techelevator/hr/EmployeeTests.java | UTF-8 | 2,503 | 3.53125 | 4 | [] | no_license | package com.techelevator.hr;
import org.junit.Test;
import java.util.HashMap;
import java.util.Map;
import static org.junit.Assert.assertEquals;
public class EmployeeTests {
@Test
public void getFullNameReturnsCorrectFormat() {
Employee employee = new Employee("Test", "Testerson");
String f... | true |
80f18a0d14451680878b6d58b42c6c9b304eaedb | Java | sebaudracco/bubble | /com/elephant/data/p037d/p038b/C1751h.java | UTF-8 | 316 | 1.703125 | 2 | [] | no_license | package com.elephant.data.p037d.p038b;
import android.content.Context;
import android.os.Handler.Callback;
import android.os.Message;
public final class C1751h implements Callback {
public C1751h(Context context) {
}
public final boolean handleMessage(Message message) {
return false;
}
}
| true |
87958d1d455262bad164741bc62fff4ae3a797ae | Java | JianpingZeng/clank | /modules/org.llvm.adtsupport/src/org/llvm/adt/iplist.java | UTF-8 | 55,574 | 1.765625 | 2 | [] | no_license | /**
* This file was converted to Java from the original LLVM source file. The original
* source file follows the LLVM Release License, outlined below.
*
* ==============================================================================
* LLVM Release License
* ======================================================... | true |
9041e84e19cdee2d565647a3f865199cf2a686c4 | Java | openanthem-admin/prev-nimbus-core | /nimbus-test/src/main/java/com/antheminc/oss/nimbus/test/domain/support/utils/ParamUtils.java | UTF-8 | 5,302 | 2.25 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /**
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | true |
993d8c0b12743038b2e7bca218ae2384fbfb7289 | Java | vran-dev/PrettyZoo | /app/gen/main/java/cc/cc1234/antlr4/properties/PropertiesParser.java | UTF-8 | 12,806 | 1.757813 | 2 | [
"Apache-2.0"
] | permissive | package cc.cc1234.antlr4.properties;// Generated from ..\resources\grammars\Properties.g4 by ANTLR 4.9
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.tree.*;
import java.util.List;
@SuppressWarnings({"all", "warnings", "unchecked", "un... | true |
a2f93cf31fed9fbc69172fdda36708d07705a77d | Java | amymaries/C195AmySaunders | /src/Model/First_Level_Division.java | UTF-8 | 1,158 | 3.09375 | 3 | [] | no_license | package Model;
/**
* @author ASaunders
*/
import java.sql.Timestamp;
import java.time.LocalDateTime;
/**
* This class models state/province (first-level-division) objects from the DB.
*/
public class First_Level_Division {
private int divisionID;
private String division;
private LocalDateTime create... | true |
e8750559219e79d720312b314f15ea4afdfeb63c | Java | frle10/java-course-homeworks | /hw10-0036506288/src/main/java/hr/fer/zemris/java/gui/layouts/package-info.java | UTF-8 | 261 | 1.898438 | 2 | [] | no_license | /**
* This package contains classes that together implement a custom
* layout manager for Java Swing GUI. This layout manager will be
* used to implement a calculator with GUI for problem 2 of the
* 10th homework.
*/
package hr.fer.zemris.java.gui.layouts; | true |
3ed145c4418ef6a8c0691936df3ba1d9ebe6a735 | Java | AlexMalei/MPP.Java.SchoolJournal | /server/src/main/java/school/journal/repository/specification/subject/SubjectSpecification.java | UTF-8 | 237 | 1.632813 | 2 | [] | no_license | package school.journal.repository.specification.subject;
import school.journal.entity.Subject;
import school.journal.repository.specification.Specification;
public abstract class SubjectSpecification extends Specification<Subject> {
}
| true |
89e04ea0e50af154d7a22090737d42e12fdbf2d6 | Java | Cesaramello/progmobile-android | /app/src/main/java/com/example/progmobile_android/model/dao/UserDAO.java | UTF-8 | 5,299 | 2.28125 | 2 | [] | no_license | package com.example.progmobile_android.model.dao;
import android.content.Context;
import android.util.Log;
import com.android.volley.AuthFailureError;
import com.android.volley.Request;
import com.android.volley.toolbox.StringRequest;
import com.example.progmobile_android.model.entity.CreateError;
import com.example.... | true |
96d9f158b87192ba7f12ea64c3203872fb7d5348 | Java | dlxotn216/demo-ojt-api | /src/test/java/ojt/crscube/board/interfaces/dto/BoardDtoTest.java | UTF-8 | 705 | 2.28125 | 2 | [] | no_license | package ojt.crscube.board.interfaces.dto;
import org.junit.Test;
import java.lang.reflect.Constructor;
import java.time.LocalDate;
/**
* Created by Lee Tae Su on 2019-04-25.
*/
public class BoardDtoTest {
@Test
public void 생성자_테스트() throws Exception {
for (Constructor<?> constructor : BoardDto.cl... | true |