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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
e3c666d5aab4255b6b76fa9a5172f4d85ab70563 | Java | talfassy/9months-app | /src/main/java/com/first/a9monthsproject/personalInformation.java | UTF-8 | 4,295 | 2.171875 | 2 | [] | no_license | package com.first.a9monthsproject;
import android.os.Bundle;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.FirebaseUser;
import com.google.firebase.database.DataSnapsho... | true |
5d44a88e0d120c5fd872c9dbaa403d016b1e1aa4 | Java | AnDrOiD73dd/geekstagram | /app/src/main/java/ru/android73/geekstagram/mvp/presentation/presenter/SettingsPresenter.java | UTF-8 | 1,225 | 2.203125 | 2 | [
"Apache-2.0"
] | permissive | package ru.android73.geekstagram.mvp.presentation.presenter;
import android.annotation.SuppressLint;
import com.arellomobile.mvp.InjectViewState;
import com.arellomobile.mvp.MvpPresenter;
import io.reactivex.Scheduler;
import io.reactivex.schedulers.Schedulers;
import ru.android73.geekstagram.log.Logger;
import ru.... | true |
804989f2480c44c2cffb42a0a444f538cffeb206 | Java | ArthurFRamos/InterviewPreparation | /CoderCareer/No 56 - Maximal Value of Gifts.java | UTF-8 | 697 | 3.390625 | 3 | [] | no_license |
public class Gifts {
private int[][] gifts;
public Gifts(int[][] matrix)
{
gifts = new int[matrix.length + 1][matrix[0].length + 1];
for(int i = 1; i < gifts.length; i++)
for(int j = 1; j < gifts[0].length; j++)
gifts[i][j] = matrix[i-1][j-1];
}
public int maxGifts()
{
for(int ... | true |
ec551539657f61726a3f1b3daa133f01e9212b63 | Java | TO-DO-WIN/MixMev2 | /app/src/main/java/com/to_do_win/mixme_v2/UI/ShoppingRecyclerViewAdapter.java | UTF-8 | 6,422 | 2.40625 | 2 | [] | no_license | package com.to_do_win.mixme_v2.UI;
import android.content.ClipData;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.wid... | true |
b6a83ff7f77a414f31307e4a67b283ceed3206f1 | Java | thevpc/nuts | /core/nuts-runtime/src/main/java/net/thevpc/nuts/runtime/standalone/dependency/filter/NDependencyFilterTrue.java | UTF-8 | 982 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | package net.thevpc.nuts.runtime.standalone.dependency.filter;
import net.thevpc.nuts.*;
import net.thevpc.nuts.util.NFilterOp;
public final class NDependencyFilterTrue extends AbstractDependencyFilter{
public NDependencyFilterTrue(NSession session) {
super(session, NFilterOp.TRUE);
}
@Override
... | true |
5aa9e807489e112807945eb25cd1540015871d94 | Java | ravikumar-dev1/test | /src/accesscontrol1/AnotherClass.java | UTF-8 | 400 | 2.828125 | 3 | [] | no_license | package accesscontrol1;
public class AnotherClass {
public static void main(String[] args) {
// TODO Auto-generated method stub
AccessControlDemo obj = new AccessControlDemo();
obj.setName("A");
System.out.println("value is : "+obj.getName());
System.out.println("account no is: "+obj.accountNo);
//obj.pr... | true |
16a72e934eb96a5c580c48155d6298bde4cc6166 | Java | abiquo/abiquo | /model/src/main/java/com/abiquo/model/validation/Hypervisor.java | UTF-8 | 3,175 | 2.03125 | 2 | [] | no_license | /**
* Abiquo community edition
* cloud management application for hybrid clouds
* Copyright (C) 2008-2010 - Abiquo Holdings S.L.
*
* This application is free software; you can redistribute it and/or
* modify it under the terms of the GNU LESSER GENERAL PUBLIC
* LICENSE as published by the Free Software Foundatio... | true |
91f913320cdc99876e3df7ce0d22ad76b8081dd5 | Java | anphoenix/demo_nlp_im | /src/main/java/nlp/topicmodel/plsa/PLSATest.java | UTF-8 | 988 | 2.59375 | 3 | [
"Apache-2.0"
] | permissive | package nlp.topicmodel.plsa;
import java.io.IOException;
import nlp.common.model.Documents;
import nlp.topicmodel.Config;
public class PLSATest {
public static void main(String[] args) throws IOException {
Documents docSet = new Documents();
System.out.println("0 Read Docs ...");
String paramet... | true |
086d50a58a4aa4f9041f29da0ffd556fb495b364 | Java | QuBo-Delft/QuBo | /client/src/test/java/nl/tudelft/oopp/qubo/controllers/QuBoDetailsControllerStuTest.java | UTF-8 | 3,413 | 2.4375 | 2 | [] | no_license | package nl.tudelft.oopp.qubo.controllers;
import javafx.stage.Stage;
import nl.tudelft.oopp.qubo.dtos.questionboard.QuestionBoardDetailsDto;
import nl.tudelft.oopp.qubo.sceneloader.SceneLoader;
import org.junit.jupiter.api.Test;
import org.testfx.api.FxAssert;
import org.testfx.api.FxRobot;
import org.testfx.framework... | true |
ad7a745a6ca522107ec8144e8e8a32be8c8ef596 | Java | micelle-bookmark/micelle-server-java | /src/main/java/xin/soren/micelle/common/api/ApiResponse.java | UTF-8 | 332 | 2.28125 | 2 | [] | no_license | package xin.soren.micelle.common.api;
import lombok.Data;
@Data
public class ApiResponse {
private long errorCode = 0;
private String message = "OK";
private Object data = null;
public ApiResponse(long errorCode, String message, Object data) {
this.errorCode = errorCode;
this.message = message;
this.data =... | true |
29492eb46744e8b81bdc0cb2d4ab054627dd5ee6 | Java | mukarramali/Boxing | /app/src/main/java/prashushi/boxing/DBHelper.java | UTF-8 | 5,414 | 2.421875 | 2 | [] | no_license | package prashushi.boxing;
/**
* Created by Dell User on 9/13/2016.
*/
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Hashtable;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import ... | true |
d0b3b813d9d61bd0b229d7a78e95fda51473efb7 | Java | jiucongtian/lh_u5 | /src/com/longhuapuxin/entity/ResponseShop.java | UTF-8 | 3,131 | 1.859375 | 2 | [] | no_license | package com.longhuapuxin.entity;
import java.util.List;
import com.longhuapuxin.db.bean.BounsSetting;
import com.longhuapuxin.db.bean.DiscountTicket;
public class ResponseShop extends ResponseDad {
private Shop Shop;
public Shop getShop() {
return Shop;
}
public void setShop(Shop shop) {
this.Shop = shop;
... | true |
2076df8aff9e28b0194e57a00f381abf576a85e0 | Java | thiagofrohlich/TCC-2014 | /tcc-ufpr-domain/src/main/java/br/ufpr/domain/Aluno.java | UTF-8 | 2,818 | 2.078125 | 2 | [] | no_license | package br.ufpr.domain;
import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import java.util.List;
/**
* The persistent class for the aluno database table.
*
*/
@Entity
@NamedQuery(name="Aluno.findAll", query="SELECT a FROM Aluno a")
public class Aluno implements Serializable, Domai... | true |
9bb42e0845268a961ae603960afb55f1a78d312a | Java | srijithManeshkumar/ExpressApp | /express/WEB-INF/classes/com/alltel/lsr/common/objects/ExpressSISConstants.java | UTF-8 | 3,629 | 1.679688 | 2 | [] | no_license | package com.alltel.lsr.common.objects;
public interface ExpressSISConstants
{
public static final String XML_HEADER = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n";
public static final String SIS_DOMAIN = "";
public static final String SIS_POST_ORDER_SCRIPT = "";
public static final String SIS_PORT = "";
... | true |
c3955c21af88a7353d39059184d47c8d027f7f88 | Java | LinTianxinag/loan-merket | /loan-market1130/src/main/java/com/fuhui/controller/ManplatController.java | UTF-8 | 5,086 | 1.96875 | 2 | [] | no_license | package com.fuhui.controller;
import com.alibaba.fastjson.JSONObject;
import com.fuhui.common.entity.QueryCondition;
import com.fuhui.common.util.Constants;
import com.fuhui.common.util.RedisUtil;
import com.fuhui.mybatis.generator.model.Platform;
import com.fuhui.service.ManPlaService;
import org.springframew... | true |
c4a5ab5e53f53cd127f3e6deeaac676bb834650c | Java | GreatLyb/ASCustomView | /app/src/main/java/com/lyb/customview/ui/RadarActivity.java | UTF-8 | 1,716 | 2.171875 | 2 | [] | no_license | package com.lyb.customview.ui;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.util.Log;
import android.view.View;
import com.lyb.customview.R;
import com.lyb.customview.RadarView.RadarView;
import androidx.appcompat.app.AppCompatActivity;
public class RadarActivity extends AppCompatActiv... | true |
0cd8df4a177c383bb5781c3186e422d26e1c2639 | Java | aliyun/aliyun-openapi-java-sdk | /aliyun-java-sdk-edas/src/main/java/com/aliyuncs/edas/transform/v20170801/ListBuildPackResponseUnmarshaller.java | UTF-8 | 3,832 | 1.578125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | true |
30efe7b7dcd9b2a2d06f4c63f6e8d54393154c7a | Java | sixiaoyou/LeetCode-Java | /src/main/source_code/sourcecode_2023/May/LeetCode1122_RelativeSortArray.java | UTF-8 | 2,176 | 3.65625 | 4 | [] | no_license | /*
[1122. Relative Sort Array]
Given two arrays arr1 and arr2, the elements of arr2 are distinct, and all elements in arr2 are also in arr1.
Sort the elements of arr1 such that the relative ordering of items in arr1 are the same as in arr2. Elements that do not appear in arr2 should be placed at the end of arr1 in asc... | true |
72d371bdf1952306625301cecf788ed10d8e3214 | Java | chern007/JAXB_XML | /src/ad02_ejer01/AD02_Ejer01.java | UTF-8 | 7,723 | 2.78125 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ad02_ejer01;
import generated.Alumnos;
import generated.CursoType;
import java.io.BufferedReader;
import java.io.Fil... | true |
eb7f3c54f27de9d1f7d77756467f99d81e0883d8 | Java | Whyu2/PCS_UASS_0550 | /app/src/main/java/com/example/UAS_PCS_0550/Favorite.java | UTF-8 | 1,012 | 2.109375 | 2 | [] | no_license | package com.example.UAS_PCS_0550;
public class Favorite {
public String getIdMatch() {
return idMatch;
}
public void setIdMatch(String idMatch) {
this.idMatch = idMatch;
}
public String getMatch() {
return match;
}
public void setMatch(String match) {
thi... | true |
c79bfb7869f8152e00fb43cf04d2f63bc8f42265 | Java | hypoalien/Bunkmate-android | /app/src/main/java/com/hypoalien/bunkmate/AdapterTodayAttendance.java | UTF-8 | 1,774 | 2.46875 | 2 | [] | no_license | package com.hypoalien.bunkmate;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ProgressBar;
import android.widget.TextView;
import java.util.ArrayList;
import androidx.annotation.NonNull;
import androidx.recyclerview.... | true |
e41e98cf7ba238fd550ddbe642503ae93d4b3663 | Java | Usaghir/Java | /Starting Out with Java/Project1/4. Positive and Nagative/src/exercise4/Exercise4.java | UTF-8 | 2,758 | 3.953125 | 4 | [] | no_license | package exercise4;
import java.util.Scanner; // need for the print the output on console
/**
*
* @author Raja Umer Saghir
*/
public class Exercise4 // for class declaration.
{
public static void main(String[] args) // for main method declaration.
{
double numb1, numb2, numb3, numb4,... | true |
9ec9de01c6babe5ed1b6a022c07f75482d7aa91b | Java | vieira-alexandre/cursos-alura | /4.2-kafka/common-kafka/src/main/java/br/com/alura/kafka/KafkaDispatcher.java | UTF-8 | 1,825 | 2.609375 | 3 | [] | no_license | package br.com.alura.kafka;
import org.apache.kafka.clients.producer.Callback;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerConfig;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.apache.kafka.common.serialization.StringSerializer;
import... | true |
f0c6d715fd8773ab1653bd1f1529bce2b40c30fc | Java | pheonize/HappyTalk-Release-1.1- | /app/src/main/java/oVANILLAz/happytalk/ItemDetail.java | UTF-8 | 2,889 | 2.4375 | 2 | [] | no_license | package oVANILLAz.happytalk;
import java.io.Serializable;
import java.util.ArrayList;
/**
* Created by oVANILLAz on 6/6/14 AD.
*/
public class ItemDetail implements Serializable {
private long id;
private int imgSound;
private int imgFavorite ;
private String wordEN;
private String wordTH;
p... | true |
1f2b669dc60e71246ba7d94fc2478b27d4d91f5a | Java | lenka123123/jy | /app/src/main/java/sinia/com/baihangeducation/mine/presenter/BindingPhonePresenter.java | UTF-8 | 7,091 | 1.75 | 2 | [] | no_license | package sinia.com.baihangeducation.mine.presenter;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.AsyncTask;
import android.util.Log;
import com.example.framwork.base.BasePresenter;
import com.example.framwork.noHttp.Bean.BaseResponseBean;
import ... | true |
61144b8839b7764eec10447cdf779a635c2a101e | Java | ShubhangiLad/Ranga | /Core Java/src/SingletonEagerLoading.java | UTF-8 | 357 | 2.859375 | 3 | [] | no_license | class SingletonEager{
private static SingletonEager s = new SingletonEager();
private SingletonEager() {};
public static SingletonEager getInstance() {
return s;
}
}
public class SingletonEagerLoading {
public static void main(String[] args) {
SingletonEager.getInstance();
System.out.println("Sin... | true |
5eaa2f6f97fc1502d2ab7be90456d91419e9ba8a | Java | saber13812002/DeepCRM | /Code Snippet Repository/Spring/Spring12322.java | UTF-8 | 532 | 2.03125 | 2 | [] | no_license | @Override
public ResourceBundle getResourceBundle() {
HttpSession session = this.request.getSession(false);
if (session != null) {
Object lcObject = Config.get(session, Config.FMT_LOCALIZATION_CONTEXT);
if (lcObject instanceof LocalizationContext) {
ResourceBundle lcBundle = ((LocalizationContext... | true |
eecf353b2f9722ccc402f0ddfa372f6349dcd03a | Java | cckmit/kmsp | /src/main/java/com/yonyou/kms/modules/cms/entity/ArticleData.java | UTF-8 | 2,744 | 2.03125 | 2 | [] | no_license | /**
*
*/
package com.yonyou.kms.modules.cms.entity;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
import com.yonyou.kms.common.config.Global;
import com.yonyou.kms.common.persistence.DataEntity;
/**
* 文章Entity
* @author hotsum
* @version 2013-01-15
*/
... | true |
bfa4d7c809071cdeb3cd65e4350a76d6e9fc1d0e | Java | aquaauto/microrepo | /customer/src/main/java/com/demo/customer/CustomerConfig.java | UTF-8 | 348 | 1.90625 | 2 | [] | no_license | package com.demo.customer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.fasterxml.jackson.annotation.ObjectIdGenerators.UUIDGenerator;
@Configuration
public class CustomerConfig {
@Bean
public UUIDGenerator getUUIDGenerator() {
retur... | true |
8e911ab273c210f8f8d533b3154c1d572f278c99 | Java | hamzatz/QuizApp-GT-3 | /app/src/main/java/com/geektech/quizapp_gt_3/settings/SettingsFragment.java | UTF-8 | 568 | 1.960938 | 2 | [] | no_license | package com.geektech.quizapp_gt_3.settings;
import android.view.View;
import androidx.fragment.app.Fragment;
import com.geektech.quizapp_gt_3.R;
import com.geektech.quizapp_gt_3.core.CoreFragment;
/**
* A simple {@link Fragment} subclass.
*/
public class SettingsFragment extends CoreFragment {
public st... | true |
1fc50af33427b8c3c59be8133fefe7917171f717 | Java | Yukaor/Eformation | /app/src/main/java/com/eformation/eformation/FormationAdapter.java | UTF-8 | 1,590 | 2.515625 | 3 | [] | no_license | package com.eformation.eformation;
import android.content.Context;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.view.*;
import android.widget.TextView;
import java.util.List;
public class FormationAdapter extends ArrayAdapter<Formation> {
Context context;
public For... | true |
04857c763d99c4b7266dea7127d5208fc98760ad | Java | karolh95/classic-models | /src/main/java/karolh95/classicmodels/exceptions/ProductNotFoundException.java | UTF-8 | 441 | 2.34375 | 2 | [] | no_license | package karolh95.classicmodels.exceptions;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(code = HttpStatus.NOT_FOUND, reason = ProductNotFoundException.MESSAGE)
public class ProductNotFoundException extends RuntimeException {
public sta... | true |
a675547449796178edca86c4d8998f5d0996017e | Java | yongjacky/lotteryDNA | /src/com/borneo/lotteryDna/entity/SportsToto4dDraw.java | UTF-8 | 2,655 | 2.28125 | 2 | [
"Apache-2.0"
] | permissive | package com.borneo.lotteryDna.entity;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import org.apache.commons.lang.builder.EqualsBu... | true |
c70ef842068f860f90c8b640ee050c7ca1e3dcf7 | Java | Simar13/Online-Banking-System-6260 | /src/Controller/AdminCreateUpdate.java | UTF-8 | 3,843 | 2.28125 | 2 | [] | no_license | package Controller;
import java.io.IOException;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.se... | true |
5e22d8d27c630d8c3e5f59f7b345262a44c77e46 | Java | MutatedOrange/FirstPlugin | /NightDayGUI.java | WINDOWS-1250 | 1,635 | 2.703125 | 3 | [] | no_license | package me.MutatedOrange.FirstPlugin.commands;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.inventory.InventoryClickEvent;
import org.bukkit.inventory.Inventory;
import org.bukkit.i... | true |
5a8fefebc83bf50648b864f1e28fa435e6df84df | Java | sidi44/project-orion | /Code/ui/MainMenuScreen.java | UTF-8 | 4,363 | 2.859375 | 3 | [] | no_license | package ui;
import com.badlogic.gdx.graphics.Camera;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.ui.Button;
import com.badlogic.gdx.scenes.scene2d.ui.HorizontalGroup;
import com.badl... | true |
9afd4388f6f6fb9d82d74bec0b25a001a73778e1 | Java | chenguoku/AllWorkSpace | /designMode/工厂模式/MyProject/src/com/hh/factorymethod/JavaCourseFactory.java | UTF-8 | 400 | 2.34375 | 2 | [] | no_license | package com.hh.factorymethod;
import com.hh.simplefactory.ICourse;
import com.hh.simplefactory.JavaCourse;
/**
* @author chenguoku
* @version 1.0.0
* @ClassName JavaCourseFactory.java
* @Description TODO
* @createTime 2019年11月15日 00:41:00
*/
public class JavaCourseFactory implements ICourseFactory {
@Overri... | true |
d231aa023b2eacfcade0324316b87725dcd07e8f | Java | solarwrath/unischedule | /src/main/java/com/sunforge/App.java | UTF-8 | 676 | 2.125 | 2 | [] | no_license | package com.sunforge;
import org.telegram.telegrambots.ApiContextInitializer;
import org.telegram.telegrambots.meta.TelegramBotsApi;
import org.telegram.telegrambots.meta.exceptions.TelegramApiException;
import org.telegram.telegrambots.meta.generics.LongPollingBot;
public class App{
public static void main( Stri... | true |
874e5832ab893cc4bbb4f286d3396525d96eb04b | Java | rajeshja/seam2-test | /src/org/jboss/seam/example/booking/Simple.java | UTF-8 | 1,168 | 2.359375 | 2 | [] | no_license | //$Id: Hotel.java 5579 2007-06-27 00:06:49Z gavin $
package org.jboss.seam.example.booking;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import org.hibernate.validator.... | true |
07e781da71b4af5044f15336dabd96b107d44249 | Java | dstl/baleen | /baleen-annotators/src/test/java/uk/gov/dstl/baleen/annotators/regex/LatLonDDTest.java | UTF-8 | 11,735 | 2.1875 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-public-domain",
"PDDL-1.0",
"ODbL-1.0",
"LicenseRef-scancode-dbcl-1.0"
] | permissive | // Dstl (c) Crown Copyright 2017
package uk.gov.dstl.baleen.annotators.regex;
import static org.junit.Assert.assertEquals;
import org.apache.uima.fit.util.JCasUtil;
import org.junit.Test;
import uk.gov.dstl.baleen.annotators.testing.AbstractAnnotatorTest;
import uk.gov.dstl.baleen.annotators.testing.types.TestCoordi... | true |
a90197bee7fddbfe79f394b440986beca2343a7e | Java | nbamsu/Cucumber-class | /src/test/java/Utils/ExcelUtils.java | UTF-8 | 4,775 | 3.09375 | 3 | [] | no_license | package Utils;
import org.apache.poi.EncryptedDocumentException;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.ss.usermodel.*;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import java.io.*;
public class ExcelUtils {
private static Workbook excelBook;
private ... | true |
c4537b1ba60b50d9bbb79830f57d51883b68f70c | Java | Rafaelvima/primerLogin | /Rafa_baseDatos - copia/src/main/java/dao/AlumnosDAO.java | UTF-8 | 3,978 | 2.421875 | 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 dao;
import model.Alumno;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.HashMap;
impor... | true |
811a245f57372536b38097c783962671b9bc3989 | Java | chengalsms/gradle_exs | /POC - QueryDSL/src/main/java/com/esko/webcenter/query/generated/QWCReportQDB.java | UTF-8 | 7,239 | 1.632813 | 2 | [] | no_license | package com.esko.webcenter.query.generated;
import static com.querydsl.core.types.PathMetadataFactory.*;
import com.querydsl.core.types.dsl.*;
import com.querydsl.core.types.PathMetadata;
import javax.annotation.Generated;
import com.querydsl.core.types.Path;
import com.querydsl.sql.ColumnMetadata;
import java.sql.... | true |
865da6d47d44fda26f9e3aa83bc7ca93eb3ae95c | Java | cesarmasaharu/camelt | /src/main/java/camelt/camelt/Camel.java | UTF-8 | 735 | 2.4375 | 2 | [
"Apache-2.0"
] | permissive | package camelt.camelt;
import org.apache.camel.CamelContext;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.impl.DefaultCamelContext;
public class Camel {
public static void main(String args[]) {
try {
CamelContext context = new DefaultCamelContext();
context.addRoutes(new RouteBuilde... | true |
292fae8119231a0bda84bf7e157d2e5588a46cfb | Java | a124fr/SistemaSalaoDeBelezaGarden | /src/java/model/MenuDAO.java | UTF-8 | 2,482 | 2.890625 | 3 | [] | no_license | package model;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
public class MenuDAO extends DataBaseDAO {
public ArrayList<Menu> listar() throws Exception {
ArrayList<Menu> menus = new ArrayList<Menu>();
String sql = "SELECT * FROM menu";
this.co... | true |
0192748377f6afb5bfd69c53937b1f4fa5b95bfa | Java | SerdarAnnakurdov/myAllFilesCybertek | /src/day43_Inheritance/CarTask/CarMax.java | UTF-8 | 662 | 2.90625 | 3 | [] | no_license | package day43_Inheritance.CarTask;
public class CarMax {
public static void main(String[] args) {
Toyota toyota = new Toyota("Camry","Blue",2019,23500,10000);
BMW bmw = new BMW("X5","RED",2018,15000,5000);
System.out.println(toyota);
System.out.println(bmw);
// System.out... | true |
6c3db6e55d89f47e5f751684e785c95136c6f396 | Java | meghalseu/Class-10 | /src/framework/skeleton/TestRunner.java | UTF-8 | 861 | 2.59375 | 3 | [] | no_license | package framework.skeleton;
import java.util.ArrayList;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
public class TestRunner {
public static WebDriver getdriver(String br... | true |
978619e1f38ccb4ea52a9b3ba91add8b99224812 | Java | virgil-rouquettecampredon/PROJET-TERL3 | /src/main/java/org/example/model/Regles/Structure/Alias.java | UTF-8 | 3,313 | 3.0625 | 3 | [] | no_license | package org.example.model.Regles.Structure;
import org.example.model.Regles.*;
import org.example.model.*;
import org.example.model.Regles.Structure.Interpreteur.MauvaiseInterpretationObjetRegleException;
import java.util.ArrayList;
import java.util.List;
/**
* Alias permet de représenter sous forme d'objet un ali... | true |
e2d810e98b56abe31dd2c068a1c4f57544643cbe | Java | stamo15/proxima | /app/src/main/java/com/Kone_Fanhatcha_S1803435/proxima/MainActivity.java | UTF-8 | 2,447 | 1.96875 | 2 | [] | no_license | package com.Kone_Fanhatcha_S1803435.proxima;
import androidx.annotation.NonNull;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;... | true |
36a1089b5ca8d93c9d766e3d6ab161a1aad12114 | Java | skfogg/neo2 | /src/org/neosimulation/neo/framework/time/TickDynam.java | UTF-8 | 2,171 | 2.9375 | 3 | [] | no_license | /**
*
*/
package org.neosimulation.neo.framework.time;
import org.neosimulation.neo.framework.model.SimulationModel;
import org.neosimulation.neo.framework.stateval.StateLong;
import org.neosimulation.neo.user.AutoDynamLong;
/**
* TickDynam - Dynam which is used to both initialize and update the "Tick"
* StateVa... | true |
6d5eea696ad73e1f42106646e7a56ef05f2a498e | Java | yexingyu/DDB-WEB | /src/main/java/com/dailydealsbox/web/controller/MembersController.java | UTF-8 | 3,778 | 2.0625 | 2 | [] | no_license | /**
*
*/
package com.dailydealsbox.web.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.facto... | true |
46d92b1032a4079ab3d10eb46a601537e9b9b34d | Java | GageWaack/Final-2 | /Connect/src/main/Main.java | UTF-8 | 635 | 3.015625 | 3 | [] | no_license | package main;
import java.util.Scanner;
public class Main
{
public static void main (String[]args)
{
int input;
Scanner userInput;
Scanner in = new Scanner(System.in);
System.out.println("Do you want to play? 1 for yes 999 for no");
input = in.nextInt();
if(input == 1... | true |
d2295697485fc537ea261f1f386ebe87ddb65beb | Java | huangzuboshao/wxshop | /src/test/java/com/liao/wxshop/service/LoggerTest.java | UTF-8 | 536 | 1.929688 | 2 | [] | no_license | package com.liao.wxshop.service;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
/**
* TODO..
*
* @author liao
* @date 2019/2/19
*/
@RunWith(SpringR... | true |
251fed01770e1dc214815b25fa224b9573fbfb6e | Java | lianghongbin/cardbox | /core/src/main/java/com/gamesky/card/core/lock/GlobalLock.java | UTF-8 | 357 | 2.265625 | 2 | [] | no_license | package com.gamesky.card.core.lock;
import com.gamesky.card.core.exceptions.LockException;
/**
* Created on 6/8/15.
*
* @Author lianghongbin
*/
public interface GlobalLock<T extends Lockable> {
public boolean acquire(T t) throws LockException;
public boolean acquire(T t, long timeout) throws LockExcepti... | true |
7bb937a515dac776bdb10541fce57f34b171be5b | Java | wanshi11/easyDentist | /easyDentist/easyDentist_core/src/main/java/com/dentist/service/DoctorService.java | UTF-8 | 520 | 1.859375 | 2 | [] | no_license | package com.dentist.service;
import java.util.List;
import com.dentist.entity.Doctor;
import com.dentist.utils.LayuiPageParam;
import com.dentist.utils.Page;
public interface DoctorService extends IBaseService<Doctor> {
List<Doctor> selectWithPageByExample(Doctor doctor,LayuiPageParam param);
int selectCoun... | true |
8c18ded1134e73f2888d3973ca4abdb278a03aae | Java | konexios/moonstone | /selene-device-zigbee/src/main/java/moonstone/selene/device/xbee/zcl/domain/security/zone/commands/SecurityZoneClusterCommands.java | UTF-8 | 1,873 | 1.96875 | 2 | [
"Apache-2.0"
] | permissive | package moonstone.selene.device.xbee.zcl.domain.security.zone.commands;
import java.util.LinkedHashMap;
import java.util.Map;
import org.apache.commons.lang3.tuple.ImmutablePair;
import moonstone.selene.device.xbee.zcl.ClusterSpecificCommand;
import moonstone.selene.device.xbee.zcl.NoPayloadCommand;
public class Se... | true |
071e61b47fb3468e1f4b81e2ea30b22c2f8cf51e | Java | guodont/banana-java-train | /train05/src/com/banana/swing/SwingDemo02.java | UTF-8 | 1,431 | 3.203125 | 3 | [] | no_license | package com.banana.swing;
import javax.swing.*;
import javax.swing.border.Border;
import java.awt.*;
/**
* Created by guodont on 15/12/18.
*/
public class SwingDemo02 {
public static void main(String [] args) {
JFrame jFrame = new JFrame("搜索框");
jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLO... | true |
b059f1af9c7fe0df8f5f183186a1319e177af588 | Java | koenfi/Dataprocessing | /P2_InleverOpdracht/Main/DAO/OracleBaseDao.java | UTF-8 | 508 | 2.109375 | 2 | [] | no_license | package DAO;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class OracleBaseDao {
protected static Connection conn;
protected static final String DB_DRIV = "oracle.jdbc.driver.OracleDriver";
protected static final String DB_URL = "jdbc:oracle:thin:@//localhost:49161... | true |
0811f46c9f6fbd9d71eafe1af68ed84470c8473d | Java | gmmonsalve/NASA | /Nasa/src/nasa/Mision.java | UTF-8 | 800 | 2.34375 | 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 nasa;
import java.util.ArrayList;
/**
*
* @author GabrielaM
*/
public class Mision {
private String nombr... | true |
d03c33ed9096a72c54650fd7c9a1dfaa44ee413a | Java | eneiascs/command | /src/main/java/io/airlift/command/ProcessCpuState.java | UTF-8 | 6,311 | 1.914063 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | true |
7f8d2a6ca543d53ee3383d5082e23114a5e73168 | Java | chenshuichuan/Brick-Breaker | /src/com/example/game/FullScrActivity.java | UTF-8 | 1,469 | 2.34375 | 2 | [] | no_license | package com.example.game;
import java.util.HashMap;
import java.util.Map;
import com.example.game.R;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.view.MotionEvent;
import... | true |
39797731eaad616177c0bd6a73881b34e4c0e868 | Java | endrix/opendf | /contrib/actorsproject/java/eu/actorsproject/xlim/decision/ActionSchedulerParser.java | UTF-8 | 9,069 | 1.914063 | 2 | [
"BSD-3-Clause"
] | permissive | /*
* Copyright (c) Ericsson AB, 2009
* Author: Carl von Platen (carl.von.platen@ericsson.com)
* All rights reserved.
*
* License terms:
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
* * Redistributi... | true |
341f9c2a58b2da84cee7b16925722f8ac2f928be | Java | marciosmelo/beblue-cashback | /src/main/java/com/beblue/cashback/controller/AlbumController.java | UTF-8 | 1,839 | 2.015625 | 2 | [] | no_license | package com.beblue.cashback.controller;
import com.beblue.cashback.common.Messages;
import com.beblue.cashback.exception.ApiException;
import com.beblue.cashback.model.Disco;
import com.beblue.cashback.service.AlbumService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.facto... | true |
7ac026631c014e4b01b84ab77cdc3e838cb1ad79 | Java | sdormitory/sdormitory_app_java | /sdormitory-biz/src/main/java/cn/sdormitory/report/vo/ExcellentDorStaVO.java | UTF-8 | 1,928 | 2.140625 | 2 | [
"Apache-2.0"
] | permissive | package cn.sdormitory.report.vo;
/**
* @创建人:zhouyang
* @创建时间:2020/12/4 22:15
* @version:V1.0
*/
public class ExcellentDorStaVO {
//宿舍ID
private Long bdormitoryId;
//宿舍栋号
private String buildingNo;
//楼层
private String storey;
//宿舍号
private String dormitoryNo;
//宿舍卫生平均总得分
priv... | true |
1474b6a15862bea98f712c167ea9b0b2c1b3740a | Java | eeveorg/GMSI | /script/UnknownToken.java | UTF-8 | 287 | 1.585938 | 2 | [
"MIT"
] | permissive | /*
* Decompiled with CFR 0_119.
*/
package script;
import script.Script;
import script.SourceObject;
import script.Token;
public class UnknownToken
extends Token {
public UnknownToken(Script owner, String code, int i, SourceObject s) {
super(owner, code, i, s);
}
}
| true |
c03ea3c34be5e1c74a6b6c11acc1214681b0f600 | Java | charlesbakervt/MacsController | /MacsController/src/edu/paulssonlab/macsplugin/api/GrowthDeviceState.java | UTF-8 | 1,077 | 2.65625 | 3 | [] | no_license | package edu.paulssonlab.macsplugin.api;
public enum GrowthDeviceState {
FROM_GROWTH_TO_PT(12, "Fill PT Growth"),
FROM_GROWTH_TO_WASTE(13, "Flow Growth to Waste"),
ACTIVELY_FLOW_BLEACH_GROWTH(17, "Actively Fill Bleach"),
ACTIVELY_FLOW_ETHANOL_GROWTH(18, "Actively Fill Ethanol"),
ACTIVELY_FLOW_WATER_GROWTH(1... | true |
6aada36962f6c737ed302740791e210a2563e289 | Java | jerrytao1987/234 | /workspace/day33/src/cn/itcast/demo3/Test.java | UTF-8 | 566 | 2.578125 | 3 | [] | no_license | package cn.itcast.demo3;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.Reader;
import java.lang.reflect.Method;
import java.util.Properties;
public class Test {
public static void main(String[] args) throws Exception {
Properties p = new Properties();
... | true |
e1336a4b89ec7fe2f7cf7a07099471d715920486 | Java | kumarph/webex-java-sdk | /schema/src/main/java/com/webex/schemas/_2002/_06/service/site/CustCommunicationsType.java | UTF-8 | 3,090 | 1.820313 | 2 | [] | no_license | /*
* Copyright 2010-2011 Nabeel Mukhtar
*
* 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 applica... | true |
97a123eed0a793839bdf1a3fa85bdcdce368cc35 | Java | artgluhovskiy/java-se-labs | /samples-core/src/main/java/org/art/samples/core/design/patterns/adapter/Adapter.java | UTF-8 | 1,891 | 3.65625 | 4 | [] | no_license | package org.art.samples.core.design.patterns.adapter;
/**
* Adapter pattern (from GoF) - simple code example.
* Simple vector-raster graphic adapter implementation:
* - adapter model based on inheritance;
* - adapter model based on composition.
*/
public class Adapter {
public static void main(String[] args)... | true |
fca79f6727e0fa5063bbc74d09a7279fbf6dfdc4 | Java | JoinBugs/Java-Project-Electronics-Store | /MVC_Electro/Src/Execute/ManagerDialogs_Controller.java | UTF-8 | 4,696 | 2.453125 | 2 | [] | no_license | import java.awt.event.WindowEvent;
import java.awt.event.ActionEvent;
import javax.swing.JTextField;
import javax.swing.JOptionPane;
import java.awt.Toolkit;
public class ManagerDialogs_Controller extends ManagerEvents_Controller
{
private String titulo;
private Regs_Vista regs;
JTextField[] txtData;
String[] ... | true |
90f52bb3c53428a682929cb93b3e50ea8ea1fa06 | Java | MiladBarati/Discrete | /app/src/main/java/com/example/milad/discrete/Collection.java | UTF-8 | 1,105 | 3.09375 | 3 | [] | no_license | package com.example.milad.discrete;
import java.util.ArrayList;
import java.util.List;
class Collection {
String collection;
private int index = 0;
Collection(String collection) {
this.collection = collection;
}
void buildCollection() {
List<String> coll = new ArrayList<>();
... | true |
9a3aa2ab721f9f0aef8df35160290c3b0ac585e7 | Java | ronaldopv08/proyecto01basesavanzadas | /src/Connections/AddDataProcedures.java | UTF-8 | 10,370 | 2.421875 | 2 | [] | no_license |
package Connections;
import Connections.AddDataProcedures;
import Connections.ConnectionSQL;
import java.sql.CallableStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
/**
*
* @author Andrés Pérez Bonilla
*/
public cl... | true |
80628eccdbb778e5f814575b4bd701d2f5fdd9dc | Java | JDownloader/QA_H2014_Equipe_B3 | /src/test/java/ca/ulaval/glo4002/services/dto/validators/SurgicalToolModificationDTOValidatorTest.java | UTF-8 | 2,651 | 2.390625 | 2 | [
"Apache-2.0"
] | permissive | package ca.ulaval.glo4002.services.dto.validators;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.runners.MockitoJUnitRunner;
import ca.ulaval.glo4002.domain.surgicaltool.SurgicalToolStatus;
import ca.ulaval.glo4002.services.dto.S... | true |
524b1f02cdd8679d17316f55ebe9d5924a3b5884 | Java | MarieLePanda/Framework-Desktop-Application | /src/view/component/PandaProdTextField.java | UTF-8 | 623 | 2.15625 | 2 | [] | no_license | package view.component;
import java.awt.Color;
import java.awt.GradientPaint;
import java.awt.Graphics;
import java.awt.Graphics2D;
import javax.swing.JTextField;
import javax.swing.border.Border;
import javax.swing.border.LineBorder;
import javax.swing.text.Document;
public class PandaProdTextField extends JTextFie... | true |
752d80c80964b1eb3470813d07110ff5f1e300e7 | Java | huaweicloud/huaweicloud-sdk-java-v3 | /services/cce/src/main/java/com/huaweicloud/sdk/cce/v3/model/ResetNode.java | UTF-8 | 2,637 | 2.359375 | 2 | [
"Apache-2.0"
] | permissive | package com.huaweicloud.sdk.cce.v3.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
import java.util.UUID;
import java.util.function.Consumer;
/**
* 重置节点参数。集群内已有节点通过重置进行重新安装并接入集群。
*/
public class ResetNode {
@JsonInclud... | true |
8edb9d261df19c7a4af59126fe80f4a48e4c09e4 | Java | Coldbwinz/monzun | /src/main/java/com/example/monzun/services/EmailService.java | UTF-8 | 2,483 | 2.546875 | 3 | [] | no_license | package com.example.monzun.services;
import com.example.monzun.entities.Mail;
import org.springframework.core.env.Environment;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.mail.javamail.MimeMessageHelper;
import org.springframework.stereotype.Service;
import org.thymeleaf.context... | true |
ed1e5ab693c3c5b883d5283bb7fc6395ec765caf | Java | zabir-alam/CrudJDBCJavaConfig | /src/main/java/com/app/dao/EmployeeDAOImpl.java | UTF-8 | 2,105 | 2.75 | 3 | [] | no_license | package com.app.dao;
import java.sql.ResultSet;
import java.util.List;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Tra... | true |
b0199f585e522b282377898741ffa5d965dd8ff7 | Java | nagabhushanamn/wip-hib | /HIB_adv/src/main/java/com/model/Book.java | UTF-8 | 1,693 | 2.578125 | 3 | [] | no_license | package com.model;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Cacheable;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
i... | true |
0ff654a36d11b78f8788ed4dcb3b300a37105d6a | Java | MRTangwin8/BigApp_Discuz_Android | /libs/ClanBase/src/com/youzu/clan/base/callback/FavThreadCallback.java | UTF-8 | 314 | 1.5625 | 2 | [
"Apache-2.0"
] | permissive | package com.youzu.clan.base.callback;
import android.support.v4.app.FragmentActivity;
import com.youzu.clan.base.json.FavThreadJson;
public class FavThreadCallback extends ProgressCallback<FavThreadJson> {
public FavThreadCallback(FragmentActivity activity) {
super(activity);
}
}
| true |
b0065a6ac766a410e16ef2423e35957aa359b953 | Java | bhagyashriatRealizerTech/TO | /app/src/main/java/com/techynotion/newsplanet/model/LikeDislikeModel.java | UTF-8 | 923 | 2.03125 | 2 | [] | no_license | package com.techynotion.newsplanet.model;
/**
* Created by Dell on 1/8/2017.
*/
public class LikeDislikeModel {
private String userRegistrationId;
private String newsId;
private String TimeStamp;
private String LikeDislike;
public String getUserRegistrationId() {
return userRegistrationI... | true |
85f1ca92454cc0bef4f13dfc9d266c90c112a45d | Java | donggua131432/33e9 | /rest_home/src/main/java/com/e9cloud/rest/cb/ReconnServer.java | UTF-8 | 2,050 | 2.28125 | 2 | [] | no_license | package com.e9cloud.rest.cb;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.*;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.handler... | true |
16bf2b601bc613e861ee51debeb7b609b4e93d12 | Java | mellonball/p2 | /src/umbc/veggie/RestaurantsAdapter.java | UTF-8 | 3,295 | 2.53125 | 3 | [] | no_license | package umbc.veggie;
import java.util.HashMap;
import java.util.List;
import java.lang.Object;
import android.content.Context;
import android.graphics.Typeface;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;
import android.w... | true |
3af006ca61ec584d135f22536b97b6e39cd355b8 | Java | bigNiuSanMao/headfirst | /src/main/java/org/freedom/mail/FetchMail.java | UTF-8 | 2,884 | 2.6875 | 3 | [] | no_license | package org.freedom.mail;
import javax.mail.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
public abstract class FetchMail {
private final String DEFAULT_FOLDER = "INBOX";
private Store store;
private Folder folder;
private String host;
private int port;
p... | true |
08395584a3ac839659abe42df65971caf5cb30ad | Java | Thawtarlaminn8864/StreamTapeExtractor | /mrkazstreamtape/src/main/java/com/mrkazofficial/mrkazstreamtape/StreamTapeModel.java | UTF-8 | 1,303 | 2.0625 | 2 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | package com.mrkazofficial.mrkazstreamtape;
/*Copyright [2021] [MRKaZ]
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 ... | true |
73991c715a7042d3d01259bfddb350c2bac68cdd | Java | Jeong-heon2/algorithm | /src/kakao/Kakao2020SummerQ2.java | UHC | 3,358 | 3.28125 | 3 | [] | no_license | package kakao;
import java.util.ArrayList;
public class Kakao2020SummerQ2 {
// 켱 Ǽ ٴ´.
static ArrayList<String> list = new ArrayList<>();
public static void main(String[] args) {
solution("100-200*300-500+20");
}
public static long solution(String expression) {
long answer = 0;
... | true |
0b4d19ae5b135f0335bab9815acf02a8d908b640 | Java | pierresantana/proglangbench | /java/springboot/src/main/java/com/github/pierresantana/springbootbench/services/ProductServiceImpl.java | UTF-8 | 1,457 | 2.625 | 3 | [] | no_license | package com.github.pierresantana.springbootbench.services;
import com.github.pierresantana.springbootbench.exceptions.NotFoundException;
import com.github.pierresantana.springbootbench.model.Product;
import com.github.pierresantana.springbootbench.repositories.ProductRepository;
import org.springframework.stereotype.S... | true |
73ad0748dd1406a4b910307eeec4406f09f2d74d | Java | charlesrich/Disco | /disco/java/edu/wpi/disco/Console.java | UTF-8 | 16,610 | 2.234375 | 2 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /* Copyright (c) 2009 Charles Rich and Worcester Polytechnic Institute.
* All Rights Reserved. Use is subject to license terms. See the file
* "license.terms" for information on usage and redistribution of this
* file and for a DISCLAIMER OF ALL WARRANTIES.
*/
package edu.wpi.disco;
import edu.wpi.cetask.... | true |
6147ddde9949ce3eda0a8e189ddaf3398013e1a7 | Java | xumingda/WholeFinancial | /app/src/main/java/com/ciba/wholefinancial/response/GetCodeResponse.java | UTF-8 | 688 | 2.046875 | 2 | [] | no_license | package com.ciba.wholefinancial.response;
/**
* @作者: 许明达
* @创建时间: 2016-4-6上午09:43:20
* @版权: 特速版权所有
* @描述: 封装服务器返回列表的参数
* @更新人:
* @更新时间:
* @更新内容: TODO
*/
public class GetCodeResponse {
/** 服务器响应码 */
public int code;
/**验证码id*/
public String auth_code_id;
// public class RegisterData{
// /** 用户token */
/... | true |
20dc3b810a5a8cee6659f92b4aefd69aa947231e | Java | laiyongshan/YHPayPost | /app/src/main/java/com/yzf/Cpaypos/present/PRegist.java | UTF-8 | 5,269 | 1.90625 | 2 | [] | no_license | package com.yzf.Cpaypos.present;
import android.text.TextUtils;
import com.yzf.Cpaypos.App;
import com.yzf.Cpaypos.kit.AppTools;
import com.yzf.Cpaypos.kit.AppUser;
import com.yzf.Cpaypos.kit.utils.AesUtil;
import com.yzf.Cpaypos.model.servicesmodels.GetCodeResults;
import com.yzf.Cpaypos.model.servicesmodels.Regiest... | true |
e3592d7ca91043cf5aac712a1569e0eefd0ad763 | Java | jahguide89/JDataMining | /src/es/ull/datamining/experiment/CrossValidation.java | UTF-8 | 2,254 | 2.90625 | 3 | [] | no_license | package es.ull.datamining.experiment;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Random;
import es.ull.datamining.core.Dataset;
import es.ull.datamining.core.Instance;
public class CrossValidation{
private Dataset dataset;
private int folds;
private Random random;
... | true |
64e0cc06abb6766f7bb60674650bb7dab24dd247 | Java | hyeminimeyh/swing | /spring-boot-swing-reservations-master/src/main/java/pl/dmichalski/reservations/business/ui/forms/room/model/RoomStatusComboBoxModel.java | UTF-8 | 352 | 1.6875 | 2 | [] | no_license | package pl.dmichalski.reservations.business.ui.forms.room.model;
import org.springframework.stereotype.Component;
import pl.dmichalski.reservations.business.entity.RoomStatus;
import pl.dmichalski.reservations.business.ui.shared.model.DefaultComboBoxModel;
@Component
public class RoomStatusComboBoxModel extends Defau... | true |
1d6022a21afba7d034d6dfc4d5883390c6489928 | Java | hanrick2000/A-Record-of-My-Problem-Solving-Journey | /Egbert/AlgorithmTesting/src/TwoPointers/TripletSumZero.java | UTF-8 | 1,802 | 3.3125 | 3 | [] | no_license | package TwoPointers;
import java.util.*;
/**
* @link https://www.educative.io/collection/page/5668639101419520/5671464854355968/6210874538721280
* @leetcode https://leetcode.com/problems/4sum/
* @author Egbert Li
* @date 27/06/2019 -> 26/7/2019
* @Time O N * log N + N ^ 2
* @Space O N
*/
public class TripletSum... | true |
35178c64362936f729759d0b05b6e4b67c8f227e | Java | BOCAPO/iateerp | /src/java/techsoft/carteirinha/JobImpressoraTermica.java | ISO-8859-1 | 15,649 | 2.125 | 2 | [] | no_license | package techsoft.carteirinha;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.net.MalformedURLException;
import java.net.URL;
import ... | true |
41ada56e64cc0c662999fad26ef23ad313c90211 | Java | mkathiravan/MVPRetrofitDagger | /app/src/main/java/net/kathir/myapplication/mvpwithDI/retrofit/APIInterface.java | UTF-8 | 347 | 1.851563 | 2 | [] | no_license | package net.kathir.myapplication.mvpwithDI.retrofit;
import net.kathir.myapplication.mvpwithDI.pojo.CryptoData;
import java.util.List;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;
public interface APIInterface {
@GET("ticker/?")
Observable<List<CryptoData>> getData(@Query... | true |
7f34ec5bf2b33373f542529caa3ffef57ff7f09b | Java | EdeysonGomes/menthor-editor | /net.menthor.ontouml2infouml/src/net/menthor/ontouml2infouml/ui/tab/ReferenceTab.java | UTF-8 | 8,572 | 2.171875 | 2 | [
"MIT"
] | permissive | package net.menthor.ontouml2infouml.ui.tab;
import net.menthor.ontouml2infouml.decision.AttributeType;
import net.menthor.ontouml2infouml.decision.DecisionHandler;
import net.menthor.ontouml2infouml.ui.content.ReferenceModel;
import net.menthor.ontouml2infouml.ui.content.SimpleContentProvider;
import org.eclip... | true |
89e92974816b357b27955081c927a9e20d4411ff | Java | sescer/OOP | /Task_2_2_1/src/main/java/nsu/fit/oop/boryapatrushev/task_2_2_1/ConsoleApplication.java | UTF-8 | 1,647 | 3.15625 | 3 | [] | no_license | package nsu.fit.oop.boryapatrushev.task_2_2_1;
import nsu.fit.oop.boryapatrushev.task_2_2_1.Manager.OrderManager;
/**
* Console application for simulating pizzeria
* USAGE: application_name [OPTION]
* Possible options:
* -h show help and short info
* -l activate additional logs (use for debug purpose)
... | true |
89d9c0fd09e4025eec719768af5ced18361175a2 | Java | joyblack/sunrun-show | /src/main/java/com/sunrun/movieshow/controller/PagerController.java | UTF-8 | 3,360 | 2.328125 | 2 | [] | no_license | package com.sunrun.movieshow.controller;
import com.sunrun.movieshow.service.PagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springfr... | true |
36840d1cb4e42d5c7a60c1cc5d92ca5254904502 | Java | mellamonaranja/JAVA_Practice | /Ch03-Console/src/ConsoleEx03.java | UTF-8 | 888 | 4.1875 | 4 | [] | no_license |
public class ConsoleEx03 {
public static void main(String[] args) {
String source = "1 3 5 7 9";
// 문자열 데이터(String) 13579를 source에 담음
java.util.Scanner scanner = new java.util.Scanner(source);
// 문자열을 입력 scanner라는 입력 장치를 통해서 소스로
// scanner.NextInt()
// 문자열 13579를 하나씩 가져와서 int형으로 변환
int num1 = s... | true |
7d5d40d7a9975121d0f4ea01d8711e4772fba09b | Java | EggUncle/HwFrameWorkSource | /P9_8_0_0/src/main/java/tmsdkobf/az.java | UTF-8 | 978 | 2.140625 | 2 | [] | no_license | package tmsdkobf;
import com.qq.taf.jce.JceInputStream;
import com.qq.taf.jce.JceOutputStream;
import com.qq.taf.jce.JceStruct;
import java.util.ArrayList;
public final class az extends JceStruct {
static ArrayList<bp> cl = new ArrayList();
public int cj = 0;
public ArrayList<bp> ck = null;
public Str... | true |
886f38ac6b326a47605f92d5482c5cc0e089a70d | Java | Nerdlady/Database-Fundamentals | /DatabaseAdvancedHibernate/exercuses/HibernateCodeFirst/hotel-database/src/main/java/softuni/services/impls/CustomerServiceImpl.java | UTF-8 | 623 | 2.28125 | 2 | [] | no_license | package softuni.services.impls;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import softuni.entities.Customer;
import softuni.repositories.CustomerDao;
import softuni.services.interfaces.CustomerService;
@Service
public class CustomerServiceImpl impleme... | true |