repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
jminusminus/core | stream/Readable.java | 2510 | //
// Copyright 2016, Yahoo Inc.
// Copyrights licensed under the New BSD License.
// See the accompanying LICENSE file for terms.
//
package github.com.jminusminus.core.stream;
public class Readable {
// Jmm Readable wraps https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html
protected java.io.... | bsd-3-clause |
fwix/java-gearman | src/org/gearman/WorkerJob.java | 3036 | package org.gearman;
import org.gearman.JobServerPoolAbstract.ConnectionController;
import org.gearman.core.GearmanConnection;
import org.gearman.core.GearmanPacket;
import org.gearman.core.GearmanPacket.Magic;
import org.gearman.util.ByteArray;
/**
* The {@link GearmanJob} implementation for the {@link GearmanFunct... | bsd-3-clause |
broadinstitute/picard | src/test/java/picard/fingerprint/CalculateFingerprintMetricsTest.java | 3721 | package picard.fingerprint;
import htsjdk.samtools.metrics.MetricsFile;
import org.testng.Assert;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import picard.cmdline.CommandLineProgramTest;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.... | mit |
TlatoaniHJ/MundoSK | src/com/pie/tlatoani/WebSocket/ExprWebSocketID.java | 522 | package com.pie.tlatoani.WebSocket;
import com.pie.tlatoani.Core.Skript.MundoPropertyExpression;
import com.pie.tlatoani.Core.Static.OptionalUtil;
import mundosk_libraries.java_websocket.WebSocket;
/**
* Created by Tlatoani on 9/3/17.
*/
public class ExprWebSocketID extends MundoPropertyExpression<WebSocket, String... | mit |
selvasingh/azure-sdk-for-java | sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/implementation/DatabasePrincipalListResultInner.java | 1165 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.kusto.v2019_05_15.implementation;
import java.ut... | mit |
ldebello/javacuriosities | JavaEE/JavaWebServices/JAX-WS/WSGenBasics/src/main/java/ar/com/javacuriosities/ws/gen/service/jaxws/GetIpAddressResponse.java | 962 |
package ar.com.javacuriosities.ws.gen.service.jaxws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlRootElement(name = "getIpA... | mit |
CyanogenMod/android_external_mockito | test/org/mockitousage/annotation/MockInjectionUsingConstructorTest.java | 3568 | /*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockitousage.annotation;
import org.fest.assertions.Assertions;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import or... | mit |
navalev/azure-sdk-for-java | sdk/network/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/network/v2019_08_01/Probe.java | 1770 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network.v2019_08_01;
import com.microsoft.azure.... | mit |
Aurasphere/facebot | src/main/java/co/aurasphere/botmill/fb/FbBotMillServlet.java | 8084 | /*
* MIT License
*
* Copyright (c) 2016 BotMill.io
*
* 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, co... | mit |
mhcrnl/java-swing-tips | DnDReorderTable/src/java/example/MainPanel.java | 7343 | package example;
//-*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
//@homepage@
import java.awt.*;
import java.awt.datatransfer.*;
import java.awt.dnd.*;
import java.awt.event.*;
import java.io.IOException;
import java.util.*;
import java.util.List;
import javax.activation.*;
import javax.swing.*;
impo... | mit |
bjrke/just-java-toolbox | just-java-test-toolbox/src/main/java/de/justsoftware/toolbox/testng/DataProviders.java | 3248 | package de.justsoftware.toolbox.testng;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import com.google.common.collect.FluentIterable;
import com.google.common.collect.Iterat... | mit |
lintyleo/seleniumpro | SealSelenium/src/main/java/CsvUtility.java | 1057 | import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVRecord;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
/**
* Created by Linty on 2/12/2017.
* 用 apache的 commons-csv 的公共类,编写一个适用于用例中读取Csv的方法
*/
public class CsvUtility {
... | mit |
uwol/cobol85parser | src/main/java/io/proleap/cobol/asg/metamodel/identification/ProgramIdParagraph.java | 685 | /*
* Copyright (C) 2017, Ulrich Wolffgang <ulrich.wolffgang@proleap.io>
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
package io.proleap.cobol.asg.metamodel.identification;
import io.proleap.cobol.asg.metamodel... | mit |
manuel-zulian/Match-Point | trunk/src/java/it/gemmed/database/CreateIscrizioneDatabase.java | 1902 | package it.gemmed.database;
import it.gemmed.resource.Iscrizione;
import java.sql.Array;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
/**
* Crea una nuova iscrizione all'interno del database. Sono richiesti solo i campi
* not NULL, per settare gli altri ca... | mit |
selvasingh/azure-sdk-for-java | sdk/storage/azure-storage-blob-changefeed/src/main/java/com/azure/storage/blob/changefeed/models/BlobChangefeedEventType.java | 1274 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.storage.blob.changefeed.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* This class represents the different BlobChangefeedEventTypes.
*/
public final class ... | mit |
klinker41/Android-TextView-LinkBuilder | library/src/main/java/com/klinker/android/link_builder/TouchableSpan.java | 3202 | /*
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 applicable law or agreed to in writing, software
distribu... | mit |
navalev/azure-sdk-for-java | sdk/policy/mgmt-v2018_05_01/src/main/java/com/microsoft/azure/management/policy/v2018_05_01/PolicyType.java | 1356 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.policy.v2018_05_01;
import java.util.Collection;... | mit |
joshsh/extendo | brain/src/test/java/net/fortytwo/smsn/brain/model/GetAtomsByAcronymTest.java | 2472 | package net.fortytwo.smsn.brain.model;
import net.fortytwo.smsn.SemanticSynchrony;
import net.fortytwo.smsn.brain.BrainTestBase;
import net.fortytwo.smsn.brain.model.entities.Atom;
import net.fortytwo.smsn.brain.model.pg.PGAtom;
import org.junit.Test;
import java.io.IOException;
import java.util.Collection;
import s... | mit |
devopsmwas/javapractice | NetBeansProjects/practice/src/threads/Bounce.java | 4470 | /*
* 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 threads;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Graphics;
import java.awt.Graphics2D;
import... | mit |
martinsawicki/azure-sdk-for-java | azure-mgmt-containerregistry/src/main/java/com/microsoft/azure/management/containerregistry/implementation/WebhookEventInfoImpl.java | 1154 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.containerregistry.implementation;
import com.microsoft.azure.management.apigeneration.LangDefinition;
import com... | mit |
Daeliin/rest-framework | components-core/src/main/java/com/blebail/components/core/security/cryptography/Md5.java | 366 | package com.blebail.components.core.security.cryptography;
import org.apache.commons.codec.digest.DigestUtils;
public class Md5 implements DigestAlgorithm {
@Override
public String digest(final String data) {
return DigestUtils.md5Hex(data);
}
@Override
public String toString() {
... | mit |
Stonebound/Prism | src/main/java/com/helion3/prism/util/BlockUtil.java | 6277 | /*
* This file is part of Prism, licensed under the MIT License (MIT).
*
* Copyright (c) 2015 Helion3 http://helion3.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 rest... | mit |
AlexShilon/RohosLogonMobile | Android/RohosLogonKey/src/main/java/com/rohos/logon1/HelpActivity.java | 1571 | package com.rohos.logon1;
/*
* Copyright 2014 Tesline-Service SRL. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
*/
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.... | mit |
open-keychain/spongycastle | pkix/src/main/java/org/spongycastle/openssl/jcajce/JceOpenSSLPKCS8EncryptorBuilder.java | 6994 | package org.spongycastle.openssl.jcajce;
import java.io.IOException;
import java.io.OutputStream;
import java.security.AlgorithmParameterGenerator;
import java.security.AlgorithmParameters;
import java.security.GeneralSecurityException;
import java.security.Provider;
import java.security.SecureRandom;
import javax.cr... | mit |
uwol/vb6parser | src/test/java/io/proleap/vb6/ast/statements/DoLoopTest.java | 461 | package io.proleap.vb6.ast.statements;
import java.io.File;
import org.junit.Test;
import io.proleap.vb6.runner.VbParseTestRunner;
import io.proleap.vb6.runner.impl.VbParseTestRunnerImpl;
public class DoLoopTest {
@Test
public void test() throws Exception {
final File inputFile = new File("src/test/resources/io... | mit |
howenkakao/style-web | app/domain/Msg.java | 2436 | package domain;
import java.io.Serializable;
import java.sql.Timestamp;
/**
* 全体系统消息
* Created by sibyl.sun on 16/2/22.
*/
public class Msg implements Serializable {
private static final long serialVersionUID = 1L;
private long msgId;//消息id
private String msgTitle; //消息标题
private String msgContent;... | mit |
AjitPS/KnetMiner | server-base/src/main/java/rres/knetminer/datasource/server/KnetminerServer.java | 15807 | package rres.knetminer.datasource.server;
import static uk.ac.ebi.utils.exceptions.ExceptionUtils.getSignificantMessage;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Collections;
i... | mit |
QuantumRand/admob-google-cordova | src/android/AdMobAdsAdListener.java | 4742 | /*
AdMobAdsListener.java
Copyright 2015 AppFeel. All rights reserved.
http://www.appfeel.com
AdMobAds Cordova Plugin (com.admob.google)
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 wi... | mit |
TeamSPoon/logicmoo_base | prolog/logicmoo/pdt_server/pdt.graphicalviews/src/org/cs3/pdt/graphicalviews/internal/ui/PredicatesListDialog.java | 2350 | /*****************************************************************************
* This file is part of the Prolog Development Tool (PDT)
*
* Author: Andreas Becker, Ilshat Aliev
* WWW: http://sewiki.iai.uni-bonn.de/research/pdt/start
* Mail: pdt@lists.iai.uni-bonn.de
* Copyright (C): 2013, CS Dept. III, Universit... | mit |
bacta/pre-cu | src/main/java/com/ocdsoft/bacta/swg/shared/collision/DoorInfo.java | 672 | package com.ocdsoft.bacta.swg.shared.collision;
/**
* Created by crush on 8/13/2014.
*/
public class DoorInfo {
public String frameAppearance;
public String doorAppearance;
public String doorAppearance2;
public boolean doorFlip2;
//public Vector delta;
public float openTime;
public float... | mit |
xbony2/Bitm | src/main/java/net/bitm/items/nythoe.java | 613 | package net.bitm.items;
import net.bitm.creativeTab;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.item.ItemHoe;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class nythoe extends ItemHoe{
public nythoe(ToolMaterial par2ToolMaterial) {
supe... | mit |
lkmcl37/Simple-WordSeg-Greedy-Algorithm | Preprocess.java | 595 | package wordsegm;
import java.util.ArrayList;
public class Preprocess {
public ArrayList<String> pretreat(String str, int maxSize) {
ArrayList<String> prepare = new ArrayList<String>();
str = str.replaceAll("[\\pP¡®¡¯¡°¡±]", "");
char[] strChars = str.toCharArray();
for(int index = 0; index < strChars.len... | mit |
YagneshShah/SeleniumLearnExploreContribute | orangeHRM/src/utils/ReportParseGoogleUpdate.java | 9210 | /*
* Date: September 1st 2014
* Author: Adil Imroz
* Twitter handle: @adilimroz
* Organization: Moolya Software Testing Pvt Ltd
* License Type: MIT
*/
package utils;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List... | mit |
Azure/azure-sdk-for-java | sdk/resourcemanagerhybrid/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/Code.java | 1061 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.containerservice.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
i... | mit |
lukaspili/Auto-Mortar | sample/src/main/java/automortar/sample/rest/RestClient.java | 909 | package automortar.sample.rest;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import javax.inject.Inject;
import autodagger.AutoExpose;
import automortar.sample.app.App;
import automortar.sample.app.DaggerScope;
import retrofit.RestAdapter;
import retrofit.converter.GsonConverter;
/**
* Created ... | mit |
TheOpenCloudEngine/metaworks | metaworks-dwr/core/impl/main/java/org/directwebremoting/export/Data.java | 5172 | /*
* Copyright 2005 Joe Walker
*
* 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 applicable law or agreed to i... | mit |
castaway2000/Pawpads | app/src/main/java/saberapplications/pawpads/service/FileDownloadService.java | 4649 | package saberapplications.pawpads.service;
import android.app.IntentService;
import android.content.ActivityNotFoundException;
import android.content.Intent;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.os.Handler;
import android.webkit... | mit |
binghuo365/csustRepo | trunk/src/com/yunstudio/struts/listener/SessionListener.java | 1268 | package com.yunstudio.struts.listener;
import javax.servlet.http.HttpSessionAttributeListener;
import javax.servlet.http.HttpSessionBindingEvent;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
import com.yunstudio.service.AdminService;
public class SessionListener implemen... | mit |
Ernestyj/JStudy | src/main/java/leetcode221_230/SummaryRanges.java | 1582 | package leetcode221_230;
import java.util.ArrayList;
import java.util.List;
/**Given a sorted integer array without duplicates, return the summary of its ranges.
For example, given [0,1,2,4,5,7], return ["0->2","4->5","7"].
* Created by eugene on 16/4/23.
*/
public class SummaryRanges {
public List<String> su... | mit |
selvasingh/azure-sdk-for-java | sdk/sql/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sql/v2017_03_01_preview/DatabaseStatus.java | 3401 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.sql.v2017_03_01_preview;
import java.util.Collec... | mit |
plattformbrandenburg/ldadmin | src/main/java/de/piratenpartei/berlin/ldadmin/dbaccess/generated/tables/records/BattleParticipantRecord.java | 3599 | /**
* This class is generated by jOOQ
*/
package de.piratenpartei.berlin.ldadmin.dbaccess.generated.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = { "http://www.jooq.org", "3.4.4" },
comments = "This class is generated by jOOQ")
@java.la... | mit |
chihane/JDAddressSelector | library/src/main/java/chihane/jdaddressselector/AddressProvider.java | 680 | package chihane.jdaddressselector;
import java.util.List;
import chihane.jdaddressselector.model.City;
import chihane.jdaddressselector.model.County;
import chihane.jdaddressselector.model.Province;
import chihane.jdaddressselector.model.Street;
public interface AddressProvider {
void provideProvinces(AddressRec... | mit |
lalongooo/POSSpring | src/main/java/com/puntodeventa/global/Entity/CredAmortPK.java | 2149 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.puntodeventa.global.Entity;
import java.io.Serializable;
import java.math.BigInteger;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Embeddable;
/**
*
* @author ... | mit |
TakayukiHoshi1984/DeviceConnect-Android | dConnectManager/dConnectManager/dconnect-manager-app/src/main/java/org/deviceconnect/android/manager/setting/ConnectionErrorView.java | 3763 | /*
ConnectionErrorView.java
Copyright (c) 2017 NTT DOCOMO,INC.
Released under the MIT license
http://opensource.org/licenses/mit-license.php
*/
package org.deviceconnect.android.manager.setting;
import android.content.Context;
import androidx.annotation.Nullable;
import android.util.AttributeSet;
import android.v... | mit |
rokn/Count_Words_2015 | testing/droolsjbpm-integration-master/kie-server-parent/kie-server-api/src/main/java/org/kie/server/api/model/instance/TaskAttachmentList.java | 1582 | /*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... | mit |
codeborne/selenide | src/test/java/integration/ReplacingElementTest.java | 1651 | package integration;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import static com.codeborne.selenide.CollectionCondition.empty;
import static com.codeborne.selenide.Condition.cssClass;
import static com.codeborne.selenide.Condition.value;
import ... | mit |
loremipsumdolor/CastFast | src/com/amazonaws/internal/config/SignerConfig.java | 1109 | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | mit |
ladygagapowerbot/bachelor-thesis-implementation | lib/Encog/src/main/java/org/encog/engine/network/activation/ActivationClippedLinear.java | 2484 | /*
* Encog(tm) Core v3.2 - Java Version
* http://www.heatonresearch.com/encog/
* https://github.com/encog/encog-java-core
* Copyright 2008-2013 Heaton Research, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... | mit |
darshanhs90/Java-InterviewPrep | src/May2021Leetcode/_0621TaskScheduler2.java | 711 | package May2021Leetcode;
import java.util.HashMap;
public class _0621TaskScheduler2 {
// https://leetcode.com/discuss/interview-question/432086/Facebook-or-Phone-Screen-or-Task-Scheduler/394783
public static void main(String[] args) {
System.out.println(leastInterval(new int[] { 1, 1, 2, 1 }, 2));
}
public stat... | mit |
ladygagapowerbot/bachelor-thesis-implementation | lib/Encog/src/main/java/org/encog/ml/tree/traverse/tasks/TaskGetNodeIndex.java | 1915 | /*
* Encog(tm) Core v3.2 - Java Version
* http://www.heatonresearch.com/encog/
* https://github.com/encog/encog-java-core
* Copyright 2008-2013 Heaton Research, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... | mit |
zaoying/EChartsAnnotation | src/cn/edu/gdut/zaoying/Option/series/treemap/itemStyle/emphasis/ColorSaturationNumber.java | 368 | package cn.edu.gdut.zaoying.Option.series.treemap.itemStyle.emphasis;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ColorSa... | mit |
martinsawicki/azure-sdk-for-java | azure-samples/src/main/java/com/microsoft/azure/management/graphrbac/samples/ManageServicePrincipalCredentials.java | 10249 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.graphrbac.samples;
import com.google.common.io.ByteStreams;
import com.microsoft.azure.AzureEnvironment;
import ... | mit |
herveyw/azure-sdk-for-java | azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/GroupableResource.java | 3293 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.resources.fluentcore.arm.models;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microso... | mit |
P1erreGaultier/PepSIIrup-2017 | personne/src/main/java/fr/sii/atlantique/siistem/personne/model/Event.java | 4247 | package fr.sii.atlantique.siistem.personne.model;
/**
* Event Class with JPA
* @author Dorian Coqueron & Pierre Gaultier
* @version 1.0
*/
import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.Jso... | mit |
leancloud/Java-WebSocket | src/main/java/org/java_websocket/AbstractWrappedByteChannel.java | 2843 | /*
* Copyright (c) 2010-2017 Nathan Rajlich
*
* 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... | mit |
darshanhs90/Java-InterviewPrep | src/DoordashPrep/_0121BestTimeToBuyAndSellStock.java | 703 | package DoordashPrep;
public class _0121BestTimeToBuyAndSellStock {
public static void main(String[] args) {
System.out.println(maxProfit(new int[] { 7, 1, 5, 3, 6, 4 }));
System.out.println(maxProfit(new int[] { 7, 6, 4, 3, 1 }));
System.out.println(maxProfit(new int[] { 3, 2, 6, 5, 0, 3 }));
System.out.prin... | mit |
gaborkolozsy/XChange | xchange-dsx/src/main/java/org/knowm/xchange/dsx/dto/account/DSXFiatWithdrawReturn.java | 455 | package org.knowm.xchange.dsx.dto.account;
import org.knowm.xchange.dsx.dto.DSXReturn;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author Mikhail Wall
*/
public class DSXFiatWithdrawReturn extends DSXReturn<DSXFiatWithdraw> {
public DSXFiatWithdrawReturn(@JsonProperty("success") boolean succes... | mit |
openlegacy/lombok | test/transform/resource/after-delombok/BuilderSingularNoAuto.java | 5179 | import java.util.List;
class BuilderSingularNoAuto {
private List<String> things;
private List<String> widgets;
private List<String> items;
@java.beans.ConstructorProperties({"things", "widgets", "items"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
BuilderSingularNoAuto(final List<S... | mit |
Felix-Yan/ECJ | ec/app/gpsemantics/func/SemanticExtra.java | 563 | /*
Copyright 2012 by James McDermott
Licensed under the Academic Free License version 3.0
See the file "LICENSE" for more information
*/
package ec.app.gpsemantics.func;
import ec.*;
import ec.gp.*;
import ec.util.*;
/*
* SemanticNode.java
*
*/
/**
* @author James McDermott
*/
publi... | mit |
JosuaKrause/BusVis | src/main/java/infovis/gui/PainterAdapter.java | 1535 | package infovis.gui;
import java.awt.Graphics2D;
import java.awt.event.MouseEvent;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
/**
* Provides meaningful default implementations for a {@link Painter}.
*
* @author Joschi <josua.krause@googlemail.com>
*/
public class PainterAdapter implements Pa... | mit |
ijufumi/demo | spring-doma/src/main/java/jp/ijufumi/sample/config/Config.java | 120 | package jp.ijufumi.sample.config;
import org.springframework.stereotype.Component;
@Component
public class Config {
}
| mit |
stevenschwenke/WritingAwesomeJavaCodeWorkshop | src/test/java/de/stevenschwenke/java/writingawesomejavacodeworkshop/part3ApplyingToLegacyCode/legacy_ugly_trivia/GameRunner.java | 871 | package de.stevenschwenke.java.writingawesomejavacodeworkshop.part3ApplyingToLegacyCode.legacy_ugly_trivia;
import java.util.Random;
/**
* This is the Java implementation of the "ugly trivia game", see
* https://github.com/jbrains/trivia/blob/master/java/src/main/java/com/adaptionsoft/games/uglytrivia/Game.java
*... | cc0-1.0 |
MeasureAuthoringTool/MeasureAuthoringTool_Release | mat/src/main/java/mat/client/cqlworkspace/CQLLibraryEditorView.java | 5251 | package mat.client.cqlworkspace;
import java.util.List;
import org.gwtbootstrap3.client.ui.Button;
import org.gwtbootstrap3.client.ui.ButtonGroup;
import org.gwtbootstrap3.client.ui.DropDownMenu;
import org.gwtbootstrap3.client.ui.constants.ButtonType;
import org.gwtbootstrap3.client.ui.constants.IconType;
import org... | cc0-1.0 |
groenda/LIMBO | dlim.generator/src/tools/descartes/dlim/PolynomialFactor.java | 2467 | /**
*/
package tools.descartes.dlim;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Polynomial Factor</b></em>'. <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link tools.descartes.dlim.Poly... | epl-1.0 |
paulianttila/openhab2 | bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/handler/ChannelBridgeScenes.java | 2914 | /**
* 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.... | epl-1.0 |
alb-i986/hamcrest-junit | src/main/java/org/hamcrest/junit/internal/StacktracePrintingMatcher.java | 1670 | package org.hamcrest.junit.internal;
import java.io.PrintWriter;
import java.io.StringWriter;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
/**
* A matcher that delegates to throwableMatcher and in addition appends the
* stacktrace of the actual Throwable in case of a mismatch.
*/
public class Sta... | epl-1.0 |
522986491/yangtools | code-generator/binding-generator-impl/src/test/java/org/opendaylight/yangtools/sal/binding/generator/impl/ControllerTest.java | 1645 | /*
* Copyright (c) 2013 Cisco Systems, Inc. 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
*/
package org.... | epl-1.0 |
BOTlibre/BOTlibre | sdk/java/src/org/botlibre/sdk/config/AvatarMedia.java | 2939 | /******************************************************************************
*
* Copyright 2014 Paphus Solutions Inc.
*
* Licensed under the Eclipse Public License, 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
*
... | epl-1.0 |
akurtakov/Pydev | plugins/org.python.pydev.debug/src/org/python/pydev/debug/ui/launching/LaunchShortcut.java | 1054 | /**
* Copyright (c) 2005-2012 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.
*/
/*
* Author: atotic
* Created... | epl-1.0 |
dragon66/pixymeta | src/pixy/image/tiff/SByteField.java | 644 | /**
* Copyright (C) 2014-2019 by Wen Yu.
* 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
*
* Any modifications to this... | epl-1.0 |
kgibm/open-liberty | dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/internal/Oauth2LoginConfigImpl.java | 30610 | /*******************************************************************************
* Copyright (c) 2016, 2020 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... | epl-1.0 |
OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.faulttolerance.spi/src/com/ibm/ws/microprofile/faulttolerance/spi/CircuitBreakerPolicy.java | 2586 | /*
* Copyright (c) 2017, 2019 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may not use this file except in compliance with the Lice... | epl-1.0 |
OpenLiberty/open-liberty | dev/com.ibm.ws.jaxrs.2.0.client_fat/test-applications/jaxrs20ltpa/src/com/ibm/ws/jaxrs20/client/LtpaClientTest/service/BasicResource.java | 866 | /*******************************************************************************
* Copyright (c) 2018 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, and is a... | epl-1.0 |
OpenLiberty/open-liberty | dev/com.ibm.ws.app.manager.war/src/com/ibm/ws/app/manager/war/internal/ZipUtils.java | 16415 | /*******************************************************************************
* Copyright (c) 2011, 2019 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... | epl-1.0 |
OpenLiberty/open-liberty | dev/com.ibm.ws.org.apache.cxf.cxf.rt.rs.mp.client.3.3/src/org/apache/cxf/microprofile/client/cdi/CDIInterceptorWrapper.java | 2578 | /**
* 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 m... | epl-1.0 |
eclipse/hawkbit | hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/error/extractors/AbstractSingleUiErrorDetailsExtractor.java | 1123 | /**
* Copyright (c) 2021 Bosch.IO 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
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.ecl... | epl-1.0 |
clinique/openhab2 | bundles/org.openhab.binding.buienradar/src/main/java/org/openhab/binding/buienradar/internal/buienradarapi/Prediction.java | 920 | /**
* Copyright (c) 2010-2019 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.... | epl-1.0 |
epsilonlabs/epsilon-static-analysis | org.eclipse.epsilon.haetae.eol.metamodel.visitor/src/org/eclipse/epsilon/eol/metamodel/visitor/RealTypeVisitor.java | 323 | package org.eclipse.epsilon.eol.metamodel.visitor;
import org.eclipse.epsilon.eol.metamodel.*;
public abstract class RealTypeVisitor<T, R> {
public boolean appliesTo(RealType realType, T context) {
return true;
}
public abstract R visit (RealType realType, T context, EolVisitorController<T, R> controller);
... | epl-1.0 |
paulianttila/openhab2 | bundles/org.openhab.binding.evohome/src/main/java/org/openhab/binding/evohome/internal/RunnableWithTimeout.java | 705 | /**
* 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.... | epl-1.0 |
innoq/smarthome | bundles/core/org.eclipse.smarthome.core.library/src/main/java/org/eclipse/smarthome/core/library/types/DateTimeType.java | 2571 | /**
* Copyright (c) 2014 openHAB UG (haftungsbeschraenkt) 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.htm... | epl-1.0 |
OpenLiberty/open-liberty | dev/com.ibm.ws.transaction.core_fat.startMultiEJB/test-applications/newEJBTx3/src/com/ibm/ws/transaction/ejb/third/InitNewTxBean3.java | 1135 | /*******************************************************************************
* Copyright (c) 2020 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, and is a... | epl-1.0 |
OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/dataobject/package-info.java | 638 | /*******************************************************************************
* Copyright (c) 2017 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, and is a... | epl-1.0 |
openhab/openhab | bundles/binding/org.openhab.binding.weather/src/main/java/org/openhab/binding/weather/internal/model/common/CommonIdProvider.java | 1868 | /**
* Copyright (c) 2010-2020 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.... | epl-1.0 |
OpenLiberty/open-liberty | dev/com.ibm.ws.jpa.tests.ormdiagnostics_3.0_fat/test-applications/example/src/com/ibm/ws/ormdiag/example/ejb/ExampleEJBService.java | 1124 | /*******************************************************************************
* Copyright (c) 2020 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, and is a... | epl-1.0 |
OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/compiler/CompositeComponentUnit.java | 1587 | /*
* 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 ... | epl-1.0 |
chrismathis/eclipsensis | plugins/net.sf.eclipsensis.installoptions/src/net/sf/eclipsensis/installoptions/model/InstallOptionsPassword.java | 1051 | /*******************************************************************************
* Copyright (c) 2004-2010 Sunil Kamath (IcemanK).
* All rights reserved.
* This program is made available under the terms of the Common Public License
* v1.0 which is available at http://www.eclipse.org/legal/cpl-v10.html
*
* C... | epl-1.0 |
paulianttila/openhab2 | bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/message/Msg.java | 19302 | /**
* 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.... | epl-1.0 |
paulianttila/openhab2 | bundles/org.openhab.binding.knx/src/main/java/org/openhab/binding/knx/internal/handler/IPBridgeThingHandler.java | 5085 | /**
* 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.... | epl-1.0 |
stzilli/kapua | message/internal/src/main/java/org/eclipse/kapua/message/internal/KapuaPayloadImpl.java | 1395 | /*******************************************************************************
* Copyright (c) 2016, 2021 Eurotech and/or its affiliates and others
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.or... | epl-1.0 |
stzilli/kapua | service/security/shiro/src/test/java/org/eclipse/kapua/service/authorization/access/shiro/AccessRoleCacheFactoryTest.java | 1610 | /*******************************************************************************
* Copyright (c) 2021 Eurotech and/or its affiliates and others
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/lega... | epl-1.0 |
aubelix/liferay-samples | wip-portlet/src/main/java/fr/ippon/wip/http/hc/HttpClientSessionListener.java | 1491 | /*
* Copyright 2010,2011 Ippon Technologies
*
* This file is part of Web Integration Portlet (WIP).
* Web Integration Portlet (WIP) 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 versio... | gpl-2.0 |
ikantech/xmppsupport_v2 | src/com/kenai/jbosh/AbstractAttr.java | 2814 | /*
* Copyright 2009 Mike Cumings
*
* 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 applicable law or agreed to i... | gpl-2.0 |
CleverCloud/Quercus | resin/src/main/java/com/caucho/log/SubHandler.java | 2558 | /*
* Copyright (c) 1998-2010 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... | gpl-2.0 |
gerryDreamer/dreamerLib | src/com/dreamer/string/package-info.java | 143 | /**
* This package provides custom string manipulation capabilities
* @see com.dreamer.string.Expressions
*/
package com.dreamer.string; | gpl-2.0 |
GregBowyer/lire | src/main/java/net/semanticmetadata/lire/indexing/tools/ParallelExtractor.java | 21231 | /*
* This file is part of the LIRE project: http://www.semanticmetadata.net/lire
* LIRE 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 late... | gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01545.java | 2076 | /**
* 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/... | gpl-2.0 |
ricardobaumann/android | worldofgravity-master/src/org/anddev/andengine/entity/layer/tiled/tmx/TMXLayer.java | 11687 | package org.anddev.andengine.entity.layer.tiled.tmx;
import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_X;
import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_Y;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.I... | gpl-2.0 |
dschultzca/RomRaider | src/main/java/com/romraider/swing/ECUEditorNumberField.java | 2595 | /*
* RomRaider Open-Source Tuning, Logging and Reflashing
* Copyright (C) 2006-2017 RomRaider.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
* (... | gpl-2.0 |
samskivert/ikvm-openjdk | build/linux-amd64/impsrc/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/HeaderTokenizer.java | 12766 | /*
* Copyright (c) 2005, 2006, 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 ... | gpl-2.0 |
dwaybright/StrategicAssaultSimulator | core/src/neuroph_jars/sources/Core/src/main/java/org/neuroph/nnet/ConvolutionalNetwork.java | 2992 | /**
* Copyright 2013 Neuroph Project http://neuroph.sourceforge.net
*
* 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 requi... | gpl-2.0 |