text
stringlengths
7
1.01M
package view; import javax.swing.JOptionPane; import controller.RedesController; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Object[] opcoes = {1, 2, 9}; RedesController operacoes = new RedesController(); int selecionado = (int) JOptionPane.showInpu...
/* * Copyright 2006-2021 The JGUIraffe 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 o...
/* * * This file is part of the iText (R) project. Copyright (c) 1998-2022 iText Group NV * Authors: Bruno Lowagie, Paulo Soares, et al. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License version 3 * as published by the Free ...
/** * Copyright 2011 José Martínez * * 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 agre...
package io.opensphere.core.util.callout; /** * The callout key that contains the callout key and an index of the callout. * * @param <E> The type of the key. */ public class CalloutKey<E> { /** * The key object. */ private final E myKey; /** * The index of the callout. ...
package class_5_interface; public class Test { public static void main(String[] args) { MyStudent[] myStudents = new MyStudent[4]; myStudents[0] = new Kison(); myStudents[1] = new Holly(); myStudents[2] = new DK(); myStudents[3] = new Eric(); MyStudent[] students2 =...
/* * Copyright 2004,2005 The Apache Software Foundation. * * 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 requ...
package info.u_team.extreme_cobble_generator.data.provider; import static info.u_team.extreme_cobble_generator.init.ExtremeCobbleGeneratorBlocks.GENERATOR; import java.util.function.BiConsumer; import info.u_team.u_team_core.data.CommonLootTablesProvider; import info.u_team.u_team_core.data.GenerationData; import in...
package com.github.paganini2008.springdessert.cached.base; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * * Clear * * @author Fred Feng * @since 2.0.1 ...
/** * WebEdge 2018 */ package com.webedge.htmlfilter.servlet; import java.io.IOException; import javax.servlet.Servlet; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.webedge.htmlfi...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.security.ingest; import org.elasticsearch.com...
package module1148_public.a; import javax.lang.model.*; import javax.management.*; import javax.naming.directory.*; /** * Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut * labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo...
package org.apache.maven.shared.release; /* * 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 Lic...
/* * Copyright 2013 David Curtis * * 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.zeusjava.kernel.service.impl; import com.zeusjava.kernel.entity.User; import com.zeusjava.kernel.mapper.UserMapper; import com.zeusjava.kernel.service.IUserService; import org.springframework.stereotype.Service; import javax.annotation.Resource; import java.util.List; /** * Created by LittleXuan on 2015...
/* * Copyright (C) 2011 The CyanogenMod 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 ...
package function.cohort.collapsing; import function.cohort.base.CalledVariant; import function.variant.base.Output; import function.cohort.base.Sample; import global.Index; import java.util.List; import java.util.StringJoiner; import utils.FormatManager; /** * * @author nick */ public class CollapsingOutput extend...
/* * 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. */ package org.fcrepo.http.commons.exceptionhandlers; import org.fcrepo.persistence.api.exceptions.PersistentItemConflictException; import org.slf4j.Logger; import j...
package com.xlauch; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.module.SimpleModule; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; im...
package org.infinispan.commons.dataconversion; import static java.nio.charset.StandardCharsets.UTF_8; import static java.util.Base64.getUrlDecoder; import static org.infinispan.commons.dataconversion.MediaType.APPLICATION_OBJECT_TYPE; import static org.infinispan.commons.dataconversion.MediaType.APPLICATION_WWW_FORM_U...
package com.cisco.axl.api._8; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for AddMohServerReq complex type. * * <p>The following schema fragment specif...
package com.example.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @SpringBootApplication @RestController public ...
package org.swtk.commons.dict.wordnet.indexbyname.instance.n.r.a; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.IndexNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounIndexNameInsta...
/** * MIT License * * Copyright (c) 2017 Wreulicke * * 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, modif...
package com.pdsl.reports; import com.pdsl.reports.proto.TacticalReportData; import java.io.IOException; import java.net.URL; /** * */ public interface TacticalReportGenerator { URL generateTacticalReport(TacticalReportData contextToTestResults) throws IOException; }
/* * Copyright 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package cc.duduhuo.simpler.db; import cc.duduhuo.simpler.bean.Account; import cc.duduhuo.simpler.bean.Draft; import cc.duduhuo.simpler.bean.Settings; /** * ======================================================= * 作者:liying - liruoer2008@yeah.net * 日期:2015/12/06 12:29 * 版本:1.0 * 描述:数据库常量信息 * 备注: *...
package development.calebtoi.test.fragments; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.design.widget.TextInputLayout; import android.support.v4.app.Fragment; import android.support.v4.app.Fragm...
package org.humancellatlas.ingest.state; import lombok.NonNull; import lombok.RequiredArgsConstructor; import org.humancellatlas.ingest.core.MetadataDocument; import org.humancellatlas.ingest.core.ValidationEvent; import org.springframework.context.ApplicationEventPublisher; import org.springframework.stereotype.Compo...
/* * Copyright (c) 2017, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 */ package oracle.idm.mobile.connection; import java.net.HttpURLConnection; import java.util.List; import java.util.Map; import oracle.idm.mobile.auth.OMCookie; /** * This holds the response from the se...
/* * Copyright 2014-2022 Web Firm Framework * * 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 org.metafetish.buttplug.core.messages; import org.metafetish.buttplug.core.ButtplugConsts; import org.metafetish.buttplug.core.ButtplugDeviceMessage; import com.fasterxml.jackson.annotation.JsonProperty; @Deprecated(since = "Buttplug 2") public class LovenseCmd extends ButtplugDeviceMessage { @JsonProperty...
/* * Copyright 2014 The Closure Compiler 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...
package org.nd4j.linalg; import lombok.extern.slf4j.Slf4j; import org.junit.Ignore; import org.junit.Test; import org.nd4j.linalg.api.ndarray.*; import org.nd4j.linalg.factory.Nd4j; import org.nd4j.linalg.indexing.*; import org.nd4j.linalg.util.ArrayUtil; import static org.junit.Assert.*; /** * @author Audrey Loeff...
/* * The MIT License * * Copyright (c) 2016 Andrea Torre, https://twitter.com/AndtorG * * 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 limitatio...
package datadog.trace.agent.tooling.muzzle; import static net.bytebuddy.dynamic.loading.ClassLoadingStrategy.BOOTSTRAP_LOADER; import datadog.trace.agent.tooling.AgentTooling; import datadog.trace.agent.tooling.Utils; import datadog.trace.agent.tooling.muzzle.Reference.Mismatch; import datadog.trace.agent.tooling.muz...
package slogo.logicalcontroller.command.unimplemented; import slogo.logicalcontroller.command.Command; import slogo.logicalcontroller.variable.VariableList; import slogo.model.ModelTurtle; import java.util.List; public class ClearScreen extends UnimplementedCommand { public ClearScreen(List<String> args){ ...
/*================================================================================ Copyright (c) 2013 Steve Jin. 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 re...
package com.mjc.javaee.Dao; import com.mjc.javaee.Entity.Position; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import java.util.List; /** * @author VX5 * @Title: MJC * @ProjectName Recruitment * @Description: TODO * @date ${DAT}16:32 */ pu...
/* * 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...
package com.sen.review.data.structure.huffman; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; impor...
/** * Copyright 2019 The JoyQueue 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...
package com.github.knightliao.middle.http.common.utils; import com.github.knightliao.middle.metrics.MonitorHelper; import lombok.extern.slf4j.Slf4j; /** * @author knightliao * @email knightliao@gmail.com * @date 2021/8/28 13:51 */ @Slf4j public class HttpMetricMonitor { public static void commitMonitor(Stri...
/** * pims-web org.pimslims.xmlio XmlLoader.java * * @author pajanne * @date Feb 9, 2009 * * Protein Information Management System * @version: 2.2 * * Copyright (c) 2009 pajanne The copyright holder has licenced the STFC to redistribute this * software */ package org.pimslims.xml...
import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; class PhoneExampleTests { @Test void sample() { assertTrue(Kata.validPhoneNumber("(123) 456-7890")); assertFalse(Kata.validPhoneNumber("(1111)555 2345")...
package org.viesure.testRunner; import io.cucumber.testng.AbstractTestNGCucumberTests; import io.cucumber.testng.CucumberOptions; @CucumberOptions( features = {"src/main/resources/pages"}, glue = "steps", tags = "@regression" ) public class RegressionTestRunner extends AbstractTestNGCucumberTe...
package org.springframework.cloud.env; import java.util.Collections; import java.util.Map; import org.springframework.boot.context.properties.bind.Bindable; import org.springframework.boot.context.properties.bind.Binder; import org.springframework.core.env.Environment; /** * @author Spencer Gibb */ public class En...
// Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package multidex005; public class ReflectionReference { Class directlyReferencedClass; public Reflec...
/* * Copyright 2002-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
package com.beimi.util.rules.model; import com.beimi.core.engine.game.Message; import com.beimi.web.model.GameRoom; import com.beimi.web.model.PlayUserClient; public class JoinRoom implements Message{ private String command ; private PlayUserClient player ; private int index ; private int maxplayers ; private bo...
package br.ufsc.egc.agrovoc.service; import java.io.File; import java.util.ArrayList; import java.util.List; import org.apache.jena.graph.NodeFactory; import org.apache.jena.graph.Triple; import org.apache.jena.query.ResultSet; import org.apache.jena.rdf.model.Literal; import org.apache.jena.rdf.model.Model...
package br.com.digitalhouse.digital.pimarvel.repository; import android.content.Context; import java.util.List; import br.com.digitalhouse.digital.pimarvel.data.database.Database; import br.com.digitalhouse.digital.pimarvel.data.database.dao.FavoriteDAO; import br.com.digitalhouse.digital.pimarvel.model.favorite.Fav...
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.refactoring.wrapreturnvalue; import com.intellij.ide.highlighter.JavaFileType; import com.intellij.ide.util.PackageUtil; import com.intelli...
/* * 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.bumptech.glide.supportapp.utils; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import com.bumptech.glide.load.Key; public class LongSignature implements Key { private final long signature; public LongSignature(long signature) { this.signature = signature; } @Sup...
package com.example.mbarrafirdaus.biodata; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.View; import android.widget.Button; import android.widget.EditText; import a...
package com.hhdl.util; import com.hhdl.model.TDestination; import org.apache.commons.lang3.RandomUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; public class DestinationUtil { /** * Logger for this class */ ...
package com.bumptech.glide.load.resource.gifbitmap; import android.graphics.Bitmap; import com.bumptech.glide.load.Transformation; import com.bumptech.glide.load.engine.Resource; import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; import com.bumptech.glide.load.resource.gif.GifDrawable; import com.bumpte...
package de.brightside.bnotes.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import org.springframework.security.core.GrantedAuthority; @Entity @Tab...
package com.marshalchen.common.uimodule.parallaxscroll; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.view.View; import android.view.animation.TranslateAnimation; import android.widget.AbsListView; import android.widget.AbsListView.OnScrollListe...
package com.apexmob.skink; /** * The Text class represents a node containing text within a document tree. * * <p>The Text class implements the flyweight pattern where a single instance can be reused by calling * the clear method and re-populating the content StringBuilder.</p> */ public class Text ext...
package com.simple_user_service.app; /** * */ import java.util.ArrayList; import java.util.List; /** * @author MaiconFonsecaZanco * */ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import...
import java.awt.*; /******************************************************************************** ** This is the applications title bar, used to display status information. */ public class TitleBar extends Label { /******************************************************************************** ** Constructor. ...
// Targeted by JavaCPP version 1.5.3-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.onnxruntime; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import org.bytedeco.dnnl.*; import static org.bytedeco.dnnl.global.dnnl.*; import static org.bytedeco.onnxruntime.global....
package com.kkasztel.utils.datetime.parser; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import...
package org.simpleflatmapper.reflect.asm; import org.simpleflatmapper.reflect.BuilderInstantiatorDefinition; import org.simpleflatmapper.reflect.instantiator.ExecutableInstantiatorDefinition; import org.simpleflatmapper.reflect.Getter; import org.simpleflatmapper.reflect.InstantiatorDefinition; import org.simpleflatma...
/** * 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.example.martialartacademy.database.model; public class MobilityModel { public static final String TABLE_NAME = "tb_modalidade"; public static final String COLUMN_MOBILITY = "modalidade"; public static final String CREATE_TABLE = "create table "+ TABLE_NAME +"(" + COLUMN_MOBILITY ...
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.highlighting; import com.intellij.injected.editor.VirtualFileWindow; import com.intellij.openapi.fileTypes.SyntaxHighlighter; import com.intellij.ope...
/** * 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; import static org.dspace.core.Constants.COLLECTION; import java.io.IOExc...
/******************************************************************************* * Copyright (c) 2011 Tran Nam Quang. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * def */ package com.microsoft.azure.management.network.v2019_06_01.implementation; impor...
/* * 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 br.edu.ufcg.computacao.si1.utils; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.security.core.userdetails.UserDetails; /** * Classe auxiliar com implementacao de metodos estaticos para utilizacao no projeto. * * @author Thaynan Andrey * */ public clas...
package ca.jrvs.practice.dataStructure.list; import java.util.Collection; /** * This is a simplified version of JDK List (java.util.List) JavaDoc is also copied from JDK * (java.util.List) * * @param <E> the type of elements in this list * @see java.util.List for JDK full version of List */ interface JList<E> {...
/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 4.1 */ /* JavaCCOptions:KEEP_LINE_COL=null */ package kiwi.service.reasoning.parser; /** * This exception is thrown when parse errors are encountered. * You can explicitly create objects of this exception type by * calling the method generat...
/** * Copyright (c) 2016-2019 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package io.renren.config; import com.baomidou.mybatisplus.extension.plugins.OptimisticLockerInterceptor; import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; import org.springframework.context...
package urlshortener.web; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.mockito.stubbing.Answer; import org.springframework.boot.test.context.SpringBoot...
/* * Copyright 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 applic...
package library.management.settings; import com.jfoenix.controls.JFXPasswordField; import com.jfoenix.controls.JFXTextField; import java.net.URL; import java.util.ResourceBundle; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.stage.Stage; public class Setting...
package com.github.alexeylapin.oca.g02_working_with_java_data_types.t01_declare_and_initialize_variables; public class InvalidDeclaration05 implements Runnable { @Override public void run() { for (int i; ; ) { System.out.println(i); // local variables must be explicitly initialized before ...
package nl.jqno.equalsverifier.testhelpers.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface FieldAnnotationDoesn...
package com.xguokr.bean; /** * Created by yk on 2015/12/10. */ public class ConnResult { private int resultCode; private String resultContent; public int getResultCode() { return resultCode; } public String getResultContent() { return resultContent; } public void setRe...
/* * 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 com.maelstrom.mandelbrotgpu; /** * * @author Chris */ public class NotableSettings { public static Fracta...
package dev.salmonllama.cyf.items.tools; import net.minecraft.item.HoeItem; import net.minecraft.item.ToolMaterial; public class MelonHoe extends HoeItem { public MelonHoe(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) { super(material, attackDamage, attackSpeed, settings);...
package com.util.gzipUtil; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.zip.GZIPInputStream; public class GZIPuncompress { /** * 解压缩字符串: * @param str * @param code:编码格式建议:ISO-8859-1 * @return * @throws IOException */ public stat...
package com.webkreator.mybatis_playground; import org.junit.Assert; import org.junit.Test; import static com.webkreator.mybatis_playground.BookTests.BOOK_SINGLETON; public class ReviewTests extends AbstractDatabaseTest { @Test public void testMapper() { // Insert. books.insert(BOOK_SINGLETO...
package com.br.bancodigital.view; import com.br.bancodigital.controller.Navegacao; import com.br.bancodigital.model.Conta; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class OperacoesGui extends JFrame { private JPanel panel1; private JButton sacarButt...
package com.planet_ink.coffee_mud.Abilities.Thief; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import ...
package io.github.slawomirr.recipe_app; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class RecipeApplicationTests { @Test public v...
/* Copyright 2020 Telstra Open Source * * 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...
/* * Copyright 2020, 2021, Ludovic Henry * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pu...
package com.ajawalker.delaunay; /** * A vertex in a Delaunay triangulation. * <p> * Adapted from Steven Benoit's library here: * <p> * http://www.math.colostate.edu/~benoit/Java/math/delaunay/delaunay.html */ public class Vertex { /** * distance within which we consider a vertex to fall on an edge */ publ...
/* This file is part of Intake24. © Crown copyright, 2012, 2013, 2014. This software is licensed under the Open Government Licence 3.0: http://www.nationalarchives.gov.uk/doc/open-government-licence/ */ package uk.ac.ncl.openlab.intake24.client.survey.portionsize; import com.google.gwt.user.client.rpc.AsyncCallbac...
/* * 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.github.badoualy.telegram.tl.api.request; import com.github.badoualy.telegram.tl.TLContext; import com.github.badoualy.telegram.tl.api.help.TLAbsAppChangelog; import com.github.badoualy.telegram.tl.core.TLMethod; import com.github.badoualy.telegram.tl.core.TLObject; import java.io.IOException; import java....
/* * Copyright 2014-2019 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...
/* * 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 task; import config.Configs; import config.StartLog; import util.FileUtil; import util.NetUtil; import java.io.File; import java.util.concurrent.Callable; public class ShutdownServer implements Callable<Void> { private StartLog log; public ShutdownServer(String fileName) { this.log = FileUt...
/* * Copyright (C) 2014 Stratio (http://stratio.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 app...