code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
// Created by Drakuwa
/**
*
* @author Bojan Ilievski - Drakuwa
*
*/
package com.app.busmk;
import android.app.Activity;
import android.os.Bundle;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.widget.FrameLayout;
public class a4... | Drakuwa/aBusTripMK | src/com/app/busmk/a41.java | Java | gpl-3.0 | 1,259 |
package ENTITIES;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import ITEMS.Coin;
import ITEMS.Item;
import ITEMS.Orb;
import MAIN.Animator;
import MAIN.Assets;
import STATES.WorldState;
import visualje.Vector2D;
public class Player extends Entity {
//Animators for ... | Authman2/Orbs | Orbs/src/ENTITIES/Player.java | Java | gpl-3.0 | 9,813 |
/*
* Created on Mar 30, 2015
*/
package com.delcyon.capo.webapp.widgets;
import eu.webtoolkit.jwt.WWidget;
/**
* @author jeremiah
* Sets the cursor state on a web widget via the setCursorStateOn(widget) method.
*/
public enum WCursorState
{
/**The cursor indicates an alias of something is to be created **/
... | jahnje/delcyon-capo | java/com/delcyon/capo/webapp/widgets/WCursorState.java | Java | gpl-3.0 | 3,699 |
package com.svetylkovo.rojo.lambda;
@FunctionalInterface
public interface GroupMapArgs7<T,U> {
public U apply(T g1, T g2, T g3, T g4, T g5, T g6, T g7);
}
| LittleLightCz/Rojo | src/main/java/com/svetylkovo/rojo/lambda/GroupMapArgs7.java | Java | gpl-3.0 | 160 |
package org.jatakasource.geo.data;
public class SimpleGeometryData implements IGeometryData {
private final int id;
public SimpleGeometryData(int id) {
this.id = id;
}
@Override
public int getId() {
return id;
}
@Override
public String toString() {
return this.getClass().getSimpleName() + "{id:" + id... | LeonanCarvalho/jataka-commons | jataka-common-geo/src/main/java/org/jatakasource/geo/data/SimpleGeometryData.java | Java | gpl-3.0 | 334 |
package com.earth2me.essentials.signs;
public enum Signs
{
BALANCE(new SignBalance()),
BUY(new SignBuy()),
DISPOSAL(new SignDisposal()),
ENCHANT(new SignEnchant()),
FREE(new SignFree()),
GAMEMODE(new SignGameMode()),
HEAL(new SignHeal()),
KIT(new SignKit()),
MAIL(new SignMail()),
PROTECTION(new SignProtecti... | desces/Essentials | Essentials/src/com/earth2me/essentials/signs/Signs.java | Java | gpl-3.0 | 643 |
package org.acid.ejb.sonartasks;
import java.io.IOException;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import org.acid.ejb.entities.Project;
import org.acid.ejb.entities.Task;
import org.acid.ejb.logger.Logger;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.ht... | rgrimmer/ACID | ejb-sonarTasks/src/main/java/org/acid/ejb/sonartasks/SonarTasksManagerImpl.java | Java | gpl-3.0 | 2,106 |
package com.avizva.controller;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import or... | kumar-pratyaksh/AceMyRideFrontendBackEnd | AceMyRideFrontend/src/main/java/com/avizva/controller/CartController.java | Java | gpl-3.0 | 2,523 |
package je7hb.intro.xentracker.init;
import je7hb.intro.xentracker.boundary.ProjectTaskService;
import je7hb.intro.xentracker.entity.Project;
import je7hb.intro.xentracker.entity.Task;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import javax.ejb.*;
import java.util.Date;
/**
* The type ... | peterpilgrim/javaee7-developer-handbook | ch01/xentracker-angularjs/src/main/java/je7hb/intro/xentracker/init/DemoDataConfigurator.java | Java | gpl-3.0 | 3,774 |
package at.team2.client.singletons;
import at.team2.client.pages.sendremoteloan.SendRemoteLoan;
public class ReadRemoteLoanSingleton {
private static SendRemoteLoan _instance;
private ReadRemoteLoanSingleton() {
}
public static SendRemoteLoan getInstance() {
if(_instance == null) {
... | hrh5775/LibraryManager | Client/src/main/java/at/team2/client/singletons/ReadRemoteLoanSingleton.java | Java | gpl-3.0 | 401 |
/*
* Copyright 2007-2008 Michele Mostarda ( michele.mostarda@gmail.com ).
* All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses... | RBMarklogic/rdfcoder | src/com/asemantics/rdfcoder/model/java/JModifiable.java | Java | gpl-3.0 | 1,817 |
package com.hexensemble.gbusb64mcartmac;
/**
* Main class.
*
* @author HexEnsemble
* @author www.hexensemble.com
* @version 1.0.3
* @since 1.0.0
*/
public class Main {
/**
* Application title.
*/
public static final String TITLE = "GB USB 64M Cart Mac";
/**
* Application author.
*/
public static ... | hexensemble/gb-usb-64m-cart-mac | src/com/hexensemble/gbusb64mcartmac/Main.java | Java | gpl-3.0 | 780 |
/*
* Copyright (C) 2014 Clyde Hoffmann
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is ... | clydehoffmann/finitedifference | src/clydehoffmann/finitedifference/visual/BWColorScheme.java | Java | gpl-3.0 | 1,037 |
/*******************************************************************************
* | o |
* | o o | HELYX-OS: The Open Source GUI for OpenFOAM |
* | o O o | Copyright (C) 2012-2016 ENGYS ... | ENGYS/HELYX-OS | src/eu/engys/gui/casesetup/cellzones/thermal/StandardCellZoneThermalPanel.java | Java | gpl-3.0 | 3,902 |
/*
*
* Panbox - encryption for cloud storage
* Copyright (C) 2014-2015 by Fraunhofer SIT and Sirrix AG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, eithe... | daus-salar/panbox-audit | panbox-common/src/org/panbox/desktop/common/gui/devices/AddDeviceNetworkActionListener.java | Java | gpl-3.0 | 2,375 |
package com.company;
/**
* Created by shinji on 2017/05/05.
*/
public class ShowStudent2 {
public static void main(String[] args) {
Student std1 = new Student(9999,3,12);
System.out.println(std1.toString());
}
}
| alien-house/Java | Getter&Setter/src/com/company/ShowStudent2.java | Java | gpl-3.0 | 241 |
/*
* Copyright © 2016 Alexander Craig and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.carlet... | alexcraig/BloomFlowODL | bloomflow/impl/src/main/java/org/carleton/bbnlab/bloomflow/impl/IgmpPacket.java | Java | gpl-3.0 | 18,143 |
/*********************************************************************************************
*
* 'GamlResourceIndexer.java, in plugin msi.gama.lang.gaml, is part of the source code of the GAMA modeling and
* simulation platform. (c) 2007-2016 UMI 209 UMMISCO IRD/UPMC & Partners
*
* Visit https://github.com/gama-... | SonTG/gama | msi.gama.lang.gaml/src/msi/gama/lang/gaml/indexer/GamlResourceIndexer.java | Java | gpl-3.0 | 9,819 |
package ca.on.oicr.pinery.lims;
import ca.on.oicr.pinery.api.Requisition;
import ca.on.oicr.pinery.api.SignOff;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Objects;
import java.util.Set;
public class DefaultRequisition implements Requisition {
private Integer id;
... | oicr-gsi/pinery | pinery-lims/src/main/java/ca/on/oicr/pinery/lims/DefaultRequisition.java | Java | gpl-3.0 | 2,117 |
/**
* ====================================================================
* UPA (Unstructured Persistence API)
* Yet another ORM Framework
* ++++++++++++++++++++++++++++++++++
* Unstructured Persistence API, referred to as UPA, is a genuine effort
* to raise programming language frameworks managing relational da... | thevpc/upa | upa-api/src/main/java/net/thevpc/upa/PersistenceUnitProvider.java | Java | gpl-3.0 | 2,092 |
package com.aston.group.stationdefender.utils;
import com.aston.group.stationdefender.gamesetting.helpers.Projectile;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.Pool;
import java.util.Iterator;
/**
* ProjectileFactory is the controller class for projectiles that can be fired
*
* @author Mo... | JonnyXDA/Station-Defender | core/src/com/aston/group/stationdefender/utils/ProjectileFactory.java | Java | gpl-3.0 | 2,018 |
/**
*
*/
package fr.nantes.univ.alma.alarm.impl;
import java.rmi.RemoteException;
import java.text.SimpleDateFormat;
import java.util.Date;
import fr.nantes.univ.alma.common.remote.IAlarm;
/**
* @author bmael
*
*/
public class TimerThread extends Thread {
private IAlarm alarm;
private boolean stop;
public... | bmael/AlarmInteraction | src/Alarm/fr/nantes/univ/alma/alarm/impl/TimerThread.java | Java | gpl-3.0 | 1,254 |
/*
* @author psachdev
*/
package com.puneet.domain;
/**
* The Class Word.
*/
public class Word {
/** The word. */
public String word;
/**
* Instantiates a new word.
*/
public Word() {
super();
}
/**
* Instantiates a new word.
*
* @param word the word
*/
public Word(String word) {
this.w... | psachdev6375/microservices-bootcamp | word-server/src/main/java/com/puneet/domain/Word.java | Java | gpl-3.0 | 562 |
package com.ywesee.amiko;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.net.Uri;
import android.util.Log;
import android.webkit.WebSettings;
import android.webkit.WebSettings.LayoutAlgorithm;
import android.webkit.WebView;
import android.webkit.... | zdavatz/AmiKo-Android | src/main/java/com/ywesee/amiko/ExpertInfoView.java | Java | gpl-3.0 | 3,567 |
package es.icarto.gvsig.siga.forms.reports;
import java.awt.Desktop;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import ja... | iCarto/siga | es.icarto.gvsig.siga/src/es/icarto/gvsig/siga/forms/reports/PrintPMReportObserver.java | Java | gpl-3.0 | 3,741 |
package org.hsy.java.base.utils;
import org.hsy.java.base.utils.CollectionHelper;
import org.hsy.java.base.utils.RandomHelper;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* @author heshiyuan
* @description <p>集合工具类测试类</p>
* @path java/org.hsy.javase.utils... | shiyuan2he/java | java-base/src/test/java/org/hsy/java/base/utils/CollectionHelperTest.java | Java | gpl-3.0 | 1,518 |
package com.atlanta.educati.pojo;
// Generated 18/01/2016 06:37:14 PM by Hibernate Tools 4.3.1
import java.util.HashSet;
import java.util.Set;
/**
* Persona generated by hbm2java
*/
public class Persona implements java.io.Serializable {
private int id;
private Tablamaestra tablamaestra;
private... | nbaez001/educatiback | src/java/com/atlanta/educati/pojo/Persona.java | Java | gpl-3.0 | 5,157 |
/**
* 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, version 3.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the impli... | francisli/processing-restclient | src/main/java/com/francisli/processing/restclient/PatchRequest.java | Java | gpl-3.0 | 1,680 |
package br.org.otus;
public abstract class ResourceTestsParent {
protected final static String EMPTY_RESPONSE = "{\"data\":true}";
protected final static int SUCCESS_STATUS = 200;
protected String encapsulateExpectedResponse(String data) {
return "{\"data\":" + data + "}";
}
protected String encapsula... | ccem-dev/otus-api | source/otus-rest/src/test/java/br/org/otus/ResourceTestsParent.java | Java | gpl-3.0 | 408 |
package org.workcraft.plugins.dfs.tools;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent... | shelllbw/workcraft | DfsPlugin/src/org/workcraft/plugins/dfs/tools/CycleAnalyserTool.java | Java | gpl-3.0 | 14,537 |
/*
* Copyright (C) 2015 Luke Melaia
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program i... | Luke-Melaia/Series-Freak | src/net/lm/seriesfreak/Main.java | Java | gpl-3.0 | 2,143 |
package com.gildedgames.aether.common.capabilities.player;
import com.gildedgames.aether.api.capabilites.AetherCapabilities;
import com.gildedgames.aether.api.capabilites.chunk.IPlacementFlagCapability;
import com.gildedgames.aether.api.player.IPlayerAetherCapability;
import com.gildedgames.aether.common.CommonEvents;... | Better-Aether/Better-Aether | src/main/java/com/gildedgames/aether/common/capabilities/player/PlayerAetherEvents.java | Java | gpl-3.0 | 9,977 |
/*
* This file is part of the Factbook Generator.
*
* The Factbook Generator is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The ... | ProjectMoon/fbg | src/edu/uara/parser/integrated/BatchUploader.java | Java | gpl-3.0 | 9,902 |
package com.tutorial.factory;
// The factory design pattern.
public class Factory {
public static void main(String[] args) {
System.out.println("This is the factory design pattern in java.");
Factory factory = new Factory();
Shape shape;
shape = factory.getShape("circle");
... | gsm1011/tutorials | design_pattern/src/main/java/com/tutorial/factory/Factory.java | Java | gpl-3.0 | 762 |
package lites.dcd;
import java.applet.Applet;
import java.applet.AudioClip;
import java.net.URL;
import lites.dcd.tools.SleepTools;
@SuppressWarnings("UnusedAssignment")
public class Sound {
public enum SoundClip {
SND, DRUM, EXPLODE
};
private static Sound instance;
public synchronized sta... | D-Wave/dcd | LitES_dcd/src/lites/dcd/Sound.java | Java | gpl-3.0 | 2,214 |
package com.jeroensteenbeeke.bk.jayop.commands;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import com.jeroensteenbeeke.bk.basics.comm... | jsteenbeeke/Jaybukkit | jayop/src/main/java/com/jeroensteenbeeke/bk/jayop/commands/TeleportHomeCommandHandler.java | Java | gpl-3.0 | 2,002 |
package own.crazyit04.chapter6;
import java.util.Arrays;
/**
* @author yeeku.H.lee kongyeeku@163.com
* @version 1.0
* <br>Copyright (C), 2005-2008, yeeku.H.Lee
* <br>This program is protected by copyright laws.
* <br>Program Name:
* <br>Date:
*/
public class Num2Rmb
{
private String[] hanArr = {"Áã" , "Ò¼" ,... | lzs0420/history | CrazyJava/src/own/crazyit04/chapter6/Num2Rmb.java | Java | gpl-3.0 | 2,003 |
/**Test funzionalità di autoboxing
* @author Luciano Faretra
* @version 1.0
*/
public class autoBoxing {
/**Questa è la parte d'ingresso del programma
* @param interoProvaAutoBoxing intero ti test con funzione autoboxing
* @param interoProvaNoAutoBoxing intero ti test senza funzione autoboxing
* @... | LucianoFaretra/ThinkingJava | Cap_2_Es9/src/autoBoxing.java | Java | gpl-3.0 | 596 |
package support;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Classe Java per anonymous complex type.
*
* <p>Il seguente frammento di schema specifica il conte... | pietrodn/middleware-exe | webservices/TestFootballService/src/support/AllCards.java | Java | gpl-3.0 | 755 |
package vrml.external.field;
import vrml.external.field.FieldTypes;
import vrml.external.Node;
import vrml.external.Browser;
public class EventInMFVec2f extends EventIn {
public EventInMFVec2f() { EventType = FieldTypes.MFVEC2F; }
public void setValue(float[][] value) throws IllegalArgumentException {
... | cbuehler/freewrl | src/java/vrml/external/field/EventInMFVec2f.java | Java | gpl-3.0 | 989 |
package com.cloudera.api.v3.impl;
import com.cloudera.api.DataView;
import com.cloudera.api.dao.DAOFactory;
import com.cloudera.api.dao.HostManagerDao;
import com.cloudera.api.model.ApiConfigList;
import com.cloudera.api.v3.AllHostsResource;
public class AllHostsResourceImpl
implements AllHostsResource
{
... | Mapleroid/cm-server | server-5.11.0.src/com/cloudera/api/v3/impl/AllHostsResourceImpl.java | Java | gpl-3.0 | 776 |
package cn.ac.rcpa.bio.proteomics;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import junit.framework.TestCase;
import cn.ac.rcpa.bio.proteomics.results.buildsummary.io.BuildSummaryPeptideHitExperimentalReader;
public class Te... | shengqh/RcpaBioJava | test/cn/ac/rcpa/bio/proteomics/TestDistributionResultMap.java | Java | gpl-3.0 | 3,154 |
package com.basicservice.service.exceptions;
/**
* An exception thrown when a user tries to register with an already existing email
*/
public class UserRegistrationException extends Exception {
reason why;
public UserRegistrationException(reason why) {
this.why = why;
}
public static enum reason {
EMAIL_... | thezuck/basic-service | src/main/java/com/basicservice/service/exceptions/UserRegistrationException.java | Java | gpl-3.0 | 381 |
package ouza.project.view.component.menubar;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionListener;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.KeyStroke;
import ouza.pr... | hadri-oussama/ouza | src/main/java/ouza/project/view/component/menubar/MenuBar.java | Java | gpl-3.0 | 6,303 |
package view;
import javafx.scene.layout.BorderPane;
import javafx.scene.web.WebView;
import javafx.stage.Window;
public class BDEditorView extends BorderPane
{
protected Window root = null;
protected String url = null;
public WebView webView = new WebView();
public BDEditorView(Window ownerWindow, String ... | buddystudio/BuddyPP | src/view/BDEditorView.java | Java | gpl-3.0 | 892 |
/*
* Copyright (C) 2016 fernando-pucci
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is dis... | FernandoPucci/controleArmarios | codificacao/ControleArmarios/src/br/com/etefgarcia/armarios/controller/TelaPrincipalController.java | Java | gpl-3.0 | 7,952 |
package org.openbase.bco.registry.unit.core.dbconvert;
/*-
* #%L
* BCO Registry Unit Core
* %%
* Copyright (C) 2014 - 2020 openbase.org
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundati... | DivineCooperation/bco.registry | unit-registry/core/src/main/java/org/openbase/bco/registry/unit/core/dbconvert/SceneConfig_8_To_9_DBConverter.java | Java | gpl-3.0 | 4,933 |
/*
* Copyright appNativa Inc. All Rights Reserved.
*
* This file is part of the Real-time Application Rendering Engine (RARE).
*
* RARE is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either vers... | appnativa/rare | source/rare/core/com/appnativa/rare/ui/iComponent.java | Java | gpl-3.0 | 5,298 |
package com.carolo.scoresdesk.cli.config;
import org.apache.commons.cli.HelpFormatter;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
@Component("apacheCLIConfig")
public class ApacheCLIConfig {
@Bean
public HelpFormatter getHelpFormatter() {
return new HelpF... | cclavero/ScoresDesk | sd-cli/src/main/java/com/carolo/scoresdesk/cli/config/ApacheCLIConfig.java | Java | gpl-3.0 | 339 |
package at.fhv.audioracer.client.android.info;
public class GameInfo {
public static final String NAME = "name";
public static final String INFO = "info";
private HostInfo _host;
private String _name;
private String _info;
public GameInfo(String name, String info) {
_name = name;
_info ... | lumannnn/AudioRacer | AudioRacer-Android/src/at/fhv/audioracer/client/android/info/GameInfo.java | Java | gpl-3.0 | 1,241 |
package minerful.examples.api.logmaking;
import java.io.File;
import java.io.IOException;
import minerful.concept.ProcessModel;
import minerful.io.encdec.ProcessModelEncoderDecoder;
import minerful.logmaker.MinerFulLogMaker;
import minerful.logmaker.params.LogMakerParameters;
import minerful.logmaker.params.LogMakerP... | cdc08x/MINERful | src/minerful/examples/api/logmaking/FromJsonProcessModelToLog.java | Java | gpl-3.0 | 3,280 |
package org.tomahawk.libtomahawk.resolver;
import com.google.common.base.Charsets;
import com.google.common.io.Files;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxml.jackson.databind.JsonMappingException;
import org.json.JSONObject;
import org.tomahawk.libtomahawk.infosystem.InfoSyste... | 0359xiaodong/tomahawk-android | src/org/tomahawk/libtomahawk/resolver/ScriptInterface.java | Java | gpl-3.0 | 13,286 |
package org.activityinfo.server.endpoint.gwtrpc;
/*
* #%L
* ActivityInfo Server
* %%
* Copyright (C) 2009 - 2013 UNICEF
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either versi... | LeoTremblay/activityinfo | server/src/test/java/org/activityinfo/server/endpoint/gwtrpc/RemoteExecutionContextTest.java | Java | gpl-3.0 | 2,667 |
package games.strategy.triplea;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Optional;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Nested;
import org.j... | DanVanAtta/triplea | game-core/src/test/java/games/strategy/triplea/ResourceLoaderTest.java | Java | gpl-3.0 | 2,126 |
/*
* This file is part of Passwordmaker-je-lib.
* Copyright (C) 2014 James Stapleton
*
* Passwordmaker-je-lib is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at yo... | passwordmaker/java-passwordmaker-lib | src/main/java/org/daveware/passwordmaker/ParsedDomain.java | Java | gpl-3.0 | 8,176 |
// ----------------------------------------------------------------------------
// Copyright (C) 2015 Louise A. Dennis, and Michael Fisher
//
// This file is part of the Engineering Autonomous Space Software (EASS) Library.
//
// The EASS Library is free software; you can redistribute it and/or
// modify it under th... | VerifiableAutonomy/mcapl | src/examples/eass/sticky_wheel/TwoWheeledRobot.java | Java | gpl-3.0 | 9,038 |
/*
* JasperReports/iReport WMS Component
*
* Copyright (C) 2013 Sourcepole AG
*
* JasperReports/iReport WMS Component 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 3 of the
* ... | sourcepole/jasperreports-wms-component | jasperreports-wms-component/src/main/java/com/sourcepole/jasperreports/wmsmap/WmsRequestParameter.java | Java | gpl-3.0 | 4,402 |
/*
* Copyright © 2012 Alexey Lavrenuke
*
* This program 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 3 of the License, or
* (at your option) any later version.
*
* Th... | direvius/pitcher | src/main/java/ru/direvius/pitcher/JettyBall.java | Java | gpl-3.0 | 1,792 |
package com.okayjam.util;
import com.okayjam.net.okhttp.OKHttpUtil;
import org.junit.Test;
import java.io.IOException;
/**
* @author Chen weiguang chen2621978@gmail.com
* @date 2020/03/30 14:10
**/
public class DownloadFileUtilTest {
@Test
public void download() throws IOException {
String url =... | weiguang/JamJavaUtil | src/test/java/com/okayjam/util/DownloadFileUtilTest.java | Java | gpl-3.0 | 729 |
/*
* Syncany, www.syncany.org
* Copyright (C) 2011-2014 Philipp C. Heckel <philipp.heckel@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | aviau/syncany-gbp | syncany-lib/src/main/java/org/syncany/operations/daemon/messages/api/FolderRequest.java | Java | gpl-3.0 | 1,184 |
package project.ResponseTimeSimulation.Cache_DataServerSimulation;
import project.QueryEnvironment.SubjectQuerySegment;
import java.util.ArrayList;
/**
* Created by santhilata on 11/5/15.
*/
public class Cache_State3 {
int state3_Starttime;
int state3_EndTime;
String status = "";
double dataFound;
... | KuppiliVenkataS/Coordination | CacheFramework/src/main/java/project/ResponseTimeSimulation/Cache_DataServerSimulation/Cache_State3.java | Java | gpl-3.0 | 2,417 |
package com.skalvasociety.skalva.tmdbObject;
import java.util.List;
public class EpisodeTMDB {
private String air_date;
private List<Crew> crew;
private Integer episode_number;
private List<GuestStars> guest_stars;
private String name;
private String overview;
private Integer id;
private String production_co... | skalva50/Filmotheque | src/main/java/com/skalvasociety/skalva/tmdbObject/EpisodeTMDB.java | Java | gpl-3.0 | 2,111 |
package org.openbase.bco.registry.message.core;
/*
* #%L
* BCO Registry Message Core
* %%
* Copyright (C) 2014 - 2020 openbase.org
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, e... | DivineCooperation/bco.registry | message-registry/core/src/main/java/org/openbase/bco/registry/message/core/MessageRegistryLauncher.java | Java | gpl-3.0 | 2,784 |
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as ... | 316181444/Hxms | src/main/java/net/sf/odinms/server/MaplePlayerNPC.java | Java | gpl-3.0 | 10,362 |
/* First created by JCasGen Wed Sep 07 16:18:03 EDT 2016 */
package edu.pitt.dbmi.xmeso.model.Model;
import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.jcas.cas.TOP_Type;
/** Type defined in edu.pitt.dbmi.xmeso.model.Model
* Updated by JCasGen Wed Sep 07 16:18:03 ... | dbmi-pitt/xmeso | src/main/java/edu/pitt/dbmi/xmeso/model/Model/XmesoHistologicalType.java | Java | gpl-3.0 | 2,076 |
/*
* This file is part of SPasMoDic
*
* SPasMoDic is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SPasMoDic is distrib... | paradigmatic/SPasMoDic | src/spasmodic/msg/Message.java | Java | gpl-3.0 | 1,554 |
/**
* Ein Taxi kann einen einzelnen Fahrgast transportieren.
*
* @author David J. Barnes und Michael Kölling
* @version 31.07.2011
*/
public class Taxi extends Fahrzeug
{
/**
* Konstruktor für Objekte der Klasse Taxi.
* @param unternehmen das Taxi-Unternehmen.
* Darf nicht null sein.
* @... | peterhuerlimann/bluej-java-learning | Kapitel14/Taxi-Rahmen/Taxi.java | Java | gpl-3.0 | 1,381 |
/*
* Copyright (C) 2018 The Android Open Source Project
*
* 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 app... | Deletescape-Media/Lawnchair | src/com/android/launcher3/util/IntSet.java | Java | gpl-3.0 | 2,124 |
package com.coma.client.models;
public enum ProblemSeverity {
VERYWEAK("Very Weak"),
WEAK("Weak"),
MEDIUM("Medium"),
STRONG("Strong"),
VERYSTRONG("Very Strong");
private String value;
ProblemSeverity(String value) {
this.value = value;
}
... | tornvall/coma-v2.5 | coma-v2.5/src/com/coma/client/models/ProblemSeverity.java | Java | gpl-3.0 | 755 |
package panels;
import java.awt.Color;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.geom.Point2D;
import java.awt.geo... | KoolCodez/SimpleDungeonCrawler | GameTest/src/panels/CoreGameplayPanel.java | Java | gpl-3.0 | 6,221 |
//
// DO NOT MODIFY!!! This file was machine generated. DO NOT MODIFY!!!
//
// Copyright (c) 2014 Vincent W. Chen.
//
// This file is part of XJavaB.
//
// XJavaB 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 Softwar... | noodlewiz/xjavab | xjavab-ext/src/main/java/com/noodlewiz/xjavab/ext/glx/GetPolygonStippleReply.java | Java | gpl-3.0 | 1,106 |
package de.gwdg.metadataqa.marc.cli;
import org.junit.Test;
import java.util.HashMap;
import java.util.Map;
import static org.junit.Assert.*;
public class CompletenessTest {
@Test
public void test() {
Map<String, Map<String, Integer>> packages = new HashMap<>();
Map<String, Integer> general = new HashM... | pkiraly/metadata-qa-marc | src/test/java/de/gwdg/metadataqa/marc/cli/CompletenessTest.java | Java | gpl-3.0 | 1,255 |
package org.maltparser.core.feature.value;
import org.maltparser.core.feature.function.Function;
/**
*
*
* @author Johan Hall
* @since 1.0
**/
public abstract class FunctionValue {
protected Function function;
public FunctionValue(Function function) {
setFunction(function);
}
public Func... | gitpan/uplug-main | share/ext/parser/malt/src/org/maltparser/core/feature/value/FunctionValue.java | Java | gpl-3.0 | 793 |
package net.minecraft.server;
// CraftBukkit start
import org.bukkit.craftbukkit.inventory.CraftItemStack;
import org.bukkit.event.block.BlockDispenseEvent;
// CraftBukkit end
final class DispenseBehaviorEmptyBucket extends DispenseBehaviorItem {
private final DispenseBehaviorItem b = new DispenseBehaviorItem();... | didoupimpon/Craft-city | src/main/java/net/minecraft/server/DispenseBehaviorEmptyBucket.java | Java | gpl-3.0 | 2,500 |
package javax.microedition.media;
public interface Controllable {
Control getControl( String controlType );
Control[] getControls();
}
| hernol/ConuWar | AndroidME/src_MIDP/javax/microedition/media/Controllable.java | Java | gpl-3.0 | 147 |
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2008, Robert D. Eden All Rights Reserved.
// Copyright (c) 2009, Jeff Randall All Rights Reserved.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General P... | achraftriki/test2 | src/main/java/gnu/trove/impl/unmodifiable/TUnmodifiableCharCollection.java | Java | gpl-3.0 | 4,437 |
/************************************
* This file is part of Test Platform.
*
* Test Platform is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any la... | instytut-badan-edukacyjnych/platforma-testow | LoremIpsum/src/main/java/pl/edu/ibe/loremipsum/manager/rules/AnyRule.java | Java | gpl-3.0 | 2,375 |
// Emulated extension enum - Page 166-167
package examples.chapter06.item34;
import java.util.Arrays;
import java.util.Collection;
public enum ExtendedOperation implements Operation
{
EXP("^")
{
public double apply(double x, double y)
{
return Math.pow(x, y);
}
},
REMAINDER("%")
{
publ... | viktorianer/applied-computer-science-htw-berlin | effective-java/src/main/java/org/effectivejava/examples/chapter06/item34/ExtendedOperation.java | Java | gpl-3.0 | 1,515 |
package com.kylin.myzhihu.utils;
/**
* Created by kylin_gu on 2016/3/13.
*/
public class MyConstant {
// Tag used to cancel the request
public static final String TAG_REQ_OBJ_MAINACTIVITY = "tag_req_obj_main";
public static final String TAG_REQ_OBJ_DETAILACTIVITY = "tag_req_obj_detail";
public static... | KylinGu/MyZhihu | app/src/main/java/com/kylin/myzhihu/utils/MyConstant.java | Java | gpl-3.0 | 629 |
/*
* Decompiled with CFR 0_115.
*/
package android.support.v4.util;
import android.support.annotation.RestrictTo;
@RestrictTo(value={RestrictTo.Scope.GROUP_ID})
public class DebugUtils {
/*
* Unable to fully structure code
* Enabled aggressive block sorting
* Lifted jumps to return sites
*/
... | SPACEDAC7/TrabajoFinalGrado | uploads/34f7f021ecaf167f6e9669e45c4483ec/java_source/android/support/v4/util/DebugUtils.java | Java | gpl-3.0 | 1,054 |
/*
* Copyright (C) 2013 shawware.com.au
*
* License: GNU General Public License V3 (or later)
* http://www.gnu.org/copyleft/gpl.html
*/
package au.com.shawware.sandbox.persistence;
import java.sql.SQLException;
import java.util.Properties;
import javax.persistence.EntityManager;
import javax.persistence.EntityM... | shawware/Sandbox | sb-persistence/src/test/java/au/com/shawware/sandbox/persistence/JPAConfiguration.java | Java | gpl-3.0 | 5,538 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
*
* The contents of this file are subject to the terms of the GNU General Public License Version 3
* only ("GPL"). You may not use this file except in compliance with th... | mbshopM/openconcerto | OpenConcerto/src/org/openconcerto/erp/storage/CloudStorageEngine.java | Java | gpl-3.0 | 2,594 |
package cn.hihiwjc.app.xjblog.biz.rest.interceptor;
import java.io.IOException;
import okhttp3.Authenticator;
import okhttp3.Credentials;
import okhttp3.Request;
import okhttp3.Response;
import okhttp3.Route;
/**
* @author Jan-Louis Crafford
* Created on 2016/01/20.
*/
public class OkHttpAuthenticator imp... | hihiwjc/XJBlog | app/src/main/java/cn/hihiwjc/app/xjblog/biz/rest/interceptor/OkHttpAuthenticator.java | Java | gpl-3.0 | 820 |
/******************************************************************************
* __ *
* <-----/@@\-----> *
* <-< < \\// > >-> *
... | alexeq/datacrown | datacrow-client/_source/net/datacrow/console/components/DcTagField.java | Java | gpl-3.0 | 11,091 |
package fi.pyramus.json.settings;
import fi.internetix.smvc.controllers.JSONRequestContext;
import fi.pyramus.dao.DAOFactory;
import fi.pyramus.dao.courses.CourseTypeDAO;
import fi.pyramus.framework.JSONRequestController;
import fi.pyramus.framework.UserRole;
/**
* The controller responsible of archiving course type... | leafsoftinfo/pyramus | pyramus/src/main/java/fi/pyramus/json/settings/ArchiveCourseTypeJSONRequestController.java | Java | gpl-3.0 | 924 |
package com.javan.tdesignpattern.observer;
import java.util.Observable;
import java.util.Observer;
/**
* Created by Juwan on 4/25/17.
*/
public class Cat implements Observer {
private static final String TAG = Cat.class.getSimpleName();
@Override
public void update(Observable o, Object arg) {
S... | JuwanZhu/TDesignPattern | app/src/main/java/com/javan/tdesignpattern/observer/Cat.java | Java | gpl-3.0 | 484 |
/*
* jFCPlib - PluginMessage.java - Copyright © 2008 David Roden
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.... | louboco/Icicle | app/src/main/java/net/pterodactylus/fcp/FCPPluginMessage.java | Java | gpl-3.0 | 2,301 |
package fi.otavanopisto.pyramus.rest;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.Stateful;
import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.GET;
import javax.w... | otavanopisto/pyramus | rest/src/main/java/fi/otavanopisto/pyramus/rest/ProjectRESTService.java | Java | gpl-3.0 | 10,888 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.pepsoft.worldpainter.exporting;
import org.pepsoft.worldpainter.layers.Layer;
import org.pepsoft.worldpainter.layers.exporters.ExporterSettings;
/**
* An abstract base class for {@link LayerExporter} impl... | Captain-Chaos/WorldPainter | WorldPainter/WPCore/src/main/java/org/pepsoft/worldpainter/exporting/AbstractLayerExporter.java | Java | gpl-3.0 | 1,320 |
package org.rsbot.script;
import java.util.logging.Level;
/**
* A background script.
*
* @author Timer
*/
public abstract class BackgroundScript extends Script {
protected abstract boolean activateCondition();
@Override
public void run() {
setRunning(true);
try {
onRun();
} catch (final ThreadDeath i... | skriptkid/SKBot | src/org/rsbot/script/BackgroundScript.java | Java | gpl-3.0 | 840 |
/*
* This software is a city building and resource management strategy game.
* Copyright (C) 2019 Javier Centeno Vega
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version... | JavierCenteno/Industry | src/entity/element/building/FusionPlant.java | Java | gpl-3.0 | 1,068 |
/*
* Copyright 2015 Uppsala University Library
*
* This file is part of Cora.
*
* Cora is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... | lsu-ub-uu/cora-spider | src/test/java/se/uu/ub/cora/spider/spy/DataRecordLinkCollectorSpy.java | Java | gpl-3.0 | 1,591 |
package org.esa.beam.smos.ee2netcdf;
import org.esa.beam.framework.gpf.annotations.OperatorMetadata;
import org.esa.beam.framework.gpf.annotations.Parameter;
import org.junit.Test;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import static org.junit.Assert.assertArrayEquals;
import static ... | bcdev/smos-box | smos-ee2netcdf/src/test/java/org/esa/beam/smos/ee2netcdf/GPToNetCDFExporterOpTest.java | Java | gpl-3.0 | 3,403 |
package dewdd_fixthings;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Random;
import org.bukkit.Bukkit;
import org.bukkit.entit... | dewtx29/dewdd_minecraft_plugins | new/minecraft_fix_things/src/dewdd_fixthings/DigEventListener2.java | Java | gpl-3.0 | 6,414 |
package org.hl7.v3;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/... | ricecakesoftware/CommunityMedicalLink | ricecakesoftware.communitymedicallink.hl7/src/org/hl7/v3/MFMIMT700701UV01PriorRegisteredAct.java | Java | gpl-3.0 | 7,438 |
/*
This file is part of Subsonic.
Subsonic is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Subsonic is distributed in the hope that i... | popeen/Popeens-DSub | app/src/main/java/github/popeen/dsub/service/sync/PodcastSyncService.java | Java | gpl-3.0 | 1,318 |
///*
// * 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 ru.ibs.testpumputils;
//
//import com.google.common.io.Files;
//import java.io.File;
//import java.text.SimpleDateF... | Niky4000/UsefulUtils | different/TestProjects/Pump/TestPumpUtils/src/main/java/ru/ibs/testpumputils/ProtocolSmpSmoDIExporterTest.java | Java | gpl-3.0 | 3,138 |
package fi.otavanopisto.pyramus.domainmodel.courses;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.pers... | otavanopisto/pyramus | persistence/src/main/java/fi/otavanopisto/pyramus/domainmodel/courses/CourseStudentVariableKey.java | Java | gpl-3.0 | 2,352 |
package admin_site.kategorije;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.simple... | remixgit/WebShop-Project | WebProdavnica/src/admin_site/kategorije/GetKateogrijaServlet.java | Java | gpl-3.0 | 3,705 |
/*
* 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 practica2;
/**Descripcion
* Clase que simula las acciones recogidas por parámetro.
*/
public class Usa_tareaRunnable
{
... | zerokullneo/PCTR | PCTR-Practicas/Practica6/src/practica2/Usa_tareaRunnable.java | Java | gpl-3.0 | 712 |