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 greenfoot.*;
import javax.swing.JOptionPane;
public class SinglePlayerButton extends GameMenuComponents
{
String username = "";
String text = "Enter username";
private Client client = new Client(Constant.URL.register);
public void act()
{
moveInAnimation();
clickListen... | CodeGladiators/CatchMeIfUCan | GameServer/Game/SinglePlayerButton.java | Java | mit | 1,414 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.monitor;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.management.exception.ManagementException;
import com.azure.resourcemanager.compute.models.VirtualMachine;
impo... | selvasingh/azure-sdk-for-java | sdk/resourcemanager/azure-resourcemanager-monitor/src/test/java/com/azure/resourcemanager/monitor/MonitorActivityAndMetricsTests.java | Java | mit | 4,935 |
package com.intita.wschat.config;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import org.springframework.boot.actuate.endpoint.MessageMappingEndpoint;
import org.springframework.boot.actuate.endpoint.WebSocketEndpoint;
import org.springframework.boot.autoconfigure.condition.ConditionalOnM... | ITAAcademy/crmChat | src/main/java/com/intita/wschat/config/ChatConfig.java | Java | mit | 3,293 |
package math.algebra.linear;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author Joris Schelfaut
*/
public class VectorTest {
public VectorTest() {
}
... | noisedriver/java-math-library | test/math/algebra/linear/VectorTest.java | Java | mit | 3,221 |
package com.yo1000.apidoc.model;
/**
* Created by yoichi.kikuchi on 2015/07/16.
*/
public class ResponseHeader {
private String name;
private String value;
public ResponseHeader() {}
public ResponseHeader(String name, String value, boolean requires) {
this.name = name;
this.value = ... | yo1000/apidoc | src/main/java/com/yo1000/apidoc/model/ResponseHeader.java | Java | mit | 601 |
package com.thesis.crawlers.basic;
import com.thesis.crawlers.vksdk.types.collections.PostsCollection;
import com.thesis.crawlers.vksdk.types.collections.ProfilesCollection;
import com.thesis.sntypes.Post;
import com.thesis.sntypes.SocialProfile;
import java.util.Collection;
import java.util.Set;
public interface Pr... | sergeynenashev/thesis | thesis/src/main/java/com/thesis/crawlers/basic/ProfilesSource.java | Java | mit | 1,111 |
package org.innovateuk.ifs.form.security;
import org.innovateuk.ifs.commons.security.PermissionEntityLookupStrategies;
import org.innovateuk.ifs.commons.security.PermissionEntityLookupStrategy;
import org.innovateuk.ifs.form.mapper.QuestionMapper;
import org.innovateuk.ifs.form.repository.QuestionRepository;
import or... | InnovateUKGitHub/innovation-funding-service | ifs-data-layer/ifs-data-service/src/main/java/org/innovateuk/ifs/form/security/QuestionResourceLookupStrategy.java | Java | mit | 889 |
package com.github.bjuvensjo.rsimulator.core.config;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Cache is an annotation that is used for cache interceptors.
*/
@Retention(RetentionPolicy.RUNTIM... | bjuvensjo/rsimulator | rsimulator-core/src/main/java/com/github/bjuvensjo/rsimulator/core/config/Properties.java | Java | mit | 384 |
package jp.co.pokemon.swapvision;
import android.app.Activity;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.util.Log;
import android.view.SurfaceView;
import android.widget.ImageView;
import java.net.InetSocketAddress;
import jp.co.pokemon.swapvision.net.SwapVisionPeer;
import jp.co.pokem... | psyark/swapvision | app/src/main/java/jp/co/pokemon/swapvision/FullscreenActivity.java | Java | mit | 1,771 |
package biz.paluch.logging.gelf.intern;
import java.io.IOException;
import java.nio.ByteBuffer;
/**
* Represents a Gelf message using resource pooling. Special caution is required with methods accepting {@link ByteBuffer}:
* Buffer construction is generally thread-safe but the resulting buffers must not cross threa... | mp911de/logstash-gelf | src/main/java/biz/paluch/logging/gelf/intern/PoolingGelfMessage.java | Java | mit | 3,219 |
package com.lindstromhenrik.elasticsearch.service;
import org.elasticsearch.ElasticSearchException;
import org.elasticsearch.common.component.AbstractLifecycleComponent;
import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.common.inject.Module;
import org.elasticsearch.common.settings.Settings... | lindstromhenrik/elasticsearch-custom-plugin | src/main/java/com/lindstromhenrik/elasticsearch/service/CustomService.java | Java | mit | 1,450 |
package sparetime.teaching.drawingblocks;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.layout.Pane;
import javafx.scene.layout.VBox;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
/**
... | lukaspj/STT-IDEA-Talk | DrawingBlocks/src/sparetime/teaching/drawingblocks/FigureDisplay.java | Java | mit | 1,257 |
package ua.com.fielden.platform.basic.autocompleter;
import ua.com.fielden.platform.basic.IValueMatcherWithCentreContext;
import ua.com.fielden.platform.dao.IEntityDao;
import ua.com.fielden.platform.entity.AbstractEntity;
/**
* This is a fall back implementation for {@link IValueMatcherWithCentreContext}, which doe... | fieldenms/tg | platform-pojo-bl/src/main/java/ua/com/fielden/platform/basic/autocompleter/FallbackValueMatcherWithCentreContext.java | Java | mit | 802 |
package comandos;
/**
* Comando que se devolverá ante un error
* al querer acceder a algún comando.
*
*/
public class ComandoError extends ComandosCliente {
@Override
public void ejecutar() {
}
}
| JavaPeppers/jrpg-2017b-cliente | src/main/java/comandos/ComandoError.java | Java | mit | 218 |
package io.github.classgraph.issues.issue350;
import static org.assertj.core.api.Assertions.assertThat;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import org.junit.jupiter.api.Test;
import io.github.classgraph.ClassGraph;
import io.github.classgraph.ScanResult;
/**
* Unit ... | lukehutch/fast-classpath-scanner | src/test/java/io/github/classgraph/issues/issue350/Issue350.java | Java | mit | 2,532 |
/*
* Copyright 1997-2022 Optimatika
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish... | optimatika/ojAlgo | src/main/java/org/ojalgo/function/multiary/ConstantFunction.java | Java | mit | 4,238 |
package aima.core.search.nondeterministic;
import aima.core.search.framework.problem.ActionsFunction;
import aima.core.search.framework.problem.GoalTest;
import aima.core.search.framework.problem.StepCostFunction;
/**
* Non-deterministic problems may have multiple results for a given state and
* action; this class ... | ngrj93/aima-java | aima-core/src/main/java/aima/core/search/nondeterministic/NondeterministicProblem.java | Java | mit | 2,469 |
package edu.ncit.bloomfilter;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
import org.apache.hadoop.mapreduce.lib.input.TextInputFormat;
impo... | mehikmat/oose | MRJoinImpl/ReduceSideJoin/src/main/java/edu/ncit/bloomfilter/DriverProgram.java | Java | mit | 1,869 |
package xyz.brassgoggledcoders.slimefusion.modules.grasses.blocks;
import net.minecraft.block.state.BlockStateContainer;
import net.minecraft.block.state.IBlockState;
import xyz.brassgoggledcoders.slimefusion.blocks.BlockTallGrassBase;
import javax.annotation.Nonnull;
public class BlockStakteroTallGrass extends Bloc... | BrassGoggledCoders/SlimeFusion | src/main/java/xyz/brassgoggledcoders/slimefusion/modules/grasses/blocks/BlockStakteroTallGrass.java | Java | mit | 944 |
package com.billybyte.marketdata;
import java.math.BigDecimal;
public interface PriceDisplayInterface {
public String getShortName() ;
public PriceLevelData getBid() ;
public PriceLevelData getOffer();
public PriceLevelData getLast() ;
public BigDecimal getSettlement() ;
}
| bgithub1/common-libs | src/main/java/com/billybyte/marketdata/PriceDisplayInterface.java | Java | mit | 281 |
/*
* Copyright (c) 2015 XING AG (http://xing.com/)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... | CiprianU/xing-android-sdk | sdk/src/main/java/com/xing/android/sdk/task/contact/IdsTask.java | Java | mit | 3,406 |
package gwt.react.redux.todo_with_undo.client.components;
import gwt.react.client.api.React;
import gwt.react.client.components.StatelessComponent;
import gwt.react.client.proptypes.BaseProps;
import gwt.react.redux.todo_with_undo.client.containers.FilterLink;
import static gwt.react.client.api.GwtReact.stringLiteral... | GWTReact/gwt-redux | src/gwt/redux/examples/todo_with_undo/client/components/Footer.java | Java | mit | 927 |
package com.packtpub.java7.concurrency.chapter2.recipe6.task;
import com.packtpub.java7.concurrency.chapter2.recipe6.utils.FileMock;
/**
* This class gets lines from the simulate file and stores them in the
* buffer, if there is space in it.
*
*/
public class Producer implements Runnable {
/**
* Simulated Fil... | xuelvming/Java7ConcurrencyCookbook | 7881_code/Chapter 2/ch2_recipe7/src/com/packtpub/java7/concurrency/chapter2/recipe6/task/Producer.java | Java | mit | 946 |
// This is a generated file. Not intended for manual editing.
package nl.hannahsten.texifyidea.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
... | Ruben-Sten/TeXiFy-IDEA | gen/nl/hannahsten/texifyidea/psi/impl/BibtexKeyImpl.java | Java | mit | 881 |
package com.ser.algorithm.com.ser.algorithm.helper;
import com.ser.graph.BooleanEdges;
import com.ser.graph.Edges;
import java.util.Comparator;
/**
* Created by Bradley
* on 6/23/2015.
*/
public class SolutionPair {
private final Edges edges;
private final Edges solution;
public SolutionPair(Edges e... | Wulf0123/independentSet | src/com/ser/algorithm/com/ser/algorithm/helper/SolutionPair.java | Java | mit | 1,070 |
/*
* Copyright (c) 2010, The Broad Institute
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, me... | iontorrent/Torrent-Variant-Caller-stable | public/java/src/org/broadinstitute/sting/commandline/Hidden.java | Java | mit | 1,480 |
package com.joehalliwell.markdown.writer;
import static org.junit.Assert.*;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.StringWriter;
import org.junit.Test;
public class TestMarkdownWriter {
final static String loremIpsum = "Lorem ipsum dolor sit amet, consectetur adipiscing eli... | joehalliwell/markdown-writer | src/test/java/com/joehalliwell/markdown/writer/TestMarkdownWriter.java | Java | mit | 1,517 |
/*
* MIT License
*
* Copyright (c) 2019 WANG Lingsong
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mo... | jsurfer/JsonSurfer | jsurfer-core/src/main/java/org/jsfr/json/path/ArrayIndex.java | Java | mit | 2,266 |
package in.ac.iitm.students.complaint_box.activities;
import android.app.Activity;
import android.app.NotificationManager;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.design.widget.TextInputLayout;
imp... | InstituteWebOps/students_app | app/src/main/java/in/ac/iitm/students/complaint_box/activities/g_Comments.java | Java | mit | 23,820 |
package com.amazonservices.mws.jaxb;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>AllergenInformationType的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
* <p>
* <pre>
* <simpleType name="AllergenInformationType">
* <... | kenyonduan/amazon-mws | src/main/java/com/amazonservices/mws/jaxb/AllergenInformationType.java | Java | mit | 8,695 |
package igx.client;
// DialogCanvas.java
import igx.shared.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.datatransfer.*;
import java.io.IOException;
import javax.swing.JFrame;
public class DialogCanvas extends ButtonCanvas implements KeyListener {
public static final Color BORDER_CO... | rm5248/Intergalactics | src/main/java/igx/client/DialogCanvas.java | Java | mit | 11,143 |
package com.owenobyrne.aibibs.resource;
import java.util.HashMap;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MultivaluedMap;
import javax.ws.rs.core.Request;
import ... | owenobyrne/aib-internet-banking-api | src/main/java/com/owenobyrne/aibibs/resource/LoginResource.java | Java | mit | 2,451 |
package com.muchael.freePA.domain.entity;
public enum DocumentType
{
INDICATIVE,
ESTIMATIVE,
DETAILED
}
| muchael/freePA | src/main/java/com/muchael/freePA/domain/entity/DocumentType.java | Java | mit | 108 |
package com.github.twostone.leaderboard.model.score;
import com.github.twostone.leaderboard.model.score.recipe.ScoreIngredient;
import com.github.twostone.leaderboard.model.score.recipe.ScoreIngredientType;
import com.github.twostone.leaderboard.model.score.recipe.ScoreRecipe;
import com.google.common.collect.Orderin... | TwoStone/leaderboard | src/main/java/com/github/twostone/leaderboard/model/score/ScoreComparatorFactory.java | Java | mit | 1,850 |
package eu.chargetime.ocpp.model.test;
import eu.chargetime.ocpp.model.core.AvailabilityStatus;
import eu.chargetime.ocpp.model.core.ChangeAvailabilityConfirmation;
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.is;
import stati... | ivard/Java-OCA-OCPP--CLONE- | ocpp-v1_6/src/test/java/eu/chargetime/ocpp/model/test/ChangeAvailabilityConfirmationTest.java | Java | mit | 2,625 |
package org.railwaystations.api.resources;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
@Path("/")
public class RootResource {
@GET
@Produces({MediaType.TEXT_HTML})
public String get() {
return "<html><head><title>RSAPI</title><... | pstorch/bahnhoefe.gpx | src/main/java/org/railwaystations/api/resources/RootResource.java | Java | mit | 484 |
package de.mcoenen.jdc;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Properties;
import com.dropbox.core.DbxRequestConfig;
import com.dropbox.core.v2.DbxClientV2;
import org.apache.commons.cli.CommandLine;
/**
*... | wilriker/jdc | src/main/java/de/mcoenen/jdc/ClientProvider.java | Java | mit | 3,152 |
/**
* 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 may... | amikey/zongtui-classifier | src/main/java/com/zongtui/classifier/math/MatrixView.java | Java | mit | 4,628 |
package org.idatamining;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Random;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletReques... | YiyuJia/flywayFile | versionGenerator/src/main/java/org/idatamining/VersionNumber.java | Java | mit | 1,578 |
// Install the Java helper library from twilio.com/docs/java/install
import com.twilio.Twilio;
import com.twilio.rest.sync.v1.service.syncmap.SyncMapItem;
public class Example {
// Get your Account SID and Auth Token from https://twilio.com/console
// To set up environment variables, see http://twil.io/secure
pu... | TwilioDevEd/api-snippets | sync/rest/maps/retrieve-map-item/retrieve-map-item.8.x.java | Java | mit | 870 |
package org.swingeasy;
import java.awt.AWTException;
import java.awt.Component;
import java.awt.Container;
import java.awt.FocusTraversalPolicy;
import java.awt.Frame;
import java.awt.GraphicsEnvironment;
import java.awt.Image;
import java.awt.MenuItem;
import java.awt.Point;
import java.awt.PopupMenu;
imp... | jurgendl/swing-easy | src/main/java/org/swingeasy/UIUtils.java | Java | mit | 27,249 |
/**
* © David Attias 2015
*/
package io.spacedog.services.admin;
import io.spacedog.services.Server;
import io.spacedog.services.SpaceResty;
import io.spacedog.utils.Exceptions;
import net.codestory.http.Context;
import net.codestory.http.annotations.Post;
import net.codestory.http.annotations.Prefix;
import net.cod... | spacedog-io/spacedog-server | server/src/main/java/io/spacedog/services/admin/AdminResty.java | Java | mit | 723 |
package com.myrunning.leaderboard.web;
/**
* File: CpVisitBatchFormController.java
* Author: Joshua Forester
* Date: 2009/09/18
* Description: Controller object for editing cpVisits per cp.
**/
import java.text.SimpleDateFormat;
import java.util.Hashtable;
import java.util.List;
import java.util.ArrayList;... | joshforester/rdboard | src/java/com/myrunning/leaderboard/web/CpVisitBatchFormController.java | Java | mit | 13,699 |
package org.jenkinsci.plugins.script_executor;
import hudson.EnvVars;
import hudson.Extension;
import hudson.Util;
import hudson.model.EnvironmentSpecific;
import hudson.model.TaskListener;
import hudson.model.Node;
import hudson.remoting.VirtualChannel;
import hudson.slaves.NodeSpecific;
import hudson.tools.*;
impor... | bboehmke/universal-script-executor-plugin | src/main/java/org/jenkinsci/plugins/script_executor/RuntimeInstallation.java | Java | mit | 11,990 |
/*
* exe R script in windows
*/
package pub;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author ZHAO Qi
* @date 2... | likelet/DAtools | DAtools/src/pub/Rexe.java | Java | mit | 5,824 |
/*
* This file is part of the Cliche project, licensed under MIT License.
* See LICENSE.txt file in root folder of Cliche sources.
*/
package com.maxifier.cliche.util;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import java.util.Arrays;
/**
*
* @author ASG
*/
public class StringsTest ... | maxifier/cliche-shell | cliche-shell-core/src/test/java/com/maxifier/cliche/util/StringsTest.java | Java | mit | 2,145 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package wwwc.nees.joint.module.reasoner;
/**
* Interface for perfoming rules in the repository
*
* @author Olavo Holanda
* @version 1.0 - 15/01/2012
*/
public interface RuleEngine {
// METHODS
// ---------... | nees-ufal/JOINT | src/wwwc/nees/joint/module/reasoner/RuleEngine.java | Java | cc0-1.0 | 879 |
/*
:: SITE: eXcript.com
:: FB: fb.com/eXcript
:: URL: youtube.com/watch?v=lwu6Xe9Qklk&list=PLesCEcYj003Rfzs39Y4Bs_chpkE276-gD
:: NOME: Curso de Java - Aula 55 - Arrays Multidimensionais III
*/
public class Aula0055 {
public static void main(String[] args) {
int[][] nums = {{1,2,3},
... | excript/curso_java | Aula0055.java | Java | cc0-1.0 | 805 |
package de.homelab.madgaksha.lotsofbs.player;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.math.Circle;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Shape2D;
import com.badlogic.gdx.math.Vector2;
import de.homelab.madgaksha.lotsofbs.entityengine.component.ConeDistributionCom... | blutorange/lotsOfBSGdx | core/src/de/homelab/madgaksha/lotsofbs/player/PEstelle.java | Java | cc0-1.0 | 5,514 |
/*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* SEARCH Group, Incorporated - initial API and implementation
*
*/
... | info-sharing-environment/NIEM-Modeling-Tool | plugins/org.search.niem.uml.search/src/main/java/org/search/niem/uml/search/LazyAggregator.java | Java | epl-1.0 | 1,165 |
/**
* Copyright (c) 2011, 2014 Eurotech and/or its affiliates
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
... | mhddurrah/kura | kura/org.eclipse.kura.api/src/main/java/org/eclipse/kura/command/CommandService.java | Java | epl-1.0 | 619 |
/*******************************************************************************
* Copyright (c) [2012] - [2017] Red Hat, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avai... | R-Brain/codenvy | plugins/plugin-github/codenvy-plugin-github-webhooks/src/test/java/com/codenvy/plugin/webhooks/TestGitHubWebhookService.java | Java | epl-1.0 | 6,401 |
/*******************************************************************************
* Copyright 2005, CHISEL Group, University of Victoria, Victoria, BC, Canada.
* All rights reserved. This program and the accompanying materials are made
* available under the terms of the Eclipse Public License v1.0 which
* accompanie... | uci-sdcl/lighthouse | deprecated/org.eclipse.zest.core/src/org/eclipse/zest/core/viewers/internal/GraphModelFactory.java | Java | epl-1.0 | 5,656 |
/*******************************************************************************
* Copyright (c) 2015 Obeo.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://... | ModelWriter/Source | tests/org.eclipse.mylyn.docs.intent.mapping.emf.tests/src/org/eclipse/mylyn/docs/intent/mapping/emf/tests/base/EMFReportTests.java | Java | epl-1.0 | 1,039 |
/*******************************************************************************
* Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | foundation/org.eclipse.persistence.oracle.nosql/src/org/eclipse/persistence/internal/eis/adapters/aq/AQRecord.java | Java | epl-1.0 | 1,638 |
package org.nasdanika.cdo.web.doc;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
import org.apache.lucene.document.Field;
import org.apache.lucene.document.TextFie... | Nasdanika/server | org.nasdanika.cdo.web.doc/src/org/nasdanika/cdo/web/doc/Indexer.java | Java | epl-1.0 | 3,735 |
package name.abuchen.portfolio.ui.util.viewers;
import java.text.DecimalFormatSymbols;
import org.eclipse.jface.viewers.ColumnViewer;
import org.eclipse.jface.viewers.OwnerDrawLabelProvider;
import org.eclipse.jface.viewers.ViewerColumn;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Color;
import org.ec... | cmaoling/portfolio | name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/util/viewers/SharesLabelProvider.java | Java | epl-1.0 | 5,036 |
/*-
*******************************************************************************
* Copyright (c) 2011, 2014 Diamond Light Source Ltd.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, ... | Anthchirp/dawnsci | org.eclipse.dawnsci.plotting.examples/src/org/eclipse/dawnsci/plotting/examples/exercises/Exercise1.java | Java | epl-1.0 | 5,399 |
/**
* Copyright (c) 2016 NumberFour AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* NumberFo... | lbeurerkellner/n4js | plugins/org.eclipse.n4js.jsdoc2spec/src/org/eclipse/n4js/jsdoc2spec/adoc/StringCountUtils.java | Java | epl-1.0 | 1,310 |
package tp.pr4.vista;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import tp.pr4.control.ViewController;
import tp.pr4.logica.Ficha;
import tp.pr4.logica.Tablero;
import tp.pr4.logica.TableroInmutable;
import tp.pr4.logica.TipoJuego;
import tp.pr4.ob... | juanmont/4enRaya | src/tp/pr4/vista/Ventana.java | Java | epl-1.0 | 3,817 |
package com.wattabyte.bindaasteam.groupmanagement;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import andro... | VinayagamD/Bindaaas | BindaasTeam/src/com/wattabyte/bindaasteam/groupmanagement/TeamSelectActivity.java | Java | epl-1.0 | 12,018 |
/*******************************************************************************
* Copyright (c) 2011 Dilton McGowan II.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | diltonm/SWTResume | srcjava/com/mccomsoft/resumeapp/types/EDirection.java | Java | epl-1.0 | 611 |
/**
* Copyright (c) 2016 NumberFour AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* NumberFo... | lbeurerkellner/n4js | plugins/org.eclipse.n4js/src/org/eclipse/n4js/validation/N4JSIssueSeveritiesProvider.java | Java | epl-1.0 | 1,701 |
/**
* Copyright (c) 2010-2021 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | MikeJMajor/openhab2-addons-dlinksmarthome | bundles/org.openhab.binding.heos/src/main/java/org/openhab/binding/heos/internal/handler/HeosChannelHandlerControl.java | Java | epl-1.0 | 2,685 |
/**
* Copyright (c) 2010-2021 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | MikeJMajor/openhab2-addons-dlinksmarthome | bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/parser/GetAllScriptsParser.java | Java | epl-1.0 | 1,630 |
/**
* <copyright>
* </copyright>
*
*
*/
package bento.language.bentocomp.resource.bento.ui;
/**
* The root preference page
*/
public class BentoPreferencePage extends org.eclipse.jface.preference.PreferencePage implements org.eclipse.ui.IWorkbenchPreferencePage {
public void init(org.eclipse.ui.IWorkbench w... | jesusc/bento | plugins/bento.language.bentocomp.resource.bento.ui/src-gen/bento/language/bentocomp/resource/bento/ui/BentoPreferencePage.java | Java | epl-1.0 | 1,708 |
/**
* Copyright (c) 2016-2019 by the respective copyright holders.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
pa... | cschwer/com.zsmartsystems.zigbee | com.zsmartsystems.zigbee.dongle.ember.autocode/src/main/java/com/zsmartsystems/zigbee/dongle/ember/autocode/ClassGenerator.java | Java | epl-1.0 | 7,379 |
/**
*/
package de.dfki.iui.basys.model.domain.linebalancing;
import de.dfki.iui.basys.model.domain.topology.TopologyElement;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>WM Path Time</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following... | BaSys-PC1/models | de.dfki.iui.basys.model.domain/src/de/dfki/iui/basys/model/domain/linebalancing/WMPathTime.java | Java | epl-1.0 | 2,366 |
/*
* Copyright (C) 2012 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... | dim1989/zhangzhoujun.github.io | MyVolley/app/src/main/java/com/android/myvolley/volley/toolbox/Volley.java | Java | epl-1.0 | 2,108 |
/*******************************************************************************
* Copyright (c) 2010, SAP AG
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* ht... | spearce/egit | org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/share/ExistingOrNewPage.java | Java | epl-1.0 | 2,103 |
/*
* Copyright (c) 2015 Pantheon Technologies s.r.o. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
pac... | opendaylight/bgpcep | pcep/pcc-mock/src/test/java/org/opendaylight/protocol/pcep/pcc/mock/PCCEndPointIpv4ObjectParserTest.java | Java | epl-1.0 | 3,115 |
/*******************************************************************************
* Copyright (c) 2017, 2019 Eurotech and/or its affiliates
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distributi... | markoer/kura | kura/org.eclipse.kura.web2/src/main/java/org/eclipse/kura/web/client/ui/firewall/ButtonBar.java | Java | epl-1.0 | 2,783 |
package org.mapdb;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.PrintStream;
/**
* Logs write operations performed on Volume.
* Useful for debugging storage problems.
*/
public class LoggerVolume extends Volume{
public static class Factory implements Volume.Factory {
fi... | ossmeter/ossmeter | third-party/org.mapdb/src/test/java/org/mapdb/LoggerVolume.java | Java | epl-1.0 | 4,490 |
package imageHandler;
import java.io.IOException;
import javax.imageio.ImageIO;
/**
* Image Handler for ItemImages
* @author Timo
*
*/
public class EntityImage extends ImageHandler {
/**
* Constant Parameter WIDTH for the width of one Image
*/
private static final int WIDTH = 25;
/**
* Co... | Skrechy/Zombieland | ZombieLand/src/imageHandler/EntityImage.java | Java | epl-1.0 | 651 |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license by Red Hat Mi... | ControlSystemStudio/cs-studio | thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/core/src/main/java/org/hibernate/dialect/function/ClassicAvgFunction.java | Java | epl-1.0 | 2,060 |
/*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | codenvy/che-core | platform-api/che-core-api-vfs/src/test/java/org/eclipse/che/api/vfs/server/impl/memory/GetAvailableFileSystemsTest.java | Java | epl-1.0 | 3,220 |
/**
* Copyright (c) 2010-2021 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | MikeJMajor/openhab2-addons-dlinksmarthome | bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/OpenHabToDeviceConverter.java | Java | epl-1.0 | 8,329 |
/*
* Copyright 2012 PRODYNA AG
*
* Licensed under the Eclipse Public License (EPL), Version 1.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.opensource.org/licenses/eclipse-1.0.php or
* http://www.nabucco.org/License... | NABUCCO/org.nabucco.testautomation | org.nabucco.testautomation.impl.service/src/main/man/org/nabucco/testautomation/impl/service/export/ExportServiceHandlerImpl.java | Java | epl-1.0 | 3,627 |
/*******************************************************************************
* Copyright (c) 2010-2014, Gabor Szarnyas, Istvan Rath and Daniel Varro
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this... | FTSRG/viatra-dse-swarm | plugins/incqueryd/hu.bme.mit.incqueryd.core/hu.bme.mit.incqueryd.engine/src/main/java/hu/bme/mit/incqueryd/engine/rete/messages/QueryMessage.java | Java | epl-1.0 | 645 |
package newtetris;
public class Score {
private String name;
private int level, score;
Score(String aName, int aLevel, int aScore) {
name = aName; level = aLevel; score = aScore;
}
String getName() { return name; }
int getLevel() { return level; }
int getScore() { return sc... | joergreichert/NewTetris | src/newtetris/Score.java | Java | epl-1.0 | 332 |
package mondo.collab.server.skeleton;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import javax.ws.rs.Consumes;
import javax.w... | FTSRG/mondo-collab-framework | archive/rest/skeleton/mondo.collab.server.skeleton/src/mondo/collab/server/skeleton/CollaborationResource.java | Java | epl-1.0 | 6,522 |
/*******************************************************************************
* Copyright (c) 2001, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | ttimbul/eclipse.wst | bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/provisional/style/Highlighter.java | Java | epl-1.0 | 27,604 |
/*
* 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.skill.app.exception;
/**
* This exception is thrown if the user provides invalid login credentials
*
* @author Shubham ... | imsatyam/skillcheck | src/java/com/skill/app/exception/InvalidLoginException.java | Java | epl-1.0 | 964 |
/*
* This file is part of the Jikes RVM project (http://jikesrvm.org).
*
* This file is licensed to You under the Eclipse Public License (EPL);
* You may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.opensource.org/licenses/eclipse-1.0.... | CodeOffloading/JikesRVM-CCO | jikesrvm-3.1.3/rvm/src/org/jikesrvm/ia32/MachineSpecificIA.java | Java | epl-1.0 | 2,991 |
package org.gemoc.scenario.xdsml.functionscenario.adapters.functionscenariomt.interaction;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.gemoc.scenario.xdsml.functionscenario.adapters.functionscenariomt.FunctionScenarioMTAdaptersFactory;
import org.polarsys.capella.c... | smadelenat/CapellaModeAutomata | Semantic/Scenario/org.gemoc.scenario.xdsml/src-gen/org/gemoc/scenario/xdsml/functionscenario/adapters/functionscenariomt/interaction/InteractionFactoryAdapter.java | Java | epl-1.0 | 9,019 |
/*
* Copyright 2012 PRODYNA AG
*
* Licensed under the Eclipse Public License (EPL), Version 1.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.opensource.org/licenses/eclipse-1.0.php or
* http://www.nabucco.org/License... | NABUCCO/org.nabucco.framework.common.authorization | org.nabucco.framework.common.authorization.ui.rcp/src/main/gen/org/nabucco/framework/common/authorization/ui/rcp/edit/group/view/AuthorizationGroupEditView.java | Java | epl-1.0 | 2,986 |
/*******************************************************************************
* Debrief - the Open Source Maritime Analysis Application
* http://debrief.info
*
* (C) 2000-2020, Deep Blue C Technology Ltd
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of th... | debrief/debrief | org.mwc.asset.legacy/src/ASSET/Models/Sensor/DeployableSensor.java | Java | epl-1.0 | 1,467 |
/*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | kaloyan-raev/che | plugins/plugin-svn/che-plugin-svn-ext-ide/src/main/java/org/eclipse/che/plugin/svn/ide/diff/DiffPresenter.java | Java | epl-1.0 | 3,823 |
/**
* <copyright>
* </copyright>
*
* $Id: RefactoringTest.javajet,v 1.3 2012/11/26 15:39:40 tarendt Exp $
*/
package de.unimarburg.swt.fopra.state.refactorings.renamestate;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.A... | ArendtTh/FoPra1415SM | de.unimarburg.swt.fopra.state.refactorings/src/de/unimarburg/swt/fopra/state/refactorings/renamestate/RefactoringTest.java | Java | epl-1.0 | 2,587 |
/**
* Copyright (c) 2016 NumberFour AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* NumberF... | lbeurerkellner/n4js | plugins/org.eclipse.n4js.utils/emf-gen/org/eclipse/n4js/utils/validation/impl/PostValidationImpl.java | Java | epl-1.0 | 1,144 |
/* Generated By:JJTree&JavaCC: Do not edit this line. PythonGrammar36Constants.java */
package org.python.pydev.parser.grammar36;
/**
* Token literal values and constants.
* Generated by org.javacc.parser.OtherFilesGen#start()
*/
public interface PythonGrammar36Constants {
/** End of File. */
int EOF = 0;
/... | fabioz/Pydev | plugins/org.python.pydev.parser/src/org/python/pydev/parser/grammar36/PythonGrammar36Constants.java | Java | epl-1.0 | 11,083 |
package org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026;
import org.opendaylight.yangtools.yang.binding.DataObject;
import org.opendaylight.yangtools.yang.common.QName;
/**
ICMP code.
**/
public interface Icmpv4MatchFields
extends
DataObject
{
public static final QName QNAME... | niuqg/controller | opendaylight/md-sal/model/model-flow-base/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/urn/opendaylight/model/match/types/rev131026/Icmpv4MatchFields.java | Java | epl-1.0 | 567 |
/*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | echoes-tech/eclipse.jsdt.core | org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ResolveTests.java | Java | epl-1.0 | 76,662 |
/*******************************************************************************
* Copyright (c) 2010-present Sonatype, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availa... | eclipse/sisu.inject | org.eclipse.sisu.inject.tests/src/org/eclipse/sisu/inject/MildElementsTest.java | Java | epl-1.0 | 4,292 |
package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.remote.rev140114;
import java.util.List;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.remote.rev140114.data.changed.notification.DataChangeEvent;
import java.util.Map;
import org.opend... | niuqg/controller | opendaylight/md-sal/sal-remote/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/md/sal/remote/rev140114/DataChangedNotificationBuilder.java | Java | epl-1.0 | 7,026 |
/*******************************************************************************
* Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/oxm/inheritance/typetests/compositecollection/AddressesAsNestedWithCdnAddressNoDefaultRootTypeXsiTestsCases.java | Java | epl-1.0 | 3,613 |
package at.medevit.ch.artikelstamm;
public interface ATCCodeCacheService {
/**
*
* @param element
* @return the number of elements found, or -1 in case of any error
*/
public int getAvailableArticlesByATCCode(Object element);
}
| DavidGutknecht/elexis-3-base | bundles/at.medevit.ch.artikelstamm/src/at/medevit/ch/artikelstamm/ATCCodeCacheService.java | Java | epl-1.0 | 242 |
/******************************************************************************
** Copyright (c) 2008-2013 Franz Inc.
** All rights reserved. This program and the accompanying materials
** are made available under the terms of the Eclipse Public License v1.0
** which accompanies this distribution, and is available at
*... | 3-Round-Stones/agraph-client-java | src/com/franz/agraph/http/AGHttpRepoClient.java | Java | epl-1.0 | 74,475 |
/*******************************************************************************
* Copyright (c) 2014 UT-Battelle, LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available a... | jarrah42/eavp | org.eclipse.eavp.viz.service.test/src/org/eclipse/eavp/viz/service/csv/test/CSVVizServiceTester.java | Java | epl-1.0 | 4,332 |
/*******************************************************************************
* Copyright (c) 2010-2015, Benedek Izso, Gabor Szarnyas, Istvan Rath and Daniel Varro
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which ac... | FTSRG/trainbenchmark | trainbenchmark-tool-jena/src/main/java/hu/bme/mit/trainbenchmark/benchmark/jena/matches/JenaMatch.java | Java | epl-1.0 | 2,221 |