repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
pantelis60/L2Scripts_Underground | gameserver/src/main/java/l2s/gameserver/instancemanager/DailyQuestsManager.java | 1579 | package l2s.gameserver.instancemanager;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import l2s.commons.util.Rnd;
import l2s.gameserver.model.Player;
import l2s.gameserver.model.quest.Quest;
import l2s.gameserver.model.quest.QuestState;
public class Dai... | gpl-3.0 |
raymondbh/TFCraft | src/Common/com/bioxx/tfc/Render/Blocks/RenderLoom.java | 7580 | package com.bioxx.tfc.Render.Blocks;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.world.IBlockAccess;
import org.lwjgl.opengl.GL11;
import com.bioxx.tfc.TileEntities.TELoom;
import com.bioxx.tfc.a... | gpl-3.0 |
zhaodongchao/dcproj | dcproj-model/src/main/java/org/dongchao/model/entity/User.java | 3180 | package org.dongchao.model.entity;
import org.hibernate.validator.constraints.NotEmpty;
import javax.persistence.*;
import java.io.Serializable;
import java.util.List;
import java.util.Objects;
import java.util.Set;
/**
* Created by zhaodongchao on 2017/5/3.
*/
@Table(name = "dc_user")
@Entity
public class User im... | gpl-3.0 |
kuros/random-jpa | src/test/java/com/github/kuros/random/jpa/testUtil/entity/EmployeeDepartment.java | 1656 | package com.github.kuros.random.jpa.testUtil.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "employee_department")
public clas... | gpl-3.0 |
Waikato/meka | src/test/java/meka/classifiers/multilabel/PMCCTest.java | 1617 | /*
* 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 |
trol73/mucommander | src/main/com/mucommander/ui/main/DrivePopupButton.java | 26393 | /*
* This file is part of muCommander, http://www.mucommander.com
* Copyright (C) 2002-2012 Maxence Bernard
*
* muCommander 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... | gpl-3.0 |
LeshiyGS/shikimori | library/src/main/java/org/shikimori/library/adapters/CommentsAdapter.java | 3387 | package org.shikimori.library.adapters;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import com.nostra13.universalimageloader.core.ImageLoader;
import org.shikimori.library.R;
import org.shikimori.library.adapters.base.BaseListAdapter;
import org.shikimori.library.adapters... | gpl-3.0 |
MinedroidFTW/DualCraft | org/server/classic/cmd/impl/SummonCommand.java | 2455 | package dualcraft.org.server.classic.cmd.impl;
/*License
====================
Copyright (c) 2010-2012 Daniel Vidmar
We use a modified GNU gpl v 3 license for this.
GNU gpl v 3 is included in License.txt
The modified part of the license is some additions which state the following:
"Redistributions of this project i... | gpl-3.0 |
fga-gpp-mds/2016.2-CidadeDemocratica | app/src/test/java/com/mdsgpp/cidadedemocratica/requester/TagRequestResponseHandlerTest.java | 1856 | package com.mdsgpp.cidadedemocratica.requester;
import android.test.AndroidTestCase;
import com.mdsgpp.cidadedemocratica.model.Tag;
import org.json.JSONArray;
import org.json.JSONException;
import org.junit.Test;
import java.util.ArrayList;
/**
* Created by andreanmasiro on 04/11/16.
*/
public class TagRequestR... | gpl-3.0 |
manuel-freire/ac2 | clover/src/test/java/es/ucm/fdi/clover/model/SimpleRuleClustererTest.java | 13328 | /*
* AC - A source-code copy detector
*
* For more information please visit: http://github.com/manuel-freire/ac2
*
* ****************************************************************************
*
* This file is part of AC, version 2.x
*
* AC is free software: you can redistribute it and/or modify it under ... | gpl-3.0 |
carlgreen/Lexicon-MPX-G2-Editor | mpxg2-cli/src/test/java/info/carlwithak/mpxg2/printing/RoutingPrinterTest.java | 20290 | /*
* Copyright (C) 2011 Carl Green
*
* 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... | gpl-3.0 |
oitsjustjose/V-Tweaks | src/main/java/com/oitsjustjose/vtweaks/common/config/ItemTweakConfig.java | 2337 | package com.oitsjustjose.vtweaks.common.config;
import net.minecraftforge.common.ForgeConfigSpec;
public class ItemTweakConfig {
private static final String CATEGORY_ITEM_TWEAKS = "item tweaks";
public static ForgeConfigSpec.BooleanValue ENABLE_EGG_HATCHING;
public static ForgeConfigSpec.IntValue EGG_HAT... | gpl-3.0 |
optimizationBenchmarking/evaluator-base | src/main/java/org/optimizationBenchmarking/evaluator/data/spec/EAttributeType.java | 2775 | package org.optimizationBenchmarking.evaluator.data.spec;
import java.lang.ref.SoftReference;
/**
* The storage type of
* {@link org.optimizationBenchmarking.evaluator.data.spec.Attribute
* attribute}. Attributes can be {@link #PERMANENTLY_STORED permanently}
* stored, {@link #TEMPORARILY_STORED temporari... | gpl-3.0 |
GiGsolutions/Invoice_generator | src/model/beans/Invoice.java | 655 |
package model.beans;
import java.util.Date;
/**
*
* @author Gepardas
*/
public class Invoice {
private String buyerName;
private String buyerCode;
private String buyerAdress;
private String buyerCity;
private String buyerCountry;
private String buyerPhone;
private... | gpl-3.0 |
sgsinclair/trombone | src/test/java/org/voyanttools/trombone/tool/build/CorpusCreatorTest.java | 3901 | package org.voyanttools.trombone.tool.build;
import static org.junit.Assert.*;
import java.io.IOException;
import org.junit.Test;
import org.voyanttools.trombone.model.Corpus;
import org.voyanttools.trombone.storage.Storage;
import org.voyanttools.trombone.tool.build.RealCorpusCreator;
import org.voyanttools.trombon... | gpl-3.0 |
BREAD5940/FRC-2016-BREAD-Codebase | FRC-2016-BREAD-Codebase/src/org/usfirst/frc/team5940/states/State.java | 1232 | package org.usfirst.frc.team5940.states;
import edu.wpi.first.wpilibj.RobotBase;
public abstract class State implements Runnable {
@SuppressWarnings("unused")
protected RobotBase robot;
//Update recall delay
private int delay = 25;
/**
* Constructor
* @param robot Saved in this class, allows st... | gpl-3.0 |
yeSlin1/CBdParking | src/com/pms/bean/Contract.java | 2916 | package com.pms.bean;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
//合约实体类
public class Contract implements Serializable{
private int contractId;//合约ID
private String contractNo;//合约编号
private String contractPicture;//合约图片地址
private int contractType;//是否解约状态
private int contractDire... | gpl-3.0 |
isel-leic-mpd/mpd-2017-i41d | aula13-json/src/test/java/WeatherDomainTest.java | 3152 | /*
* Copyright (c) 2017, Miguel Gamboa
*
* 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... | gpl-3.0 |
kootox/episodes-manager | episodesmanager-services/src/main/java/org/kootox/episodesmanager/services/importExport/XMLWriter.java | 7089 | /*
* #%L
* episodesmanager-services
*
* $Id$
* $HeadURL$
* %%
* Copyright (C) 2009 - 2010 Jean Couteau
* %%
* 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
... | gpl-3.0 |
wellingtondellamura/compilers-codes-samples | parsers/antlr/BasicIntAST/src/basicintast/util/ThrowingErrorListener.java | 1023 | /*
* 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 basicintast.util;
import org.antlr.v4.runtime.BaseErrorListener;
import org.antlr.v4.runtime.RecognitionException;
import org.... | gpl-3.0 |
diecode/KillerMoney | src/net/diecode/killermoney/events/KMCCommandExecutionEvent.java | 1271 | package net.diecode.killermoney.events;
import net.diecode.killermoney.objects.CCommand;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
public class KMCCommandExecutionEvent extends Event ... | gpl-3.0 |
gammalgris/jmul | Utilities/Persistence-Tests/src/test/jmul/persistence/FileManagerSmallDatapoolTest.java | 3258 | /*
* SPDX-License-Identifier: GPL-3.0
*
*
* (J)ava (M)iscellaneous (U)tilities (L)ibrary
*
* JMUL is a central repository for utilities which are used in my
* other public and private repositories.
*
* Copyright (C) 2013 Kristian Kutin
*
* This program is free software: you can redistribute it and/or modify... | gpl-3.0 |
benjaminaigner/AustrianPublicStream | app/src/main/java/systems/byteswap/publicstream/AppCompatPreferenceActivity.java | 3612 | /**
Copyright:
2015/2016 Benjamin Aigner
developer.google.com
This file is part of AustrianPublicStream.
AustrianPublicStream 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 Licens... | gpl-3.0 |
mtomis/lemonjuice | src/com/codegremlins/lemonjuice/engine/EqualElement.java | 1485 | /*
* lemonjuice - Java Template Engine.
* Copyright (C) 2009-2012 Manuel Tomis manuel@codegremlins.com
*
* 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 3 of the... | gpl-3.0 |
siviotti/ubre | ubre-core/src/main/java/br/net/ubre/lang/keyword/binary/relational/EqualsOperator.java | 895 | package br.net.ubre.lang.keyword.binary.relational;
import br.net.ubre.data.container.DataContainer;
import br.net.ubre.lang.data.literal.FalseStatement;
import br.net.ubre.lang.data.literal.TrueStatement;
import br.net.ubre.lang.statement.Statement;
/**
* COmpara se os valores das partes (esquerda e direita) são ig... | gpl-3.0 |
silverweed/pokepon | move/Nap.java | 1192 | //: move/Nap.java
package pokepon.move;
import pokepon.enums.*;
import pokepon.pony.Pony;
import pokepon.battle.*;
/**
* Heal 50% of user's HP.
*
* @author silverweed
*/
public class Nap extends Move {
public Nap() {
super("Nap");
type = Type.NIGHT;
moveType = Move.MoveType.STATUS;
maxpp = pp = 10... | gpl-3.0 |
pantelis60/L2Scripts_Underground | gameserver/src/main/java/l2s/gameserver/ai/SpecialTautiMonsters.java | 1320 | package l2s.gameserver.ai;
import l2s.gameserver.model.Creature;
import l2s.gameserver.model.instances.NpcInstance;
import l2s.gameserver.model.instances.MonsterInstance;
/**
* @author Bonux
**/
public class SpecialTautiMonsters extends Fighter
{
public SpecialTautiMonsters(NpcInstance actor)
{
super(actor);
}
... | gpl-3.0 |
punyararj/his-interface-core | HISIF_CORE/src/com/healthcare/db/client/ItemmappingMapper.java | 1934 | package com.healthcare.db.client;
import com.healthcare.db.model.Itemmapping;
import com.healthcare.db.model.ItemmappingExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface ItemmappingMapper {
/**
* This method was generated by MyBatis Generator. This method corre... | gpl-3.0 |
deric/clusteval-parent | clusteval-backend/src/main/java/de/clusteval/data/goldstandard/format/GoldStandardFormat.java | 821 | /*******************************************************************************
* Copyright (c) 2013 Christian Wiwie.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* ... | gpl-3.0 |
customertimes/easyrec-PoC | easyrec-client/src/main/java/easyrec/poc/client/entity/ResponseCode.java | 536 | package easyrec.poc.client.entity;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name="success")
@XmlAccessorType(XmlAccessType.FIELD)
public class Respon... | gpl-3.0 |
donaldhwong/1Sheeld | oneSheeld/src/main/java/com/integreight/onesheeld/shields/controller/LcdShield.java | 9331 | package com.integreight.onesheeld.shields.controller;
import android.app.Activity;
import com.integreight.firmatabluetooth.ShieldFrame;
import com.integreight.onesheeld.enums.UIShield;
import com.integreight.onesheeld.shields.ControllerParent;
import com.integreight.onesheeld.utils.Log;
public class LcdShield extend... | gpl-3.0 |
drdrej/android-drafts-app | app/src/main/java/com/touchableheroes/drafts/app/sensors/ISensorListener.java | 127 | package com.touchableheroes.drafts.app.sensors;
/**
* Created by asiebert on 06.12.14.
*/
public class ISensorListener {
}
| gpl-3.0 |
CMPUT301F15T06/GraceHoppers | app/src/androidTest/java/com/gracehoppers/jlovas/bookwrm/ViewTradeActivityTest.java | 2048 | package com.gracehoppers.jlovas.bookwrm;
import android.app.Activity;
import android.content.Intent;
import android.test.ActivityInstrumentationTestCase2;
import android.widget.Button;
import android.widget.TextView;
import junit.framework.TestCase;
import java.util.ArrayList;
/**
* Created by ljuarezr on 11/24/15... | gpl-3.0 |
Sriee/epi | Interview/src/company/StringChains.java | 1592 | package company;
import java.util.Arrays;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Map;
public class StringChains {
private int longestChain(String[] words) {
if (words == null || words.length == 0)
return 0;
int chainLength = 0;
Arrays.sort(wor... | gpl-3.0 |
avdata99/SIAT | siat-1.0-SOURCE/src/view/src/WEB-INF/src/ar/gov/rosario/siat/rec/view/struts/AdministrarNovedadRSDAction.java | 9557 | //Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda.
//This file is part of SIAT. SIAT is licensed under the terms
//of the GNU General Public License, version 3.
//See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt>
package ar.gov.rosario.siat.rec.view.struts;
import javax.se... | gpl-3.0 |
optimizationBenchmarking/evaluator-attributes | src/test/java/test/junit/org/optimizationBenchmarking/evaluator/attributes/functions/aggregation2D/package-info.java | 162 | /**
* Tests of our statistical diagram computing attributes.
*/
package test.junit.org.optimizationBenchmarking.evaluator.attributes.functions.aggregation2D; | gpl-3.0 |
chvink/kilomek | megamek/src/megamek/common/weapons/WeaponHandler.java | 56885 | /**
* MegaMek - Copyright (C) 2004,2005 Ben Mazur (bmazur@sev.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 ve... | gpl-3.0 |
foobnix/LirbiReader | app/src/main/java/org/ebookdroid/core/HScrollController.java | 3996 | package org.ebookdroid.core;
import android.graphics.Rect;
import android.graphics.RectF;
import com.foobnix.model.AppBook;
import org.ebookdroid.common.settings.SettingsManager;
import org.ebookdroid.common.settings.types.DocumentViewMode;
import org.ebookdroid.common.settings.types.PageAlign;
import org.ebookdroid... | gpl-3.0 |
otting/NebenkostenAssistent | src/gui/WorkFrame.java | 4016 | package gui;
import java.awt.Dimension;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.text.DecimalFormat;
import java.text.NumberF... | gpl-3.0 |
yhqmcq/infox | src/main/java/com/infox/sysmgr/entity/base/BaseField.java | 1767 | package com.infox.sysmgr.entity.base;
import java.io.Serializable;
public class BaseField implements Serializable {
private static final long serialVersionUID = 1L;
private int hashCode = Integer.MIN_VALUE;
// fields
private java.lang.String name;
private java.lang.String fieldType;
priva... | gpl-3.0 |
drugis/mtc | mtc-gui/src/main/java/org/drugis/mtc/presentation/results/NetworkVarianceTableModel.java | 3491 | /*
* This file is part of the GeMTC software for MTC model generation and
* analysis. GeMTC is distributed from http://drugis.org/gemtc.
* Copyright (C) 2009-2012 Gert van Valkenhoef.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as... | gpl-3.0 |
adam-roughton/CrowdHammer | src/main/java/com/adamroughton/crowdhammer/master/state/MasterStateType.java | 932 | /*
* Copyright 2012 Adam Roughton.
*
* This file is part of CrowdHammer.
*
* CrowdHammer 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) ... | gpl-3.0 |
Better-Aether/Better-Aether | src/main/java/com/gildedgames/aether/client/renderer/tile_entities/TileEntityPresentRenderer.java | 2920 | package com.gildedgames.aether.client.renderer.tile_entities;
import com.gildedgames.aether.client.models.entities.tile.ModelPresent;
import com.gildedgames.aether.common.items.blocks.ItemBlockPresent;
import com.gildedgames.aether.common.tiles.TileEntityPresent;
import net.minecraft.client.renderer.GlStateManager;
im... | gpl-3.0 |
censlin/cilib-old | library/src/main/java/net/sourceforge/cilib/problem/boundaryconstraint/PreviousPosition.java | 1495 | /** __ __
* _____ _/ /_/ /_ Computational Intelligence Library (CIlib)
* / ___/ / / / __ \ (c) CIRG @ UP
* / /__/ / / / /_/ / http://cilib.net
* \___/_/_/_/_.___/
*/
package net.sourceforge.cilib.problem.boundaryconstraint;
import net.sourceforge.cilib.entity.Entity;
import net.sourceforg... | gpl-3.0 |
Monstercraft/MonsterIRC | src/main/java/org/monstercraft/irc/ircplugin/event/events/PluginDisconnectEvent.java | 758 | package org.monstercraft.irc.ircplugin.event.events;
import java.util.EventListener;
import org.monstercraft.irc.ircplugin.event.EventMulticaster;
import org.monstercraft.irc.ircplugin.event.listeners.IRCListener;
import org.monstercraft.irc.plugin.wrappers.IRCServer;
public class PluginDisconnectEvent extends IRCEv... | gpl-3.0 |
cooked/NDT | sc.ndt.editor.fast.fst/src-gen/sc/ndt/editor/fast/fastfst/nTEC_Sres.java | 2191 | /**
*/
package sc.ndt.editor.fast.fastfst;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>nTEC Sres</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link sc.ndt.editor.fast.fastfst.nTEC_Sres... | gpl-3.0 |
241180/Oryx | oryx-client/client-core/src/main/java/com/oryx/core/converter/XMLGregorianCalendarStringConverter.java | 2519 | package com.oryx.core.converter;
import com.vaadin.data.util.converter.Converter;
import org.apache.log4j.Logger;
import javax.xml.datatype.DatatypeConfigurationException;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.datatype.XMLGregorianCalendar;
import java.text.ParseException;
import java.text.Simpl... | gpl-3.0 |
automenta/adams-core | src/main/java/adams/gui/goe/AbstractIntegralNumberEditor.java | 3227 | /*
* 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 |
leafsoftinfo/pyramus | persistence/src/main/java/fi/pyramus/dao/users/PasswordResetRequestDAO.java | 2326 | package fi.pyramus.dao.users;
import java.util.Date;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Root;
import fi.pyramus.dao.PyramusEnti... | gpl-3.0 |
shitongtong/libraryManage | stt-util/src/main/java/com/stt/util2/UUIDUtil.java | 603 | package com.stt.util2;
import java.util.UUID;
/**
* @Author shitongtong
* <p>
* Created by shitongtong on 2017/3/24.
*/
public class UUIDUtil {
/**
* 带"-"分割的
* @return
*/
public static String randomUUID(){
return UUID.randomUUID().toString();
}
/**
* 不带"-"分割的
* @... | gpl-3.0 |
Neutrinet/ISP-ng | src/main/java/be/neutrinet/ispng/security/SessionToken.java | 1487 | package be.neutrinet.ispng.security;
import be.neutrinet.ispng.vpn.Users;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import org.apache.log4j.Logger;
import java.sql.SQLException;
import java.util.UUID;
/**
* Created by wannes on 12/20/14.
*/
@DatabaseTable(tableName =... | gpl-3.0 |
rogerxu/design-patterns | src/main/java/demo/designpatterns/simplefactory/MobileFactory.java | 456 | package demo.designpatterns.simplefactory;
/**
* Created by Roger Xu on 2017/6/24.
*/
public class MobileFactory {
public Mobile getMobile(String title) throws Exception {
if (title.equalsIgnoreCase("nokia")) {
return new Nokia();
} else if (title.equalsIgnoreCase("motorola")) {
... | gpl-3.0 |
qt-haiku/LibreOffice | qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java | 1768 | /*
* 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 |
OmicronProject/BakeoutController-Basic | src/main/java/kernel/modbus/package-info.java | 114 | /**
* Contains methods for working with device using the MODBUS protocol over
* RS232
*/
package kernel.modbus; | gpl-3.0 |
takisd123/executequery | src/org/executequery/gui/prefs/PropertiesToolBar.java | 13636 | /*
* PropertiesToolBar.java
*
* Copyright (C) 2002-2017 Takis Diakoumis
*
* 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 any later version.
*
* T... | gpl-3.0 |
compwiz1548/ElementalTemples | src/main/java/com/compwiz1548/elementaltemples/item/ItemForestRelic.java | 235 | package com.compwiz1548.elementaltemples.item;
public class ItemForestRelic extends ItemET
{
public ItemForestRelic()
{
super();
this.setUnlocalizedName("forestRelic");
this.setMaxStackSize(1);
}
}
| gpl-3.0 |
zqad/zmask | src/org/zkt/zmask/masks/VerticalGlass.java | 2138 | /*
* VerticalGlass.java
* Copyright (C) 2010-2011 Jonas Eriksson
*
* 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 versio... | gpl-3.0 |
priiduneemre/bitplexus | src/main/java/com/neemre/bitplexus/backend/model/AddressType.java | 4237 | package com.neemre.bitplexus.backend.model;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
i... | gpl-3.0 |
ggonzales/ksl | src/com/dotmarketing/portlets/dashboard/model/DashboardSummaryPeriod.java | 1302 | package com.dotmarketing.portlets.dashboard.model;
import java.io.Serializable;
import java.util.Date;
public class DashboardSummaryPeriod implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
private Date fullDate;
private int day;
private String dayName;
pri... | gpl-3.0 |
ltf/lab | jlab/namerank/src/main/java/ltf/namerank/dao/fs/DictItemDaoImpl.java | 1864 | package ltf.namerank.dao.fs;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import ltf.namerank.dao.DictItemDao;
import ltf.namerank.entity.DictItem;
import ltf.namerank.entity.DictItem_Bm8;
import ltf.namerank.utils.PathUtils;
import org.springframework.stereotype.Component;
import java... | gpl-3.0 |
DMXControl/DMXControl-for-Android | DMXControl/src/de/dmxcontrol/model/ModelManager.java | 3722 | /*
* ModelManager.java
*
* DMXControl for Android
*
* Copyright (c) 2012 DMXControl-For-Android. All rights reserved.
*
* This software 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;... | gpl-3.0 |
MrMid/gio-seminare | rozvrhovac/src/cz/devaty/projects/gio/Main.java | 2895 | package cz.devaty.projects.gio;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.stream.Collectors;
public class Main {
/**
* předmět a -> 3., 7.O
* předmět b -> 4., 8.O
* předmě... | gpl-3.0 |
idega/platform2 | src/is/idega/idegaweb/campus/business/ContractRenewalServiceHomeImpl.java | 430 | package is.idega.idegaweb.campus.business;
import javax.ejb.CreateException;
import com.idega.business.IBOHomeImpl;
public class ContractRenewalServiceHomeImpl extends IBOHomeImpl implements
ContractRenewalServiceHome {
public Class getBeanInterfaceClass() {
return ContractRenewalService.class;
}
public Cont... | gpl-3.0 |
ReunionDev/reunion | jreunion/src/main/java/org/reunionemu/jreunion/model/quests/restrictions/RaceRestriction.java | 294 | package org.reunionemu.jreunion.model.quests.restrictions;
import org.reunionemu.jreunion.model.quests.Restriction;
/**
* @author Aidamina
* @license http://reunion.googlecode.com/svn/trunk/license.txt
*/
public interface RaceRestriction extends Restriction {
public Integer getId();
}
| gpl-3.0 |
otavanopisto/pyramus | persistence/src/main/java/fi/otavanopisto/pyramus/domainmodel/clientapplications/ClientApplicationAccessToken.java | 2460 | package fi.otavanopisto.pyramus.domainmodel.clientapplications;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
impor... | gpl-3.0 |
amasiero/algoritmos_estrutura_dados | aula_04/beamer/src/sequencial.java | 193 |
vetor[10] = {31, 16, 45, 87, 37, 99, 21, 43, 10, 48}
valorProcurado = 87
indice = -1
for (i = 0; i < vetor.length - 1; i++) {
if (vetor[i] == valorProcurado) {
indice = i
}
}
| gpl-3.0 |
fluoxa/Iris | src/main/java/de/baleipzig/iris/ui/playground/RonnyView.java | 681 | package de.baleipzig.iris.ui.playground;
import com.vaadin.navigator.View;
import com.vaadin.navigator.ViewChangeListener;
import com.vaadin.spring.annotation.SpringView;
import com.vaadin.spring.annotation.UIScope;
import com.vaadin.ui.Label;
import com.vaadin.ui.VerticalLayout;
import javax.annotation.PostConstruct... | gpl-3.0 |
ckaestne/CIDE | CIDE_Language_XML_concrete/src/tmp/generated_xhtml/Content_var_Choice110.java | 783 | package tmp.generated_xhtml;
import cide.gast.*;
import cide.gparser.*;
import cide.greferences.*;
import java.util.*;
public class Content_var_Choice110 extends Content_var_Choice1 {
public Content_var_Choice110(Element_i element_i, Token firstToken, Token lastToken) {
super(new Property[] {
new P... | gpl-3.0 |
raiben/made | madetools/core/src/main/java/com/velonuboso/made/core/abm/api/IBehaviourTreeBlackboard.java | 878 | /*
* Copyright (C) 2015 Rubén Héctor García (raiben@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
* (at your option) any later version.
... | gpl-3.0 |
nict-isp/ETL-flow-editor | backend/DynamicFlink/csv1POJO1446411691328.java | 499 | package DynamicFlink;
public class csv1POJO1446411691328{
String latitude;
public void setLatitude(String latitude) { this.latitude = latitude; }
public String getLatitude() { return this.latitude; }
String longitude;
public void setLongitude(String longitude) { this.longitude = longitude; }
public String getLongitude(... | gpl-3.0 |
jschang/jSchangLib | investing/src/main/java/com/jonschang/investing/valuesource/TrueRangeValueSource.java | 2142 | /*
###############################
# Copyright (C) 2012 Jon Schang
#
# This file is part of jSchangLib, released under the LGPLv3
#
# jSchangLib 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 ... | gpl-3.0 |
iTitus/MyMod | src/main/java/io/github/ititus/mymod/util/ICyclable.java | 221 | package io.github.ititus.mymod.util;
public interface ICyclable<T> {
T next(int i);
T prev(int i);
default T next() {
return next(1);
}
default T prev() {
return prev(1);
}
}
| gpl-3.0 |
Thomas-Gr/exaBilan | src/main/java/com/exabilan/interfaces/ResultAssociator.java | 529 | package com.exabilan.interfaces;
import java.util.List;
import com.exabilan.types.exalang.Answer;
import com.exabilan.types.exalang.ExaLang;
import com.exabilan.types.exalang.Question;
public interface ResultAssociator {
/**
* Finds the question corresponding to a question number for a given version of Exa... | gpl-3.0 |
gama-platform/gama | ummisco.gama.ui.shared/src/ummisco/gama/ui/commands/OpenGamaWebsiteHandler.java | 1076 | /*********************************************************************************************
*
* 'OpenGamaWebsiteHandler.java, in plugin ummisco.gama.ui.shared, is part of the source code of the
* GAMA modeling and simulation platform.
* (v. 1.8.1)
*
* (c) 2007-2020 UMI 209 UMMISCO IRD/UPMC & Partners
*
* Vis... | gpl-3.0 |
pajato/game-chat-android | app/src/main/java/com/pajato/android/gamechat/MainActivity.java | 8746 | package com.pajato.android.gamechat;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.NavigationView;
import android.support.design.widget.... | gpl-3.0 |
superman-t/LetUsGo | src/com/superman/letusgo/base/BaseTaskPool.java | 3152 | package com.superman.letusgo.base;
import java.util.HashMap;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import android.content.Context;
import android.widget.Toast;
import com.superman.letusgo.util.AppClient;
import com.superman.letusgo.util.HttpUtil;
public clas... | gpl-3.0 |
simonpatrick/stepbystep-java | spring-demo/docs/learningMVC/common/src/main/java/com/common/tuple/MutableTriple.java | 2978 | package com.springdemo.learningMVC.common.src.main.java.com.common.tuple;
/**
* A mutable triple consisting of three {@code Object} elements.
* <p>
* Not #ThreadSafe#
*
* @param <L> the left element type
* @param <M> the middle element type
* @param <R> the right element type
* @version $Id: MutableTriple.java... | gpl-3.0 |
SirBlobman/DragonFire | src/main/java/com/DragonFire/recipe/RecipePotionCookie.java | 2236 | package com.DragonFire.recipe;
import com.DragonFire.item.DFItems;
import net.minecraft.init.Items;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.IRecipe;
import net.minecraft.potion.PotionUtils;
import net.min... | gpl-3.0 |
agicquel/dut | M3104/JAVA/tomcat-etud/work/Catalina/localhost/gpsapp/org/apache/jsp/index_jsp.java | 3368 | /*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/8.0.15
* Generated at: 2017-09-18 08:01:06 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.ap... | gpl-3.0 |
Aptoide/aptoide-client-v8 | app/src/vanilla/java/cm/aptoide/pt/util/MarketResourceFormatter.java | 346 | package cm.aptoide.pt.util;
import android.content.Context;
public class MarketResourceFormatter {
private String marketName;
public MarketResourceFormatter(String marketName) {
this.marketName = marketName;
}
public String formatString(Context context, int id, String... optParamaters) {
return con... | gpl-3.0 |
omerjerk/RemoteDroid | app/src/main/java/com/koushikdutta/async/http/server/AsyncHttpServer.java | 20350 | package com.koushikdutta.async.http.server;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.AssetManager;
import android.os.Build;
import android.text.TextUtils;
import com.koushikdutta.async.AsyncSSLSocket;
import com.koushikdutta.async.AsyncSSLSocketWrapper;
import co... | gpl-3.0 |
phamhathanh/ImageAuthentication | client/app/src/main/java/com/authpro/imageauthentication/InputFragment.java | 8323 | package com.authpro.imageauthentication;
import android.app.Fragment;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Base64;
import android.util.Pair;
import android.v... | gpl-3.0 |
septadev/SEPTA-Android | app/src/main/java/org/septa/android/app/services/apiinterfaces/FavoritesSharedPrefsUtilsImpl.java | 15568 | package org.septa.android.app.services.apiinterfaces;
import android.content.Context;
import android.content.SharedPreferences;
import android.util.Log;
import com.google.gson.Gson;
import com.google.gson.JsonSyntaxException;
import com.google.gson.reflect.TypeToken;
import org.septa.android.app.favorites.FavoriteSt... | gpl-3.0 |
pajato/java-examples | apps/misc/smerge/src/main/java/Main.java | 2552 | /**
* Problem 10.1 CTCI Sorted Merge
*
* You are given two sorted arrays, a and b, where a has a large enough buffer at the end to hold
* b. Write a method to merge b into a in sorted order.
*
* Examples:
*
* a: 2, 7, 22, 44, 56, 88, 456, 5589
* b: 1, 4, 9, 23, 99, 1200
*
* Result:
*
* result: 1, ... | gpl-3.0 |
Ophidia/eubrazilcc-uc3-gateway | src/it/cmcc/ophidiaweb/utils/deserialization/Nodelink.java | 2185 | /**
Eubrazil Scientific Gateway
Copyright (C) 2015 CMCC
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 distri... | gpl-3.0 |
fisty256/PackGame | src/net/fisty/packgame/client/graphics/particle/Particle.java | 402 | package net.fisty.packgame.client.graphics.particle;
import java.awt.Graphics;
import java.awt.image.ImageObserver;
public abstract class Particle {
public int index = 0;
public abstract void render(Graphics g, ImageObserver obs);
public abstract void update();
public abstract void server();
public abstract ... | gpl-3.0 |
potty-dzmeia/db4o | src/db4oj.tests/src/com/db4o/db4ounit/common/soda/ordered/OrderedOrConstraintTestCase.java | 1737 | /* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | gpl-3.0 |
fastlorenzo/mvfa | src/be/bernardi/mvforandroid/data/DatabaseHelper.java | 12330 | /*
Copyright (C) 2011 Lorenzo Bernardi (fastlorenzo@gmail.com)
2010 Ben Van Daele (vandaeleben@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
(at... | gpl-3.0 |
CaronLe/chanhthings2 | src/omr/gui/Menu.java | 6822 | package omr.gui;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.KeyStroke;
/**
* Menu bar of the main window.... | gpl-3.0 |
neblina-software/balerocms-v2 | src/main/java/com/neblina/balero/util/AntiXSS.java | 854 | /**
* Balero CMS Project: Proyecto 100% Mexicano de código libre.
* Página Oficial: http://www.balerocms.com
*
* @author Anibal Gomez <anibalgomez@icloud.com>
* @copyright Copyright (C) 2015 Neblina Software. Derechos reservados.
* @license Licencia BSD; vea LICENSE.txt
*/
package com.neblina.balero.... | gpl-3.0 |
Link184/Respiration | respiration-compiler/src/main/java/com/link184/respiration/LocalRepositoryClassGenerator.java | 3600 | package com.link184.respiration;
import com.squareup.javapoet.AnnotationSpec;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.JavaFile;
import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.ParameterizedTypeName;
import com.squareup.javapoet.TypeName;
import com.squareup.javapoet.T... | gpl-3.0 |
guiguilechat/EveOnline | model/sde/SDE-Types/src/generated/java/fr/guiguilechat/jcelechat/model/sde/attributes/MiningDurationRoleBonus.java | 830 | package fr.guiguilechat.jcelechat.model.sde.attributes;
import fr.guiguilechat.jcelechat.model.sde.IntAttribute;
/**
*
*/
public class MiningDurationRoleBonus
extends IntAttribute
{
public static final MiningDurationRoleBonus INSTANCE = new MiningDurationRoleBonus();
@Override
public int getId() ... | gpl-3.0 |
Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/javaxval/src/test/java/org/baeldung/ContainerValidationIntegrationTest.java | 3005 | package org.baeldung;
import static org.junit.Assert.assertEquals;
import java.util.Collections;
import java.util.OptionalInt;
import java.util.Set;
import javax.validation.ConstraintViolation;
import javax.validation.Validation;
import javax.validation.Validator;
import javax.validation.ValidatorFactory;
import org... | gpl-3.0 |
zanghongtu2006/blog | src/main/java/com/zanghongtu/blog/util/SummaryParser.java | 2801 | package com.zanghongtu.blog.util;
/**
* 摘要
*/
public class SummaryParser {
private static final int SUMMARY_LENGTH = 256;
/**
* 去除info里content 所有html字符
* 截取字符串长度256
* @param sourceStr 源字符串
* @return 截取后的字符串
*/
public static String getSummary(String sourceStr) {
if(StringUt... | gpl-3.0 |
Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/spring-katharsis/src/main/java/org/baeldung/persistence/model/User.java | 2768 | package org.baeldung.persistence.model;
import io.katharsis.resource.annotations.JsonApiId;
import io.katharsis.resource.annotations.JsonApiRelation;
import io.katharsis.resource.annotations.JsonApiResource;
import io.katharsis.resource.annotations.SerializeType;
import java.util.Set;
import javax.persistence.Entity... | gpl-3.0 |
carlosb1/labdoo-api | tests/ClientTest.java | 3807 | /*
* Labdoo API
Copyright (C) 2012 Labdoo team
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... | gpl-3.0 |
wandora-team/wandora | src/org/wandora/application/tools/extractors/europeana/EuropeanaExtractor.java | 2752 | /*
* WANDORA
* Knowledge Extraction, Management, and Publishing Application
* http://wandora.org
*
* Copyright (C) 2004-2016 Wandora Team
*
* 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 Foundatio... | gpl-3.0 |
openflexo-team/gina | gina-api/src/main/java/org/openflexo/gina/model/bindings/FIBVariablePathElement.java | 6703 | /**
*
* Copyright (c) 2014, Openflexo
*
* This file is part of Gina, a component of the software infrastructure
* developed at Openflexo.
*
*
* Openflexo is dual-licensed under the European Union Public License (EUPL, either
* version 1.1 of the License, or any later version ), which is available at
* ... | gpl-3.0 |
QuarterCode/QuarterBukkit | plugin/src/main/java/com/quartercode/quarterbukkit/util/QuarterBukkitExceptionListener.java | 2265 | /*
* This file is part of QuarterBukkit-Plugin.
* Copyright (c) 2012 QuarterCode <http://www.quartercode.com/>
*
* QuarterBukkit-Plugin 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... | gpl-3.0 |
Dominik-Licari/schoolwork | src/Schuler.java | 758 | public class Schuler
{
private String name;
private int test1;
private int test2;
private int test3;
public Schuler()
{
name = "";
test1 = 0;
test2 = 0;
test3 = 0;
}
public void setName(String nm)
{
name = nm;
}
public String getName()
{
return name;
}
public void setPunkte(int i, int punkte... | gpl-3.0 |