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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
87e87a209012452c78ede2fd6c7bb40ef32e725a | Java | iosdouble/support-admin | /ruoyi-admin/src/main/java/com/zk/web/controller/kaquan/WxkqLaunchCardController.java | UTF-8 | 2,730 | 1.960938 | 2 | [
"MIT"
] | permissive | package com.zk.web.controller.kaquan;
import com.zk.common.core.controller.BaseController;
import com.zk.common.core.domain.AjaxResult;
import com.zk.common.utils.http.HttpClientUtil;
import com.zk.common.utils.json.JsonUtil;
import com.zk.system.domain.weixin.accesstoken.AccessToken;
import com.zk.system.domain.weixi... | true |
6ced87ca328e6e647beb348cdbf980bc27ebaa43 | Java | miqreh/pandocreondivinae | /src/vue/VueTexte.java | UTF-8 | 671 | 2.59375 | 3 | [] | no_license | package vue;
import java.awt.Color;
import javax.swing.BoxLayout;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import modele.Partie;
public class VueTexte extends JPanel{
private Partie partie;
private JScrollPane jsp;
public VueTexte(Partie partie){
this.setLayou... | true |
6333fd7fdae0847624a7557be6b7d9cac3e13b01 | Java | camilomolina/plcbus-app | /src/common/src/main/java/cl/bennu/plcbus/common/domain/MovementActionDetail.java | UTF-8 | 998 | 2.15625 | 2 | [] | no_license | package cl.bennu.plcbus.common.domain;
import cl.bennu.plcbus.common.enums.MovementActionTypeEnum;
/**
* Created with IntelliJ IDEA.
* User: _Camilo
* Date: 08-07-13
* Time: 08:41 AM
*/
public class MovementActionDetail extends BaseDomain {
private MovementAction movementAction;
private Device device;
... | true |
7bf408494b42713b6370fd00c86c0a57b841815a | Java | skltp-anpassningstjanster/riv.insuranceprocess.healthreporting.ForsakringskassanAdapterService | /FkEintygAdapterIC-validator/src/main/java/se/skl/skltpservices/adapter/fk/sendmedcertanswer/VardRequest2FkValidator.java | UTF-8 | 5,108 | 1.859375 | 2 | [] | no_license | /**
* Copyright (c) 2014 Inera AB, <http://inera.se/>
*
* This file is part of SKLTP.
*
* This library 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 Foundation; either
* version 2.1 of the License... | true |
f65ae33f62857dcb645e130b13c15db309ed7935 | Java | lastfreeacc/try-event-proc | /consumer/src/main/java/ru/lastfreeacc/consumer/Runner.java | UTF-8 | 705 | 2.0625 | 2 | [] | no_license | package ru.lastfreeacc.consumer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Runner implemen... | true |
2df6281fa602a22f0c491ab25553ab4ac0db7b55 | Java | RomainChrfz/GestionBudgetApp | /app/src/main/java/fr/romaincharfaz/mapremiereapp/controleur/Dashboard.java | UTF-8 | 17,856 | 1.648438 | 2 | [
"MIT"
] | permissive | package fr.romaincharfaz.mapremiereapp.controleur;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.ListPopupWindow;
import androidx.core.content.ContextCompat;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProvider;
import a... | true |
a3933edd5890e96f2ce4d0d9be6e13e3ff1a90c8 | Java | abdelmonaimsalhaoui/Java_Revision | /RuntimePolymorphism/src/example/OverloadingError.java | UTF-8 | 510 | 2.984375 | 3 | [] | no_license | package example;
public class OverloadingError {
public static void aMethod(byte a) {
System.out.println("byte");
}
public static void aMethod(short b) {
System.out.println("short");
}
public static void aMethod(double c) {
System.out.println("double");
}
public static void aMethod(int a, long b) ... | true |
5fc3423427950000258c3f3d63485e74bdccd6c7 | Java | AaronMelcher/IndividualWork | /src/objectOrientedProgramming/GreeterTest.java | UTF-8 | 245 | 2.9375 | 3 | [] | no_license | package objectOrientedProgramming;
public class GreeterTest {
public static void main(String[] args) {
// TODO Auto-generated method stub
Greeter bob = new Greeter();
bob.setAge(99);
System.out.print(bob.getAge());
}
}
| true |
88e9f71a936e871a1c65d14ba665683085862c83 | Java | CocoaK/java-project-source | /smarthome-web_lqh/src/main/java/com/biencloud/smarthome/web/log/service/impl/ClientLogServiceImpl.java | UTF-8 | 3,974 | 1.929688 | 2 | [] | no_license | package com.biencloud.smarthome.web.log.service.impl;
import java.util.Date;
import java.util.List;
import com.biencloud.smarthome.web.base.service.BaseService;
import com.biencloud.smarthome.web.common.util.DateTimeUtil;
import com.biencloud.smarthome.web.common.util.MapUtil;
import com.biencloud.smarthome.web.commo... | true |
6619f6d92698b63f5fd728610ad13d83a8428ea1 | Java | crismdq22/Compiler | /src/CodigoIntermedio/ConvertidorAssembler.java | UTF-8 | 7,476 | 2.578125 | 3 | [] | no_license | package CodigoIntermedio;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import AnalizadorLexico.TablaSimbolos;
public class ConvertidorAssembler {
public static final String labelDivCero = "LabelDivCero";
public ... | true |
2afa279f71ca41f282416a8468d7cbb39e024db9 | Java | AlvaroZapata/Dominos | /src/main/java/pizzas/propertyeditors/IngredientePropertyEditor.java | UTF-8 | 609 | 2.359375 | 2 | [] | no_license | package pizzas.propertyeditors;
import java.beans.PropertyEditorSupport;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import pizzas.modelo.entidades.Ingredientes;
import pizzas.modelo.repositorio.IngredienteRepositorio;
@Component
public class Ingre... | true |
054edb561203d10028787cb762a7bcbadde45105 | Java | Celicath/CopycatMod | /src/main/java/TheCopycat/cards/monster/SummonMonsterCard.java | UTF-8 | 6,288 | 2.078125 | 2 | [
"MIT"
] | permissive | package TheCopycat.cards.monster;
import TheCopycat.CopycatModMain;
import TheCopycat.actions.SummonCopycatMinionAction;
import TheCopycat.friendlyminions.MirrorMinion;
import TheCopycat.utils.GameLogicUtils;
import TheCopycat.utils.MonsterCardMoveInfo;
import basemod.AutoAdd;
import basemod.helpers.TooltipInfo;
impor... | true |
6abf60ef6f0b1c960fee6b7dd7fcbb7be9cf62dc | Java | tgrundtvig/LegoWiFiTrainProject | /NetbeansProject/LegoWiFiTrainProjectV1.1/src/legotrainproject/locomotive/LocomotiveListener.java | UTF-8 | 258 | 1.882813 | 2 | [] | no_license | /*
* Not licensed yet, use at your own risk, no warrenties!
*/
package legotrainproject.locomotive;
/**
*
* @author Tobias Grundtvig <tgrundtvig@gmail.com>
*/
public interface LocomotiveListener
{
public void onPositionChange(Locomotive loco, int pos, int magnetTime);
}
| true |
f6aec79e4205d48cc2b801799e9a4bc7db8f0b69 | Java | doep-manual/CMON-App | /cmon-app-portlet/docroot/WEB-INF/service/org/oep/cmon/dao/report/model/Lephi_tonghopSoap.java | UTF-8 | 3,648 | 1.875 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
*
* This library 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 Foundation; either version 2.1 of the License, or (at your option)
* any later... | true |
767be1ab5eccdbf5af73dd16799bc898fb992dde | Java | cha63506/CompSecurity | /JC-Penney/src/com/jcp/activities/SameDayPickUpCustomerServiceWebView.java | UTF-8 | 2,301 | 1.585938 | 2 | [] | no_license | // Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.jcp.activities;
import android.app.ActionBar;
import android.app.ProgressDialog;
import android.content.Intent;
import android.conte... | true |
ff5a31cb15a0b1e73324d933517a2f8d95a4caae | Java | mswiderski/qs-playground | /jbpm/jbpm-flow/src/main/java/org/jbpm/process/instance/LightProcessRuntimeServiceProvider.java | UTF-8 | 1,229 | 2.109375 | 2 | [
"Apache-2.0"
] | permissive | package org.jbpm.process.instance;
import java.util.Optional;
import org.jbpm.process.instance.impl.DefaultProcessInstanceManager;
import org.kie.services.signal.LightSignalManager;
import org.kie.services.signal.SignalManager;
import org.kie.services.time.TimerService;
import org.kie.services.time.impl.JDKTimerServi... | true |
99e0aaee2abb695f9d114d617a15eceb46a4928c | Java | nevella/alcina | /framework/gwt/src/cc/alcina/framework/gwt/persistence/client/KeyValueStore.java | UTF-8 | 1,451 | 2.21875 | 2 | [] | no_license | package cc.alcina.framework.gwt.persistence.client;
import java.util.List;
import com.google.gwt.user.client.rpc.AsyncCallback;
import cc.alcina.framework.common.client.logic.reflection.Registration;
import cc.alcina.framework.common.client.logic.reflection.registry.Registry;
@Registration.Singleton
public class Ke... | true |
a8f650ce4ee03113ffa78ab4e5c12c6477854c24 | Java | boris9264/concurrent | /src/main/java/com/boris/learn/concurrent/part1/demo06/render/ImageInfo.java | UTF-8 | 796 | 3.140625 | 3 | [] | no_license | package com.boris.learn.concurrent.part1.demo06.render;
public class ImageInfo {
private String imgName;
private ImageData imageData;
public ImageInfo(String imgName, ImageData imageData) {
this.imgName = imgName;
this.imageData = imageData;
}
public String getImgName() {
... | true |
2b21322c3b2893924e29def8f43e955d3eca0a10 | Java | dnkilic/android-karabasan | /app/src/main/java/com/dnkilic/karabasan/Candidate.java | UTF-8 | 514 | 2.46875 | 2 | [] | no_license | package com.dnkilic.karabasan;
public class Candidate {
String name;
Integer age;
Integer height;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public void setAge(Integer age) {
this.age = age;
}
publ... | true |
3afaf08380e2e7ab8f8dfb9a32ab82881c5aeada | Java | Antonisiy/ListTaskAndroid | /app/src/main/java/com/example/anton/listtask/SectionListView.java | UTF-8 | 616 | 2.34375 | 2 | [] | no_license | package com.example.anton.listtask;
import android.app.ListActivity;
import android.os.Bundle;
public class SectionListView extends ListActivity {
private CustomAdapter mAdapter;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
/*... | true |
a7a3087b3a08172d157c80eeaba5ff7863cb324a | Java | led-os/SeexLove | /app/src/main/java/com/chat/seecolove/widget/CustomAttachment.java | UTF-8 | 1,372 | 2.40625 | 2 | [] | no_license | package com.chat.seecolove.widget;
import com.netease.nimlib.sdk.msg.attachment.MsgAttachment;
import org.json.JSONException;
import org.json.JSONObject;
import com.chat.seecolove.constants.Constants;
public class CustomAttachment implements MsgAttachment {
private int type = 0;
private Strin... | true |
e276edb64b21d46a3886bffba240e547b805617c | Java | mjparrott/Lumines | /src/Lumines.java | UTF-8 | 326 | 2.546875 | 3 | [] | no_license | /**
* Name: Michael Parrott
* Date: June 17, 2011
* Course code: ICS4U1
* Title: Lumines
* Description: A Lumines game coded in Java
* Notes:
*
* @author Michael Parrott
*/
public class Lumines
{
public static void main( String[] args ) throws Exception
{
LuminesGUI game = new LuminesGUI();
//Run the... | true |
9eec7d6dd59972d520c625fe53197ba3bfbb7142 | Java | jesushernandez/MapReduceQoS | /src/scheduler/SimulatorConfig.java | UTF-8 | 2,629 | 2.859375 | 3 | [] | no_license | package scheduler;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import com.thoughtworks.xstream.XStream;
public class SimulatorConfig {
// XStream for object (de)serialization
private static XStream ... | true |
3a93de6bb2062a1909949c630b61aac74eb981f3 | Java | richiejk/VT | /app/src/main/java/com/richiejk/voyagetales/api/APIManager.java | UTF-8 | 2,364 | 2.25 | 2 | [] | no_license | package com.richiejk.voyagetales.api;
import android.content.Context;
import android.util.Log;
import com.richiejk.voyagetales.common.Finals;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import... | true |
0ec406094aa1caadb753373167c23d02f8f900ce | Java | vmarpadge/SGPA-Calculator | /sgpa.java | UTF-8 | 642 | 3.171875 | 3 | [] | no_license | import java.util.Scanner;
public class sgpa {
public static void main(String[] args){
System.out.println("Welcome To The SGPA Calculator");
Scanner scanner = new Scanner(System.in);
System.out.println("Enter The Number OF Credit Elements");
int x = scanner.nextInt();
double sum =0;
System.out.println(... | true |
0c04f31f240edefabd7d435eb1f07e4ecf02e65e | Java | zanikolov/KalafcheRepo | /KalafcheBackend/src/main/java/com/kalafche/model/PastPeriodSaleReport.java | UTF-8 | 2,109 | 2.25 | 2 | [] | no_license | package com.kalafche.model;
import java.util.List;
public class PastPeriodSaleReport {
Integer selectedMonthDay;
Integer selectedMonthMonth;
Integer selectedMonthYear;
Integer prevMonthDay;
Integer prevMonthMonth;
Integer prevMonthYear;
Integer prevYearDay;
Integer prevYearMonth;
Integer prevYearYear;
List... | true |
38003729e2682ca90f026579e8b35207c10e55bf | Java | jdayih/RecipebookAPI | /src/main/java/com/example/demo/rest/RecipeController.java | UTF-8 | 1,619 | 2.203125 | 2 | [] | no_license | package com.example.demo.rest;
import java.util.List;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Path... | true |
a9535d195984905651319bc79c2f37941032fd50 | Java | FlorianPatzer/symp_analysis_hub | /src/main/java/de/fraunhofer/iosb/svs/analysishub/data/service/PhaseService.java | UTF-8 | 2,928 | 2.578125 | 3 | [
"MIT"
] | permissive | package de.fraunhofer.iosb.svs.analysishub.data.service;
import de.fraunhofer.iosb.svs.analysishub.URIUtil;
import de.fraunhofer.iosb.svs.analysishub.data.entity.Phase;
import de.fraunhofer.iosb.svs.analysishub.exceptions.ResourceNotFoundException;
import org.springframework.beans.factory.annotation.Autowired;
import... | true |
7a49671c60d7a8e85f33f2765407d328d34297c1 | Java | JavaAdore/Restaurant-Management-System | /src/main/java/com/itigeeks/restaurant/dataaccess/dao/ResUserDAO.java | UTF-8 | 1,508 | 1.960938 | 2 | [] | no_license | package com.itigeeks.restaurant.dataaccess.dao;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;
import com.itigeeks.restaurant.common.entity.schema.ResUser;
import com.itigeeks.restaurant.common.enums.QueryConjunctionType;
/**
*
* @author ITI GEEKS
*
*/
@Reposit... | true |
ea49b4d0ded6a82522c57af7d21c86aeb8f4e9d7 | Java | jasonzhoumj/lac3 | /lac3/lac3-web/src/main/java/com/linkallcloud/web/face/processor/PackageXmlProcessor.java | UTF-8 | 764 | 2.015625 | 2 | [] | no_license | package com.linkallcloud.web.face.processor;
import java.lang.reflect.Type;
import com.linkallcloud.web.face.annotation.Face;
import com.linkallcloud.core.exception.BaseException;
import com.linkallcloud.core.face.message.FaceMessage;
public class PackageXmlProcessor extends PackageRequestProcessor {
public Pac... | true |
fe94013b030cf77f11a76bbfc0ce4b7b91cd4a99 | Java | tdk928/futureAngularProject | /future/src/main/java/softuni/shop/future/product/controller/TagController.java | UTF-8 | 1,199 | 2.1875 | 2 | [] | no_license | package softuni.shop.future.product.controller;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestControll... | true |
cb1b0e5f16db3660cc3937a13ce92ead1461ec7f | Java | iluoyi/datastr-algorithms | /src/leetcode/SwapNodesInPairs.java | UTF-8 | 995 | 3.546875 | 4 | [] | no_license | package leetcode;
public class SwapNodesInPairs {
public ListNode swapPairs(ListNode head) {
return reverseKGroup(head, 2);
}
public ListNode reverseKGroup(ListNode head, int k) {
if (head == null || k <= 0) {
return head;
}
int len = 0; // the length of the list
ListNode crt = head;
Li... | true |
bf8b40521c238964c36ba75c1b803c4ab8da6ad2 | Java | FaraRashid/lesson | /src/ATMPackage/MainATM.java | UTF-8 | 2,251 | 3.15625 | 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 ATMPackage;
import ATMPackage.ATM;
import java.util.Scanner;
import javax.swing.JOptionPane;
/**
*
* @author izyan rosni
*... | true |
9910ce23d82b09997db4495352ce6e7a83c119f5 | Java | RationaleEmotions/SimpleSe | /src/main/java/com/rationaleemotions/page/WebElementType.java | UTF-8 | 1,631 | 3.203125 | 3 | [
"Apache-2.0"
] | permissive | package com.rationaleemotions.page;
/**
* Represents the types of webelements that are supported by this library.
*/
public enum WebElementType {
/**
* Represents a button.
*/
BUTTON("button"),
/**
* Represents a checkbox
*/
CHECKBOX("checkbox"),
/**
* Represents a form element.
*/
FOR... | true |
40369dde294952adc018ec4c94bcb0f2e5117d09 | Java | craigenn/CS2004 | /CS2004_Lab12/src/CS2004.java | UTF-8 | 2,814 | 3.25 | 3 | [] | no_license |
import java.util.*;
import java.io.*;
//Some useful code that we will probably reuse in later laboratories...
public class CS2004
{
static String filename = "1000Primes.txt";
public static void main(String args[])
{
ArrayList<Double> res = new ArrayList<Double>();
//relative file path since i... | true |
f311cfebf8661b0c1bf0e30a1bbc6f2fb7084044 | Java | hiivenky/labbook | /JpaLabbook/src/main/java/com/cg/jpalabbook/dao/BookDaoImpl.java | UTF-8 | 1,986 | 2.640625 | 3 | [] | no_license | package com.cg.jpalabbook.dao;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.EntityTransaction;
import javax.persistence.Persistence;
import javax.persistence.Query;
import com.cg.jpalabbook.dto.Author;
import com.c... | true |
eed8c9b2e9739b65c1c12a2a35874ede31f84bdb | Java | belonesox/stas-candlepin | /common/src/test/java/org/candlepin/common/config/MapConfigurationTest.java | UTF-8 | 11,604 | 2.234375 | 2 | [] | no_license | /**
* Copyright (c) 2009 - 2012 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have rec... | true |
92cb021c25d9361e4f1b053deaa050145ed8e986 | Java | deshamtejasvi/NJITmoodle | /src/update.java | UTF-8 | 3,124 | 2.390625 | 2 | [] | no_license | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servl... | true |
2e875042efea51c3ee2d49e271a101493876866e | Java | Xia-24/MyFlinkDemo | /src/main/java/com/meituan/flinkdemo/MafkaOrKafka/LocalKafakProducer.java | UTF-8 | 1,854 | 2.578125 | 3 | [] | no_license | package com.meituan.flinkdemo.MafkaOrKafka;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerRecord;
import java.util.Properties;
import java.util.Random;
public class LocalKafakProducer {
private Random r = new Random();
public static final String[] H... | true |
23fe61cf956504530c733a7043a79d3a315f4ee9 | Java | Kevine97/Prograamacion-en-JAVA | /POO_Sistematico/src/poo_sistematico/POO_Sistematico.java | UTF-8 | 8,219 | 3.4375 | 3 | [] | no_license | package poo_sistematico;
import java.util.Scanner;
public class POO_Sistematico {
//Metodo para verificar si el numero de cuenta existe
public static int buscarCuenta(Cuenta t[], int numeroCuenta, int contadorCuenta) {
int indice = 0;
boolean encontrado = false;
for (int i = 0; i <... | true |
43445238614f2aca36e7b10460d9331c0b6302a0 | Java | gengrz/standard | /src/com/fox/FollowTest.java | UTF-8 | 906 | 2.4375 | 2 | [] | no_license | package com.fox;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import com.alibaba.fastjson.JSONObject;
import cn.hutool.core.io.FileUtil;
public class FollowTest {
public static void main(String[] args) {
String listStr = FileUtil.readString("./follow.json", "utf-8");
List<PhoneData... | true |
46b8780700bb188c846960e423db5fc2c03ec62d | Java | GuoEH/WRichEditor-Android | /library/src/main/java/cn/carbs/wricheditor/library/utils/ParserUtil.java | UTF-8 | 15,183 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package cn.carbs.wricheditor.library.utils;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import org.json.JSONArray;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.regex.Matcher;
impo... | true |
ce60340176143aa314c0e7038dce4caa5734766a | Java | apache/lucene | /lucene/core/src/java/org/apache/lucene/util/LongsRef.java | UTF-8 | 5,231 | 2.875 | 3 | [
"Apache-2.0",
"MIT",
"NAIST-2003",
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-unicode",
"LGPL-2.0-or-later",
"ICU",
"LicenseRef-scancode-unicode-mappings",
"CC-BY-SA-3.0",
"Python-2.0",
"LicenseRef-scancode-other-copyleft"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | true |
1ee20ff566e5f0d646477abd8a37b2b3a74206fc | Java | HsuJv/Note | /Code/Java/Se2/Chapter 03/Exercise 01/Solution/TaskProcessor.java | UTF-8 | 199 | 2.4375 | 2 | [] | no_license | package chapter03;
public class TaskProcessor<X>
{
private X value;
public TaskProcessor(X v)
{
value = v;
}
public X getTaskP()
{
return value;
}
}
| true |
66f8e8f7c1d11a2d4415b9b0e116a0af0c4db43a | Java | JarekSobczak/fileToDataBaseManager | /src/main/java/pl/brite/ownProject/fileToDb/service/JsonService.java | UTF-8 | 807 | 2.328125 | 2 | [] | no_license | package pl.brite.ownProject.fileToDb.service;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import pl.brite.ownProject.fileToDb.model.Customer;
import java.io.File;
import java.io.IOException;
import java.util.List;
public class JsonService {
pr... | true |
0c0c603c601244ee1fbac28b6666879301ee603e | Java | gbonk/HermesJMS | /src/java/org/objectweb/joram/client/jms/admin/Subscription.java | UTF-8 | 332 | 1.523438 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | package org.objectweb.joram.client.jms.admin;
public class Subscription {
public Object getTopicId() {
// TODO Auto-generated method stub
return null;
}
public String getName() {
// TODO Auto-generated method stub
return null;
}
public String isDurable() {
// TODO Auto-generated method stub
return ... | true |
ce63d05923adc9a735f3c88694e58ecb6b2e5ed0 | Java | tahametal/HR-Manager | /src/main/java/com/sqli/rh_manager/entities/Bu.java | UTF-8 | 1,561 | 2.1875 | 2 | [] | no_license | package com.sqli.rh_manager.entities;
// Generated Dec 19, 2013 6:37:54 PM by Hibernate Tools 3.2.1.GA
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id... | true |
daecaa36d9c7e52db7c2a0d782757d54905b7930 | Java | wjW901314/ERP | /src/main/java/com/wd/erp/service/impl/BasisUserRoleServiceImpl.java | UTF-8 | 2,391 | 2.171875 | 2 | [] | no_license | package com.wd.erp.service.impl;
import com.wd.erp.mapper.BasisUserRoleMapper;
import com.wd.erp.model.BasisUserRole;
import com.wd.erp.model.ResultJson;
import com.wd.erp.service.BasisUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ... | true |
70ad9d5fb464df2f0e488069af37e7ed46d37829 | Java | termxz/LiveReport | /src/main/java/io/termxz/bungee/LiveBridge.java | UTF-8 | 1,180 | 2.21875 | 2 | [] | no_license | package io.termxz.bungee;
import net.md_5.bungee.api.event.PluginMessageEvent;
import net.md_5.bungee.api.plugin.Listener;
import net.md_5.bungee.api.plugin.Plugin;
import net.md_5.bungee.event.EventHandler;
public class LiveBridge extends Plugin implements Listener {
private static final String CHANNEL_NAME_IN ... | true |
4276af7283af57483fd96e343177a8741f496a7c | Java | NicoCometta/TP1_AlgoBay_java | /src/fiuba/algo3/AlgoBay/AlgoBay.java | UTF-8 | 1,760 | 2.953125 | 3 | [] | no_license | package fiuba.algo3.AlgoBay;
import com.sun.org.apache.regexp.internal.RE;
import java.util.ArrayList;
/**
* Created by nico on 29/10/17.
*/
public class AlgoBay {
private ArrayList<Producto> listaProductos;
public AlgoBay(){
this.listaProductos = new ArrayList<>();
}
public int getCanti... | true |
f29d2698e0b9287c7488e897be92d41fd1d1aae7 | Java | pcieszynski/tablettop-rpg | /src/main/java/com/ender/tablettop/service/dto/PlayerMessageDTO.java | UTF-8 | 2,840 | 2.484375 | 2 | [] | no_license | package com.ender.tablettop.service.dto;
import java.io.Serializable;
import java.util.Objects;
import javax.persistence.Lob;
/**
* A DTO for the PlayerMessage entity.
*/
public class PlayerMessageDTO implements Serializable {
private Long id;
@Lob
private String message;
private String attack;
... | true |
5fea233b097ff9edc5685c7e060b20ae5979e813 | Java | miguellysanchez/realmexamples | /app/src/main/java/com/example/realmexample/part2/realmobjects/DogRO.java | UTF-8 | 690 | 2.625 | 3 | [] | no_license | package com.example.realmexample.part2.realmobjects;
import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;
/**
* Created by miguellysanchez on 8/7/17.
*/
public class DogRO extends RealmObject {
@PrimaryKey
private String name;
private String breed;
private int age;
public Stri... | true |
98f1e6263111d3fd85a0f3ada284d889ab2d535d | Java | apotukareon/hibersap | /hibersap-core/src/main/java/org/hibersap/configuration/xml/Property.java | UTF-8 | 3,039 | 2.1875 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2008-2019 akquinet tech@spree GmbH
*
* This file is part of Hibersap.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this software except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | true |
622cf2cfc24e77fd2cd0b5650b519ef77bac29d2 | Java | percussion/percussioncms | /projects/sitemanage/src/main/java/com/percussion/sitemanage/data/PSSiteImportCtx.java | UTF-8 | 6,337 | 1.875 | 2 | [
"LicenseRef-scancode-dco-1.1",
"Apache-2.0",
"OFL-1.1",
"LGPL-2.0-or-later"
] | permissive | /*
* Copyright 1999-2023 Percussion Software, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | true |
eca53c9debdc0f1a31ef40d48eebdea81e0c9278 | Java | cpchu/heps-db-param_list | /src/java/heps/db/param_list/ejb/ReferenceFacade.java | UTF-8 | 1,708 | 2.375 | 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 heps.db.param_list.ejb;
import static heps.db.param_list.ejb.UnitFacade.em;
import heps.db.param_list.entity.Reference... | true |
2af89a6e10d3321d74020cfd50609d267c346f12 | Java | haikelei/ChaoKe | /app/src/main/java/luyuan/tech/com/chaoke/activity/AddHouseActivity.java | UTF-8 | 6,709 | 1.835938 | 2 | [] | no_license | package luyuan.tech.com.chaoke.activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import com.zhouyou.http.callback.SimpleCallBack;
import ... | true |
56d8f4f2dc097ef87d708b13abc8c88c19a9016b | Java | ljsnake/RSERP | /src/com/fudan/rserp/module/yhgl/YhglService.java | UTF-8 | 3,037 | 2 | 2 | [] | no_license | package com.fudan.rserp.module.yhgl;
import java.util.List;
import com.fudan.rserp.config.model.TbErpUser;
import com.fudan.rserp.module.base.BaseGetSessionValue;
import com.fudan.rserp.util.PageSet;
import com.hp.ipg.security.PasswordManager;
import com.hp.ipg.security.PasswordManagerException;
public class YhglSer... | true |
54cb2b4662f09165e1c245d52bae39fd93fcc390 | Java | StandCN/Project-M | /service/user/src/main/java/com/hellcat/user/UserApplication.java | UTF-8 | 720 | 1.695313 | 2 | [
"Apache-2.0"
] | permissive | package com.hellcat.user;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories;
import org.s... | true |
aaa4a361384c04c5524cfcd94d4bdc010f83cae2 | Java | aysenurcelik/NorthWindFinal | /northWindProject/src/main/java/com/northWind/northWindProject/entities/conretes/Cart.java | UTF-8 | 821 | 2.125 | 2 | [] | no_license | package com.northWind.northWindProject.entities.conretes;
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 com.northWind.northWindProject.entities.ab... | true |
fc2513b334d258f879bc900e1bed00354f6c62f1 | Java | cengizgoren/facebook_apk_crack | /app/com/facebook/katana/activity/media/vault/VaultOptInControlFragment.java | UTF-8 | 787 | 1.570313 | 2 | [] | no_license | package com.facebook.katana.activity.media.vault;
import android.os.Bundle;
import android.text.Html;
import android.view.View;
import android.widget.TextView;
import com.facebook.orca.common.util.StringLocaleUtil;
public class VaultOptInControlFragment extends VaultSimpleOptInFragment
{
public void d(Bundle paramB... | true |
adc3ff2c8c8736729b60983610d661c190bc483f | Java | zuzya/proxyTest | /src/me/proxy/storage/impl/DBStorageReader.java | UTF-8 | 3,976 | 2.265625 | 2 | [] | no_license | package me.proxy.storage.impl;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.sql.Blob;
import java.sql.C... | true |
07397b073768c30bcce266eb015d86cf85a86366 | Java | salmawardha/Pemrograman-1 | /flipLines.java | UTF-8 | 502 | 3.109375 | 3 | [] | no_license | import java.io.*;
import java.util.*;
public class flipLines {
public static void main(String[] args) throws FileNotFoundException {
Scanner input = new Scanner(new File("fliplines.txt"));
flipLines(input);
}
public static void flipLines(Scanner input) {
while (input.hasNextLine()) {
S... | true |
6a2280f53f66905f2110280fafe9bc9fc2b15fdd | Java | Zumbalamambo/PullLayout | /app/src/main/java/com/d/pulllayout/pull/activity/RecyclerViewActivity.java | UTF-8 | 1,392 | 2.25 | 2 | [
"Apache-2.0"
] | permissive | package com.d.pulllayout.pull.activity;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import com.d.pu... | true |
81a12a48c10ea1555f095596ad5a727126f1dda8 | Java | 3ntropia/ProgramacionIII | /TP1/src/indiceN/MainIndiceN.java | UTF-8 | 543 | 3.015625 | 3 | [] | no_license | package indiceN;
import Implementaciones.Vector;
import TDA.VectorTDA;
/**
* @author martinh
*
*/
public class MainIndiceN {
public static void main(String[] args) {
try {
VectorTDA<Integer> vec = new Vector<Integer>();
vec.inicializarVector(50);
for (int i = 0; i < 50; i++) {
vec.... | true |
cbabc4c1c064a697af743d24cf39963395adb2c0 | Java | SpongePowered/SpongeAPI | /src/main/java/org/spongepowered/api/entity/EntitySnapshot.java | UTF-8 | 6,257 | 1.78125 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | /*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | true |
bba6542ae66d079608a9d53629e38351c622af12 | Java | FaNaTiKoRn/SB | /src/sb_jtorres/DBConnect.java | UTF-8 | 3,803 | 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.
*/
/*
In general, to process any SQL statement with JDBC, you follow these steps:
1.- Establishing a connection.
2.- C... | true |
e0f6ce12de624d849177b1f54489bb92944f399b | Java | fmisiarz/kodilla-testing | /kodilla-testing/src/main/java/com/kodilla/testing/collection/OddNumbersExterminator.java | UTF-8 | 417 | 3.046875 | 3 | [] | no_license | package com.kodilla.testing.collection;
import java.util.ArrayList;
public class OddNumbersExterminator {
public ArrayList<Integer> exterminate(ArrayList<Integer> number) {
ArrayList<Integer> numbers2 = new ArrayList<Integer>();
for (Integer numbers : number) {
if (numbers % 2 == 0) {... | true |
ab82202b0d53a66a14402c3f8ef98b1e711b090f | Java | vishal1975/ATM | /AtmMachine/src/atm/Account.java | UTF-8 | 1,206 | 2.984375 | 3 | [] | no_license | package atm;
public class Account {
private int AccountNo;
private int age;
private String name;
private int CurrentAmount;
private int password;
Account(int AccountNo,int age,String name,int CurrentAmount,int password){
this.AccountNo=AccountNo;
this.age=age;
this.CurrentAmount=CurrentAmount;
this... | true |
dc0c98951e3a7c85592380a28eb792fb0420862d | Java | wasadmin/ewallet | /CentralSwitchClient/src/zw/co/esolutions/ewallet/merchantservices/service/ObjectFactory.java | UTF-8 | 74,890 | 1.609375 | 2 | [] | no_license | //
// Generated By:JAX-WS RI IBM 2.1.6 in JDK 6 (JAXB RI IBM JAXB 2.1.10 in JDK 6)
//
package zw.co.esolutions.ewallet.merchantservices.service;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
*... | true |
07267c6c8f3d425ca0dee853c3766d78eb3ee7ad | Java | smaharjan99/coffee | /CollectionDEMO/src/com/cubic/training/collectionexercise/PriorityQueueDemo.java | UTF-8 | 696 | 3.234375 | 3 | [] | no_license | package com.cubic.training.collectionexercise;
import java.util.PriorityQueue;
public class PriorityQueueDemo {
public static void main(String[] args) {
PriorityQueue<String> pq = new PriorityQueue<String>();
pq.add("abid");
pq.add("azeem");
pq.add("lokesh");
pq.add("brad");
//pq.add("abid");
Syste... | true |
e80ba6d1934ecf08d0cff1be88ce041a30c88f24 | Java | t051506/alloy-common | /alloy-common-sentinel/src/main/java/com/alloy/cloud/common/sentinel/handle/CloudUrlBlockHandler.java | UTF-8 | 1,260 | 2.015625 | 2 | [] | no_license |
package com.alloy.cloud.common.sentinel.handle;
import cn.hutool.http.ContentType;
import com.alibaba.csp.sentinel.adapter.spring.webmvc.callback.BlockExceptionHandler;
import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeatur... | true |
5bf0c04de1bf96cc98910350fa571bb73869a0a6 | Java | AHeartMan/simple-java | /simple-java-nio/src/main/java/com/alsace/simplejavanio/blockingnio/Main.java | UTF-8 | 308 | 2 | 2 | [] | no_license | package com.alsace.simplejavanio.blockingnio;
/**
* <p>
*
* </p>
*
* @author sangmingming
* @since 2019/10/25 0025
*/
public class Main {
public static void main(String[] args) throws Exception {
TestBlockingNio blockingNio = new TestBlockingNio();
blockingNio.client();
}
}
| true |
9de9eed952eafa942e2032f7b529f056fff0e16f | Java | honglou2001/ejb1 | /ejbpro1/src/com/watch/ejb/LocElectfenceBean.java | UTF-8 | 17,392 | 2.21875 | 2 | [] | no_license | package com.watch.ejb;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.UUID;
import java.util.logging.Logger;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
/**
* <p>
* Ti... | true |
485613810274083d277d424e00b8b99bead1ea70 | Java | noatmc-archived/jigokusense-leak | /botnet/auth/jigokusense/manager/RotationManager.java | UTF-8 | 2,654 | 2.375 | 2 | [] | no_license | //Deobfuscated with https://github.com/SimplyProgrammer/Minecraft-Deobfuscator3000 using mappings "C:\Users\autty\Downloads\Minecraft-Deobfuscator3000-master\Minecraft-Deobfuscator3000-master\1.12 stable mappings"!
/*
* Decompiled with CFR 0.151.
*
* Could not load the following classes:
* net.minecraft.entity.p... | true |
3620a22a3cc0a9fe4a74e703459b664d01fd2b2f | Java | sopiseiro/pdv | /src/pdvjonatas/buscar_cliente.java | UTF-8 | 8,422 | 2.09375 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* buscar_cliente.java
*
* Created on 13/08/2011, 09:32:02
*/
package pdvjonatas;
import utilitarios.bd;
import utilitarios.mySql;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.t... | true |
c79836c0e7c6f66817dcecb503ee11344b584175 | Java | tian-qingzhao/design-pattern | /src/main/java/com/tqz/pattern/decorator/batterback/v2/BaseBattercake.java | UTF-8 | 298 | 2.46875 | 2 | [] | no_license | package com.tqz.pattern.decorator.batterback.v2;
/**
* @Author: tian
* @Date: 2020/4/22 21:26
* @Desc:
*/
public class BaseBattercake extends Battercake {
@Override
public String msg() {
return "煎饼";
}
@Override
public int price() {
return 5;
}
}
| true |
b5ce9e2047697d59209909e65b71c908bbd12e2a | Java | RevatureRobert/pet-tribble-lopezjronald | /src/main/java/net/revature/enterprise/pettribble/service/PetTribbleImpl.java | UTF-8 | 7,122 | 2.796875 | 3 | [] | no_license | package net.revature.enterprise.pettribble.service;
import net.revature.enterprise.pettribble.model.PetTribble;
import java.sql.*;
import java.util.ArrayList;
import java.util.Scanner;
public class PetTribbleImpl implements PetTribbleDao {
public static final String COLUMN_ID = "id";
public static final Str... | true |
941e4d114daa537e6245b16458dc6a15e213a51a | Java | jczapiewski/Design-Patterns | /src/main/java/co/devfoundry/designpatterns/command/Main.java | UTF-8 | 881 | 2.59375 | 3 | [] | no_license | package co.devfoundry.designpatterns.command;
import co.devfoundry.designpatterns.command.command.MusicPlayerRemote;
import co.devfoundry.designpatterns.command.command.PlayFirstTrack;
import co.devfoundry.designpatterns.command.command.PlayNextTrack;
import co.devfoundry.designpatterns.command.command.PlayRandomTrack... | true |
1ef738f32d0fbef2204d575d88ab2878c593dd97 | Java | GerardoUPM/dsvp-rest | /src/main/java/edu/ctb/upm/midas/client_modules/extraction/wikipedia/texts_extraction/api_response/WikipediaTextsExtractionService.java | UTF-8 | 763 | 1.921875 | 2 | [] | no_license | package edu.ctb.upm.midas.client_modules.extraction.wikipedia.texts_extraction.api_response;
import edu.ctb.upm.midas.model.extraction.wikipedia.texts_extraction.request.Request;
import edu.ctb.upm.midas.model.extraction.common.request.RequestJSON;
import edu.ctb.upm.midas.model.extraction.common.response.Response;
/... | true |
6312c141cb57461dcb34dd632e9bf09054df6e66 | Java | N-Ibrahimi/Java | /Tree/BinarySearchTree.java | UTF-8 | 2,130 | 3.5625 | 4 | [] | no_license | package binarysearchtree;
public class tre {
public Node root;
public int nelms;
public tre(){
root = null;
nelms = 0;
}
public void display(){
inorder(root);
}
public void inorder(Node c){
if(c != null){
inorder(c.left);
System.out.println(c.data);
inorder(c.right);
}
}
public void... | true |
c34da563f0958bcf773e8a532cee4ad75b2574e0 | Java | 37bhushan/Google-Applied-CS-With-Android-Exercises | /Ghost Single Player/ghost_starter/app/src/main/java/com/google/engedu/ghost/TrieNode.java | UTF-8 | 1,754 | 2.953125 | 3 | [] | no_license | package com.google.engedu.ghost;
import java.util.LinkedList;
public class TrieNode {
char content;
boolean isEnd;
int count;
LinkedList<TrieNode> childList;
// private HashMap<String, TrieNode> children;
//private boolean isWord;
public TrieNode(char c) {
// childre... | true |
438fc88ed4762a6c6c870267e6e8e6f4f87343c0 | Java | ripulca/lgtuch | /prog1/src/com/company/Shape.java | UTF-8 | 147 | 2.390625 | 2 | [] | no_license | package com.company;
public abstract class Shape {
public abstract double getSurfaceSquare();
public abstract double getVolume();
}
| true |
e9ebb25afdc1b9107af855c6f155f27495b281cd | Java | cherryperuri1/brdfiles | /BRD-FILERESOURCES/Brd Notepad files/Brd1notepad/Routine1/EMIMAIN.txt | UTF-8 | 2,306 | 3.28125 | 3 | [] | no_license | package Brd1;
import java.util.Scanner;
public class EmiMain {
public static void main(String[] args) {
double p;
double r;// rate of interest
int n;// no of installments for the tenure
int t;// no of installments per year
int m;// no of years|period
double x ;// installment amount
int rec = 1,... | true |
5794451834a03369776dab019ffb5f7baa4e7f10 | Java | AnaTeresaQR/ejerciciosPatronesExamen12016 | /ExerciseCreationalPatterns/src/exercise7/ConcreteBuilderProfesorInterino.java | UTF-8 | 1,216 | 2.890625 | 3 | [] | no_license | package exercise7;
import java.util.Date;
/**
*
* @author Ana Teresa
*/
public class ConcreteBuilderProfesorInterino {
ProfesorInterino profInterino;
public ConcreteBuilderProfesorInterino() {
}
public void createProf() {
profInterino = new ProfesorInterino();
}
public void cre... | true |
8afde4daeb9c6a823fc3a70a6755e7634d8ae677 | Java | jmiedzinski/databucket-app | /src/main/java/pl/databucket/DatabucketApplication.java | UTF-8 | 823 | 1.953125 | 2 | [
"Apache-2.0"
] | permissive | package pl.databucket;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import pl.databucket.service.DatabucketServiceIm;
@SpringBootApplication
public class DatabucketApplication {
publ... | true |
1dfb44dfbfff6e7954626ee11a3df20eb1c084c5 | Java | xiw9/regex-filter | /src/com/wandsea/antispammer/TraditionalActivity.java | UTF-8 | 4,134 | 2.203125 | 2 | [
"WTFPL"
] | permissive | package com.wandsea.antispammer;
import java.util.ArrayList;
import com.wandsea.antispammer.R;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter... | true |
a95e408ee21cbe7b2b41a72fef04f50a526a444e | Java | heartforest/yc-case-report | /src/main/java/com/ycmvp/casereport/entity/ccase/TabCaseUser.java | UTF-8 | 2,073 | 1.601563 | 2 | [] | no_license | package com.ycmvp.casereport.entity.ccase;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
@Data
public class TabCaseUser implements Serializable {
private static final long serialVersionUID = 1L;
private String id;
@JsonFormat(pattern = "yyyy-MM-dd"... | true |
cc7d6821e6ded993496d9f9037a2699bfa6d6956 | Java | sufadi/decompile-hw | /decompile/app/HwSystemManager/src/main/java/com/huawei/harassmentinterception/engine/HwEngineCallerManager.java | UTF-8 | 780 | 2.53125 | 3 | [] | no_license | package com.huawei.harassmentinterception.engine;
public class HwEngineCallerManager {
private static HwEngineCallerManager sInstance = null;
private HwEngineCaller mCaller = null;
public static synchronized HwEngineCallerManager getInstance() {
HwEngineCallerManager hwEngineCallerManager;
... | true |
22eabad34cbe221e96c473c388374c23a61307a4 | Java | ZYYBOSS/1 | /shop/src/main/java/com/java2/web/entity/AddressEntity.java | UTF-8 | 1,048 | 2.4375 | 2 | [] | no_license | package com.java2.web.entity;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
imp... | true |
f61ce7a57e17cb7ed8e255e8ecd2e874f5bce022 | Java | borisemoreno/mutant-hunter | /src/main/java/com/xmen/mutanthunter/repository/DnaVerificationsRepository.java | UTF-8 | 711 | 2.015625 | 2 | [] | no_license | package com.xmen.mutanthunter.repository;
import com.xmen.mutanthunter.model.StatsDto;
import com.xmen.mutanthunter.model.db.DnaVerifications;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import java.util.List;
import java.util.Optional;
import java.... | true |
f70231ac285caaa27e82019bccaba7aa5bb46500 | Java | crashtheparty/EnchantmentSolution | /src/org/ctp/enchantmentsolution/events/player/PlayerChangeCoordsEvent.java | UTF-8 | 992 | 2.359375 | 2 | [] | no_license | package org.ctp.enchantmentsolution.events.player;
import org.bukkit.Location;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList;
import org.bukkit.event.player.PlayerEvent;
public class PlayerChangeCoordsEvent extends PlayerEvent implements Cancellable {
priv... | true |
92ca27b7fc5d40a15533c8c7cda385de7f326d3e | Java | AlessioMercuriali/QBorrow | /src/main/java/it/quix/academy/qborrow/core/model/QborrowUserContext.java | UTF-8 | 1,746 | 2.03125 | 2 | [] | no_license | package it.quix.academy.qborrow.core.model;
import java.util.ArrayList;
import it.quix.framework.core.model.Language;
import it.quix.framework.core.model.Organization;
import it.quix.framework.core.model.Role;
import it.quix.framework.core.model.User;
import it.quix.framework.core.model.UserContext;
import i... | true |
3c0101add0450a9356180da8d2bc85b0a533906b | Java | Tongqinwei/hhlab_ser2 | /src/com/servlet/CreateSessionServlet.java | UTF-8 | 4,125 | 2.53125 | 3 | [] | no_license | package com.servlet;
import com.Login.Bean.SessionUser;
import com.Login.Handler.MyJsonParser;
import com.Login.Handler.WechatSessionHandler;
import com.Login.Sessions.SessionManager;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import javax.servlet.ServletException;
import javax.servlet.an... | true |
262f3d6cf9a076d9e3bc0f90afd3600c23c76fed | Java | RaviThejaGoud/hospital | /hms-common/src/main/java/com/hyniva/sms/ws/vo/cashbook/CashBookVO.java | UTF-8 | 5,044 | 2.0625 | 2 | [] | no_license | package com.hyniva.sms.ws.vo.cashbook;
import java.util.Date;
public class CashBookVO {
public long id;
public Date transactionDate;
public long accountId;
public String accountName;
public String place;
public String narration;
public String vocherNumber;
public String transactionType;
p... | true |
59398b63fca8b3539348ae17e36bcdba7c46c0a5 | Java | damnedGod/Indonesia_Que | /app/src/main/java/com/example/android/indonesiaqu/WelcomeScreen.java | UTF-8 | 989 | 1.96875 | 2 | [] | no_license | package com.example.android.indonesiaqu;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class WelcomeScreen extends AppCompatActivity {
public Button s... | true |
5bbc4efeb38b44b45db9b25d57478c9a851e01b7 | Java | drmmx/MVPAndroidLang | /app/src/main/java/com/example/dev3rema/mvpandroidlang/data/source/local/dao/LangDao.java | UTF-8 | 754 | 2.0625 | 2 | [] | no_license | package com.example.dev3rema.mvpandroidlang.data.source.local.dao;
import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Delete;
import android.arch.persistence.room.Insert;
import android.arch.persistence.room.OnConflictStrategy;
import android.arch.persistence.room.Query;
import com.example... | true |
de7ba2c8db5d7c0f53b60242f402b3f824230e81 | Java | cckmit/event-manager | /src/main/java/ob1/eventmanager/service/CategoryService.java | UTF-8 | 325 | 1.804688 | 2 | [] | no_license | package ob1.eventmanager.service;
import ob1.eventmanager.entity.CategoryEntity;
import java.util.List;
import java.util.Optional;
public interface CategoryService {
List<CategoryEntity> getCategories();
Optional<CategoryEntity> getById(long id);
Optional<CategoryEntity> getCategoryByName(String name)... | true |
726a2cec437874e8812ce969422aae9596ce8562 | Java | uNouss/ap | /td8/Morpion.java | UTF-8 | 6,947 | 2.84375 | 3 | [] | no_license | //import extensions.*;
class Morpion extends Program {
final int TAILLE = 5;
final char O = 'O';
final char X = 'X';
final char V = ' ';
final String PROMPT = "$: ";
char [][] grille = new char[TAILLE][TAILLE];
void testInitalize(){
initialize();
char[][] grilleVide = new... | true |
240b8456dfee29cbaf53bcf7e5b7283b0ea48565 | Java | busipallavi-reddy/cmpe202 | /lab8/inputmask/src/main/java/CreditCardNum.java | UTF-8 | 813 | 2.71875 | 3 | [] | no_license | /* (c) Copyright 2018 Paul Nguyen. All Rights Reserved */
public class CreditCardNum implements IDisplayComponent, IKeyEventHandler
{
private IKeyEventHandler nextHandler ;
private IDisplayFormatter number = new CardNumDisplayDecorator(new DisplayFormatter()) ;
public void setNext( IKeyEventHandler next) {
... | true |
9d0c45c674013ca9f57e689762c32ce971b3fe30 | Java | Leirach/BdDPF | /app/src/main/java/itesm/mx/bddpf/TicketAdapter.java | UTF-8 | 1,369 | 2.421875 | 2 | [] | no_license | package itesm.mx.bddpf;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import java.te... | true |