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) 2002-2007 The FreeCol Team
*
* This file is part of FreeCol.
*
* FreeCol 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... | tectronics/reformationofeurope | src/net/sf/freecol/common/model/ModelMessage.java | Java | gpl-2.0 | 16,955 |
package optfine;
import java.util.Properties;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.WorldRenderer;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
public class CustomSkyLayer
{
public String sou... | SkidJava/BaseClient | new_1.8.8/optfine/CustomSkyLayer.java | Java | gpl-2.0 | 10,956 |
package com.yykj.micromsg.services.impl;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.sf.json.JSONArray;
import org.springframework.stereotype.Service;
import com.yykj.micromsg.services.INopaymetnRecordService;
import c... | hankqin/device-manager | device-zjjs/src/com/yykj/micromsg/services/impl/NopaymetnRecordService.java | Java | gpl-2.0 | 4,010 |
/*
All code copyright Tom Weingarten (captaint@home.com) 2000
Tom Weingarten makes no assurances as to the reliability or
functionality of this code. Use at your own risk.
You are free to edit or redistribute this code or any portion
at your wish, under the condition that you do not edit or
remove this license, and ... | ZabinX/DuskRPG | DuskFiles/Dusk2.7.3src/DuskEngine.java | Java | gpl-2.0 | 78,814 |
package com.lunagameserve.decarbonator.statistics;
import android.content.Context;
import android.graphics.Canvas;
import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
import java.util.List;
/**
* Created by sixstring982 on 2/23/15.
*/
public class StatisticSet {
@NotNull
private List<Pol... | Sixstring982/gastastic | src/com/lunagameserve/decarbonator/statistics/StatisticSet.java | Java | gpl-2.0 | 2,009 |
package br.com.fmarcheni.feuc.controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class IndexController extends HttpServlet{
@Override... | flaviomarcheni/feuc_caminho_virtual | caminhoVirtual/src/br/com/fmarcheni/feuc/controller/IndexController.java | Java | gpl-2.0 | 521 |
/*
* Copyright (c) 1998-2011 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | dlitz/resin | modules/quercus/src/com/caucho/quercus/program/JavaClassDef.java | Java | gpl-2.0 | 44,069 |
/*-
* APT - Analysis of Petri Nets and labeled Transition systems
* Copyright (C) 2014 Uli Schlachter
*
* 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... | CvO-Theory/apt | src/lib/uniol/apt/util/equations/EquationSystem.java | Java | gpl-2.0 | 10,250 |
package com.christopherfebles.magic.controller;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.anno... | christopherfebles/magicdbwebapp | src/main/java/com/christopherfebles/magic/controller/MagicController.java | Java | gpl-2.0 | 7,809 |
package com.marginallyclever.convenience;
import java.util.ArrayList;
public class LineCollection extends ArrayList<LineSegment2D> {
private static final long serialVersionUID = 1L;
private boolean[] usePt;
public LineCollection() {
super();
}
public LineCollection(ArrayList<LineSegment2D> list) {
super()... | MarginallyClever/Makelangelo-software | src/main/java/com/marginallyclever/convenience/LineCollection.java | Java | gpl-2.0 | 2,897 |
package com.addepar.heapdump.inspect.inferior;
/**
* Thrown when an attempt is made to look up a symbol that cannot be found in the inferior
*/
@SuppressWarnings("serial")
public class NoSuchSymbolException extends RuntimeException {
public NoSuchSymbolException(String symbolName) {
super(symbolName);
}
}
| geoff-addepar/heap-dump | src/com/addepar/heapdump/inspect/inferior/NoSuchSymbolException.java | Java | gpl-2.0 | 319 |
package Projet.Mediateur;
import java.io.IOException;
import java.net.Authenticator;
import java.net.PasswordAuthentication;
import javax.swing.UIManager;
import javax.xml.parsers.ParserConfigurationException;
import org.apache.jena.atlas.logging.Log;
import org.apache.jena.atlas.logging.LogCtl;
import org.json.JSON... | mohamedkettouch/MovieCollectionManager | src/Projet/Mediateur/main.java | Java | gpl-2.0 | 2,004 |
/* $Id: textClient.java,v 1.34 2013/04/22 21:51:39 kiheru Exp $ */
/***************************************************************************
* (C) Copyright 2003 - Marauroa *
***************************************************************************
*********************... | sourceress-project/archestica | src/games/stendhal/client/textClient.java | Java | gpl-2.0 | 7,772 |
package co.petsland.model.control;
import co.petsland.model.Sucursales;
import co.petsland.model.dto.SucursalesDTO;
import java.math.BigDecimal;
import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;
/**
* @author Zathura Code Generator http://code.google.com/p/zathura
* www.zathur... | cesarvarela04/R_Pets_Land | src/main/java/co/petsland/model/control/ISucursalesLogic.java | Java | gpl-2.0 | 1,458 |
package cn.lucifer.thread;
import java.util.concurrent.ScheduledThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
public class ThreadTest2 {
private static ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(
10);
public static void main(String[] args) {
long start = Sys... | hjp4lucifer/lucifer_test | src/main/java/cn/lucifer/thread/ThreadTest2.java | Java | gpl-2.0 | 1,066 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7-b41
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.03.30 at 03:... | jacobono/gradle-jaxb-plugin | examples/hello-world-bindings-schema/src/main/java/helloworld/sample/ibm/helloworld/HelloResponseType.java | Java | gpl-2.0 | 1,801 |
package omoikane.producto;
import java.io.Serializable;
/**
* Created with IntelliJ IDEA.
* User: octavioruizcastillo
* Date: 13/04/14
* Time: 23:35
* To change this template use File | Settings | File Templates.
*/
public class PrecioAlternoPK implements Serializable {
private Articulo articulo;
pri... | ZooMMX/Omoikane | main/src/omoikane/producto/PrecioAlternoPK.java | Java | gpl-2.0 | 563 |
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | isaacl/openjdk-jdk | test/java/sql/test/sql/DateTests.java | Java | gpl-2.0 | 16,424 |
/*-
* #%L
* Fiji distribution of ImageJ for the life sciences.
* %%
* Copyright (C) 2007 - 2021 Fiji developers.
* %%
* 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 ... | fiji/SPIM_Registration | src/main/java/mpicbg/spim/registration/detection/AbstractDetection.java | Java | gpl-2.0 | 3,550 |
package com.enjoyor.hospitallink.custom;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.RectF;
import android.util.AttributeSet;
public class CircularImage extends MaskedImage {
public CircularImage(Context paramC... | degandroid/HospitalLink | app/src/main/java/com/enjoyor/hospitallink/custom/CircularImage.java | Java | gpl-2.0 | 1,117 |
package bytecode;
import java.util.HashSet;
import java.util.Set;
import java.util.List;
import javaBytecodeGenerator.GeneralClassGenerator;
import org.apache.bcel.generic.InstructionList;
import types.ClassType;
import types.CodeSignature;
import types.MethodSignature;
/**
* A bytecode that calls a method of an o... | Kaos1337/ProjectKitten | src/bytecode/VIRTUALCALL.java | Java | gpl-2.0 | 3,103 |
package ttt.board;
import ttt.Symbol;
import java.util.List;
public class BoardDisplay {
List<Symbol> board;
String display = "";
public BoardDisplay(List<Symbol> board) {
this.board = board;
}
public String showBoard() {
for (int i = 0; i < board.size(); i++) {
disp... | priya121/TicTacToe | src/main/java/ttt/board/BoardDisplay.java | Java | gpl-2.0 | 512 |
/*
* Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | smarr/Truffle | compiler/src/org.graalvm.compiler.core.common/src/org/graalvm/compiler/core/common/type/AbstractObjectStamp.java | Java | gpl-2.0 | 15,167 |
package wusc.edu.pay.web.notify.receive.mail.biz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import org.springfr... | piaolinzhi/fight | dubbo/pay/pay-web-notify-receive/src/main/java/wusc/edu/pay/web/notify/receive/mail/biz/MailBiz.java | Java | gpl-2.0 | 1,447 |
/**
*
*/
package org.imagopole.omero.tools.impl;
import static org.imagopole.omero.tools.util.AnnotationsUtil.getExportModeAnnotationInfo;
import static org.imagopole.omero.tools.util.AnnotationsUtil.getImportModeAnnotationInfo;
import static org.imagopole.omero.tools.util.ParseUtil.getFileBasename;
import java.io.... | imagopole/omero-csv-tools | src/main/java/org/imagopole/omero/tools/impl/CsvAnnotator.java | Java | gpl-2.0 | 20,257 |
package de.cb_map.database.OSMDB;
import de.cb_map.CONSTANTS;
import de.cb_map.database.IElementStreamReader;
import de.cb_map.io.utils.TimeFormat;
import de.cb_map.osm.low_memory.IntBoundingBox;
import de.cb_map.osm.low_memory.ReadOsm;
import org.junit.Test;
import org.mapsforge.map.writer.model.TDNode;
import java.... | Longri/CB_MAP | writer/src/test/java/de/cb_map/database/OSMDB/FileOSMDBTest.java | Java | gpl-2.0 | 7,347 |
package org.dolphinemu.dolphinemu.ui.settings.viewholder;
import android.view.View;
import android.widget.TextView;
import org.dolphinemu.dolphinemu.R;
import org.dolphinemu.dolphinemu.model.settings.view.SettingsItem;
import org.dolphinemu.dolphinemu.model.settings.view.SingleChoiceSetting;
import org.dolphinemu.dol... | rabbott99/dolphin | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/settings/viewholder/SingleChoiceViewHolder.java | Java | gpl-2.0 | 1,479 |
package tests.shapes;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.NetworkInterface;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import java.util.Timer;
import java.util.TimerTask;
import java.util.function.BiFunction;
import org.hpms.mw.dcrud.Arguments;
impo... | AubinMahe/dcrud | Java/test/tests/shapes/ShapesUI.java | Java | gpl-2.0 | 12,985 |
/*
* 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 program is distributed in the hope that it will be use... | moabson/j-ftp | src/java/net/sf/jftp/gui/tasks/ProxyChooser.java | Java | gpl-2.0 | 3,067 |
/*
* Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | TheTypoMaster/Scaper | openjdk/jdk/src/share/classes/javax/swing/plaf/multi/MultiRootPaneUI.java | Java | gpl-2.0 | 7,436 |
/*
* Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of ... | smarr/Truffle | truffle/src/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/Specialization.java | Java | gpl-2.0 | 17,705 |
package com.pathology.entity;
import java.sql.Timestamp;
import java.util.Date;
/**
* Image entity. @author MyEclipse Persistence Tools
*/
public class Image implements java.io.Serializable {
// Fields
private Integer idImage;
private String caseId;
private Integer rowImage;
private Integer colImage;
priva... | patholog/code | pathology/src/com/pathology/entity/Image.java | Java | gpl-2.0 | 4,987 |
package ojvm.loading.instructions;
import ojvm.data.JavaException;
import ojvm.operations.InstructionVisitor;
import ojvm.util.RuntimeConstants;
/**
* The encapsulation of a ldiv instruction.
* @author Amr Sabry
* @version jdk-1.1
*/
public class Ins_ldiv extends Instruction {
publi... | adum/bitbath | hackjvm/src/ojvm/loading/instructions/Ins_ldiv.java | Java | gpl-2.0 | 570 |
/********************************
* 프로젝트 : idu-commons
* 패키지 : com.kyj.fx.commons.utils;
* 작성일 : 2018. 12. 14.
* 작성자 : callakrsos@naver.com
*
* base source from
* [ http://egloos.zum.com/yeon97/v/1551569 ]
*
* modifer kyj.
*******************************/
package com.kyj.fx.commons.utils;
... | callakrsos/Gargoyle | gargoyle-commons/src/main/java/com/kyj/fx/commons/utils/ZipUtil.java | Java | gpl-2.0 | 7,486 |
package co.edu.icesi.driso.osr.ui.components;
import java.io.File;
import co.edu.icesi.driso.osr.ui.views.client.CategoryView;
import co.edu.icesi.driso.osr.util.OSRUtilities;
import com.vaadin.server.ExternalResource;
import com.vaadin.server.FileResource;
import com.vaadin.shared.ui.label.ContentMode;
import com.v... | unicesi/online-store-retailer | src/co/edu/icesi/driso/osr/ui/components/CategoriesSummary.java | Java | gpl-2.0 | 3,971 |
/*
* Copyright (c) 2020, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | smarr/Truffle | substratevm/src/com.oracle.svm.core.jdk17/src/com/oracle/svm/core/jdk17/Target_jdk_internal_loader_BootLoader_JDK17OrLater.java | Java | gpl-2.0 | 1,689 |
/*
* Copyright (C) 2002 Doug Porter
*
* This file is part of Muffin.
*
* Muffin 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.... | boyns/muffin | src/org/doit/muffin/filter/Cache.java | Java | gpl-2.0 | 15,190 |
/*
* 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 br.com.drivesales.dto;
import java.math.BigDecimal;
/**
*
* @author Thomas Daniel Kaneko Teixeira(tomdkt)
*/
public class ... | tomdkt/DriveSales | src/main/java/br/com/drivesales/dto/LocationAndTotalDTO.java | Java | gpl-2.0 | 838 |
package com.numhero.client.widget.panelsubmenu;
import com.google.gwt.resources.client.ResourcePrototype;
import com.google.gwt.core.client.GWT;
public class com_numhero_client_widget_panelsubmenu_StaffSubmenuPanel_StaffSubmenuPanelUiBinderImpl_GenBundle_en_US_InlineClientBundleGenerator implements com.numhero.client... | midaboghetich/netnumero | gen/com/numhero/client/widget/panelsubmenu/com_numhero_client_widget_panelsubmenu_StaffSubmenuPanel_StaffSubmenuPanelUiBinderImpl_GenBundle_en_US_InlineClientBundleGenerator.java | Java | gpl-2.0 | 1,696 |
/*
* Copyright Captainsoft 2010 - 2015.
* All rights reserved.
*/
package com.captainsoft.TADr.painting.replacer;
import com.captainsoft.spark.utils.Utils;
/**
* Wraps a TileGroupImage in a proxy with the same interface.
*
* @author mathias fringes
*/
public class TileGroupImageProxy extends TileGroupImage {
... | captainsoft/terminal-angel-disease | src/com/captainsoft/TADr/painting/replacer/TileGroupImageProxy.java | Java | gpl-2.0 | 881 |
/*
Copyright 2003-2012 Dmitry Barashev, GanttProject Team
This file is part of GanttProject, an opensource project management tool.
GanttProject 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 ... | Prasad1337/GANTTing | ganttproject/src/net/sourceforge/ganttproject/task/dependency/TaskDependencyConstraint.java | Java | gpl-2.0 | 2,627 |
package stanford;
import java.io.*;
import java.util.*;
import java.util.regex.*;
import edu.stanford.nlp.io.IOUtils;
import edu.stanford.nlp.ling.CoreLabel;
import edu.stanford.nlp.process.AbstractTokenizer;
import edu.stanford.nlp.process.CoreLabelTokenFactory;
import edu.stanford.nlp.process.PTBTokenizer;
import e... | XiaoLiuAI/RUPEE | src/java/stanford/StanfordEventTokenizer.java | Java | gpl-2.0 | 13,842 |
package edu.washington.cs.oneswarm.community2.server;
import java.io.IOException;
public class TooManyRegistrationsException extends IOException {
private int howmany;
public TooManyRegistrationsException( int howmany ) {
super("Too many registrations: " + howmany);
this.howmany = howmany;
}
public TooMany... | CSEMike/OneSwarm-Community-Server | src/edu/washington/cs/oneswarm/community2/server/TooManyRegistrationsException.java | Java | gpl-2.0 | 387 |
package utilities;
import java.util.Date;
import java.util.List;
import java.util.UUID;
public class Invoice {
//class variables
public static Integer NextInvoiceNumber = 1000;
private Integer invoiceNumber;
private Client client;
private UUID clientId;
private List<Job> jobs;
private Date date;
private Vehi... | wjrivera/tms | workspace/TireManagementService/src/utilities/Invoice.java | Java | gpl-2.0 | 1,827 |
/*
GNU GENERAL PUBLIC LICENSE
Copyright (C) 2006 The Lobo 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
verion 2 of the License, or (at your option) any later... | vikto9494/Lobo_Browser | XAMJ_Project/Primary_Extension/org/lobobrowser/primary/ext/AddBookmarkDialog.java | Java | gpl-2.0 | 4,283 |
/*
* Copyright (c) 2008, 2013 Oracle and/or its affiliates.
* All rights reserved. Use is subject to license terms.
*
* This file is available and licensed under the following license:
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | maiklos-mirrors/jfx78 | apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics2d/stopwatch/Watch.java | Java | gpl-2.0 | 9,758 |
/*****************************************************************************
* Web3d.org Copyright (c) 2006
* Java Source
*
* This source is licensed under the GNU LGPL v2.1
* Please read http://www.gnu.org/copyleft/lgpl.html for more information
*
* This so... | Norkart/NK-VirtualGlobe | Xj3D/src/java/org/xj3d/ui/swt/device/keyboard/KeyboardTracker.java | Java | gpl-2.0 | 7,335 |
package com.cf.tradeprocessor.test.config;
import java.net.Authenticator;
import java.net.PasswordAuthentication;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotatio... | camposer/cf | trade-processor/src/test/java/com/cf/tradeprocessor/test/config/ProxyConfigTest.java | Java | gpl-2.0 | 1,281 |
/*
* Copyright (C) 2016 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... | profosure/porogram | TMessagesProj/src/main/java/com/porogram/profosure1/messenger/exoplayer2/extractor/ts/Id3Reader.java | Java | gpl-2.0 | 3,959 |
package com.tocea.corolla.products.dao;
import java.util.Collection;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.mongodb.repository.Query;
import com.tocea.corolla.products.domain.ProjectBranch;
public interface IProjectBranchDAO extends MongoRepository<Projec... | sleroy/jtestlink | corolla-backend/corolla-backend-application/src/main/java/com/tocea/corolla/products/dao/IProjectBranchDAO.java | Java | gpl-2.0 | 921 |
package pt.c07bd.s01basico.s03generico;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class App03ConsultaTaxonomia
{
public static void main(String args[])
{
System.out.println("BD MyS... | santanche/java2learn | src/java/src/pt/c07bd/s01basico/s03generico/App03ConsultaTaxonomia.java | Java | gpl-2.0 | 2,091 |
/*
* Javassist, a Java-bytecode translator toolkit.
* Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. Alternatively, the contents of th... | HotswapProjects/HotswapAgent | hotswap-agent-core/src/main/java/org/hotswap/agent/javassist/compiler/ast/Pair.java | Java | gpl-2.0 | 1,900 |
package org.stephen.model;
import java.io.Serializable;
/**
* A dummy class representing a person for
* testing purposes.
* @author Stephen Andrews
*/
public class Person implements Serializable {
private String name;
private int age;
private double income;
public Person(String name, int age, double in... | Go4Git/Prep-Audio-Client | src/org/stephen/model/Person.java | Java | gpl-2.0 | 826 |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... | rex-xxx/mt6572_x201 | mediatek/frameworks/base/tests/net/tests/src/mediatek/net/libcore/external/bouncycastle/jce/provider/PKIXNameConstraintValidator.java | Java | gpl-2.0 | 57,993 |
package de.jakobhaubold.tools.unierlangentechfak;
import java.util.ArrayList;
public class DModel {
public static ArrayList<DItem> DItems;
public static void LoadModel() {
DItems = new ArrayList<DItem>();
DItems.add(new DItem(1, "d.png", "Sultan Döner","Hauptstraße 15, 91054 Erlangen")... | jaaakob/campusyusuf | src/de/jakobhaubold/tools/unierlangentechfak/DModel.java | Java | gpl-2.0 | 2,002 |
/*
* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | loveyoupeng/rt | modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TitledPaneSkin.java | Java | gpl-2.0 | 21,516 |
package com.hiraas.pm4j.core;
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import java.io.Serializable;
/**
* Created by ramazan on 20.11.14.
*/
public class PmDateTimeAttrImpl<T_PM_PARENT extends PmImpl> extends PmAttrImpl<T_PM_PARENT, D... | rkunas/pm4j | pm4j-pm/src/main/java/com/hiraas/pm4j/core/PmDateTimeAttrImpl.java | Java | gpl-2.0 | 1,128 |
/**
*
*/
package com.kb;
import java.util.Map;
/**
* @author sriharsha
*
*/
public class KB {
private Map<String,String> premiseLiterals;
private Map<String,String> conclusionLiterals;
private Map<String,String> factLiterals;
/**
*
*/
public KB() {
// TODO Auto-generated constructor stub
}
/**... | sriharshaanp/Projects | BackwardChainingInferencer/src/com/kb/KB.java | Java | gpl-2.0 | 1,230 |
package org.eclipse.ui.tutorials.rcp.part3;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.GroupMarker;
import org.eclipse.jface.action.ICoolBarManager;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.jface.action.MenuManager;
i... | Fidouda/LOG8430 | org.eclipse.ui.tutorials.rcp.part3/src/org/eclipse/ui/tutorials/rcp/part3/ApplicationActionBarAdvisor.java | Java | gpl-2.0 | 2,607 |
/*******************************************************************************
* Copyright (C) 2013, 2015 Tuukka Ruhanen
*
* JSana is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* ... | truhanen/JSana | JSana/src/tietorakenteet/Esivalinnat.java | Java | gpl-2.0 | 10,718 |
package bg.tsarstva.follow.api.webadmin.endpoint;
import java.sql.SQLException;
import java.util.logging.Logger;
import javax.ws.rs.Consumes;
import javax.ws.rs.FormParam;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
... | ivaivalous/cfollow | server/api/src/main/java/bg/tsarstva/follow/api/webadmin/endpoint/SetUsername.java | Java | gpl-2.0 | 2,036 |
package com.androidbook.propertyanimation;
import android.animation.AnimatorInflater;
import android.animation.AnimatorSet;
import android.animation.Keyframe;
import android.animation.ObjectAnimator;
import android.animation.PropertyValuesHolder;
import android.app.Activity;
import android.graphics.PointF;
import andr... | ttylinux/CodePiece | Animation/PropertyAnimation/PropertyAnims/TestPropertyAnimationActivity.java | Java | gpl-2.0 | 6,009 |
package com.mbpr.gengjian.playface;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... | gengjian1203/PlayFace | app/src/androidTest/java/com/mbpr/gengjian/playface/ApplicationTest.java | Java | gpl-2.0 | 357 |
/*
* IzPack - Copyright 2001-2007 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://developer.berlios.de/projects/izpack/
*
* Copyright 2004 Gaganis Giorgos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... | RomRaider/original.mirror | installer/IzPack/src/lib/com/izforge/izpack/panels/PacksPanelInterface.java | Java | gpl-2.0 | 1,535 |
/*
* IzPack - Copyright 2001-2007 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://developer.berlios.de/projects/izpack/
*
* Copyright 2004 Chadwick McHenry
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... | RomRaider/original.mirror | installer/IzPack/src/lib/com/izforge/izpack/compiler/Property.java | Java | gpl-2.0 | 9,822 |
package com.prosc.fmpjdbc.util;
import com.prosc.fmpjdbc.util.StringUtils;
/**
* Created by IntelliJ IDEA. User: jesse Date: Mar 4, 2010 Time: 8:30:23 AM
*/
public class ProcessExecutionException extends Exception {
private byte[] data;
private int exitStatus;
public ProcessExecutionException( byte[] data, Str... | plotters/prosc-woof | Fmp360_JDBC/src/com/prosc/fmpjdbc/util/ProcessExecutionException.java | Java | gpl-2.0 | 1,126 |
package org.tzi.rtl.tgg.mm;
public class MTggRuleSelectedApplication extends MTggRuleApplication {
private String ruleID;
private Object fCondition;
public MTggRuleSelectedApplication(){
}
public MTggRuleSelectedApplication(String _ruleID, Object _cond){
ruleID = _ruleID;
fCondition = _cond;
}
public v... | vnu-dse/rtl | src/rtl/org/tzi/rtl/tgg/mm/MTggRuleSelectedApplication.java | Java | gpl-2.0 | 572 |
package com.migestion.swing.view.inputs;
import javax.swing.JComponent;
/**
* Colabora con las validaciones de los inputs
* para longitudes permitidas.
*
* @author Bernardo Iribarne
*
*/
public class InputLengthValidator extends InputValidator{
private Integer maxSize;
private Integer minSize;... | iriber/miGestionSwing | src/main/java/com/migestion/swing/view/inputs/InputLengthValidator.java | Java | gpl-2.0 | 880 |
package edu.ucsd.ncmir.WIB.client.plugins.SLASHPlugin.messages;
import edu.ucsd.ncmir.WIB.client.core.messages.ToggleDialogVisibilityMessage;
/**
*
* @author spl
*/
public class ThreeDGeometryUpdateMessage extends ToggleDialogVisibilityMessage {}
| imclab/WebImageBrowser | WIB/src/java/edu/ucsd/ncmir/WIB/client/plugins/SLASHPlugin/messages/ThreeDGeometryUpdateMessage.java | Java | gpl-2.0 | 253 |
/**
*
*
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN... | codelibs/n2dms | src/main/java/com/openkm/servlet/admin/OmrServlet.java | Java | gpl-2.0 | 18,962 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | hdadler/sensetrace-src | com.ipv.sensetrace.RDFDatamanager/jena-2.11.0/jena-sdb/src-dev/java/dbtest/ParamsVocab.java | Java | gpl-2.0 | 1,763 |
/*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundati... | TheTypoMaster/Scaper | openjdk/jdk/test/java/lang/StringBuilder/Insert.java | Java | gpl-2.0 | 1,301 |
package org.nextprot.api.core.service;
import org.nextprot.api.core.domain.DbXref;
import org.nextprot.api.core.domain.annotation.Annotation;
import java.util.List;
import java.util.Set;
public interface StatementService {
List<Annotation> getAnnotations(String entryAccession);
Set<DbXref> findDbXrefs(String e... | calipho-sib/nextprot-api | core/src/main/java/org/nextprot/api/core/service/StatementService.java | Java | gpl-2.0 | 338 |
/**
* @created on : 27-sep-2017, 23:27:50
* @see
* @since
* @version
* @author Raul Vela Salas
*/
package java_celia.t6xEjerciciosBasicos.T6Ficheros.FileInputStreamLeerBinarios;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util... | NoTengoNombre/Java_ActualizarConocimientos | Java_Celia/src/java_celia/t6xEjerciciosBasicos/T6Ficheros/FileInputStreamLeerBinarios/T6EjemploLeerArchivoMostrarCaracteresEnBytes.java | Java | gpl-2.0 | 1,981 |
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | dain/graal | graal/com.oracle.graal.word/src/com/oracle/graal/word/phases/WordTypeRewriterPhase.java | Java | gpl-2.0 | 19,895 |
package de.tud.inf.example.table;
import com.rapidminer.example.table.ExampleTable;
public class ArrayAttributeDescription extends GeometryAttributeDescription {
public ArrayAttributeDescription(int[] attIds, int[] paramIds,
String symbol, String name, String hint) {
super(attIds, paramIds, symbol, name, hint)... | ntj/ComplexRapidMiner | src/de/tud/inf/example/table/ArrayAttributeDescription.java | Java | gpl-2.0 | 469 |
package org.eevolution.mrp.spi.impl;
/*
* #%L
* de.metas.adempiere.libero.libero
* %%
* Copyright (C) 2015 metas 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 Foundation, either version... | klst-com/metasfresh | de.metas.adempiere.libero.libero/src/main/java/org/eevolution/mrp/spi/impl/CompositeMRPSupplyProducer.java | Java | gpl-2.0 | 6,451 |
package network.incoming.persistent;
import java.io.IOException;
import network.requests.NWRequest;
import org.codehaus.jackson.map.ObjectMapper;
//retrieves the next incoming request
public class RequestHandler extends PersistentIncomingConnectionHandler {
protected RequestHandler(int incoming_port) {
super(in... | rchakra3/TomR | src/network/incoming/persistent/RequestHandler.java | Java | gpl-2.0 | 947 |
/**
*
*/
package tuwien.dbai.wpps.core.wpmodel.physmodel.im.instadp.interf;
import java.util.Collection;
/**
* @author Ruslan (ruslanrf@gmail.com)
* @created Oct 5, 2012 1:41:56 PM
*/
public interface IIMListItem extends IIMElement {
Collection<IIMElement> getContent();
}
| ruslanrf/wpps | wpps_plugins/tuwien.dbai.wpps.core/src/tuwien/dbai/wpps/core/wpmodel/physmodel/im/instadp/interf/IIMListItem.java | Java | gpl-2.0 | 285 |
package cz.vsb.cs.sur096.despr.types.renderers;
import cz.vsb.cs.sur096.despr.types.Choosable;
import cz.vsb.cs.sur096.despr.view.inputparameters.ParameterCellRenderer;
import java.awt.Component;
import java.awt.Font;
import javax.swing.JLabel;
import javax.swing.JTable;
/**
* Renderer hodnoty kterou lze vybrat s ko... | msurkovsky/despr | basic-extensions-types/src/cz/vsb/cs/sur096/despr/types/renderers/ChoosableCellRenderer.java | Java | gpl-2.0 | 1,457 |
/*
* This file is part of the ZoRa project: http://www.photozora.org.
*
* ZoRa 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 versi... | bdaum/zoraPD | com.bdaum.zoom.ui/src/com/bdaum/zoom/ui/internal/dialogs/PageProcessor.java | Java | gpl-2.0 | 16,880 |
/*
* #%L
* ImgLib2: a general-purpose, multidimensional image processing library.
* %%
* Copyright (C) 2009 - 2016 Tobias Pietzsch, Stephan Preibisch, Stephan Saalfeld,
* John Bogovic, Albert Cardona, Barry DeZonia, Christian Dietz, Jan Funke,
* Aivar Grislis, Jonathan Hale, Grant Harris, Stefan Helfrich, Mark Hi... | imglib/imglib2-script | src/test/java/net/imglib2/script/TestExtend.java | Java | gpl-2.0 | 2,970 |
/* SCCS - @(#)Console.java 1.5 - 09/01/99 - 00:19:50 */
/*
* $Log: Console.java,v $
* Revision 1.1.1.1 1997/03/12 22:52:21 nsl
* new dir structure
*
* Revision 1.1.1.1 1997/02/08 00:40:40 nsl
* Imported the Source directory
*
*/
/*
* Gary Cornell and Cay S. Horstmann, Core Java (Book/CD-ROM)
... | salvadormarmol/NSL_3_0_S | nslj/src/system/Console.java | Java | gpl-2.0 | 4,633 |
package com.founderdpt.comm.xworld.util.string;
import java.beans.PropertyDescriptor;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
public class StringMatch {
public static String translateParamtwo(String expression, char[] openChars,
Map map) {
int... | javaliquan/XWorld | XWorld/src/main/java/com/founderdpt/comm/xworld/util/string/StringMatch.java | Java | gpl-2.0 | 5,362 |
package net.burakince.hackerrank.java_anagrams;
import java.util.Arrays;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
final Scanner sc = new Scanner(System.in);
final String s1 = sc.nextLine();
final String s2 = sc.nextLine();
System.out.println(isAnagram(s1, s2... | burakince/HackerRank | src/main/java/net/burakince/hackerrank/java_anagrams/Solution.java | Java | gpl-2.0 | 733 |
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | FauxFaux/jdk9-hotspot | test/compiler/compilercontrol/mixed/RandomValidCommandsTest.java | Java | gpl-2.0 | 1,980 |
/*
* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | smarr/GraalCompiler | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/debug/BenchmarkCounters.java | Java | gpl-2.0 | 18,788 |
/*
* Copyright 2011 David Jurgens
*
* This file is part of the S-Space package and is covered under the terms and
* conditions therein.
*
* The S-Space package is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as published
* by the F... | fozziethebeat/S-Space | src/main/java/edu/ucla/sspace/graph/SimpleTypedEdge.java | Java | gpl-2.0 | 2,912 |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest08548.java | Java | gpl-2.0 | 3,839 |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.param;
import java.sql.PreparedStatement;
import java.sql.SQ... | lamsfoundation/lams | 3rdParty_sources/hibernate-core/org/hibernate/param/DynamicFilterParameterSpecification.java | Java | gpl-2.0 | 2,814 |
/*
* Copyright (C) 2009-2018 Slava Semushin <slava.semushin@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 2 of the License, or
* (at your option) any later ve... | aarexer/mystamps | src/main/java/ru/mystamps/web/controller/interceptor/ByteArrayMultipartFile.java | Java | gpl-2.0 | 2,336 |
package mueller;
import java.util.HashSet;
public class LottoTip {
/**
* Der Lotto Tipp(6 einmalige zahlen zwischen 1-45)
*/
HashSet<Integer> tip = new HashSet<Integer>();
public LottoTip() {
while (tip.size()<=6) {
tip.add((int) ((Math.random()*46)+1));
}
}
}
| mmuellerTGM/SEW_Workspace | A12_LottoSpiel/src/mueller/LottoTip.java | Java | gpl-2.0 | 284 |
/*-
* Copyright (c)
*
* 2015 - Yohanna Lisnichuk
* 2015 - Victor Ughelli
*
* 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; either
* version 2.1 of the License, or (at your option... | yolile/ASPHelper | src/helper/clases/Produccion.java | Java | gpl-2.0 | 1,851 |
package es.dmoral.tinylist.adapters;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.graphics.Paint;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.ContextMenu;
import android.view.Layou... | GrenderG/TinyList | app/src/main/java/es/dmoral/tinylist/adapters/SavedListsAdapter.java | Java | gpl-2.0 | 8,149 |
/**
* Created By: cfloersch
* Date: 6/2/13
* Copyright 2013 XpertSoftware
*/
package xpertss.sdp;
import xpertss.lang.Integers;
import xpertss.lang.Longs;
import xpertss.lang.Objects;
import xpertss.lang.Strings;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.nio.file.P... | cfloersch/sdp | src/main/java/xpertss/sdp/SessionParser.java | Java | gpl-2.0 | 26,974 |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest08678.java | Java | gpl-2.0 | 2,109 |
package javax.enterprise.deploy.shared;
/**
* An enumeration of deployment states.
*
* @author <a href="mailto:adrian@jboss.org">Adrian Brock</a>
* @version $Revision$
*/
public class StateType
{
// Constants -----------------------------------------------------
/** The RUNNING integer value */
private ... | jboss/jboss-jad-api_spec | src/main/java/javax/enterprise/deploy/shared/StateType.java | Java | gpl-2.0 | 2,876 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-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.1... | moiarcsan/openls1.3 | src/main/java/org/jvnet/ogc/SpeedType.java | Java | gpl-2.0 | 1,807 |
/**
* Copyright (C) 2013
* by 52 North Initiative for Geospatial Open Source Software GmbH
*
* Contact: Andreas Wytzisk
* 52 North Initiative for Geospatial Open Source Software GmbH
* Martin-Luther-King-Weg 24
* 48155 Muenster, Germany
* info@52north.org
*
* This program is free software; you can redistribut... | geomatico/52n-sos-4.0 | core/api/src/main/java/org/n52/sos/ogc/ows/SosServiceIdentificationFactory.java | Java | gpl-2.0 | 5,754 |
package org.compiere.apps.search;
/*
* #%L
* de.metas.adempiere.adempiere.client
* %%
* Copyright (C) 2015 metas 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 Foundation, either version... | klst-com/metasfresh | de.metas.adempiere.adempiere/client/src/main/java/org/compiere/apps/search/FindHelper.java | Java | gpl-2.0 | 6,372 |