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 |
|---|---|---|---|---|---|
/*******************************************************************************
* Tobacco - A portable and reusable game engine written in Java.
* Copyright © 2016 Nirei
*
* This file is part of Tobacco
*
* Tobacco is free software: you can redistribute it and/or modify
* it under the terms of the GNU General P... | Nirei/Tobacco | tobacco-game-test/src/tobacco/game/test/collisions/BulletRemovalCollisionHandler.java | Java | gpl-3.0 | 2,033 |
package org.renjin.gcc.codegen.expr;
import org.renjin.gcc.InternalCompilerException;
import org.renjin.gcc.codegen.MethodGenerator;
import org.renjin.gcc.codegen.array.ArrayExpr;
import org.renjin.gcc.codegen.array.ArrayTypeStrategy;
import org.renjin.gcc.codegen.call.CallGenerator;
import org.renjin.gcc.codegen.call... | jukiewiczm/renjin | tools/gcc-bridge/compiler/src/main/java/org/renjin/gcc/codegen/expr/ExprFactory.java | Java | gpl-3.0 | 20,321 |
package gov.nasa.gsfc.seadas.processing.general;
import com.bc.ceres.swing.TableLayout;
import gov.nasa.gsfc.seadas.processing.core.ProcessorModel;
import gov.nasa.gsfc.seadas.processing.utilities.SheetCell;
import gov.nasa.gsfc.seadas.processing.utilities.SpreadSheet;
import org.esa.beam.framework.ui.ModalDialog;
imp... | marpet/seadas | seadas-processing/src/main/java/gov/nasa/gsfc/seadas/processing/general/CallL3BinDumpAction.java | Java | gpl-3.0 | 7,144 |
package com.dechcaudron.xtreaming.model;
import com.dechcaudron.xtreaming.repositoryInterface.IRepositoryAuthToken;
public class Repository
{
private final int repoLocalId;
private final int repoTypeCode;
private final String domainURL;
private final int port;
private final boolean requireSSL;
... | Dechcaudron/xtreaming-app-android | Xtreaming/app/src/main/java/com/dechcaudron/xtreaming/model/Repository.java | Java | gpl-3.0 | 1,615 |
package com.badlogic.gdx.math;
public class Interpolation$BounceOut extends Interpolation
{
final float[] heights;
final float[] widths;
public Interpolation$BounceOut(int paramInt)
{
if ((paramInt < 2) || (paramInt > 5))
throw new IllegalArgumentException("bounces cannot be < 2 or > 5: " + paramInt... | isnuryusuf/ingress-indonesia-dev | apk/classes-ekstartk/com/badlogic/gdx/math/Interpolation$BounceOut.java | Java | gpl-3.0 | 2,430 |
/*
* 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 dp2;
/**
*
* @author Marianna
*/
public class RSS {
public static Pattern[] run(Pattern[] p, int k){
... | tarcisiodpl/ssdp | SSDP/src/dp2/RSS.java | Java | gpl-3.0 | 2,406 |
/**
* Genji Scrum Tool and Issue Tracker
* Copyright (C) 2015 Steinbeis GmbH & Co. KG Task Management Solutions
* <a href="http://www.trackplus.com">Genji Scrum Tool</a>
*
* 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... | trackplus/Genji | src/main/java/com/aurel/track/admin/customize/category/filter/FieldExpressionBL.java | Java | gpl-3.0 | 40,054 |
/**
* Java Settlers - An online multiplayer version of the game Settlers of Catan
* This file Copyright (C) 2020-2021 Jeremy D Monin <jeremy@nand.net>
*
* 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... | jdmonin/JSettlers2 | src/test/java/soctest/message/TestTemplatesAbstracts.java | Java | gpl-3.0 | 4,601 |
package com.queencastle.service.interf;
import com.queencastle.dao.model.SysResourceInfo;
public interface SysResourceInfoService {
int insert(SysResourceInfo resourceInfo);
}
| AminLiu/Test | queencastle-all/queencastle-service/src/main/java/com/queencastle/service/interf/SysResourceInfoService.java | Java | gpl-3.0 | 182 |
/*
* Copyright (c) 2016 The Ontario Institute for Cancer Research. All rights reserved.
*
* This program and the accompanying materials are made available under the terms of the GNU Public License v3.0.
* ... | icgc-dcc/dcc-common | dcc-common-test/src/main/java/org/icgc/dcc/common/test/mongodb/MongoExporter.java | Java | gpl-3.0 | 3,427 |
package net.minecraft.src;
import java.util.Random;
public class EntityExplodeFX extends EntityFX
{
public EntityExplodeFX(World par1World, double par2, double par4, double par6, double par8, double par10, double par12)
{
super(par1World, par2, par4, par6, par8, par10, par12);
motionX = par8 +... | sethten/MoDesserts | mcp50/src/minecraft/net/minecraft/src/EntityExplodeFX.java | Java | gpl-3.0 | 1,510 |
/**
* This file is part of alf.io.
*
* alf.io 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.
*
* alf.io is distributed in the ... | mg-1999/alf.io | src/main/java/alfio/manager/EventStatisticsManager.java | Java | gpl-3.0 | 8,171 |
//Problem 5. Angle Unit Converter (Degrees ↔ Radians)
//Write a method to convert from degrees to radians. Write a method to convert from radians to degrees.
// You are given a number n and n queries for conversion. Each conversion query will consist of a
// number + space + measure. Measures are "deg" and "rad". Conve... | emrah-it/Softuni | Level 1/Java Basics/Loops Methods Classes/Loops Methods Classes/src/_5_AngleUnitConverterDegreesRadians.java | Java | gpl-3.0 | 1,330 |
package ch.awae.moba.core.operators;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Indicates whether an operator is enabled or not.
*
* Enabled operators are activated by default during startup.
*
* <p>
* This annotation defaults to {@code enabled}; therefore {@code... | ksmonkey123/ModellbahnCore | src/ch/awae/moba/core/operators/Enabled.java | Java | gpl-3.0 | 608 |
/*
Stroke5 Chinese Input Method for Android
Copyright (C) 2012 LinkOmnia Ltd.
Author: Wan Leung Wong (wanleung@linkomnia.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, ... | wanleung/Stroke5Keyboard-android | src/com/linkomnia/android/Stroke5/IMEKeyboard.java | Java | gpl-3.0 | 1,979 |
package tmp.generated_cs;
import cide.gast.*;
import cide.gparser.*;
import cide.greferences.*;
import java.util.*;
public class field_declarators extends GenASTNode {
public field_declarators(field_declarator field_declarator, ArrayList<field_declarator> field_declarator1, Token firstToken, Token lastToken) ... | ckaestne/CIDE | CIDE_Language_CS/src/tmp/generated_cs/field_declarators.java | Java | gpl-3.0 | 1,120 |
package com.uvasoftware.core.data.student;
import com.uvasoftware.core.ISIFObject;
import com.uvasoftware.core.data.common.BaseSIFObject;
public class StudentSchoolEnrollment extends BaseSIFObject implements
ISIFObject {
@Override
public Object getPrimitive() {
// TODO Auto-generated method stub
r... | rferreira/uva-core | src/com/uvasoftware/core/data/student/StudentSchoolEnrollment.java | Java | gpl-3.0 | 447 |
/*
* Copyright (C) 2015 Securecom
* 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... | Securecom/Securecom-Voice | src/com/securecomcode/voice/call/CallLogDatabase.java | Java | gpl-3.0 | 6,364 |
package be.nikiroo.utils.test_code;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import be.nikiroo.utils.StringUtils;
import be.nikiroo.utils.StringUtils.Alignment;
import be.nikiroo.utils.test.TestCase;
import be.ni... | nikiroo/fanfix | src/be/nikiroo/utils/test_code/StringUtilsTest.java | Java | gpl-3.0 | 10,509 |
/**
* Copyright (c) 2000-2005 Liferay, LLC. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | austindlawless/dotCMS | src/com/liferay/util/dao/hibernate/DSConnectionProvider.java | Java | gpl-3.0 | 2,530 |
package be.nikiroo.utils.streams;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.util.Arrays;
/**
* This {@link InputStream} can be separated into sub-streams (you can process
* it as a normal {@link InputStream} but, when it is spent, you can call
... | nikiroo/fanfix | src/be/nikiroo/utils/streams/NextableInputStream.java | Java | gpl-3.0 | 7,444 |
package com.daniel_yc.moleculecraft.blocks.tileentity;
import com.daniel_yc.moleculecraft.blocks.Compressor;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
i... | danielyc/MoleculeCraft-1.7.10 | src/main/java/com/daniel_yc/moleculecraft/blocks/tileentity/TileEntityCompressor.java | Java | gpl-3.0 | 8,818 |
// Copyright (C) 2015 Fabio Petroni
// Contact: http://www.fabiopetroni.com
//
// This file is part of CrawlFacebookPostTrees application.
//
// CrawlFacebookPostTrees 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 F... | fabiopetroni/CrawlFacebookPostTrees | src/facebook/Autenticate.java | Java | gpl-3.0 | 1,986 |
/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
*
* Copyright (C) 2006 Instituto de Desarrollo Regional and Generalitat Valenciana.
*
* 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 F... | iCarto/siga | extGeoreferencing/src/org/gvsig/georeferencing/process/GeoreferencingProcess.java | Java | gpl-3.0 | 13,937 |
/*
* Copyright 1999-2017 Alibaba Group Holding Ltd.
*
* 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 applica... | zuonima/sql-utils | src/main/java/com/alibaba/druid/sql/dialect/oracle/ast/expr/OracleSizeExpr.java | Java | gpl-3.0 | 1,888 |
package bio.overture.score.client.util;
import com.fasterxml.jackson.dataformat.csv.CsvMapper;
import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows;
import lombok.val;
import java.io.File;
import java.util.List;
@RequiredArgsConstructor
public class CsvParser<T> {
private final Class<T> type;
priva... | icgc-dcc/dcc-storage | score-client/src/main/java/bio/overture/score/client/util/CsvParser.java | Java | gpl-3.0 | 700 |
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/ServiceTemplateToServiceDescriptionDbConverter.java | Java | gpl-3.0 | 2,625 |
/*
* Copyright 2012-2020 Rafal Lewczuk <rafal.lewczuk@jitlogic.com>
* <p/>
* This 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.... | jitlogic/zorka | zorka-core/src/test/java/com/jitlogic/zorka/core/test/spy/support/TestAsyncQueueCollector.java | Java | gpl-3.0 | 1,106 |
package de.spiritaner.maz.controller.approval;
import de.spiritaner.maz.controller.meta.ApprovalTypeOverviewController;
import de.spiritaner.maz.model.Approval;
import de.spiritaner.maz.model.meta.ApprovalType;
import de.spiritaner.maz.util.database.CoreDatabase;
import de.spiritaner.maz.util.validator.ComboBoxValidat... | fschwab/maz-db | database/src/main/java/de/spiritaner/maz/controller/approval/ApprovalEditorController.java | Java | gpl-3.0 | 3,009 |
package com.foreach.poc.charts.core;
import com.foreach.poc.charts.model.ChartsResult;
import com.foreach.poc.charts.model.TagEvent;
import org.apache.flink.api.common.operators.Order;
import org.apache.flink.api.common.typeinfo.TypeHint;
import org.apache.flink.api.java.DataSet;
import org.apache.flink.api.java.tuple... | aaitor/flink-charts | src/main/java/com/foreach/poc/charts/core/SimpleChartsPipeline.java | Java | gpl-3.0 | 3,254 |
/*
Storybook: Scene-based software for novelists and authors.
Copyright (C) 2008 - 2011 Martin Mustun
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 yo... | tmhorne/storybook | src/ch/intertec/storybook/playground/swing/undo/PgUndo.java | Java | gpl-3.0 | 2,224 |
/*
* Copyright (C) 2014 Robert Stark
*
* 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... | StarkoMania/scrum-it | src/main/java/de/rs/scrumit/controller/MainIncludeComposer.java | Java | gpl-3.0 | 2,033 |
package librecon;
// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit.
import android.os.Parcel;
import android.os.Parcelable;
import java.util.Locale;
/**
* Entity mapped to table SCHEDULE.
*/
public class Schedule implements Parcelable {
private Lon... | irontec/LibreCon-app | mobile/android/app/src/main/java-gen/librecon/Schedule.java | Java | gpl-3.0 | 7,468 |
/*
* Copyright (C) 2010 Ruben Laguna <ruben.laguna@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 versio... | ecerulm/en4j | NBPlatformApp/Synchronization/src/main/java/com/rubenlaguna/en4j/sync/package-info.java | Java | gpl-3.0 | 1,023 |
/**
*
* $Id: NetworkNode.java 669 2010-06-14 14:53:38Z twanschik $
*
* @version $Rev: 669 $
* @author $Author: twanschik $
* @date $Date: 2010-06-14 16:53:38 +0200 (Mo, 14 Jun 2010) $
*
*/
package org.hswgt.teachingbox.core.rl.network;
import java.io.Serializable;
import org.hswgt.teachingbox.core.rl.tools.C... | ieugen/Teachingbox | src/org/hswgt/teachingbox/core/rl/network/NetworkNode.java | Java | gpl-3.0 | 2,818 |
package com.fr.design.extra;
import com.fr.design.dialog.BasicPane;
import com.fr.general.Inter;
import java.awt.BorderLayout;
import java.awt.Component;
/**
* @author richie
* @date 2015-03-09
* @since 8.0
* 应用中心的构建采用JavaScript代码来动态实现,但是不总是依赖于服务器端的HTML
* 采用JDK提供的JavaScript引擎,实际是用JavaScript语法实现Java端的功能,并通过JavaS... | fanruan/finereport-design | designer_base/src/com/fr/design/extra/ShopManagerPane.java | Java | gpl-3.0 | 1,223 |
package org.alvarogp.nettop.common.di.components;
import org.alvarogp.nettop.common.di.modules.ActivityModule;
import org.alvarogp.nettop.common.di.scopes.PerActivity;
import dagger.Component;
@PerActivity
@Component(dependencies = ApplicationComponent.class, modules = ActivityModule.class)
public interface Activity... | alvarogzp/net-top | app/src/main/java/org/alvarogp/nettop/common/di/components/ActivityComponent.java | Java | gpl-3.0 | 334 |
package com.slensky.focussis.parser;
import android.support.annotation.NonNull;
import android.util.Log;
import android.util.SparseArray;
import com.slensky.focussis.data.Demographic;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.C... | kidcontact/FocusSIS | app/src/main/java/com/slensky/focussis/parser/DemographicParser.java | Java | gpl-3.0 | 8,492 |
package cj.ladders.lib;
public class Reference {
public static final String MOD_ID = "ladders";
public static final String MOD_NAME = "Simply Ladders";
public static final String VERSION = "0.0.1";
public static final String TEXTURES = MOD_ID + ":";
} | SiDzej/Simply-Ladders | common/cj/ladders/lib/Reference.java | Java | gpl-3.0 | 260 |
/*
* This file is part of Blue Power.
*
* Blue Power 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.
*
* Bl... | raulsmail/GlowPower | src/main/java/com/bluepowermod/network/NetworkHandler.java | Java | gpl-3.0 | 4,437 |
/*
* Copyright (c) 2002-2015 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j 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... | neo4j-contrib/neo4j-lucene5-index | src/test/java/org/neo4j/graphdb/RelationshipIndexFacadeMethods.java | Java | gpl-3.0 | 5,800 |
/*
* Hyperbox - Virtual Infrastructure Manager
* Copyright (C) 2015 - Max Dor
*
* https://apps.kamax.io/hyperbox
*
* 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... | hyperbox/api | src/main/java/io/kamax/hbox/ClassManager.java | Java | gpl-3.0 | 7,888 |
package lab9;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Dell extends Product {
private int mark_id ;
public Dell() {
super();
}
public Dell(int id, String name, int quantity, float price, int markId){
super(id,name,quantity,price);
this.mark_... | zluuluyenz/mtech | js/lab9/Dell.java | Java | gpl-3.0 | 1,937 |
package mediamatrix.utils;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TreeSet;
public class FileSearch {
public static final int TYPE_FILE_OR_DIR = 1;
public static final int TYPE_FILE = 2;
public static final int TYPE_DIR = 3;
public File[] listF... | shuichi/MediaMatrix | src/main/java/mediamatrix/utils/FileSearch.java | Java | gpl-3.0 | 2,770 |
package com.bekvon.bukkit.residence.utils;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public enum TimeModifier {
s(1), m(60), h(60 * 60), d(60 * 60 * 24), w(60 * 60 * 24 * 7), M(60 * 60 * 24 * 30), Y(60 * 60 * 24 * 365);
private int modifier = 0;
static Pattern patern = Pa... | Zrips/Residence | src/com/bekvon/bukkit/residence/utils/TimeModifier.java | Java | gpl-3.0 | 1,185 |
package com.qyb.tagfavorite;
import static org.junit.Assert.*;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Connection;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibati... | qiuyb/ssmWork | TagFavorite/src/test/java/com/qyb/tagfavorite/ConnTest.java | Java | gpl-3.0 | 1,094 |
/**
* Copyright (C) 2012 Just Do One More
*
* 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 p... | justdoonemore/word.playdough | word.playdough.model/src/test/java/com/jdom/word/playdough/model/gamepack/ServerCommunicationManagerImplTest.java | Java | gpl-3.0 | 18,294 |
/*
* This library is dual-licensed: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation. For the terms of this
* license, see licenses/gpl_v3.txt or <http://www.gnu.org/licenses/>.
*
* You are free to use this librar... | Bvink/WildTornado | src/ch/swingfx/twinkle/style/background/ColorBackground.java | Java | gpl-3.0 | 1,751 |
package navalbattle.protocol.messages.common;
import java.util.ArrayList;
import navalbattle.boats.BoatPosition;
import navalbattle.protocol.common.NavalBattleProtocol;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import... | ArmandDelessert/WarTanks | NavalBattle/src/navalbattle/protocol/messages/common/NavalBattlePositionMyBoats.java | Java | gpl-3.0 | 3,356 |
package it.unibas.lunatic.gui.node;
import it.unibas.lunatic.Scenario;
import it.unibas.lunatic.gui.node.chase.mc.ChaseStepNode;
import it.unibas.lunatic.model.chase.chasemc.DeltaChaseStep;
import speedy.model.database.IDatabase;
import org.openide.nodes.AbstractNode;
import org.openide.nodes.Children;
pub... | donatellosantoro/Llunatic | LunaticGUI/gui/src/it/unibas/lunatic/gui/node/DbNode.java | Java | gpl-3.0 | 2,551 |
package me.desht.sensibletoolbox.items.itemroutermodules;
import org.bukkit.Material;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.inventory.CraftingInventory;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.Recipe;
import org.bu... | desht/sensibletoolbox | src/main/java/me/desht/sensibletoolbox/items/itemroutermodules/SilkyBreakerModule.java | Java | gpl-3.0 | 2,143 |
/*******************************************************************************
* 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
* ... | deric/clusteval-parent | clusteval-packages/src/main/java/de/clusteval/data/statistics/ClusteringCoefficientRDataStatistic.java | Java | gpl-3.0 | 2,303 |
package net.talviuni.proxyer;
public interface TranslationInterface<S, T> {
public Class<S> getSourceClass();
public Class<T> getTargetClass();
public <O extends Object> T translate(O objectToTranslate);
}
| JannuMies/poc-proxyer-thingy | src/main/java/net/talviuni/proxyer/TranslationInterface.java | Java | gpl-3.0 | 235 |
package de.zargornet.registerp.utils.databasequeries;
import org.bukkit.Location;
import java.util.UUID;
/**
* Interface for database queries
*/
public interface IDatabaseQueries {
void addAccount(UUID uuid, String password);
void setPassword(UUID uuid, String newPassword);
void remAccount(UUID uuid)... | ZargorNET/RegisterP | src/main/java/de/zargornet/registerp/utils/databasequeries/IDatabaseQueries.java | Java | gpl-3.0 | 454 |
package com.eucalyptus.webui.shared.user;
import java.util.Date;
public class UserApp implements java.io.Serializable {
private static final long serialVersionUID = 1L;
private int id;
private Date apptime;
private EnumUserAppStatus status;
private String comment;
private String keyPair;
private String sec... | sosilent/euca | clc/modules/www/src/main/java/com/eucalyptus/webui/shared/user/UserApp.java | Java | gpl-3.0 | 4,714 |
/*
* Geopaparazzi - Digital field mapping on Android based devices
* Copyright (C) 2016 HydroloGIS (www.hydrologis.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 ... | tghoward/geopaparazzi | geopaparazzi_core/src/main/java/eu/geopaparazzi/core/maptools/tools/NoEditableLayerToolGroup.java | Java | gpl-3.0 | 6,694 |
/*
* Copyright (C) 2017 GedMarc
*
* 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 distribute... | GedMarc/JWebSwing | src/test/java/com/jwebmp/core/events/search/SearchAdapterTest.java | Java | gpl-3.0 | 1,403 |
package battlecode.world.signal;
import battlecode.engine.signal.Signal;
import battlecode.world.InternalRobot;
import battlecode.common.ComponentType;
import battlecode.common.MapLocation;
import battlecode.common.RobotLevel;
/**
* Signifies that a robot just attacked
*
* @author adamd
*/
public class BugSignal ... | pwnall/battlecode-server | src/main/battlecode/world/signal/BugSignal.java | Java | gpl-3.0 | 1,550 |
package no.uib.onyase.applications.engine.modules;
import java.util.HashMap;
/**
* Iterator for the possible modifications carried by a peptide.
*
* @author Marc Vaudel
*/
public interface PeptideModificationsIterator {
/**
* Indicates whether there is a next profile.
*
* @return a boolean ind... | mvaudel/onyase | src/main/java/no/uib/onyase/applications/engine/modules/PeptideModificationsIterator.java | Java | gpl-3.0 | 532 |
package br.unesp.exemplo.api.valueobjects;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* Value Object para comunicação REST da entidade Inscricao PUT (atualização)
... | amoraes/spring-boot-unesp | services/src/main/java/br/unesp/exemplo/api/valueobjects/InscricaoVOPut.java | Java | gpl-3.0 | 1,180 |
package jamel.models.util;
/**
* Represents a labor contract.
*/
public interface JobContract {
/**
* Breaks the contract.
*/
void breach();
/**
* Returns the starting period of this contract.
*
* @return the starting period of this contract.
*/
int getStart();
/**
* Returns the wage.
*
*... | pseppecher/jamel | src/jamel/models/util/JobContract.java | Java | gpl-3.0 | 653 |
package net.minecraft.Server1_7_10.command.server;
import com.mojang.authlib.GameProfile;
import java.util.List;
import net.minecraft.Server1_7_10.command.CommandBase;
import net.minecraft.Server1_7_10.command.CommandException;
import net.minecraft.Server1_7_10.command.ICommandSender;
import net.minecraft.Server1_7_... | TheHecticByte/BananaJ1.7.10Beta | src/net/minecraft/Server1_7_10/command/server/CommandWhitelist.java | Java | gpl-3.0 | 5,087 |
/*
This file is part of JATF.
<p>
JATF 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.
<p>
JATF is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY... | Duke2k/jatf | jatf-tests/src/main/java/jatf/dependency/AnnotationTypeTest.java | Java | gpl-3.0 | 2,474 |
package com.teksystems.qe.automata.sample.amazon.views;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import com.teksystems.qe.automata.interfaces.BaseView;
import com.teksystems.qe.automata.sample... | jmastri/automata | sample_automata/src/main/java/com/teksystems/qe/automata/sample/amazon/views/AmazonBaseView.java | Java | gpl-3.0 | 967 |
package com.numbrcrunchr.domain;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.Date;
import java.util.List;
import org.joda.time.DateMidnight;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotat... | srirang/numbrcrunchr | src/test/java/com/numbrcrunchr/domain/FeasibilityAnalysisProjectionServiceTest.java | Java | gpl-3.0 | 8,965 |
/*
* 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... | qt-haiku/LibreOffice | xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/CharArrayLCSAlgorithm.java | Java | gpl-3.0 | 7,570 |
package com.hartwig.hmftools.protect;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.util.Set;
import com.google.common.collect.Sets;
import com.hartwig.hmftools.common.genome.refgenome.RefGenomeVersion;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cl... | hartwigmedical/hmftools | protect/src/main/java/com/hartwig/hmftools/protect/ProtectConfig.java | Java | gpl-3.0 | 9,388 |
package com.vaadin.tutorial.todomvc;
import java.util.EnumSet;
import com.vaadin.data.provider.ConfigurableFilterDataProvider;
import com.vaadin.event.ShortcutListener;
import com.vaadin.icons.VaadinIcons;
import com.vaadin.shared.ui.ValueChangeMode;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.Button;
import... | 241180/Oryx | framework8-demo-master/todomvc/src/main/java/com/vaadin/tutorial/todomvc/TodoViewImpl.java | Java | gpl-3.0 | 8,359 |
/* This file was generated by SableCC (http://www.sablecc.org/). */
package org.bradders.casiocfx9800g.node;
import org.bradders.casiocfx9800g.analysis.*;
@SuppressWarnings("nls")
public final class TComma extends Token
{
public TComma()
{
super.setText(",");
}
public TComma(in... | RichardBradley/casio-cfx-9800g | cfx-9800g-emulator/src/org/bradders/casiocfx9800g/node/TComma.java | Java | gpl-3.0 | 807 |
/**
*
*/
package org.tlg.bot.mem.msg;
/**
* @author "Maksim Vakhnik"
*
*/
public class HelpMessage extends TextMessage {
private static final String MSG = "Send to bot your pictures"
+ ", add tags to these media. After this you can "
+ "search these media by these tags "
+ "and ... | 2686747/tagger-bot | src/main/java/org/tlg/bot/mem/msg/HelpMessage.java | Java | gpl-3.0 | 551 |
package maika.controller;
import java.beans.PropertyVetoException;
import maika.application.Application;
import maika.model.workspace.Diagram;
import javax.swing.JTree;
import javax.swing.SwingUtilities;
import javax.swing.event.TreeSelectionEvent;
import javax.swing.event.TreeSelectionListener;
import java... | remixgit/GraphicalEditor-Project | MaikaGraphicEditor/src/maika/controller/WorkspaceTreeControler.java | Java | gpl-3.0 | 1,508 |
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
/**
* @author esloho
*
*/
public class PercolationTest {
private static final int SIZE = 5;
private Percolation percolation;
/**
* @throws java.lang.Exception
*/
@Before
public void setUp() throws Exception {
... | esloho/coursera-algorithmsI | PercolationAssignment/Percolation/test/PercolationTest.java | Java | gpl-3.0 | 1,762 |
/*
* VITacademics
* Copyright (C) 2015 Aneesh Neelam <neelam.aneesh@gmail.com>
* Copyright (C) 2015 Saurabh Joshi <saurabhjoshi94@outlook.com>
* Copyright (C) 2015 Gaurav Agerwala <gauravagerwala@gmail.com>
* Copyright (C) 2015 Karthik Balakrishnan <karthikb351@gmail.com>
* Copyright (C) 2015 Pulkit Juneja <... | saurabhsjoshi/VITacademics-for-Android | app/src/main/java/com/karthikb351/vitinfo2/customwidget/TimeLineView.java | Java | gpl-3.0 | 6,833 |
package eu.siacs.conversations.xmpp.forms;
import android.os.Bundle;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import eu.siacs.conversations.utils.Namespace;
import eu.siacs.conversations.xml.Element;
public class Data extends Element {
public st... | kriztan/Pix-Art-Messenger | src/main/java/eu/siacs/conversations/xmpp/forms/Data.java | Java | gpl-3.0 | 3,497 |
package com.sk89q.craftbook.bukkit;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.bukkit.ChatColor;
import org.bukkit.Server;
import org.bukkit.entity.Player;
import com.sk89q.craftbook.Loca... | wizjany/craftbook | src/main/java/com/sk89q/craftbook/bukkit/CircuitCore.java | Java | gpl-3.0 | 41,280 |
package com.github.marcelothebuilder.webpedidos.service;
import java.io.Serializable;
import javax.inject.Inject;
import com.github.marcelothebuilder.webpedidos.model.produto.Produto;
import com.github.marcelothebuilder.webpedidos.repository.Produtos;
import com.github.marcelothebuilder.webpedidos.util.interceptor.T... | marcelothebuilder/webpedidos | src/main/java/com/github/marcelothebuilder/webpedidos/service/CadastroProdutoService.java | Java | gpl-3.0 | 918 |
/*
* 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 jaddon.jlog;
import jaddon.controller.StaticStandard;
import java.io.InputStream;
import java.util.Scanner;
/**
... | Panzer1119/JAddOn | src/jaddon/jlog/SystemInputStream.java | Java | gpl-3.0 | 1,701 |
/*
* Copyright (c) 2016 Helmut Neemann
* Use of this source code is governed by the GPL v3 license
* that can be found in the LICENSE file.
*/
package de.neemann.digital.builder;
import de.neemann.digital.builder.jedec.FuseMapFillerException;
import java.io.IOException;
import java.io.OutputStream;
/**
* Interf... | hneemann/Digital | src/main/java/de/neemann/digital/builder/ExpressionExporter.java | Java | gpl-3.0 | 1,278 |
package edu.stanford.rsl.conrad.phantom.xcat;
import java.util.Iterator;
import edu.stanford.rsl.conrad.geometry.AbstractShape;
import edu.stanford.rsl.conrad.geometry.AbstractSurface;
import edu.stanford.rsl.conrad.geometry.shapes.compound.CompoundShape;
import edu.stanford.rsl.conrad.geometry.shapes.simple.PointND;... | YixingHuang/CONRAD | src/edu/stanford/rsl/conrad/phantom/xcat/TessellationThread.java | Java | gpl-3.0 | 2,178 |
package net.dungeonrealms.game.listener;
import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.ProtocolLibrary;
import com.comphenix.protocol.events.PacketAdapter;
import com.comphenix.protocol.events.PacketContainer;
import com.comphenix.protocol.events.PacketEvent;
import com.comphenix.protocol.eve... | TheSecretLife/DR-API | game/src/main/java/net/dungeonrealms/game/listener/TabCompleteCommands.java | Java | gpl-3.0 | 1,747 |
package de.kontext_e.jqassistant.plugin.jacoco.scanner;
import org.junit.Test;
import java.io.IOException;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
public class JacocoScannerPluginTest {
@Test
public void aValidPathShouldBeAccepted() throws IOException {
... | kontext-e/jqassistant-plugins | jacoco/src/test/java/de/kontext_e/jqassistant/plugin/jacoco/scanner/JacocoScannerPluginTest.java | Java | gpl-3.0 | 2,557 |
package app.la2008.com.ar.la2008.interfaces;
public interface ObjectSelected {
void select(Object object);
}
| gdconde/la2008 | app/src/main/java/app/la2008/com/ar/la2008/interfaces/ObjectSelected.java | Java | gpl-3.0 | 114 |
package org.usfirst.frc.team6162.robot;
import edu.wpi.first.wpilibj.RobotDrive;
import edu.wpi.first.wpilibj.SampleRobot;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
... | wjaneal/liastem | SampleAutonomous/src/org/usfirst/frc/team6162/robot/Robot.java | Java | gpl-3.0 | 3,396 |
/*
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... | nvllsvm/Audinaut | app/src/main/java/net/nullsum/audinaut/util/SilentBackgroundTask.java | Java | gpl-3.0 | 1,204 |
/*
* Twidere - Twitter client for Android
*
* Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@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 Lice... | pahans/Kichibichiya | src/com/pahans/kichibichiya/model/ListAction.java | Java | gpl-3.0 | 1,111 |
package com.st0ck53y.testsudokuapplication.classes;
public class GridArea {
private int value;
public GridArea(int v) {
this();
if (v != 0) {
setValue(v);
}
}
public GridArea() {
value = 8185; // 4 bit for remaining possible (9), 9 bit for flag... | st0ck53y/Sudoku_Solver | app/src/main/java/com/st0ck53y/testsudokuapplication/classes/GridArea.java | Java | gpl-3.0 | 1,644 |
/**
* Genji Scrum Tool and Issue Tracker
* Copyright (C) 2015 Steinbeis GmbH & Co. KG Task Management Solutions
* <a href="http://www.trackplus.com">Genji Scrum Tool</a>
*
* 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... | trackplus/Genji | src/main/java/com/aurel/track/persist/BaseTCardGroupingFieldPeer.java | Java | gpl-3.0 | 42,159 |
package plainsimple.space;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.Random;
/**
* Renders an image of a starry sky based on several parameters.
* Copyright(C) Plain Simple Apps 2015
* See github.com/Plain-Simple/GalaxyDraw for more information.
* Licensed under GPL GNU Version 3 (s... | Plain-Simple/GalaxyDraw | java/src/plainsimple/galaxydraw/DrawSpace.java | Java | gpl-3.0 | 4,687 |
/*
* DexPatcher - Copyright 2015-2020 Rodrigo Balerdi
* (GNU General Public License version 3 or later)
*
* DexPatcher 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,
* ... | Lanchon/DexPatcher-tool | tool/src/main/java/lanchon/dexpatcher/transform/util/wrapper/WrapperAnnotationElement.java | Java | gpl-3.0 | 1,021 |
package org.trypticon.haqua;
import com.apple.laf.AquaMenuItemUI;
import org.jetbrains.annotations.NotNull;
import javax.accessibility.Accessible;
import javax.swing.JComponent;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.MenuItemUI;
import java.awt.Component;
import java.awt.Dimension;
import java.a... | trejkaz/haqua | src/org/trypticon/haqua/HaquaMenuItemUI.java | Java | gpl-3.0 | 3,093 |
/*******************************************************************************
* Copyright (C) 2006-2013 AITIA International, 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, eithe... | lgulyas/MEME | src/ai/aitia/meme/paramsweep/gui/Page_EMILPrefs.java | Java | gpl-3.0 | 4,536 |
/*
* 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 aula01;
import java.util.Scanner;
/**
*
* @author Aluno
*/
public class Exemplo1 {
public static v... | rfortti/PRS_rfortti | src/aula01/Exemplo1.java | Java | gpl-3.0 | 912 |
package com.survey.app.server.repository;
import com.athena.server.repository.SearchInterface;
import com.athena.annotation.Complexity;
import com.athena.annotation.SourceCodeAuthorClass;
import com.athena.framework.server.exception.repository.SpartanPersistenceException;
import java.util.List;
import com.athena.framew... | applifireAlgo/appDemoApps201115 | surveyportal/src/main/java/com/survey/app/server/repository/CountryRepository.java | Java | gpl-3.0 | 1,169 |
/**
* Taha Dogan Gunes
* <tdgunes@gmail.com>
* <p/>
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, me... | tdgunes/music-box | core/src/main/java/Utils.java | Java | gpl-3.0 | 1,662 |
/*
* 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 se.kth.kandy.ejb.restservice;
import java.util.Set;
import javax.ws.rs.core.Application;
/**
*
* @author Hossein
*/
@javax... | karamelchef/kandy | CloudServiceRecommender/src/main/java/se/kth/kandy/ejb/restservice/ApplicationConfig.java | Java | gpl-3.0 | 1,020 |
package com.capgemini.playingwithsqlite;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
public class ShowListAdapter extends ArrayAdapter<Show> {
public ShowLi... | larseknu/android_programmering_2014 | Lecture 08/src/com/capgemini/playingwithsqlite/ShowListAdapter.java | Java | gpl-3.0 | 1,116 |
/*
* Copyright (C) 2016-2022 Yaroslav Pronin <proninyaroslav@mail.ru>
*
* This file is part of LibreTorrent.
*
* LibreTorrent 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 Lice... | proninyaroslav/libretorrent | app/src/main/java/org/proninyaroslav/libretorrent/core/model/session/TorrentSessionImpl.java | Java | gpl-3.0 | 53,404 |
/*
* This file is part of NanoUI
*
* Copyright (C) 2016-2018 Guerra24
*
* 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 ... | Guerra24/NanoUI | nanoui-core/src/main/java/net/luxvacuos/nanoui/rendering/shaders/data/Attribute.java | Java | gpl-3.0 | 1,020 |
package net.thevpc.upa.impl.persistence.connection;
/**
* Created by vpc on 8/7/15.
*/
public class DefaultConnectionProfileData {
private String databaseProductName ;
private String databaseProductVersion ;
private String connectionDriverName ;
private String connectionDriverVersion ;
private St... | thevpc/upa | upa-impl-core/src/main/java/net/thevpc/upa/impl/persistence/connection/DefaultConnectionProfileData.java | Java | gpl-3.0 | 4,695 |
package org.isatools.macros.utils;
import org.apache.commons.collections15.map.ListOrderedMap;
import org.isatools.macros.motiffinder.Motif;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Created by the ISA team
*
* @author Eamonn Maguire (eamonnmag@gmail.com)
* ... | ISA-tools/Automacron | src/main/java/org/isatools/macros/utils/MotifProcessingUtils.java | Java | gpl-3.0 | 8,126 |