text
stringlengths
7
995k
package org.neuroph.core.input; import static org.junit.Assert.assertEquals; import org.junit.*; import org.neuroph.core.Connection; import org.neuroph.core.Neuron; import org.neuroph.nnet.comp.neuron.InputNeuron; /** * * @author Shivanth */ public class OrTest { private Or or; private Connection[] inputCo...
package bridgechat.dao; import bridgechat.backend.Node; import bridgechat.backend.tracker.OnlineUser; import bridgechat.controller.ChatSceneController; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger...
/* * Copyright (c) 2020, Mulesoft, LLC. All rights reserved. * Use of this source code is governed by a BSD 3-Clause License * license that can be found in the LICENSE.txt file. */ package com.mulesoft.tools.migration.library.gateway.steps; import static com.mulesoft.tools.migration.library.gateway.steps.GatewayNa...
package au.org.ala.pipelines.transforms; import static au.org.ala.pipelines.beam.ALAUUIDMintingPipeline.REMOVED_PREFIX_MARKER; import static au.org.ala.pipelines.transforms.IndexValues.*; import static org.apache.avro.Schema.Type.UNION; import static org.gbif.pipelines.common.PipelinesVariables.Metrics.AVRO_TO_JSON_CO...
package base; //伪共享 http://ifeve.com/falsesharing/ public final class FalseSharing implements Runnable { public final static int NUM_THREADS = 4; // change public final static long ITERATIONS = 500L * 1000L * 1000L; private final int arrayIndex; private static VolatileLong[] longs = new VolatileLong[NUM_THREADS];...
package br.com.erudio.utils.email; import org.apache.log4j.Logger; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; @Ignore public class EmailUtilsTest { private Logger logger = Logger.getLogger(EmailUtilsTest.class); EMailConfigs configs = new EMailConfigs(); EmailUtils emailUtils = ne...
package org.lognet.springboot.grpc.demo; import io.grpc.examples.CalculatorGrpc; import io.grpc.examples.CalculatorOuterClass; import org.lognet.springboot.grpc.GRpcService; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframewo...
package io.flowing.retail.order.flow; public class ShipGoodsCommandPayload { private String refId; private String pickId; private String logisticsProvider; private String recipientName; private String recipientAddress; public String getPickId() { return pickId; } public ShipGoodsCommandPayloa...
/* * Copyright 2002-2018 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/** * Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith...
/* * 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 eu.coatrack.admin.server.principal; import java.util.ArrayList; import java.util.Collection; import org.springframework.securi...
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE package org.bytedeco.systems.windows; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.systems.global.windows.*; @Convention("NTAP...
package com.github.silaev.mongodb.replicaset.model; import lombok.Value; /** * Immutable class to load data via SnakeYml. * Describes a mongo node to use in public API. * * @author Konstantin Silaev */ @Value(staticConstructor = "of") public class MongoNode { String ip; Integer port; Double health; ...
package com.sdl.selenium.bootstrap.button; import com.sdl.selenium.web.SearchType; import com.sdl.selenium.web.WebLocator; import com.sdl.selenium.web.button.IButton; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * <p><b><i>Used for finding element process (to generate xpath address)</i></b></p> * <p...
package com.google.android.gms.internal.ads; import android.content.Context; import com.google.android.gms.ads.internal.zzb; import com.google.android.gms.ads.internal.zzk; import com.google.android.gms.ads.internal.zzp; /* compiled from: com.google.android.gms:play-services-ads@@19.4.0 */ final /* synthetic */ class...
package com.libqa.application.util; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.support.PropertySourcesPlaceholderConfigurer; @Configuration class FileHandlerTestConfig { @Bean public static PropertySource...
/** * */ package com.scaffy.dao.bean; /** * @author Sherief Shawky * @Email mcrakens@gmail.com */ public class BeanTraversalException extends Exception { private static final long serialVersionUID = 1L; public BeanTraversalException(Throwable e) { super("Error while traversing bean graph", e); } }
/** * 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...
package com.bbn.bue.common.strings.offsets; public interface Offset<SelfType extends Offset<SelfType>> extends Comparable<SelfType> { /** * Prefer {@link #asInt()} */ @Deprecated int value(); int asInt(); boolean precedes(SelfType other); boolean precedesOrEquals(SelfType other); boolean follow...
package uk.dangrew.nuts.label; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import uk.dangrew.kode.concept.Concept; import uk.dangrew.kode.concept.Properties; public class Label implements Concept { private final Properties properties; private final ObservableList< Concept...
package com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for TransactionIndividualStatusCodeSEPA_DFU1. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> *...
/*####################################################### * * Maintained by Gregor Santner, 2017- * https://gsantner.net/ * * License: Apache 2.0 / Commercial * https://github.com/gsantner/opoc/#licensing * https://www.apache.org/licenses/LICENSE-2.0 * ###################################################...
package net.minecraft.command.server; import java.util.Collections; import java.util.List; import javax.annotation.Nullable; import net.minecraft.command.CommandBase; import net.minecraft.command.CommandException; import net.minecraft.command.ICommandSender; import net.minecraft.server.MinecraftServer; import net.mine...
/* * 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 ...
package ru.bprn.webtop.data.entity; import ru.bprn.webtop.data.AbstractEntity; import javax.persistence.Entity; @Entity public class TypeOfPrinter extends AbstractEntity { private String name; }
/* Copyright 2014-2016 Intel Corporation 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, s...
package com.kjss.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class OmsOrderSetting implements Serializable { private Long id; @ApiModelProperty(value = "秒杀订单超时关闭时间(分)") private Integer flashOrderOvertime; @ApiModelProperty(value = "正常订单超时时间(分)") pri...
package com.wj.flowlayout; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { s...
/* * This file is part of Bracket Properties * Copyright 2011-2016 David R. Smith, All Rights Reserved * */ package asia.redact.bracket.properties; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import asia.redact.bracket.properties.line.Line; import asia.redact.bracket...
package com.blue.sky.common.utils; /** * Created by Administrator on 2014/11/22. */ public class EnumUtil { public enum Login { Email("电子邮件"), Mobile("手机"), QQ("QQ"), Sina("新浪微博"); // 成员变量 private String name; // 构造方法 private Login(String name...
package edu.hawaii.btsuha; import android.app.AlertDialog; import android.app.Service; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import andro...
package org.hl7.fhir.dstu3.model.codesystems; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above co...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package us.ihmc.commonWalkingControlModules.virtualModelControl; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Random; import javax.vecmath.Vector3d; import org.ejml.data.DenseMatrix64F; import org.ejml.ops.CommonOps; import org.junit.After; import org.junit.Test; import ...
package com.battlelancer.seriesguide.adapters; import android.content.Context; import android.database.Cursor; import android.support.v4.widget.CursorAdapter; import android.text.Html; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import a...
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
package com.fsck.k9.mailstore.migrations; import android.content.ContentValues; import android.support.annotation.VisibleForTesting; @VisibleForTesting static class MimeStructureState { private final Long rootPartId; private final Long prevParentId; private final long parentId; pri...
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package soot; /*- * #%L * Soot - a J*va Optimization Framework * %% * Copyright (C) 2003 Ondrej Lhotak * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 2.1 of ...
/******************************************************* * Copyright 2018 jpcode * contact http://www.jpcode.net/ * * --- solid * ********************************************************/ package net.jpcode.solid.spi.impl; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStre...
// Targeted by JavaCPP version 1.5.2: DO NOT EDIT THIS FILE package org.bytedeco.caffe; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.openblas.global.openblas_nolapack.*; import static org.bytedeco.openblas.global.openblas.*; import org.bytedec...
/* * 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 * distribute...
package com.alipay.api.response; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.pcredit.huabei.mobileauth.sign.confirm response. * * @author auto create * @since 1.0, 2021-04-13 15:42:05 */ public class AlipayPcreditHuabeiMobileauthSignConfirmRes...
/* * ModeShape (http://www.modeshape.org) * * 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 o...
package ua.org.slovo.securesms.components.reminder; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.view.View; import android.view.View.OnClickListener; import ua.org.slovo.securesms.R; import ua.org.slovo.securesms.util.Util; public class ExpiredBuildReminder ex...
package kala.value.primitive; import org.jetbrains.annotations.NotNull; public interface ShortValue extends PrimitiveValue<Short> { short get(); @Override default @NotNull Short getValue() { return get(); } }
package com.thin.downloadmanager; import android.os.Handler; import android.os.Looper; import java.util.HashSet; import java.util.Set; import java.util.concurrent.Executor; import java.util.concurrent.PriorityBlockingQueue; import java.util.concurrent.atomic.AtomicInteger; public class DownloadRequestQueue { /** S...
package org.mindinformatics.gwt.framework.component.profiles.src.testing; import java.util.ArrayList; import org.mindinformatics.gwt.framework.component.profiles.model.MProfile; import org.mindinformatics.gwt.framework.component.profiles.service.ProfilesService; import org.mindinformatics.gwt.framework.component.prof...
/* * Copyright 2019 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 applica...
package com.algorithm.difficult; /** * @Solution: 动态规划-自底向上 * @Title: 地下城游戏 * @Description: 骑士的初始健康点数为一个正整数。如果他的健康点数在某一时刻降至 0 或以下,他会立即死亡。 * 地下城是由 M x N 个房间组成的二维网格。 * 任何房间都可能对骑士的健康点数造成威胁,也可能增加骑士的健康点数,包括骑士进入的左上角房间以及公主被监禁的右下角房间。 * @Author: chenghao.su * @Date: 2020/3/8 21:46 */ public class _174 { public stat...
package tech.kronicle.service.services; import tech.kronicle.service.constants.Resilience4JInstanceNames; import io.github.resilience4j.retry.annotation.Retry; import org.springframework.stereotype.Service; import org.springframework.web.reactive.function.client.ClientResponse; import java.util.function.Function; @S...
/* * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.rest.submit.step; import java.util.ArrayList; import java.util.List; import java...
import java.awt.BorderLayout; import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import java.io.IOException; import javax.swing.JPanel; import java.awt.Color; import java.awt.EventQueue; import java.awt.Font; import java.awt.Image; import java.awt.event.ActionEvent; import java.awt.event.ActionLi...
package org.infinispan.query.queries.phrases; import static org.infinispan.query.helper.TestQueryHelperFactory.createQueryParser; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertTrue; import java.util.List; import org.apache.lucene.queryparser.classic.ParseException; imp...
package com.cerner.ccl.parser.text.documentation; import static org.fest.assertions.Assertions.assertThat; import com.cerner.ccl.parser.AbstractBeanUnitTest; import java.util.Collections; import java.util.List; import org.apache.commons.lang.StringUtils; import org.junit.Before; import org.junit.Test; import org.mock...
/* * Copyright 2002-2013 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * 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 ...
package br.com.basis.madre.web.rest; import br.com.basis.madre.service.GrauDeParentescoService; import br.com.basis.madre.service.dto.GrauDeParentescoDTO; import br.gov.nuvem.comum.microsservico.web.rest.errors.BadRequestAlertException; import io.github.jhipster.web.util.HeaderUtil; import io.github.jhipster.web.util....
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
package ca.bc.gov.educ.api.trax.struct; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.util.UUID; /** * The type Choreographed event. */ @Data @Builder @AllArgsConstructor @NoArg...
/* * Copyright (c) 2008-2018 Haulmont. * * 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 agr...
package com.baoyz.parcelablegenerator; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import com.baoyz.parcelablegenerator.model.User; public class ShowUserActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInsta...
/* * Copyright 2013 Google 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 obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
package com.algaworks.algafood.api.v1.assembler; import org.modelmapper.ModelMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.hateoas.server.mvc.RepresentationModelAssemblerSupport; import org.springframework.stereotype.Component; import com.algaworks.algafood.api.v1.A...
package br.com.caelum.vraptor.test.http; import javax.annotation.Priority; import javax.enterprise.context.ApplicationScoped; import javax.enterprise.inject.Alternative; import javax.enterprise.inject.Produces; import javax.enterprise.inject.Specializes; import javax.interceptor.Interceptor; import javax.servlet.Servl...
/* * Copyright (c) 2003, 2013, 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 ...
/* * Copyright 2012-2017 the original author or authors. * * 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 ap...
//------------------------------------------------------------------------ // ByteArray.java // byte[] ラッパー // // Copyright (c) Mirai Design Institute 2010 All rights reserved. // update 2010-02-05 ishioka.toru@miraidesign.com //-------------------------------------------------------...
/* * 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 ...
package jp.gr.java_conf.kgd.library.cool.jsfml.actor.holder; import jp.gr.java_conf.kgd.library.cool.jsfml.actor.IActor; public abstract class AbstractSimpleActorHolder extends AbstractProtectedSimpleActorHolder implements IActorHolder { protected AbstractSimpleActorHolder() { } @Override public IActor getInne...
import converter.LowerCaseTransformer; import printer.MyForwardPrinter; import printer.MyPrinter; import printer.MyReversePrinter; import java.io.IOException; public class MyPrinterApp { public static void main(String[] args) throws IOException { String path = "C:\\Users\\massi\\source\\ingsw2\\s2\\src\\m...
package com.dar.nclientv2.api.local; import android.os.Parcel; import android.util.Log; import com.dar.nclientv2.api.components.Comment; import com.dar.nclientv2.api.components.GenericGallery; import com.dar.nclientv2.settings.Global; import java.io.File; import java.util.List; import androidx.annotation.Nullable; ...
package gov.va.med.lom.avs.dao; import gov.va.med.lom.avs.model.Language; import gov.va.med.lom.jpa.foundation.dao.BaseEntityDao; import javax.ejb.Local; /** * Language DAO object */ @Local public interface LanguageDao extends BaseEntityDao<Language, Long> { public static final String QUERY_FIND_BY_ABBR = "lan...
package com.faust.ticketing.persistence.model.entity.ticket; import com.faust.ticketing.persistence.model.entity.AuditedEntity; import com.faust.ticketing.persistence.model.entity.user.User; import lombok.*; import javax.persistence.*; import javax.validation.constraints.NotBlank; import javax.validation.constraints....
/* * 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 ...
/** * 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...
/* * 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 distributed under t...
// Copyright 2018 Google LLC // // 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 writi...
package pkovacs.aoc.y2020; import java.util.HashSet; import java.util.Set; import java.util.stream.Collectors; import pkovacs.aoc.util.HexTile; import pkovacs.aoc.util.InputUtils; public class Day24 { public static void main(String[] args) { var lines = InputUtils.readLines("y2020/day24.txt"); ...
/* * 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 ...
/* * Copyright 2013 Thomas Bocek * * 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 ...
/** * 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 distributed under ...
package com.thinkerwolf.frameworkstudy.network.mynio; public class TestServerEndpoint { public static void main(String[] args) { ServerEndpoint server = new ServerEndpoint(10); server.channelInitializer(new ChannelInitializer() { @Override public void initChannel(ChannelHan...
package com.spring.security; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGr...
/** * Copyright (c) 2016-2019 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package io.recruit.modules.sys.oauth2; import io.recruit.modules.sys.service.ShiroService; import io.recruit.modules.sys.entity.SysUserEntity; import io.recruit.modules.sys.entity.SysUserTokenEntity; import io.re...
package top.huzhurong.fuck; import org.springframework.beans.factory.FactoryBean; import org.springframework.beans.factory.InitializingBean; import java.lang.reflect.Proxy; /** * @author chenshun00@gmail.com * @since 2018/12/2 */ public class ProxyBean implements FactoryBean, InitializingBean { private Class...
/* * Copyright 2015-2102 Fast(http://www.cloudate.net) Group. * * 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 req...
package ch.supsi.dti.i2b.shrug.optitravel.api.TransitLand.models; import java.util.ArrayList; public class Operator extends ch.supsi.dti.i2b.shrug.optitravel.models.Operator { private String onestop_id; private String name; private String short_name; private String website; private String country;...
package com.nebula.design.pipeline; public class ErrorLogger extends AbstractLogger { public ErrorLogger(int level){ this.level = level; } @Override protected void write(String message) { System.out.println("Error Console::Logger: " + message); } }
/****************************************************************************** * 版权所有 刘大磊 2013-07-01 * * 作者:刘大磊 * * 电话:13336390671 * * email:ldlqdsd@126.com ...
package org.hisp.dhis.trackedentity.action.programstage; /* * Copyright (c) 2004-2016, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code mu...
/* * 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 ...
package dbs.pprl.toolbox.data_owner.data.records; import java.util.HashMap; import java.util.Map; import java.util.Set; public class PreparedRecord { private final String id; private final Map<Integer, Set<String>> columnFeatureMap; public PreparedRecord(String id){ this.id = id; this.columnFeatureMap = new...
/* * Copyright (c) 2008-2019, Hazelcast, Inc. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package reposts; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.H...
/** Copyright 2016 Siemens AG. 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 di...
/* * Copyright (C) 2012 ZXing authors * * 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 agr...
package weightedPixal; import java.io.FileWriter; import java.io.IOException; import org.opencv.core.Core; import org.opencv.core.Mat; import org.opencv.core.Size; import org.opencv.highgui.Highgui; public class WeightedStandardImage { private int types; private Size size; private int[] ids; private int[] weigh...
/* * Copyright (c) 2012, 2013, 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 ...
/* * Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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...