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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
d7d3fc38e2818ae2cc1d9124a2b347d5a61a644b | Java | EduardoGladzik/logica-java | /ExemploArrayTarde/src/Principal.java | UTF-8 | 1,845 | 3.625 | 4 | [
"MIT"
] | permissive | import java.lang.reflect.Array;
public class Principal {
//psvm + tecla TAB
public static void main(String[] args) {
//sout + tecla TAB
// System.out.println("oi....");
// String[] nomes = new String[3];
// nomes[0] = "joao";
// nomes[1] = "pedro";
// nomes[2] = "ze... | true |
70225657069a6cfb06aae8393075e9d74d07c974 | Java | tienlocbui1110/Kele | /TemplateTools/src/main/java/com/lh/component/exception/ButtonMapperMissingException.java | UTF-8 | 579 | 2.046875 | 2 | [
"MIT"
] | permissive | package com.lh.component.exception;
public class ButtonMapperMissingException extends RuntimeException {
public ButtonMapperMissingException() {
}
public ButtonMapperMissingException(String s) {
super(s);
}
public ButtonMapperMissingException(String s, Throwable throwable) {
super... | true |
3f1a8bff6f6dc6e929140ae4ad90f583f9cdc1fd | Java | deploymental/PetSocialNetwork | /service/src/main/java/com/getjavajob/GroupsService.java | UTF-8 | 1,731 | 2.28125 | 2 | [] | no_license | package com.getjavajob;
import com.getjavajob.common.Group;
import com.getjavajob.exceptions.DaoException;
import exception.ServiceException;
import lombok.NonNull;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annot... | true |
f069277fdb297dd6d7c659df9d68780dc4e68165 | Java | yehiafarag/csf-pr-uib | /CSF-PR-V3-QUANT/src/main/java/probe/com/view/core/TextFieldFilter.java | UTF-8 | 3,230 | 2.21875 | 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 probe.com.view.core;
import com.vaadin.event.FieldEvents;
import com.vaadin.event.ShortcutAction;
import com.vaadin.u... | true |
9b52c061eeaaf3a840d8c4246034be1bc7f13b56 | Java | sganhao/PDM | /NewsClass/src/com/example/newsclass/ParticipantItemActivity.java | UTF-8 | 1,597 | 2.28125 | 2 | [] | no_license | package com.example.newsclass;
import java.io.IOException;
import android.content.Intent;
import android.os.Bundle;
import android.os.Looper;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentStatePagerAdapter;
import android.support.v4.view.V... | true |
e16760e3a73491c316215bba0700c1f36466397a | Java | rgodinez/OOP-SpaceJam-Iteration1 | /Iteration1Code-Test/src/model/abilities/StealthAbility.java | UTF-8 | 592 | 2.46875 | 2 | [] | no_license | package model.abilities;
import model.entity.Entity;
import model.entity.EntityEffectHandler;
public class StealthAbility extends BoonSpellSingle {
public StealthAbility(Entity entity) {
super(entity);
// TODO Auto-generated constructor stub
}
@Override
public int getBoon() {
// TODO Auto-generated method... | true |
2818b31330b46990f2300a604882f789c2c37372 | Java | WatersEdge/l1j-legends | /src/l1j/server/server/serverpackets/S_CharVisualUpdate.java | UTF-8 | 1,491 | 2.421875 | 2 | [] | no_license | /**
* License
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS
* CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE").
* THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW.
* ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR
* COPYRI... | true |
e0b9db9e9ef25151620845595c12fc132dbf6227 | Java | Axiometry/Recaf | /src/main/java/me/coley/recaf/ui/component/LoggingPane.java | UTF-8 | 6,802 | 2.546875 | 3 | [
"MIT"
] | permissive | package me.coley.recaf.ui.component;
import org.objectweb.asm.*;
import org.objectweb.asm.Label;
import static org.objectweb.asm.Opcodes.*;
import javafx.event.*;
import javafx.scene.control.*;
import javafx.scene.image.*;
import javafx.scene.input.*;
import javafx.scene.layout.*;
import me.coley.event.*;
import me.... | true |
a27ddf9b62b2b027b5e441f472845ad0c2ef2ec5 | Java | tatocaster/TangoWithRxJava | /app/src/test/java/me/tatocaster/rxjavameetup/MainActivityRxUnitTest.java | UTF-8 | 743 | 2.21875 | 2 | [] | no_license | package me.tatocaster.rxjavameetup;
import org.junit.Test;
import rx.Observable;
import rx.observers.TestSubscriber;
import static org.hamcrest.CoreMatchers.hasItem;
import static org.junit.Assert.assertThat;
/**
* Created by tatocaster on 10/23/16.
*/
public class MainActivityRxUnitTest {
@Test
public ... | true |
0c8c43276fe319707f1cfec2aaa1d2e82ab3c36b | Java | Regulknight/testtask | /src/main/java/com/example/testtask/config/WebSecurityConfig.java | UTF-8 | 2,140 | 1.984375 | 2 | [] | no_license | package com.example.testtask.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.secur... | true |
cf84c523dba2701b6166de0977ba89f38f5b2de1 | Java | TinsPHP/tins-translators-tsphp | /test/ch/tsphp/tinsphp/translators/tsphp/test/integration/with_widening/UnionTypeTest.java | UTF-8 | 4,733 | 2.140625 | 2 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | /*
* This file is part of the TinsPHP project published under the Apache License 2.0
* For the full copyright; license information, please have a look at LICENSE in the
* root folder or visit the project's website http://tsphp.ch/wiki/display/TINS/License
*/
/*
* This file is based on the file ExpressionTest from... | true |
a8fd24642ff7d058d2b78256d9a8c2b2b83fda9f | Java | Luggioh/Dungeon-of-Bale | /core/src/de/dungeonofbale/DungeonOfBale.java | UTF-8 | 735 | 2.328125 | 2 | [] | no_license | package de.dungeonofbale;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import de.dungeonofbale.screen.MenuScreen;
public class DungeonOfBale extends Game {
public static final int WIDTH = 1200;
public static final int HEIGHT = 700;
private static DungeonOfBale instance;
private MenuScreen menu... | true |
d0f5ee973feb8103dc248382edbde1b66259cc04 | Java | Erlandys/UE4LinuxLauncher | /src/launcher/LoginForm.java | UTF-8 | 4,658 | 2.53125 | 3 | [
"MIT"
] | permissive | package launcher;
import launcher.managers.AuthenticationManager;
import launcher.managers.SessionManager;
import javax.swing.*;
import java.awt.event.FocusAdapter;
import java.awt.event.FocusEvent;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
public class LoginForm extends JFrame {
private JPa... | true |
a60cc48921456dafe55bb676e8069a76f9b1ab0d | Java | rajupraaa1234/Online-Book-Store | /app/src/main/java/com/raju/onlinebookstore/Myaccount.java | UTF-8 | 15,025 | 1.835938 | 2 | [] | no_license | package com.raju.onlinebookstore;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import android.... | true |
254507c3338c65b97b345e4d6f19e969c249c7d6 | Java | k3b/EzTimeTracker | /EzTimeTracker/src/de/k3b/widgets/ActivityWithBackgroundLoading.java | UTF-8 | 2,270 | 2.65625 | 3 | [
"Apache-2.0"
] | permissive | package de.k3b.widgets;
import android.app.Activity;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.util.Log;
public abstract class ActivityWithBackgroundLoading extends Activity {
public static final String LOG_TAG = "AsyncTask";
// initialize our progre... | true |
2ef526f7505602fb6c47a4a25cbdaf0cff6ff9b4 | Java | OzyDastur/Java-web-app-ecommerce | /src/main/java/com/concordia/exception/EmailException.java | UTF-8 | 272 | 2.03125 | 2 | [] | no_license | package com.concordia.exception;
public class EmailException extends Exception {
/**
* serialVersionUID
*/
private static final long serialVersionUID = -6852768609975772363L;
public EmailException(String errorMessage) {
super(errorMessage);
}
}
| true |
daf14d98e6d23e76f2cf174808adda45aae5b5a5 | Java | Oliverlee1003/MovieRecommendationSystem | /src/MovieRunnerSimilarRatings.java | UTF-8 | 9,244 | 3.25 | 3 | [] | no_license | import java.util.ArrayList;
import java.util.Collections;
public class MovieRunnerSimilarRatings {
public static void printAverageRatings() {
String ratingsFileName = "ratings.csv";
String movieFileName = "ratedmoviesfull.csv";
FourthRatings fourthRatings = new FourthRatings(ratingsFileName... | true |
904cf6e8f6417d7ab5f55c560198a05e9636549e | Java | Monkey-mi/erp | /src/erp/erp/arrivalRegister/data/OutSideImpMapper.java | UTF-8 | 247 | 1.71875 | 2 | [] | no_license | package erp.erp.arrivalRegister.data;
import java.util.List;
import java.util.Map;
import erp.erp.arrivalRegister.model.OutSideImp;
public interface OutSideImpMapper {
public List<OutSideImp> getOutSideImpList(Map<String,Object> params);
}
| true |
6a22ae9bbbaa11acf4ac07a9999e771028e955e8 | Java | xyuan/Hexel | /src/Hexel/generation/heightMap/SmoothHeightMapChunk.java | UTF-8 | 278 | 1.96875 | 2 | [
"MIT"
] | permissive | package Hexel.generation.heightMap;
import Hexel.generation.plate.PlateChunk;
public class SmoothHeightMapChunk implements java.io.Serializable {
public static final int WIDTH = 17;
public static final int HEIGHT = 17;
int[][] heights = new int[WIDTH][HEIGHT];
}
| true |
09524999cf98f5ec1a8d98fde22ddf562c596475 | Java | Laach/PostMor | /app/src/main/java/com/mdhgroup2/postmor/database/db/LetterRepositoryMock.java | UTF-8 | 685 | 2.203125 | 2 | [] | no_license | package com.mdhgroup2.postmor.database.db;
import com.mdhgroup2.postmor.database.DTO.EditMsg;
import com.mdhgroup2.postmor.database.interfaces.ILetterRepository;
import java.util.Date;
public class LetterRepositoryMock implements ILetterRepository{
@Override
public Date getPickupTime() {
return Uti... | true |
d4281c4b273f19ff26b6d9d2474ffa6d6436e0b9 | Java | magenta99/Waka | /app/src/main/java/com/wakaproject/waka/PaymentActivity.java | UTF-8 | 3,733 | 1.890625 | 2 | [] | no_license | package com.wakaproject.waka;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.Button;
import android.widget.Line... | true |
173bd1390ee2cc7ad1fac3f07fcc0f19516cc888 | Java | marcosrm7/FinanzasTF | /src/main/java/pe/edu/upc/serviceimpl/ProductServiceImpl.java | UTF-8 | 865 | 2.25 | 2 | [] | no_license | package pe.edu.upc.serviceimpl;
import java.io.Serializable;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pe.edu.upc.entity.Product;
import pe.edu.upc.repository.IProductRepository;
import pe.edu... | true |
6048dd7286a45a0e61daa084ef5f71a87a8b4261 | Java | prudnikovse/geekcloud | /geekcloud.server/src/main/java/com/geek/cloud/server/bl/FileManager.java | UTF-8 | 4,337 | 2.546875 | 3 | [] | no_license | package com.geek.cloud.server.bl;
import com.geek.cloud.common.FileData;
import com.geek.cloud.common.FileItem;
import com.geek.cloud.common.FileList;
import com.geek.cloud.common.bl.DownloadFileManager;
import com.geek.cloud.common.bl.UploadFileManager;
import sun.dc.path.PathException;
import java.io.File;
import j... | true |
5210e98f556b3dfa873d27e7ebdd6c132750aac5 | Java | lazy-apple/LeetCode | /algorithm/src/alg3/Solution2.java | UTF-8 | 896 | 3.4375 | 3 | [] | no_license | package alg3;
import java.util.HashSet;
import java.util.Set;
/**滑动窗口法
* @author LaZY(李志一)
* @create 2019-02-15 16:16
*/
public class Solution2 {
public static int lengthOfLongestSubstring(String s) {
int n = s.length();
Set<Character> set = new HashSet<>();
int ans = 0,i = 0,j = 0;
... | true |
57c6facca478be6d480e7f56bb09808b796e0f41 | Java | victor-vv/bettingGame | /src/main/java/com/example/bettingGame/core/domain/Game.java | UTF-8 | 1,591 | 2.171875 | 2 | [] | no_license | package com.example.bettingGame.core.domain;
import lombok.*;
import javax.persistence.*;
import java.util.Date;
import java.util.Set;
@Getter @Setter @Builder
@NoArgsConstructor @AllArgsConstructor
@Entity
@Table(name = "games", schema = "BETTINGG")
public class Game {
@Id
@SequenceGenerator(name = "GAMES_... | true |
f72b0df44f84f528ffdd78ad0475265854779275 | Java | Dogginator/DopeAgil_DungeonRun | /src/dopeAgile/Troll.java | UTF-8 | 2,293 | 2.8125 | 3 | [] | no_license |
package dopeAgile;
public class Troll extends Monster {
// public static final double COMMON = 0.05;
public static final double COMMON = 0.15; // HARD MODE
public Troll() {
super();
this.initiative = 2;
this.endurance = 4;
this.attack = 7;
this.agilit... | true |
ca275df3dbf7203c4fd8fa6e4b026dd5d02beecf | Java | rodrigosiqueira/logbook | /android/dynamicList/src/com/android/learn/DynamicList/DynamicList.java | UTF-8 | 2,113 | 2.375 | 2 | [] | no_license | package com.android.learn.DynamicList;
import android.app.Activity;
import android.os.Bundle;
import android.app.ListActivity;
import android.view.View;
import android.view.ViewGroup;
import android.view.LayoutInflater;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ImageV... | true |
b73db6b6b2fbad2f1ddec4e3fbe044ef19d90b44 | Java | ashang/frysk | /frysk-gtk/tlwidgets/test/wrapper/EVTest.java | UTF-8 | 2,500 | 2.734375 | 3 | [] | no_license |
import com.redhat.ftk.EventViewer;
import org.gnu.gdk.EventMask;
import org.gnu.gtk.Gtk;
import org.gnu.gtk.Window;
import org.gnu.gtk.WindowType;
import org.gnu.gtk.event.ExposeEvent;
import org.gnu.gtk.event.ExposeListener;
import org.gnu.gtk.event.LifeCycleEvent;
import org.gnu.gtk.event.LifeCycleListener;
public ... | true |
7c957dd717ded2c9957b9bbb5e973a97fa6541d8 | Java | smuwjs/tephra | /tephra-ctrl/src/main/java/org/lpw/tephra/ctrl/validate/BetweenValidatorImpl.java | UTF-8 | 794 | 2.25 | 2 | [
"Apache-2.0"
] | permissive | package org.lpw.tephra.ctrl.validate;
import org.springframework.stereotype.Controller;
/**
* @author lpw
*/
@Controller(Validators.BETWEEN)
public class BetweenValidatorImpl extends ValidatorSupport {
@Override
public boolean validate(ValidateWrapper validate, String parameter) {
int n = converter.... | true |
c9828138fdd9d445943bdbe61882066c25730682 | Java | wave-protocol/Wiab.pro | /src/org/waveprotocol/box/webclient/folder/FolderOperationServiceImpl.java | UTF-8 | 2,021 | 2.140625 | 2 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-indiana-extreme",
"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
* dis... | true |
b02df98105388cc7e19e62942e9cd96cd69eb5ba | Java | SJagwan/OnlineFoodDeliverApplication | /src/main/java/com/cg/fds/service/ICartService.java | UTF-8 | 622 | 2.1875 | 2 | [] | no_license | package com.cg.fds.service;
import java.util.List;
import com.cg.fds.entities.CartItem;
import com.cg.fds.entities.FoodCart;
import com.cg.fds.entities.Item;
public interface ICartService {
FoodCart addItemToCart(FoodCart cart,Item item);
FoodCart increaseQuantity(FoodCart cart,Item item,int quantity);
FoodCa... | true |
75870ed498ce1eae3b879e81e4cf39ffdf45f3da | Java | Abealkindy/PenebusanResepDokter | /app/src/main/java/com/rosinante/penebusanresepdokter/models/DokterDetailModel.java | UTF-8 | 330 | 1.757813 | 2 | [] | no_license | package com.rosinante.penebusanresepdokter.models;
import java.util.List;
import lombok.Data;
@Data
public class DokterDetailModel {
private List<DokterDetailData> hasil;
private boolean response;
@Data
public class DokterDetailData {
private int dokter_id;
private String dokter_name... | true |
276a39b974a93a4ffb0ec143f6386421f1c8c2ca | Java | segurosconfianza/intermediario | /src/main/java/com/confianza/webapp/aop/controller/ControllerAOPImpl.java | UTF-8 | 1,808 | 2.25 | 2 | [] | no_license | package com.confianza.webapp.aop.controller;
/**
*
* @modifico CONFIANZA
* @version 1.0
* @Fecha 30/10/2014
* @since 1.0
* @app framework
*/
import java.util.HashMap;
import java.util.Map;
i... | true |
eeb39bf51be2e47dbad130e39fcfc691de49d02d | Java | moutainhigh/WINSHARE | /ec-core-trunk/src/main/java/com/winxuan/ec/dao/InnerSettleDao.java | UTF-8 | 4,330 | 1.851563 | 2 | [] | no_license | package com.winxuan.ec.dao;
import java.util.List;
import java.util.Map;
import com.winxuan.ec.model.settle.SapOrderItem;
import com.winxuan.framework.dynamicdao.annotation.query.ParameterMap;
import com.winxuan.framework.dynamicdao.annotation.query.Query;
/**
* @description: TODO
*
* @createtime: 2014-2-13 下午2:2... | true |
022715c20c5dd64888a7115b28c5dc00d4e4a7a7 | Java | kjkow/workout-partner | /src/main/java/com/github/kjkow/workoutpartner/planning/WorkoutSet.java | UTF-8 | 314 | 2.046875 | 2 | [
"MIT"
] | permissive | package com.github.kjkow.workoutpartner.planning;
import lombok.NonNull;
import lombok.Value;
import java.util.List;
@Value
class WorkoutSet {
@NonNull
List<WorkoutRepetition> workoutRepetitions;
static WorkoutSet ofReps(List<WorkoutRepetition> reps) {
return new WorkoutSet(reps);
}
}
| true |
58150fa2c12bdc69675abda65ac614d8baef8d39 | Java | mIbrahim017/To-Do-List | /src/com/mohamedibrahim/adapter/CursorListViewAdapter.java | UTF-8 | 2,027 | 2.5625 | 3 | [] | no_license | package com.mohamedibrahim.adapter;
import android.content.Context;
import android.database.Cursor;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
public abstract class CursorListViewAdapter<VH extends CursorListViewAdapter.ViewHolder>
extends BaseAdapter {
private Cur... | true |
c2143f78346f56416f0155bd3b5fb5762d529afe | Java | desht/ModularRouters | /src/main/java/me/desht/modularrouters/client/gui/widgets/button/ItemStackButton.java | UTF-8 | 2,100 | 2.34375 | 2 | [
"MIT"
] | permissive | package me.desht.modularrouters.client.gui.widgets.button;
import com.mojang.blaze3d.platform.GlStateManager;
import com.mojang.blaze3d.systems.RenderSystem;
import com.mojang.blaze3d.vertex.PoseStack;
import me.desht.modularrouters.client.util.GuiUtil;
import me.desht.modularrouters.client.util.XYPoint;
import net.mi... | true |
7dfc4d398183ca4c7da895f09d942c46c604bfe8 | Java | traveling-desi/Web-Technology | /Algorithms/Princeton Algorithms/Part1/assignments/assignment1/src/PercolationStats.java | UTF-8 | 1,909 | 3.3125 | 3 | [] | no_license |
public class PercolationStats {
private double[] prob;
private Percolation perc;
// perform T independent computational experiments on an N-by-N grid
public PercolationStats(int N, int T) {
if (N < 1 || T < 1) {
throw new IllegalArgumentException("Bad N value");
}
double mGridSize = N * N;
prob = ... | true |
dd2f8647870d7a0938f0e03f27ee19b4aeb19e28 | Java | songwell1024/Algorithm-JAVA | /src/AdvancedDemo01/BFPRT.java | UTF-8 | 2,829 | 3.6875 | 4 | [] | no_license | package AdvancedDemo01;
/**
* BFPRT算法,求解无序数组中的第K小的数字,时间复杂度O(N)
* @author WilsonSong
* @date 2018/10/22/022
*/
public class BFPRT {
public int GetMinthKByBFPRT(int[] data, int k){
int[] copyData = copyData(data);
return BFPRTProcess(data, 0, data.length-1,k-1);
}
public int[] copyData(... | true |
43c983d7afc0c31a593d8113f1c28e9dfe827f53 | Java | bxbxbx/nabaztag-source-code | /server/OS/net/violet/platform/dataobjects/SourceData.java | UTF-8 | 4,332 | 1.9375 | 2 | [
"MIT"
] | permissive | package net.violet.platform.dataobjects;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.violet.platform.datamodel.Lang;
import net.violet.platform.datamodel.Source;
import net.violet.platform.data... | true |
b3ddadfcbddd2a7b2a5c720fba47b2d73af88089 | Java | Tanushri-soni/Application | /App_Service/src/test/java/com/app/token/service/test/CustomServiceImplTest.java | UTF-8 | 965 | 1.960938 | 2 | [] | no_license | package com.app.token.service.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.util.ArrayList;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import com.app.custom.data.CustomDAO;
import com.app.custom.service.CustomServ... | true |
964dfd39a54cc5f94433641421621fa3e8df1fae | Java | simar1998/MechNov | /src/main/java/subroutines/thread/PrinterCommunicationHandler.java | UTF-8 | 5,013 | 3.40625 | 3 | [] | no_license | package subroutines.thread;
import pojo.Command;
import pojo.printer.Printer;
import java.util.ArrayList;
/**
* The type Printer communication handler.
*/
public class PrinterCommunicationHandler {
private static ArrayList<PrinterBundle> printers = new ArrayList<>();
/**
* Add printer to stack.
... | true |
2300f363129ae6dd53e0759d55de6e4523677ae5 | Java | dibakar123/ctskolkataspring | /springcore3/src/main/java/com/pack/springcore3/SetObjects.java | UTF-8 | 275 | 2.4375 | 2 | [] | no_license | package com.pack.springcore3;
import java.util.*;
public class SetObjects {
Set<Person> personSet;
public Set<Person> getPersonSet() {
return personSet;
}
public void setPersonSet(Set<Person> personSet) {
this.personSet = personSet;
}
}
| true |
b0db83acb5500781546d2d5fb5803c77a92a424e | Java | SmartArvin/OTATest | /【9632KTC】KtcOTADemo/src/com/ktc/ota/bean/OtaRemoteData.java | UTF-8 | 3,856 | 2 | 2 | [] | no_license | package com.ktc.ota.bean;
import android.os.Parcel;
import android.os.Parcelable;
/*
* mOtaPackageLength: 568075448
* mOtaPackageName: update.zip
* mOtaPackageVersion: V1.1.0
* mOtaUpdateLevel: 未知
* mTargetURI: http://ktcota2test.oss-cn-hangzhou.aliyuncs.com/848DTMB/ktc_en/update.zip
* mOtaAnswer: 1
* mO... | true |
65c7e702599c8091c680ff66951fa3b7108509d1 | Java | kubicaj/utilities | /PojoMapperBuilder/src/test/java/com/test/kubicaj/utilities/pojomapper/pojoObjects/SimplePojoWithInternalObject1.java | UTF-8 | 557 | 2.078125 | 2 | [] | no_license | package com.test.kubicaj.utilities.pojomapper.pojoObjects;
public class SimplePojoWithInternalObject1 {
private SimplePojoTest1 simplePojoTest1;
private String strParam1;
public SimplePojoTest1 getSimplePojoTest1() {
return simplePojoTest1;
}
public void setSimplePojoTest1(SimplePojoTest... | true |
be29eace3cf7ae1f8f72b8f92c81f99bf9df9d6d | Java | alishibli97/DD2476-Search-Engines-and-Information-Retrieval | /assignment1/ir/Query.java | UTF-8 | 5,459 | 2.765625 | 3 | [] | no_license | /*
* This file is part of the computer assignment for the
* Information Retrieval course at KTH.
*
* Johan Boye, 2017
*/
package ir;
import java.util.ArrayList;
import java.util.StringTokenizer;
import java.util.Iterator;
import java.util.*;
import java.nio.charset.*;
import java.io.*;
... | true |
0f7ac28e07cb0d35fafab000e8627256245e3518 | Java | chenqi1990130/demoCollection | /Color/app/src/main/java/com/jeffrey/color/MainActivity.java | UTF-8 | 4,132 | 2.359375 | 2 | [] | no_license | package com.jeffrey.color;
import android.animation.ArgbEvaluator;
import android.graphics.Color;
import android.graphics.ColorFilter;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter;
import android.graphics.drawable.Drawable;
import android.support.v4.app.ActivityCompat;
import andro... | true |
813c9f599be9079204eaec7604db00f2deabb530 | Java | AndrewVL/pickUpYourTeam | /src/main/java/ru/pickteam/components/DataBaseLoader.java | UTF-8 | 774 | 2.265625 | 2 | [] | no_license | package ru.pickteam.components;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
import ru.pickteam.model.entities.User;
import ru.pickteam.repositories.UserRepository;
@Component
public class DataBaseLoa... | true |
571199376eede4fbbad413830a09e9b9835c92ab | Java | Swethakumar1/DeviceManagement1 | /src/dev/User.java | UTF-8 | 6,097 | 2.375 | 2 | [] | no_license | package dev;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.R... | true |
c7e8b1ad8d73d53289559abfedb6ae8178740972 | Java | menyouping/Jay | /Jay/src/main/java/com/jay/lang/JListener.java | UTF-8 | 20,731 | 2.171875 | 2 | [] | no_license | package com.jay.lang;
// Generated from J.g4 by ANTLR 4.7.1
import org.antlr.v4.runtime.tree.ParseTreeListener;
/**
* This interface defines a complete listener for a parse tree produced by
* {@link JParser}.
*/
public interface JListener extends ParseTreeListener {
/**
* Enter a parse tree produced by {@... | true |
d22d47a1a6549e3187e3c85dd2f844a2039a51d5 | Java | adebrouvier/image-analysis | /src/main/java/ar/edu/itba/ati/ui/listeners/MaskListener.java | UTF-8 | 2,845 | 2.890625 | 3 | [] | no_license | package ar.edu.itba.ati.ui.listeners;
import ar.edu.itba.ati.image.Image;
import ar.edu.itba.ati.image.MaskRotator;
import ar.edu.itba.ati.image.ImageUtils;
import ar.edu.itba.ati.ui.SingleImagePanel;
import ar.edu.itba.ati.ui.WindowContext;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
... | true |
e5c556dacff074707b40e4f42c699820cd91178f | Java | handyejin/Monitering_System | /src/main/java/kr/co/project3/User/controller/UserController.java | UTF-8 | 11,342 | 1.804688 | 2 | [] | no_license | // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: UserController.java
package kr.co.project3.User.controller;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Has... | true |
f77396931c08cfe808833c19726093a905430e10 | Java | crossoft/px-mobile-utility | /app/src/main/java/com/pos/myfonts/RobotoRegular.java | UTF-8 | 540 | 2.390625 | 2 | [] | no_license | package com.pos.myfonts;
import android.content.Context;
import android.graphics.Typeface;
public class RobotoRegular {
public Context mContext;
public static Typeface fontTypeface;
public String path = "Roboto-Regular.ttf";
public RobotoRegular() {
}
public RobotoRegular(Context context) {... | true |
aee7f02b723105c5f3552b57ed62611b675d6c3d | Java | yanlele1994/testcode | /jedis/src/main/java/com/yl/test/TestDemo01.java | UTF-8 | 559 | 2.40625 | 2 | [] | no_license | package com.yl.test;
import redis.clients.jedis.Jedis;
public class TestDemo01 {
public static void main(String[] args) {
// 创建jedis对象,通过IP及端口号连接服务器(linux需先关闭防火墙)
Jedis jedis = new Jedis("192.168.195.128", 6379);
jedis.flushDB();
String str1 = jedis.set("str1", "aaa");
Long... | true |
876d3e4e92dde64b9831f500967ecfd227e13d2d | Java | yejiebin/blog-springboot-vue | /blog-springboot/src/main/java/com/yjb/service/DiscussService.java | UTF-8 | 4,812 | 2.25 | 2 | [] | no_license | package com.yjb.service;
import com.yjb.mapper.BlogMapper;
import com.yjb.mapper.DiscussMapper;
import com.yjb.mapper.ReplyMapper;
import com.yjb.mapper.UserMapper;
import com.yjb.model.pojo.Blog;
import com.yjb.model.pojo.Discuss;
import com.yjb.model.pojo.Reply;
import com.yjb.model.pojo.User;
import com.yjb.utils.D... | true |
39b5c536e41c71b8aa57fbc3a6bb890bf27ae9b1 | Java | fahmifhusin/KatalogFilmApp | /app/src/main/java/com/brontocyber/submission5_fahmifarhanhusin/fragment/main/MoviesFragment.java | UTF-8 | 4,983 | 1.984375 | 2 | [] | no_license | package com.brontocyber.submission5_fahmifarhanhusin.fragment.main;
import android.arch.lifecycle.Observer;
import android.arch.lifecycle.ViewModelProviders;
import android.arch.persistence.room.Room;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import ... | true |
96d0a701b7ef24ba72b71abb089f10b6ea3fbfc7 | Java | devansh-299/LunchBox | /app/src/main/java/com/tip/lunchbox/data/ApiManager.java | UTF-8 | 1,480 | 2.375 | 2 | [] | no_license | package com.tip.lunchbox.data;
import com.tip.lunchbox.data.service.ApiService;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava3.RxJava3CallAdapterFactory;
import retrofit2.converter.gson.GsonConverterFactory;
public class ApiManag... | true |
667e503a0803b7934d50562728d2677ad09dce52 | Java | rajeev66053/java_tutorial | /src/mathOperator/index.java | UTF-8 | 263 | 2.578125 | 3 | [] | no_license | package mathOperator;
import java.util.Scanner;
public class index {
public static void main(String args[]) {
Scanner bucky= new Scanner(System.in);
int girls,boys,people;
girls=11;
boys=3;
people=girls + boys;
System.out.println(people);
}
}
| true |
eb5358203928d039288eca1cc0eb30f0f1282eb9 | Java | zach-hu/srr_java8 | /PuridiomSupplierPortal/src/com/tsa/puridiom/supplierportal/graphs/tasks/VendorItemBidHistory.java | UTF-8 | 4,660 | 2.09375 | 2 | [] | no_license | package com.tsa.puridiom.supplierportal.graphs.tasks;
import java.awt.Color;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.List;
import java.util.Map;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartUtilities;
import org.jfree.chart.... | true |
12b48aaf566fb452e129b2a484b4a5a7c19d5d50 | Java | Vikasgaikwad395/RegularExpression-in-java | /ValidPincode.java | UTF-8 | 499 | 2.9375 | 3 | [] | no_license | import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ValidPincode {
public static void main(String[] args) {
String input = "500055, 500058";
String regex = "[0-9]\\d{5}";
Pattern p = Pattern.compile(regex);
Matcher m = p.matcher(input);
... | true |
6a28422ba5d6bf778af68f0b3c8f28796c478f0b | Java | piotrsoltysiak/todo-list-clean-arch | /src/main/java/com/todoclean/application/ports/outbound/CurrentTimeSupplier.java | UTF-8 | 194 | 1.609375 | 2 | [] | no_license | package com.todoclean.application.ports.outbound;
import java.time.LocalDateTime;
import java.util.function.Supplier;
public interface CurrentTimeSupplier extends Supplier<LocalDateTime> {
}
| true |
35efe2fa6d3f0fe37642e1656d0db7adf660980a | Java | guilmedev/androidIoTController | /Android_IoT_controller/app/src/main/java/com/example/aztlan/aztlan_iot/TelaDeCadastro.java | UTF-8 | 14,841 | 1.8125 | 2 | [] | no_license | package com.example.aztlan.aztlan_iot;
import android.app.Activity;
import android.app.Dialog;
import android.app.DownloadManager;
import android.app.ProgressDialog;
import android.bluetooth.BluetoothClass;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import an... | true |
12d622625f6da17b942fc14a7cc964a68aee8a28 | Java | muna0208/TA_Solution_Manager | /src/main/java/com/daumsoft/taSolutionManager/restFullApi/controller/DemonRestController.java | UTF-8 | 3,734 | 2.171875 | 2 | [] | no_license | package com.daumsoft.taSolutionManager.restFullApi.controller;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.DeleteMapping;... | true |
70f8a5ae0e96f9abd124f72b89713f387403dce6 | Java | jyerger1/Leap_Year_TDD | /LeapYearTest.java | UTF-8 | 762 | 2.921875 | 3 | [] | no_license | // import static org.junit.Assert.assertEquals;
import org.junit.Assert;
import org.junit.Test;
public class LeapYearTest {
// @Test
// public void testGetMessage() {
// LeapYear hw = new LeapYear();
// assertEquals("Hello World!", hw.getMessage());
// }
@Test
public void whenMoreThan4Nu... | true |
781a00748318d4c9170f08074d0517a904ab964d | Java | jewardMagat/Android | /Android/Calculator/Button_Click_Int.java | UTF-8 | 11,314 | 2.734375 | 3 | [] | no_license | package com.app.basic_calculator;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class Button_Click_Int {
private Double num = 0.0;
private Double result = 0.0;
private Double percentageData = 0.0;
private Double positiveData = 0.0;
private Double nega... | true |
68cf57327e7c5f840aefbe019b2bd58b01edfe8b | Java | jpush/JIoT-SDK-Android | /jiot-core/src/main/java/cn/jiguang/iot/bean/MsgDeliverReq.java | UTF-8 | 744 | 2.234375 | 2 | [] | no_license | package cn.jiguang.iot.bean;
/**
* @author : ouyangshengduo
* e-mail : ouysd@jiguang.cn
* date : 2019/5/7 10:29
* desc : 消息下发请求类
*/
public class MsgDeliverReq {
/**消息序号**/
private long seqNo;
/**消息中的内容**/
private String message;
/**消息下发的时间戳**/
private long time;
public long getSeqNo... | true |
eedebb6ebd0d5ca0e0de00ae091a9278028bc547 | Java | Ericzyr/javastudy | /study/src/com/tv/test_number8.java | UTF-8 | 378 | 2.78125 | 3 | [] | no_license | package com.tv;
public class test_number8 {
public test_number8() {
// TODO Auto-generated constructor stub
}
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.print("办公设备"+ "\n" +"电视传说"+"\n");
System.out.print((0>9) +"\n");
int x =4,y=9;
boolean b;
{
b ... | true |
3fd5d5d04e5ec315e923fd060f736088e03b24f0 | Java | e5hzjx/AeroClub-Organiser | /Backend/AeroClub-Organiser/src/main/java/hu/elte/AeroClubOrganiser/service/impl/TransporterServiceImpl.java | UTF-8 | 1,211 | 2.328125 | 2 | [] | no_license | package hu.elte.AeroClubOrganiser.service.impl;
import hu.elte.AeroClubOrganiser.model.Plane;
import hu.elte.AeroClubOrganiser.model.Transporter;
import hu.elte.AeroClubOrganiser.repository.TransporterRepository;
import hu.elte.AeroClubOrganiser.service.TransporterService;
import org.springframework.beans.factory.ann... | true |
c48806f5b5c0b337bd6c32151a88731dcabc7b6c | Java | LexSav7/Sintez-Courses | /MoneyOperations/src/main/java/WithDouble.java | UTF-8 | 1,019 | 3.859375 | 4 | [] | no_license | //Created by Alex Savenko on 03/30/2018
/**
* Class illustrates the work of the double type with precise money operations.
* @author Alex Savenko
* @version 1.0
* @since 1.0
*/
public class WithDouble {
/**
* Function shows the quantity of purchased goods along with the change left.
* There is alr... | true |
457227162b5aabcb1bc887d782ef31d2e610e908 | Java | dnk3007/Blazedemo.v1 | /src/test/java/blazedemo/blazedemo/v1/pages/ReservationPage.java | UTF-8 | 869 | 2.3125 | 2 | [] | no_license | package blazedemo.blazedemo.v1.pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
p... | true |
0a27d232dcd681b3ff166f0d5adf30a2ed9f6570 | Java | windfallsheng/HandleUserConfigInfos | /app/src/main/java/com/windfallsheng/handleuserconfiginfos/view/MainActivity.java | UTF-8 | 5,400 | 2.171875 | 2 | [] | no_license | package com.windfallsheng.handleuserconfiginfos.view;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;
import com.windfallsheng.handleuserconfiginfos.Constants;
import com.windfallsheng.handleuserconfiginfos.R;
import com.windfallsheng... | true |
bbe9fed3ce22a316cc3472dfbf490715d5d14e15 | Java | johnlee0510/Paranoid-Androids | /M4/M4Module-master/app/src/main/java/com/example/olivia/myapplication/model/UserManagementFacade.java | UTF-8 | 273 | 1.992188 | 2 | [] | no_license | package com.example.olivia.myapplication.model;
/**
* Created by Olivia on 2/12/2017.
*
*/
public interface UserManagementFacade {
void addUser(String id, String name, String pass, String email, String address, String userType);
User findUserById(String id);
} | true |
72ef2bfa7b0b8a8eaa06740ddd2ec3305a6e49ec | Java | tom7737/gtMs | /commons/src/test/java/Test.java | UTF-8 | 692 | 2.140625 | 2 | [] | no_license |
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* Created by GLZC on 2017/3/3.
*/
public class Test {
public static void main(String[] args) throws Exception {
// System.out.println(IssueStatus.values()[0].getName());
// List<Map<String, String>> list = HeCaiUtil.FetchMatch... | true |
eae03ae62ec67987ecbd51a2fd6edd6d731fdeb9 | Java | CoherentLogic/ehmp20 | /ehmp/product/production/soap-handler/src/main/java/us/vistacore/vxsync/config/ServicesEnabled.java | UTF-8 | 1,155 | 1.8125 | 2 | [
"Apache-2.0"
] | permissive | package us.vistacore.vxsync.config;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonNode;
public class ServicesEnabled {
@JsonProperty("all")
private Boolean allFlag;
@JsonProperty("hdr")
private Boolean hdr;
@JsonProperty("vler")
private Boo... | true |
f47137ed045680f050ba0937fbb92c5e4871cab2 | Java | sebrandt/xs2a | /aspsp-mock-server/src/main/java/de/adorsys/aspsp/aspspmockserver/service/AccountService.java | UTF-8 | 1,174 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | package de.adorsys.aspsp.aspspmockserver.service;
import de.adorsys.aspsp.aspspmockserver.repository.AccountRepository;
import de.adorsys.aspsp.xs2a.spi.domain.account.SpiAccountDetails;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Lis... | true |
af80f3b9a182fca61deb72654bc6786fc133c42d | Java | qiangyongyang/WebStore | /src/store/Bean/Cart.java | UTF-8 | 1,882 | 3.203125 | 3 | [] | no_license | package store.Bean;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Cart {
//个数不确定的购物项
private Map<String , CartItem>map=new HashMap<String , CartItem>();
//总价,积分
private double total;
public Map<String, CartI... | true |
7a22857b85c9c93bcc9729700820fffa48d80a4e | Java | virtual-repository/virtual-ows | /src/main/java/org/virtual/ows/WfsRawReader.java | UTF-8 | 953 | 2.484375 | 2 | [] | no_license | package org.virtual.ows;
import java.io.InputStream;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import org.virtualrepository.impl.Type;
import org.virtualrepository.ows.WfsFeatureType;
import org.virtualrepository.spi.Importer;
/**
* WFS Raw reader. This class allows to retrieve WFS FeatureType ... | true |
8e7b485e5fbad93577abdf53fea909ea9c3f4cad | Java | Shubhambh18/spring-boot | /storeManager/src/main/java/com/example/demo/config/StoreConfig.java | UTF-8 | 1,359 | 1.9375 | 2 | [] | no_license | package com.example.demo.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import com.example.demo.model.Store;
import springfox.documentation.builders.Path... | true |
7d317fc131ade3bda123878d459980ad29ff13ec | Java | afinezilber/Small-Java-Projects | /CSC161/Lab 13/Temp.java | UTF-8 | 2,745 | 3.890625 | 4 | [] | no_license | /* Allon Finezilber
CSC-161 - C1
Lab 13A */
import java.util.*; // Needed for the Scanner Class
// This program will ask the user to input high and low temps
// of each month of the year and determines the average high, low
// and highest high and lowest low.
public class Temp
{
static Scanner keyboard = ... | true |
42cb02a0481a1dae9265e6cd4ba4a80fd5ba8ced | Java | betterGa/OJ-Record | /src/main/java/NowCoder/Finder.java | UTF-8 | 599 | 3.765625 | 4 | [] | no_license | package NowCoder;
import java.util.*;
//有一个整数数组,请你根据快速排序的思路,找出数组中第K大的数。
//给定一个整数数组a,同时给定它的大小n和要找的K(K在1到n之间),
// 请返回第K大的数,保证答案存在。
//思路:借用最小堆
public class Finder {
public int findKth(int[] a, int n, int K) {
// write code here
PriorityQueue p=new PriorityQueue();
for(int i=0;... | true |
4dc126bbcec1362385ce85861e07f83a7a8e35a2 | Java | keeed/presscryption | /Source/PressCryption.Prescription/src/presscryption/prescription/translators/PrescriptionTranslator.java | UTF-8 | 1,121 | 2.515625 | 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 presscryption.prescription.translators;
import java.util.ArrayList;
import presscryption.prescription.contract.objects.Prescri... | true |
142c234e20797d903538425b2073beed17e9b54c | Java | mehdi2/BSP | /src/main/java/bsp/repo/GroupRepository.java | UTF-8 | 1,533 | 1.945313 | 2 | [] | no_license | package bsp.repo;
import bsp.model.Group;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import java.math.BigInteger;
import java.util.List;
/**Group.indexing
* Created by Chowdhury Muhammad Mehdi... | true |
554d6bb381a2cf6a8c19c4e5318df3c61c9f1072 | Java | yulin3870/java-demo-project | /03_SE/src/main/java/day05/TabConfig.java | UTF-8 | 1,650 | 3.375 | 3 | [] | no_license | package day05;
import java.io.FileInputStream;
import java.util.Properties;
/**
* 用于读取配置文件的类
*
* @author j36
*/
public class TabConfig {
/**
* 用于读取properties文件的类
*/
private Properties properties;
/**
* 根据给定的文件名读取配置文件
*
* @param fileName
*/
public TabConfig(String fil... | true |
5f1eccceced443f9ac5d70209c67ea3fc7fe5bf4 | Java | sjwiesman/flink-statefun | /statefun-flink/statefun-flink-core/src/main/java/org/apache/flink/statefun/flink/core/protorouter/TemplateParser.java | UTF-8 | 4,002 | 2.375 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown",
"MIT",
"OFL-1.1"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | true |
164fe4d37358c2f8e0090d4c47a90cdcba0dca13 | Java | AlexRokalo/HashMap-TreeSet-Test | /src/NullWordException.java | UTF-8 | 210 | 2.765625 | 3 | [] | no_license | public class NullWordException extends Exception {
public NullWordException(String err) {
super(err);
}
@Override
public String getMessage() {
return super.getMessage();
}
} | true |
6fa3af62508bdffe0cb25d381f269d0c845f5e40 | Java | prabhakar267/vertikin | /Android/app/src/main/java/com/exceptionhandlers/walmartlabs/test_fragment.java | UTF-8 | 6,344 | 1.9375 | 2 | [
"MIT"
] | permissive | package com.exceptionhandlers.walmartlabs;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
impor... | true |
aa0ebefc62842b7acc1a9cdd461b4d2028ac2f6f | Java | maeagle/crocobaby-source | /crocobaby_v1/webapp/src/main/java/com/crocobaby/web/mobile/views/RankPanelComponent.java | UTF-8 | 2,821 | 2.265625 | 2 | [] | no_license | package com.crocobaby.web.mobile.views;
import java.util.List;
import com.crocobaby.dao.EvaluationDashboardDAO;
import com.crocobaby.web.mobile.root.RootUI;
import com.vaadin.data.Property;
import com.vaadin.ui.*;
import com.vaadin.ui.Table.CellStyleGenerator;
import org.apache.commons.lang3.ObjectUtils;
import org.a... | true |
3f7874f981b3fd7d026da283e86b820879977dcc | Java | KillianGreene/WrapAutomator | /src/ReturnType.java | UTF-8 | 1,884 | 3.140625 | 3 | [] | no_license | public enum ReturnType {
/*
* *** Add new return types here ***
*
* Format is:
* RETURNTYPE("SwiftVariableType", "JNI_signature", "JNI method call type", isObject)
*
* - "isObject" is used for wrapping the methods, primitive types aren't objects
* but View, String, Drawable etc. are objects
*
... | true |
781dbf0e55179f43294322fd5db4228e8cfec2ce | Java | skiwi2/RocksAndDatabases | /src/main/java/net/zomis/rnddb/entities/RndLevelset.java | UTF-8 | 6,845 | 2.078125 | 2 | [] | no_license | package net.zomis.rnddb.entities;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
imp... | true |
c309b5cccefdd463e79ad0b504712099f99e741f | Java | wjlim2/trsmis2 | /app/src/main/java/com/example/trsmis2/model/TrsmisApor.java | UTF-8 | 479 | 1.945313 | 2 | [] | no_license |
/*
* 지정자 모델 클래스.
* 작성자가 '요청을 처리해줄 직원'을 선택한다.
* 지정받는 직원의 사원명, 사원아이디, 사원직무코드를 담는다.
*/
package com.example.trsmis2.model;
import lombok.Data;
@Data
public class TrsmisApor {
/**
* 사원명
*/
private String empNm;
/**
* 사원 아이디
*/
private String empId;
/**
* 사원 직무코드
*/
... | true |
9059b518de34d86a6b5dab276dd1944fcb364a0a | Java | ls-cnr/bpmn2goalspec | /BPMN2REQWEB/src/ids/tx/bpmn/BPMNDataObjectReference.java | UTF-8 | 803 | 2.390625 | 2 | [] | no_license | package ids.tx.bpmn;
import org.w3c.dom.Node;
public class BPMNDataObjectReference extends BPMNItemElement
{
private BPMNData dataObject;
public BPMNDataObjectReference(BPMNElement ambient, Node node)
{
super(ambient,node);
String dataObjectId = getAttributeValue(node,"dataObjectRef");
if(!... | true |
0d16a94bdab8ad1fce7fbbdcdc07f2c8c71ea067 | Java | chhabrarhea/VideoMaker | /app/src/main/java/com/example/videomaker/util/CustomImageView.java | UTF-8 | 2,090 | 2.53125 | 3 | [] | no_license | package com.example.videomaker.util;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.MotionEvent;
import com.bumptech.glide.Glide;
import java.util.ArrayList;
import androidx.annotati... | true |
0e0728f1922335993b02454ada370fbd02430aec | Java | b1ackh00d/SellerTabAutomation_BliBli | /src/test/java/pages/SearchPage.java | UTF-8 | 1,924 | 2.0625 | 2 | [] | no_license | package pages;
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import utils... | true |
2140e71cbcc4ea973a71ede34c7157f3e279a159 | Java | leonlibraries/neural | /src/main/java/cn/ms/neural/common/setting/dialect/Props.java | UTF-8 | 10,543 | 2.671875 | 3 | [
"MIT"
] | permissive | package cn.ms.neural.common.setting.dialect;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.net.Malfo... | true |
0454ef25591d582c920bcb64e92544ac849c82f1 | Java | evavro/Memory-Management-Simulation | /app/models/process/Frame.java | UTF-8 | 322 | 2.265625 | 2 | [] | no_license | package models.process;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import play.db.jpa.Model;
// Represents a frame slot in memory and nothing more
@Entity
public class Frame extends Model {
public int frameId;
public Frame(final int frameId) {
this.frameId = frameId;
save();
}... | true |
9ddc0dbc5ddcd062c62e05d0e1c3342c644aa6e0 | Java | enaawy/gproject | /gp_JADX/com/google/android/finsky/dx/C2914e.java | UTF-8 | 378 | 1.773438 | 2 | [] | no_license | package com.google.android.finsky.dx;
final class C2914e implements Runnable {
public final /* synthetic */ String f15479a;
public final /* synthetic */ C2913d f15480b;
C2914e(C2913d c2913d, String str) {
this.f15480b = c2913d;
this.f15479a = str;
}
public final void run() {
... | true |
e5c342f05c33df1f863c06852e83d00baaa6e02a | Java | trizisbea/serratec-poo | /aula5/src/exercicio3/Estado.java | UTF-8 | 307 | 2.59375 | 3 | [] | no_license | package exercicio3;
public class Estado {
protected static String nomeEstado;
protected static String sigla;
public Estado(String nomeEstado, String sigla) {
super();
this.nomeEstado = nomeEstado;
this.sigla = sigla;
}
public static String getNomeEstado() {
return nomeEstado;
}
}
| true |
32d5236240b5d98be89430b33265153cfabee066 | Java | gpfeifer/eclipse-project-set-editor | /com.csc.dip.projectset/src/com/csc/dip/projectset/ProjectSetContext.java | UTF-8 | 2,207 | 2.03125 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /*******************************************************************************
* Copyright (C) 2018 DXC Technology
*
* 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... | true |
ab60db598f5a20d01065b3e9b219e00bc506abba | Java | RSTREL/JNaviX | /src/com/bbn/openmap/omGraphics/editable/GraphicSetOffsetState.java | UTF-8 | 2,334 | 2.140625 | 2 | [] | no_license | // **********************************************************************
//
// <copyright>
//
// BBN Technologies
// 10 Moulton Street
// Cambridge, MA 02138
// (617) 873-8000
//
// Copyright (C) BBNT Solutions LLC. All rights reserved.
//
// </copyright>
// ***************************************************... | true |
3818e06f748ab73893dec790d43ac49e86ecaa55 | Java | supercube/oop_final | /src/javahacker/Load.java | UTF-8 | 2,286 | 2.75 | 3 | [] | no_license | package javahacker;
import java.io.*;
import java.util.*;
import javax.swing.*;
import javax.swing.border.LineBorder;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseAdapter;
public class Load extends JPanel{
private JLabel Save1;
private JLabel Save2;
private JLabel PrevChosen;
... | true |