text
stringlengths
7
1.01M
/* * Copyright 2017 Apereo * * 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 wr...
package com.vansuita.materialabout.builder; import android.content.Context; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.net.Uri; import android.view.View; ...
package com.poc.pricing.auth.dto; import java.util.List; import com.poc.pricing.auth.model.Role; import io.swagger.annotations.ApiModelProperty; public class UserDataDTO { @ApiModelProperty(position = 0) private String username; @ApiModelProperty(position = 1) private String email; @ApiModelProperty(po...
/** * Copyright Intellectual Reserve, 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 a...
package org.mitre.policynet.policynet_layout; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class LayoutTest extends TestCase { /** * Create the test case * * @param testName name of the test case ...
/******************************************************************************* * Copyright (c) 1991, 2021 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at https://w...
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.accessservices.subjectarea.properties.enums; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackso...
package com.maven.dao; import java.util.List; import java.util.Map; import org.springframework.stereotype.Repository; import com.maven.entity.EnterpriseAgength5Level; import com.maven.entity.EnterpriseEmployeeLevel; @Repository public interface EnterpriseAgength5LevelDao { /** * 调用获取员工级别数据方法 * @return Map<Strin...
// Template Source: IBaseMethodBodyRequest.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------------------...
/* * 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 * d...
package com.cinemafy.backend.repositories; /** * @author Mustafa Atmaca */ import com.cinemafy.backend.models.Cinema; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.repository.CrudRepository; import java.util.List; public interface CinemaRepository extends CrudReposit...
package com.mit.cloud; import org.springframework.boot.WebApplicationType; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.cloud.config.server.EnableConfigServer; /** * <p>Description:<p> * * @Author: ...
package com.example.application.customer.service; import com.example.application.customer.pojo.info.AdminCustomerInfoSaveRequestBody; import com.example.application.customer.pojo.info.AdminCustomerInfoUpdateRequestBody; import com.example.commons.db.mybatis.plus.pagehelper.module.pojo.query.CustomerInfoQuery; import c...
/* * 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 2019 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 ...
package com.pj0730.demo.po; import java.sql.Date; public class AllInfo { private int dynamicID; private String hostAvatar; private String hostNick; private String createTime; private String mom_textField; private String mom_image; private int hasPraised; private int isCol...
/* * Copyright (C) 2015 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 algebra; public class BinaryExponentiation { public static long powerRecursive(long a, long b) { if (b == 0) return 1; if ((b & 1) == 1) return a * powerRecursive(a * a, (b - 1) / 2); return powerRecursive(a * a, b / 2); } public static long powerIterative(long a, long b) ...
package br.usp.each.saeg.baduino.xml; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.*; import java.io.File; import java.net.URL; import java.util.List; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; public class XMLFactoryTests { priva...
/* * 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 ma...
package org.gwtproject.i18n.shared.cldr.impl; import java.lang.Override; import java.lang.String; import javax.annotation.Generated; import org.gwtproject.i18n.shared.cldr.DateTimeFormatInfo; import org.gwtproject.i18n.shared.cldr.LocaleInfoImpl; import org.gwtproject.i18n.shared.cldr.LocalizedNames; import org.gwtpro...
/* * Copyright 2019-present HiveMQ GmbH * * 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 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 * distribut...
package com.almis.awe.test.unit.hsql; import com.almis.awe.test.unit.database.DirectServiceCallTest; import com.almis.awe.test.unit.database.MaintainTest; import com.almis.awe.test.unit.database.QueryTest; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; @R...
/* * Copyright 2016-2021 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...
/* * Copyright 2003 - 2010 The eFaps Team * * 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 ...
package hud; public class SlopeLines { public float[] vertices; public int[] indices; public float[] normals; public SlopeLines() { } }
package pl.sdacademy.java16poz.testowanietdd.calculator; /** * Calculator * * @author: Jakub Olszewski [hintintp://github.com/jakub-olszewski] * @date: 16.06.2019 11:34 **/ public interface Calculator { /** * Metoda wprowadza znak z argumenintu na wyświeintlacz, ale nie wyświeintla * @param number ...
/* * Copyright 2017 Red Hat, 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...
/* * ****************************************************************************** * * * * * * This program and the accompanying materials are made available under the * * terms of the Apache License, Version 2.0 which is available at * * https://www.apache.org/licenses/LICENSE-2.0. * * * * See the NO...
/* SPDX-License-Identifier: Apache 2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.frameworks.connectors.properties.beans; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.an...
package com.tools20022.repogenerator.resulttypes; import javax.xml.bind.annotation.XmlElement; import org.jboss.forge.roaster.model.source.AnnotationSource; import org.jboss.forge.roaster.model.source.JavaClassSource; import com.tools20022.generators.StructuredName; import com.tools20022.metamodel.MMMessageConstruct...
package org.apache.solr.rest.schema; /* * 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, Ver...
/******************************************************************************* * Copyright (c) 1991, 2021 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at https://w...
package com.flowci.core.config.service; import com.flowci.core.common.config.AppProperties; import com.flowci.core.common.domain.Mongoable; import com.flowci.core.common.manager.SpringEventManager; import com.flowci.core.config.dao.ConfigDao; import com.flowci.core.config.domain.*; import com.flowci.core.config.event....
package voss.discovery.agent.alaxala.mib; import net.snmp.*; import voss.discovery.iolib.snmp.SnmpEntry; import java.io.IOException; public abstract class AlaxalaAbstractMibImpl { protected final String qosFlowEntryKey; public AlaxalaAbstractMibImpl(String qosFlowEntryKey) { checkKey(qosFlowEntryKey...
package kendzi.josm.kendzi3d.data; import kendzi.kendzi3d.josm.model.perspective.Perspective; import org.openstreetmap.josm.data.osm.OsmPrimitive; /** * Allows to reuse existing world object when related osm primitive or * perspective was changed. * * @author Tomasz Kedziora (Kendzi) * */ public interface Rebu...
package com.dennis.nio; import java.nio.ByteBuffer; /** * 只读buffer,我们可以随时将一个普通Buffer调用asReadOnlyBuffer方法返回一个只读Buffer * 但不能将一个只读Buffer转换为读写Buffer */ public class NioTest07 { public static void main(String[] args) { ByteBuffer buffer = ByteBuffer.allocate(10); System.out.println(buff...
package fi.com.sukapura.MainMenu.Activity.Utils; import android.app.AlertDialog; import android.app.Dialog; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.os.AsyncTask; import android.util.Log; import java.util.ArrayList; import fi.com.sukapu...
/* * Copyright 2018 The RoboZonky 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 applicable law or ...
package br.com.casadocodigo.loja.configuration; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.redis.connection.jedis.JedisConnectionFactory; import org.springframework.data.redis.core.RedisTemplate; import org.springfram...
package com.roby.android.robcket_rocketlaunchschedule.utils; import com.google.android.material.appbar.AppBarLayout; /** * This class used to hide horizontal linear layout * that contain items on the collapsing toolbar * in the launch detail activity */ public abstract class AppBarStateChangeListener implements A...
package org.jeecg.modules.access.controller; import org.jeecg.common.api.vo.Result; import org.jeecg.modules.access.feign.IAccessFeignController; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.Map; @RestController @RequestMapping("acc...
/* * Copyright 2016 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 applica...
/* * 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 frc.robot.utils.sensors; import edu.wpi.first.wpilibj.ADXRS450_Gyro; public class Gyro { private final ADXRS450_Gyro gyro; public Gyro() { this.gyro = new ADXRS450_Gyro(); } public double getAngle(){ return gyro.getAngle(); } public void calibrate(){ gyro.cal...
package com.fluxtream.api; import java.io.IOException; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import com.fluxtream.aspects.FlxLogger; /** * Created with IntelliJ IDEA. * User: candide * Date: 05/03/13 * Time: 11:50 * To change this templat...
package org.myrobotlab.service; import org.myrobotlab.framework.Service; import org.myrobotlab.framework.ServiceType; import org.myrobotlab.logging.Level; import org.myrobotlab.logging.LoggerFactory; import org.myrobotlab.logging.LoggingFactory; import org.slf4j.Logger; public class Intro extends Service { ...
package net.dankito.jpa.apt.test_entities.relationship_annotations; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.OneToOne; @Entity public class OneToOne_Bidirectional_OwningSide { @Id private String id; @OneToOne private OneToOne_Bidirectional_InverseSide i...
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2011, 2012, 2013, 2014, 2016 Synacor, Inc. * * 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, * versi...
package com.alipay.api.response; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.trade.repaybill.order.createandpay response. * * @author auto create * @since 1.0, 2020-10-09 11:27:13 */ public class AlipayTradeRepaybillOrderCreateandpayResponse ex...
/* * 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.arcao.trackables.ui.fragment.detail; import android.app.Fragment; import android.os.Bundle; import android.support.annotation.LayoutRes; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.arcao.trackables.inte...
package com.kang.mall.controller.admin; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.kang.mall.common.Result; import com.kang.mall.entity.User; import com.kang.mall.param.admin.UserParam; import com.kang.mall.service.admin.UserService; import org.springframework.beans.factory.annotatio...
/** * 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 2019 Arcus 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 applicable law or agreed to ...
package gov.va.isaac.gui.enhancedsearchview.resulthandler; import gov.va.isaac.AppContext; import gov.va.isaac.gui.enhancedsearchview.SearchTypeEnums.ResultsType; import gov.va.isaac.gui.enhancedsearchview.model.SearchModel; import gov.va.isaac.interfaces.utility.DialogResponse; import gov.va.isaac.interfaces.workflow...
/** * Copyright (c) 2016, 2020, 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...
/* * Copyright 2017-2021 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...
package com.kroraina.easyreader.modules.community.detail; import com.kroraina.easyreader.model.bean.AuthorBean; public class HelpsDetailBean { /** * _id : 579df15f8eaf3ec231d8bc2b * type : help * author : {"_id":"54ec360d77bace32513eabc1","avatar":"/avatar/f1/ca/f1cad586d81253f48b360738b1b90780",...
package code.kafka.interceptor; import org.apache.kafka.clients.producer.ProducerInterceptor; import org.apache.kafka.clients.producer.ProducerRecord; import org.apache.kafka.clients.producer.RecordMetadata; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** * @describe: kafka 拦截器,生产者拦截器 * ...
/* * 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 automata; /** * * @author Samer2 */ public class SymbolNotInAlphabetException extends Exception{ @Override public ...
package org.openqa.selenium.server; import static org.junit.Assert.*; import org.junit.After; import org.junit.Test; /** * Unit tests for SeleniumServer. * * @author Matthew Purland */ public class SeleniumServerUnitTest { // Number of jetty threads to positively test for private int positiveJettyThreads = S...
/* * Copyright (c) 2011-2013 The original author or authors * ------------------------------------------------------ * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distributi...
/** * Copyright (c) 2009-2016, Data Geekery GmbH (http://www.datageekery.com) * 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/license...
/** * Copyright 2019 Yanzheng (https://github.com/micyo202). 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/LICEN...
package santa.simulator.genomes; import java.util.SortedSet; /** * @author Andrew Rambaut */ public class SimpleGenome extends BaseGenome { public SimpleGenome() { } public void duplicate(SimpleGenome source) { this.sequence = new SimpleSequence(source.sequence); this.fitnessCache = source.fit...
package com.dexesttp.hkxpack.resources.byteutils; import static org.junit.Assert.*; import org.junit.Test; /** * Tests the {@link ULongByteUtils} class */ public class ULongByteUtilsTest { @Test /** * Test */ public void getUIntSize2ShouldWorkFor0() { assertArrayEquals("Long(2) : 0 => 0", new byte[]{0...
/* * 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 contagionJVM.Repository; @SuppressWarnings("UnusedDeclaration") public class DMRoleRepository { }
/* * 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 jp.gr.java_conf.ke.foca.internal.injector; import java.lang.annotation.Annotation; import jp.gr.java_conf.ke.foca.DIContents; import jp.gr.java_conf.ke.foca.annotation.exit.View; import jp.gr.java_conf.ke.foca.DefinitionNotFound; import jp.gr.java_conf.ke.foca.FocaException; import jp.gr.java_conf.ke.foca.ann...
package deltix.qsrv.hf.tickdb.comm.server; import deltix.gflog.Log; import deltix.gflog.LogLevel; import deltix.util.time.TimeKeeper; import java.io.*; import java.security.Principal; import java.util.Date; import java.util.logging.LogRecord; import java.util.logging.SimpleFormatter; public class UserLogger { p...
package org.iota.ict.model.transfer; import org.iota.ict.model.bc.BalanceChange; import org.iota.ict.model.bc.BalanceChangeBuilder; import org.iota.ict.model.transaction.Transaction; import org.iota.ict.model.transaction.TransactionBuilder; import org.iota.ict.utils.crypto.SignatureSchemeImplementation; import java.m...
/* *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...
// Write a program to input an integer T and // then T lines each containing two integers A & B from user and print T lines // conatining HCF of two given 2 numbers A and B. import java.lang.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc= new Scanner(System...
/* * Copyright 2013 NGDATA nv * * 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...
/* * Copyright 2012 Alex Usachev, thothbot@gmail.com * * This file is part of Parallax project. * * Parallax is free software: you can redistribute it and/or modify it * under the terms of the Creative Commons Attribution 3.0 Unported License. * * Parallax is distributed in the hope that it will be useful, ...
package com.verdantartifice.primalmagick.common.runes; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Map; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.verdantartifice.primalmagick.PrimalMagick; import net.minecraft.resources.Re...
package org.ovirt.engine.core.common.utils; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; import org.ovirt.engine.core.common.businessentities.ArchitectureType; import org.ovirt.engine.core.common.businessentities.BiosType; public class VmCpuCountHelperTest { @T...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
/** * Copyright (C) 2002-2014 Fabrizio Giustina, the Displaytag team * * 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 ...
/*- * ========================LICENSE_START================================= * Bucket4j * %% * Copyright (C) 2015 - 2020 Vladimir Bukhtoyarov * %% * 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 L...
/* * Copyright 2015 Open Networking Laboratory * * 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 la...
/* * 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.zup.mercadolivre.repository; import br.com.zup.mercadolivre.modelo.Compra; import org.springframework.data.jpa.repository.JpaRepository; public interface CompraRepository extends JpaRepository<Compra, Long> { }
package org.inaetics.dronessimulator.visualisation.uiupdates; import javafx.scene.image.ImageView; import javafx.scene.layout.Pane; /** * RemoveBaseEntity extends UIUpdate and is a class representation used when removing a BaseEntity (drone, bullet, etc) */ public class RemoveBaseEntity extends UIUpdate { /** ...
package jp.co.exacorp.matchingapp.logic.api; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import javax.ejb.Stateless; import jp.co.exacorp.matchingapp.util.LINEConstants; @Stateless public class ContentContact {...
package com.ray3k.template.screens; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input.Keys; import com.badlogic.gdx.InputMultiplexer; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.math.Interpolation; ...
// Copyright 2020 The Bazel 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 appl...
package mage.cards.f; import java.util.UUID; import mage.MageInt; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.dynamicvalue.common.StaticValue; import mage.abilities.effects.common.LookLibraryAndPickControllerEffect; import mage.abilities.keyword.FlyingAbility; import mage.ca...
/* * Copyright 2016-2018 shardingsphere.io. * <p> * 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 l...
package com.alipay.api.response; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.AlipayResponse; /** * ALIPAY API: koubei.advert.delivery.item.apply response. * * @author auto create * @since 1.0, 2019-01-07 20:51:15 */ public class KoubeiAdvertDeliveryItemApplyResponse exten...
package com.alibaba.alink.params.io; import org.apache.flink.ml.api.misc.param.ParamInfo; import org.apache.flink.ml.api.misc.param.ParamInfoFactory; import org.apache.flink.ml.api.misc.param.WithParams; import com.alibaba.alink.common.annotation.DescCn; import com.alibaba.alink.common.annotation.NameCn; public inte...
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.dfa; /** * @since Created on 14.07.2004 * @author raik */ public class VariableAccessException extends Exception { private static final long serialVersionUID = 7385246683069003412L; pub...
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute t...
package fileio; import java.io.*; public class FileIO implements IFileIO { private BufferedReader reader; private BufferedWriter writer; public FileIO(String inputFile, String outputFile) { try { this.reader = new BufferedReader(new FileReader(inputFile)); this....
package us.kbase.test.auth2.service; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.mockito.Mockito.any; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.reset; import static us.kbase.test.aut...
package com.order.orderapp.appcontroller; import com.order.orderapp.dto.input.OrderInput; import com.order.orderapp.model.*; import com.order.orderapp.service.ItemServiceInterface; import com.order.orderapp.service.ProductService; import com.order.orderapp.service.ServiceService; import org.modelmapper.Converter; impo...
import lejos.nxt.Button; import lejos.nxt.LCD; import lejos.nxt.Motor; import lejos.util.Delay; public class MotorLab{ public static void main(String[] args) { int motA, motB; LCD.drawString("Motor Test",0,0); //1 Button.waitForAnyPress(); //2 LCD.clear(); Motor.A.setSpeed(720);//3 Motor.B.setS...