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 pattern.creazione.abstractfactory.ex1;
public abstract class AstrattaA
{
public abstract void info();
}
| Ficcadenti/java-example | Pattern/pattern/src/pattern/creazione/abstractfactory/ex1/AstrattaA.java | Java | gpl-3.0 | 114 |
/*
* Copyright (C) 2013 EMBL - European Bioinformatics Institute
*
* All rights reserved. This file is part of the MassCascade feature for KNIME.
*
* The feature 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 Found... | tomas-pluskal/masscascadeknime | src/uk/ac/ebi/masscascade/knime/featurebuilding/tracejoiner/MassTraceCompilerNodeFactory.java | Java | gpl-3.0 | 2,404 |
/*******************************************************************************
* | o |
* | o o | HELYX-OS: The Open Source GUI for OpenFOAM |
* | o O o | Copyright (C) 2012-2016 ENGYS ... | ENGYS/HELYX-OS | src/eu/engys/core/project/geometry/surface/Cylinder.java | Java | gpl-3.0 | 6,610 |
package com.mec.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Random;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServle... | mectest1/HelloEE | HelloJS/src/com/mec/servlet/ES6PromiseServlet.java | Java | gpl-3.0 | 3,026 |
package de.TheJulianJES.UtilsPlus.Blocks;
import net.minecraft.block.Block;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import de.TheJulianJES.UtilsPlus.lib.StringNames;
public class ItemBlockDeco extends ItemBlock {
public ItemBlockDeco(Block block) {
super(block);
this.setHasSubt... | TheJulianJES/UtilsPlus | src/main/java/de/TheJulianJES/UtilsPlus/Blocks/ItemBlockDeco.java | Java | gpl-3.0 | 615 |
package com.greenaddress.greenbits.spv;
import org.bitcoinj.core.BloomFilter;
class PeerFilterProvider implements org.bitcoinj.core.PeerFilterProvider {
private final SPV mSPV;
public PeerFilterProvider(final SPV spv) { mSPV = spv; }
@Override
public long getEarliestKeyCreationTime() {
final... | greenaddress/GreenBits | app/src/main/java/com/greenaddress/greenbits/spv/PeerFilterProvider.java | Java | gpl-3.0 | 994 |
package statalign.base.hmm;
/**
* The abstract class of Hidden Markov Models.
*
* @author novak
*
*/
public abstract class Hmm {
/**
* HMM model parameters. Implementing classes can use their own assignment and
* any number of parameters.
* In the case of the TKF92 model (HmmTkf92), values a... | statalign/statalign | src/statalign/base/hmm/Hmm.java | Java | gpl-3.0 | 2,170 |
package org.pepsoft.worldpainter.selection;
import org.pepsoft.worldpainter.layers.Layer;
import org.pepsoft.worldpainter.layers.renderers.LayerRenderer;
import org.pepsoft.worldpainter.layers.renderers.TransparentColourRenderer;
/**
* A block-level layer which indicates that a block belongs to the selection.
*
* ... | Captain-Chaos/WorldPainter | WorldPainter/WPCore/src/main/java/org/pepsoft/worldpainter/selection/SelectionBlock.java | Java | gpl-3.0 | 821 |
/**
* Copyright (c) 2012 Todoroo Inc
*
* See the file "LICENSE" for the full license governing this code.
*/
package com.todoroo.astrid.data;
import android.content.ContentValues;
import android.net.Uri;
import com.todoroo.andlib.data.AbstractModel;
import com.todoroo.andlib.data.Property;
import com.todoroo.and... | a-v-k/astrid | src/main/java/com/todoroo/astrid/data/Metadata.java | Java | gpl-3.0 | 3,924 |
package NewAI;
import Events.Event;
import GUI.CurrentSetup;
import Mapviewer.TiledMapReader.JsonClasses.TileObject;
import NewAI.AILogic.AILogicRunner;
import NewAI.BaseClasses.MyBody;
import NewAI.NewPathfinding.Grid2d;
import Sprites.Sprites;
import org.dyn4j.geometry.Geometry;
import org.dyn4j.geometry.MassType;
i... | jipjan/ProjectFestival | src/NewAI/MyNpc.java | Java | gpl-3.0 | 4,812 |
/*
* Copyright 2012-2020 Rafal Lewczuk <rafal.lewczuk@jitlogic.com>
* <p/>
* This is free software. You can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.... | jitlogic/zorka | zorka-core/src/main/java/com/jitlogic/zorka/core/spy/ltracer/TraceHandler.java | Java | gpl-3.0 | 6,847 |
package com.idega.idegaweb.egov.bpm.data;
import org.jbpm.module.def.ModuleDefinition;
import org.jbpm.module.exe.ModuleInstance;
/**
* @deprecated this is held here only to support older processes, that contains this definition
* @author <a href="mailto:civilis@idega.com">Vytautas Čivilis</a>
* @version $Revision... | idega/is.idega.idegaweb.egov.bpm | src/java/com/idega/idegaweb/egov/bpm/data/AppProcBindDefinition.java | Java | gpl-3.0 | 617 |
package sistemaReserva;
public class Persona
{
protected String nombre;
protected String apellido;
protected String tipoDocumento;
protected String numeroDocumento;
protected String direccion;
protected String telefono;
protected String email;
protected String estado;//ACTIVA | INACTIVA
... | dforce2055/ReservaHotel | src/sistemaReserva/Persona.java | Java | gpl-3.0 | 2,110 |
package net.gazeplay.games.memory;
import javafx.geometry.Dimension2D;
import javafx.scene.image.Image;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import net.gazeplay.GameLifeCycle;
import net.gazeplay.IGameContext;
import net.gazeplay.commons.configuration.Configuration;
i... | YannRobert/GazePlay | gazeplay-games/src/main/java/net/gazeplay/games/memory/Memory.java | Java | gpl-3.0 | 7,082 |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2016 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | MHTaleb/Encologim | lib/JasperReport/src/net/sf/jasperreports/engine/ElementsVisitor.java | Java | gpl-3.0 | 1,422 |
package org.groebl.sms.ui.popup;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.PhoneNumberUtils;
import android.view.View;
import android.widget.AdapterView;
import com.android.ex.chips.recipientchip.DrawableRecipientChip;
import org.groebl.sms.R;
imp... | BennoGAP/notification-forwarder | SMS/src/main/java/org/groebl/sms/ui/popup/QKComposeActivity.java | Java | gpl-3.0 | 3,554 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package uk.co.ignesco.teb.api;
/**
*
* @author craig
*/
public class TebProject {
public String repoLocation;
public String branch;
public String workingDirectory;
public String authGroup;
public ... | ignesco/teb | src/main/java/uk/co/ignesco/teb/api/TebProject.java | Java | gpl-3.0 | 1,055 |
/*
* Copyright (C) 2019 Miky Mikusher
* 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.
*/
package ... | mikusher/JavaBasico | src/cv/designpatterns/factory/AbstractFactory.java | Java | gpl-3.0 | 544 |
/*******************************************************************************
* This file is part of Educatio.
*
* Educatio 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 ... | filipemb/siesp | app/br/com/core/conversor/FichaDeInscricaoConversor.java | Java | gpl-3.0 | 9,669 |
package com.oocl.mnlbc.svc.impl;
import java.util.List;
import org.springframework.transaction.annotation.Transactional;
import com.oocl.mnlbc.dao.inf.UserDAO;
import com.oocl.mnlbc.model.User;
import com.oocl.mnlbc.svc.inf.UserSVC;
/**
*
* @author Lance Jasper Lopez
* @desc DAO Implementation for USER TABLE
*... | MNLBC/Group2Projects | 7. Group Project/W6D5_Project/W6D5_Project/Spring Hibernate/src/com/oocl/mnlbc/svc/impl/UserSVCImpl.java | Java | gpl-3.0 | 1,512 |
/*
* Copyright (C) 2015 Mikhail Sapozhnikov
*
* This file is part of scriba-android.
*
* scriba-android 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 op... | MooseTheBrown/scriba-android | src/org/scribacrm/scriba/EditEntryFragment.java | Java | gpl-3.0 | 21,596 |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 指纹解注册
*
* @author auto create
* @since 1.0, 2017-01-12 17:27:09
*/
public class AlipaySecurityProdFingerprintDeleteModel extends AlipayObject {
private static final long serialVersionUID = ... | zeatul/poc | e-commerce/e-commerce-ecom-pay-service/src/main/java/com/alipay/api/domain/AlipaySecurityProdFingerprintDeleteModel.java | Java | gpl-3.0 | 958 |
/*
* #%L
* Sholl Analysis plugin for ImageJ.
* %%
* Copyright (C) 2005 - 2020 Tiago Ferreira.
* %%
* 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 ... | tferr/ASA | src/main/java/sholl/UPoint.java | Java | gpl-3.0 | 5,219 |
/*
* #%L
* GC4S components
* %%
* Copyright (C) 2014 - 2019 Hugo López-Fernández, Daniel Glez-Peña, Miguel Reboiro-Jato,
* Florentino Fdez-Riverola, Rosalía Laza-Fidalgo, Reyes Pavón-Rial
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser Genera... | hlfernandez/GC4S | gc4s/src/main/java/org/sing_group/gc4s/input/tree/JTreeSelectionPanel.java | Java | gpl-3.0 | 10,120 |
/*
* This file is part of the VCF.Filter project (https://biomedical-sequencing.at/VCFFilter/).
* VCF.Filter permits graphical filtering of VCF files on cutom annotations and standard VCF fields, pedigree analysis, and cohort searches.
* %%
* Copyright © 2016, 2017 Heiko Müller (hmueller@cemm.oeaw.ac.a... | hmueller80/VCF.Filter | VCFFilter/src/at/ac/oeaw/cemm/bsf/vcffilter/filter/QualFilter.java | Java | gpl-3.0 | 3,595 |
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/Locator.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u77/6540/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Sund... | TLQPQPQ/tlq_git_study | src/com/sun/corba/se/PortableActivationIDL/Locator.java | Java | gpl-3.0 | 492 |
package com.alipay.api.domain;
import java.util.Date;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 流程实例
*
* @author auto create
* @since 1.0, 2017-03-03 11:29:15
*/
public class BPOpenApiIns... | zeatul/poc | e-commerce/e-commerce-ecom-pay-service/src/main/java/com/alipay/api/domain/BPOpenApiInstance.java | Java | gpl-3.0 | 4,773 |
package sportsallaround.utils.generales;
import com.sna_deportivo.utils.gr.FactoryObjectSNSDeportivo;
import com.sna_deportivo.utils.gr.ObjectSNSDeportivo;
import com.sna_deportivo.utils.json.JsonUtils;
import com.sna_deportivo.utils.json.excepciones.ExcepcionJsonDeserializacion;
import org.json.JSONArray;
import org... | Nick2324/tesis_red_social | Prototipo/Construccion/SNADeportivo/app/src/main/java/sportsallaround/utils/generales/ConstructorArrObjSNS.java | Java | gpl-3.0 | 2,607 |
package net.syncarus.gui;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import javax.swing.filechooser.FileSystemView;
import net.syncarus.core.FileOperation;
import net.syncarus.rcp.ResourceRegistry;
import net.syncarus.rcp.SyncarusPlugin;
import org.eclipse.jface.viewers.ArrayContentProv... | schiermike/syncarus | src/net/syncarus/gui/DirSelectComposite.java | Java | gpl-3.0 | 6,577 |
/*
* Copyright (c) 2012 Jakob Svensson
*
* This file is part of Avoidance.
*
* Avoidance 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... | AftonTroll/Avoidance | test/se/chalmers/avoidance/core/components/ScoreTest.java | Java | gpl-3.0 | 1,421 |
package me.pexcn.bandwagonhost.manager.arch;
import android.support.design.widget.TabLayout;
import android.support.v4.view.ViewPager;
import me.pexcn.android.base.arch.mvp.BaseActivity;
import me.pexcn.bandwagonhost.R;
import me.pexcn.bandwagonhost.app.Constants;
import me.pexcn.bandwagonhost.data.local.bean... | pexcn/BandwagonHost | app/src/main/java/me/pexcn/bandwagonhost/manager/arch/ManagerActivity.java | Java | gpl-3.0 | 1,805 |
/**
*
* Copyright (c) 2014, Openflexo
*
* This file is part of Xmlconnector, a component of the software infrastructure
* developed at Openflexo.
*
*
* Openflexo is dual-licensed under the European Union Public License (EUPL, either
* version 1.1 of the License, or any later version ), which is available... | openflexo-team/openflexo-technology-adapters | xmlconnector/src/main/java/org/openflexo/technologyadapter/xml/model/XMLModel.java | Java | gpl-3.0 | 4,930 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sarfDic.Midleware.Noun.trilateral;
/**
*
* @author Gowzancha
*/
import sarf.noun.*;
import sarf.verb.trilateral.unaugmented.*;
import java.util.*;
import sarf.*;
import sarf.noun.trilateral.unaugmented.timea... | oghalawinji/InteractiveArabicDictionary | IAD/src/java/sarfDic/Midleware/Noun/trilateral/TimeAndPlaceConjugator.java | Java | gpl-3.0 | 3,831 |
/******************************************************************************
* Copyright (c) 2015 by *
* Andreas Stockmayer <stockmay@f0o.bar> and *
* Mark Schmidt <schmidtm@f0o.bar> *
... | jLisp/jlisp | src/bar/f0o/jlisp/lib/ControlPlane/MapRegister.java | Java | gpl-3.0 | 10,354 |
package band.full.test.video.encoder;
import static band.full.core.Resolution.STD_1080p;
import static band.full.core.Resolution.STD_2160p;
import static band.full.core.Resolution.STD_720p;
import static band.full.video.buffer.Framerate.FPS_23_976;
import static band.full.video.itu.BT2020.BT2020_10bit;
import static b... | testing-av/testing-video | generators/src/main/java/band/full/test/video/encoder/EncoderParameters.java | Java | gpl-3.0 | 3,811 |
package magic.ui.widget;
import java.awt.Dimension;
import java.util.List;
import javax.swing.JButton;
import javax.swing.JPanel;
import net.miginfocom.swing.MigLayout;
@SuppressWarnings("serial")
public class ActionButtonTitleBar extends TitleBar {
private final JPanel actionsPanel = new JPanel();
public... | magarena/magarena | src/magic/ui/widget/ActionButtonTitleBar.java | Java | gpl-3.0 | 919 |
package org.uncertweb.ps.data;
import java.net.URL;
public class DataReference {
private URL url;
private String mimeType;
private boolean compressed;
public DataReference(URL url, String mimeType, boolean compressed) {
this.url = url;
this.mimeType = mimeType;
this.compressed = compressed;
}
public D... | itszootime/ps-framework | src/main/java/org/uncertweb/ps/data/DataReference.java | Java | gpl-3.0 | 701 |
/**
* File ./src/main/java/de/lemo/dms/connectors/lemo_0_8/mapping/LevelCourseLMS.java
* Lemo-Data-Management-Server for learning analytics.
* Copyright (C) 2015
* Leonard Kappe, Andreas Pursian, Sebastian Schwarzrock, Boris Wenzlaff
*
* This program is free software: you can redistribute it and/or modify
... | LemoProject/Lemo-Data-Management-Server | src/main/java/de/lemo/dms/connectors/lemo_0_8/mapping/LevelCourseLMS.java | Java | gpl-3.0 | 2,522 |
/*-------------------------------------------------------------------------
* Copyright (c) 2012,2013, Alex Athanasopoulos. All Rights Reserved.
* alex@melato.org
*-------------------------------------------------------------------------
* This program is free software: you can redistribute it and/or modify
* it ... | melato/next-bus | src/org/melato/geometry/util/Sequencer.java | Java | gpl-3.0 | 5,006 |
package num.complexwiring.world.decor;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;
import net.minecraftforge.oredict.OreDictionary;
import num.complexwiring.lib.Reference;
import num.complexwiring.lib.Strings;
import num.complexwirin... | Numerios/ComplexWiring | common/num/complexwiring/world/decor/EnumDecor.java | Java | gpl-3.0 | 2,725 |
package com.java2us.jpa2us.jpa;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
/**
* This class is responsible for providing the entire infrastructure for
* connecting to the database. The system needs a {@link JPASessionManager} to
* get the EntityManager to connect to the da... | Java2Us/jpa2us | src/com/java2us/jpa2us/jpa/JPAFactory.java | Java | gpl-3.0 | 2,196 |
/**
* This file is part of Xena.
*
* Xena 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.
*
* Xena is distributed in the hope that ... | srnsw/xena | plugins/pdf/src/au/gov/naa/digipres/xena/plugin/pdf/PdfView.java | Java | gpl-3.0 | 2,869 |
package sk.hackcraft.artificialwars.computersim.toolchain;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import sk.epholl.artificialwars.entities.instructionsets.EPH32InstructionSet;
import sk.epholl.artificialwars.entities.instructionsets.EPH32InstructionSet.EPH32MemoryAdd... | Moergil/ArtificialWars | src/sk/hackcraft/artificialwars/computersim/toolchain/AssemblerEPH32.java | Java | gpl-3.0 | 2,925 |
package com.headbangers.epsilon.v3.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.Date;
@JsonIgnoreProperties({"class"})
public class Wish implements Serializable {
@JsonProperty("id")
p... | cbrouillard/epsilon-mobile | epsilon/src/main/java/com/headbangers/epsilon/v3/model/Wish.java | Java | gpl-3.0 | 2,798 |
/*
* Overchan Android (Meta Imageboard Client)
* Copyright (C) 2014-2016 miku-nyan <https://github.com/miku-nyan>
*
* 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 o... | miku-nyan/Overchan-Android | src/nya/miku/wishmaster/chans/dvach/DvachSearchReader.java | Java | gpl-3.0 | 4,523 |
/*
* FlightIntel for Pilots
*
* Copyright 2012 Nadeem Hasan <nhasan@nadmm.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) an... | postalservice14/Airports | src/main/java/com/nadmm/airports/wx/WxMapFragmentBase.java | Java | gpl-3.0 | 8,030 |
/**
* Copyright (C) 2012 HTWG Konstanz, Oliver Haase
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* This program is distri... | htwg/UCE_deprecated | icermi/src/de/htwg_konstanz/rmi/registry/RemoteRegistry_Stub.java | Java | gpl-3.0 | 6,645 |
package org.qii.weiciyuan.bean.android;
import java.io.Serializable;
import java.util.TreeSet;
/**
* User: qii
* Date: 13-3-23
*/
public class TimeLinePosition implements Serializable {
public TimeLinePosition(int position, int top) {
this.position = position;
this.top = top;
}
public... | xuyazhou18/siciyuan | src/org/qii/weiciyuan/bean/android/TimeLinePosition.java | Java | gpl-3.0 | 645 |
package com.akoolla.financebeta.reporting;
import java.util.Set;
import org.joda.time.DateTime;
public interface ITransactionQuery {
DateTime getFromDate();
DateTime getToDate();
Set<String> getTransactionTags();
double transactionAmount();
//Range of transactionAmmounts();
double minimumTransactionAmount();
... | trickyBytes/com.akoolla.financebeta | finance-beta-api/src/main/java/com/akoolla/financebeta/reporting/ITransactionQuery.java | Java | gpl-3.0 | 398 |
package dux.org.springframework.web.servlet.config;
public class TilesConfigurerBeanDefinitionParserTest {
}
| docteurdux/code | dux/src/test/java/dux/org/springframework/web/servlet/config/TilesConfigurerBeanDefinitionParserTest.java | Java | gpl-3.0 | 116 |
/*
* Created on Nov 22, 2003
*
* To change the template for this generated file go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
package com.idega.util.logging;
import java.util.logging.Level;
import java.util.logging.LogManager;
import java.util.logging.Logger;
/**
* A class which h... | idega/platform2 | src/com/idega/util/logging/LoggingHelper.java | Java | gpl-3.0 | 4,070 |
/*
DA-NRW Software Suite | ContentBroker
Copyright (C) 2013 Historisch-Kulturwissenschaftliche Informationsverarbeitung
Universität zu Köln
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,... | da-nrw/DNSCore | ContentBroker/src/test/java/de/uzk/hki/da/cb/ArchiveReplicationActionTests.java | Java | gpl-3.0 | 3,550 |
package l2s.gameserver.skills.skillclasses;
import java.util.List;
import l2s.gameserver.model.Creature;
import l2s.gameserver.model.Player;
import l2s.gameserver.model.Skill;
import l2s.gameserver.model.pledge.Clan;
import l2s.gameserver.network.l2.components.IStaticPacket;
import l2s.gameserver.network.l2.component... | pantelis60/L2Scripts_Underground | gameserver/src/main/java/l2s/gameserver/skills/skillclasses/ClanGate.java | Java | gpl-3.0 | 1,353 |
/**
* Copyright 2015 Google Inc. 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 by applicable... | LeshiyGS/shikimori | app/src/main/java/org/shikimori/client/gsm/MyGcmListenerService.java | Java | gpl-3.0 | 4,246 |
/**
*
*/
package com.dotmarketing.business;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.dotmarketing.common.db.DotConnect;
import com.dotmarketing.db.DbConnectionFactory;
import com.dotmarketing.exception.DotDataException;
import com.dotmarketing.exception.DotRuntimeExceptio... | guhb/core | src/com/dotmarketing/business/PermissionedWebAssetUtil.java | Java | gpl-3.0 | 23,096 |
/*
* Copyright (C) 2005-2012 BetaCONCEPT Limited
*
* This file is part of Astroboa.
*
* Astroboa 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 op... | BetaCONCEPT/astroboa | astroboa-engine/src/main/java/org/betaconceptframework/astroboa/engine/jcr/dao/SerializationDao.java | Java | gpl-3.0 | 7,722 |
package com.words.model.mysqlmodel;
import com.words.controller.futurewords.FutureWord;
import com.words.controller.utils.DateTimeUtils;
import com.words.controller.words.Word;
import com.words.controller.words.WordFactory;
import com.words.controller.words.wordkinds.WordComplexity;
import com.words.controller.words.w... | ferrerverck/englishwords | src/com/words/model/mysqlmodel/MysqlModel.java | Java | gpl-3.0 | 32,111 |
package eu.imagecode.scias.model.jpa;
import java.io.Serializable;
import javax.persistence.*;
import java.util.List;
/**
* The persistent class for the station_group database table.
*
*/
@Entity
@Table(name = "station_group")
@NamedQuery(name = "StationGroupEntity.findAll", query = "SELECT s FROM StationGroupEnt... | vjuranek/scias-server | water/water-server/src/main/java/eu/imagecode/scias/model/jpa/StationGroupEntity.java | Java | gpl-3.0 | 2,861 |
package org.otherobjects.cms.controllers;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONArray;
import org.json.JSONObject;
import org.othero... | 0x006EA1E5/oo6 | src/main/java/org/otherobjects/cms/controllers/DesignerController.java | Java | gpl-3.0 | 5,683 |
/*
DA-NRW Software Suite | ContentBroker
Copyright (C) 2015 LVRInfoKom
Landschaftsverband Rheinland
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
(... | da-nrw/DNSCore | ContentBroker/src/main/java/de/uzk/hki/da/event/SystemEventFactory.java | Java | gpl-3.0 | 2,827 |
/**
* Copyright (C) 2005-2014 Rivet Logic Corporation.
*
* 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 hope that it will... | rivetlogic/liferay-elasticsearch-integration | webs/elasticsearch-web/docroot/WEB-INF/src/com/rivetlogic/portal/search/elasticsearch/indexer/document/ElasticsearchDocumentJSONBuilder.java | Java | gpl-3.0 | 7,524 |
package org.otherobjects.cms.model;
import java.io.Serializable;
import java.util.List;
import org.otherobjects.cms.types.TypeDef;
@SuppressWarnings("serial")
public abstract class Folder extends BaseNode implements Serializable
{
public abstract String getLabel();
public abstract void setLabel(String label... | 0x006EA1E5/oo6 | src/main/java/org/otherobjects/cms/model/Folder.java | Java | gpl-3.0 | 564 |
// Copyright (C) 2011-2012 CRS4.
//
// This file is part of Seal.
//
// Seal 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.
//
// S... | QwertyManiac/seal-cdh4 | src/it/crs4/seal/demux/DemuxOutputFormat.java | Java | gpl-3.0 | 5,848 |
package com.osrs.suite.cache;
/**
* Created by Allen Kinzalow on 3/16/2015.
*/
public interface TextureImage {
int method21(int var1, int var2);
boolean method23(int var1, int var2);
boolean method24(int var1, int var2);
int[] getTexturePixels(int var1, int var2);
} | kinztechcom/OS-Cache-Suite | src/com/osrs/suite/cache/TextureImage.java | Java | gpl-3.0 | 289 |
/***************************** 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/AbstractTimePrimitive.java | Java | mpl-2.0 | 1,326 |
/*
* Copyright © 2013-2021, The SeedStack authors <http://seedstack.org>
*
* 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 org.seedstack.coffig.mapper;
... | seedstack/coffig | src/test/java/org/seedstack/coffig/mapper/ValueMapperTest.java | Java | mpl-2.0 | 2,117 |
/*
* Copyright ©1998-2022 by Richard A. Wilkes. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, version 2.0. If a copy of the MPL was not distributed with
* this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompat... | richardwilkes/gcs | com.trollworks.gcs/src/com/trollworks/gcs/expression/function/Log.java | Java | mpl-2.0 | 977 |
/**
* 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 eu.earthobse... | wx1988/strabon | runtime/src/main/java/eu/earthobservatory/runtime/generaldb/InvalidDatasetFormatFault.java | Java | mpl-2.0 | 410 |
package com.modelo;
import java.nio.charset.StandardCharsets;
import javax.print.Doc;
import javax.print.DocFlavor;
import javax.print.PrintException;
import javax.print.PrintService;
import javax.print.SimpleDoc;
/**
*
* Etiqueta class
* Clase donde se inicializa el tamaño de la letra y la posicion en la que van... | jreneruiz/Impresor-de-etiquetas-zebra | src/com/modelo/Etiqueta.java | Java | mpl-2.0 | 1,643 |
public class Solution {
public int findLUSlength(String[] strs) {
Arrays.sort(strs, new Comparator<String>(){
public int compare(String a, String b) {
if (a.length() != b.length()) {
return b.length()-a.length();
} else {
re... | DevinZ1993/LeetCode-Solutions | java/522.java | Java | mpl-2.0 | 1,490 |
/*
* Copyright © 2013-2019, The SeedStack authors <http://seedstack.org>
*
* 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 org.seedstack.bu... | adrienlauer/business | core/src/test/java/org/seedstack/business/IdentityServiceIT.java | Java | mpl-2.0 | 2,690 |
/* 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 org.mozilla.focus.screenshots;
import android.os.Build;
import android.support.test.espresso.web.webdrive... | ekager/focus-android | app/src/androidTest/java/org/mozilla/focus/screenshots/ErrorPagesScreenshots.java | Java | mpl-2.0 | 3,751 |
/*
* Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
*
* Licensed under the Aduna BSD-style license.
*/
package org.openrdf.sail.postgis;
import java.sql.SQLException;
import org.openrdf.sail.generaldb.GeneralDBSqlTable;
import eu.earthobservatory.constants.GeoConstants;
/**
* Converts table names t... | wx1988/strabon | postgis/src/main/java/org/openrdf/sail/postgis/PostGISSqlTable.java | Java | mpl-2.0 | 1,904 |
/*
* Copyright (c) 2012 Steve Roberts / Essar Software. All Rights Reserved.
*
* 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 uk.co.essarsoftware.par.engine... | essar/prials-and-runs | src/test/java/uk/co/essarsoftware/par/engine/std/PlayerImplWithHandTest.java | Java | mpl-2.0 | 3,147 |
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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 jscover.mozilla.javascrip... | tntim96/rhino-jscover-repackaged | src/jscover/mozilla/javascript/ast/IfStatement.java | Java | mpl-2.0 | 4,530 |
package com.hserv.coordinatedentry.housingmatching.external;
import java.util.List;
import com.hserv.coordinatedentry.housingmatching.model.EligibilityRequirementModel;
import com.hserv.coordinatedentry.housingmatching.model.HousingInventory;
import com.servinglynk.hmis.warehouse.core.model.Session;
public... | hserv/coordinated-entry | housing-matching/src/main/java/com/hserv/coordinatedentry/housingmatching/external/HousingUnitService.java | Java | mpl-2.0 | 553 |
package org.gene.modules.textFile;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.RandomAccessFi... | llggkk1117/TextFile | src/org/gene/modules/textFile/Test.java | Java | mpl-2.0 | 2,697 |
/*
* 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 com.skelril.skree.content.registry.item.tool.axe;
import com.skelril.nitro.registry.ItemTier;
import ... | Skelril/Skree | src/main/java/com/skelril/skree/content/registry/item/tool/axe/CrystalAxe.java | Java | mpl-2.0 | 1,351 |
/**
* Copyright (C), 2012 Adaptinet.org (Todd Fearn, Anthony Graffeo)
*
* 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 org.adaptinet.pee... | tfearn/AdaptinetSDK | src/org/adaptinet/peer/PeerFile.java | Java | mpl-2.0 | 2,831 |
package edu.asu.qstore4s.search.elements.factory.impl;
import org.springframework.stereotype.Service;
import edu.asu.qstore4s.search.elements.ISearchConcept;
import edu.asu.qstore4s.search.elements.factory.ISearchConceptFactory;
import edu.asu.qstore4s.search.elements.impl.SearchConcept;
@Service
public class Search... | diging/qstore4s | QStore4S/src/main/java/edu/asu/qstore4s/search/elements/factory/impl/SearchConceptFactory.java | Java | mpl-2.0 | 737 |
package com.mifos.mifosxdroid.injection.component;
import com.mifos.mifosxdroid.activity.pathtracking.PathTrackingActivity;
import com.mifos.mifosxdroid.activity.pinpointclient.PinpointClientActivity;
import com.mifos.mifosxdroid.dialogfragments.chargedialog.ChargeDialogFragment;
import com.mifos.mifosxdroid.dialogfra... | CloudyPadmal/android-client | mifosng-android/src/main/java/com/mifos/mifosxdroid/injection/component/ActivityComponent.java | Java | mpl-2.0 | 7,297 |
package com.codejockey.canvas.com.codejockey.canvas.helperfiles;
/* Canvas Drawing class
Accepts touch events and draws curves on a canvas. Solves these
major problems:
* Smooths jagged lines by drawing b-spline curves between sample
points.
* Snaps curve start and end points to the border to ... | hintjens/Canvas | app/src/main/java/com/codejockey/canvas/helperfiles/Drawing.java | Java | mpl-2.0 | 23,382 |
package main.origo.core.utils;
import main.origo.core.InitializationException;
import main.origo.core.ModuleException;
import play.Logger;
import play.Play;
public class ExceptionUtil {
/**
* Transforms a nested exception into a simple runtime exception and throws it if in DEV mode.
* Only logs the exc... | origocms/origo | modules/core/app/main/origo/core/utils/ExceptionUtil.java | Java | mpl-2.0 | 1,459 |
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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 org.mozilla.javascript.or... | WolframG/Rhino-Prov-Mod | src/org/mozilla/javascript/orginal/ast/ObjectProperty.java | Java | mpl-2.0 | 3,013 |
package de.textmode.afpbox.ptoca;
/*
* Copyright 2019 Michael Knigge
*
* 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 re... | michaelknigge/afpbox | afpbox/src/test/java/de/textmode/afpbox/ptoca/SetTextColorTest.java | Java | mpl-2.0 | 1,497 |
package org.threadly.concurrent.benchmark.jmh;
import java.util.concurrent.TimeUnit;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.BenchmarkMode;
import org.openjdk.jmh.annotations.Fork;
import org.openjdk.jmh.annotations.Measurement;
import org.openjdk.jmh.annotations.Mode;
import o... | threadly/threadly_benchmarks | src/main/java/org/threadly/concurrent/benchmark/jmh/ImmediateListenableFutureMicro.java | Java | mpl-2.0 | 2,460 |
package org.jcodec.containers.mp4.boxes;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
import org.jcodec.common.tools.ToJSON;
/**
* This class is part of JCodec ( www.jcodec.org ) This software is distributed
* under FreeBSD License
*
* @author The JCodec project
*
*/
public ... | OpenSpaceDev/OpenSpaceDVR | src/org/jcodec/containers/mp4/boxes/EditListBox.java | Java | mpl-2.0 | 1,602 |
/**
* Copyright (c) 2013-2015, The SeedStack authors <http://seedstack.org>
*
* 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 org.seedstack.seed.web;
i... | tbouvet/seed | web/websocket/src/it/java/org/seedstack/seed/web/ChatClientEndpoint2.java | Java | mpl-2.0 | 1,244 |
package org.autojs.autojs.model.script;
import android.app.Activity;
import android.content.Context;
import android.os.Build;
import android.text.TextUtils;
import android.widget.Toast;
import java.io.File;
import static android.Manifest.permission.READ_EXTERNAL_STORAGE;
import static android.content.pm.PackageManag... | hyb1996/NoRootScriptDroid | app/src/main/java/org/autojs/autojs/model/script/PathChecker.java | Java | mpl-2.0 | 1,807 |
/*
* 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-library/src/main/java/org/silverpeas/core/contribution/content/form/displayers/AbstractFileFieldDisplayer.java | Java | agpl-3.0 | 11,829 |
/*
* Copyright (C) 2015 ElectronWill
*
* 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.
*
* This program i... | MCPhoton/Photon-MC1.8 | src/org/mcphoton/util/YamlHelper.java | Java | agpl-3.0 | 19,387 |
// Simple immutable two-dimensional integer point class - Page 37
package org.effectivejava.examples.chapter03.item08.composition;
public class Point {
private final int x;
private final int y;
public Point(int x, int y) {
this.x = x;
this.y = y;
}
@Override
public boolean equals(Object o) {
... | DISSIDIA-986/toolbar | effectivejava/src/main/java/org/effectivejava/examples/chapter03/item08/composition/Point.java | Java | agpl-3.0 | 513 |
/**
* 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.
*
* This ... | shenan4321/BIMplatform | generated/cn/dlb/bim/models/ifc2x3tc1/IfcStateEnum.java | Java | agpl-3.0 | 8,123 |
/*
* 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-core/src/main/java/org/kuali/kfs/sys/service/impl/KfsBusinessObjectMetaDataServiceImpl.java | Java | agpl-3.0 | 10,695 |
/*
* Asqatasun - Automated webpage assessment
* Copyright (C) 2008-2020 Asqatasun.org
*
* This file is part of Asqatasun.
*
* Asqatasun 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 ve... | Asqatasun/Asqatasun | rules/rules-accessiweb2.2/src/test/java/org/asqatasun/rules/accessiweb22/Aw22Rule06011Test.java | Java | agpl-3.0 | 49,488 |
/*
* 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-api/src/test/java/org/silverpeas/core/variables/VariableTest.java | Java | agpl-3.0 | 4,378 |
package im.actor.core.modules.calls.peers;
import im.actor.runtime.webrtc.WebRTCMediaStream;
/**
* Peer Connection Callback
*/
public interface PeerConnectionCallback {
/**
* Called when offer need to be sent to other peer
*
* @param sdp sdp of the offer
*/
void onOffer(long sessionId, ... | y0ke/actor-platform | actor-sdk/sdk-core/core/core-shared/src/main/java/im/actor/core/modules/calls/peers/PeerConnectionCallback.java | Java | agpl-3.0 | 1,172 |
/**
* 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/IfcTelecomAddress.java | Java | agpl-3.0 | 12,476 |
/*
* Encog(tm) Core v3.2 - Java Version
* http://www.heatonresearch.com/encog/
* https://github.com/encog/encog-java-core
* Copyright 2008-2013 Heaton Research, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... | automenta/java_dann | src/syncleus/dann/math/random/ConstRandomizer.java | Java | agpl-3.0 | 1,627 |
package nl.wietmazairac.bimql.set.attribute;
/******************************************************************************
* Copyright (C) 2009-2017 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
* publish... | opensourceBIM/bimql | BimQL/src/nl/wietmazairac/bimql/set/attribute/SetAttributeSubIfcRelAssociatesApproval.java | Java | agpl-3.0 | 2,678 |