text
stringlengths
7
995k
package edu.lion.students; import javax.jws.WebMethod; import javax.jws.WebService; /** * SWENG 568 * CourseManagement.java * Purpose: An interface that describes the course management services. * * @author Sean Davis */ @WebService public interface CourseManagement { /** * Updates the database with t...
/* * 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 com.wlq.service; import com.github.pagehelper.Page; import com.wlq.dto.in.CustomerSearchInDTO; import com.wlq.dto.in.CustomerSetStatusInDTO; import com.wlq.po.Customer; /** * @Description * @Author WangLanQing * @Date 2020-03-09-19:38 */ public interface CustomerService { Page<Customer> search(Custom...
package org.tonianton22.com504.ood; import static org.junit.Assert.assertTrue; import org.junit.Test; /** * Unit test for simple App. */ public class AppTest { /** * Rigorous Test :-) */ @Test public void shouldAnswerWithTrue() { assertTrue( true ); } }
/** * Copyright (C) 2014-2020 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * 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/LICE...
/* * Copyright (c) 2012, 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 ...
import java.util.ArrayList; import java.util.Calendar; import java.util.Date; /** * * @author Yousef Essam 20180346 * */ public class Player extends Account { private eWallet wallet; private String location; private ArrayList<Booking> bookings = new ArrayList<Booking>(); private ArrayList<Player> Team = new A...
package com.marshalchen.common.uimodule.signaturepad.utils; public class Bezier { public TimedPoint startPoint; public TimedPoint control1; public TimedPoint control2; public TimedPoint endPoint; public Bezier(TimedPoint startPoint, TimedPoint control1, TimedPoint control2, TimedPoint endPoint) { ...
package com.shortsands.aws; /** * Created by garygriswold on 5/19/17. */ import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager.NameNotFoundException; import android.os.Build; import android.util.Log; import com.amazonaws.ClientConfiguration; import com.amazo...
package android.support.v4.widget; import android.content.Context; import android.view.View; import android.widget.SearchView; class SearchViewCompatIcs { public static class MySearchView extends SearchView { public MySearchView(Context context) { super(context); } public void onActionViewCollapsed() { ...
/* * 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 org.paasta.container.platform.web.admin.config; import org.paasta.container.platform.web.admin.common.ConstantsUrl; import org.paasta.container.platform.web.admin.common.CustomIntercepterService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autow...
package com.bodev.entity; import com.bodev.dao.UserDao; import org.mindrot.jbcrypt.BCrypt; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(n...
/* * 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...
/* * Copyright 2012-2015 Michele Mostarda (me@michelemostarda.it) * * 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 requir...
package matrix; /** * Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the * sum of all numbers along its path. * * Note: You can only move either down or right at any point in time. * * @author Joshua Wei */ public class MinimumPathSum { publi...
/* * Copyright 2020 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2017-2022 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 "licen...
package cz.metacentrum.perun.engine.scheduling.impl; import cz.metacentrum.perun.core.api.Destination; import cz.metacentrum.perun.core.api.Service; import cz.metacentrum.perun.engine.exceptions.TaskExecutionException; import cz.metacentrum.perun.engine.scheduling.SendWorker; import cz.metacentrum.perun.taskslib.model...
/* * Copyright (c) 2017 Mithril coin. * * The MIT License * * 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...
package com.ragty.universe.index; import com.ragty.universe.Analyzer.Fetcher; import com.ragty.universe.Analyzer.TermCounter; import org.jsoup.select.Elements; import redis.clients.jedis.Jedis; import redis.clients.jedis.Transaction; import java.io.IOException; import java.math.BigDecimal; import java.util.*; public...
package me.frosty.tameprotect.Handlers; import me.frosty.tameprotect.Classes.MessageInfo; import me.frosty.tameprotect.Classes.Pair; import me.frosty.tameprotect.Classes.TamePlayer; import me.frosty.tameprotect.Protection; import me.frosty.tameprotect.TameProtect; import me.frosty.tameprotect.Utilities.PlayerUtils; im...
/* * Copyright 2019-2020 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 ap...
/* * Copyright (c) 2010 Miklos Espak * All rights reserved. * * 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 righ...
/* First created by JCasGen Tue Jun 27 16:45:15 CEST 2017 */ package de.mpg.mpi_inf.ambiversenlu.nlu.entitylinking.uima.type; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.jcas.cas.FSList; import org.apache.uima.jcas.cas.TOP_Type; public class WikiType extends FS...
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su conteni...
package core; import org.springframework.context.ApplicationContext; import org.springframework.context.support.FileSystemXmlApplicationContext; public class App { public static void main(String[] args) { ApplicationContext context = new FileSystemXmlApplicationContext("/src/main/java/core/beans/beans.xml"...
import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.net.Socket; import java.net.UnknownHostException; public class AuctionClient implements Runnable { private static final long BID_TIME_SECS = 60; private static final String EXIT_...
/** * 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 org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.hardware.DcMotor; import org.firstinspires.ftc.robotcore.external.Telemetry; public class NormalDriveWithEncoders implements MovementStrategy { final private int encoder = 1120 ; final private float turnRadius = 16.9f; private D...
package com.quortexservice.quortex.repository; import java.util.List; import java.util.Optional; import com.quortexservice.quortex.model.Question; import org.springframework.data.repository.CrudRepository; public interface QuestionRepository extends CrudRepository<Question, Integer>{ List<Question> findByUserIdOrde...
/* * 版权所有.(c)2008-2017. 卡尔科技工作室 */ /* * 版权所有.(c)2008-2017. 卡尔科技工作室 */ package com.carl.auth.shiro.client.demo.core.github; import com.carl.auth.shiro.client.demo.core.ClientStrategy; import com.carl.auth.shiro.client.demo.core.PrincipalBindResolver; import com.carl.auth.shiro.client.demo.exception.NotBindExcepti...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.indexinglanguage.expressions; import org.junit.Test; import static com.yahoo.vespa.indexinglanguage.expressions.OutputAssert.assertExecute; import static com.yahoo.vespa.index...
package org.kyojo.schemaorg.m3n4.core.musicAlbumReleaseType; import java.util.ArrayList; import java.util.List; import org.kyojo.schemaorg.SampleValue; import org.kyojo.schemaorg.SimpleJsonBuilder; import org.kyojo.schemaorg.m3n4.core.Container.AdditionalType; import org.kyojo.schemaorg.m3n4.core.Container.AlternateN...
/* * Copyright (C) 2013 Alex Kuiper <http://www.nightwhistler.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...
/* * 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 learn.abiturient.demo.database.domain; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.validation.constraints.NotBlank; @Entity public class UserResults { @Id @GeneratedValue(strategy = Genera...
package com.neoremind.apiframework.exception.exceptionmapper; import com.neoremind.apiframework.exception.AuthenticationException; import org.apache.commons.lang3.exception.ExceptionUtils; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.e...
package com.cluster.activemq.platform.activemq; import com.cluster.activemq.platform.PlatformActivemqClusterApplicationTest; import com.cluster.activemq.platform.config.ActiveMqProperties; import com.cluster.activemq.platform.mq.consumer.TopicConsumer; import org.junit.Test; import org.junit.runner.RunWith; import org...
package com.cjyun.tb.supervisor.suImprove; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.annotation.Nullable; import com.cjyun.tb.R; import com.cjyun.tb.patient.ui.improve.UserInfoFragment; import com.cjyun.tb.supervisor....
/*- * #%L * Home Automation * %% * Copyright (C) 2016 - 2017 Koen Serneels * %% * 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 *...
package cn.ljs.apkv2channeltools.utils; import android.content.Context; import android.util.Log; import android.util.Pair; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.RandomAccessFile; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.char...
/** * Copyright 2013-2022 Valery Silaev (http://vsilaev.com) * * 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 b...
/* * 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 com.jozufozu.flywheel.backend.loading; import com.jozufozu.flywheel.Flywheel; import com.jozufozu.flywheel.backend.ShaderSources; import com.jozufozu.flywheel.backend.gl.shader.ShaderType; import net.minecraft.util.ResourceLocation; public class ModelTemplate extends ProgramTemplate { public static final St...
/******************************************************************************* * ___ _ ____ ____ * / _ \ _ _ ___ ___| |_| _ \| __ ) * | | | | | | |/ _ \/ __| __| | | | _ \ * | |_| | |_| | __/\__ \ |_| |_| | |_) | * \__\_\\__,_|\___||___/\__|____/|____/ * * Copyright (c...
package com.example.rh.ec.main.index.search; /** * @author RH * @date 2018/11/15 */ public class SearchItemType { static final int ITEM_SEARCH = 50; }
/** * 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...
/***** BEGIN LICENSE BLOCK ***** * Version: EPL 1.0/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Common 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 http://www.eclipse.org/legal/cpl-v...
/** * Student */ public class Student { private String name; private int rollNo; Student(String name, int rollNo) { this.name = name; this.rollNo = rollNo; } public String getName() { return name; } public void setName(String name) { this.name = name; ...
package com.lagou.edu.pojo; import org.springframework.beans.BeansException; import org.springframework.beans.factory.*; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.context.annotation.Scope; import javax.annotation.PostC...
/* * openTCS copyright information: * Copyright (c) 2005-2011 ifak e.V. * Copyright (c) 2012 Fraunhofer IML * * This program is free software and subject to the MIT license. (For details, * see the licensing information (LICENSE.txt) you should have received with * this copy of the software.) */ package org.op...
package com.example.parstagram; import android.content.Context; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview....
package com.github.geolocation.controllers; public class GeolocationConstant { public static final String LOCALHOST = "http://localhost:"; }
/* * 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...
/* * Copyright 2014 NAVER Corp. * * 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 ...
/* * * * Copyright 2020 New Relic Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * */ package com.newrelic.agent.stats; import com.newrelic.agent.HarvestService; import com.newrelic.agent.MetricData; import com.newrelic.agent.MockCoreService; import com.newrelic.agent.MockHarvestServ...
/* * 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 com.lion.event.service.impl; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.lion.common.constants.TopicConstants; import com.lion.common.dto.CurrentRegionDto; import com.lion.common.dto.DeviceDataDto; import com.lion.common.dto.SystemAl...
package com.sequenceiq.cloudbreak.cm.polling.task; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.sequenceiq.cloudbreak.cluster.service.ClusterEventService; import com.sequenceiq.cloudbreak.cm.client.ClouderaManagerApiPojoFactory; import com.sequenceiq.cloudbreak.cm.polling.ClouderaManagerCommand...
/** * Copyright (C) 2010-2016 eBusiness Information, Excilys 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 required ...
package br.ufsc.lehmann.stopandmove.movedistance; import java.sql.SQLException; import java.util.HashMap; import java.util.List; import java.util.Map; import br.ufsc.core.trajectory.SemanticTrajectory; import br.ufsc.core.trajectory.semantic.Move; import br.ufsc.lehmann.msm.artigo.problems.PatelDataReader; import br....
package com.example.testproject.boothateoas; import org.springframework.hateoas.ResourceSupport; public class Greet extends ResourceSupport { private String message; public Greet() { } public Greet(String message) { this.message = message; } public String getMessage() { ret...
package com.quorum.tessera.dao; import org.springframework.context.annotation.Bean; import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder; import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType; import javax.sql.DataSource; public class JpaH2Config extends JpaConfig { @Be...
package io.xgeeks.examples.spring.kafka; import org.apache.kafka.clients.admin.NewTopic; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.kafka.config.TopicBuilder; @Configuration public class TopicProducer { static final ...
package com.dsc.mall.manager.pojo; import java.io.Serializable; import java.util.Date; public class TbItemDesc implements Serializable { private Long itemId; private Date created; private Date updated; private String itemDesc; @Override public String toString() { return "TbItemDesc...
/** * Company * Copyright (C) 2014-2017 All Rights Reserved. */ package com.bootcwenao.apigateway.filter; import com.netflix.zuul.ZuulFilter; /** * @author cwenao * @version $Id AccessSignFilter.java, v 0.1 2017-01-16 12:12 cwenao Exp $$ */ public class AccessSignFilter extends ZuulFilter { /** * to cl...
package br.com.zupacademy.gabriela.proposal.creditCard.block; import br.com.zupacademy.gabriela.proposal.creditCard.CreditCard; import javax.annotation.PostConstruct; import javax.persistence.*; import java.time.LocalDateTime; @Entity public class CreditCardBlock { @Id private Long id; @OneToOne @J...
/* * Copyright 2010 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 in w...
package com.goldze.mvvmhabit.ui.vm; import android.Manifest; import android.app.Activity; import android.app.ProgressDialog; import android.content.Context; import android.os.Bundle; import com.goldze.mvvmhabit.entity.FormEntity; import com.goldze.mvvmhabit.service.DemoApiService; import com.goldze.mvvmhabit.ui.fragm...
/** * Copyright (C) 2014 Ontotext AD (info@ontotext.com) * * 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...
/* * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2019-Present Datadog, Inc. * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gen...
package cn.emay.redis.command.set; import cn.emay.json.JsonHelper; import cn.emay.redis.command.RedisCommand; import redis.clients.jedis.*; import java.nio.charset.StandardCharsets; /** * @author Frank */ public class SismemberCommand implements RedisCommand<Boolean> { private final String key; private f...
package org.nanocom.console.fixtures; import org.nanocom.console.command.Command; import org.nanocom.console.input.InputInterface; import org.nanocom.console.output.OutputInterface; public class Foo3Command extends Command { public Foo3Command() { super("foo3:bar"); setDescription("The foo3:bar c...
/******************************************************************************* * Copyright (C) 2021 Fred D7e (https://github.com/yafred) * * 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 Softw...
/* * 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 com.kv.callrecorder.Utility.visualizer; import android.content.Context; import android.graphics.Color; import android.graphics.Paint; import android.media.MediaPlayer; import android.media.audiofx.Visualizer; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.view.View...
package com.github.yuebo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class,args); } }
package org.thingsboard.server.actors; import org.thingsboard.server.common.msg.TbActorMsg; import java.util.List; import java.util.function.Predicate; import java.util.function.Supplier; public interface TbActorCtx extends TbActorRef { TbActorId getSelf(); /** * 邮箱抽象接口 */ TbActorRef getParen...
package com.github.viniciusfcf.restclient; import java.util.List; import java.util.concurrent.CompletionStage; import javax.inject.Inject; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; import org.eclipse.microprofile.re...
package com.tang.mall.product.service.impl; import com.tang.mall.common.to.SkuReductionTo; import com.tang.mall.common.to.SpuBoundTo; import com.tang.mall.common.to.es.SkuEsModel; import com.tang.mall.common.utils.R; import com.tang.mall.product.dao.SpuInfoDescDao; import com.tang.mall.product.entity.*; import com.tan...
package org.femtoframework.net.niep.ser; import java.io.IOException; import java.io.ObjectInputStream; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.femtoframework.io.ser.ObjectDeserializer; import org.femtoframework.util.CollectionUtil; /** * List反串行化 * * @author fen...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__int_connect_tcp_predec_81_base.java Label Definition File: CWE191_Integer_Underflow__int.label.xml Template File: sources-sinks-81_base.tmpl.java */ /* * @description * CWE: 191 Integer Underflow * BadSource: connect_tcp Read data using an outbo...
/* * Copyright 2011 LMAX Ltd. * * 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 wri...
/* * Copyright 2017-2018, Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.operator.topic; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Objects; i...
package com.forest.core; import org.springframework.security.authentication.AuthenticationProvider; import org.springframework.security.authentication.BadCredentialsException; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.Authentication...
// Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE package org.bytedeco.arrow_flight; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import org.bytedeco.arrow.*; import static org.bytedeco.arrow.global.arrow.*...
package com.sequenceiq.redbeams.api.endpoint.v4.database.base; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; public class DatabaseV4IdentifiersTest { private DatabaseV4Identifiers ids; @Before public void setUp() { ids = new DatabaseV4Identifiers()...
package com.wildbeeslabs.jentle.algorithms.utils; import org.apache.commons.codec.digest.DigestUtils; import java.io.File; import java.io.FileInputStream; import java.io.IOException; public class Hasher { public String md5Hex(final byte[] input) { return DigestUtils.md5Hex(input); } public Stri...
package mil.nga.giat.geowave.datastore.hbase.io; import java.io.IOException; import java.util.HashMap; import java.util.List; import mil.nga.giat.geowave.core.index.StringUtils; import mil.nga.giat.geowave.core.store.base.Writer; import mil.nga.giat.geowave.datastore.hbase.operations.BasicHBaseOperations; import org...
/* * Copyright 2019 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 applica...
package com.sen.blog.service; import com.sen.blog.common.BaseService; import com.sen.blog.entity.User; /** * @Auther: Sen * @Date: 2019/9/20 21:34 * @Description: */ public interface UserService extends BaseService<User> { /** * 登录 * @param name * @return */ User login(String name); ...
/* * 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 models; import java.io.Serializable; import java.util.List; import javax.persistence.Basic; import javax.persistence.CascadeTy...
/* Copyright 2018 The TensorFlow Authors. 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 by applicable law or a...
/* * 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 de.light668.profileandhierarchialproperties.model; /** * * @author Timo Radtke */ public class Course { private St...
package com.hys.rabbitmq.delaycheck; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class RabbitmqDelaycheckCallbackApplication { public static void main(String[] args) { SpringApplication.run(RabbitmqD...
package com.example.devicelocation; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public ...
package com.ztf.api.bean; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; /** * @Author zhoutengfei * @Date 2020/5/31 3:47 PM * @Verson 1.0 * @Describtion **/ @NoArgsConstructor @Data @Builder @AllArgsConstructor public c...
/* * The MIT License (MIT) * * MSUSEL Arc Framework * Copyright (c) 2015-2019 Montana State University, Gianforte School of Computing, * Software Engineering Laboratory and Idaho State University, Informatics and * Computer Science, Empirical Software Engineering Laboratory * * Permission is hereby granted, fre...
package fr.charleslabs.impulse.rocket.sensor_unused; import fr.charleslabs.impulse.rocket.Rocket; /** * WORK IN PROGRESS<br> * This class represent a sensor, to * simulate the behavior of real sensor, * for the serial device. * It generates an output based on the type * of sensor. * * @author Charles Grassi...