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 |
|---|---|---|---|---|---|
package com.doctusoft.dsw.client.gwt;
import com.google.gwt.core.client.JavaScriptObject;
/**
* Helper class to build JavascriptObjects from SelectItemModel
*
*/
public class SelectItemModelItem extends JavaScriptObject {
protected SelectItemModelItem(){}
public final native void setCaption(final String captio... | Doctusoft/dsweb | dsweb/src/main/java/com/doctusoft/dsw/client/gwt/SelectItemModelItem.java | Java | gpl-3.0 | 752 |
package demo.designpatterns.observer;
import java.util.ArrayList;
import java.util.List;
/**
* Created by rogerxu on 2017/7/17.
*/
public class SensorSystem {
private List<AlarmListener> listeners = new ArrayList<AlarmListener>();
public void register(AlarmListener listener) {
listeners.add(listener);
}
pub... | rogerxu/design-patterns | src/main/java/demo/designpatterns/observer/SensorSystem.java | Java | gpl-3.0 | 480 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
*
* The contents of this file are subject to the terms of the GNU General Public License Version 3
* only ("GPL"). You may not use this file except in compliance with th... | eric-lemesre/OpenConcerto | OpenConcerto/src/org/openconcerto/openoffice/text/Paragraph.java | Java | gpl-3.0 | 4,885 |
package com.supermap.desktop.utilties;
import com.supermap.desktop.Application;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class StringUtilties {
private StringUtilties() {
// 工具类不提供构造函数
}
public static boolean isNullOrEmptyString(Object obj) {
if (obj == null) {
return true;
... | highsad/iDesktop-Cross | Core/src/com/supermap/desktop/utilties/StringUtilties.java | Java | gpl-3.0 | 3,908 |
package cc.blynk.cli;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
/**
* Represents list of arguments parsed against a {@link Options} descriptor.
* <p>
* It allows querying of a boolean {@link #hasOption(String opt)},
* in addition to retrieving the {@link #getOptionValue(Strin... | manhcuongkd/blynk-server | server/launcher/src/main/java/cc/blynk/cli/CommandLine.java | Java | gpl-3.0 | 3,186 |
Simpla CMS 2.3.8 = f7d8fd8de258e4bdeb47724b7badfc57
| gohdan/DFC | known_files/hashes/simpla/design/js/highcharts/exporting-server/java/highcharts-export/highcharts-export-convert/src/main/java/com/highcharts/export/converter/SVGConverter.java | Java | gpl-3.0 | 52 |
package com.hugbunarfockers.gitcatgo.services;
import com.hugbunarfockers.gitcatgo.data.*;
import com.hugbunarfockers.gitcatgo.entities.Player;
public class DataService implements IDataService
{
private static IDBManagement dbm;
private static IDBInteraction dbi;
public DataService(String connectionStrin... | Hugbunarfockers/Tic-Tac-Hugbunarfockers | src/main/java/com/hugbunarfockers/gitcatgo/services/DataService.java | Java | gpl-3.0 | 1,122 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.0... | lindenb/knime4bio | fr.inserm.umr915.knime4ngs.nodes/src/fr/inserm/umr915/knime4ngs/corelib/bio/uniprot/PropertyType.java | Java | gpl-3.0 | 2,310 |
/*
* Copyright (c) 2012-2020 Rafał Lewczuk All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | jitlogic/zorka | zorka-core/src/main/java/com/jitlogic/zorka/core/integ/GraphitePushOutput.java | Java | gpl-3.0 | 1,861 |
/*
* This file is part of the LIRE-Lab project, a desktop image retrieval tool
* made on top of the LIRE image retrieval Java library.
* Copyright (C) 2017 Antonio Gabriel Pereira de Andrade
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Li... | AntonioGabrielAndrade/LIRE-Lab | src/main/java/net/lirelab/app/AboutFXML.java | Java | gpl-3.0 | 1,705 |
/*
* Copyright 2014, by Benjamin Bertin and Contributors.
*
* This file is part of CarbonDB-reasoner project <http://www.carbondb.org>
*
* CarbonDB-reasoner 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... | myclabs/CarbonDB-reasoner | src/main/java/com/mycsense/carbondb/NoUnitException.java | Java | gpl-3.0 | 990 |
public class InterfaceAvecC {
static {
System.load("/Users/Angelo/Desktop/ProjetHex/ProjetS4BEGGIFOUDINEMMADI/code/lib/libInterfaceAvecC.dylib");
}
//! calls the play method in Java
public static native char nativeInitGame(String spots, JeuHex jeu);
//! calculates the x coordinate of a position i
p... | MAnzilane/ProjetS4BEGGIFOUDINEMMADI | code/codeJava/src/InterfaceAvecC.java | Java | gpl-3.0 | 1,670 |
package nbk.view.utility.options;
import commons.utils.MathUtils;
import commons.view.utility.UtilityOptionRow;
import nbk.model.utility.ENbkAvailableUtility;
import java.util.Arrays;
/**
* Created by Germain on 30/09/2016.
*/
public abstract class NbkUtilityOptionRow extends UtilityOptionRow {
protected NbkUti... | Elzenif/NewGen | generator/src/main/java/nbk/view/utility/options/NbkUtilityOptionRow.java | Java | gpl-3.0 | 439 |
package com.habitrpg.android.habitica.events.commands;
/**
* Created by Negue on 11.07.2015.
*/
public class AddNewTaskCommand {
public String taskType;
}
| AlbRoehm/habitica-android | Habitica/src/main/java/com/habitrpg/android/habitica/events/commands/AddNewTaskCommand.java | Java | gpl-3.0 | 162 |
/*
* Project: Buddata ebXML RegRep
* Class: ExtrinsicObjectTypeV.java
* Copyright (C) 2008 Yaman Ustuntas
*
* 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... | IntecsSPA/buddata-ebxml-registry | ErgoRR/ErgoRR-backend/src/main/java/be/kzen/ergorr/service/validator/ExtrinsicObjectTypeV.java | Java | gpl-3.0 | 1,878 |
package synccraft.core;
import synccraft.core.syncfurnace2d.SyncContainerFurnace;
import synccraft.core.syncfurnace2d.SyncGuiFurnace;
import synccraft.core.syncfurnace2d.TileEntitySyncFurnace;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World... | synerror80/SyncCraft | synccraft/core/GuiHandler.java | Java | gpl-3.0 | 1,103 |
package name.gerardmundo.jdrql.wrapper.reader.bool;
import static name.gerardmundo.jdrql.tools.ClassTools.isAssignableWithAutoboxing;
import java.lang.reflect.InvocationTargetException;
import name.gerardmundo.jdrql.exceptions.ReaderNodeSwapRequired;
import name.gerardmundo.jdrql.wrapper.ValueReader;
import com.aki... | GerardMundo/jDRQL | src/main/java/name/gerardmundo/jdrql/wrapper/reader/bool/NotEqualsWrapper.java | Java | gpl-3.0 | 3,949 |
package com.example.shinji.menu;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Andr... | alien-house/Android | Menu/app/src/androidTest/java/com/example/shinji/menu/ExampleInstrumentedTest.java | Java | gpl-3.0 | 750 |
package edu.gvsu.cis.traxy;
import android.content.Intent;
import android.os.Bundle;
import android.os.Parcelable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.widget.EditText;
import android.widget.TextView;
import com.borax12.mate... | gvsucis/mobile-app-dev-book | Android/ch10/Traxy/app/src/main/java/edu/gvsu/cis/traxy/NewJournalActivity.java | Java | gpl-3.0 | 5,304 |
//<<<<<<< .mine
//package com.team4.mptd.test;
//
//import android.graphics.Bitmap;
//import android.graphics.BitmapFactory;
//
//import com.team4.mptd.*;
//import com.team4.mptd.R;
//
//import junit.framework.TestCase;
//import android.graphics.Bitmap;
//import android.graphics.BitmapFactory;
//
//import ... | multifense/multifense | clients/android/MPTDTest/src/com/team4/mptd/test/TestMonster.java | Java | gpl-3.0 | 4,939 |
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Image;
import java.awt.Point;
import java.awt.Toolkit;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.image.MemoryImageSource;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.I... | jroltgen/aqua-gesture-framework | applications/AquaHandLocater/src/AquaClient.java | Java | gpl-3.0 | 7,901 |
/**
* $ $ License.
*
* Copyright $ L2FProd.com
*
* 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 applicable ... | mstritt/orbit-image-analysis | src/main/java/com/l2fprod/common/beans/editor/ColorPropertyEditor.java | Java | gpl-3.0 | 2,208 |
package jsat.math;
import jsat.distributions.Normal;
import jsat.linear.Vec;
import jsat.math.rootfinding.RiddersMethod;
import static java.lang.Math.*;
import static jsat.math.MathTricks.*;
/**
* This class provides static methods for computing accurate approximations to
* many special functions. <br>
* <br>... | EdwardRaff/JSAT | JSAT/src/jsat/math/SpecialMath.java | Java | gpl-3.0 | 40,483 |
/*
* Decompiled with CFR 0_114.
*/
package com.stimulsoft.report.engine.engineV2;
import com.stimulsoft.report.StiReport;
import com.stimulsoft.report.components.StiBookmark;
import com.stimulsoft.report.components.StiComponent;
import com.stimulsoft.report.components.StiComponentsCollection;
import com.stimulsoft.r... | talek69/curso | stimulsoft/src/com/stimulsoft/report/engine/engineV2/StiEmptyBandsV2Helper.java | Java | gpl-3.0 | 5,648 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.08.02 at 08:08... | ramsodev/DitaManagement | dita/dita.task/src/net/ramso/dita/task/Source.java | Java | gpl-3.0 | 1,761 |
package com.supermap.desktop.CtrlAction.Dataset.createNewDataset;
import com.supermap.data.BlockSizeOption;
import com.supermap.data.PixelFormat;
import com.supermap.desktop.dataeditor.DataEditorProperties;
import com.supermap.desktop.properties.CommonProperties;
import com.supermap.desktop.ui.controls.TextFields.Wari... | SuperMap-iDesktop/SuperMap-iDesktop-Cross | DataEditor/src/main/java/com/supermap/desktop/CtrlAction/Dataset/createNewDataset/PanelDatasetGridProperty.java | Java | gpl-3.0 | 9,693 |
package net.silentchaos512.lib.util;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.biome.Biome;
import net.minecraftforge.registries.ForgeRegistries;
import javax.annotation.Nullable;
import java.util.Collection;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public final cl... | SilentChaos512/SilentLib | src/main/java/net/silentchaos512/lib/util/BiomeUtils.java | Java | gpl-3.0 | 1,327 |
package hello;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestMapping;
@RestController
public class HelloController {
@RequestMapping()
public String index() {
return "Greetings from Spring Boot!";
}
} | huligong1234/springbyexample | jeedev-web-springboot/src/main/java/org/jeedevframework/springboot/hello/HelloController.java | Java | gpl-3.0 | 295 |
package io.divide.shared.event;
import io.divide.otto.Bus;
import io.divide.otto.SubscriberHandlerFinder;
import io.divide.otto.ThreadEnforcer;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* Created with IntelliJ IDEA.
* User: williamwebb
* Date: 9/16/13
* Time: 9:19 PM
*/
public cla... | jug6ernaut/divide | Shared/src/main/java/io/divide/shared/event/EventManager.java | Java | gpl-3.0 | 1,287 |
package cu.uci.coj.model;
public class Roles {
public static final String ROLE_ADMIN = "ROLE_ADMIN";
public static final String ROLE_SUPER_PSETTER = "ROLE_SUPER_PSETTER";
public static final String ROLE_PSETTER = "ROLE_PSETTER";
public static final String ROLE_USER = "ROLE_USER";
public static final String ROLE_... | dovier/coj-web | src/main/java/cu/uci/coj/model/Roles.java | Java | gpl-3.0 | 2,199 |
package com.example.starttrekking;
import android.app.Fragment;
import android.os.Build;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
public class EstouComSorteFragment extends Fragment {
@Override
public View onCreateView(LayoutIn... | gprimo/start-trekking | StartTrekking/src/com/example/starttrekking/EstouComSorteFragment.java | Java | gpl-3.0 | 525 |
/****************************************************************************
ePMC - an extensible probabilistic model checker
Copyright (C) 2017
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 Softw... | liyi-david/ePMC | plugins/prism-format/src/main/java/epmc/prism/model/convert/SystemConverterRecursive.java | Java | gpl-3.0 | 8,660 |
package calidad.service;
import java.util.List;
import calidad.model.Colaborador;
import calidad.model.ColaboradorProyecto;
import calidad.model.Proyecto;
public interface ProyectoService
{
List<Proyecto> listarProyectos();
void agregar(Proyecto proyecto);
Proyecto getProyectoById(Integer proyectoId);
void grab... | daxcurson/calidad | src/main/java/calidad/service/ProyectoService.java | Java | gpl-3.0 | 551 |
package me.desht.pneumaticcraft.common.block;
import mcjty.theoneprobe.api.IProbeHitData;
import mcjty.theoneprobe.api.IProbeInfo;
import mcjty.theoneprobe.api.ProbeMode;
import me.desht.pneumaticcraft.common.thirdparty.theoneprobe.TOPCallback;
import me.desht.pneumaticcraft.common.tileentity.ICamouflageableTE;
import... | desht/pnc-repressurized | src/main/java/me/desht/pneumaticcraft/common/block/BlockPneumaticCraftCamo.java | Java | gpl-3.0 | 8,287 |
/*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2019 Evan Debenham
*
* 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 ver... | 00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/standard/StandardRoom.java | Java | gpl-3.0 | 4,806 |
package org.ml4bull.nn.layer;
import com.google.common.base.Preconditions;
import lombok.Getter;
import org.ml4bull.algorithm.ActivationFunction;
import org.ml4bull.algorithm.DropoutRegularization;
import org.ml4bull.algorithm.optalg.OptimizationAlgorithm;
import org.ml4bull.matrix.MatrixOperations;
import org.ml4bull... | YatsauAliaksei/NNFS | src/main/java/org/ml4bull/nn/layer/HiddenNeuronLayer.java | Java | gpl-3.0 | 7,069 |
/*
* Copyright 2014-2014 by Chris Hubick. All Rights Reserved.
*
* This work is licensed under the terms of the "GNU AFFERO GENERAL PUBLIC LICENSE" version 3, as published by the Free
* Software Foundation <http://www.gnu.org/licenses/>, a copy of which you should have received in the file LICENSE.txt.
*/
packag... | www-eee/www-eee-util-misc | servlet/inject/jersey/src/main/java/net/www_eee/util/misc/servlet/inject/jersey/HttpSessionAttributesValueFactoryProvider.java | Java | gpl-3.0 | 1,674 |
package omtteam.openmodularturrets.client.render.renderers.blockitem;
import net.minecraft.client.Minecraft;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ResourceLocation;
import omtteam.openmodularturrets.client.render.models.ModelRelativisticTurret;
import omtteam.openmodularturrets.referenc... | OpenModularTurretsTeam/OpenModularTurrets | src/main/java/omtteam/openmodularturrets/client/render/renderers/blockitem/RelativisticTurretRenderer.java | Java | gpl-3.0 | 1,414 |
package algorithms;
import exception.NegativeCycleException;
import graph.Graph;
import graph.GraphConstraint;
import graph.components.Edge;
import graph.components.Node;
import graph.path.Cycle;
import org.junit.jupiter.api.Test;
import util.ShortestPathTemplates;
import util.TestUtils;
import java.util.List;
import... | brianlyao/GraphBuilder | src/test/java/algorithms/BellmanFordTest.java | Java | gpl-3.0 | 4,531 |
/*
* This file is part of Bolt.
*
* Copyright (c) 2012, AlmuraDev <http://www.almuramc.com/>
* Bolt is licensed under the Almura Development License.
*
* Bolt 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... | AlmuraDev/Bolt | src/main/java/com/almuramc/bolt/registry/Registry.java | Java | gpl-3.0 | 3,426 |
import java.awt.Color;
import java.util.Random;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.awt.Graphics;
import java.io.IOException;
import java.awt.Font;
import java.awt.FontMetrics;
public class ActionButton
{
//Member variables
private String tex... | StellarHorizon/GridGamePOC | ActionButton.java | Java | gpl-3.0 | 8,719 |
/*
* SOS
* Copyright (C) 2016 zDuo (Adithya J, Vazbloke)
*
* 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.
*
*... | adithya321/SOS-The-Healthcare-Companion | app/src/main/java/com/zduo/sos/hasura/db/DBErrorResponse.java | Java | gpl-3.0 | 870 |
package allegro.gui;
import allegro.display.ImageMode;
/**
* Created by LeqxLeqx on 11/6/16.
*/
public enum TextAlignment {
LEFT (ImageMode.LEFT_ALIGNED),
CENTER (ImageMode.CENTERED),
RIGHT (ImageMode.RIGHT_ALIGNED),
;
final ImageMode imageMode;
TextAlignment(ImageMode ... | LeqxLeqx/jllegro | Java/src/allegro/gui/TextAlignment.java | Java | gpl-3.0 | 359 |
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. Yo... | forises/Yeast-T-src | src/org/mozilla/javascript/yst/GeneratedClassLoader.java | Java | gpl-3.0 | 2,342 |
package minestrapteam.mods.minestrappolation.lib;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.stats.Achievement;
import net.minecraftforge.common.AchievementPage;
public class MAchievements
{
public static Achievement minestrapp = new Achievement("achiev... | MinestrapTeam/Minestrappolation-4 | src/main/java/minestrapteam/mods/minestrappolation/lib/MAchievements.java | Java | gpl-3.0 | 6,411 |
/*
* Copyright (C) 2013 Invenzzia Group <http://www.invenzzia.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 3 of the License, or
* (at your option) any later versi... | zyxist/opentrans | opentrans-lightweight/src/main/java/org/invenzzia/opentrans/lightweight/ui/navigator/NavigatorPanel.java | Java | gpl-3.0 | 5,674 |
/**
* Copyright (C) 2014 NC-SNNU All Rights Reserved.
*
* 1.0 vvdeng 2014-10-13 Create
*/
package snnu.wechat.commbiz.common;
/**
*
*
*/
public enum OperatorLogEventType {
LOG_IN(1,"用户登录"),PUBLISH(2,"菜单发布"),PULL_MSGS(3,"素材同步"),LOG_OUT(4,"用户登出");
private OperatorLogEventType(I... | nic-dev/snnu_wechat_admin | src/snnu/wechat/commbiz/common/OperatorLogEventType.java | Java | gpl-3.0 | 654 |
package com.nairbspace.octoandroid.domain.model;
import android.support.annotation.Nullable;
import com.google.auto.value.AutoValue;
import com.google.gson.annotations.SerializedName;
import java.util.List;
@AutoValue
@AutoGson(autoValueClass = AutoValue_Connection.class)
public abstract class Connection {
@Ser... | nairbspace/octoandroid | domain/src/main/java/com/nairbspace/octoandroid/domain/model/Connection.java | Java | gpl-3.0 | 2,687 |
package es.icarto.gvsig.viasobras.domain.catalog.utils;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import javax.swing.table.AbstractTableModel;
import es.icarto.gvsig.viasobras.domain.catalog.Evento;
import es.icarto.gvsig.viasobras.domain.catalog.Eventos;
public class Eventos... | iCarto/vial | src/es/icarto/gvsig/viasobras/domain/catalog/utils/EventosTableModel.java | Java | gpl-3.0 | 2,559 |
package com.ojcoleman.europa.monitor;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Formatter;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Locale.Category;
import java.util.Map;
import java.util.Set;
import java.util... | OliverColeman/europa | src/main/java/com/ojcoleman/europa/monitor/ConfigMonitor.java | Java | gpl-3.0 | 1,763 |
/*
* Copyright (c) 2017. James Lean
* This file is part of cassette-nibbler.
*
* cassette-nibbler 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) a... | eightbitjim/cassette-nibbler | src/main/java/com/eightbitjim/cassettenibbler/Platforms/Automatic/Platforms/AutomaticExtractionPlatform.java | Java | gpl-3.0 | 4,576 |
package com.example.cmput301f17t30.habitrabbit;
import android.test.ActivityInstrumentationTestCase2;
import android.app.Activity;
import android.test.ActivityInstrumentationTestCase2;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.TextView;
import... | CMPUT301F17T30/HabitRabbit | app/src/androidTest/java/com/example/cmput301f17t30/habitrabbit/MainActivityTest.java | Java | gpl-3.0 | 7,971 |
package slimeknights.tconstruct.tools.modifiers;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import slimeknights.mantle.util.RecipeMatch;
import slimeknights.tconstruct.library.TinkerAPIException;
import slimeknigh... | VosDerrick/Volsteria | src/main/java/slimeknights/tconstruct/tools/modifiers/ModFortify.java | Java | gpl-3.0 | 2,875 |
/*
* Copyright (C) 2017 Almudena García Jurado-Centurión
*
* 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.
*
* T... | AlmuHS/Practicas_PCD | Practica8 _v2/src/practica8_v2/Monitor.java | Java | gpl-3.0 | 3,499 |
package org.openchess.beans;
import java.util.Arrays;
public class CrossTable {
private String [] [] results;
private String timeControl;
public CrossTable(String [] [] results){
this.results = results;
}
public CrossTable(int numPlayers, int rounds){
results = new String[numPlayers][rounds+1];
}
... | malachi1990/OpenChessTD | OpenChessTD-module/src/org/openchess/beans/CrossTable.java | Java | gpl-3.0 | 1,530 |
/*
* Copyright (C) 2016 The MoonLake Authors
*
* 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 ... | u2g/MoonLake | src/main/java/com/minecraft/moonlake/builder/Builder.java | Java | gpl-3.0 | 976 |
/*package com.urldata.tutorials;*/
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
public class UrlData {
public static void main(String[]args){
try{
URL url = new URL("http://localhost/uangku/?op=viewdata&uid=1&from=2015-01-01&to=2015-12-31&type=in&limit=100");
B... | winardiaris/belajar | java/UrlData.java | Java | gpl-3.0 | 589 |
package com.kpeace74.magicmachinery.client.handler;
import com.kpeace74.magicmachinery.client.settings.KeyBindings;
import com.kpeace74.magicmachinery.referance.Key;
import com.kpeace74.magicmachinery.utility.LogHelper;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.Input... | KPeace74/MagicMachineryBackUp | src/main/java/com/kpeace74/magicmachinery/client/handler/KeyInputEventHandler.java | Java | gpl-3.0 | 716 |
package uni.miskolc.ips.ilona.measurement.model.position;
public class Coordinate {
private double x;
private double y;
private double z;
/**
* Public default constructor for Jackson parser
*/
public Coordinate(){
}
public Coordinate(double x, double y, double z) {
super();
this.x = x;
this.y ... | ZsoltToth/ilona | measurement/measurement-model/src/main/java/uni/miskolc/ips/ilona/measurement/model/position/Coordinate.java | Java | gpl-3.0 | 956 |
package com.other;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
import org.apache.commons.dbutils.BasicRowProcessor;
import org.apache.commons.dbutils.BeanProcessor;
import org.apache.commons.dbutils.QueryRunner;
import org.apach... | yangsong19/DayPo | src/com/other/DBUtil1.java | Java | gpl-3.0 | 5,761 |
/*
* ******************************************************************************
* sdrtrunk
* Copyright (C) 2014-2019 Dennis Sheirer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, e... | ImagoTrigger/sdrtrunk | src/main/java/io/github/dsheirer/sample/buffer/ReusableAudioPacket.java | Java | gpl-3.0 | 7,479 |
/**
* Author :
* Bamb Bakang Tonjé
* Edited on 21/01/2014
*/
package controller;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
public abstract class Service implements ILoader {
// ======================================================================
/*This resource ha... | bambbt/Earl-Gray | src/controller/Service.java | Java | gpl-3.0 | 2,001 |
/****************************************************************************
ePMC - an extensible probabilistic model checker
Copyright (C) 2017
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 Softw... | liyi-david/ePMC | plugins/graph/src/main/java/epmc/graph/SemanticsDiscreteTime.java | Java | gpl-3.0 | 1,272 |
package com.empireminecraft.customevents;
import net.minecraft.server.EntityLiving;
import net.minecraft.server.MobEffect;
import org.bukkit.block.Block;
import org.bukkit.entity.Arrow;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.bukkit.event.Cancellable;
import org.bukkit.event.... | starlis/EMC-CraftBukkit | src/main/java/com/empireminecraft/customevents/EntityEffectAddedEvent.java | Java | gpl-3.0 | 1,502 |
package org.parabot.core.desc;
/**
* Holds information about a script
*
* @author Everel
*/
public class ScriptDescription implements Comparable<ScriptDescription> {
public String scriptName;
public String author;
public String category;
public double version;
public String descriptio... | Parabot/Parabot | src/main/java/org/parabot/core/desc/ScriptDescription.java | Java | gpl-3.0 | 4,397 |
package com.dotcms.content.elasticsearch.business;
import static com.dotcms.content.elasticsearch.business.ESIndexAPI.INDEX_OPERATIONS_TIMEOUT_IN_MS;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.ass... | dotCMS/core | dotCMS/src/integration-test/java/com/dotcms/content/elasticsearch/business/ContentletIndexAPIImplTest.java | Java | gpl-3.0 | 51,020 |
/*
* 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/.
*/
package nz.co.crookedhill.ggutils.creativetabs;
import net.minecraft.creativetab.CreativeTabs;
import net.m... | Gnomorian/gnom-gnom-utils | src/main/java/nz/co/crookedhill/ggutils/creativetabs/GGUCreativeTabBlock.java | Java | mpl-2.0 | 861 |
/* 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/. */
package info.zamojski.soft.towercollector.controls;
import android.content.Context;
import android.text.Html;
imp... | zamojski/TowerCollector | app/src/main/java/info/zamojski/soft/towercollector/controls/HtmlSummaryListPreference.java | Java | mpl-2.0 | 810 |
/*
* 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 entityModels;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Co... | debonatis/Gruppe25 | AteaAOS/AteaAOS-web/src/main/java/entityModels/Logging.java | Java | mpl-2.0 | 4,010 |
/**
* 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/.
*
* Copyright (C) 2010, 2011, 2012, Pyravlos Team
*
* http://www.strabon.di.uoa.gr/
*/
package org.ope... | esarbanis/strabon | evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/geosparql/rcc8/RCC8EqualsFunc.java | Java | mpl-2.0 | 675 |
/*!
* Copyright 2002 - 2015 Webdetails, a Pentaho company. All rights reserved.
*
* This software was developed by Webdetails and is provided under the terms
* of the Mozilla Public License, Version 2.0, or any later version. You may not use
* this file except in compliance with the license. If you need a copy of the ... | graimundo/basic-plugin | src/pt/webdetails/basic/plugin/BasicPluginContentGenerator.java | Java | mpl-2.0 | 3,862 |
package org.mozilla.javascript.tests.commentspr465;
import org.junit.Assert;
import org.junit.Test;
import org.mozilla.javascript.Node;
import org.mozilla.javascript.Token;
import org.mozilla.javascript.ast.AstNode;
import org.mozilla.javascript.ast.Comment;
import org.mozilla.javascript.ast.DoLoop;
import org.mozilla... | tuchida/rhino | testsrc/org/mozilla/javascript/tests/commentspr465/LoopCommentsTest.java | Java | mpl-2.0 | 5,535 |
/**
* @author 刘溪滨 (13720880048@163.com)
* @version 1.0 @Date: 2015-11-18 上午9:10
*/
package com.cartan.center.ebs.dataset;
import com.rop.annotation.NeedInSessionType;
import com.rop.annotation.ServiceMethod;
import com.rop.annotation.ServiceMethodBean;
import com.rop.response.BusinessServiceErrorResponse;
import co... | gillion/RDACP | Trunk/00.Coding/cartan/cartan-center/src/main/java/com/cartan/center/ebs/dataset/DatasetServiceEbsBase.java | Java | mpl-2.0 | 13,152 |
/**
* 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/. OpenMRS is also distributed under
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license.... | Winbobob/openmrs-core | api/src/main/java/org/openmrs/arden/MLMObjectElement.java | Java | mpl-2.0 | 3,999 |
package com.servinglynk.hmis.warehouse.service.converter;
import com.servinglynk.hmis.warehouse.core.model.ActionLink;
import com.servinglynk.hmis.warehouse.core.model.Residentialmoveindate;
import com.servinglynk.hmis.warehouse.enums.ResidentialmoveindateInpermanenthousingEnum;
public class ResidentialmoveindateConv... | servinglynk/servinglynk-hmis | hmis-service-v2014/src/main/java/com/servinglynk/hmis/warehouse/service/converter/ResidentialmoveindateConverter.java | Java | mpl-2.0 | 1,819 |
package gaia.cu9.ari.gaiaorbit.render;
import gaia.cu9.ari.gaiaorbit.util.ComponentTypes;
/**
* A top-level renderable interface that all renderable objects must extend
*
* @author Toni Sagrista
*
*/
public interface IRenderable {
/**
* Gets the component types of this entity
*
* @return Th... | vga101/gaiasky | core/src/gaia/cu9/ari/gaiaorbit/render/IRenderable.java | Java | mpl-2.0 | 685 |
package org.gamefolk.roomfullofcats;
import java.util.Iterator;
import java.util.ServiceLoader;
import java.util.logging.Logger;
/**
* Service that provides platform-independent interfaces to sound playing.
*
* // TODO: Deprecate when https://bitbucket.org/javafxports/android/issue/47/app-crashes-with-media-api is... | gamefolk/room-full-of-cats-mobile | app/src/main/java/org/gamefolk/roomfullofcats/SoundService.java | Java | mpl-2.0 | 1,412 |
/*
* !++
* QDS - Quick Data Signalling Library
* !-
* Copyright (C) 2002 - 2021 Devexperts LLC
* !-
* 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/.
* !__
*/
pa... | Devexperts/QD | qd-core/src/main/java/com/devexperts/qd/kit/SequenceField.java | Java | mpl-2.0 | 1,508 |
package org.oasis_open.docs.wsn.brw_2;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Logger;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
/**
* This... | mil-oss/fgsms | fgsms-ws-notification/fgsms-wsnotification-spec/src/main/java/org/oasis_open/docs/wsn/brw_2/PublisherRegistrationManagerService.java | Java | mpl-2.0 | 2,623 |
/*
* Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
*
* Licensed under the Aduna BSD-style license.
*/
package org.openrdf.sail.generaldb.algebra.base;
/**
* A boolean value of true or false.
*/
public abstract class GeneralDBBooleanValue extends GeneralDBSqlConstant<Boolean> {
public GeneralDBBo... | esarbanis/strabon | generaldb/src/main/java/org/openrdf/sail/generaldb/algebra/base/GeneralDBBooleanValue.java | Java | mpl-2.0 | 372 |
/***************************** BEGIN LICENSE BLOCK ***************************
The contents of this file are subject to 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/.
Software distributed under the License is distri... | sensiasoft/lib-swe-common | swe-common-om/src/main/java/net/opengis/gml/v32/impl/PolygonImpl.java | Java | mpl-2.0 | 2,929 |
/*
* 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 Controlador;
import Modelo.Usuario;
import Vista.JFLogin;
import Vista.JFMenu;
/**
*
* @author Mario
*/
pub... | grupoProyecto1/gestionTienda | src/Controlador/ControladorJFMenu.java | Java | agpl-3.0 | 3,893 |
package net.sf.odinms.net.world;
import java.io.Serializable;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
public class MapleParty implements Serializable {
private static final long serialVersionUID = 9179541993413738569L;
private MaplePartyChara... | Micah-S/hidden-ms | src/src/net/sf/odinms/net/world/MapleParty.java | Java | agpl-3.0 | 3,367 |
/*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2017 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundat... | quikkian-ua-devops/will-financials | kfs-purap/src/main/java/org/kuali/kfs/module/purap/document/web/struts/PurchaseOrderForm.java | Java | agpl-3.0 | 46,388 |
/*
* This file is part of ELKI:
* Environment for Developing KDD-Applications Supported by Index-Structures
*
* Copyright (C) 2019
* ELKI Development Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the... | elki-project/elki | elki-outlier/src/main/java/elki/outlier/GaussianUniformMixture.java | Java | agpl-3.0 | 8,929 |
/*
* This file is part of Splice Machine.
* Splice Machine is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either
* version 3, or (at your option) any later version.
* Splice Machine is distributed i... | splicemachine/spliceengine | db-tools-ij/src/main/java/com/splicemachine/db/impl/tools/ij/UCode_CharStream.java | Java | agpl-3.0 | 11,330 |
/*
* Copyright (C) 2000 - 2021 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | SilverDav/Silverpeas-Core | core-web/src/main/java/org/silverpeas/core/webapi/profile/UserProfileResource.java | Java | agpl-3.0 | 21,484 |
/*
* #%L
* Cantharella :: Data
* $Id: CantharellaAnalyzerTest.java 269 2014-05-07 08:14:00Z echatellier $
* $HeadURL: https://svn.codelutin.com/cantharella/trunk/cantharella.data/src/test/java/nc/ird/cantharella/data/model/search/CantharellaAnalyzerTest.java $
* %%
* Copyright (C) 2013 IRD (Institut de Recherche ... | acheype/cantharella | cantharella.data/src/test/java/nc/ird/cantharella/data/model/search/CantharellaAnalyzerTest.java | Java | agpl-3.0 | 2,356 |
package com.effectiv.crm.jpa.repository;
import static org.assertj.core.api.Assertions.*;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest;
import org.springframework.test.cont... | kdhrubo/crx | crm/src/test/java/com/effectiv/crm/jpa/repository/ContactJpaRepositoryTest.java | Java | agpl-3.0 | 4,209 |
/*
(c) Copyright 2011 Telefonica, I+D. Printed in Spain (Europe). All Rights
Reserved.
The copyright to the software program(s) is property of Telefonica I+D.
The program(s) may be used and or copied only with the express written
consent of Telefonica I+D or in accordance with the terms and conditions
sti... | StratusLab/claudia | claudia-model/src/main/java/com/telefonica/claudia/slm/deployment/Network.java | Java | agpl-3.0 | 5,634 |
package com.eightkdata.mongowp.server.api.impl;
import com.eightkdata.mongowp.ErrorCode;
import com.eightkdata.mongowp.MongoConstants;
import com.eightkdata.mongowp.bson.BsonDocument;
import com.eightkdata.mongowp.bson.utils.DefaultBsonValues;
import com.eightkdata.mongowp.exceptions.FailedToParseException;
import co... | ahachete/mongowp | server/mongo-server-api/src/main/java/com/eightkdata/mongowp/server/api/impl/CorrectCommandReply.java | Java | agpl-3.0 | 2,517 |
package edu.rpi.phil.legup.puzzles.battleship;
import java.awt.Point;
import java.util.Vector;
import edu.rpi.phil.legup.BoardState;
import edu.rpi.phil.legup.CaseRule;
import edu.rpi.phil.legup.CellPredicate;
import edu.rpi.phil.legup.Legup;
import edu.rpi.phil.legup.newgui.CaseRuleSelectionHelper;
import edu.rpi.ph... | Bram28/LEGUP | code/edu/rpi/phil/legup/puzzles/battleship/CaseSegmentType.java | Java | agpl-3.0 | 1,545 |
package org.yamcs.web;
import org.yamcs.web.rest.RestRequest;
import io.netty.handler.codec.http.HttpRequest;
import io.netty.handler.codec.http.HttpResponseStatus;
/**
* When a resource (only the part identified by the request uri) could not be found.
* <p>
* Do *not* use this for anything else. For example if a... | bitblit11/yamcs | yamcs-core/src/main/java/org/yamcs/web/NotFoundException.java | Java | agpl-3.0 | 1,332 |
/**
* Elastic Grid
* Copyright (C) 2008-2010 Elastic Grid, LLC.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any ... | elastic-grid/Elastic-Grid | modules/elastic-grid-manager/src/main/java/com/elasticgrid/cluster/spi/Statistics.java | Java | agpl-3.0 | 1,207 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2006-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | tdefilip/opennms | opennms-webapp/src/main/java/org/opennms/web/svclayer/outage/FivePercentWidthId.java | Java | agpl-3.0 | 2,187 |
/**
* Axelor Business Solutions
*
* Copyright (C) 2005-2016 Axelor (<http://axelor.com>).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distr... | donsunsoft/axelor-development-kit | axelor-web/src/main/java/com/axelor/web/tags/StyleTag.java | Java | agpl-3.0 | 1,038 |
package com.solonarv.mods.golemworld.block;
import java.lang.reflect.Field;
import net.minecraft.block.Block;
import com.solonarv.mods.golemworld.GolemWorld;
import com.solonarv.mods.golemworld.util.ReflectionHelper;
import cpw.mods.fml.common.registry.GameRegistry;
public class ModBlocks {
public static ... | Solonarv/GolemWorld | common/com/solonarv/mods/golemworld/block/ModBlocks.java | Java | agpl-3.0 | 721 |
/**
* Copyright (C) 2009-2014 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
... | opensourceBIM/BIMserver | PluginBase/generated/org/bimserver/models/ifc4/IfcProductRepresentationSelect.java | Java | agpl-3.0 | 2,155 |
/*
* Copyright 2015 - 2017 AZYVA INC. INC.
*
* This file is part of Dragom.
*
* Dragom is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any ... | azyva/dragom-core | src/main/java/org/azyva/dragom/model/impl/package-info.java | Java | agpl-3.0 | 951 |
/*********************************************************************************
* Ephesoft is a Intelligent Document Capture and Mailroom Automation program
* developed by Ephesoft, Inc. Copyright (C) 2015 Ephesoft Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the term... | ungerik/ephesoft | Ephesoft_Community_Release_4.0.2.0/source/dcma-workflows/src/main/java/com/ephesoft/dcma/workflows/decisionevaluator/ResumeEvaluation.java | Java | agpl-3.0 | 3,504 |