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
import java.io.*; import java.util.ArrayList; public class Neuron implements Serializable { //static final long serialVersionUID = 31337L; private int neuronIndex; private int layerIndex; private ArrayList<Axon> inputs; private ArrayList<Axon> outputs; private double threshold; private double inputSum; privat...
sealfoss/Neuronium
Neuron.java
Java
gpl-3.0
3,013
package com.powerstackers.resq.opmodes.teleop; import com.powerstackers.resq.common.enums.PublicEnums.AllianceColor; import org.swerverobotics.library.interfaces.TeleOp; /** * @author Jonathan */ @TeleOp(name = "Teleop Blue", group = "Powerstackers") public class TeleopBlue extends ResqTeleop { public TeleopBl...
powerstackers/FTC-5029-Res-Q
FtcRobotController/src/main/java/com/powerstackers/resq/opmodes/teleop/TeleopBlue.java
Java
gpl-3.0
370
package de.westnordost.streetcomplete.data; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.graphics.Rect; import android.os.Bundle; import android.os.Handler; import android.os.HandlerThread; import android.o...
Binnette/StreetComplete
app/src/main/java/de/westnordost/streetcomplete/data/QuestController.java
Java
gpl-3.0
14,741
/* * Copyright (C) 2022 Inera AB (http://www.inera.se) * * This file is part of sklintyg (https://github.com/sklintyg). * * sklintyg 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 t...
sklintyg/webcert
web/src/main/java/se/inera/intyg/webcert/web/web/controller/facade/dto/CertificateDTO.java
Java
gpl-3.0
2,107
package startupGUI; import java.awt.Color; import java.awt.Dialog; import java.awt.Font; import java.awt.Frame; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JLabel; import ...
Hoppix/MacroEdit
src/startupGUI/RecordAlertDialog.java
Java
gpl-3.0
3,475
package org.jeecgframework.web.demo.controller.test; import java.io.BufferedOutputStream; import java.io.InputStream; import java.sql.Blob; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.jeecgframework.web.demo.entity.test.JeecgBl...
shamoxiaoniqiu2008/jeecg-framework
src/main/java/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java
Java
gpl-3.0
6,937
/************************************ * This file is part of Test Platform. * * Test Platform 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 la...
instytut-badan-edukacyjnych/platforma-testow
LoremIpsum/src/main/java/pl/edu/ibe/loremipsum/tablet/base/BaseServiceFragment.java
Java
gpl-3.0
2,392
/* * Copyright (C) 2012 mewin <mewin001@hotmail.de> * * 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. * ...
mewin/PerkShop
src/main/java/com/mewin/perkshop/PerkShopPlugin.java
Java
gpl-3.0
12,675
/* * DatabaseCatalogNode.java * * Copyright (C) 2002-2013 Takis Diakoumis * * 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. * *...
toxeh/ExecuteQuery
java/src/org/executequery/gui/browser/nodes/DatabaseCatalogNode.java
Java
gpl-3.0
3,400
package com.robotsquid.moltencraft.tool.sword; import com.robotsquid.moltencraft.init.ModMaterials; import net.minecraft.entity.EntityLivingBase; import net.minecraft.item.ItemStack; import net.minecraft.potion.Potion; import net.minecraft.potion.PotionEffect; public class SwordWither extends SwordMC { public Swo...
RobotSquid/MoltenCraft
src/main/java/com/robotsquid/moltencraft/tool/sword/SwordWither.java
Java
gpl-3.0
665
package game.communication.event; /** * Implementation of the {@link AbstractGameCtrlEvent} interface describing all * event that can happened during the creation and the course of games. * * @author benobiwan * */ public abstract class AbstractGameCtrlEvent extends AbstractEvent implements IGameCtrlEvent { ...
BenObiWan/game
src/game_core/src/game/communication/event/AbstractGameCtrlEvent.java
Java
gpl-3.0
1,416
/* * Copyright (C) 2012 Brockmann Consult GmbH (info@brockmann-consult.de) * * 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 late...
arraydev/snap-desktop
snap-rcp/src/main/java/org/esa/snap/rcp/statistics/DensityPlotTopComponent.java
Java
gpl-3.0
2,255
/* * Copyright 2018 Andrey Novikov * * 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 version. * * This program is dis...
andreynovikov/maptrek
app/src/main/java/mobi/maptrek/util/FileList.java
Java
gpl-3.0
2,748
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.08.02 at 08:08...
ramsodev/DitaManagement
dita/dita.task/src/net/ramso/dita/task/StepxmpClass.java
Java
gpl-3.0
19,720
/** * This file is part of Rizzly. * * Rizzly 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. * * Rizzly is distributed i...
ursfassler/rizzly
src/ast/data/type/template/TypeTemplate.java
Java
gpl-3.0
976
/******************************************************************************* * 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/modelo/instituicao/Instituicao.java
Java
gpl-3.0
4,758
package cmion.addOns.manipulators; import ion.Meta.EventHandler; import ion.Meta.IEvent; import ion.Meta.Simulation; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import ja...
nurv/lirec
libs/cmion/cmionAddOns/src/cmion/addOns/manipulators/RemoteActionSimulator.java
Java
gpl-3.0
6,753
package com.cloudera.server.web.cmf; import com.cloudera.cmf.model.ConfigStalenessStatus; import com.cloudera.cmf.model.DbRole; import com.cloudera.cmf.model.DbService; import com.cloudera.cmf.service.ValidationCollection; import com.cloudera.server.web.cmf.include.ConfigForm; import com.cloudera.server.web.cmf...
Mapleroid/cm-server
server-5.11.0.src/com/cloudera/server/web/cmf/RoleInstanceConfigImpl.java
Java
gpl-3.0
5,038
package ai.grakn.engine; import ai.grakn.engine.util.SimpleURI; import ai.grakn.test.GraknTestSetup; import java.io.IOException; import java.net.ServerSocket; /** * <p> * This class instantiates an engine server-side component once, statically until the JVM exists. * Any state cleanup needs to be done by tests th...
pluraliseseverythings/grakn
grakn-engine/src/test/java/ai/grakn/engine/EngineTestHelper.java
Java
gpl-3.0
2,621
/** * Copyright (c) 2009 i>clicker (R) <http://www.iclicker.com/dnn/> * * This file is part of i>clicker Sakai integrate. * * i>clicker Sakai integrate 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, ei...
azeckoski/iclicker-sakai-integrate
src/main/java/org/sakaiproject/iclicker/logic/ExternalLogic.java
Java
gpl-3.0
12,175
/* * BCJ filter for little endian ARM-Thumb instructions * * Authors: Lasse Collin <lasse.collin@tukaani.org> * Igor Pavlov <http://7-zip.org/> * * This file has been put into the public domain. * You can do whatever you want with this file. */ package com.friz.cache.utility.tukaani.simple; public fi...
im-frizzy/MultiServer
cache/src/main/java/com/friz/cache/utility/tukaani/simple/ARMThumb.java
Java
gpl-3.0
1,550
// Auto generated package-info by MCP @ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault package net.shadowmage.ancientwarfare.structure.template.plugin.defaultplugins; import mcp.MethodsReturnNonnullByDefault; import javax.annotation.ParametersAreNonnullByDefault;
shadowmage45/AncientWarfare2
src/main/java/net/shadowmage/ancientwarfare/structure/template/plugin/defaultplugins/package-info.java
Java
gpl-3.0
280
package com.mrdios.competencymatrix.java.readingnotes.JavaConcurrencyInPractice.chapter11; import javax.annotation.Generated; import java.util.Set; /** * 锁分解 * @author huxiong * @date 2016/06/22 12:59 */ public class RestState { @Generated("this") public final Set<String> users;//食客 @Generated("this")...
balderdasher/competency-matrix
competency-java/src/main/java/com/mrdios/competencymatrix/java/readingnotes/JavaConcurrencyInPractice/chapter11/RestState.java
Java
gpl-3.0
755
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI 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 *...
jasoyode/gasneat
src/main/java/gasNEAT/geneticOperators/GasNeatPruneMutationOperator.java
Java
gpl-3.0
5,626
package club.myfpl.model; /** * User: Saket * Date: 25/11/16 * Time: 12:10 AM */ public enum ElementType { GKP(1L, "Goalkeeper", "GKP", "Goalkeepers", "GKP"), DEF(2L, "Defender", "DEF", "Defenders", "DEF"), MID(3L, "Midfielder", "MID", "Midfielders", "MID"), FWD(4L, "Forward", "FWD", "Forwards", "F...
saketmehta/myfpl
backend/src/main/java/club/myfpl/model/ElementType.java
Java
gpl-3.0
2,059
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org) package org.xbill.DNS; /** * The Name Server Identifier Option, define in RFC 5001. * * @see OPTRecord * * @author Brian Wellington */ public class NSIDOption extends GenericEDNSOption { private static final long serialVersionUID = 7473975929258...
x-falcon/Virtual-Hosts
app/src/main/java/org/xbill/DNS/NSIDOption.java
Java
gpl-3.0
510
package com.packt.webstore.controller; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @Controller public class LoginController { @RequestMapping...
bopbruno/webstore
webstore/src/main/java/com/packt/webstore/controller/LoginController.java
Java
gpl-3.0
732
package org.hl7.v3; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>EpiduralRouteのJavaクラス。 * * <p>次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。 * <p> * <pre> * &lt;simpleType name="EpiduralRoute"> * &lt;restriction base="{urn:hl7-org:v3}cs"> * ...
ricecakesoftware/CommunityMedicalLink
ricecakesoftware.communitymedicallink.hl7/src/org/hl7/v3/EpiduralRoute.java
Java
gpl-3.0
928
package com.mrsalustiano.handson.aula15; import java.util.Scanner; public class Exercicio19 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); System.out.println("Digite o primeiro numero"); int numero1 = scan.nextInt(); System.out...
mrsalustiano/Java
CursoJava/src/com/mrsalustiano/handson/aula15/Exercicio19.java
Java
gpl-3.0
2,140
/* * Copyright (c) 2016 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/>. *...
apruden/mica2
mica-core/src/main/java/org/obiba/mica/core/upgrade/MicaVersionModifier.java
Java
gpl-3.0
1,141
/***************************************************************************** * Copyright 2013, see AUTHORS file. * * This file is part of Sniffy's Flip Trip. * * Sniffy's Flip Trip is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License as published * by t...
ExplatCreations/sft
SniffysFlipTrip/src/com/explatcreations/sft/saving/Logger.java
Java
gpl-3.0
2,342
/* * 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 ve.com.fsjv.devsicodetv.models; /** * * @author FAMILIA-SJ */ public class Visit { }
sicodetv20/dev.sicodetv2.1
src/main/java/ve/com/fsjv/devsicodetv/models/Visit.java
Java
gpl-3.0
288
package me.gnat008.perworldinventory; import java.io.File; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.List; import java.util.function.Function; import java.util.function.Predicate; import java.util.stream.Collectors; /** * Collects available classes by walking through a source d...
Gnat008/PerWorldInventory
src/test/java/me/gnat008/perworldinventory/ClassCollector.java
Java
gpl-3.0
6,335
/* * ClipperTransitData.java * * Copyright (C) 2011 Eric Butler * * Authors: * Eric Butler <eric@codebutler.com> * * Thanks to: * An anonymous contributor for reverse engineering Clipper data and providing * most of the code here. * * This program is free software: you can redistribute it and/or modify * i...
gcochard/farebot
src/main/java/com/codebutler/farebot/transit/clipper/ClipperTransitData.java
Java
gpl-3.0
10,620
package matriz.domain; import java.util.ArrayList; import java.util.List; /** * Created by 20142bsi0186 on 16/02/2017. */ public class Matrix { private List<Cell> matrix; private int numberOfRows = 0; private int numberOfColumns = 0; public Matrix() { matrix = new ArrayList<...
DaniloSI/Tecnicas-de-Programacao-Avancada
Exercicios/src/matriz/domain/Matrix.java
Java
gpl-3.0
4,426
/*------------------------------------------------------------------------------ ** Ident: Sogeti Smart Mobile Solutions ** Author: rene ** Copyright: (c) 2016 Sogeti Nederland B.V. All Rights Reserved. **------------------------------------------------------------------------------ ** Sogeti Nederland B.V....
rcgroot/open-gpstracker-ng
studio/features/src/test/java/nl/sogeti/android/gpstracker/ng/features/map/rendering/PathRendererTest.java
Java
gpl-3.0
3,346
/** * Copyright (c) 2015 TerraFrame, Inc. All rights reserved. * * This file is part of Geoprism(tm). * * Geoprism(tm) 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 * L...
terraframe/geodashboard
geoprism-server/src/main/java-gen/stub/net/geoprism/report/ReportItemViewQuery.java
Java
gpl-3.0
2,369
/* * 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 sms.adapter; /** * * @author felipe */ public interface Cobranca { public void cobrar(int telefone); }
felipefo/poo2
Padroes_de_Projeto/Estrutural/Adapter/AdapterSMS/src/sms/adapter/Cobranca.java
Java
gpl-3.0
308
package com.staticdot.fifteen.logic; public class Position { private int line; private int column; public Position(int line, int column) { this.line = line; this.column = column; } public int getLine() { return line; } public void setLine(int line) { this.line = line; } public int getColumn() { ...
StaticDot/green-fifteen-gdx
core/src/main/java/com/staticdot/fifteen/logic/Position.java
Java
gpl-3.0
492
package com.sci.engine; import java.util.ArrayList; import java.util.List; import com.sci.engine.graphics.Display; import com.sci.engine.graphics.Renderer; import com.sci.engine.interfaces.Updatable; /** * SciEngine * * @author sci4me * @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html...
rockon999/RockEngine
src/main/java/com/sci/engine/SciGame.java
Java
gpl-3.0
3,455
/* * 08/11/2009 * * DocumentRange.java - A range of text in a document. * * This library is distributed under a modified BSD license. See the included * RSyntaxTextArea.License.txt file for details. */ package com.fr.design.gui.syntax.ui.rsyntaxtextarea; /** * A range of text in a document. * ...
fanruan/finereport-design
designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/DocumentRange.java
Java
gpl-3.0
3,450
package mobile.listaacessivel.fafica.listaacessvel.entidades; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; /** * Created by ivan on 01/04/15. */ public class Lista { private int id_lista; private String descricao; private String situacao; private String data_cria...
lw4z/ListaAcessivel
app/src/main/java/mobile/listaacessivel/fafica/listaacessvel/entidades/Lista.java
Java
gpl-3.0
3,685
/* * Copyright (C) 2013 Invenzzia Group <http://www.invenzzia.org/> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later versi...
zyxist/opentrans
opentrans-lightweight/src/main/java/org/invenzzia/opentrans/lightweight/binding/NewProject.java
Java
gpl-3.0
1,138
package projApp.formDTO; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import org.springframework.web.multipart.MultipartFile; import projApp.model.event.Event; /** * @authors Pawe³ Miszkiel & Rafa³ Teodorowski * * PW, Wydzia³ Elektryczny - Informatyka - semestr VI * ...
komet22/proj_zesp_sem5
AppProjZesp/src/main/java/projApp/formDTO/EventDocumentDTO.java
Java
gpl-3.0
1,531
package com.bioxx.tfc.Items.Tools; import net.minecraft.block.Block; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraft.util.MathHelper; import net.minecraft.wor...
raymondbh/TFCraft
src/Common/com/bioxx/tfc/Items/Tools/ItemSteelBucketRed.java
Java
gpl-3.0
1,461
package com.sealtalk.dao.group; import java.util.ArrayList; import java.util.List; import com.sealtalk.model.TGroup; import com.sealtalk.model.TGroupMember; import com.sealtalk.model.TMember; /** * 群组成员关系 * @author hao_dy * @since jdk1.7 * @date 2017/01/12 */ public interface GroupMemberDao { /** * 保存群组成员关系...
klhdy/im-indepartment
src/com/sealtalk/dao/group/GroupMemberDao.java
Java
gpl-3.0
2,259
package tmp.generated_xhtml; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class STag_samp extends GenASTNode { public STag_samp(ArrayList<Attribute> attribute, Token firstToken, Token lastToken) { super(new Property[] { new PropertyZeroOrMore<Attr...
ckaestne/CIDE
CIDE_Language_XML_concrete/src/tmp/generated_xhtml/STag_samp.java
Java
gpl-3.0
762
/* * Copyright (c) 2010 Red Hat, 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, either version 3 of the License, or * (at your option) any later version. * * This program is di...
jdcasey/sjbi
api/src/main/java/org/commonjava/sjbi/model/ArtifactRef.java
Java
gpl-3.0
3,538
/** * This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM) * * Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft) * Copyright (c)2011 OCPsoft.com (http://ocpsoft.com) * * If you are developing and distributing open source applications under * the GNU General Publ...
ocpsoft/socialpm
services/src/main/java/com/ocpsoft/socialpm/util/crypt/MD5PasswordEncryptor.java
Java
gpl-3.0
2,588
package com.idega.idegaweb.egov.bpm.presentation; import is.idega.idegaweb.egov.bpm.IWBundleStarter; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Auto...
idega/is.idega.idegaweb.egov.bpm
src/java/com/idega/idegaweb/egov/bpm/presentation/DefaultCasesListCustomizer.java
Java
gpl-3.0
6,949
package com.zhonghuasheng.basic.runner.commandline; import com.itextpdf.text.BaseColor; import com.itextpdf.text.DocumentException; import com.itextpdf.text.Element; import com.itextpdf.text.Rectangle; import com.itextpdf.text.pdf.*; import fr.opensagres.poi.xwpf.converter.pdf.PdfConverter; import fr.opensagres.poi.xw...
zhonghuasheng/JAVA
springboot/springboot-basic/src/main/java/com/zhonghuasheng/basic/runner/commandline/FirstCommandLineRunner.java
Java
gpl-3.0
6,639
package org.biu.ufo.control.components; import java.util.List; import org.androidannotations.annotations.EBean; import org.biu.ufo.control.monitors.TripMonitor; import org.biu.ufo.control.utils.Calculator; import org.biu.ufo.model.Location; import com.directions.route.Route; import com.directions.route.Routing; impo...
biu-google-fuel/fuel-oracle-android
ufo/src/org/biu/ufo/control/components/RouteEstimator.java
Java
gpl-3.0
2,844
package org.reunionemu.jreunion.model.quests; import javax.xml.bind.annotation.XmlTransient; import javax.xml.bind.annotation.XmlType; /** * @author Aidamina * @license http://reunion.googlecode.com/svn/trunk/license.txt */ @XmlTransient @XmlType(name="objective") public abstract class ObjectiveImpl implements Obj...
ReunionDev/reunion
jreunion/src/main/java/org/reunionemu/jreunion/model/quests/ObjectiveImpl.java
Java
gpl-3.0
333
/* * #%~ * org.overture.ide.vdmpp.ui * %% * Copyright (C) 2008 - 2014 Overture * %% * 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...
overturetool/overture
ide/vdmpp/ui/src/main/java/org/overture/ide/vdmpp/ui/wizard/VdmPpNewClassWizard.java
Java
gpl-3.0
1,752
package ch.judos.generic.games.navigation.model; import java.awt.Color; import java.awt.Graphics; import java.awt.Point; import ch.judos.generic.games.pathsearch.SimpleWayPoint; import ch.judos.generic.games.pathsearch.WayPoint; import ch.judos.generic.games.unitCoordination.ReservingUnitCoordination; /** * @author...
WaDosCh/WaDosUtil
test/ch/judos/generic/games/navigation/model/SpaceUnit.java
Java
gpl-3.0
1,958
/* Generated by Together */ package nl.tue.declare.domain; import java.util.*; public class Base implements Cloneable { private int id = 0; protected void setId(int id) { this.id = id; } public int getId() { return id; } /** * Base * * @param aId int */ public Base(int aId)...
ijlalhussain/LogGenerator
DeclareDesigner/src/nl/tue/declare/domain/Base.java
Java
gpl-3.0
1,634
package eu.lausek.brainfaq; import java.io.*; /** * * @author lausek * */ public class Main { public static void main(String[] args) { Program program = null; String path = null; if (args.length == 0) { Logger.error("No file specified"); } path = args[0]; try { ...
lausek/brainfaq
src/eu/lausek/brainfaq/Main.java
Java
gpl-3.0
716
package com.humbertdany.tpproject.test; import com.humbertdany.tpproject.util.binarystack.v1.BinaryStack; import com.humbertdany.tpproject.util.binarystack.v1.Node; import com.humbertdany.tpproject.util.binarystack.v2.TasBinaire; import com.humbertdany.tpproject.util.factory.ArrayFactory; import java.util.Arra...
Humbertda/TP-AG51
src/test/java/com/humbertdany/tpproject/test/TestBinaryStack.java
Java
gpl-3.0
2,351
package com.provence.web.dto; public class NewsInfoDTO { private Long idNsi; private String titleNsi; private String contentNsi; private String path; private String dateCreateNsi; public Long getIdNsi() { return idNsi; } public void setIdNsi(Long idNsi) { this.idNsi = idNsi; } public String getTitleNsi...
lhebj/provence
src/com/provence/web/dto/NewsInfoDTO.java
Java
gpl-3.0
830
package de.wwu.muggl.instructions.bytecode; import java.util.Stack; import de.wwu.muggl.instructions.interfaces.Instruction; import de.wwu.muggl.vm.Frame; import de.wwu.muggl.vm.classfile.ClassFile; import de.wwu.muggl.vm.exceptions.ExceptionHandler; import de.wwu.muggl.vm.exceptions.NoExceptionHandlerFoundEx...
wwu-pi/muggl
muggl-core/src/de/wwu/muggl/instructions/bytecode/Athrow.java
Java
gpl-3.0
5,780
/* * Copyright (C) 2012 Jason Gedge <http://www.gedge.ca> * * This file is part of the OpGraph project. * * 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,...
thegedge/opgraph
common-nodes/src/main/java/ca/gedge/opgraph/nodes/general/script/OutputFields.java
Java
gpl-3.0
1,854
package com.learn.springboot.validusername.strategies.impl; import java.util.Arrays; import java.util.Collection; import com.learn.springboot.validusername.strategies.SuggestedWordsStrategy; /** * * @author felipe * */ public class RandomSuggestionSuggestedWordsStrategy implements SuggestedWordsStrategy { ...
nipanga/learn-validusername
validusername/src/main/java/com/learn/springboot/validusername/strategies/impl/RandomSuggestionSuggestedWordsStrategy.java
Java
gpl-3.0
688
/* * Copyright (C) 2017 Schürmann & Breitmoser GbR * * 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 pr...
open-keychain/open-keychain
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/keyimport/processing/ImportKeysListener.java
Java
gpl-3.0
1,041
/* * Copyright (C) 2014 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 app...
s20121035/rk3288_android5.1_repo
frameworks/base/services/core/java/com/android/server/net/DelayedDiskWrite.java
Java
gpl-3.0
2,931
package com.ouser.logic; import java.util.ArrayList; import java.util.List; import android.graphics.Bitmap; import android.os.AsyncTask; import com.ouser.cache.Cache; import com.ouser.event.EventArgs; import com.ouser.event.EventCenter; import com.ouser.event.EventId; import com.ouser.event.EventListener...
tassadar2002/ouser
src/com/ouser/logic/ChatLogic.java
Java
gpl-3.0
16,690
// Auto generated package-info by MCP @ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault package net.shadowmage.ancientwarfare.vehicle.registry; import mcp.MethodsReturnNonnullByDefault; import javax.annotation.ParametersAreNonnullByDefault;
shadowmage45/AncientWarfare2
src/main/java/net/shadowmage/ancientwarfare/vehicle/registry/package-info.java
Java
gpl-3.0
256
/* * 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.spacecard.dao; import com.spacecard.image.Image; import java.sql.ResultSet; import java.sql.SQLException; import java.util...
oyekunlei/spacecard
src/java/com/spacecard/dao/ImageDAO.java
Java
gpl-3.0
1,685
/* * Copyright 2010 Harvard University Library * * This file is part of OTS-Schemas. * * OTS-Schemas 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 ...
opf-labs/ots-schema
src/edu/harvard/hul/ois/ots/schemas/pds/PdsDate.java
Java
gpl-3.0
2,400
package top.trumeet.common.event.type; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import top.trumeet.common.R; import top.trumeet.common.event.Event; /** * 对应 {@link top.trumeet.common.event.Event.Type#SendMessage} * * Created by Trumeet ...
Trumeet/MiPushFramework
common/src/main/java/top/trumeet/common/event/type/NotificationType.java
Java
gpl-3.0
1,578
/* * 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 classmap; import java.io.FileInputStream; import java.io.FileNotFoundException; import javafx.application.Application...
jacob-novosad/eHacks_2017_SIUEMAP
ClassMap2/src/classmap/ClassMap.java
Java
gpl-3.0
7,547
package main; public interface Almacenable { String toXml(); String toJson(); }
JhonPolitecnico/Proyectos-2014
2014-Paradigmas Interface/src/main/Almacenable.java
Java
gpl-3.0
84
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) braces deadcode fieldsfirst package net.minecraft.src; // Referenced classes of package net.minecraft.src: // EntityAIBase, EntityTameable, PathNavigate, En...
sethten/MoDesserts
mcp50/temp/src/minecraft_server/net/minecraft/src/EntityAIFollowOwner.java
Java
gpl-3.0
3,605
package nl.steenbrink.kaasmod.fluid; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.IIcon; import net.minecraftforge.fluids.Fluid; import net.minecraftforge.fluids.FluidStack; import nl.steenbrink.kaasmod.init.ModFluids; public class FluidCrafting extends Fluid { public FluidCrafting(String fl...
STEENBRINK/Kaasmod-2-1.7.10
src/main/java/nl/steenbrink/kaasmod/fluid/FluidCrafting.java
Java
gpl-3.0
3,230
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import java.util.ArrayList; /** * Created by kaaml on 03.03.16. */ //package ClientServiceThread; public class ClientServiceThread extends Thread { //Thread activeThread = null; Socket client...
Kaaml/laboratoria
src/ClientServiceThread.java
Java
gpl-3.0
4,680
package tr.com.arf.toys.view.converter.system; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.convert.FacesConverter; import tr.com.arf.framework.view.converter._base.BaseConverter; import tr.com.arf.toys.db.model.system.Demirbas; import tr.com.arf.toys.service...
TMMOB-BMO/TOYS
Toys/JavaSource/tr/com/arf/toys/view/converter/system/DemirbasConverter.java
Java
gpl-3.0
1,343
// $Id$ /* * CraftBook Copyright (C) 2010 sk89q <http://www.sk89q.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 late...
wizjany/craftbook
src/main/java/com/sk89q/craftbook/mech/LightSwitch.java
Java
gpl-3.0
7,493
package org.uavteam; import java.awt.*; import java.awt.image.BufferedImage; /** * Created by jtb20 on 6/5/2017. */ public class TargetData { BufferedImage target; double lat; double lon; String rotation; String shape; String shapeColor; String letterColor; String letter; String...
uav-team-ut/Manual-Recognition-Station
src/org/uavteam/TargetData.java
Java
gpl-3.0
2,311
/** * */ package com.dotmarketing.business; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import com.dotcms.repackage.jgroups_2_12_2_final.org.jgroups.JChannel; import com.dotmarketing.common.business.journal.DistributedJournalAPI; import com.dotmarketing.exception...
austindlawless/dotCMS
src/com/dotmarketing/business/DotJBCacheAdministratorLegacyImpl.java
Java
gpl-3.0
2,826
public class FindTheDuplicateNumber { public int findDuplicate(int[] nums) { int min = 0, max = nums.length - 1; while(min <= max){ int mid = min + (max - min) / 2; int cnt = 0; for(int i = 0; i < nums.length; i++){ if(nums[i] <= mid){ ...
nohupYoung/leetcode
FindTheDuplicateNumber.java
Java
gpl-3.0
525
package com.fr.design.editor.editor; import com.fr.base.Utils; import com.fr.general.Inter; /** * 整数编辑器 * * @author zhou * @since 2012-3-29下午4:02:06 */ public class IntegerEditor extends NumberEditor<Integer> { private static final long serialVersionUID = 1L; public IntegerEditor() { this(n...
fanruan/finereport-design
designer_base/src/com/fr/design/editor/editor/IntegerEditor.java
Java
gpl-3.0
998
/* * 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 w...
automenta/adams-core
src/main/java/adams/gui/chooser/BaseFileChooser.java
Java
gpl-3.0
16,950
package org.vpac.ndg.storage; import java.sql.Types; import org.hibernate.dialect.PostgreSQL94Dialect; /** * Hibernate's PostgreSQLDialect doesn't define mappings for the ARRAY type, * because there is no possible one-to-one mapping. So we define new types and * map those instead. * * http://stackoverflow.com/qu...
vpac-innovations/rsa
src/storagemanager/src/main/java/org/vpac/ndg/storage/PostgreSQLCustomDialect.java
Java
gpl-3.0
1,177
package tm.fissionwarfare.entity; import net.minecraft.block.BlockDirectional; import net.minecraft.entity.Entity; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.server.MinecraftServer; import net.minecraft.util.MathHelper; import net.minecraft.world.World; import net.minecraft.world.storage.WorldInfo; ...
TeamMonumental/FissionWarfare
src/main/java/tm/fissionwarfare/entity/EntityFlakey.java
Java
gpl-3.0
2,055
/* * Copyright (C) 2010 ETH Zurich * * This file is part of Fosstrak (www.fosstrak.org) and * was developed as part of the webofthings.com initiative. * * Fosstrak is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by...
Fosstrak/fosstrak-webadapters
src/main/java/org/fosstrak/webadapters/epcis/model/events/QuantityEvent.java
Java
gpl-3.0
4,102
package ZoneSeek.common.entities.render; import ZoneSeek.common.entities.Pterodactyl; import ZoneSeek.common.models.ModelPterodactyl; import net.minecraft.client.model.ModelBase; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivin...
TheBasedRebel/ZoneSeek
ZoneSeek/common/entities/render/RenderPterodactyl.java
Java
gpl-3.0
1,772
package com.liferay.util; import com.dotcms.UnitTestBase; import org.junit.Test; import java.util.Arrays; import java.util.List; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** * Created by Oscar Arrieta on 6/19/17. */ public class ValidatorTest extends UnitTestBase { ...
dotCMS/core
dotCMS/src/test/java/com/liferay/util/ValidatorTest.java
Java
gpl-3.0
1,014
package se.idega.idegaweb.commune.message.data; import java.util.Collection; import javax.ejb.EJBException; import javax.ejb.FinderException; import com.idega.block.process.data.AbstractCaseBMPBean; import com.idega.block.process.data.Case; import com.idega.block.school.data.School; import com.idega.core.file.data.ICF...
idega/platform2
src/se/idega/idegaweb/commune/message/data/PrintedLetterMessageBMPBean.java
Java
gpl-3.0
22,210
/**************************************************************************** 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/constraintsolver-isat3/src/test/java/epmc/constraintsolver/isat3/ISat3TextualTest.java
Java
gpl-3.0
5,155
package org.teapot.backend.model.meta; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import org.teapot.backend.model.BaseEntity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Lob; import javax.persistence.Tab...
teapot-org/teapot-backend
src/main/java/org/teapot/backend/model/meta/TeapotAction.java
Java
gpl-3.0
691
package io.github.trulyfree.modular6.test.action.impl; import java.util.ArrayList; import java.util.Collection; import java.util.List; import io.github.trulyfree.modular6.action.Action; import io.github.trulyfree.modular6.action.ActionGroup; /* Modular6 library by TrulyFree: A general-use module-building library. *...
TrulyFree/Modular6
src/test/java/io/github/trulyfree/modular6/test/action/impl/SimpleActionGroup.java
Java
gpl-3.0
1,957
package edu.wisc.cs.will.FOPC.visitors; import edu.wisc.cs.will.FOPC.Sentence; import edu.wisc.cs.will.FOPC.Term; import edu.wisc.cs.will.FOPC.Variable; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; public class VariableCollector { private static final VariableCo...
boost-starai/BoostSRL
code/src/edu/wisc/cs/will/FOPC/visitors/VariableCollector.java
Java
gpl-3.0
1,289
package com.mapzen.open.support; import android.app.ActionBar; import android.graphics.drawable.Drawable; import android.view.View; import android.widget.SpinnerAdapter; import org.robolectric.Robolectric; public class TestActionBar extends ActionBar { private CharSequence title; private boolean homeButtonEn...
opensciencemap/open
src/test/java/com/mapzen/open/support/TestActionBar.java
Java
gpl-3.0
4,345
package P30_KLeastNumbers; import java.util.ArrayList; import java.util.Comparator; import java.util.PriorityQueue; public class KLeastNumbers { public ArrayList<Integer> GetLeastNumbers_Solution(int [] input, int k) { ArrayList<Integer> result = new ArrayList<Integer>(); int length = input...
buaachen1993/Sword4Offer
src/P30_KLeastNumbers/KLeastNumbers.java
Java
gpl-3.0
1,093
/* * This file is part of the L2J Global project. * * 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 p...
rubenswagner/L2J-Global
java/com/l2jglobal/gameserver/model/stats/finalizers/RegenMPFinalizer.java
Java
gpl-3.0
5,614
package com.yelbosh.gof.template; /** * A concrete class extends AbstractRead * This class can read HTML from a HTTP URL */ import java.io.*; import java.net.*; public class ReadHtml extends AbstractRead { private URLConnection conn; private BufferedReader in; public ReadHtml() { ...
Yelbosh/deep-in-algorithms
src/main/java/com/yelbosh/gof/template/ReadHtml.java
Java
gpl-3.0
1,544
/* * Copyright (C) 2021 Timo Vesalainen <timo.vesalainen@iki.fi> * * 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 ve...
tvesalainen/util
jmx/src/main/java/org/vesalainen/jmx/SimpleMBeanServerBuilder.java
Java
gpl-3.0
1,505
/* * Grakn - A Distributed Semantic Database * Copyright (C) 2016 Grakn Labs Limited * * Grakn 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...
fppt/mindmapsdb
grakn-core/src/main/java/ai/grakn/graql/MatchQuery.java
Java
gpl-3.0
5,566
package org.jenseigne.lettre; public class LetterHUpper extends ASymbol { @Override public char getCharacter() { return 'H'; } @Override public void initListGraphic() { append(new Line(UPPER_RIGHT_CORNER, BOTTOM_RIGHT_CORNER)); append(new DrawJump()); append(new Line(UPPER_LEFT_CORNER, BOTTOM_LEFT_CORNE...
jsaintyv/JEnseigne
src/org/jenseigne/lettre/LetterHUpper.java
Java
gpl-3.0
463
package at.big_buum_man.server.gui.objects; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import at.big_buum_man.server.gui.helper.Variables; /*** * @version 1.0 * @author Michael Januschek * */ public class MapListe { ArrayList<String[]> v=ne...
MichaelJ2/big-buum-man
source/big-buum-man-server/src/main/java/at/big_buum_man/server/gui/objects/MapListe.java
Java
gpl-3.0
1,486
package org.bglogin.web.config; import java.util.Locale; import org.springframework.context.MessageSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.su...
gvincenzi/bglogin
bglogin-web/src/main/java/org/bglogin/web/config/SpringMvcConfig.java
Java
gpl-3.0
2,435