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 chav1961.purelib.concurrent;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.io.Reader;
import java.io.Wri... | chav1961/purelib | src/test/java/chav1961/purelib/concurrent/XByteStreamTest.java | Java | mit | 5,665 |
package com.astoev.cave.survey.test.service.bluetooth.device;
import com.astoev.cave.survey.exception.DataException;
import com.astoev.cave.survey.service.bluetooth.Measure;
import com.astoev.cave.survey.service.bluetooth.device.comm.AbstractBluetoothRFCOMMDevice;
import com.astoev.cave.survey.service.bluetooth.device... | lz1asl/CaveSurvey | src/test/java/com/astoev/cave/survey/test/service/bluetooth/device/LAProtocolTestComm.java | Java | mit | 2,343 |
package com.maksim;
import model.Weather;
import java.util.List;
public class Root {
private String name;
private String date;
private List<Weather> weather;
public Root() {
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = n... | pnhepw/java-lessons-kirylka | homework/lesson_14/src/com/maksim/Root.java | Java | mit | 848 |
package de.fau.cs.mad.kwikshop.common.util;
public class ObjectHelper {
public static <T> boolean compare (T str1, T str2) {
// both are null => true
if(str1 == null && str2 == null) {
return true;
}
// only one of them is null => false
if(str1 == null || str2... | FAU-Inf2/kwikshop-common | src/main/java/de/fau/cs/mad/kwikshop/common/util/ObjectHelper.java | Java | mit | 457 |
package X3DConverter; /**
* Created by bened on 12.06.2017.
*/
import java.util.Arrays;
/**
* This class models a X3D object
*/
public class X3DPiece {
/**
* The number of this piece in the whole model
*/
private int pieceIndex;
/**
* overall number of pieces in the... | rwth-acis/GaMR | Backend/X3DToJsonConverter/src/main/java/X3DConverter/X3DPiece.java | Java | mit | 6,692 |
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.java.rule.junit;
import net.sourceforge.pmd.testframework.SimpleAggregatorTst;
public class JunitRulesTest extends SimpleAggregatorTst {
private static final String RULESET = "java-junit";
... | byronka/xenos | utils/pmd-bin-5.2.2/src/pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/junit/JunitRulesTest.java | Java | mit | 1,058 |
package oldcodes.design_patterns.abstract_factory;
/**
* EmissorVisa.java -> Job:
* <p>
* @since 30/03/2014
* @version 1.0
* @author Julio Cesar Nunes de Souza (julio.souza@mobilitasistemas.com.br)
*/
public class EmissorMastercard implements Emissor {
@Override
public void envia( String msg ) {
... | juliocnsouzadev/ocpjp | src/oldcodes/design_patterns/abstract_factory/EmissorMastercard.java | Java | mit | 417 |
package com.vk.api.sdk.objects.messages;
import com.google.gson.annotations.SerializedName;
import com.vk.api.sdk.queries.EnumParam;
public enum ConversationMessageRequest implements EnumParam {
@SerializedName("pending")
PENDING("pending"),
@SerializedName("rejected")
REJECTED("rejected");
priv... | VKCOM/vk-java-sdk | sdk/src/main/java/com/vk/api/sdk/objects/messages/ConversationMessageRequest.java | Java | mit | 576 |
/**
* "First, solve the problem. Then, write the code. -John Johnson"
* "Or use Vangav M"
* www.vangav.com
* */
/**
* MIT License
*
* Copyright (c) 2016 Vangav
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software... | vangav/vos_backend | src/com/vangav/backend/public_apis/facebook/json/fields/currency/Currency.java | Java | mit | 2,696 |
package com.community.core.customer;
import org.broadleafcommerce.common.presentation.AdminPresentation;
import org.broadleafcommerce.profile.core.domain.CustomerImpl;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;
@En... | edgardquirino/heatclinic | core/src/main/java/com/community/core/customer/HCCustomerImpl.java | Java | mit | 1,527 |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered.org <http://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | SpongeHistory/SpongeAPI-History | src/main/java/org/spongepowered/api/event/inventory/ContainerOpenEvent.java | Java | mit | 1,609 |
package at.dru.wicketblog.wicket.component;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.border.Border;
import org.apache.wicket.markup.html.form.ILabelProvider;
import org.apache.wicket.model.IModel;
import javax.annotation.Nonnull;
public class FormRow extends Border imple... | dru1/wicketblog | src/main/java/at/dru/wicketblog/wicket/component/FormRow.java | Java | mit | 870 |
package com.drazendjanic.ebookrepository.repository;
import com.drazendjanic.ebookrepository.entity.User;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface IUserRepository extends CrudRepository<User, Long>... | DrazenRocket/EBookRepository | EBookRepositoryApp/src/main/java/com/drazendjanic/ebookrepository/repository/IUserRepository.java | Java | mit | 410 |
package com.eboji.commons.msg.mj;
import com.eboji.commons.msg.BaseMsg;
public class MjBaseMsg extends BaseMsg {
private static final long serialVersionUID = 7194608791826682226L;
public MjBaseMsg() {
super();
}
}
| zhoucl/RootProject | Commons/src/main/java/com/eboji/commons/msg/mj/MjBaseMsg.java | Java | mit | 222 |
/*
* Author: Minho Kim (ISKU)
* Date: June 8, 2019
* E-mail: minho.kim093@gmail.com
*
* https://github.com/ISKU/Algorithm
* https://www.acmicpc.net/problem/17273
*/
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReade... | ISKU/Algorithm | BOJ/17273/Main.java | Java | mit | 886 |
package org.dictionary.repository;
import org.dictionary.domain.FileImport;
import org.springframework.data.jpa.repository.*;
import java.util.List;
/**
* Spring Data JPA repository for the FileImport entity.
*/
public interface FileRepository extends JpaRepository<FileImport,Long> {
}
| eballerini/dictionary | src/main/java/org/dictionary/repository/FileRepository.java | Java | mit | 294 |
/*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.79.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class m... | plaid/plaid-java | src/main/java/com/plaid/client/model/LinkTokenGetResponse.java | Java | mit | 6,594 |
package com.mobilization.yamblz_timeline.presentation.fragment;
import android.content.res.AssetManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.Lay... | ConvolutionalNetworks/Yamblz_Timeline | app/src/main/java/com/mobilization/yamblz_timeline/presentation/fragment/EventFragment.java | Java | mit | 4,224 |
/* This file is part of RD-Switchboard.
* RD-Switchboard 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 distrib... | rd-switchboard/Toolbox | RDS/check_limits/src/main/java/org/rdswitchboard/api/limits/App.java | Java | mit | 3,664 |
/*
* 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 cs480l_lab.g1;
/**
*
* @author raliclo
*/
public class Service {
private double price;
private String version;
... | ralic/NPU-CS480 | CS480-Lab2-ClassPractie/src/cs480l_lab/g1/Service.java | Java | mit | 870 |
package ocp;
// 하나의 부모 클래스형의 참조변수로 여러 (구현된)자식클래스의 자원에 접근하여 사용할수 있다.
// 하나의 클래스로 여러객체를 생성하고 접근하여 자원을 사용할수 있는것이다 .
public class OCP {
InterfaceA a;
public void tes(InterfaceA a){
this.a = a;
if (a instanceof A1) {
A1 a1 =(A1) a;
a1.testA();
} else if (a instanceof A... | ByeongGi/Koata_Java | OCP/src/ocp/OCP.java | Java | mit | 891 |
package lab;
import java.util.Scanner;
public class Avg {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double firstNumber = scanner.nextDouble();
double secondNumber = scanner.nextDouble();
double thirdNumber = scanner.nextDouble();
Sy... | komitoff/Java-Fundamentals | Java Fundamentals Course/Intro/src/lab/Avg.java | Java | mit | 433 |
/*
* This file is part of Flow Engine, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <http://www.spout.org/>
*
* 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 ... | flow/engine | src/main/java/com/flowpowered/api/util/cuboid/CuboidBlockMaterialBuffer.java | Java | mit | 7,370 |
package edu.javacourse.classchain;
import edu.javacourse.classchain.bl.InternalBusinessLogic;
import edu.javacourse.classchain.dao.DBAccess;
import edu.javacourse.classchain.entity.HTTPRequest;
import edu.javacourse.classchain.entity.HTTPResponse;
import edu.javacourse.classchain.entity.MailMessage;
import edu.javacou... | java-course-ee/java-course-se | Class/ClassesChain/src/edu/javacourse/classchain/Main.java | Java | mit | 1,677 |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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 ... | guxuede/gm_ashley | src/main/java/com/siondream/superjumper/net/SecureChatClientInitializer.java | Java | mit | 1,878 |
package org.jailbreak.service.base.events;
import java.sql.SQLException;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Set;
import org.jailbreak.api.representations.Representations.Checkin;
import org.jailbreak.api.representations.Represen... | jailbreakhq/JailbreakApi | jailbreak-service/src/main/java/org/jailbreak/service/base/events/EventsManagerImpl.java | Java | mit | 10,499 |
package com.bandwidth.iris.sdk.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "Host")
@XmlAccessorType(XmlAccessType.FIELD)
public class Host {... | bandwidthcom/java-bandwidth-iris | src/main/java/com/bandwidth/iris/sdk/model/Host.java | Java | mit | 541 |
package parser;
// Generated from RoboL.g4 by ANTLR 4.4
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link RoboLParser}.
*
* @param <T> The return type of the visit operation. Us... | vavio/compiler | RoboLCompailer/src/parser/RoboLVisitor.java | Java | mit | 9,041 |
package algs.model.tests.gametree;
import org.junit.Test;
import algs.model.gametree.IGameMove;
import algs.model.problems.tictactoe.model.BoardEvaluation;
import algs.model.problems.tictactoe.model.PlaceMark;
import algs.model.problems.tictactoe.model.Player;
import algs.model.problems.tictactoe.model.PlayerFactory;... | heineman/algorithms-nutshell-2ed | Tests/tests/algs/model/tests/gametree/NegMaxTest.java | Java | mit | 1,992 |
package qub;
/**
* An interface for a function that takes two arguments and returns a value.
* @param <T1> The first type of the argument that this function takes.
* @param <T2> The second type of the argument that this function takes.
* @param <T3> The third type of argument that this function takes.
* @param <T... | danschultequb/qub-java | sources/qub/Function3.java | Java | mit | 733 |
package parser.io;
import java.io.IOException;
import java.util.ArrayList;
import parser.DependencyInstance;
import parser.SemanticFrame;
import parser.Options;
import utils.Utils;
public class CONLLReader extends DependencyReader {
public CONLLReader(Options options) {
this.options = options;
}
@Override
... | taolei87/SRLParser | src/parser/io/CONLLReader.java | Java | mit | 4,090 |
package jp.ne.yohira.model.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import jp.ne.yohira.model.dao.spec.TweetDaoSpec;
import jp.ne.yohira.model.dto.TweetDto;
import jp.ne.yohira.model.service.spec.AloneTwitterSer... | yohira0616/aloneTwitter | src/main/java/jp/ne/yohira/model/service/impl/AloneTwitterService.java | Java | mit | 805 |
package panels;
import graphics.DataPack;
import javax.swing.*;
import java.awt.*;
import java.util.ArrayList;
import static javax.swing.GroupLayout.Alignment.BASELINE;
import static javax.swing.GroupLayout.Alignment.CENTER;
import static javax.swing.GroupLayout.Alignment.LEADING;
public class DataPanel... | losoliveirasilva/ine5404_project | src/panels/DataPanel.java | Java | mit | 4,563 |
package teamoortcloud.scenes;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.geometry.Insets;
import javafx.scene.Scene;
import javafx.scene.chart.*;
import javafx.scene.control.Button;
import javafx.scene.control.ListView;
import javafx.scene.layout.BorderPane;
import... | cameronmoreau/IceCreamParlor | src/teamoortcloud/scenes/ShopOverviewState.java | Java | mit | 3,750 |
package org.prcode.business.support.basic.group;
/**
* @ClassName: Create
* @Date: 2017-03-30 19:31
* @Auther: kangduo
* @Description: (新增校验group类)
*/
public interface Create {
}
| DomKing/busi-support | busi-support-basic/src/main/java/org/prcode/business/support/basic/group/Create.java | Java | mit | 195 |
// Copyright (c) 2016 Timothy D. Jones
//
// 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, publi... | jonestimd/swing-extensions | src/main/java/io/github/jonestimd/swing/validation/ValidatingTextCellEditor.java | Java | mit | 3,873 |
/**
*
*/
package io.yope.payment.services;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.text.MessageFormat;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
im... | yopeio/payment-api | yope-payment-service/src/main/java/io/yope/payment/services/TransactionService.java | Java | mit | 15,253 |
package org.wickedsource.coderadar.job.merge;
import org.wickedsource.coderadar.job.core.Job;
import javax.persistence.Entity;
/**
* A Job that refines the CommitLogEntries that contain metadata about the files of a VCS and
* merges renamed files to a single FileIdentity.
*/
@Entity
public class MergeLogJob exten... | thombergs/coderadar | server/coderadar-webapp/src/main/java/org/wickedsource/coderadar/job/merge/MergeLogJob.java | Java | mit | 332 |
package algs.model.searchtree.states;
import java.util.Comparator;
import java.util.Iterator;
import algs.model.list.DoubleLinkedList;
import algs.model.list.DoubleNode;
import algs.model.searchtree.INode;
import algs.model.searchtree.INodeSet;
/**
* Maintains the set of open states in ordered fashion, so the state... | heineman/algorithms-nutshell-2ed | JavaCode/src/algs/model/searchtree/states/StateOrdered.java | Java | mit | 2,528 |
/**
*
*/
package com.varone.web.aggregator.timeperiod;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
/**
* @author allen
*
*/
public class TimePeriodTest {
/**
* @throws java.lang.Exception
*/
@Before
public void setUp() throws Exception {
}
/**
* Test method fo... | SparkMonitor/varOne | varOne-server/src/test/java/com/varone/web/aggregator/timeperiod/TimePeriodTest.java | Java | mit | 1,743 |
/**
* 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/.
* Copyright 2015 Chiori-chan. All Right Reserved.
*
* @author Chiori Greene
* @email chiorigreene@gmail.com
... | ChioriGreene/ChioriWebServer | ZXingPlugin/src/main/java/com/chiorichan/plugin/zxing/ImageType.java | Java | mit | 402 |
// @formatter:off
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* Licensed under the MIT license. See License.txt in the project root.
* ---------------------------------------------------------
*
* ---------------------------------------------... | Microsoft/vso-httpclient-java | Rest/alm-vss-client/src/main/generated/com/microsoft/alm/visualstudio/services/identity/IdentitySnapshot.java | Java | mit | 1,838 |
package org.phenoscape.obd.query;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
/**
* The result of a textual search for terms used in autocomplete
*/
public class AutocompleteResult {
private final List<SearchHit> hits = new ArrayList<Search... | phenoscape/PhenoscapeOBD-WS | src/org/phenoscape/obd/query/AutocompleteResult.java | Java | mit | 1,325 |
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Cli {
private static final Logger log = LoggerFactory.getLogger(Cli.class);
public static void main(String[] args) throws InterruptedException {
log.info("cli started");
for (int i=0; i<300; i++) {
log.warn("cl... | lathspell/java_test | java_test_ee7_stack1/src/main/java/Cli.java | Java | cc0-1.0 | 385 |
package com.example.sejol.secsys.Adapters;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v... | rgonzaleztec/icsscREDES | 1S2016/SICOSETEC/MyApplication/app/src/main/java/com/example/sejol/secsys/Adapters/FragmentDrawer.java | Java | cc0-1.0 | 6,038 |
package es.thesinsprods.zagastales.juegozagas.jugar.master.npc2;
import java.awt.Color;
import java.awt.EventQueue;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.Array... | ZagasTales/HistoriasdeZagas | src Graf/es/thesinsprods/zagastales/juegozagas/jugar/master/npc2/InfoWeap2Jugadores.java | Java | cc0-1.0 | 8,674 |
package co.leantechniques;
import co.leantechniques.model.Person;
import co.leantechniques.model.Phone;
import co.leantechniques.repository.PersonRepository;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import o... | leantechniques/agile-data-workshop | src/test/java/co/leantechniques/PersonViewDatabaseTest.java | Java | cc0-1.0 | 5,400 |
package common;
public interface ITest {
/// Evaluates the general intelligence of the agent with some task.
/// Returns a number that represents the intelligence of the agent.
/// (More intelligent agents should achieve a higher score.
/// Less intelligent agents should achieve a lower score.
/// The scores may... | silky/manic | src/common/ITest.java | Java | cc0-1.0 | 393 |
package utils;
import java.io.*;
/**
* FileReaderin laajennus, joka mahdollistaa koko tiedoston sisällön lukemisen kerralla.
*/
public class FileLoader extends FileReader {
/**
* Avaa annetun tiedoston luettavaksi.
*
* @param f Tiedosto-olio.
*
* @exception FileNotF... | ahihi/cells | src/utils/FileLoader.java | Java | cc0-1.0 | 1,052 |
package es.thesinsprods.zagastales.characters.skills;
import es.thesinsprods.zagastales.characters.OutOfPointsException;
public class KnowledgeSkills {
private SkillPoints points;
private int artofWar;
private int diplomacy;
private int etiquette;
private int medicine;
private int occultism;
private... | ZagasTales/HistoriasdeZagas | src/es/thesinsprods/zagastales/characters/skills/KnowledgeSkills.java | Java | cc0-1.0 | 15,416 |
package nl.hinttech.hsleiden.pi.components;
import nl.hinttech.hsleiden.pi.util.HSLeiden;
import org.hippoecm.hst.content.beans.standard.HippoHtml;
import org.hippoecm.hst.core.component.HstComponentException;
import org.hippoecm.hst.core.component.HstRequest;
import org.hippoecm.hst.core.component.HstResponse;
/**
... | HogeschoolLeiden/website | site/src/main/java/nl/hinttech/hsleiden/pi/components/HomeComponent.java | Java | cc0-1.0 | 1,032 |
package com.opcoach.rental.forms.rcp;
import org.eclipse.swt.graphics.Point;
import org.eclipse.ui.application.ActionBarAdvisor;
import org.eclipse.ui.application.IActionBarConfigurer;
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.eclipse.ui.application.WorkbenchWindowAdvisor;
public class ... | opcoach/training | EMF/com.opcoach.rental.forms.rcp/src/com/opcoach/rental/forms/rcp/ApplicationWorkbenchWindowAdvisor.java | Java | epl-1.0 | 921 |
package DungeonOne;
import Enemies.EnemyRat;
public class Room2 {
public static boolean room2Active;
public static boolean combatDone;
public static void room2()
{
EnemyRat enemy = new EnemyRat();
if (combatDone = false) {
System.out.printf("\n > You step in to a large room with... | AlexRichard/AlexBrandonText | src/DungeonOne/Room2.java | Java | epl-1.0 | 592 |
package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.config.kitchen.service.impl.rev140131;
public final class $YangModelBindingProvider implements org.opendaylight.yangtools.yang.binding.YangModelBindingProvider {
public org.opendaylight.yangtools.yang.binding.YangModuleInfo getMod... | niuqg/controller | opendaylight/md-sal/samples/toaster-consumer/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/kitchen/service/impl/rev140131/$YangModelBindingProvider.java | Java | epl-1.0 | 390 |
package link1234gamer.fnafmod.common.entity;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import link1234gamer.fnafmod.FNAFMod;
import link1234gamer.fnafmod.common.entity.ai.FredbearAI.EntityFredbearAIAttackOnCollide;
import link1234gamer.fnafmod.common.entity.ai.FredbearAI.Entit... | Link1234Gamer/FiveNightsAtFreddysUniverseMod | src/main/java/link1234gamer/fnafmod/common/entity/EntityFredbear.java | Java | epl-1.0 | 4,199 |
package nju.software.appraisal.dynamicds;
/**
* @author YZJ
*
*/
public class CustomerContextHolder {
private static final ThreadLocal contextHolder = new ThreadLocal();
public static void setCustomerType(String customerType) {
contextHolder.set(customerType);
}
public sta... | SongyuCHen/appraisal | src/main/java/nju/software/appraisal/dynamicds/CustomerContextHolder.java | Java | epl-1.0 | 503 |
/*-
*******************************************************************************
* Copyright (c) 2011, 2016 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, ... | yannick-mayeur/january | org.eclipse.january/src/org/eclipse/january/dataset/Slice.java | Java | epl-1.0 | 18,026 |
package com.app.jiaxiaotong.activity;
import android.Manifest;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.app.jiaxiaotong.ChildrenInfo... | harbourfy/newjiaxiaotong | app/src/main/java/com/app/jiaxiaotong/activity/SettingActivity.java | Java | epl-1.0 | 4,733 |
package com.sg.visionadapter;
import org.bson.types.ObjectId;
import com.mongodb.WriteResult;
/**
* °ë³ÉÆ·¶ÔÏó
* @author zhonghua
*
*/
public final class PMPart extends BasicPart implements IProductRelative{
@Override
public ObjectId getProjectId() {
return (ObjectId) get(PROJECT_ID);
... | sgewuhan/visionadapter | visionadapter/src/com/sg/visionadapter/PMPart.java | Java | epl-1.0 | 1,450 |
/********************************************************************************
* Copyright (c) 2011-2017 Red Hat Inc. and/or its affiliates and others
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 1.0 which is available at
* http://www.eclipse... | ceylon/ceylon-ide-eclipse | plugins/org.eclipse.ceylon.ide.eclipse.ui/src/org/eclipse/ceylon/ide/eclipse/code/wizard/ImportModulesWizardPage.java | Java | epl-1.0 | 8,398 |
/*$Id$
* Project : org.kermeta.utils.provisionner.eclipse
* License : EPL
* Copyright : IRISA / INRIA / Universite de Rennes 1
* ----------------------------------------------------------------------------
* Creation date : 2010
* Authors :
* Didier Vojtisek <didier.vojtisek@inria.fr>
*/
package org.kermeta.utils.pr... | diverse-project/tools | commons-eclipse/fr.inria.diverse.commons.provisionner4eclipse/src/main/java/org/kermeta/utils/provisionner4eclipse/preferences/PreferenceInitializer.java | Java | epl-1.0 | 1,735 |
/*******************************************************************************
* Copyright (c) 2000, 2005 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... | neelance/jface4ruby | jface4ruby/src/org/eclipse/jface/text/link/ILinkedModeListener.java | Java | epl-1.0 | 2,272 |
package org.soulspace.mdlrepo.metamodel.impl;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.soulspace.mdlrepo.metamodel.IAction;
import org.soulspace.mdlrepo.metamodel.IEvent;
import org.soulspace.mdlrepo.metamodel.IState;
import org.soulspace.mdlrepo.metamodel.ITransition;
publ... | mduchrow/MDARepository | src/org/soulspace/mdlrepo/metamodel/impl/Transition.java | Java | epl-1.0 | 1,999 |
/*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | scmod/nexus-public | plugins/osgi/nexus-obr-plugin/src/main/java/org/sonatype/nexus/obr/task/PublishObrDescriptorTask.java | Java | epl-1.0 | 3,444 |
/**
* Copyright 2009-2016 Université Paris Ouest and Sorbonne Universités,
Univ. Paris 06 - CNRS UMR 7606 (LIP6)
*
* 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 av... | lhillah/pnmlframework | pnmlFw-HLPN/src/fr/lip6/move/pnml/hlpn/hlcorestructure/hlapi/DeclarationHLAPI.java | Java | epl-1.0 | 11,165 |
/******************************************************************************
* ResponderJSCRIPT.java
* ****************************************************************************/
/* J_LZ_COPYRIGHT_BEGIN *******************************************************
* Copyright 2001-2004 Laszlo Systems, Inc. All Right... | mcarlson/openlaszlo | WEB-INF/lps/server/src/org/openlaszlo/servlets/responders/ResponderJSCRIPT.java | Java | epl-1.0 | 3,828 |
/**
*/
package eu.hohenegger.xsd.pom.impl;
import eu.hohenegger.xsd.pom.DependenciesType1;
import eu.hohenegger.xsd.pom.Dependency;
import eu.hohenegger.xsd.pom.PomPackage;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
... | Treehopper/EclipseAugments | pom-editor/eu.hohenegger.xsd.pom/src-gen/eu/hohenegger/xsd/pom/impl/DependenciesType1Impl.java | Java | epl-1.0 | 3,779 |
//$Id: SQLFunctionsTest.java 10977 2006-12-12 23:28:04Z steve.ebersole@jboss.com $
package org.hibernate.test.legacy;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import junit.framework.Te... | ControlSystemStudio/cs-studio | thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/testsuite/src/test/java/org/hibernate/test/legacy/SQLFunctionsTest.java | Java | epl-1.0 | 21,501 |
/*******************************************************************************
* Copyright (c) 2017-2019 DocDoku.
* 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... | polarsys/eplmp | eplmp-core/src/main/java/org/polarsys/eplmp/core/change/ChangeItemCategory.java | Java | epl-1.0 | 777 |
/*******************************************************************************
* Copyright (c) 2004, 2005 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.css.core/src/org/eclipse/wst/css/core/internal/metamodel/CSSMMNode.java | Java | epl-1.0 | 2,287 |
/*******************************************************************************
* Copyright (c) 2012-2017 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 ... | gazarenkov/che-sketch | samples/sample-plugin-serverservice/che-sample-plugin-serverservice-ide/src/main/java/org/eclipse/che/plugin/serverservice/ide/ServerServiceExtension.java | Java | epl-1.0 | 1,690 |
/*
* Copyright (c) 2013 Red Hat, Inc. 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
* ... | windup/windup-legacy | application/engine/src/main/java/org/jboss/windup/interrogator/ZipInterrogationEngine.java | Java | epl-1.0 | 3,310 |
/**
* Copyright (c) 2014-2016 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... | kgoderis/smarthome | bundles/core/org.eclipse.smarthome.core.audio/src/main/java/org/eclipse/smarthome/core/audio/URLAudioStream.java | Java | epl-1.0 | 4,702 |
/**
* Eclipse Public License - v 1.0
*
* THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION
* OF THE
* PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
*
* 1. DEFINITIONS
*
* "Contribution" means:
*
* a) in ... | RodriguesJ/Atem | src/com/runescape/server/revised/actor/Address.java | Java | epl-1.0 | 13,060 |
/**
* 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.model/emf-gen/org/eclipse/n4js/n4JS/impl/N4EnumLiteralImpl.java | Java | epl-1.0 | 7,332 |
package controller.admin;
import grafica.admin.VentanaPrincipalAdmin;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.rmi.RemoteException;
import controller.RemoteFachada;
import logica.IFachada;
import logica.excepctions.PersistenciaException;
public class GuardarControlle... | pablocabillon/RepositorioProy | src/controller/admin/GuardarController.java | Java | epl-1.0 | 1,121 |
package clojure.lang;
/**
* Copyright (c) Rich Hickey. All rights reserved.
* The use and distribution terms for this software are covered by the
* Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
* which can be found in the file epl-v10.html at the root of this distribution.
* B... | zephyrplugins/zephyr | zephyr.plugin.clojure/clojure-1.2.0/src/jvm/clojure/lang/IPersistentCollection.java | Java | epl-1.0 | 682 |
package Paquete;
public class Snacks
{
String nombre;
double precio;
int cantidad; //Para saber cuantos agarro
public Snacks()
{
nombre = "";
precio = 0;
cantidad = 0;
}
public Snacks(String nombre, double precio)
{
this.nombre=nombre;
this.precio=precio;
}
... | matias-burgos/Trabajo-Practico-Final---Hotel | src/Paquete/Snacks.java | Java | epl-1.0 | 964 |
/*******************************************************************************
* Copyright (c) 1998, 2013 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/eclipselink.core.test/src/org/eclipse/persistence/testing/tests/workbenchintegration/QueryOptions/ShouldPrepareTest.java | Java | epl-1.0 | 3,546 |
/*
* Copyright (C) 2013 see CREDITS.txt
* All rights reserved.
*/
package fi.uef.envi.wavellite.entity.core.base.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import org.joda.time.DateTime;
import org.joda.time.Interval;
import org.junit.Test;
import fi.uef.en... | markusstocker/wavellite-entity | src/test/java/fi/uef/envi/wavellite/entity/core/base/test/TemporalLocationIntervalTest.java | Java | epl-1.0 | 7,877 |
/*******************************************************************************
* Copyright (c) 2010-2014, Miklos Foldenyi, Andras Szabolcs Nagy, Abel Hegedus, Akos Horvath, Zoltan Ujhelyi and Daniel Varro
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the... | FTSRG/decps | dse/org.eclipse.viatra.dse.base/src/org/eclipse/viatra/dse/designspace/impl/pojo/ConcurrentDesignSpace.java | Java | epl-1.0 | 13,216 |
/**
* Copyright (c) 2014 - 2022 Frank Appel
* 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:
* Fran... | fappel/xiliary | com.codeaffine.workflow/src/com/codeaffine/workflow/Scope.java | Java | epl-1.0 | 561 |
/*******************************************************************************
* Copyright (c) 1997, 2015 by ProSyst Software GmbH
* http://www.prosyst.com
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanie... | danchom/smarthome | bundles/automation/org.eclipse.smarthome.automation.core/src/main/java/org/eclipse/smarthome/automation/core/RuleManagerImpl.java | Java | epl-1.0 | 882 |
/**
* Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
package org.python.pydev.debug.... | smkr/pyclipse | plugins/org.python.pydev.debug/src/org/python/pydev/debug/ui/actions/RelaunchLastAction.java | Java | epl-1.0 | 824 |
/*******************************************************************************
* 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 ... | dhuebner/che | wsagent/che-core-api-git/src/main/java/org/eclipse/che/api/git/GitValueProviderFactory.java | Java | epl-1.0 | 3,431 |
/*******************************************************************************
* 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/xmlroot/complex/XMLRootMultipleMarshalTestCases.java | Java | epl-1.0 | 3,181 |
/*******************************************************************************
* Copyright (c) 2015, 2016 Bosch Software Innovations GmbH and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distrib... | nagavijays/vorto | example-generators/org.eclipse.vorto.codegen.examples.bosch/src/org/eclipse/vorto/codegen/examples/bosch/fbservice/FbServiceGenerator.java | Java | epl-1.0 | 5,116 |
/**************************** Copyright notice ********************************
Copyright (C)2014 by D. Ehms, http://www.patternbox.com
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistr... | patternbox/patternbox-tangocalendar | tangocal-core/src/main/java/com/patternbox/tangocalendar/core/types/package-info.java | Java | epl-1.0 | 1,608 |
package com.intuit.tank.api.model.v1.automation;
import com.intuit.tank.harness.StopBehavior;
import com.intuit.tank.test.TestGroups;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import javax.xml.bind.JAXBException;
import static org.junit.jupiter.api.Assertions.*;
/**
* The class <code>Cre... | intuit/Tank | rest/api/automation/src/test/java/com/intuit/tank/api/model/v1/automation/CreateJobRequestTest.java | Java | epl-1.0 | 1,494 |
/*
* Copyright (c) 2017 Hewlett Packard Enterprise, Co. 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
*/
... | opendaylight/netvirt | dhcpservice/impl/src/main/java/org/opendaylight/netvirt/dhcpservice/DhcpAllocationPoolManager.java | Java | epl-1.0 | 12,630 |
package org.hl7.v3;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for GLIST_PQ c... | DavidGutknecht/elexis-3-base | bundles/ch.elexis.docbox.ws.client/src-gen/org/hl7/v3/GLISTPQ.java | Java | epl-1.0 | 3,252 |
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others. All rights reserved.
* The contents of this file are made available under the terms
* of the GNU Lesser General Public License (LGPL) Version 2.1 that
* accompanies this distributi... | neelance/swt4ruby | swt4ruby/src/linux-x86_32/org/eclipse/swt/internal/accessibility/gtk/AtkHypertextIface.java | Java | epl-1.0 | 1,130 |
package stview.node;
import org.eclipse.photran.internal.core.analysis.loops.ASTProperLoopConstructNode;
import org.eclipse.photran.internal.core.parser.ASTLoopControlNode;
import org.eclipse.photran.internal.core.parser.IExpr;
/**
* Do(While) Loop class.
*/
public class Do extends Loop{
private static final long ... | K-scope/STView | src/stview/node/Do.java | Java | epl-1.0 | 2,332 |
/*
* This file is part of the Jikes RVM project (http://jikesrvm.org).
*
* This file is licensed to You under the Common Public License (CPL);
* 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/cpl1.0.php
*... | rmcilroy/HeraJVM | rvm/src/org/jikesrvm/util/VM_Synchronizer.java | Java | epl-1.0 | 690 |
package Game;
import java.awt.Color;
import java.awt.List;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.ListIterator;
import java.util.Scanner;
import javax.print.attribute.standard.NumberUp;
import Cards.Card;
import Cards.Colors;
import Cards.cardType;
import Cards.numberC... | shemeshx/RoboTaki | Test/src/Game/RobotTaki.java | Java | epl-1.0 | 8,963 |
package org.yamcs.studio.p2;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.runtime.jobs.IJobChangeEvent;
import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.core.runtime.jobs.JobChangeAdapter;
import org.eclipse.equinox.p2.ui.LoadMet... | fqqb/yamcs-studio | bundles/org.yamcs.studio.p2/src/main/java/org/yamcs/studio/p2/PreloadingRepositoryHandler.java | Java | epl-1.0 | 2,829 |
/*******************************************************************************
* 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 | wsmaster/codenvy-hosted-events/src/main/java/com/codenvy/workspace/interceptor/InterceptorModule.java | Java | epl-1.0 | 1,701 |
/**
*/
package eu.mondo.collaboration.operationtracemodel.example.WTSpec;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Ctrl Unit62</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link eu.mondo.collaboration.opera... | FTSRG/mondo-collab-framework | archive/workspaceTracker/VA/ikerlanEMF/src/eu/mondo/collaboration/operationtracemodel/example/WTSpec/CtrlUnit62.java | Java | epl-1.0 | 6,927 |
/*******************************************************************************
* Copyright (c) 2010, 2011 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/util/SWTUtil.java | Java | epl-1.0 | 5,098 |
/*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | scmod/nexus-public | components/nexus-core/src/main/java/org/sonatype/nexus/tasks/RebuildAttributesTask.java | Java | epl-1.0 | 2,759 |