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 factory;
import model.Account;
import model.Pan;
import model.Transaction;
/**
* Created by Hamid on 6/2/2017.
*/
public interface PanFacade {
public void getBalance(Pan pan);
public void getTransactions(Pan pan);
public void hotCard(Pan pan);
public void smsAlarmSelect(Pan pan);
pu... | tishk/GHTELIV | src/factory/PanFacade.java | Java | gpl-3.0 | 510 |
package net.shadowmage.ancientwarfare.npc.command;
import net.minecraft.command.CommandBase;
import net.minecraft.command.ICommand;
import net.minecraft.command.ICommandSender;
import net.minecraft.util.ChatComponentText;
import net.shadowmage.ancientwarfare.core.gamedata.WorldData;
import net.shadowmage.ancien... | GotoLink/AncientWarfare2 | src/main/java/net/shadowmage/ancientwarfare/npc/command/CommandDebugAI.java | Java | gpl-3.0 | 2,191 |
package org.esa.beam.dataio.s2;
import org.esa.beam.dataio.s2.structure.S2ProductStructure;
import org.esa.beam.dataio.s2.structure.S2ProductStructureFactory;
import org.esa.beam.dataio.s2.structure.StructuralItemMatcher;
import org.junit.Before;
import org.junit.Test;
import java.io.File;
import java.net.URL;
import... | corinavaduva/s2tbx-s2tbx-1.0.2 | s2tbx-reader/src/test/java/org/esa/beam/dataio/s2/RegularExpressionTest.java | Java | gpl-3.0 | 3,486 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.abada.trazability.dao.givehistoric;
/*
* #%L
* Contramed
* %%
* Copyright (C) 2013 Abada Servicios Desarrollo (investigacion@abadasoft.com)
* %%
* This program is free software: you can redistribute it... | abada-investigacion/contramed | trazability/trazability-dao/src/main/java/com/abada/trazability/dao/givehistoric/GiveHistoricDao.java | Java | gpl-3.0 | 1,851 |
/*
* Copyright 2015 Nicolas HERVE
*
* This file is part of Network Tycoon.
*
* Network Tycoon 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 ... | nrv/NetworkTycoon | network-tycoon-engine/src/main/java/name/herve/networktycoon/model/ClientPlayer.java | Java | gpl-3.0 | 1,453 |
package ch.epfl.gsn.networking.mqtt;
import java.util.TreeMap;
import org.eclipse.paho.client.mqttv3.MqttClient;
import org.eclipse.paho.client.mqttv3.MqttConnectOptions;
import org.eclipse.paho.client.mqttv3.MqttException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ch.epfl.gsn.beans.StreamEleme... | LSIR/gsn | gsn-core/src/main/java/ch/epfl/gsn/networking/mqtt/MQTTExporterVS.java | Java | gpl-3.0 | 2,372 |
package constructor;
import java.sql.Timestamp;
/**
*
* @author lucas
*/
public class LogErro {
private int id;
private Usuario usuario;
private Timestamp data;
private String erro;
public LogErro(int id, Usuario usuario, Timestamp data, String erro) {
this.id = id;
this.u... | Montanheiro/SistemaAlmoxarifado | Backend/APIAlmoxarifado/src/java/constructor/LogErro.java | Java | gpl-3.0 | 1,250 |
/*
* Copyright (c) 2020 David Allison <davidallisongithub@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
* ... | donald-w/Anki-Android | AnkiDroid/src/main/java/com/ichi2/anki/dialogs/HelpDialog.java | Java | gpl-3.0 | 16,618 |
package eu.siacs.conversations.ui.adapter;
import android.content.Context;
import android.support.annotation.NonNull;
import android.widget.ArrayAdapter;
import android.widget.Filter;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Locale;
public class KnownHostsAdapt... | Kandru/KandruIM | src/main/java/eu/siacs/conversations/ui/adapter/KnownHostsAdapter.java | Java | gpl-3.0 | 1,983 |
package spring.multitenancy.request.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServ... | ran-jit/spring-multitenancy | src/main/java/spring/multitenancy/request/filter/RequestFilter.java | Java | gpl-3.0 | 2,121 |
package com.yc.ht.web.handler;
import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.logging.log4j.LogManager;
import org.springframework.beans.factory.annotation.Autowired;
impo... | CuteHuiHui/htm | ht/src/main/java/com/yc/ht/web/handler/SpecialHandler.java | Java | gpl-3.0 | 7,533 |
package org.zarroboogs.weibo.adapter;
import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;
import org.zarroboogs.weibo.R;
import org.zarroboogs.weibo.hot.bean.huati.HotHuaTiCardGroup;
import org.zarroboogs.weibo.support.utils.ViewUtility;
import com.nostra13.universalimageloader.core.Dis... | MehmetNuri/Beebo | app/src/main/java/org/zarroboogs/weibo/adapter/HotHuaTiAdapter.java | Java | gpl-3.0 | 3,575 |
/*
* This file is part of EchoPet.
*
* EchoPet 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.
*
* EchoPet is distributed in th... | AshourAziz/EchoPet-1 | modules/EchoPet/src/com/dsh105/echopet/listeners/VanishListener.java | Java | gpl-3.0 | 1,330 |
package slimeknights.tconstruct.library.client.model.format;
import com.google.gson.Gson;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParseException;
import com.google.gson.... | VosDerrick/Volsteria | src/main/java/slimeknights/tconstruct/library/client/model/format/AmmoPosition.java | Java | gpl-3.0 | 1,957 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.eclectic.idc.core.impl;
import org.eclectic.idc.core.CorePackage;
import org.eclectic.idc.core.LocatedElement;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
im... | jesusc/eclectic | plugins/org.eclectic.idc/src-gen/org/eclectic/idc/core/impl/LocatedElementImpl.java | Java | gpl-3.0 | 6,216 |
/*
* This file is part of Transitime.org
*
* Transitime.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License (GPL) as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* Transitime.org is distri... | TheTransitClock/transitime | transitclock/src/main/java/org/transitclock/gtfs/readers/GtfsAgencyReader.java | Java | gpl-3.0 | 2,047 |
package eu.ehri.project.views;
import com.google.common.base.Optional;
import com.google.common.base.Splitter;
import com.google.common.collect.ImmutableSortedMap;
import com.google.common.collect.Lists;
import com.google.common.collect.Ordering;
import com.tinkerpop.blueprints.Direction;
import com.tinkerpop.pipes.ut... | lindareijnhoudt/neo4j-ehri-plugin | ehri-frames/src/main/java/eu/ehri/project/views/QueryUtils.java | Java | gpl-3.0 | 5,604 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7-b41
// 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: 2016.09.01 at 06:... | DSRCorporation/imf-conversion | itunes-metadata-tv/src/main/java/com/apple/itunes/importer/tv/ShareAssets.java | Java | gpl-3.0 | 2,966 |
package com.andy.mapreduce;
import java.util.BitSet;
/**
* 布隆过滤:以少量的内存空间判断一个元素是否属于这个集合, 代价是有一定的错误率
* <p>
* 应用举例:
* 1. HTTP缓存服务器、Web爬虫等
* 2. 垃圾邮件过滤
* 3. 拼写检查
* 4. HBase利用Bloomfilter来提高随机读(Get)的性能,对于顺序读(Scan)而言,设置Bloomfilter是没有作用的(0.92以后,如果设置了bloomfilter为ROWCOL,对于指定了qualifier的Scan有一定的优化,但不是那种直接过滤文件,排除在查找范围的形式)
... | Archerpe/aries | src/main/java/com/andy/mapreduce/BloomFilter.java | Java | gpl-3.0 | 3,170 |
package name.abhijitsarkar.javaee.salon.user.web;
import static name.abhijitsarkar.javaee.salon.domain.Role.ROLE_ANONYMOUS;
import static org.junit.Assert.assertEquals;
import static org.springframework.data.rest.webmvc.RestMediaTypes.HAL_JSON;
import static org.springframework.test.web.servlet.request.MockMvcRequestB... | asarkar/spring | salon-appointment-system/user-service/src/test/java/name/abhijitsarkar/javaee/salon/user/web/UserControllerTest.java | Java | gpl-3.0 | 3,545 |
package com.soz.dynamicLoad.internal;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.res.AssetManager;
import android.content.res.Resources;
import android.os.Bundle;
import com.soz.dynamicLoad.DLPlugin;
import com.soz.dynamicLoad.utils.DLCons... | shaolongzhu/soz | sozTest/lib/src/main/java/com/soz/dynamicLoad/internal/DLProxyImpl.java | Java | gpl-3.0 | 3,029 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package lab4u.desktop.app.model.ifaces;
/**
*
* @author ajperalt
*/
public interface ILab4uDevices {
public String getName();
}
| lab4u/mvp | tecnico/src/mvp3/lab4u.desktop.app/lab4u.desktop.app/src/lab4u/desktop/app/model/ifaces/ILab4uDevices.java | Java | gpl-3.0 | 241 |
package org.sigmah.shared.command;
/*
* #%L
* Sigmah
* %%
* Copyright (C) 2010 - 2016 URD
* %%
* 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... | Raphcal/sigmah | src/main/java/org/sigmah/shared/command/UpdateProject.java | Java | gpl-3.0 | 8,841 |
/**
* Copyright : http://www.orientpay.com , 2007-2012
* Project : oecs-g2-framework-trunk
* $Id$
* $Revision$
* Last Changed by jason at 2011-9-13 下午4:47:42
* $URL$
*
* Change Log
* Author Change Date Comments
*-------------------------------------------------------------
* jason 2011-9-13 ... | strawren/zzms | src/main/java/com/zz/bsp/web/listener/ContextLoaderListener.java | Java | gpl-3.0 | 1,394 |
/*
* Decompiled with CFR 0_115.
*
* Could not load the following classes:
* android.content.Context
* android.util.AttributeSet
* android.util.Log
* android.view.LayoutInflater
* android.view.LayoutInflater$Factory
* android.view.LayoutInflater$Factory2
* android.view.View
*/
package android.support.... | SPACEDAC7/TrabajoFinalGrado | uploads/34f7f021ecaf167f6e9669e45c4483ec/java_source/android/support/v4/view/LayoutInflaterCompatHC.java | Java | gpl-3.0 | 3,342 |
package StrategyPattern;
public class Quack implements QuackBehavior {
public void quack() {
System.out.println("Quack");
}
}
| ohgood/Head-First-Design-Patterns | StrategyPattern/Quack.java | Java | gpl-3.0 | 133 |
package chosen.nlp.lda.model;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import chosen.nlp.lda.conf.LDAParameter;
import chosen.nlp.lda.conf.PathConfig;
import chose... | GaoZhenGit/UISMF | gpu-lda/src/chosen/nlp/lda/model/LDA_Original.java | Java | gpl-3.0 | 10,155 |
/********************************************************
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.
... | lucianait10/BasicVet | source_basicvet/cuGestionarTurno/TablaTurno.java | Java | gpl-3.0 | 3,134 |
package com.roripantsu.largesign.proxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import com.roripantsu.common.network.ModPacketPipeline;
import com.ror... | ShanTengTu/LargeSign | src/main/java/com/roripantsu/largesign/proxy/ProxyCommon.java | Java | gpl-3.0 | 2,081 |
package com.my.math_quiz;
import java.nio.charset.Charset;
import java.util.ArrayList;
import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.content.res.Resources;
import android.graphics.Point;
import... | ayush0510/ANDROID_BEAT-THE-QUIZ_APPLICATION | src/com/my/math_quiz/ApplicationClass.java | Java | gpl-3.0 | 9,493 |
/*******************************************************************************
*
* Copyright (c) 2016 Fujitsu Services Ltd.
*
* Author: Nick Battle
*
* This file is part of VDMJ.
*
* VDMJ is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | nickbattle/vdmj | vdmj/src/main/java/com/fujitsu/vdmj/tc/types/TCParameterType.java | Java | gpl-3.0 | 2,483 |
package com.gildedgames.aether.common.items;
import com.gildedgames.aether.common.ReflectionAether;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.RenderItem;
import net.minecraft.client.renderer.block.model.IBakedModel;
import net.minec... | Better-Aether/Better-Aether | src/main/java/com/gildedgames/aether/common/items/ItemIrradiatedVisuals.java | Java | gpl-3.0 | 3,136 |
package net.torocraft.chess.entities.knight;
import net.minecraft.client.model.ModelBiped;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class ModelKnight extends ModelBiped {
public ModelKnight() {
this(0.0F, false);
}
publ... | ToroCraft/ToroChess | src/main/java/net/torocraft/chess/entities/knight/ModelKnight.java | Java | gpl-3.0 | 434 |
package com.zerren.chainreaction.block;
import com.zerren.chainreaction.ChainReaction;
import com.zerren.chainreaction.reference.GUIs;
import com.zerren.chainreaction.tile.vault.TEVaultBase;
import com.zerren.chainreaction.tile.vault.TEVaultController;
import com.zerren.chainreaction.tile.vault.TEVaultLock;
import cha... | Zerrens/Chain-Reaction | src/main/java/com/zerren/chainreaction/block/BlockVault.java | Java | gpl-3.0 | 9,797 |
/*******************************************************************************
* Copyright (c) 2011 Ignacio Cavero.
*
* This file is part of trnySim.
*
* trnySim 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 ... | ilcavero/trnySim | src/main/java/ilca/tournaments/Tournament.java | Java | gpl-3.0 | 2,276 |
package edu.umd.rhsmith.diads.meater.modules.tweater.tlc;
import java.util.HashSet;
import twitter4j.RateLimitStatus;
import twitter4j.Status;
import twitter4j.TwitterException;
import edu.umd.rhsmith.diads.meater.core.app.MEaterConfigurationException;
import edu.umd.rhsmith.diads.meater.core.app.components.Component... | rmachedo/MEater | src/edu/umd/rhsmith/diads/meater/modules/tweater/tlc/TimelineCollector.java | Java | gpl-3.0 | 5,865 |
/*
* This file is part of CubeEngine.
* CubeEngine is licensed under the GNU General Public License Version 3.
*
* CubeEngine 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 Licen... | CubeEngine/modules-extra | hide/src/main/java/org/cubeengine/module/hide/HideListener.java | Java | gpl-3.0 | 4,284 |
package fs.protocol;
import java.io.Serializable;
import java.util.IllegalFormatException;
/**
* Abstract type for all client requests
*/
public abstract class Request implements Serializable {
public static class IllegalRequestException extends Exception {
public IllegalRequestException(String errorMe... | suem/ezex | file-sharing-test/src/fs/protocol/Request.java | Java | gpl-3.0 | 609 |
/*
* 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 puzzled.exceptions;
import java.util.List;
import puzzled.data.Item;
import puzzled.data.ItemPair;
import puzzled.da... | puzzledbee/puzzled | src/puzzled/exceptions/MultipleMatchesException.java | Java | gpl-3.0 | 796 |
package ummisco.gama.serializer.gamaType.reference;
import java.util.ArrayList;
import msi.gama.kernel.simulation.SimulationAgent;
import msi.gama.metamodel.agent.IAgent;
import msi.gama.util.GamaList;
import msi.gama.util.IReference;
import ummisco.gama.serializer.gamaType.reduced.GamaListReducer;
public class Refe... | gama-platform/gama | ummisco.gama.serialize/src/ummisco/gama/serializer/gamaType/reference/ReferenceList.java | Java | gpl-3.0 | 1,014 |
/**
* Amua - An open source modeling framework.
* Copyright (C) 2017 Zachary J. Ward
*
* This file is part of Amua. Amua 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
* ... | zward/Amua | src/tree/TreeTextField.java | Java | gpl-3.0 | 3,568 |
package com.apps.philipps.audiosurf.activities;
import android.app.Activity;
import android.content.Context;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.L... | leodejevga/breathy | Breathy/audioSurf/src/main/java/com/apps/philipps/audiosurf/activities/Options.java | Java | gpl-3.0 | 6,359 |
/*
* This file is part of *** M y C o R e ***
* See http://www.mycore.de/ for details.
*
* MyCoRe 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)... | MyCoRe-Org/mycore | mycore-user2/src/main/java/org/mycore/user2/MCRUser.java | Java | gpl-3.0 | 24,802 |
/*
* Copyright (c) 2013 LDBC
* Linked Data Benchmark Council (http://ldbc.eu)
*
* This file is part of ldbc_socialnet_dbgen.
*
* ldbc_socialnet_dbgen 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 Foundat... | ldbc-dev/ldbc_snb_datagen_deprecated2015 | src/main/java/ldbc/socialnet/dbgen/vocabulary/RDF.java | Java | gpl-3.0 | 3,277 |
/*
* Syncany, www.syncany.org
* Copyright (C) 2011-2016 Philipp C. Heckel <philipp.heckel@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
... | syncany/syncany-plugin-sftp | core/syncany-lib/src/main/java/org/syncany/database/DatabaseConnectionFactory.java | Java | gpl-3.0 | 7,704 |
package roo.nw.application.web;
import org.springframework.roo.addon.web.mvc.thymeleaf.annotations.RooLinkFactory;
/**
* = CitiesItemThymeleafLinkFactory
*
* TODO Auto-generated class documentation
*
*/
@RooLinkFactory(controller = CitiesItemThymeleafController.class)
public class CitiesItemThymeleafLinkFactory {... | kelvinyap2014/northwind-roo | app/application/src/main/java/roo/nw/application/web/CitiesItemThymeleafLinkFactory.java | Java | gpl-3.0 | 323 |
package com.example.upon.test.ui;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.ViewPage... | upon88/Test | app/src/main/java/com/example/upon/test/ui/BaseActivity.java | Java | gpl-3.0 | 6,389 |
/*
* Copyright (C) 2011 Klaus Reimer <k@ailis.de>
* See LICENSE.md for licensing information.
*/
package de.ailis.microblinks.l.lctrl.shell.commands;
import java.io.BufferedReader;
import java.io.PrintStream;
import de.ailis.microblinks.l.lctrl.shell.LShell;
/**
* GetOutput command.
*
* @author Klaus Reimer ... | microblinks/lctrl | src/main/java/de/ailis/microblinks/l/lctrl/shell/commands/GetOutputCommand.java | Java | gpl-3.0 | 851 |
package in.com.tw.jellybean.services;
import in.com.tw.jellybean.dao.ProjectCapacityDao;
import in.com.tw.jellybean.models.Position;
import in.com.tw.jellybean.models.project.Project;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import java.util.List;
import static org.mockito.Mockito.ver... | pasviegas/jellybean | src/test/java/in/com/tw/jellybean/services/ProjectCapacityTest.java | Java | gpl-3.0 | 1,160 |
/*
* This file is part of Transitime.org
*
* Transitime.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License (GPL) as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* Transitime.org is distrib... | TheTransitClock/transitime | transitclock/src/main/java/org/transitclock/applications/CreateAPIKey.java | Java | gpl-3.0 | 3,630 |
/*
* Metaheuristic, Copyright (C) 2017-2021, Innovation platforms, LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* This program is distributed in the h... | sergmain/aiai | apps/metaheuristic/src/main/java/ai/metaheuristic/ai/yaml/communication/dispatcher/DispatcherCommParamsYamlV1.java | Java | gpl-3.0 | 3,470 |
//
// 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: 2017... | xframium/xframium-java | framework/src/org/xframium/page/element/provider/xsd/SimpleElement.java | Java | gpl-3.0 | 7,451 |
package net.sourceforge.seqware.common.business;
import java.util.List;
import net.sourceforge.seqware.common.dao.SequencerRunDAO;
import net.sourceforge.seqware.common.model.Registration;
import net.sourceforge.seqware.common.model.SequencerRun;
import net.sourceforge.seqware.common.model.SequencerRunWizardDTO;
/**
... | SeqWare/seqware | seqware-common/src/main/java/net/sourceforge/seqware/common/business/SequencerRunService.java | Java | gpl-3.0 | 6,444 |
package fr.neamar.kiss.forwarder;
import android.Manifest;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Build;
import androidx.annotation.NonNull;
import android.widget.Toast;
import java.lang.ref.WeakReference;
import fr.neamar.kiss.KissA... | nmitsou/KISS | app/src/main/java/fr/neamar/kiss/forwarder/Permission.java | Java | gpl-3.0 | 4,440 |
//
// 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.03.29 at 05:11... | Spaner/TrackIt | src/main/java/com/trackit/presentation/view/map/provider/here/routes/routingcalculateroute/NavigationFlagType.java | Java | gpl-3.0 | 3,423 |
package com.southsidesoft.rabbitOperations.core;
import com.southsidesoft.rabbitOperations.core.rabbit.RabbitConnectionString;
import org.junit.Test;
import static org.assertj.core.api.Assertions.*;
public class TestRabbitConnectionString {
@Test
public void should_return_basic_connection_string_when_no_optio... | SouthsideSoftware/java.rabbitOperations | src/test/java/com/southsidesoft/rabbitOperations/core/TestRabbitConnectionString.java | Java | gpl-3.0 | 2,144 |
/*
* DPCM
* Copyright (C) 2014 Jari Kuusisto
*
* 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... | jarirajari/dpcm | dpcm/src/main/java/org/sisto/dpcm/group/GenericEvent.java | Java | gpl-3.0 | 970 |
/*
* Ext GWT 2.2.1 - Ext for GWT
* Copyright(c) 2007-2010, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
package harvesterUI.client.servlets;
import com.google.gwt.user.client.rpc.AsyncCallback;
import harvesterUI.shared.statistics.RepoxStatisticsUI;
import harvesterUI.shared.dataTypes.admi... | repoxIST/repoxEuropeana | repox-gui/src/main/java/harvesterUI/client/servlets/RepoxServiceAsync.java | Java | gpl-3.0 | 1,509 |
//
// 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: 2016.01.... | kevinfealey/appscanenterprise-publisher | src/main/java/com/aspectsecurity/automationservices/appscanenterprise/jaxb/generated/Dashboard.java | Java | gpl-3.0 | 2,339 |
package cuina.editor.core;
import java.util.Objects;
import org.eclipse.core.runtime.IConfigurationElement;
public final class ProjectParameter implements Comparable<ProjectParameter>
{
public static final String PROJECT_PARAMETER_ID = "cuina.core.new.project.parameter";
private final String group;
private fina... | TheWhiteShadow3/cuina | CuinaEclipse/cuina.editor.core/src/cuina/editor/core/ProjectParameter.java | Java | gpl-3.0 | 2,622 |
package org.codesearch.commons.configuration.properties;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;
/**
* Provides methods to store and access the indexing status of repositories.
* Usually, the status is the current revision or -1 if not indexed.
* @author Stephan St... | codesearch-github/codesearch | src/commons/src/main/java/org/codesearch/commons/configuration/properties/IndexStatusManager.java | Java | gpl-3.0 | 1,083 |
package org.codecranachan.asteroidpush.base.ui.workshop;
import org.codecranachan.asteroidpush.base.ResourceLoader;
import org.codecranachan.asteroidpush.base.ui.widget.BasicWidget;
import org.codecranachan.asteroidpush.base.ui.widget.Widget;
import org.codecranachan.asteroidpush.base.workshop.BlueprintCollection;
imp... | CodeCranachan/Asteroid-Push | src/main/java/org/codecranachan/asteroidpush/base/ui/workshop/WorkshopUi.java | Java | gpl-3.0 | 3,532 |
/*******************************************************************************
* This file is part of RedReader.
*
* RedReader 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 Lic... | QuantumBadger/RedReader | src/main/java/org/quantumbadger/redreader/reddit/things/RedditSubreddit.java | Java | gpl-3.0 | 7,195 |
package is.idega.block.nationalregister.webservice.client.business;
public class CompanyHolder {
private String name = "";
private String personalID = "";
private String address = "";
private String postalCode = "";
private String postalAddress = "";
private String businessTypeNumber = "";
private String busin... | idega/is.idega.block.nationalregister | src/java/is/idega/block/nationalregister/webservice/client/business/CompanyHolder.java | Java | gpl-3.0 | 2,306 |
package com.haiforce.tophealthcareaio.aiaole.modle;
import java.io.Serializable;
public class ResultModle implements Serializable {
public byte[] getMessageByte() {
return messageByte;
}
public void setMessageByte(byte[] messageByte) {
this.messageByte = messageByte;
}
public byte[] getResultByte() {
retu... | utcb/TopHealthcareAio | app/src/main/java/com/haiforce/tophealthcareaio/aiaole/modle/ResultModle.java | Java | gpl-3.0 | 609 |
/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | syslover33/ctank | java/android-sdk-linux_r24.4.1_src/sources/android-23/com/android/rs/test/UT_script_group2_nochain.java | Java | gpl-3.0 | 3,214 |
package securecraftprotect.common.registry;
import java.util.ArrayList;
import java.util.List;
@SuppressWarnings({"rawtypes", "unchecked", "unused"})
public class DocumentRegistry {
public static List<DocumentInfo> scpList = new ArrayList<DocumentInfo>();
public static void registerDocument(String name, int ... | ntzrmtthihu777/SecureCraftProtect | src/main/java/securecraftprotect/common/registry/DocumentRegistry.java | Java | gpl-3.0 | 747 |
package org.completegar.garcore;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftfo... | loudonlune/garcore | src/main/java/org/completegar/garcore/GarCore.java | Java | gpl-3.0 | 1,807 |
package hsb.ess.chat.utils;
import hsb.ess.chat.R;
import hsb.ess.chat.entities.Account;
import hsb.ess.chat.entities.Conversation;
import hsb.ess.chat.entities.Message;
import hsb.ess.chat.services.XmppConnectionService;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundExcept... | GitESS/SyncChatAndroid | src/hsb/ess/chat/utils/ExceptionHelper.java | Java | gpl-3.0 | 3,246 |
package no.hiof.trace.db.model.definitions;
public class CreateTableStatement
{
//Rewrite to use Column-definitions?
public static String PLAN =
"CREATE TABLE plan ( "
+"id INTEGER PRIMARY KEY AUTOINCREMENT,"
+"name TEXT NOT NULL,"
+"description TEXT NOT NULL,"
+"ssid TEXT,"
+"nfc TEX... | geirskoglund/trace | Trace/src/no/hiof/trace/db/model/definitions/CreateTableStatement.java | Java | gpl-3.0 | 1,543 |
/**
* Aptana Studio
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions).
* Please see the license.html included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
... | apicloudcom/APICloud-Studio | com.aptana.css.core/src/com/aptana/css/core/parsing/ast/ICSSNodeTypes.java | Java | gpl-3.0 | 1,320 |
package com.alphatrader.rest;
import javafx.beans.property.*;
import org.jetbrains.annotations.Nullable;
import java.time.ZonedDateTime;
/**
* Represents a banking licence in the game.
*
* @author Christopher Guckes (christopher.guckes@torq-dev.de)
* @version 1.0.0
*/
public class BankingLicense {
/**
... | Alpha-Trader/AlphaTraderJavaRestApiLib | src/main/java/com/alphatrader/rest/BankingLicense.java | Java | gpl-3.0 | 3,929 |
package ch.unstable.ost;
import android.app.DatePickerDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.design.widget.TabLayout;
import android.support.v7.app.AlertDialog;
import... | coffeemakr/OST | app/src/main/java/ch/unstable/ost/TimePickerDialog.java | Java | gpl-3.0 | 6,095 |
/*
* This file is part of RskJ
* Copyright (C) 2017 RSK Labs Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later... | libdeos/deos-rsksmart | lib/rskj/rskj-core/src/main/java/org/ethereum/rpc/LogFilterElement.java | Java | gpl-3.0 | 2,493 |
/**
* This file is part of FluidRDFApp.
FluidRDFApp 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.
FluidRDFA... | tpopp/FluidRDFApp | src/Applet/EmbeddedChart.java | Java | gpl-3.0 | 11,880 |
/**
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be us... | Shevchik/TNTRun | src/tntrun/commands/setup/arena/EnableKits.java | Java | gpl-3.0 | 1,974 |
/*
Copyright 2015 esbtools Contributors and/or its affiliates.
This file is part of esbtools.
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 optio... | kahowell/esb-message-admin | common/src/main/java/org/esbtools/message/admin/common/EsbMessageAdminServiceImpl.java | Java | gpl-3.0 | 7,224 |
/*
* Copyright (C) 2013 by Array Systems Computing Inc. http://www.array.ca
*
* 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 lat... | bcdev/esa-pfa | pfa-gui/src/main/java/org/esa/pfa/gui/toolviews/support/PatchQuicklookDownloader.java | Java | gpl-3.0 | 4,153 |
//Глава 14
//Обобщенные интерфейс
//стр. 418 - 419
//Обобщенный интерфейс
interface MinMax<T extends Comparable<T>> {
public T min();
public T max();
}
//По идее я бы мог сразу реализовать интерфейс, но был бы ограничен типом
class RznMinMax implements MinMax<Integer> {
public Integer min() {return 0;};
public ... | kluchnikov-dv/Java8Examples | 0121 GeneralizationInterfaceDemo/src/GeneralizationInterfaceDemo.java | Java | gpl-3.0 | 1,965 |
/*
* Copyright (C) 2013 Pascal Mazars
* 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 distrib... | pissalou/shade | shade-core/src/main/java/app/web/AbstractController.java | Java | gpl-3.0 | 3,072 |
package fr.pasteque.client.widgets;
import android.content.Context;
import android.graphics.Bitmap;
import android.os.AsyncTask;
import android.util.AttributeSet;
import android.widget.ImageView;
import fr.pasteque.client.R;
import fr.pasteque.client.data.ImagesData;
import fr.pasteque.client.models.interfaces.Item;
... | ScilCoop/pasteque-android | app/src/main/java/fr/pasteque/client/widgets/ItemImage.java | Java | gpl-3.0 | 2,302 |
package com.mycompany.smartalbum.back.chat;
import java.io.IOException;
import javax.websocket.Endpoint;
import javax.websocket.EndpointConfig;
import javax.websocket.MessageHandler;
import javax.websocket.RemoteEndpoint;
import javax.websocket.Session;
public class EchoEndpoint extends Endpoint {
@Override
... | wylfrand/smart-album | smartalbum-back/src/main/java/com/mycompany/smartalbum/back/chat/EchoEndpoint.java | Java | gpl-3.0 | 1,186 |
package org.thoughtcrime.securesms.util.views;
import android.content.Context;
import android.graphics.PorterDuff;
import android.util.AttributeSet;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.Toolbar;
import androidx.core.content.ContextCompat;
import org.thoughtcrime.securesms.R;
import o... | WhisperSystems/TextSecure | app/src/main/java/org/thoughtcrime/securesms/util/views/DarkOverflowToolbar.java | Java | gpl-3.0 | 1,254 |
package com.jim_project.interprete;
import com.jim_project.interprete.util.Configuracion;
import com.jim_project.interprete.util.Error;
/**
* Clase que abstrae el concepto de modelo de computación, almacenando
* información sobre su tipo y la ruta al directorio de macros del modelo.
*
* @author Alberto García Gon... | alberh/JIM | jim/src/main/java/com/jim_project/interprete/Modelo.java | Java | gpl-3.0 | 2,736 |
/**
* Copyright© 2014-2016 LIST (Luxembourg Institute of Science and Technology), all right reserved.
* Authorship : Olivier PARISOT, Yoanne DIDRY
* Licensed under GNU General Public License version 3
*/
package lu.lippmann.cdb.lab.timeseries;
import java.awt.*;
import java.util.*;
import javax.swing.*;
import lu... | ERIN-LIST/gapIt | src/main/java/lu/lippmann/cdb/lab/timeseries/DayPieChartView.java | Java | gpl-3.0 | 5,141 |
/*
* Copyright 2010 Daniel Sloof <daniel@danslo.org>
*
* This file is part of Mangler.
*
* $LastChangedDate$
* $Revision$
* $LastChangedBy$
* $URL$
*
* Mangler 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... | dreamsxin/mangler | android/src/org/mangler/android/VentriloEvents.java | Java | gpl-3.0 | 3,459 |
//: move/ShadowMist.java
package pokepon.move;
import pokepon.enums.*;
import pokepon.pony.Pony;
/**
* Special move which inflicts average damage and may raise evasion by 1;
*
* @author silverweed
*/
public class ShadowMist extends Move {
public ShadowMist() {
super("Shadow Mist");
type = Type.SHADOW;... | silverweed/pokepon | move/ShadowMist.java | Java | gpl-3.0 | 622 |
package com.eventyay.organizer.core.auth;
import android.arch.lifecycle.LiveData;
import android.arch.lifecycle.MutableLiveData;
import android.arch.lifecycle.ViewModel;
public class SharedViewModel extends ViewModel {
private final MutableLiveData<String> email = new MutableLiveData<>();
public void setEma... | iamareebjamal/open-event-orga-app | app/src/main/java/com/eventyay/organizer/core/auth/SharedViewModel.java | Java | gpl-3.0 | 453 |
/*
* Copyright (c) 2016. darkware.org and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Thi... | darkware-dev/ObjectPortal | src/test/java/org/darkware/objportal/ObjectPortalFacadeTests.java | Java | gpl-3.0 | 4,117 |
/*
* Copyright (c) 2014-2014
* Byte-Lab <http://bytelab.pw>
*
* This file is part of Wormholes.
*
* Wormholes 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 ... | Byte-Lab/Wormholes | src/main/java/me/tbotv63/core/util/localization/Locale.java | Java | gpl-3.0 | 1,601 |
/* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | potty-dzmeia/db4o | src/db4oj.tests/src/com/db4o/test/AllTestsJdk5.java | Java | gpl-3.0 | 1,318 |
/**
* Orwell -- A security library for the pathologically paranoid
*
* Copyright (C) 2013, Jonathan Gillett, All rights reserved.
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation,... | gnu-user/orwell | Orwell/src/com/orwell/params/ECKeyParam.java | Java | gpl-3.0 | 4,655 |
/*
* @copyright 2012 Philip Warner
* @license GNU General Public License
*
* This file is part of Book Catalogue.
*
* Book Catalogue 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 vers... | jgaldo/Book-Catalogue | src/com/eleybourn/bookcatalogue/BookCatalogueApp.java | Java | gpl-3.0 | 14,156 |
/*
* This file is part of Diptychon.
*
* Diptychon 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.
*
* Diptychon is distributed... | Diptychon/Diptychon | src/Diptychon/src/de/diptychon/models/algorithms/contourExtraction/ContourSet.java | Java | gpl-3.0 | 8,437 |
package cn.exrick.sso.service;
import cn.exrick.manager.dto.front.Member;
/**
* @author Exrickx
*/
public interface LoginService {
/**
* 登录
* @param username
* @param password
* @return
*/
Member userLogin(String username, String password);
/**
* 通过token获取
* @param ... | Exrick/xmall | xmall-sso/xmall-sso-interface/src/main/java/cn/exrick/sso/service/LoginService.java | Java | gpl-3.0 | 500 |
package com.asalfo.movies.adapter;
import android.content.Context;
import android.database.Cursor;
import android.os.Bundle;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageVi... | asalfo/popularMovies | app/src/main/java/com/asalfo/movies/adapter/MovieAdapter.java | Java | gpl-3.0 | 3,629 |
/*******************************************************************************
* Copyright 2008(c) The OBiBa Consortium. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU Genera... | apruden/opal | opal-core-ws/src/test/java/org/obiba/opal/web/magma/DtosTest.java | Java | gpl-3.0 | 5,690 |
/*
* 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 ar.com.zir.cipres.legacy.api.servicios.telefoniacelular;
import java.io.Serializable;
import java.util.Collection;
import java... | jmrunge/cipres-legacy | src/main/java/ar/com/zir/cipres/legacy/api/servicios/telefoniacelular/GrupoFactuTelef.java | Java | gpl-3.0 | 3,451 |
package com.byagowi.persiancalendar.praytimes;
public class MinuteOrAngleDouble {
private final boolean isMin;
private final double value;
MinuteOrAngleDouble(double value, boolean isMinute) {
this.value = value;
this.isMin = isMinute;
}
public boolean isMinute() {
return ... | behdad222/DroidPersianCalendar | PersianCalendar/src/main/java/com/byagowi/persiancalendar/praytimes/MinuteOrAngleDouble.java | Java | gpl-3.0 | 395 |
/**
* Java OPO library
* Copyright (C) 2010 Filip Radulovic, Nikola Milikic
*
* 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 ... | milikicn/onlinepresence | src/main/java/net/onlinepresence/jopo/ontmodel/opo/presencecomponents/Findability.java | Java | gpl-3.0 | 1,283 |