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
/* * Copyright (c) 2010 The Jackson Laboratory * * 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. * * This software is d...
cgd/pub-array
modules/pub-array-gwt-client/src/java/org/jax/pubarray/gwtcommon/client/MatchesAllFunction.java
Java
gpl-3.0
3,354
package cn.nukkit.block; public abstract class BlockMeta extends Block { public int meta; protected BlockMeta(int meta) { this.meta = meta; } @Override public final int getDamage() { return this.meta; } @Override public final void setDamage(Integer meta) { thi...
boy0001/Nukkit
src/main/java/cn/nukkit/block/BlockMeta.java
Java
gpl-3.0
371
package db; import java.io.IOException; import java.util.Iterator; import app.Request; import db.access.AccessPolicy; import db.column.ColumnBase; import db.column.ColumnInputRenderer; import db.column.ColumnValueRenderer; import web.HTMLWriter; import web.Select; import web.SelectOption; public class SelectRenderer...
zenlunatics/common
db/SelectRenderer.java
Java
gpl-3.0
8,576
/* * Copyright (C) 2015 Davide Mainardi <ingmainardi at live.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 version...
dmainardi/manageTree
src/main/java/com/dmainardi/manageTree/business/entity/Node.java
Java
gpl-3.0
3,695
package com.github.alexaegis.people; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; public class NameBuilderTest { private NameBuilder nameBuilder; private Name name; @...
AlexAegis/maven-repository
toolbox/src/test/java/com/github/alexaegis/people/NameBuilderTest.java
Java
gpl-3.0
879
/* * Copyright 2010 Aalto University, ComNet * Released under GPLv3. See LICENSE.txt for details. */ package core; import gui.DTNSimGUI; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; import tvg.TVG; import ui.DTNSimTextUI; /** * Simulator's main class */ public class...
adrianshiokawa/oninet
core/DTNSim.java
Java
gpl-3.0
6,896
package net.realmproject.dcm.parcel.core; import java.util.List; public interface ParcelPath { /** * Retrieves the route this parcel has traveled * * @return the stack of nodes this parcel has traversed */ public List<String> getPath(); /** * Records that this parcel has passed through this node. If ...
realm-project/dcm
event/src/main/java/net/realmproject/dcm/parcel/core/ParcelPath.java
Java
gpl-3.0
750
package com.fr.design.mainframe.widget.accessibles; import java.awt.Component; import javax.swing.event.ChangeListener; import com.fr.design.Exception.ValidationException; /** * 属性编辑器 * @since 6.5.2 */ public interface AccessibleEditor { /** * 判断输入的值是否符合要求 * @throws ValidationException */ ...
fanruan/finereport-design
designer_base/src/com/fr/design/mainframe/widget/accessibles/AccessibleEditor.java
Java
gpl-3.0
795
package com.taotao.search.service; import com.taotao.common.pojo.TaotaoResult; /** * Created by Eric on 2/18/17. */ public interface ItemService { TaotaoResult importAllItems(); }
echo1937/ttsc-backup
taotao-search/src/main/java/com/taotao/search/service/ItemService.java
Java
gpl-3.0
188
package at.wrk.coceso.entity.enums; import java.util.Collection; import java.util.EnumSet; public enum IncidentType { HoldPosition(true, EnumSet.of(TaskState.Assigned, TaskState.AAO, TaskState.Detached)), Standby(true, EnumSet.of(TaskState.Assigned, TaskState.AAO, TaskState.Detached)), Relocation(false, EnumSe...
wrk-fmd/CoCeSo
main/entity/src/main/java/at/wrk/coceso/entity/enums/IncidentType.java
Java
gpl-3.0
1,089
/* * Pluto, a test automation thing * Copyright (C) 2014 Matthew Flint <m@tthew.org> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
mflint/Pluto
src/main/java/org/tthew/pluto/automation/components/IComponent.java
Java
gpl-3.0
821
package com.vince.util; import android.hardware.Camera; import android.hardware.Camera.Parameters; public class FlashlightTools { private static Parameters parameters = null; private static Camera camera =null; public static boolean isOn; public static void open(){ //直接开启 camera = Camera.open(0); ...
kinghy2302/gfr
src/com/vince/util/FlashlightTools.java
Java
gpl-3.0
781
import java.io.IOException; import java.io.PrintWriter; import java.sql.*; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.mysql.jdbc.Connection; /** * Servlet implementation class...
chaitanya1375/Myprojects
Shopping_Website/Cart/src/Registration.java
Java
gpl-3.0
2,400
package biz.dealnote.messenger.model.feedback; import android.os.Parcel; import android.os.Parcelable; import java.util.List; import biz.dealnote.messenger.model.Owner; import biz.dealnote.messenger.model.ParcelableOwnerWrapper; /** * Created by ruslan.kolbasa on 09.12.2016. * phoenix * base class for [follow, f...
PhoenixDevTeam/Phoenix-for-VK
app/src/main/java/biz/dealnote/messenger/model/feedback/UsersFeedback.java
Java
gpl-3.0
1,446
package com.abm.mainet.common.utility; /** * @author Umesh.Gokhale * @author Pranit.Mhatre * @author Swapnil.shirke */ public class Filepaths { private static String file = ""; /** Creates a new instance of filepath */ public Filepaths() { } public static void setfilepath(fina...
abmindiarepomanager/ABMOpenMainet
Mainet1.1/MainetServiceParent/MainetServiceCommon/src/main/java/com/abm/mainet/common/utility/Filepaths.java
Java
gpl-3.0
447
/* * Ecotype Simulation models the sequence diversity within a bacterial * clade as the evolutionary result of net ecotype formation and periodic * selection, yielding a certain number of ecotypes. * * Copyright (C) 2009 Andrew Warner, Wesleyan University * Copyright (C) 2009-2018 Jason M. W...
sandain/es1
src/java/tree/Tree.java
Java
gpl-3.0
24,290
package com.pemGP.puboardsteward; import android.app.Activity; import android.os.Bundle; import android.app.Fragment; import android.app.FragmentManager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AbsListView; import android.widget.AdapterView; im...
chinaboeller/PuboardSteward
app/src/main/java/com/pemGP/puboardsteward/DrinkListFragment.java
Java
gpl-3.0
6,020
package sirlyle.lanolin.proxy; import net.minecraft.block.Block; import net.minecraft.item.Item; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.config.Configuration; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml...
SirLyle/Lanolin
src/main/java/sirlyle/lanolin/proxy/CommonProxy.java
Java
gpl-3.0
1,814
/* * Copyright (C) 2015 HotFlow * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distribute...
TribeServer/ItemPlus
src/main/java/com/ItemPlus/Core/v1_0_0/Attribute/MaxHealth.java
Java
gpl-3.0
1,303
/* * * This file is part of Genome Artist. * * Genome Artist 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. * * Genome Artist...
genomeartist/genomeartist
sources_java/Components/src/ro/genomeartist/components/headerrenderer/MultilineHeaderRenderer.java
Java
gpl-3.0
4,003
/* * Copyright (C) 2020 Graylog, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; withou...
Graylog2/graylog2-server
graylog2-server/src/main/java/org/graylog2/migrations/V20161216123500_DefaultIndexSetMigration.java
Java
gpl-3.0
4,127
package parser.ast; import java.util.Map; public interface LogicExpression { /** * Returns the value of the expression given the values of the variables. * * @param variableValues The values of the variables. The key is the name * of the variable. * @return <code>true</code> if the expre...
Fightbackman/PrograHaWS2013
Hausaufgabe9/src/parser/ast/LogicExpression.java
Java
gpl-3.0
1,762
package me.trevor1134.adminfun.commands; import me.trevor1134.adminfun.AdminFun; import me.trevor1134.adminfun.command.PlayerCommandBase; import org.bukkit.*; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import java.util.Random; public class DropPar...
Trevor1134/AdminFun
src/main/java/me/trevor1134/adminfun/commands/DropPartyCommand.java
Java
gpl-3.0
5,594
/* This file is part of Gralog, Copyright (c) 2016-2018 LaS group, TU Berlin. * License: https://www.gnu.org/licenses/gpl.html GPL version 3 or later. */ package gralog.npcompleteness.propositionallogic.formula; import java.util.HashMap; import java.util.Set; /** * */ public class PropositionalLogicOr extends Prop...
gralog/gralog
gralog-np-completeness/src/main/java/gralog/npcompleteness/propositionallogic/formula/PropositionalLogicOr.java
Java
gpl-3.0
4,380
/** * ISqlJetTable.java * Copyright (C) 2009-2013 TMate Software Ltd * * 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 2 of the License. * * This program is distributed in the h...
printingin3d/sqljet
src/main/java/org/tmatesoft/sqljet/core/table/ISqlJetTable.java
Java
gpl-3.0
14,091
/* * Copyright (C) 2017 Riccardo De Benedictis <riccardo.debenedictis@istc.cnr.it> * * 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) ...
oRatioSolver/oRatio
src/it/cnr/istc/oratio/gui/ResolverJDialog.java
Java
gpl-3.0
5,459
import com.sun.org.apache.xpath.internal.SourceTree; import java.text.DecimalFormat; import java.util.*; import java.util.stream.Stream; /** * Created by Vilcho on 7/31/2017. */ public class Nested_Ex_p04_Shellbound { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ...
vilcho/Dictionaries
src/Nested_Ex_p04_Shellbound.java
Java
gpl-3.0
1,577
public interface DisjointSets{ // Connects two items P and Q. void connect(int p, int q); // Checks to see if two items are connected boolean isConnected(int p, int q); }
samli6479/Learning
Edcode/lec19/DisjointSets.java
Java
gpl-3.0
176
package de.konfetti.data; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; public interface KonfettiTransactionRepository extends JpaRepository<KonfettiTransaction, Long> { List<KonfettiTransaction> findByFromAccountOrToAccount(String fromAccount, String toAccount); List<Konfe...
rootzoll/konfetti-api
src/main/java/de/konfetti/data/KonfettiTransactionRepository.java
Java
gpl-3.0
508
/* * Copyright 2007-2014 by Chris Hubick. All Rights Reserved. * * This work is licensed under the terms of the "GNU AFFERO GENERAL PUBLIC LICENSE" version 3, as published by the Free * Software Foundation <http://www.gnu.org/licenses/>, a copy of which you should have received in the file LICENSE.txt. */ packag...
www-eee/www-eee-util-misc
ws/rs/properties/main/src/test/java/net/www_eee/util/misc/ws/rs/properties/RSPropertiesTest.java
Java
gpl-3.0
1,127
/* * The GPLv3 licence : * ----------------- * Copyright (c) 2009 Ricardo Dias * * This file is part of MuVis. * * MuVis 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 * (a...
nelsonsilva/MuVis
src/main/java/muvis/util/Observable.java
Java
gpl-3.0
1,295
/******************************************************************************* *Copyright (c) 2009 Eucalyptus Systems, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, only ver...
Shebella/HIPPO
clc/modules/storage-controller/src/main/java/com/eucalyptus/storage/BlockStorageChecker.java
Java
gpl-3.0
10,384
/* * 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 cat.urv.deim.sob.model; import cat.urv.deim.sob.Config; import cat.urv.deim.sob.DaoException; import static java.lang...
danitome24/URL_CUTTER
src/java/cat/urv/deim/sob/model/UrlDaoImp.java
Java
gpl-3.0
10,994
/* * Copyright 1999-2004 The Apache Software Foundation. * * 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 ap...
sapia-oss/corus
modules/thirdparty/tomcat/src/main/java/org/sapia/corus/tomcat/util/UriPatternHelper.java
Java
gpl-3.0
13,282
package org.gvsig.gpe.kml.writer; import org.gvsig.gpe.kml.writer.profiles.Kml21WriterProfile; /* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana * * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. * * This program is free software; you can redistribute it and/or * modify it under ...
iCarto/siga
libGPE-KML/src/org/gvsig/gpe/kml/writer/GPEKml21WriterHandlerImplementor.java
Java
gpl-3.0
2,316
package cn.nukkit.level.format.anvil; import cn.nukkit.blockentity.BlockEntity; import cn.nukkit.blockentity.BlockEntitySpawnable; import cn.nukkit.level.Level; import cn.nukkit.level.format.FullChunk; import cn.nukkit.level.format.generic.BaseFullChunk; import cn.nukkit.level.format.generic.BaseLevelProvider; import ...
boy0001/Nukkit
src/main/java/cn/nukkit/level/format/anvil/Anvil.java
Java
gpl-3.0
9,658
package com.taulukko.cassandra; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.function.Function; import org.junit.Assert; import org.junit.Test; public class FunctionsTest { @Test public void tesLambida() throws Exception { String name = getName(); System.out.pri...
Taulukko/taulukko-commons-ceu
system/src/test/java/com/taulukko/cassandra/FunctionsTest.java
Java
gpl-3.0
1,476
package ase2016.introclass.grade; public class introclass_317aa705_003 { public introclass_317aa705_003() { } /*@ @ requires (a > b && b > c && c > d); @ ensures ((\old(score) >= \old(a)) <==> (\result == 1)); @ ensures ((\old(score) >= \old(b) && \old(score)<\old(a)) <==> (\result == 2)); @ en...
zeminlu/comitaco
tests/ase2016/introclass/grade/introclass_317aa705_003.java
Java
gpl-3.0
1,304
/* * Copyright 2014 MovingBlocks * * 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 law or agreed t...
xposure/zSprite_Old
Source/Framework/zSprite.Sandbox/Terasology/logic/inventory/InventoryAuthoritySystem.java
Java
gpl-3.0
14,935
/* * Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, this list o...
andrewtikhonov/RCloud
rcloud-commons/src/main/java/uk/ac/ebi/rcloud/common/animation/transitions/ComponentState.java
Java
gpl-3.0
9,420
package de.heisluft.egm.util; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraft.util.math.BlockPos; impo...
heisluft/Et-Genetarum-Manet
src/main/java/de/heisluft/egm/util/CrookUtils.java
Java
gpl-3.0
1,316
package com.epam.wilma.router.evaluation; /*========================================================================== Copyright 2013-2015 EPAM Systems This file is part of Wilma. Wilma is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Fre...
nagyistoce/Wilma
wilma-application/modules/wilma-route-engine/src/main/java/com/epam/wilma/router/evaluation/StubDescriptorEvaluator.java
Java
gpl-3.0
6,243
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2009, Rob Eden 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; ...
achraftriki/test2
src/main/java/gnu/trove/map/TFloatDoubleMap.java
Java
gpl-3.0
9,453
package jchess.core.tests; import jchess.core.Game; import jchess.core.Square; import jchess.core.moves.*; import jchess.core.pieces.Piece; public class MovesStub extends Moves { private Square m_lastMoveBegin; private Square m_lastMoveEnd; public MovesStub(Game game) { super(game); } public void addMove(...
sweng581team2/chess_source
jchess/core/tests/MovesStub.java
Java
gpl-3.0
714
/* * #%L * gitools-ui-app * %% * Copyright (C) 2013 Universitat Pompeu Fabra - Biomedical Genomics group * %% * 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 * ...
gitools/gitools
org.gitools.ui.app/src/main/java/org/gitools/ui/app/svg/ExportHeatmapSVGAction.java
Java
gpl-3.0
3,975
package com.intellectualcrafters.plot.listeners; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority;...
boy0001/PlotSquared
PlotSquared/src/com/intellectualcrafters/plot/listeners/WorldEditListener.java
Java
gpl-3.0
4,688
package cn.nukkit.block; import cn.nukkit.Player; import cn.nukkit.entity.Entity; import cn.nukkit.item.Item; import cn.nukkit.item.Tool; import cn.nukkit.level.Level; import cn.nukkit.math.AxisAlignedBB; import cn.nukkit.utils.BlockColor; /** * Created on 2015/12/8 by xtypr. * Package cn.nukkit.block in project Nu...
LinEvil/Nukkit
src/main/java/cn/nukkit/block/Ladder.java
Java
gpl-3.0
3,479
/* * Copyright 2003-2013 Jeffrey K. Hollingsworth * * This file is part of Active Harmony. * * Active Harmony 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 ...
jonfetterdegges/activeharmony
WIP/java/testHarmony.java
Java
gpl-3.0
1,899
package com.asdar.geofence; import android.os.Build; import android.os.Bundle; import android.preference.PreferenceActivity; import android.preference.PreferenceManager; import android.support.v4.app.NavUtils; import android.view.MenuItem; /** * Created by Ehsan on 8/17/13. */ public class SettingsActivity extends...
Oksisane/Geofence
Geofence/src/main/java/com/asdar/geofence/SettingsActivity.java
Java
gpl-3.0
1,311
/** * This class maps to the RelationshipType table in the tair database. Each instance * maps to one row of data in RelationshipType table. Each member variable maps to * one field of a row in the table. * * Copyright (c) 2010 Carnegie Institution for Science. All rights reserved. */ package org.tair.tfc; i...
tair/tairwebapp
src/org/tair/tfc/TfcRelationshipType.java
Java
gpl-3.0
5,336
package net.thevpc.upa.impl.persistence.result; import net.thevpc.upa.exceptions.UPAException; import net.thevpc.upa.persistence.QueryResult; /** * Created by vpc on 7/2/17. */ class ColumnFamilyParserMultiIdExternalTodoEntityResult implements ResultFieldFamilyParser { public static final ResultFieldFamilyParse...
thevpc/upa
upa-impl-core/src/main/java/net/thevpc/upa/impl/persistence/result/ColumnFamilyParserMultiIdExternalTodoEntityResult.java
Java
gpl-3.0
785
/* * This file is part of JGrasstools (http://www.jgrasstools.org) * (C) HydroloGIS - www.hydrologis.com * * JGrasstools 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,...
silviafranceschi/jgrasstools
jgrassgears/src/main/java/org/jgrasstools/gears/modules/r/rastercorrector/OmsRasterCorrector.java
Java
gpl-3.0
3,572
package de.dumischbaenger.ws; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlType; /** * <p>Java-Klasse für ExistsType complex type. * * <p>Da...
dumischbaenger/ews-example
src/main/java/de/dumischbaenger/ws/ExistsType.java
Java
gpl-3.0
2,337
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: container.proto package us.ihmc.aci.ddam; public interface ContainerOrBuilder extends // @@protoc_insertion_point(interface_extends:ddam.Container) com.google.protobuf.MessageOrBuilder { /** * <code>optional string senderId = 1;</cod...
ihmc/nomads
aci/java/us/ihmc/aci/ddam/ContainerOrBuilder.java
Java
gpl-3.0
9,414
package org.optimizationBenchmarking.utils.math.functions; import java.io.Serializable; import org.optimizationBenchmarking.utils.document.spec.IMath; import org.optimizationBenchmarking.utils.document.spec.IMathRenderable; import org.optimizationBenchmarking.utils.document.spec.IParameterRenderer; import org....
optimizationBenchmarking/utils-base
src/main/java/org/optimizationBenchmarking/utils/math/functions/MathematicalFunction.java
Java
gpl-3.0
16,434
package ini.cx3d.gui.spacialOrganisation; import ini.cx3d.gui.Drawer; import ini.cx3d.spacialOrganisation.ManagerResolver; import ini.cx3d.spacialOrganisation.PartitionAddress; import java.awt.Color; import java.awt.Graphics; public class PartitionDrawer extends Drawer{ public PartitionDrawer() { super(); th...
tferr/cx3dp-mvn
src/main/java/ini/cx3d/gui/spacialOrganisation/PartitionDrawer.java
Java
gpl-3.0
1,104
package com.feildmaster.lib.expeditor; import org.bukkit.entity.Player; public class Editor { private final Player player; public Editor(Player p) { player = p; } // Handle experience public void setExp(int exp) { player.setExp(0); player.setLevel(0); ...
Southpaw018/Anima
src/com/feildmaster/lib/expeditor/Editor.java
Java
gpl-3.0
2,028
/* * Copyright (c) 2018 OBiBa. 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 General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. *...
meek0/agate
agate-rest/src/main/java/org/obiba/agate/web/rest/config/JerseyConfiguration.java
Java
gpl-3.0
1,365
/* * 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 com.ostrichemulators.semtool.rdf.engine.util; import com.ostrichemulators.semtool.om.Perspective; import com.ostrichemulators....
Ostrich-Emulators/semtool
common/src/main/java/com/ostrichemulators/semtool/rdf/engine/util/EngineOperationListener.java
Java
gpl-3.0
783
///////////////////////////////////////////////////////////////////////////// // // Project ProjectForge Community Edition // www.projectforge.org // // Copyright (C) 2001-2013 Kai Reinhard (k.reinhard@micromata.de) // // ProjectForge is dual-licensed. // // This community edition is free software; you can redi...
developerleo/ProjectForge-2nd
src/main/java/org/projectforge/web/wicket/DatesAsUTCModel.java
Java
gpl-3.0
2,106
package be.artoria.belfortapp.activities; import android.content.Intent; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.AdapterView; import android.widget.Button; import android.widget.LinearLayou...
oSoc14/Artoria
app/src/main/java/be/artoria/belfortapp/activities/NewRouteActivity.java
Java
gpl-3.0
5,473
package com.dotcms.notifications.dto; import com.dotcms.notifications.bean.NotificationLevel; import com.dotcms.notifications.bean.NotificationType; import java.io.Serializable; import java.util.Date; /** * This class is the physical representation of a Notification in the database. * The data access layer interac...
dotCMS/core
dotCMS/src/main/java/com/dotcms/notifications/dto/NotificationDTO.java
Java
gpl-3.0
5,582
package com.idega.util.xml; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.Reader; import java.io.StringWriter; import java.io.Writer; import java.util.ArrayList; import java.util.Arrays; import...
idega/com.idega.core
src/java/com/idega/util/xml/XmlUtil.java
Java
gpl-3.0
20,608
/** * * Copyright (C) 2006 Sakari K��ri�inen * * 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...
PrepETNA2015/OSCL-Reload
Sources/checker-src/checker/repository/RepositoryFactory.java
Java
gpl-3.0
1,985
package org.optimizationBenchmarking.evaluator.data.impl.shadow; import org.optimizationBenchmarking.evaluator.data.impl.abstr.AbstractFeatureSetting; import org.optimizationBenchmarking.evaluator.data.spec.IFeature; import org.optimizationBenchmarking.utils.collections.lists.ArraySetView; import org.optimization...
optimizationBenchmarking/evaluator-base
src/main/java/org/optimizationBenchmarking/evaluator/data/impl/shadow/_ShadowFeatureSetting.java
Java
gpl-3.0
2,537
/******************************************************************************* *Copyright (c) 2009 Eucalyptus Systems, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, only version...
Shebella/HIPPO
clc/modules/cluster-manager/src/main/java/com/eucalyptus/cluster/VmTypes.java
Java
gpl-3.0
6,131
/* * Copyright (C) 2015 ISKCON New Rajapur Jagannatha Dham. * * This file is part of Bhakti Vriksha application. */ package org.nrjd.bv.app.service; import org.apache.http.conn.HttpHostConnectException; import org.nrjd.bv.app.util.ErrorCode; import java.io.IOException; import java.io.InterruptedIOException; impor...
NRJD/BVApp1
src/org/nrjd/bv/app/service/DataServiceUtils.java
Java
gpl-3.0
1,812
/** * SMART - State Machine ARchiTecture * * Copyright (C) 2012 Individual contributors as indicated by * the @authors tag * * This file is a part of SMART. * * SMART is a free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Sof...
rajsanka/a-smart
sm.base/src/main/java/org/anon/smart/base/flow/CrossLinkFlowDeployment.java
Java
gpl-3.0
4,250
package org.bukkit.event.block; import org.bukkit.block.Block; import org.bukkit.entity.Player; import org.bukkit.event.Cancellable; /** * Called when a block is broken by a player. * <p /> * Note: * Plugins wanting to simulate a traditional block drop should set the block to air and utilise their own methods for...
Dinnerbone/Bukkit-1
src/main/java/org/bukkit/event/block/BlockBreakEvent.java
Java
gpl-3.0
1,225
/* * JasperReports - Free Java Reporting Library. * Copyright (C) 2001 - 2014 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...
aleatorio12/ProVentasConnector
jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/engine/JRLineBox.java
Java
gpl-3.0
5,101
package programming.labs.lab1001exceptions.meta.bank; public class Customer { private String name; private String id; private int age; private Account[] accounts; private int index; public Customer() { this("John", "is-111", 30); } public Customer(String iname, String iid, int iage) { setName(iname); s...
veltzer/demos-java
projects/Standard/src/programming/labs/lab1001exceptions/meta/bank/Customer.java
Java
gpl-3.0
1,192
package it.polito.semreview.enrichment; import it.polito.semreview.dataset.Document; import it.polito.semreview.dbpedia.InvalidDefinitionException; import java.io.IOException; public interface DocumentEnricher<D extends Document> { String getEnrichedText(D document) throws IOException, InvalidDefinitionExce...
ftomassetti/semreview
src/main/java/it/polito/semreview/enrichment/DocumentEnricher.java
Java
gpl-3.0
331
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved. * * The contents of this file are subject to the terms of the GNU General Public License Version 3 * only ("GPL"). You may not use this file except in compliance with th...
eric-lemesre/OpenConcerto
OpenConcerto/src/org/openconcerto/openoffice/spreadsheet/TableStyle.java
Java
gpl-3.0
3,309
/* * Copyright (C) 2014-2020 Arpit Khurana <arpitkh96@gmail.com>, Vishal Nehra <vishalmeham2@gmail.com>, * Emmanuel Messulam<emmanuelbendavid@gmail.com>, Raymond Lai <airwave209gt at gmail.com> and Contributors. * * This file is part of Amaze File Manager. * * Amaze File Manager is free software: you can redistri...
arpitkh96/AmazeFileManager
app/src/main/java/com/amaze/filemanager/filesystem/compressed/extractcontents/helpers/TarExtractor.java
Java
gpl-3.0
4,408
package com.jungle.utility.utils; import android.content.Context; /** * 功能描述:反射获取资源ID工具类 * <p/> * 创 建 人:Rocky * 创建时间:2016-07-28 * 版 本 号:V1.0 * 修 改 人:Rocky(2016-07-28) */ public class ReflectUtils { /** * 得到layout Id * * @param context 上下文 * @param layoutId 布局编号 * @return Lay...
chenhao1041661180/RockyProject
Utility/src/main/java/com/jungle/utility/utils/ReflectUtils.java
Java
gpl-3.0
2,636
package org.esa.snap.product.library.ui.v2.repository.remote; import org.apache.http.auth.Credentials; import org.esa.snap.remote.products.repository.RemoteProductsRepositoryProvider; import java.util.HashMap; import java.util.Map; import java.util.concurrent.Semaphore; /** * A counting semaphore which allows a fix...
senbox-org/snap-desktop
snap-product-library-ui-v2/src/main/java/org/esa/snap/product/library/ui/v2/repository/remote/RemoteRepositoriesSemaphore.java
Java
gpl-3.0
2,928
package server.common; public class ServerConstants { public static final String SERVER_PROPS_XML = "serverProps.xml"; public static final String PORT = "port"; public static final String UTF_ENCODING = "UTF-8"; private static int port = 8080; public static final String SHORTEST_PATH_ALG = "shortest_pa...
puzis/kpp
src/server/common/ServerConstants.java
Java
gpl-3.0
4,289
package com.freeyourcode.testgenerator.agent.plugins; import javassist.CtClass; import org.w3c.dom.Element; import com.freeyourcode.testgenerator.core.ListenerManager; public interface Plugin { void start(Element config, ListenerManager manager); boolean handleClassDefinition(ClassLoader loader, String classN...
BenoitRonflette/FreeYourCode
freeyourcode-test-generator/src/main/java/com/freeyourcode/testgenerator/agent/plugins/Plugin.java
Java
gpl-3.0
386
package com.ssplugins.ssp.callback; public interface GeneralCallback { void onCall(); }
567legodude/SS-Permissions
src/com/ssplugins/ssp/callback/GeneralCallback.java
Java
gpl-3.0
94
/** * Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2014, Numenta, Inc. Unless you have an agreement * with Numenta, Inc., for a separate license for this software code, the * following terms and conditions apply: * * This program is free software: you can redistribute it and/or modify * it...
UniKnow/htm.java
src/test/java/org/numenta/nupic/examples/qt/QuickTestTest.java
Java
gpl-3.0
3,553
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.quackbot.hooks.events; import com.google.common.base.Preconditions; import com.sun.org.apache.xml.internal.dtm.ref.sax2dtm.SAX2DTM2; import lombok.Getter; import org.quackbot.Controller; import org...
TheLQ/quackbot
core/src/main/java/org/quackbot/hooks/events/CommandEnabledEvent.java
Java
gpl-3.0
918
/* * This file is part of Gradoop. * * Gradoop 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. * * Gradoop is distributed in th...
Venom590/gradoop
gradoop-flink/src/main/java/org/gradoop/flink/model/impl/operators/matching/common/functions/package-info.java
Java
gpl-3.0
831
import java.awt.event.*; import java.awt.*; import javax.swing.*; import org.jeppers.swing.spreadsheet.*; public class FontDialog extends JDialog{ public FontDialog(java.awt.Frame parent, JTable table, DefaultAttributeModel model) { super(parent, true); //Dialog Close event a...
sinapsmarketing/scrape-it-screen-scraper-master
src/FontDialog.java
Java
gpl-3.0
3,599
package com.websimple.springmvc.configuracion; import java.util.Properties; import javax.sql.DataSource; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Compo...
YesusPaMa/Spring4SecurityAuthBD
src/main/java/com/websimple/springmvc/configuracion/HibernateConfiguration.java
Java
gpl-3.0
2,984
package org.esa.snap.remote.execution.operator; import org.esa.snap.rcp.actions.AbstractSnapAction; import org.esa.snap.ui.AppContext; import java.awt.event.ActionEvent; import java.util.Arrays; import java.util.HashSet; import java.util.Map; import java.util.Set; /** * Created by jcoravu on 24/12/2018. */ public ...
senbox-org/snap-desktop
snap-remote-execution-ui/src/main/java/org/esa/snap/remote/execution/operator/RemoteExecutionAction.java
Java
gpl-3.0
1,216
/**************************************************************************** ePMC - an extensible probabilistic model checker Copyright (C) 2017 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softw...
liyi-david/ePMC
plugins/jani-exporter/src/main/java/epmc/operator/JANIExporter_OperatorAndProcessor.java
Java
gpl-3.0
2,513
/**************************************************************************** ePMC - an extensible probabilistic model checker Copyright (C) 2017 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softw...
liyi-david/ePMC
plugins/automata/src/main/java/epmc/automaton/AutomatonProduct.java
Java
gpl-3.0
10,306
package com.example.asdf; import android.support.v7.app.ActionBarActivity; import android.support.v7.app.ActionBar; import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view...
rockneurotiko/madness-things
Android/app/src/main/java/com/example/asdf/MainActivity.java
Java
mpl-2.0
1,943
// 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.github.tasogare.json.ds.internal.ast; import static com.github.tasogare.json.ds.internal.ast.AstCo...
tasogare3710/JSON-DS-API
test/com/github/tasogare/json/ds/internal/ast/TypeDefinitionNodeTest.java
Java
mpl-2.0
1,617
package org.sensorhub.impl.sensor.domoticz; import java.io.InputStream; import java.net.URL; import org.sensorhub.api.common.CommandStatus; import org.sensorhub.api.common.CommandStatus.StatusCode; import org.sensorhub.api.sensor.SensorException; import org.sensorhub.impl.sensor.AbstractSensorControl; import org.vast...
opensensorhub/osh-smarthome
sensorhub-driver-domoticz/src/main/java/org/sensorhub/impl/sensor/domoticz/DomoticzSwitchControl.java
Java
mpl-2.0
3,000
/** * Copyright (c) 2021, RTE (http://www.rte-france.com) * 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.powsybl.cgmes.conversion.export.elements; ...
powsybl/powsybl-core
cgmes/cgmes-conversion/src/main/java/com/powsybl/cgmes/conversion/export/elements/BaseVoltageEq.java
Java
mpl-2.0
1,437
/* * Copyright (c) 2016-2017 by OpenText Corporation. All Rights Reserved. */ package com.opentext.ia.sdk.support.http.rest; import static org.junit.Assert.assertEquals; import java.nio.charset.StandardCharsets; import java.util.Base64; import org.junit.Test; import com.opentext.ia.sdk.support.http.Header; import...
kovaloid/infoarchive-sip-sdk
core/src/test/java/com/opentext/ia/sdk/support/http/rest/WhenUsingGatewayInfo.java
Java
mpl-2.0
1,242
package com.sensia.tools.client.swetools.editors.sensorml.panels.map; import org.gwtopenmaps.openlayers.client.LonLat; import org.gwtopenmaps.openlayers.client.MapOptions; import org.gwtopenmaps.openlayers.client.MapWidget; import org.gwtopenmaps.openlayers.client.Pixel; import org.gwtopenmaps.openlayers.client.Style;...
opensensorhub/sensorml-editor
src/com/sensia/tools/client/swetools/editors/sensorml/panels/map/GenericPointMap.java
Java
mpl-2.0
5,971
/******************************************************************************* * Copyright (c) 2015, 2020 Stichting Yona Foundation 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 https://mozilla.or...
yonadev/yona-server
core/src/main/java/nu/yona/server/analysis/service/GoalConflictMessageDto.java
Java
mpl-2.0
7,019
/* * Copyright (c) Mirth Corporation. All rights reserved. * * http://www.mirthcorp.com * * The software in this package is published under the terms of the MPL license a copy of which has * been included with this distribution in the LICENSE.txt file. */ package com.mirth.connect.connectors.file.fil...
encapturemd/MirthConnect
server/src/com/mirth/connect/connectors/file/filesystems/SmbFileConnection.java
Java
mpl-2.0
9,660
/* * 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 controllerClasses.special; import controllerClasses.util.PaginationHelper; import entityModels.Groupusers; import ent...
debonatis/Gruppe25
AteaAOS/AteaAOS-web/src/main/java/controllerClasses/special/EditUsers.java
Java
mpl-2.0
5,171
/* * Copyright (c) The Trustees of Indiana University, Moi University * and Vanderbilt University Medical Center. All Rights Reserved. * * This version of the code is licensed under the MPL 2.0 Open Source license * with additional health care disclaimer. * If the user is an entity intending to commercialize any ...
sthaiya/muzima-android
app/src/main/java/com/muzima/model/shr/kenyaemr/NextOfKin.java
Java
mpl-2.0
3,920
// This file is generated by generate_themed_views.py; do not edit. /* 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.gecko.widget.themed; imp...
Yukarumya/Yukarum-Redfoxes
mobile/android/base/java/org/mozilla/gecko/widget/themed/ThemedTextSwitcher.java
Java
mpl-2.0
5,412
/** * @author 刘溪滨 (13720880048@163.com) * @version 1.0 @Date: 2015-11-18 上午9:10 */ package com.cartan.center.ebs.codegenerRadio.response; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation....
gillion/RDACP
Trunk/00.Coding/cartan/cartan-center/src/main/java/com/cartan/center/ebs/codegenerRadio/response/CodegenerRadioUpdateResponse.java
Java
mpl-2.0
998
/* * Copyright Aduna (http://www.aduna-software.com/) (c) 2008. * * Licensed under the Aduna BSD-style license. */ package org.openrdf.sail.generaldb.algebra.sf; import org.openrdf.sail.generaldb.algebra.GeneralDBSqlGeoSpatial; import org.openrdf.sail.generaldb.algebra.base.GeneralDBSqlExpr; public class Genera...
esarbanis/strabon
generaldb/src/main/java/org/openrdf/sail/generaldb/algebra/sf/GeneralDBSqlSF_Contains.java
Java
mpl-2.0
485