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 org.dbwiki.data.query.visual;
public class ArgumentNode extends Node {
private String _arg;
ArgumentNode(String arg) {
_arg = arg;
}
String get() {
return _arg;
}
}
| jamescheney/database-wiki | src/org/dbwiki/data/query/visual/ArgumentNode.java | Java | gpl-3.0 | 185 |
package org.sputnik.service.impl;
import lombok.SneakyThrows;
import org.springframework.core.Ordered;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerExceptionResolver;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
im... | agliznetsov/sputnik | sputnik-server/src/main/java/org/sputnik/service/impl/CustomExceptionHandler.java | Java | gpl-3.0 | 953 |
package tk.nirvanagamestudios.mavicci.animation;
import java.io.File;
public class ColladaConverter {
public static void loadAnimation(File animationFile, boolean looping, File output) {
Animation animation = new Animation();
animation.setLooping(looping);
ColladaFileReader fileReader = new ColladaFi... | Nirvana-Game-Studios/Mavicci | src/tk/nirvanagamestudios/mavicci/animation/ColladaConverter.java | Java | gpl-3.0 | 1,083 |
/*******************************************************************************
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2013,2014 by Peter Pilgrim, Addiscombe, Surrey, XeNoNiQUe UK
*
* All rights reserved. This program and the accompanying materials
* are made available under... | peterpilgrim/javaee7-developer-handbook | ch11/jpa-criteria/src/main/java/je7hb/jpa/advanced/criteria/Employee_.java | Java | gpl-3.0 | 1,603 |
/** * Copyright (C) 2016 Tarik Moataz
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distr... | senecameeks/EncryptedDropbox | src/main/java/org/crypto/sse/CryptoPrimitives.java | Java | gpl-3.0 | 27,320 |
//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.bal.view.struts;
import javax.se... | avdata99/SIAT | siat-1.0-SOURCE/src/view/src/WEB-INF/src/ar/gov/rosario/siat/bal/view/struts/AdministrarSaldoEnCompensacionDAction.java | Java | gpl-3.0 | 10,768 |
package ch.npl.cash.domain;
import javax.persistence.CascadeType;
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.OneToMany;
imp... | noproblan/npl-cash | src/ch/npl/cash/domain/Ordering.java | Java | gpl-3.0 | 1,705 |
/*
* GeoSDI ERA - The new era of webGIS
* http://code.google.com/p/geosdiera/
* ====================================================================
*
* Copyright (C) 2008-2009 GeoSDI Group (CNR IMAA).
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the... | protonsint/geosdiera | web/src/main/java/it/geosdi/era/server/service/IStartupService.java | Java | gpl-3.0 | 1,825 |
/* Generated test code. */
package org.jaffa.components.attachment.components.attachmentviewer.dto;
import static org.junit.Assert.*;
import org.jaffa.components.dto.HeaderDto;
import org.junit.Test;
/**
* Generated test code for AttachmentViewerInDto.
* @author kcassell
*/
public class AttachmentViewerInDtoTapG... | jaffa-projects/jaffa-framework | jaffa-components/src/test/java/org/jaffa/components/attachment/components/attachmentviewer/dto/AttachmentViewerInDtoTapGenTest.java | Java | gpl-3.0 | 1,590 |
package holo.fallingearth.entity.projectile;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.projectile.EntityArrow;
import net.minecraft.util.DamageSource;
import net.minecraft.world.World;
public class EntityMeteoriteProjectile extends EntityArr... | Hologuardian/FallingEarth | holo/fallingearth/entity/projectile/EntityMeteoriteProjectile.java | Java | gpl-3.0 | 1,070 |
package com.supermap.desktop.Interface;
public interface IBaseItem {
/**
* 获取或设置控件对象是否可用。
*/
boolean isEnabled();
void setEnabled(boolean enabled);
/**
* 获取或设置控件是否可见。
*/
boolean isVisible();
void setVisible(boolean visible);
/**
* 获取或设置控件是否选中。
*/
boolean isChecked();
void setChecked(boolean ... | SuperMap-iDesktop/SuperMap-iDesktop-Cross | Core/src/main/java/com/supermap/desktop/Interface/IBaseItem.java | Java | gpl-3.0 | 835 |
package es.vcarmen.chatapp;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void add... | Carets12/2DAM | DSINTERFAZ/Actividades/ChatApp/app/src/test/java/es/vcarmen/chatapp/ExampleUnitTest.java | Java | gpl-3.0 | 396 |
package com.trade12.Archangel.NEI;
import codechicken.nei.api.API;
import codechicken.nei.api.IConfigureNEI;
import com.trade12.Archangel.lib.Log;
/**
* Created by Kieran on 25/08/2014.
*/
public class NEIConfiguration implements IConfigureNEI {
@Override
public void loadConfig()
{
API.register... | trade12/ToBeNamed | src/main/java/com/trade12/Archangel/NEI/NEIConfiguration.java | Java | gpl-3.0 | 758 |
package com.navid.trafalgar.mod.windtunnel.model;
import com.jme3.asset.AssetManager;
/**
*
* @author alberto
*/
public final class HarnessModel extends AHarnessModel {
public HarnessModel(AssetManager assetManager) {
super(assetManager);
}
@Override
protected void initGeometry(AssetManag... | albertonavarro/cabotrafalgar | modWindTunnel/src/main/java/com/navid/trafalgar/mod/windtunnel/model/HarnessModel.java | Java | gpl-3.0 | 475 |
package org.paradise.netflix.spring;
import com.github.vanroy.cloud.dashboard.config.EnableCloudDashboard;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@SpringBootApplica... | TerrenceMiao/netflix | spring-cloud-dashboard/src/main/java/org/paradise/netflix/spring/CloudDashboardApplication.java | Java | gpl-3.0 | 525 |
package lu.kremi151.minamod.enums;
public enum EnumIceGolhemState {
DISABLED((byte)0),
PASSIVE((byte)1),
ZOMBIE((byte)2);
private byte id;
private static final EnumIceGolhemState[] LOOKUP;
static{
LOOKUP = new EnumIceGolhemState[values().length];
for(EnumIceGolhemState s : values()){
LOOKUP[(int)s.get... | kremi151/MinaMod | src/main/java/lu/kremi151/minamod/enums/EnumIceGolhemState.java | Java | gpl-3.0 | 565 |
package com.baselet.element.facet;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Locale;
import com.baselet.control.enums.FormatLabels;
import com.baselet.diagram.draw.helper.StyleException;
import com.baselet.gui.AutocompletionText;
public abstract class KeyValueFacet ... | umlet/umlet | umlet-elements/src/main/java/com/baselet/element/facet/KeyValueFacet.java | Java | gpl-3.0 | 3,528 |
package org.craftercms.studio.impl.repository.mongodb.api.model;
import java.util.HashSet;
import java.util.Set;
/**
* Tree node of type T.
* @param <T> Any class that implements Comparable
*/
public class TreeNode<T extends Comparable<T>> {
private T value;
private TreeNode<T> parent;
private Set<Tr... | craftercms/repo | src/main/java/org/craftercms/studio/impl/repository/mongodb/api/model/TreeNode.java | Java | gpl-3.0 | 1,338 |
/**
* Hub Miner: a hubness-aware machine learning experimentation library.
* Copyright (C) 2014 Nenad Tomasev. Email: nenad.tomasev at 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
* Foundatio... | datapoet/hubminer | src/main/java/images/mining/clustering/IntraImageKMeansWeighted.java | Java | gpl-3.0 | 19,559 |
/**
*
*/
package by.pvt.kish.aircompany.command.employee;
import by.pvt.kish.aircompany.command.ActionCommand;
import by.pvt.kish.aircompany.constants.Attribute;
import by.pvt.kish.aircompany.constants.Page;
import by.pvt.kish.aircompany.pojos.Employee;
import by.pvt.kish.aircompany.exceptions.ServiceException;
imp... | alexeykish/aircompany-hibernate | web/src/main/java/by/pvt/kish/aircompany/command/employee/GetAllEmployeesCommand.java | Java | gpl-3.0 | 1,076 |
package pl.gratitude.it_ebooks.common.helpers;
import com.google.gson.JsonElement;
import com.google.gson.JsonPrimitive;
import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;
import org.joda.time.DateTime;
import java.lang.reflect.Type;
/**
* Created 09.11.2015.
*
* @author Sław... | MrOnyszko/it-ebooks.info | app/src/main/java/pl/gratitude/it_ebooks/common/helpers/DateTimeSerializer.java | Java | gpl-3.0 | 557 |
package net.minecraft.src;
import java.util.List;
import java.util.Random;
public class EntityMinecart extends Entity implements IInventory
{
private ItemStack cargoItems[];
private int fuel;
private boolean field_856_i;
/** The type of minecart, 2 for powered, 1 for storage. */
public int mineca... | sethten/MoDesserts | mcp50/src/minecraft/net/minecraft/src/EntityMinecart.java | Java | gpl-3.0 | 36,770 |
package R;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.concu... | Sipkovandam/PCrotation | Sipko/src/main/java/R/SplicingAnalysisPipeline2.java | Java | gpl-3.0 | 36,833 |
package architecture.dao.impl;
import architecture.dao.BaseDao;
import architecture.jest.BeanResult;
import architecture.jest.ClientFactory;
import architecture.jest.JestService;
import architecture.utils.JsonMapping;
import architecture.utils.SRSLogger;
import com.google.gson.JsonArray;
import com.google.gson.JsonEle... | ArchitectureNJU/PriceParity | src/main/java/architecture/dao/impl/BaseDaoImpl.java | Java | gpl-3.0 | 4,115 |
package com.fr.grid;
import com.fr.design.constants.UIConstants;
import java.awt.*;
public abstract class GridHeader<T> extends BaseGridComponent {
public final static int SIZE_ADJUST = 4;
//属性
private Color separatorLineColor = UIConstants.RULER_LINE_COLOR; //separator lines
private Co... | fanruan/finereport-design | designer/src/com/fr/grid/GridHeader.java | Java | gpl-3.0 | 2,845 |
package org.obiba.mica.micaConfig.service;
import org.obiba.opal.core.domain.taxonomy.Vocabulary;
public class VocabularyDuplicateAliasException extends AbstractVocabularyException {
private static final long serialVersionUID = 1184806332897637307L;
public VocabularyDuplicateAliasException() {
super();
}
... | Rima-B/mica2 | mica-core/src/main/java/org/obiba/mica/micaConfig/service/VocabularyDuplicateAliasException.java | Java | gpl-3.0 | 431 |
package cl.smartcities.isci.transportinspector.router.stepInnerStrategy;
import android.content.Context;
import android.content.res.Resources;
import android.support.v4.content.ContextCompat;
import android.view.View;
import cl.smartcities.isci.transportinspector.R;
import cl.smartcities.isci.transportinspector.route... | InspectorIncognito/androidApp | app/src/main/java/cl/smartcities/isci/transportinspector/router/stepInnerStrategy/BusStrategy.java | Java | gpl-3.0 | 1,121 |
/*
* Copyright (C) 2013 Piotr Wójcik
*
* 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... | simon816/ComcraftModLoader | src/net/comcraft/src/LangBundle.java | Java | gpl-3.0 | 2,824 |
package pacman.entries.pacman.mcts;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import pacman.game.Constants.MOVE;
import pacman.game.Game;
public class Node {
private static final double C = 100;
private final Node parent;
private final List<Node> children;
priva... | lrusnac/maig-2016 | src/pacman/entries/pacman/mcts/Node.java | Java | gpl-3.0 | 2,040 |
package com.lody.virtual.client.stub;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import com.lody.virtual.client.core.PatchManager;
import com.lody.virtual.client.env.VirtualRuntime;
import com.lody.virtual.client.hook.patchs.am.HCallbackHook;
i... | prife/VirtualApp | VirtualApp/lib/src/main/java/com/lody/virtual/client/stub/StubActivity.java | Java | gpl-3.0 | 6,366 |
package com.lody.virtual.client;
import android.os.Binder;
import android.os.Build;
import android.os.Process;
import com.lody.virtual.client.core.VirtualCore;
import com.lody.virtual.client.env.VirtualRuntime;
import com.lody.virtual.client.ipc.VActivityManager;
import com.lody.virtual.client.natives.NativeMethods;
... | dstmath/VirtualApp | VirtualApp/lib/src/main/java/com/lody/virtual/client/NativeEngine.java | Java | gpl-3.0 | 6,864 |
package regexgolf2.services.persistence.saving;
import regexgolf2.model.SolvableChallenge;
import regexgolf2.model.containers.ChallengePool;
import regexgolf2.model.containers.WordPool;
import regexgolf2.services.persistence.PersistenceException;
public interface SaveVisitor
{
void visit(ChallengePool challengePool)... | greenkeeper/RegexGolf2 | RegexGolf2/src/regexgolf2/services/persistence/saving/SaveVisitor.java | Java | gpl-3.0 | 492 |
package cn.cadal.audio.entity;
public class SearchResult {
private String AutioNO;
private String Title;
private String Creator;
private String Subject;
private String Publisher;
/**
* get and set function
*/
public String getAutioNO() {
return AutioNO;
}
public void setAutioNO(String autioNO) {
Aut... | YinYanfei/CadalWorkspace | AudioSearch/src/cn/cadal/audio/entity/SearchResult.java | Java | gpl-3.0 | 810 |
package com.weebly.OliPro007.minecraftRPG.renderers;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import com.weebly.OliP... | OliPro007/MinecraftRPG | src/main/java/com/weebly/OliPro007/minecraftRPG/renderers/RenderBullet.java | Java | gpl-3.0 | 3,584 |
/*
* This file is part of the Factbook Generator.
*
* The Factbook Generator is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The ... | ProjectMoon/fbg | src/edu/uara/parser/integrated/ParseableFile.java | Java | gpl-3.0 | 1,578 |
package ru.cft.chuldrenofcorn.cornchat;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
... | ChildrenOfCorn/CornChat | app/src/test/java/ru/cft/chuldrenofcorn/cornchat/ExampleUnitTest.java | Java | gpl-3.0 | 323 |
package com.example.jyheo.threadex;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public ... | jyheo/AndroidTutorial | ThreadEx/app/src/test/java/com/example/jyheo/threadex/ExampleUnitTest.java | Java | gpl-3.0 | 404 |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that... | paolopavan/cfr | src/weka/core/converters/Loader.java | Java | gpl-3.0 | 6,624 |
package cn.nukkit.event.player;
import cn.nukkit.AdventureSettings;
import cn.nukkit.Player;
import cn.nukkit.event.Cancellable;
import cn.nukkit.event.HandlerList;
public class PlayerGameModeChangeEvent extends PlayerEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();
... | boy0001/Nukkit | src/main/java/cn/nukkit/event/player/PlayerGameModeChangeEvent.java | Java | gpl-3.0 | 1,138 |
package greymerk.roguelike.treasure.loot;
import java.util.HashMap;
import java.util.Map;
import greymerk.roguelike.util.IWeighted;
import net.minecraft.item.ItemStack;
public class LootProvider implements ILoot {
Map<Integer, LootSettings> loot;
public LootProvider(){
loot = new HashMap<Integer, LootSettings... | Greymerk/minecraft-roguelike | src/main/java/greymerk/roguelike/treasure/loot/LootProvider.java | Java | gpl-3.0 | 614 |
package com.lawek;
public class Copain {
public String name;
public String ip;
}
| mlkdru/nyloc | src/main/java/com/lawek/Copain.java | Java | gpl-3.0 | 85 |
/*
* OpenSplice DDS
*
* This software and documentation are Copyright 2006 to 2013 PrismTech
* Limited and its licensees. All rights reserved. See file:
*
* $OSPL_HOME/LICENSE
*
* for full copyright notice and license terms.
*
*/
package org.opensplice.cm.qo... | SanderMertens/opensplice | src/api/cm/java/code/org/opensplice/cm/qos/MessageQoS.java | Java | gpl-3.0 | 4,095 |
/**
* 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 ... | exteso/alf.io | src/main/java/alfio/manager/support/CheckInStatistics.java | Java | gpl-3.0 | 1,327 |
package cn.nukkit.item;
/**
* author: MagicDroidX
* Nukkit Project
*/
public class StonePickaxe extends Tool {
public StonePickaxe() {
this(0, 1);
}
public StonePickaxe(Integer meta) {
this(meta, 1);
}
public StonePickaxe(Integer meta, int count) {
super(STONE_PICKAXE,... | LinEvil/Nukkit | src/main/java/cn/nukkit/item/StonePickaxe.java | Java | gpl-3.0 | 610 |
package edu.stanford.rsl.conrad.metric;
public class RootMeanSquareErrorMetric extends MeanSquareErrorMetric {
/**
*
*/
private static final long serialVersionUID = 332165924495213426L;
@Override
public double evaluate() {
return Math.sqrt(computeMeanSquareError());
}
@Override
public String toString... | YixingHuang/CONRAD | src/edu/stanford/rsl/conrad/metric/RootMeanSquareErrorMetric.java | Java | gpl-3.0 | 509 |
package com.taobao.api.request;
import java.util.Map;
import com.taobao.api.ApiRuleException;
import com.taobao.api.TaobaoRequest;
import com.taobao.api.internal.util.RequestCheckUtils;
import com.taobao.api.internal.util.TaobaoHashMap;
import com.taobao.api.response.LogisticsOrderShengxianConfirmResponse;
/**
* TO... | kuiwang/my-dev | src/main/java/com/taobao/api/request/LogisticsOrderShengxianConfirmRequest.java | Java | gpl-3.0 | 5,323 |
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero Genera... | am910021/YuriMS | src/server/MapleTrade.java | Java | gpl-3.0 | 10,325 |
package com.mari;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
public class ChallengeDemoApp {
public static void main(String[] args) {
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ChallengeConfig.class);
Coach theCoach = ... | rejmar/Java | Spring/SpringAnnotations/src/com/mari/ChallengeDemoApp.java | Java | gpl-3.0 | 519 |
package com.linux.sudoku.fx;
import java.util.HashSet;
import java.util.Set;
/**
* This is copied verbatim from http://stackoverflow.com/questions/15690254/how-to-generate-a-complete-sudoku-board-algorithm-error
*
* @author Guruprasad Kulkarni <guru@linux.com>
*/
public class SudokuCell {
private int value;
... | comdotlinux/SudokuFX | src/main/java/com/linux/sudoku/fx/SudokuCell.java | Java | gpl-3.0 | 1,244 |
package com.Soro300.lets_mod.reference;
public class Reference {
public static final String MOD_ID = "Lets_Mod";
public static final String MOD_NAME = "Lets Mod";
public static final String VERSION = "1.7.10-1.0";
public static final String CLIENT_PROXY_CLASS = "com.Soro300.lets_mod.proxy.ClientProxy";
public st... | Soro300/Lets_Mod | src/main/java/com/Soro300/lets_mod/reference/Reference.java | Java | gpl-3.0 | 497 |
package edu.berkeley.nlp.util;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import fig.basic.Pair;
//import fig.basic.Pair;
/**
* Maintains counts of (key, value) pairs. The map is structured so that for
* every key, one can get a... | timfeu/berkeleycoref-bansalklein | code/edu/berkeley/nlp/util/CounterMap.java | Java | gpl-3.0 | 11,359 |
package sortingalgorithms;
public class Introsort {
/*this method should be called first*/
public static void sort(int[] arr) {
final int maxDepth = 2 * (int)Math.floor(Math.log(arr.length) / Math.log(2));
introsort(arr, 0, arr.length - 1, maxDepth);
}
/*main loop of intros... | readysetlearn/Sorting-Algorithms | Introsort.java | Java | gpl-3.0 | 3,371 |
package ms.test.model;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class PersonRest {
private List<Person> persons;
public List<Person> getPersons() {
return persons;
}
public void setPersons(List<Person> persons) {
this.persons = persons;... | mssalvo/msAction | msActionExample/src/ms/test/model/PersonRest.java | Java | gpl-3.0 | 335 |
/*
* #%L
* API Interface Project
* %%
* Copyright (C) 2011 MACHIZAUD André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 the Free Software Foundation, either version 3 of the
* License, or (at your option) ... | theblackunknown/ia-framework | api/src/test/java/org/eisti/labs/game/PlyTest.java | Java | gpl-3.0 | 2,073 |
/*
* Copyright (C) 2014 Sheng Cao <sca6096@gmail.com>. All rights reserved.
*
* The file is part of English-Semantics-Extraction.
*
* English-Semantics-Extraction 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 ... | cs6096/java-english-semantics-extraction | src/net/cs6096/semanticmapping/deprecated/AutomaticGrammarGeneration.java | Java | gpl-3.0 | 6,905 |
/*
* Created on Mar 16, 2005
*/
package org.flexdock.docking.props;
import java.util.Map;
import org.flexdock.docking.DockingConstants;
import org.flexdock.docking.RegionChecker;
import org.flexdock.util.TypedHashtable;
/**
* @author Christopher Butler
*/
@SuppressWarnings(value = { "serial" })
public class Basi... | SuperMap-iDesktop/SuperMap-iDesktop-Cross | Controls/src/main/java/org/flexdock/docking/props/BasicDockingPortPropertySet.java | Java | gpl-3.0 | 2,115 |
package xingu.type.impl;
import xingu.lang.NotImplementedYet;
import xingu.type.ObjectType.Type;
import xingu.type.TypeHandler;
public class TypeHandlerSupport
implements TypeHandler
{
private String name;
private Type type;
private Class<?> clazz;
public TypeHandlerSupport(Class<?> clazz, String name, Type... | leandrocruz/xingu | type-handler/src/main/java/xingu/type/impl/TypeHandlerSupport.java | Java | gpl-3.0 | 1,223 |
/**
* Copyright (c) 2010 France Telecom / Orange Labs
*
* This file is part of JLInX, Java Lib for Indivo X.
*
* JLInX 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, ... | fredorange/JLInX | src/jlinx-api-6.0.8-sources/com/orange/jlinx/document/ext/Address.java | Java | gpl-3.0 | 3,655 |
/*
* Decompiled with CFR 0_115.
*
* Could not load the following classes:
* android.os.AsyncTask
*/
package android.support.v4.os;
import android.os.AsyncTask;
import java.util.concurrent.Executor;
class AsyncTaskCompatHoneycomb {
AsyncTaskCompatHoneycomb() {
}
static /* varargs */ <Params, Progre... | SPACEDAC7/TrabajoFinalGrado | uploads/34f7f021ecaf167f6e9669e45c4483ec/java_source/android/support/v4/os/AsyncTaskCompatHoneycomb.java | Java | gpl-3.0 | 523 |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Matthieu Harlé
*
* 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 us... | elman22/pocket-amc-reader | PocketAMCReader/src/main/java/com/holdingscythe/pocketamcreader/catalog/CursorRecyclerAdapter.java | Java | gpl-3.0 | 10,945 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package com.bitzing.bw.palette.mqtt.model.mqtt;
import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc -->
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
* @see com.bit... | yogeshpathade/tibcobw6-mqtt-connector | palette/model/plugins/com.bitzing.bw.palette.mqtt.model/src/com/bitzing/bw/palette/mqtt/model/mqtt/MqttFactory.java | Java | gpl-3.0 | 1,446 |
/*********************************************************************************************
*
* 'IToolbarDecoratedView.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
*
* Visit h... | gama-platform/gama | ummisco.gama.ui.shared/src/ummisco/gama/ui/views/toolbar/IToolbarDecoratedView.java | Java | gpl-3.0 | 1,913 |
package com.williamjoy.wall.english;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.CheckBox;
import android.widget.EditText;
public class MaterialEditorActivity extends Activ... | williamjoy/Wall-E | src/com/williamjoy/wall/english/MaterialEditorActivity.java | Java | gpl-3.0 | 1,883 |
package de.uni_kiel.progOOproject17.model.abs;
/**
* This interface serves as a listener that is used to call back when a {@link Destroyable} got {@link Destroyable#destroy()}ed.
*/
@FunctionalInterface
public interface DestroyListener {
/**
* Will be called when the {@link Destroyable} d got {@link Des... | YouMe2/GameEngine | GameEngine/src/de/uni_kiel/progOOproject17/model/abs/DestroyListener.java | Java | gpl-3.0 | 442 |
package org.bukkit;
import static org.junit.Assert.*;
import static org.hamcrest.Matchers.*;
import java.util.List;
import net.minecraft.server.Block;
import net.minecraft.server.BlockFire;
import net.minecraft.server.Item;
import net.minecraft.server.ItemFood;
import net.minecraft.server.ItemRecord;
import org.buk... | squallblade/Spigot | src/test/java/org/bukkit/PerMaterialTest.java | Java | gpl-3.0 | 4,197 |
/*
* Copyright (C) 2017 zsel
*
* 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 i... | Obsidiam/amelia | src/main/java/com/neology/data/model/Frame.java | Java | gpl-3.0 | 1,335 |
package com.wikidreams.shell;
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class App {
public static void main(String[] args) {
String domainName = "google.com";
// Execute the command in windows
String command = "ping -n 3 " + domainName;
// Execute the command in Mac osX
//... | WikiDreams/ShellCommand | src/com/wikidreams/shell/App.java | Java | gpl-3.0 | 907 |
package dk.aau.cs.giraf.tortoise;
public interface OnMainLayoutEventListener {
public void OnMainLayoutTouchListener();
}
| NC2903/Tortoise | source/Tortoise/src/dk/aau/cs/giraf/tortoise/OnMainLayoutEventListener.java | Java | gpl-3.0 | 124 |
package ExifUtils;
import Rename.meta;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
/*
* 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.
*/
/**
*
* @author ga... | GRuppert/PictureImport | src/ExifUtils/ifMetaLink.java | Java | gpl-3.0 | 844 |
/**
*
*/
package mac.lista;
import static org.junit.Assert.*;
import org.junit.Test;
/**
* @author T420
*
*/
public class ListaTest {
@Test
public void test() {
Lista s = new Lista(9);
piszLn(s.dodajElement(0));
s.dodajElement(1);
s.dodajElement(2);
s.dodajElement(3);
s.dod... | michaldurski/mac-lista | mac/src/mac/lista/ListaTest.java | Java | gpl-3.0 | 716 |
/**
* Copyright (c) 2002-2012 "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 Foundati... | dksaputra/community | kernel/src/main/java/org/neo4j/kernel/impl/traversal/AbstractTraverserIterator.java | Java | gpl-3.0 | 1,659 |
package decoder;
import java.util.Date;
import common.Config;
import common.Log;
import fec.RsCodeWord;
import telemetry.Frame;
import telemetry.FrameProcessException;
import telemetry.HighSpeedFrame;
/**
*
* FOX 1 Telemetry Decoder
* @author chris.e.thompson g0kla/ac2cz
*
* Copyright (C) 2015 amsat.org
*
* ... | ac2cz/FoxTelem | src/decoder/HighSpeedBitStream.java | Java | gpl-3.0 | 9,988 |
package ru.mos.polls.survey.variants.values;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.text.InputType;
import android.text.TextUtils;
import android.view.View;
import android.view.WindowManager;
import android.widget.EditText;
import android.... | active-citizen/android.java | app/src/main/java/ru/mos/polls/survey/variants/values/FloatVariantValue.java | Java | gpl-3.0 | 5,017 |
/*
* This file is hereby placed into the Public Domain. This means anyone is
* free to do whatever they wish with this file.
*/
package mil.nga.giat.data.elasticsearch;
import java.io.Serializable;
import java.util.Objects;
import java.util.regex.Pattern;
/**
* Class describing and Elasticsearch attribute includi... | ngageoint/elasticgeo | gt-elasticsearch/src/main/java/mil/nga/giat/data/elasticsearch/ElasticAttribute.java | Java | gpl-3.0 | 7,242 |
/*
Copyright (C) 2001, 2006 United States Government
as represented by the Administrator of the
National Aeronautics and Space Administration.
All Rights Reserved.
*/
package gov.nasa.worldwindx.examples;
import gov.nasa.worldwind.*;
import gov.nasa.worldwind.event.*;
import gov.nasa.worldwind.avlist.*;
import gov.nas... | printesoi/worldwind | src/gov/nasa/worldwindx/examples/LineBuilder.java | Java | gpl-3.0 | 14,766 |
/**
* Copyright (C) 2011 ZHEJIANG SUPCON TECHNOLOGY CO.,LTD.
* All rights reserved.
*/
package com.supcon.gcs.service;
import com.supcon.gcs.entities.User;
/**
*
* 用户操作接口
*
* @author Administrator
* @version 1.0
*/
public interface UserService {
/**
* 绑定用户信息
*
* @param user
*/
void bindingUser(... | bapSupcon/SupconGCS | src/com/supcon/gcs/service/UserService.java | Java | gpl-3.0 | 558 |
/**
* j-Interop (Pure Java implementation of DCOM protocol)
*
* Copyright (c) 2013 Vikram Roopchand
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http... | howie/jinterop | src/org/jinterop/dcom/impls/automation/TypeKind.java | Java | gpl-3.0 | 1,809 |
package pl.shop.mvc.configuration;
import java.util.Locale;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.conte... | grkopiec/spring-shop | src/main/java/pl/shop/mvc/configuration/WebConfig.java | Java | gpl-3.0 | 5,232 |
package net.joaopms.PvPUtilities.helper;
import net.joaopms.PvPUtilities.lib.Reference;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.ChatComponentText;
public class ChatHelper {
public static void sendMessageToPlayer(EntityPlayer player, Object message) {
player.addChatMessag... | joaopms/PvPUtilities | src/main/java/net/joaopms/PvPUtilities/helper/ChatHelper.java | Java | gpl-3.0 | 412 |
/**
* Copyright 2015 George Belden
*
* This file is part of Sherlock.
*
* Sherlock is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later ver... | beldenge/Sherlock | src/main/java/com/ciphertool/sherlock/etl/importers/NGramListImporterImpl.java | Java | gpl-3.0 | 8,834 |
/*
* Copyright (C) 2012 Daryl Daly
*
* This file is part of Heart Observe
*
* Heart Observe 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) ... | daryldy/Heart | src/ca/ddaly/android/heart/DataStore.java | Java | gpl-3.0 | 903 |
/*
* Created on Nov 8, 2004
*
* TODO To change the template for this generated file go to Window -
* Preferences - Java - Code Style - Code Templates
*/
package se.agura.applications.vacation.presentation;
import java.rmi.RemoteException;
import java.util.Collection;
import java.util.Iterator;
import ... | idega/se.agura.applications.vacation | src/java/se/agura/applications/vacation/presentation/VacationBlock.java | Java | gpl-3.0 | 18,506 |
/*
Copyright 2015 Jose Robson Mariano Alves
This file is part of bgfinancas.
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.
... | jmptrader/bgfinancas | src/badernageral/bgfinancas/template/botao/BotaoGerenciarCategoria.java | Java | gpl-3.0 | 2,174 |
package cn.itbcat.boot.repository.front;
import cn.itbcat.boot.entity.front.ArticleSearch;
import org.springframework.data.elasticsearch.annotations.Query;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
*... | ITBCat/itbcatBoot | src/main/java/cn/itbcat/boot/repository/front/ArticleSearchRepository.java | Java | gpl-3.0 | 525 |
/**
*/
package de.mdelab.languages.productionschema.util;
import de.mdelab.languages.productionschema.*;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
... | Somae/mdsd-factory-project | productionschema/de.mdelab.languages.productionschema/src/de/mdelab/languages/productionschema/util/ProductionschemaSwitch.java | Java | gpl-3.0 | 8,566 |
/*******************************************************************************
* Copyright (C) 2003 Ken Harris
*
* 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 L... | petebrew/tellervo | src/main/java/org/tellervo/desktop/util/openrecent/OpenRecent.java | Java | gpl-3.0 | 13,824 |
/*
Copyright (C) 2007-2011 Database Group - Universita' della Basilicata
Giansalvatore Mecca - giansalvatore.mecca@unibas.it
Salvatore Raunich - salrau@gmail.com
This file is part of ++Spicy - a Schema Mapping and Data Exchange Tool
++Spicy is free software: you can redistribute it and/or mod... | dbunibas/spicy | spicyEngine/test/it/unibas/spicy/test/query/sql/selfjoin/SQLQueryRSImproperSelfJoin_100.java | Java | gpl-3.0 | 2,038 |
/*
* TURNUS - www.turnus.co
*
* Copyright (C) 2010-2016 EPFL SCI STI MM
*
* This file is part of TURNUS.
*
* TURNUS 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, o... | turnus/turnus | turnus.ui/src/turnus/ui/Icon.java | Java | gpl-3.0 | 246,385 |
package org.gnubridge.core.deck;
public abstract class Trump {
@Override
public abstract String toString();
public static Trump instance(String s) {
Trump result = null;
if (NoTrump.i().toString().equalsIgnoreCase(s)) {
result = NoTrump.i();
} else if (Spades.i().toString().equalsIgnoreCase(s)) {
resu... | pslusarz/gnubridge | src/main/java/org/gnubridge/core/deck/Trump.java | Java | gpl-3.0 | 1,157 |
package com.pkm.command;
import org.springframework.web.multipart.MultipartFile;
public class RequestFormCommand {
private String name;
private String mobileno;
private String modelno;
private String prouducttype;
private String prouductSubtype;
private String description;
private String email;
private Mult... | pritam176/UAQ | SPringMVC/src/com/pkm/command/RequestFormCommand.java | Java | gpl-3.0 | 1,641 |
/*
* TrainsWithConflictsPanel.java
*
* Created on 22.12.2009, 19:19:29
*/
package net.parostroj.timetable.gui.components;
import java.util.HashSet;
import java.util.Set;
import javax.swing.event.ListSelectionListener;
import net.parostroj.timetable.gui.wrappers.TrainWrapperDelegate;
import net.parostroj.timetable.... | jub77/grafikon | grafikon-gui-components/src/main/java/net/parostroj/timetable/gui/components/TrainsWithConflictsPanel.java | Java | gpl-3.0 | 4,149 |
// 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. You may obtain a copy of the License
// at http://www.mozilla.org/MPL/
//
// Software distributed under the License is distributed on an "AS IS"... | yanellyjm/rabbitmq-client-java | src/main/java/com/rabbitmq/utility/SingleShotLinearTimer.java | Java | gpl-3.0 | 3,262 |
package org.beer30.mrpickles.web.controller;
import org.beer30.mrpickles.domain.entity.AppUser;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.ann... | tsweets/MrPickles | src/main/java/org/beer30/mrpickles/web/controller/HomeController.java | Java | gpl-3.0 | 1,821 |
/*
* ------------------------------------------------------------------------ Copyright 2016 by Aaron
* Hart Email: Aaron.Hart@gmail.com
*
* This program is free software; 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 Foun... | AaronNHart/Inflor | io.landysh.fleur.plugin/src/main/java/fleur/knime/nodes/compensation/extract/fjmtx/ExtractCompJONodeModel.java | Java | gpl-3.0 | 8,379 |
/*
* Copyright (C) 2012 Timo Vesalainen
*
* 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 progr... | tvesalainen/util | util/src/main/java/org/vesalainen/util/EasterCalendar.java | Java | gpl-3.0 | 5,083 |
package mswift42.com.github.sunshine.app;
import android.content.Intent;
import android.support.v4.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
/**
* A placeholder fragment containing a simple vie... | mswift42/apg | Sunshine/app/src/main/java/mswift42/com/github/sunshine/app/DetailActivityFragment.java | Java | gpl-3.0 | 1,115 |
package xingu.type.transformer;
public class ReplaceTransformer
implements Transformer
{
private String regexp;
private String replacement;
@Override
public String transform(String value)
{
if(value == null)
{
return null;
}
return value.replaceAll(regexp, replacement);
}
public void setRegexp(S... | leandrocruz/xingu | type-handler/src/main/java/xingu/type/transformer/ReplaceTransformer.java | Java | gpl-3.0 | 440 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// 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: 2015.11.... | anu-doi/anudc | DataCommons/src/main/java/org/isotc211/_2005/gmd/CIContactPropertyType.java | Java | gpl-3.0 | 7,666 |
/*
* Copyright 2013-2016 Erwin Müller <erwin.mueller@deventm.org>
*
* This file is part of prefdialog-misc-swing.
*
* prefdialog-misc-swing 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 ... | devent/prefdialog | prefdialog-misc-swing/src/test/groovy/com/anrisoftware/prefdialog/miscswing/toolbarmenu/ToolBar.java | Java | gpl-3.0 | 1,485 |
/*
* Copyright (c) 2006-2016 Marvisan Pty. Ltd. All rights reserved.
* Use is subject to license terms.
*/
/*
* OrderStatusRequestMsg.java
*
* $Id: OrderStatusRequestMsg.java,v 1.4 2011-04-28 10:07:41 vrotaru Exp $
*/
package net.hades.fix.message;
import net.hades.fix.message.anno.FIXVersion;
... | marvisan/HadesFIX | Model/src/main/java/net/hades/fix/message/OrderStatusRequestMsg.java | Java | gpl-3.0 | 41,851 |