code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
package org.ebookdroid.core; import android.graphics.Rect; import android.graphics.RectF; import com.foobnix.model.AppBook; import org.ebookdroid.common.settings.SettingsManager; import org.ebookdroid.common.settings.types.DocumentViewMode; import org.ebookdroid.common.settings.types.PageAlign; import org.ebookdroid...
foobnix/LirbiReader
app/src/main/java/org/ebookdroid/core/HScrollController.java
Java
gpl-3.0
3,996
package gui; import java.awt.Dimension; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.text.DecimalFormat; import java.text.NumberF...
otting/NebenkostenAssistent
src/gui/WorkFrame.java
Java
gpl-3.0
4,016
package com.infox.sysmgr.entity.base; import java.io.Serializable; public class BaseField implements Serializable { private static final long serialVersionUID = 1L; private int hashCode = Integer.MIN_VALUE; // fields private java.lang.String name; private java.lang.String fieldType; priva...
yhqmcq/infox
src/main/java/com/infox/sysmgr/entity/base/BaseField.java
Java
gpl-3.0
1,767
/* * This file is part of the GeMTC software for MTC model generation and * analysis. GeMTC is distributed from http://drugis.org/gemtc. * Copyright (C) 2009-2012 Gert van Valkenhoef. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as...
drugis/mtc
mtc-gui/src/main/java/org/drugis/mtc/presentation/results/NetworkVarianceTableModel.java
Java
gpl-3.0
3,491
/* * Copyright 2012 Adam Roughton. * * This file is part of CrowdHammer. * * CrowdHammer 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) ...
adam-roughton/CrowdHammer
src/main/java/com/adamroughton/crowdhammer/master/state/MasterStateType.java
Java
gpl-3.0
932
package com.gildedgames.aether.client.renderer.tile_entities; import com.gildedgames.aether.client.models.entities.tile.ModelPresent; import com.gildedgames.aether.common.items.blocks.ItemBlockPresent; import com.gildedgames.aether.common.tiles.TileEntityPresent; import net.minecraft.client.renderer.GlStateManager; im...
Better-Aether/Better-Aether
src/main/java/com/gildedgames/aether/client/renderer/tile_entities/TileEntityPresentRenderer.java
Java
gpl-3.0
2,920
/** __ __ * _____ _/ /_/ /_ Computational Intelligence Library (CIlib) * / ___/ / / / __ \ (c) CIRG @ UP * / /__/ / / / /_/ / http://cilib.net * \___/_/_/_/_.___/ */ package net.sourceforge.cilib.problem.boundaryconstraint; import net.sourceforge.cilib.entity.Entity; import net.sourceforg...
censlin/cilib-old
library/src/main/java/net/sourceforge/cilib/problem/boundaryconstraint/PreviousPosition.java
Java
gpl-3.0
1,495
package org.monstercraft.irc.ircplugin.event.events; import java.util.EventListener; import org.monstercraft.irc.ircplugin.event.EventMulticaster; import org.monstercraft.irc.ircplugin.event.listeners.IRCListener; import org.monstercraft.irc.plugin.wrappers.IRCServer; public class PluginDisconnectEvent extends IRCEv...
Monstercraft/MonsterIRC
src/main/java/org/monstercraft/irc/ircplugin/event/events/PluginDisconnectEvent.java
Java
gpl-3.0
758
/** */ package sc.ndt.editor.fast.fastfst; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>nTEC Sres</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link sc.ndt.editor.fast.fastfst.nTEC_Sres...
cooked/NDT
sc.ndt.editor.fast.fst/src-gen/sc/ndt/editor/fast/fastfst/nTEC_Sres.java
Java
gpl-3.0
2,191
package com.oryx.core.converter; import com.vaadin.data.util.converter.Converter; import org.apache.log4j.Logger; import javax.xml.datatype.DatatypeConfigurationException; import javax.xml.datatype.DatatypeFactory; import javax.xml.datatype.XMLGregorianCalendar; import java.text.ParseException; import java.text.Simpl...
241180/Oryx
oryx-client/client-core/src/main/java/com/oryx/core/converter/XMLGregorianCalendarStringConverter.java
Java
gpl-3.0
2,519
/* * 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/goe/AbstractIntegralNumberEditor.java
Java
gpl-3.0
3,227
package fi.pyramus.dao.users; import java.util.Date; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Root; import fi.pyramus.dao.PyramusEnti...
leafsoftinfo/pyramus
persistence/src/main/java/fi/pyramus/dao/users/PasswordResetRequestDAO.java
Java
gpl-3.0
2,326
package com.stt.util2; import java.util.UUID; /** * @Author shitongtong * <p> * Created by shitongtong on 2017/3/24. */ public class UUIDUtil { /** * 带"-"分割的 * @return */ public static String randomUUID(){ return UUID.randomUUID().toString(); } /** * 不带"-"分割的 * @...
shitongtong/libraryManage
stt-util/src/main/java/com/stt/util2/UUIDUtil.java
Java
gpl-3.0
603
package be.neutrinet.ispng.security; import be.neutrinet.ispng.vpn.Users; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; import org.apache.log4j.Logger; import java.sql.SQLException; import java.util.UUID; /** * Created by wannes on 12/20/14. */ @DatabaseTable(tableName =...
Neutrinet/ISP-ng
src/main/java/be/neutrinet/ispng/security/SessionToken.java
Java
gpl-3.0
1,487
package demo.designpatterns.simplefactory; /** * Created by Roger Xu on 2017/6/24. */ public class MobileFactory { public Mobile getMobile(String title) throws Exception { if (title.equalsIgnoreCase("nokia")) { return new Nokia(); } else if (title.equalsIgnoreCase("motorola")) { ...
rogerxu/design-patterns
src/main/java/demo/designpatterns/simplefactory/MobileFactory.java
Java
gpl-3.0
456
/* * This file is part of the LibreOffice project. * * 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/. * * This file incorporates work covered by the following lice...
qt-haiku/LibreOffice
qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java
Java
gpl-3.0
1,768
/** * Contains methods for working with device using the MODBUS protocol over * RS232 */ package kernel.modbus;
OmicronProject/BakeoutController-Basic
src/main/java/kernel/modbus/package-info.java
Java
gpl-3.0
114
/* * PropertiesToolBar.java * * Copyright (C) 2002-2017 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. * * T...
takisd123/executequery
src/org/executequery/gui/prefs/PropertiesToolBar.java
Java
gpl-3.0
13,636
package com.compwiz1548.elementaltemples.item; public class ItemForestRelic extends ItemET { public ItemForestRelic() { super(); this.setUnlocalizedName("forestRelic"); this.setMaxStackSize(1); } }
compwiz1548/ElementalTemples
src/main/java/com/compwiz1548/elementaltemples/item/ItemForestRelic.java
Java
gpl-3.0
235
/* * VerticalGlass.java * Copyright (C) 2010-2011 Jonas Eriksson * * 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 versio...
zqad/zmask
src/org/zkt/zmask/masks/VerticalGlass.java
Java
gpl-3.0
2,138
package com.neemre.bitplexus.backend.model; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; i...
priiduneemre/bitplexus
src/main/java/com/neemre/bitplexus/backend/model/AddressType.java
Java
gpl-3.0
4,237
package com.dotmarketing.portlets.dashboard.model; import java.io.Serializable; import java.util.Date; public class DashboardSummaryPeriod implements Serializable { private static final long serialVersionUID = 1L; private long id; private Date fullDate; private int day; private String dayName; pri...
ggonzales/ksl
src/com/dotmarketing/portlets/dashboard/model/DashboardSummaryPeriod.java
Java
gpl-3.0
1,302
package ltf.namerank.dao.fs; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.TypeReference; import ltf.namerank.dao.DictItemDao; import ltf.namerank.entity.DictItem; import ltf.namerank.entity.DictItem_Bm8; import ltf.namerank.utils.PathUtils; import org.springframework.stereotype.Component; import java...
ltf/lab
jlab/namerank/src/main/java/ltf/namerank/dao/fs/DictItemDaoImpl.java
Java
gpl-3.0
1,864
/* * ModelManager.java * * DMXControl for Android * * Copyright (c) 2012 DMXControl-For-Android. All rights reserved. * * This software 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;...
DMXControl/DMXControl-for-Android
DMXControl/src/de/dmxcontrol/model/ModelManager.java
Java
gpl-3.0
3,722
package cz.devaty.projects.gio; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.stream.Collectors; public class Main { /** * předmět a -> 3., 7.O * předmět b -> 4., 8.O * předmě...
MrMid/gio-seminare
rozvrhovac/src/cz/devaty/projects/gio/Main.java
Java
gpl-3.0
2,895
package is.idega.idegaweb.campus.business; import javax.ejb.CreateException; import com.idega.business.IBOHomeImpl; public class ContractRenewalServiceHomeImpl extends IBOHomeImpl implements ContractRenewalServiceHome { public Class getBeanInterfaceClass() { return ContractRenewalService.class; } public Cont...
idega/platform2
src/is/idega/idegaweb/campus/business/ContractRenewalServiceHomeImpl.java
Java
gpl-3.0
430
package org.reunionemu.jreunion.model.quests.restrictions; import org.reunionemu.jreunion.model.quests.Restriction; /** * @author Aidamina * @license http://reunion.googlecode.com/svn/trunk/license.txt */ public interface RaceRestriction extends Restriction { public Integer getId(); }
ReunionDev/reunion
jreunion/src/main/java/org/reunionemu/jreunion/model/quests/restrictions/RaceRestriction.java
Java
gpl-3.0
294
package fi.otavanopisto.pyramus.domainmodel.clientapplications; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; impor...
otavanopisto/pyramus
persistence/src/main/java/fi/otavanopisto/pyramus/domainmodel/clientapplications/ClientApplicationAccessToken.java
Java
gpl-3.0
2,460
vetor[10] = {31, 16, 45, 87, 37, 99, 21, 43, 10, 48} valorProcurado = 87 indice = -1 for (i = 0; i < vetor.length - 1; i++) { if (vetor[i] == valorProcurado) { indice = i } }
amasiero/algoritmos_estrutura_dados
aula_04/beamer/src/sequencial.java
Java
gpl-3.0
193
package de.baleipzig.iris.ui.playground; import com.vaadin.navigator.View; import com.vaadin.navigator.ViewChangeListener; import com.vaadin.spring.annotation.SpringView; import com.vaadin.spring.annotation.UIScope; import com.vaadin.ui.Label; import com.vaadin.ui.VerticalLayout; import javax.annotation.PostConstruct...
fluoxa/Iris
src/main/java/de/baleipzig/iris/ui/playground/RonnyView.java
Java
gpl-3.0
681
package tmp.generated_xhtml; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class Content_var_Choice110 extends Content_var_Choice1 { public Content_var_Choice110(Element_i element_i, Token firstToken, Token lastToken) { super(new Property[] { new P...
ckaestne/CIDE
CIDE_Language_XML_concrete/src/tmp/generated_xhtml/Content_var_Choice110.java
Java
gpl-3.0
783
/* * Copyright (C) 2015 Rubén Héctor García (raiben@gmail.com) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. ...
raiben/made
madetools/core/src/main/java/com/velonuboso/made/core/abm/api/IBehaviourTreeBlackboard.java
Java
gpl-3.0
878
package DynamicFlink; public class csv1POJO1446411691328{ String latitude; public void setLatitude(String latitude) { this.latitude = latitude; } public String getLatitude() { return this.latitude; } String longitude; public void setLongitude(String longitude) { this.longitude = longitude; } public String getLongitude(...
nict-isp/ETL-flow-editor
backend/DynamicFlink/csv1POJO1446411691328.java
Java
gpl-3.0
499
/* ############################### # Copyright (C) 2012 Jon Schang # # This file is part of jSchangLib, released under the LGPLv3 # # jSchangLib 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 ...
jschang/jSchangLib
investing/src/main/java/com/jonschang/investing/valuesource/TrueRangeValueSource.java
Java
gpl-3.0
2,142
package io.github.ititus.mymod.util; public interface ICyclable<T> { T next(int i); T prev(int i); default T next() { return next(1); } default T prev() { return prev(1); } }
iTitus/MyMod
src/main/java/io/github/ititus/mymod/util/ICyclable.java
Java
gpl-3.0
221
package com.exabilan.interfaces; import java.util.List; import com.exabilan.types.exalang.Answer; import com.exabilan.types.exalang.ExaLang; import com.exabilan.types.exalang.Question; public interface ResultAssociator { /** * Finds the question corresponding to a question number for a given version of Exa...
Thomas-Gr/exaBilan
src/main/java/com/exabilan/interfaces/ResultAssociator.java
Java
gpl-3.0
529
/********************************************************************************************* * * 'OpenGamaWebsiteHandler.java, in plugin ummisco.gama.ui.shared, is part of the source code of the * GAMA modeling and simulation platform. * (v. 1.8.1) * * (c) 2007-2020 UMI 209 UMMISCO IRD/UPMC & Partners * * Vis...
gama-platform/gama
ummisco.gama.ui.shared/src/ummisco/gama/ui/commands/OpenGamaWebsiteHandler.java
Java
gpl-3.0
1,076
package com.pajato.android.gamechat; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.NavigationView; import android.support.design.widget....
pajato/game-chat-android
app/src/main/java/com/pajato/android/gamechat/MainActivity.java
Java
gpl-3.0
8,746
package com.superman.letusgo.base; import java.util.HashMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import android.content.Context; import android.widget.Toast; import com.superman.letusgo.util.AppClient; import com.superman.letusgo.util.HttpUtil; public clas...
superman-t/LetUsGo
src/com/superman/letusgo/base/BaseTaskPool.java
Java
gpl-3.0
3,152
package com.springdemo.learningMVC.common.src.main.java.com.common.tuple; /** * A mutable triple consisting of three {@code Object} elements. * <p> * Not #ThreadSafe# * * @param <L> the left element type * @param <M> the middle element type * @param <R> the right element type * @version $Id: MutableTriple.java...
simonpatrick/stepbystep-java
spring-demo/docs/learningMVC/common/src/main/java/com/common/tuple/MutableTriple.java
Java
gpl-3.0
2,978
package com.DragonFire.recipe; import com.DragonFire.item.DFItems; import net.minecraft.init.Items; import net.minecraft.inventory.InventoryCrafting; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.IRecipe; import net.minecraft.potion.PotionUtils; import net.min...
SirBlobman/DragonFire
src/main/java/com/DragonFire/recipe/RecipePotionCookie.java
Java
gpl-3.0
2,236
/* * Generated by the Jasper component of Apache Tomcat * Version: Apache Tomcat/8.0.15 * Generated at: 2017-09-18 08:01:06 UTC * Note: The last modified time of this file was set to * the last modified time of the source file after * generation to assist with modification tracking. */ package org.ap...
agicquel/dut
M3104/JAVA/tomcat-etud/work/Catalina/localhost/gpsapp/org/apache/jsp/index_jsp.java
Java
gpl-3.0
3,368
package cm.aptoide.pt.util; import android.content.Context; public class MarketResourceFormatter { private String marketName; public MarketResourceFormatter(String marketName) { this.marketName = marketName; } public String formatString(Context context, int id, String... optParamaters) { return con...
Aptoide/aptoide-client-v8
app/src/vanilla/java/cm/aptoide/pt/util/MarketResourceFormatter.java
Java
gpl-3.0
346
package com.koushikdutta.async.http.server; import android.annotation.TargetApi; import android.content.Context; import android.content.res.AssetManager; import android.os.Build; import android.text.TextUtils; import com.koushikdutta.async.AsyncSSLSocket; import com.koushikdutta.async.AsyncSSLSocketWrapper; import co...
omerjerk/RemoteDroid
app/src/main/java/com/koushikdutta/async/http/server/AsyncHttpServer.java
Java
gpl-3.0
20,350
package com.authpro.imageauthentication; import android.app.Fragment; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.support.annotation.Nullable; import android.util.Base64; import android.util.Pair; import android.v...
phamhathanh/ImageAuthentication
client/app/src/main/java/com/authpro/imageauthentication/InputFragment.java
Java
gpl-3.0
8,323
package org.septa.android.app.services.apiinterfaces; import android.content.Context; import android.content.SharedPreferences; import android.util.Log; import com.google.gson.Gson; import com.google.gson.JsonSyntaxException; import com.google.gson.reflect.TypeToken; import org.septa.android.app.favorites.FavoriteSt...
septadev/SEPTA-Android
app/src/main/java/org/septa/android/app/services/apiinterfaces/FavoritesSharedPrefsUtilsImpl.java
Java
gpl-3.0
15,568
/** * Problem 10.1 CTCI Sorted Merge * * You are given two sorted arrays, a and b, where a has a large enough buffer at the end to hold * b. Write a method to merge b into a in sorted order. * * Examples: * * a: 2, 7, 22, 44, 56, 88, 456, 5589 * b: 1, 4, 9, 23, 99, 1200 * * Result: * * result: 1, ...
pajato/java-examples
apps/misc/smerge/src/main/java/Main.java
Java
gpl-3.0
2,552
/** Eubrazil Scientific Gateway Copyright (C) 2015 CMCC 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 distri...
Ophidia/eubrazilcc-uc3-gateway
src/it/cmcc/ophidiaweb/utils/deserialization/Nodelink.java
Java
gpl-3.0
2,185
package net.fisty.packgame.client.graphics.particle; import java.awt.Graphics; import java.awt.image.ImageObserver; public abstract class Particle { public int index = 0; public abstract void render(Graphics g, ImageObserver obs); public abstract void update(); public abstract void server(); public abstract ...
fisty256/PackGame
src/net/fisty/packgame/client/graphics/particle/Particle.java
Java
gpl-3.0
402
/* This file is part of the db4o object database http://www.db4o.com Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com db4o is free software; you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation. db4o ...
potty-dzmeia/db4o
src/db4oj.tests/src/com/db4o/db4ounit/common/soda/ordered/OrderedOrConstraintTestCase.java
Java
gpl-3.0
1,737
/* Copyright (C) 2011 Lorenzo Bernardi (fastlorenzo@gmail.com) 2010 Ben Van Daele (vandaeleben@gmail.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at...
fastlorenzo/mvfa
src/be/bernardi/mvforandroid/data/DatabaseHelper.java
Java
gpl-3.0
12,330
package omr.gui; import java.awt.Color; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.KeyStroke; /** * Menu bar of the main window....
CaronLe/chanhthings2
src/omr/gui/Menu.java
Java
gpl-3.0
6,822
/** * Balero CMS Project: Proyecto 100% Mexicano de código libre. * Página Oficial: http://www.balerocms.com * * @author Anibal Gomez <anibalgomez@icloud.com> * @copyright Copyright (C) 2015 Neblina Software. Derechos reservados. * @license Licencia BSD; vea LICENSE.txt */ package com.neblina.balero....
neblina-software/balerocms-v2
src/main/java/com/neblina/balero/util/AntiXSS.java
Java
gpl-3.0
854
package com.link184.respiration; import com.squareup.javapoet.AnnotationSpec; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.JavaFile; import com.squareup.javapoet.MethodSpec; import com.squareup.javapoet.ParameterizedTypeName; import com.squareup.javapoet.TypeName; import com.squareup.javapoet.T...
Link184/Respiration
respiration-compiler/src/main/java/com/link184/respiration/LocalRepositoryClassGenerator.java
Java
gpl-3.0
3,600
package fr.guiguilechat.jcelechat.model.sde.attributes; import fr.guiguilechat.jcelechat.model.sde.IntAttribute; /** * */ public class MiningDurationRoleBonus extends IntAttribute { public static final MiningDurationRoleBonus INSTANCE = new MiningDurationRoleBonus(); @Override public int getId() ...
guiguilechat/EveOnline
model/sde/SDE-Types/src/generated/java/fr/guiguilechat/jcelechat/model/sde/attributes/MiningDurationRoleBonus.java
Java
gpl-3.0
830
package org.baeldung; import static org.junit.Assert.assertEquals; import java.util.Collections; import java.util.OptionalInt; import java.util.Set; import javax.validation.ConstraintViolation; import javax.validation.Validation; import javax.validation.Validator; import javax.validation.ValidatorFactory; import org...
Niky4000/UsefulUtils
projects/tutorials-master/tutorials-master/javaxval/src/test/java/org/baeldung/ContainerValidationIntegrationTest.java
Java
gpl-3.0
3,005
package com.zanghongtu.blog.util; /** * 摘要 */ public class SummaryParser { private static final int SUMMARY_LENGTH = 256; /** * 去除info里content 所有html字符 * 截取字符串长度256 * @param sourceStr 源字符串 * @return 截取后的字符串 */ public static String getSummary(String sourceStr) { if(StringUt...
zanghongtu2006/blog
src/main/java/com/zanghongtu/blog/util/SummaryParser.java
Java
gpl-3.0
2,801
package org.baeldung.persistence.model; import io.katharsis.resource.annotations.JsonApiId; import io.katharsis.resource.annotations.JsonApiRelation; import io.katharsis.resource.annotations.JsonApiResource; import io.katharsis.resource.annotations.SerializeType; import java.util.Set; import javax.persistence.Entity...
Niky4000/UsefulUtils
projects/tutorials-master/tutorials-master/spring-katharsis/src/main/java/org/baeldung/persistence/model/User.java
Java
gpl-3.0
2,768
/* * Labdoo API Copyright (C) 2012 Labdoo team 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...
carlosb1/labdoo-api
tests/ClientTest.java
Java
gpl-3.0
3,807
/* * WANDORA * Knowledge Extraction, Management, and Publishing Application * http://wandora.org * * Copyright (C) 2004-2016 Wandora Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundatio...
wandora-team/wandora
src/org/wandora/application/tools/extractors/europeana/EuropeanaExtractor.java
Java
gpl-3.0
2,752
/** * * Copyright (c) 2014, Openflexo * * This file is part of Gina, 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 at * ...
openflexo-team/gina
gina-api/src/main/java/org/openflexo/gina/model/bindings/FIBVariablePathElement.java
Java
gpl-3.0
6,703
/* * This file is part of QuarterBukkit-Plugin. * Copyright (c) 2012 QuarterCode <http://www.quartercode.com/> * * QuarterBukkit-Plugin 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...
QuarterCode/QuarterBukkit
plugin/src/main/java/com/quartercode/quarterbukkit/util/QuarterBukkitExceptionListener.java
Java
gpl-3.0
2,265
public class Schuler { private String name; private int test1; private int test2; private int test3; public Schuler() { name = ""; test1 = 0; test2 = 0; test3 = 0; } public void setName(String nm) { name = nm; } public String getName() { return name; } public void setPunkte(int i, int punkte...
Dominik-Licari/schoolwork
src/Schuler.java
Java
gpl-3.0
758
/** * This file is part of Graylog. * * Graylog 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. * * Graylog is distributed in t...
pdepaepe/graylog2-server
graylog2-server/src/test/java/org/graylog2/alerts/types/FieldContentValueAlertConditionTest.java
Java
gpl-3.0
7,289
/******************************************************************************* * Signavio Core Components * Copyright (C) 2012 Signavio GmbH * * 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 Found...
KarnYong/BPaaS-modeling
platform extensions/bpmn20xmlbasic/src/de/hpi/bpmn2_0/factory/node/DataStoreFactory.java
Java
gpl-3.0
3,603
/* Grammatical Evolution in Java Release: GEVA-v2.0.zip Copyright (C) 2008 Michael O'Neill, Erik Hemberg, Anthony Brabazon, Conor Gilligan Contributors Patrick Middleburgh, Eliott Bartley, Jonathan Hugosson, Jeff Wrigh Separate licences for asm, bsf, antlr, groovy, jscheme, commons-logging, jsci is included in the l...
leokdawson/di-geva
GEVA/test/Operator/Operations/ContextSensitiveOperations/NodalMutationTest.java
Java
gpl-3.0
6,288
package com.bonepeople.android.sdcardcleaner.basic; import android.content.DialogInterface; import android.content.pm.PackageManager; import android.os.Message; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatAc...
bonepeople/SDCardCleaner
app/src/main/java/com/bonepeople/android/sdcardcleaner/basic/BaseAppCompatActivity.java
Java
gpl-3.0
3,515
/* * Copyright (C) 2010---2013 星星(wuweixing)<349446658@qq.com> * * This file is part of Wabacus * * Wabacus 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...
foxerfly/Wabacus4.1src
src/com/wabacus/system/datatype/IntType.java
Java
gpl-3.0
3,450
package com.piron1991.builder_tools.reference; public class Reference { public static final String MOD_ID = "builder_tools"; public static final String VERSION = "0.1"; public static final String MOD_NAME = "Builder tools"; public static final String CPROXY = "com.piron1991.builder_tools.proxy.clientP...
Piron1991/Builder_tools
src/main/java/com/piron1991/builder_tools/reference/Reference.java
Java
gpl-3.0
575
/* * Twidere - Twitter client for Android * * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the Lice...
pahans/Kichibichiya
src/com/pahans/kichibichiya/loader/UserSearchLoader.java
Java
gpl-3.0
1,944
package com.teckcoder.crashengine.file; import com.teckcoder.crashengine.utils.logger.Logger; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStream; public class FileStream { File file = null; FileLocationType locationType = null; private FileStrea...
Techwave-dev/OpenGlModernGameEngine
src/com/teckcoder/crashengine/file/FileStream.java
Java
gpl-3.0
1,379
/** * This file is part of tera-api. * * tera-api 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. * * tera-api is dis...
xGamers665/tera-emu
com.tera.common.database/src/main/java/com/tera/common/database/dao/ServerPropertiesDAO.java
Java
gpl-3.0
1,348
package com.watabou.pixeldungeon.windows; import com.nyrds.pixeldungeon.game.GameLoop; import com.nyrds.pixeldungeon.game.GamePreferences; import com.nyrds.pixeldungeon.ml.R; import com.nyrds.pixeldungeon.utils.ModDesc; import com.nyrds.pixeldungeon.windows.DownloadProgressWindow; import com.nyrds.pixeldungeon.windows...
NYRDS/pixel-dungeon-remix
RemixedDungeon/src/main/java/com/watabou/pixeldungeon/windows/WndModSelect.java
Java
gpl-3.0
5,619
/* * 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...
mbshopM/openconcerto
OpenConcerto/src/org/openconcerto/sql/element/SQLElementDirectory.java
Java
gpl-3.0
11,868
/* 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 the terms of the GNU General Public License * as published by the Free Software Foundation; eith...
iCarto/siga
libCorePlugin/src/com/iver/core/ConfigExtension.java
Java
gpl-3.0
2,163
package cn.bjsxt.oop.inherit; /** * 测试组合 * @author dell * */ public class Animal2 { String eye; public void run(){ System.out.println("跑跑!"); } public void eat(){ System.out.println("吃吃!"); } public void sleep(){ System.out.println("zzzzz"); } public Animal2(){ super(); ...
yangweijun213/Java
J2SE300/28_51OO/src/cn/bjsxt/oop/inherit/Animal2.java
Java
gpl-3.0
1,087
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2021 Evan Debenham * * 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 vers...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/tiles/DungeonWallsTilemap.java
Java
gpl-3.0
3,780
package org.schabi.newpipe.player; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.os.AsyncTask; import android.preference.PreferenceManager; import android.support.annotation.NonNull; import android.text.TextUtils; import android.ut...
BlenderViking/NewPipe
app/src/main/java/org/schabi/newpipe/player/LunchAudioTrack.java
Java
gpl-3.0
10,189
package org.melodi.learning.service; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.UnsupportedEncodingException; import org.melodi.tools.dataset.DataSet_Corpora; import org.melodi.tools.evaluation.Evaluation_Service; import opennlp.ma...
fauconnier/LaToe
src/org/melodi/learning/service/Classifier_MaxEnt.java
Java
gpl-3.0
3,139
/******************************************************************************* * Copyright (C) 2010 Lucas Madar and Peter Brewer * * 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 ...
petebrew/tellervo
src/main/java/org/tellervo/desktop/hardware/device/LintabDevice.java
Java
gpl-3.0
11,073
package bms.player.beatoraja.result; import static bms.player.beatoraja.ClearType.*; import static bms.player.beatoraja.skin.SkinProperty.*; import java.util.*; import java.util.logging.Logger; import bms.player.beatoraja.input.KeyCommand; import com.badlogic.gdx.utils.FloatArray; import bms.model.BMSModel; import ...
exch-bms2/beatoraja
src/bms/player/beatoraja/result/CourseResult.java
Java
gpl-3.0
12,539
package com.epam.jdi.uitests.mobile.appium.driver; /* * Copyright 2004-2016 EPAM Systems * * This file is part of JDI project. * * JDI 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 versi...
alexeykuptsov/JDI
Java/JDI/jdi-uitest-mobile/src/main/java/com/epam/jdi/uitests/mobile/appium/driver/WebDriverUtils.java
Java
gpl-3.0
1,834
package gradingTools.comp301ss21.assignment4.controller; import gradingTools.basics.sharedTestCase.checkstyle.CheckstyleClassInstantiatedTestCase; import gradingTools.basics.sharedTestCase.checkstyle.CheckstyleMethodCalledTestCase; import gradingTools.comp301ss21.assignment2.testcases.inheritance.TaggedLocatable; ...
pdewan/Comp401LocalChecks
src/gradingTools/comp301ss21/assignment4/controller/SceneControllerCallsSay.java
Java
gpl-3.0
1,051
package tools.renamers; import java.io.PrintWriter; import java.util.Arrays; import java.util.jar.JarEntry; import java.util.jar.JarFile; import tools.EntryPoint; import tools.Tool; import tools.utils.EnumerationIterator; import tools.utils.MappingUtils; import tools.utils.Utils; public class AllClassesRenamer imple...
MCCarbon/DecompileTools
src/tools/renamers/AllClassesRenamer.java
Java
gpl-3.0
1,654
package ft.sim.monitoring; import static ft.sim.monitoring.ViolationSeverity.*; import static ft.sim.monitoring.ViolationType.*; import ft.sim.world.train.Train; import ft.sim.world.connectables.Connectable; import ft.sim.world.connectables.Section; import ft.sim.world.connectables.Station; import ft.sim.world.connec...
sinaa/train-simulator
src/main/java/ft/sim/monitoring/ViolationBuilder.java
Java
gpl-3.0
2,596
package net.ess3.commands; import net.ess3.api.IUser; public class Commandworkbench extends EssentialsCommand { @Override public void run(final IUser user, final String commandLabel, final String[] args) throws Exception { user.getPlayer().openWorkbench(null, true); } }
Curtis3321/Essentials
Essentials/src/net/ess3/commands/Commandworkbench.java
Java
gpl-3.0
280
/** * Copyright (C) Intersect 2012. * * This module contains Proprietary Information of Intersect, * and should be treated as Confidential. */ package au.org.intersect.exsite9.service; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertN...
IntersectAustralia/exsite9
exsite9/test/au/org/intersect/exsite9/service/SchemaServiceUnitTest.java
Java
gpl-3.0
9,680
package com.esd.phicomm.bruce.esdapp; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; /** * Created by Bruce on 201...
bruce-wei/EsdApp
app/src/main/java/com/esd/phicomm/bruce/esdapp/Gpio.java
Java
gpl-3.0
3,231
/* * Pixel Dungeon * Copyright (C) 2012-2014 Oleg Dolya * * 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. * * ...
sloanr333/opd-legacy
src/com/watabou/legacy/items/Stylus.java
Java
gpl-3.0
3,298
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package beans; import dao.EstadoJpaController; import dao.exceptions.NonexistentEntityException; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.faces.application.Fac...
dnspinheiro/cooperTaxi
src/java/beans/EstadoBean.java
Java
gpl-3.0
3,051
package toncc; import javax.swing.*; /** Utility class to run JFrame-based GUI classes. * * @author Bruce Eckel, Giacomo Parolini */ class SwingConsole { private static void prepare(final JFrame f) { f.setTitle(f.getClass().getSimpleName()); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); } public stati...
silverweed/toncc
SwingConsole.java
Java
gpl-3.0
1,849
package controle.gui_jogo; import controle.configuradores_gui.ConfiguradorVisualizadorDeCartas; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.List; import javax.imageio.IIOImage; import javax.imageio.ImageIO; impo...
vandaimer/TrabalhoEs
src/controle/gui_jogo/ObservadorDoControleRemoto.java
Java
gpl-3.0
1,791
package bigarrays; /** * @author vincent.gardeux@epfl.ch * * Class for representing a float static array requiring address space larger than 32 bits. */ public class FloatArray64 { private static final int CHUNK_SIZE = 1024*1024*512; private long size; private float[][] data; public FloatArray64(...
DeplanckeLab/ASAP
Java/src/bigarrays/FloatArray64.java
Java
gpl-3.0
2,467
/* * Biocep: R-based Platform for Computational e-Science. * * Copyright (C) 2007-2009 Karim Chine - karim.chine@m4x.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 ve...
rforge/biocep
src_server_common/org/kchine/r/server/GenericCallbackDevice.java
Java
gpl-3.0
949
package com.avygeil.GrandVide; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class GVDatabaseHelper { private final GrandVide gv; private final String url; private final Stri...
riking/GrandVide
src/com/avygeil/GrandVide/GVDatabaseHelper.java
Java
gpl-3.0
4,268
package cf.energizingcoalition.energizingcoalition.proxy; public class ClientProxy extends CommonProxy { @Override public void registerRenderers() { } }
energizingcoalition/energizingcoalition
src/main/java/cf/energizingcoalition/energizingcoalition/proxy/ClientProxy.java
Java
gpl-3.0
161
/* * WorldEdit, a Minecraft world manipulation toolkit * Copyright (C) sk89q <http://www.sk89q.com> * Copyright (C) WorldEdit team and contributors * * 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 Sof...
UnlimitedFreedom/UF-WorldEdit
worldedit-core/src/main/java/com/sk89q/worldedit/util/command/InvalidUsageException.java
Java
gpl-3.0
3,497
/** * ByteCart, ByteCart Redux * Copyright (C) Catageek * Copyright (C) phroa * * 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...
phroa/ByteCartRedux
src/main/java/com/github/catageek/bytecart/sign/BC7019.java
Java
gpl-3.0
3,023
package com.javarush.test.level07.lesson12.home01; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /* Вывести числа в обратном порядке Ввести с клавиатуры 10 чисел и заполнить ими список. Вывести их в обратном порядке. Исп...
andrey-gabchak/JavaRushLabs
com/javarush/test/level07/lesson12/home01/Solution.java
Java
gpl-3.0
958
package com.game.clean; import org.apache.log4j.Logger; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.Arrays; import java.util.LinkedList; import java.util.concurrent.*; /** * Created by wanggq on 2016/11/9. */ public class MainUI { Logger logger = Logger.getLogger(this.get...
wangguanquan/wsjob
src/main/java/cn/colvin/game/MainUI.java
Java
gpl-3.0
19,036