repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
danielhuson/megan-ce | src/megan/clusteranalysis/commands/EcologicalIndexEuclideanCommand.java | 3496 | /*
* EcologicalIndexEuclideanCommand.java Copyright (C) 2021. Daniel H. Huson
*
* (Some files contain contributions from other authors, who are then mentioned separately.)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publishe... | gpl-3.0 |
rhilker/ReadXplorer | readxplorer-tools-transcriptionanalyses/src/main/java/de/cebitec/readxplorer/transcriptionanalyses/wizard/TranscriptionAnalysesWizardIterator.java | 13878 | /*
* Copyright (C) 2014 Institute for Bioinformatics and Systems Biology, University Giessen, Germany
*
* 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
... | gpl-3.0 |
fanruan/finereport-design | designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxUtilities.java | 42360 | /*
* 08/06/2004
*
* RSyntaxUtilities.java - Utility methods used by RSyntaxTextArea and its
* views.
*
* This library is distributed under a modified BSD license. See the included
* RSyntaxTextArea.License.txt file for details.
*/
package com.fr.design.gui.syntax.ui.rsyntaxtextarea;
import java.aw... | gpl-3.0 |
DarkSino98/Essentials | Essentials/src/com/earth2me/essentials/textreader/TextPager.java | 4490 | package com.earth2me.essentials.textreader;
import com.earth2me.essentials.CommandSource;
import com.earth2me.essentials.I18n;
import static com.earth2me.essentials.I18n._;
import java.util.List;
import java.util.Locale;
import java.util.Map;
public class TextPager
{
private final transient IText text;
private fin... | gpl-3.0 |
HelgeDMI/trollflow | java/org.eclipse.emf.mwe2.runtime.source_2.7.0.v201409021027/org/eclipse/emf/mwe2/runtime/Matches.java | 796 | /*******************************************************************************
* Copyright (c) 2008,2010 itemis AG (http://www.itemis.eu) 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 ... | gpl-3.0 |
waikato-datamining/adams-base | adams-core/src/main/java/adams/core/logging/MultiHandler.java | 4758 | /*
* 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 distributed in the hope that it w... | gpl-3.0 |
Olyol95/Saga | src/org/saga/shape/BlockFilter.java | 957 | package org.saga.shape;
import org.bukkit.Material;
import org.bukkit.block.Block;
import java.util.HashSet;
public class BlockFilter implements ShapeFilter {
/**
* Materials.
*/
private HashSet<Material> materials = new HashSet<>();
/**
* If true then the check will return the reverse result.
*/
priva... | gpl-3.0 |
LeoTremblay/activityinfo | server/src/main/java/org/activityinfo/ui/client/component/importDialog/validation/ValidationMappingGrid.java | 1707 | package org.activityinfo.ui.client.component.importDialog.validation;
/*
* #%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 Foun... | gpl-3.0 |
AnodeCathode/ForestryMC | src/main/java/forestry/apiculture/gui/ContainerAlveary.java | 1213 | /*******************************************************************************
* Copyright (c) 2011-2014 SirSengir.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this distribution, and is available at... | gpl-3.0 |
ckaestne/CIDE | CIDE2_ast/src/cide/gast/ASTStringNode.java | 1275 | /**
Copyright 2010 Christian Kästner
This file is part of CIDE.
CIDE 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, version 3 of the License.
CIDE is distributed in the hope th... | gpl-3.0 |
Token3/books-source-code | corejava9/src/main/java/v2ch10/compiler/ByteArrayJavaClass.java | 656 | package v2ch10.compiler;
import java.io.ByteArrayOutputStream;
import java.io.OutputStream;
import java.net.URI;
import javax.tools.SimpleJavaFileObject;
/**
* A Java class that holds the byte codes in a byte array. Created by ZHEN on 16/9/18.
*/
public class ByteArrayJavaClass extends SimpleJavaFileObject {
pr... | gpl-3.0 |
jfinkels/jeffraytracer | src/test/java/jeffraytracer/surfaces/BoxTest.java | 3385 | /**
* BoxTest.java - test for the Box class
*
* Copyright 2011 Jeffrey Finkelstein
*
* This file is part of jeffraytracer.
*
* jeffraytracer 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 v... | gpl-3.0 |
CardiacAtlasProject/xpacs-web | src/main/java/org/cardiacatlas/xpacs/repository/PatientInfoRepository.java | 348 | package org.cardiacatlas.xpacs.repository;
import org.cardiacatlas.xpacs.domain.PatientInfo;
import org.springframework.data.jpa.repository.*;
import java.util.List;
/**
* Spring Data JPA repository for the PatientInfo entity.
*/
@SuppressWarnings("unused")
public interface PatientInfoRepository extends JpaReposi... | gpl-3.0 |
GotoLink/AncientWarfare2 | src/main/java/net/shadowmage/ancientwarfare/automation/container/ContainerWarehouseStorage.java | 7239 | package net.shadowmage.ancientwarfare.automation.container;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraftforge.common.util.Constants;
i... | gpl-3.0 |
am910021/YuriMS | src/server/maps/MapleTVEffect.java | 2984 | /*
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 Genera... | gpl-3.0 |
slub/urnlib | src/main/java/de/slub/urn/URNSyntaxError.java | 4308 | /*
* Copyright (C) 2017 Saxon State and University Library Dresden (SLUB)
*
* 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... | gpl-3.0 |
ConsideredHamster/YetAnotherPixelDungeon | app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/levels/traps/AlarmTrap.java | 1902 | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Yet Another Pixel Dungeon
* Copyright (C) 2015-2016 Considered Hamster
*
* 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, eith... | gpl-3.0 |
ricecakesoftware/CommunityMedicalLink | ricecakesoftware.communitymedicallink.hl7/src/org/hl7/v3/DataTypePointInTime.java | 786 |
package org.hl7.v3;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>DataTypePointInTimeのJavaクラス。
*
* <p>次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。
* <p>
* <pre>
* <simpleType name="DataTypePointInTime">
* <restriction base="{urn:hl7-org:v3}... | gpl-3.0 |
Escapecraft/FalseBook | src/main/java/com/bukkit/gemo/FalseBook/Cart/utils/FBInventory.java | 1292 | package com.bukkit.gemo.FalseBook.Cart.utils;
import net.minecraft.server.v1_6_R3.Container;
import net.minecraft.server.v1_6_R3.EntityHuman;
import net.minecraft.server.v1_6_R3.InventoryCrafting;
import net.minecraft.server.v1_6_R3.ItemStack;
public class FBInventory extends InventoryCrafting {
private ItemStack... | gpl-3.0 |
Joshua-Barclay/wcomponents | wcomponents-core/src/main/java/com/github/bordertech/wcomponents/WVideo.java | 21133 | package com.github.bordertech.wcomponents;
import com.github.bordertech.wcomponents.util.Util;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* WVideo is used to display video content on the clie... | gpl-3.0 |
moltam89/OWXP | modules/micro-maintainance-outdated-task/src/main/java/com/liferay/micro/maintainance/configuration/OutdatedTaskConfiguration.java | 533 | package com.liferay.micro.maintainance.configuration;
import aQute.bnd.annotation.metatype.Meta;
/**
* @author Rimi Saadou
* @author Laszlo Hudak
*/
@Meta.OCD(
id = "com.liferay.micro.maintainance.configuration.OutdatedTaskConfiguration"
)
public interface OutdatedTaskConfiguration {
@Meta.AD(deflt = "14", requ... | gpl-3.0 |
ccrama/Slide | app/src/main/java/me/ccrama/redditslide/Activities/MakeExternal.java | 972 | package me.ccrama.redditslide.Activities;
import android.app.Activity;
import android.content.SharedPreferences;
import android.os.Bundle;
import java.net.MalformedURLException;
import java.net.URL;
import me.ccrama.redditslide.SettingValues;
/**
* Created by ccrama on 9/28/2015.
*/
public class MakeExternal exte... | gpl-3.0 |
ccem-dev/otus-api | source/otus-persistence/src/main/java/br/org/otus/laboratory/project/builder/ExamResultQueryBuilder.java | 2339 | package br.org.otus.laboratory.project.builder;
import java.util.ArrayList;
import java.util.List;
import org.bson.Document;
import org.bson.conversions.Bson;
import com.google.gson.GsonBuilder;
public class ExamResultQueryBuilder {
private ArrayList<Bson> pipeline;
public ExamResultQueryBuilder() {
this.... | gpl-3.0 |
onycom-ankus/ankus_analyzer_G | trunk_web/ankus-web-services/src/main/java/org/ankus/core/repository/PersistentRepository.java | 1895 | /**
* This file is part of ankus.
*
* ankus 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.
*
* ankus is distributed in the hop... | gpl-3.0 |
Greymerk/minecraft-roguelike | src/main/java/greymerk/roguelike/dungeon/settings/SettingsResolver.java | 4942 | package greymerk.roguelike.dungeon.settings;
import java.util.Collection;
import java.util.Random;
import greymerk.roguelike.config.RogueConfig;
import greymerk.roguelike.util.WeightedChoice;
import greymerk.roguelike.util.WeightedRandomizer;
import greymerk.roguelike.worldgen.Coord;
import greymerk.roguelike.worldge... | gpl-3.0 |
claesn/ir2017 | ir2017/src/main/java/de/uni_koeln/spinfo/textengineering/ir/eval/GoldStandard.java | 1252 | package de.uni_koeln.spinfo.textengineering.ir.eval;
import java.util.ArrayList;
import java.util.List;
import de.uni_koeln.spinfo.textengineering.ir.basic.Work;
import de.uni_koeln.spinfo.textengineering.ir.boole.PositionalIndex;
import de.uni_koeln.spinfo.textengineering.ir.preprocess.Preprocessor;
/*
* Erstellun... | gpl-3.0 |
ahmadaghazadeh/recyclerviewcardview | app/src/main/java/ahmad/aghazadeh/recyclerviewcardview/logic/BindingCustom.java | 2117 | package ahmad.aghazadeh.recyclerviewcardview.logic;
import android.databinding.BindingAdapter;
import android.databinding.BindingConversion;
import android.graphics.Bitmap;
import android.graphics.Typeface;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bui... | gpl-3.0 |
rockoutwill/LetsModReboot | src/main/java/com/rockoutwill/letsmodreboot/proxy/ServerProxy.java | 95 | package com.rockoutwill.letsmodreboot.proxy;
public class ServerProxy extends CommonProxy {
}
| gpl-3.0 |
ingenitor/BlockEnvy | src/main/java/com/ingenitor/blockenvy/proxy/CommonProxy.java | 203 | /**
*
*/
package com.ingenitor.blockenvy.proxy;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
/**
* @author ingenitor
*
*/
public abstract class CommonProxy implements IProxy {
}
| gpl-3.0 |
tavomaciel/games-for-enterprise-programmers | core/src/com/gustavomaciel/enterprise/CollisionResolver.java | 1986 | package com.gustavomaciel.enterprise;
import com.badlogic.gdx.utils.Array;
import com.gustavomaciel.enterprise.CollisionGroups.CollisionGroup;
/**
* Created by Gustavo on 5/22/2016.
*/
public class CollisionResolver {
public static void checkAndResolve(Array<Entity> entities) {
for(int i = 0, s = entiti... | gpl-3.0 |
DannyHui/Article | src/service/ArticleService.java | 1058 | package service;
import java.util.List;
import java.util.Map;
import util.DataBaseUtils;
public class ArticleService {
/**
* 通过类别获取文章列表
* @param categoryId
* @param start
* @param end
*/
public List<Map<String,Object>> getArticlesByCategoryId(Integer categoryId,Integer start,Integer end)... | gpl-3.0 |
OpenBD/openbd-core | src/com/naryx/tagfusion/cfm/xml/ws/dynws/StubInfo.java | 4431 | /*
* Copyright (C) 2000 - 2008 TagServlet Ltd
*
* This file is part of Open BlueDragon (OpenBD) CFML Server Engine.
*
* OpenBD is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* Free Software Foundation,version 3.
*
* Open... | gpl-3.0 |
Infernalized/InfernalUtils | src/main/java/net/infernalized/infernalutils/client/gui/GuiFactory.java | 681 | package net.infernalized.infernalutils.client.gui;
import cpw.mods.fml.client.IModGuiFactory;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import java.util.Set;
public class GuiFactory implements IModGuiFactory {
@Override
public void initialize(Minecraft minecraftInstan... | gpl-3.0 |
apruden/opal | opal-gwt-client/src/main/java/org/obiba/opal/web/gwt/app/client/administration/presenter/RequestAdministrationPermissionEvent.java | 1805 | /*******************************************************************************
* Copyright (c) 2012 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public Licen... | gpl-3.0 |
autentia/TNTConcept | tntconcept-core/src/main/java/com/autentia/tnt/businessobject/InventaryType.java | 862 | /**
* TNTConcept Easy Enterprise Management by Autentia Real Bussiness Solution S.L.
* Copyright (C) 2007 Autentia Real Bussiness Solution S.L.
*
* 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 Founda... | gpl-3.0 |
guiguilechat/EveOnline | model/esi/JCESI/src/generated/java/fr/guiguilechat/jcelechat/model/jcesi/compiler/compiled/responses/R_get_universe_systems_system_id.java | 2884 | package fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses;
public class R_get_universe_systems_system_id {
/**
* The constellation this solar system is in
*/
public int constellation_id;
/**
* name string
*/
public String name;
/**
* planets array
*/
... | gpl-3.0 |
Inux/nebsynch | SW13/src/sw13/executorNegative/WorkerCallable.java | 603 | /*
* 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 sw13.executorNegative;
import java.util.concurrent.Callable;
/**
*
* @author Steve Ineichen
*/
public class WorkerCallabl... | gpl-3.0 |
taky/ray | src/com/gmail/altakey/ray/EnqueueActivity.java | 10120 | package com.gmail.altakey.ray;
import android.app.Activity;
import android.os.Bundle;
import android.os.Parcelable;
import android.net.Uri;
import android.content.Intent;
import android.widget.Toast;
import android.util.Log;
import android.net.http.AndroidHttpClient;
import org.apache.http.client.methods.HttpPost;
im... | gpl-3.0 |
sergioramossilva/Sistema-Pagamento-RU | src/main/java/br/edu/utfpr/cm/pi/controller/LoginUsuarioServlet.java | 1740 | package br.edu.utfpr.cm.pi.controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.H... | gpl-3.0 |
Gurgy/Cypher | src/main/java/com/github/cypher/gui/root/roomcollection/RoomCollectionView.java | 154 | package com.github.cypher.gui.root.roomcollection;
import com.airhacks.afterburner.views.FXMLView;
public class RoomCollectionView extends FXMLView {
}
| gpl-3.0 |
mini890/2D-Computer-Graphics | src/Aula_4/Carro/RodaAros.java | 818 | package Aula_4.Carro;
import java.awt.Graphics2D;
public class RodaAros extends Roda {
int n;
public RodaAros(int n, int raio, int xi, int yi) {
super(raio, xi, yi, 0);
this.n = n;
}
/*public RodaAros(int xi, int yi) {
super(17, xi, yi, 0);
n = 8;
raio = 17;
}*/
public void dra... | gpl-3.0 |
s20121035/rk3288_android5.1_repo | packages/apps/Camera2/tests/src/com/android/camera/stress/CameraLatency.java | 7032 | /*
* Copyright (C) 2009 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... | gpl-3.0 |
Amagi82/KerbalSpaceApp | src/com/amagi82/kerbalspaceapp/MissionPlanner.java | 17210 | /*
* Kerbal Space App
*
* Copyright (C) 2014 Jim Pekarek (Amagi82)
*
* 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... | gpl-3.0 |
Adaptivity/BetterLoadingScreen | src/main/java/alexiil/mods/load/json/subtypes/JsonImagePanorama.java | 1195 | package alexiil.mods.load.json.subtypes;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import net.minecraft.util.ResourceLocation;
import alexiil.mods.load.baked.func.BakedFunction;
import alexiil.mods.load.baked.func.FunctionBaker;
import alexiil.mods.load.baked.insn.BakedInstruction;
i... | gpl-3.0 |
waikato-datamining/adams-base | adams-core/src/test/java/adams/flow/sink/RemoteCommandWriterTest.java | 4366 | /*
* 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 distributed in the hope that it w... | gpl-3.0 |
rdnz/UnaGo | unagoclient/partner/PartnerSendQuestion.java | 1804 | package unagoclient.partner;
import unagoclient.Global;
import unagoclient.gui.*;
import javax.swing.*;
/**
* Displays a send dialog, when the partner presses "Send" in the GoFrame. The
* message is appended to the PartnerFrame.
*/
public class PartnerSendQuestion extends CloseDialog {
/**
... | gpl-3.0 |
Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/core-java-modules/core-java-8/src/main/java/com/baeldung/reflect/Person.java | 278 | package com.baeldung.reflect;
public class Person {
private String fullName;
public Person(String fullName) {
this.fullName = fullName;
}
public void setFullName(String fullName) {
this.fullName = fullName;
}
public String getFullName() {
return fullName;
}
}
| gpl-3.0 |
StarTux/LinkPortal | src/main/java/com/winthier/linkportal/LinkPortalPlugin.java | 997 | package com.winthier.linkportal;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;
@Getter
public final class LinkPortalPlugin extends JavaPlugin {
private final LinkPortalListener listener = new LinkPortalListener(this);
pri... | gpl-3.0 |
aleatorio12/ProVentasConnector | jasperreports-6.2.1-project/jasperreports-6.2.1/demo/samples/csvdatasource/src/CsvDataSourceApp.java | 15435 | /*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | gpl-3.0 |
matthiasjordan/piRSS | src/de/codefu/android/rss/updateservice/ServiceComm.java | 8607 | /**
* Copyright (C) 2011 Matthias Jordan <matthias.jordan@googlemail.com>
*
* This file is part of piRSS.
*
* piRSS 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
*... | gpl-3.0 |
wachsmuth/freeWarOnTerror | src/freeWarOnTerror/cards/IEDs.java | 1521 | /*
* Copyright (C) 2014 Emil
*
* 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 distr... | gpl-3.0 |
AnDwHaT5/PixelUtilities | src/main/java/com/pixelutilitys/commands/PokecheckmeCommand.java | 1217 | package com.pixelutilitys.commands;
import com.pixelmonmod.pixelmon.Pixelmon;
import com.pixelmonmod.pixelmon.enums.EnumGui;
import net.minecraft.command.CommandBase;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.ChatComponentTranslation;
publi... | gpl-3.0 |
IntellectualSites/PlotSquared | Core/src/main/java/com/plotsquared/core/events/PlotChangeOwnerEvent.java | 3957 | /*
* _____ _ _ _____ _
* | __ \| | | | / ____| | |
* | |__) | | ___ | |_| (___ __ _ _ _ __ _ _ __ ___ __| |
* | ___/| |/ _ \| __|\___ \ / _` | | | |/ _` | '__/ _ \/ _` |
* | | | | (_) | |_ ____) | (_| | ... | gpl-3.0 |
tobiasschuelke/open-keychain | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SettingsKeyserverFragment.java | 13816 | /*
* Copyright (C) 2012-2015 Dominik Schürmann <dominik@dominikschuermann.de>
* Copyright (C) 2015 Adithya Abraham Philip <adithyaphilip@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 Fo... | gpl-3.0 |
PhantomBot/PhantomBot | source/tv/phantombot/event/discord/channel/DiscordChannelPartEvent.java | 1025 | /*
* Copyright (C) 2016-2022 phantombot.github.io/PhantomBot
*
* 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.
*
... | gpl-3.0 |
MTK6580/walkie-talkie | ALPS.L1.MP6.V2_HEXING6580_WE_L/alps/development/samples/Support7Demos/src/com/example/android/supportv7/app/ToolbarDisplayOptions.java | 4827 | /*
* Copyright (C) 2014 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... | gpl-3.0 |
MinecoloniesDevs/Minecolonies | src/test/java/com/minecolonies/inventory/InventoryTest.java | 1801 | package com.minecolonies.inventory;
import com.minecolonies.colony.buildings.Building;
import com.minecolonies.colony.materials.MaterialStore;
import com.minecolonies.colony.materials.MaterialSystem;
import com.minecolonies.tileentities.TileEntityColonyBuilding;
import net.minecraft.inventory.IInventory;
import net.mi... | gpl-3.0 |
Drakmord2/rec-compiler | Compilador/src/compiler/Compiler.java | 3268 | package compiler;
import checker.Checker;
import checker.SemanticException;
import encoder.Encoder;
import parser.Parser;
import parser.SyntacticException;
import scanner.LexicalException;
import util.FileException;
import util.AST.Programa;
/**
* Compiler driver
* @version 2010-september-04
* @disci... | gpl-3.0 |
mariotaku/harmony | src/org/mariotaku/harmony/app/HarmonyApplication.java | 1908 | package org.mariotaku.harmony.app;
import android.app.Application;
import android.content.Context;
import com.nostra13.universalimageloader.cache.disc.impl.UnlimitedDiscCache;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;
import com.n... | gpl-3.0 |
marevalo/FlowsManager | app/src/main/java/net/marevalo/flowsmanager/CollectionAdapter.java | 1955 | package net.marevalo.flowsmanager;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.ArrayList;
public class CollectionAdapte... | gpl-3.0 |
kostovhg/SoftUni | Java_DBFundamentals-Jan18/DBAdvanced_HibernateSpring/s_Practical_Exam/Skeleton/src/test/java/org.softuni.mostwanted/entity/CarEntityTests.java | 5858 | package org.softuni.mostwanted.entity;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.softuni.mostwanted.util.ReflectionUtil;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import javax.persistence.Column;
import javax.pers... | gpl-3.0 |
kostovhg/SoftUni | JavaWeb/JavaWebDevelopmentBasics/f_serverpages/demo/src/main/java/web/HomeServlet.java | 3142 | package web;
import entities.User;
import services.UserService;
import javax.inject.Inject;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java... | gpl-3.0 |
AnimeniacYuuto/QuantumElectronics | src/main/java/yuuto/quantumelectronics/transport/routing/IItemDestination.java | 250 | package yuuto.quantumelectronics.transport.routing;
import net.minecraft.item.ItemStack;
public interface IItemDestination extends IItemRouter{
ItemStack insertItem(ItemStack stack, boolean simulate, boolean supplier);
boolean isSupplier();
}
| gpl-3.0 |
notsyncing/lightfur | lightfur-integration-jdbc/src/main/java/io/github/notsyncing/lightfur/integration/jdbc/ReflectDataMapper.java | 2099 | package io.github.notsyncing.lightfur.integration.jdbc;
import io.github.notsyncing.lightfur.annotations.entity.Column;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List... | gpl-3.0 |
t08094a/ffManagementSuite | src/main/java/de/leif/ffmanagementsuite/service/UserService.java | 10089 | package de.leif.ffmanagementsuite.service;
import de.leif.ffmanagementsuite.domain.Authority;
import de.leif.ffmanagementsuite.domain.User;
import de.leif.ffmanagementsuite.repository.AuthorityRepository;
import de.leif.ffmanagementsuite.config.Constants;
import de.leif.ffmanagementsuite.repository.UserRepository;
imp... | gpl-3.0 |
chrxn/wsdot-mobile-app | src/main/java/gov/wa/wsdot/mobile/client/activities/trafficmap/expresslanes/SeattleExpressLanesView.java | 1634 | /*
* Copyright (c) 2014 Washington State Department of Transportation
*
* 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 ver... | gpl-3.0 |
alfonsodou/javaLeagueBootstrap | src/org/javahispano/javaleague/client/event/UpdateTacticEvent.java | 721 | /**
*
*/
package org.javahispano.javaleague.client.event;
import org.javahispano.javaleague.shared.domain.TacticUser;
import com.google.gwt.event.shared.GwtEvent;
/**
* @author adou
*
*/
public class UpdateTacticEvent extends GwtEvent<UpdateTacticEventHandler> {
public static Type<UpdateTacticEventHandler> T... | gpl-3.0 |
Cubeville/HawkEye-Redux | api/src/main/java/org/cubeville/hawkeye/config/ConfigurationNode.java | 7970 | /*
* HawkEye Redux
* Copyright (C) 2012-2013 Cubeville <http://www.cubeville.org> and contributors
*
* 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
* ... | gpl-3.0 |
paolopavan/cfr | src/weka/gui/BEANS/TestSetEvent.java | 2331 | /*
* 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.
*
* This program is distributed in the hope that... | gpl-3.0 |
donatellosantoro/Llunatic | lunaticEngine/src/it/unibas/lunatic/model/chase/chasede/operators/mainmemory/MainMemoryReplaceDatabase.java | 2579 | package it.unibas.lunatic.model.chase.chasede.operators.mainmemory;
import it.unibas.lunatic.Scenario;
import it.unibas.lunatic.model.chase.chasede.operators.IReplaceDatabase;
import java.util.Iterator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import speedy.model.algebra.operators.ITupleIterator;
impor... | gpl-3.0 |
qt-haiku/LibreOffice | qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java | 5478 | /*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following lice... | gpl-3.0 |
autowp/CANreader | app/src/main/java/com/autowp/canreader/UsbDeviceSpinnerAdapter.java | 2360 | package com.autowp.canreader;
import android.content.Context;
import android.hardware.usb.UsbDevice;
import android.os.Build;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import java.util.List;
/**
* ... | gpl-3.0 |
bengtmartensson/IrpMaster | src/main/java/org/harctoolbox/IrpMaster/Wave.java | 25136 | /*
Copyright (C) 2009-2013 Bengt Martensson.
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 distributed in th... | gpl-3.0 |
avaire/orion | src/main/java/com/avairebot/imagegen/colors/ranks/MountainRangeColors.java | 1664 | /*
* Copyright (c) 2018.
*
* This file is part of AvaIre.
*
* AvaIre 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.
*
* AvaI... | gpl-3.0 |
Tiketal/Overwatch | src/com/tiketal/overwatch/util/DisplayBar.java | 1427 | package com.tiketal.overwatch.util;
import org.bukkit.Bukkit;
import org.bukkit.boss.BarColor;
import org.bukkit.boss.BarStyle;
import org.bukkit.boss.BossBar;
import org.bukkit.entity.Player;
public class DisplayBar {
private BossBar bar;
public DisplayBar(String name, String color, String style) {
color = co... | gpl-3.0 |
demiurgosoft/star-droids | StarDroids/src/mapproject/Tile.java | 1477 | package mapproject;
import static helpers.Artist.*;
import org.newdawn.slick.opengl.Texture;
/**
* Clase que representa una celda individual del mapa
*
* @author Alba Ríos
*/
public class Tile {
private float x, y, width, height;
private Texture texture;
/**
*
* @param x Coordenada x de... | gpl-3.0 |
abmindiarepomanager/ABMOpenMainet | Mainet1.1/MainetServiceParent/MainetServiceAgency/src/main/java/com/abm/mainet/agency/dao/AgencyRegistrationProcessDao.java | 464 | package com.abm.mainet.agency.dao;
import com.abm.mainet.agency.dto.TPAgencyReqDTO;
import com.abm.mainet.agency.dto.TPAgencyResDTO;
import com.abm.mainet.common.domain.Employee;
/**
* @author Arun.Chavda
*
*/
public interface AgencyRegistrationProcessDao {
Employee saveAgnEmployeeDetails(Employee... | gpl-3.0 |
srnsw/xena | plugins/image/ext/src/w3c-svg/src/org/w3c/dom/svg/SVGUnitTypes.java | 281 |
package org.w3c.dom.svg;
public interface SVGUnitTypes {
// Unit Types
public static final short SVG_UNIT_TYPE_UNKNOWN = 0;
public static final short SVG_UNIT_TYPE_USERSPACEONUSE = 1;
public static final short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
}
| gpl-3.0 |
teiniker/teiniker-lectures-securedesign | web-applications/access-control/session-management/Servlet-SessionManagement-ViewState/src/main/java/org/se/lab/ControllerServlet.java | 6040 | package org.se.lab;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Date;
import javax.servlet.ServletException;
import j... | gpl-3.0 |
cbuehler/freewrl | src/java/vrml/field/MFColor.java | 4431 | //AUTOMATICALLY GENERATED BY genfields.pl.
//DO NOT EDIT!!!!
package vrml.field;
import vrml.*;
import java.io.BufferedReader;
import java.io.PrintWriter;
import java.io.IOException;
public class MFColor extends MField {
public MFColor() {
}
public MFColor(float[] colors) {
this(colors.length, co... | gpl-3.0 |
newa0/boamp-api-quickStart | src/main/gen/fr/gouv/api/Boamp_v230/EnumAvisImplique.java | 3154 | //
// Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.2.11
// Voir <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source.
// Généré le : 2017.09... | gpl-3.0 |
idega/platform2 | src/com/idega/block/trade/stockroom/business/ProductPriceException.java | 530 | package com.idega.block.trade.stockroom.business;
/**
* Title: IW Trade
* Description:
* Copyright: Copyright (c) 2001
* Company: idega.is
* @author 2000 - idega team - <br><a href="mailto:gummi@idega.is">Guðmundur Ágúst Sæmundsson</a><br><a href="mailto:gimmi@idega.is">Grímur Jónsson</a>
* @versi... | gpl-3.0 |
StephaneMangin/Synth | src/main/java/org/istic/synthlab/core/modules/whitenoise/WhiteNoise.java | 1003 | package org.istic.synthlab.core.modules.whitenoise;
import org.istic.synthlab.components.IComponent;
import org.istic.synthlab.core.modules.io.IOutput;
import org.istic.synthlab.core.services.Factory;
import org.istic.synthlab.core.services.Register;
public class WhiteNoise implements IWhiteNoise {
private com.js... | gpl-3.0 |
kc8hfi/mygolfcart | dev/java/src/networkRead.java | 1860 | import java.io.IOException;
import java.net.Socket;
import java.util.Scanner;
public class networkRead implements Runnable
{
//Objects
Scanner read;
debugLogger myLogger;
sharedData myData;
arduinoWrite ardWriter;
Socket pipe;
//Variables
String data;
long startTime;
long endTime;
boolean dead = false;
... | gpl-3.0 |
davenpcj5542009/eucalyptus | clc/modules/dns/src/main/java/com/eucalyptus/cloud/ws/ConnectionHandler.java | 17449 | /*************************************************************************
* Copyright 2009-2014 Eucalyptus Systems, Inc.
*
* 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; version 3 of the ... | gpl-3.0 |
headissue/cache2k | cache2k-core/src/main/java/org/cache2k/core/CommonMetricsFactory.java | 947 | package org.cache2k.core;
/*
* #%L
* cache2k core implementation
* %%
* Copyright (C) 2000 - 2021 headissue GmbH, Munich
* %%
* 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
*
* ... | gpl-3.0 |
fanruan/finereport-design | designer_base/src/com/fr/design/beans/FurtherBasicBeanPane.java | 656 | package com.fr.design.beans;
import com.fr.stable.StringUtils;
/**
*
* @author zhou
* @since 2012-5-30下午12:12:42
*/
public abstract class FurtherBasicBeanPane<T> extends BasicBeanPane<T> {
/**
* 是否是指定类型
* @param ob 对象
* @return 是否是指定类型
*/
public abstract boolean accept(Object ob);
/*... | gpl-3.0 |
dmfs/jdav-client | src/org/dmfs/davclient/rfc7231/HttpOptions.java | 947 | /*
* Copyright (C) 2015 Marten Gajda <marten@dmfs.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; either version 2 of the License,
* or (at your option) any later version.
*
* Thi... | gpl-3.0 |
YixingHuang/CONRAD | src/edu/stanford/rsl/conrad/numerics/DecompositionSVD.java | 14143 | package edu.stanford.rsl.conrad.numerics;
import Jama.Matrix;
import Jama.util.*;
/** Singular Value Decomposition.
<P>
For an m-by-n matrix A, the singular value decomposition is
an m-by-(m or n) orthogonal matrix U, a (m or n)-by-n diagonal matrix S, and
an n-by-n orthogonal matrix V so that A = U*S*V'.... | gpl-3.0 |
oicr-gsi/niassa | seqware-common/src/main/java/net/sourceforge/seqware/common/util/filetools/lock/LockingFileTools.java | 2474 | package net.sourceforge.seqware.common.util.filetools.lock;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.nio.channels.FileLock;
import java.nio.charset.StandardCharsets;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* ... | gpl-3.0 |
fbk/fcw | fcw-utils/src/main/java/eu/fbk/fcw/utils/corpus/Word.java | 2901 | package eu.fbk.fcw.utils.corpus;
import java.io.Serializable;
/**
* Created by alessio on 12/11/15.
*/
public class Word implements Serializable {
private int id;
private String form;
private String lemma;
private String pos;
private int depParent;
private String depLabel;
private in... | gpl-3.0 |
G2159687/espd | app/src/main/java/com/github/epd/sprout/levels/DeadEndLevel.java | 1393 |
package com.github.epd.sprout.levels;
import com.github.epd.sprout.Assets;
import com.github.epd.sprout.messages.Messages;
import java.util.Arrays;
public class DeadEndLevel extends Level {
private static final int SIZE = 5;
{
color1 = 0x534f3e;
color2 = 0xb9d661;
}
@Override
public String tilesTex() {
... | gpl-3.0 |
iterate-ch/cyberduck | s3/src/main/java/ch/cyberduck/core/cloudfront/CloudFrontDistributionConfiguration.java | 37094 | package ch.cyberduck.core.cloudfront;
/*
* Copyright (c) 2002-2013 David Kocher. All rights reserved.
* http://cyberduck.ch/
*
* 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... | gpl-3.0 |
nigelcog/mini-IoT | android/mini-IoT/app/src/main/java/com/creativecub/iotarduino/DataAdapter.java | 1899 | package com.creativecub.iotarduino;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.Switch;
import android.widget.TextView;
import java.util.List;
public cl... | gpl-3.0 |
SuperMap-iDesktop/SuperMap-iDesktop-Cross | DataView/src/main/java/com/supermap/desktop/framemenus/CtrlActionWorkspaceSaveAsOracle.java | 785 | package com.supermap.desktop.framemenus;
import com.supermap.desktop.Application;
import com.supermap.desktop.Interface.IBaseItem;
import com.supermap.desktop.Interface.IForm;
import com.supermap.desktop.implement.CtrlAction;
import com.supermap.desktop.ui.controls.JDialogWorkspaceSaveAs;
import javax.swing.*;
publi... | gpl-3.0 |
jinsedeyuzhou/NewsClient | doraemonkit/src/main/java/com/ebrightmoon/doraemonkit/ui/widget/tableview/listener/Observable.java | 1237 | package com.ebrightmoon.doraemonkit.ui.widget.tableview.listener;
import java.util.ArrayList;
import java.util.List;
public abstract class Observable<T> {
public final ArrayList<T> observables = new ArrayList<>();
/**AttachObserver(通过实例注册观察者)
**/
public void register(T observer){
if(obser... | gpl-3.0 |
fanruan/finereport-design | designer_chart/src/com/fr/plugin/chart/custom/component/VanChartHyperLinkPane.java | 11772 | package com.fr.plugin.chart.custom.component;
import com.fr.chart.chartattr.Plot;
import com.fr.chart.web.ChartHyperPoplink;
import com.fr.chart.web.ChartHyperRelateCellLink;
import com.fr.chart.web.ChartHyperRelateFloatLink;
import com.fr.design.ExtraDesignClassManager;
import com.fr.design.beans.BasicBeanPane;
impor... | gpl-3.0 |
ThoNill/JanusData | JanusData/test/test/janus/data/DataDescriptionTest.java | 3870 | package test.janus.data;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import org.apache.log4j.Logger;
import org.janus.data.DataContext;
import org.janus.data.DataContextImpl;
impo... | gpl-3.0 |
Minecolonies/minecolonies | src/main/java/com/minecolonies/coremod/client/gui/WindowAssignCitizen.java | 8602 | package com.minecolonies.coremod.client.gui;
import com.ldtteam.blockout.Pane;
import com.ldtteam.blockout.controls.Button;
import com.ldtteam.blockout.controls.ButtonHandler;
import com.ldtteam.blockout.controls.Text;
import com.ldtteam.blockout.views.ScrollingList;
import com.ldtteam.blockout.views.Window;
import co... | gpl-3.0 |
weblicht/oaipmh-cmdi-bindings | src/main/java/eu/clarin/weblicht/bindings/cmd/ws/OutputValues.java | 932 | package eu.clarin.weblicht.bindings.cmd.ws;
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.XmlElement;
/**
*
* @author akislev
*/
@XmlAccessorType(value = XmlAccessType.FIELD)
publ... | gpl-3.0 |