text
stringlengths
7
995k
package org.wso2.carbon.apimgt.internal.service.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import java.util.ArrayList; import java.util.List; import org.wso2.carbon.apimgt.internal.service.dto.ApplicationAttributeDTO; import org.wso2.carbon.apimgt.in...
package com.example.automation.schedulingetljobs; 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 SchedulingEtlJobsApplicationTest...
/* * Copyright 2017-2018 Deltix, 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 agre...
package org.ml4j.autograd; import java.util.function.Supplier; public class CachingDataSupplierImpl<T> implements CachingDataSupplier<T> { private Supplier<T> supplier; private T value; private boolean calc; public CachingDataSupplierImpl(Supplier<T> supplierT) { this.supplier = supplierT; ...
/** * Copyright 2009-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
package org.ggp.base.player.gamer.statemachine.sample; import org.ggp.base.apps.player.detail.DetailPanel; import org.ggp.base.apps.player.detail.SimpleDetailPanel; import org.ggp.base.player.gamer.exception.GamePreviewException; import org.ggp.base.player.gamer.statemachine.StateMachineGamer; import org.ggp.base.util...
package com.projeto.app.models.form; import java.util.Optional; import com.projeto.app.models.Operacao; import com.projeto.app.models.SaneparPrivativa; import com.projeto.app.models.gestao.TipoEnum; import com.projeto.app.repositories.OperacaoRepository; import com.projeto.app.repositories.SaneparPrivativaRepository; ...
/* * Copyright 2013 Agorava * * 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...
package io.mtech.jpa.hibernate.demo.repository; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.Query; import javax.persistence.TypedQuery; import org.junit.Test; import org.junit.runner.RunWith; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframewo...
package com.nattguld.http.cfg; /** * * @author randqm * */ public enum ProxyPolicy { ASSIGNED_ONLY, FALLBACK, ANY; }
package com.alipay.api.domain; import java.util.Date; import java.util.List; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; /** * 电子小票业务数据 * * @author auto create * @since 1.0, 2021-03-31 11:19:08 */ public class ReceiptB...
/* * Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package jadx.core.dex.visitors.blocksmaker; import java.util.ArrayList; import java.util.BitSet; import java.util.Collections; import java.util.Deque; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import org.jetbrains.annotations.Nullable; import org.slf4j.Logger; import org.slf4j.Log...
package pt.neticle.ark.templating.structure; import java.util.Collection; import java.util.List; import java.util.Optional; import java.util.stream.Stream; public interface ReadableElement extends Node { String getTagName (); ReadableAttribute getAttribute (String qualifiedName); Collection<? extends Re...
/* * */ package com.example.smoke; public final class ChildClassFromInterface extends ParentInterfaceImpl { /** * For internal use only. * @exclude */ protected ChildClassFromInterface(final long nativeHandle) { super(nativeHandle); } public native void childClassMethod(); }
package com.halcyon.coordinatorlayoutdemo; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest()...
package com.github.csachs.rioh.jaxrs; import com.github.csachs.rioh.ByteOrderCompanion; import com.github.csachs.rioh.Image; import com.github.csachs.rioh.ImageArray; import java.io.IOException; import java.io.InputStream; import java.util.Map; import static com.github.csachs.rioh.RiohConstants.*; public class RawI...
/* * Copyright 2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package com.closedevice.fastapp.api.exception; public class ApiException extends RuntimeException { private int errorCode; private String extendErrorMsg; public ApiException(int code, String msg) { super(msg); this.errorCode = code; } public ApiException(int code, String msg, St...
package practice; import java.util.Scanner; public class Power { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int base; int power; int result = 0; System.out.println(" Enter the base no. "); base = sc.nextInt(); System.out.println(" Enter the Power "); power =...
package com.bx.erp.test.staff; import static org.testng.Assert.assertTrue; import java.util.List; import java.util.Map; import org.testng.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import com.bx.erp.action.BaseAction; import com.bx....
/* * Copyright 2016 Lutz Fischer <l.fischer@ed.ac.uk>. * * 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 dk.kb.yggdrasil.exceptions; import java.io.File; import java.util.Collection; /** * Checks for argument validity. */ public class ArgumentCheck extends RuntimeException { /** * Constructs new ArgumentCheck with the specified detail message. * * @param message The detail message */ ...
/** * @author Sunny Srijan * @version 1.0 * @since 03/22/2019 */ package TankGame; import javax.imageio.ImageIO; import java.awt.*; import java.io.IOException; public class Wall extends Thing { private static int width, height; private static Image wallImage; static { try...
package org.kuali.kpme.edo.candidate.guest.web; import javax.servlet.http.HttpServletRequest; import org.kuali.kpme.edo.base.web.EdoUifForm; import org.kuali.rice.krad.web.controller.UifControllerBase; import org.kuali.rice.krad.web.form.UifFormBase; import org.springframework.stereotype.Controller; import org.spring...
package com.space.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.persistence.*; import java.util.Date; @Entity @Table(name = "ship") public class Ship { @Id @Column(name = "id") @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Column(name =...
/* * Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package com.github.tsauvajon.hrjava.java.bigNumber.bigDecimal; import java.math.BigDecimal; import java.util.Arrays; import java.util.Scanner; class Solution { public static void main(String[] args) { //Input Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] s = ...
package ru.stqa.pft.addressbook.appmanager; import org.openqa.selenium.*; import org.openqa.selenium.support.ui.Select; import ru.stqa.pft.addressbook.model.ContactData; import ru.stqa.pft.addressbook.model.Contacts; import java.util.List; public class ContactHelper extends HelperBase { public ContactHelper(Web...
package headfirst.designpatterns.factory.challenge; public class ZoneEastern extends Zone { public ZoneEastern() { displayName = "US/Eastern"; offset = -5; } }
/* * Copyright (c) 2019 by European Commission * * Licensed under the EUPL, Version 1.2 or - as soon they will be * approved by the European Commission - subsequent versions of the * EUPL (the "Licence"); * You may not use this work except in compliance with the Licence. * You may obtain a copy of the Licence at...
/* * 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 ...
/** * @fileoverview This file contains the definition of the on unsubscribed event interface * @author ORTC team members (ortc@ibt.pt) */ package ibt.ortc.extensibility; /** * Represents the Ortc event when a channel is unsubscribed * * @version 2.1.0 27 Mar 2013 2012 * @author IBT * */ public interface On...
/* * Licensed to ObjectStyle LLC under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ObjectStyle LLC licenses * this file to you under the Apache License, Version 2.0 (the * "License"); you may not u...
/* * 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")...
package com.senorpez.trident.clock; import android.content.Intent; import androidx.lifecycle.MutableLiveData; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.util.Arrays; import java.util.Collection; import static androidx.test.espresso.Espresso.onView; imp...
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.game.engine.event; /** * Marker interface for an event. */ public interface GameEvent { // Marker interface }
/* * Copyright (C) 2011 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 ...
package fr.themode.demo.commands; import fr.themode.demo.items.SwordConstructor; import net.minestom.server.command.CommandSender; import net.minestom.server.command.builder.Arguments; import net.minestom.server.command.builder.Command; import net.minestom.server.command.builder.arguments.Argument; import net.minestom...
/* * Copyright 2012-2014 One Platform 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 required by applicable ...
/* * Copyright 2011 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...
import java.io.BufferedWriter; import java.io.IOException; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import java.util.LinkedList; import java.util.Queue; import java.util.regex.Matcher; import java.util.regex.Pattern; import static...
/* * Copyright (c) 1997, 2011, 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 ...
package hex; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import water.TestUtil; import water.util.Log; import java.util.Arrays; import java.util.Comparator; import java.util.Random; public class ScoreKeeperTest extends TestUtil { @BeforeClass public static void stall() { stall_t...
package com.branwenevans.components.wicket; import java.util.Arrays; import java.util.List; import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.markup.html.form.ChoiceRenderer; import org.apache.wicket.request.mapper.parameter.PageParameters; import com.branwenevans.components.wicket.dropdown.sele...
package com.ruoyi.api.controller.user; import com.ruoyi.api.service.IUserService; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.common.redisManager.RedisUtil; import com.ruoyi.common.utils.DateUtils; import com.ruoyi.framework.shiro.service.Sys...
/* * Copyright (C) 2017 by Fonoster Inc (http://fonoster.com) * http://github.com/fonoster/astive * * This file is part of Astive * * 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 * ...
/* * Copyright 2010 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 com.github.sonarperl.it; import static org.assertj.core.api.Assertions.assertThat; import java.io.File; import java.util.Collection; import org.junit.ClassRule; import org.junit.Test; import org.junit.rules.TestRule; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.ru...
package com.iflytek.ccr.polaris.cynosure.annotation; import java.lang.annotation.*; /** * 自定义权限 注解 * * @author sctang2 * @create 2017-11-15 10:41 **/ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface Access { String[] value() default {}; String[] authorities()...
/* * Copyright 2020 The caver-java Authors * * Licensed under the Apache License, Version 2.0 (the “License”); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * 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.github.onblog.server.remote.parm; import com.github.onblog.server.remote.parm.entity.Address; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import org.springframework.validation.annotation.Validated; import ...
package com.ruoyi.system.mapper; import com.ruoyi.system.domain.SysRole; import java.util.List; /** * 角色表 数据层 * * @author ruoyi */ public interface SysRoleMapper { /** * 根据条件分页查询角色数据 * * @param role 角色信息 * @return 角色数据集合信息 */ public List<SysRole> selectRoleList(SysRole role); ...
package org.apache.kerberos.kerb.spec.pa.pkinit; import org.apache.haox.asn1.type.Asn1FieldInfo; import org.apache.kerberos.kerb.spec.KrbSequenceType; import org.apache.kerberos.kerb.spec.common.CheckSum; import org.apache.kerberos.kerb.spec.common.EncryptionKey; /** ReplyKeyPack ::= SEQUENCE { replyKey ...
package org.globsframework.gui.splits.layout; import org.uispec4j.UISpecTestCase; import org.globsframework.gui.splits.layout.WrappedColumnLayout; import javax.swing.*; import java.awt.*; public abstract class WrappedColumnLayoutTest extends UISpecTestCase { public void testLayoutPreferseize() throws Exception { ...
/* * Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package edu.stuy.starlorn.upgrades; import edu.stuy.starlorn.sound.AudioPlayer; public class DualShotUpgrade extends GunUpgrade { private boolean _right; public DualShotUpgrade() { super(); _right = true; _name = "Extra Urethra"; _description = "Twice the piss!"; try { _voi...
/** * * Copyright (c) 2006-2019, Speedment, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); You may not * use this file except in compliance with the License. You may obtain a copy of * the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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 ...
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi * * 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 l...
package at.technikum_wien.tourplanner_anis_mariel.presentationLayer; public interface IPresentationLayer { }
/* * 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.codamasters.LNHelpers; import com.badlogic.gdx.InputProcessor; import com.codamasters.gameobjects.Nave; import com.codamasters.gameworld.Worldspace; public class InputHandlerSpace implements InputProcessor { private Nave myNibolas; @SuppressWarnings("unused") private Worldspace myWorld; p...
package org.eclipse.leshan.server.demo.servlet; import java.io.*; import java.util.*; public class RunPythonCode { public static BufferedWriter out; public static void pipe(String msg) { String ret; try { out.write(msg + "\n"); out.flush(); } catch (Exception err) { } } public static void init(...
/* * Copyright 1999-2101 Alibaba Group Holding 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 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 may...
/* * Copyright (c) 2001-2002, Marco Hunsicker. All rights reserved. * * This software is distributable under the BSD license. See the terms of the * BSD license in the documentation provided with this software. */ package de.hunsicker.jalopy.printer; import java.io.IOException; import antlr.collections.AST; impo...
/* * 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...
/* * 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.demo.dao.entity; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; import org.hibernate.annotations.CreationTimestamp; import javax.persistence.*; import java.util.Date; /** * 订单表 */ @Entity @Data public class Oder { @Id private String id; @ManyToOne @JoinCol...
package org.qa; public class HelloWorldInterpreter { }
/* * DevilBullet modifications (c) 2019 Sam Johnson https://github.com/SmashMaster * * Java port of Bullet (c) 2008 Martin Dvorak <jezek2@advel.cz> * * Bullet Continuous Collision Detection and Physics Library * Copyright (c) 2003-2008 Erwin Coumans http://www.bulletphysics.com/ * * This software is provided ...
/* * Copyright (c) 2017, 2018 Oracle and/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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
package eu.solidcraft.hentai.rentals.price; public enum PriceType { PREMIUM, BASIC; }
/* * 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 ...
/** * */ /** * @author cnjwi * */ package eggmainevent;
package me.xueyao; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class PolymorphicApplicationTests { @Test void contextLoads() { } }
/* * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * 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.github.bingoohuang.westcache.utils; import com.google.common.cache.Cache; import com.google.common.cache.LoadingCache; import com.google.common.util.concurrent.UncheckedExecutionException; import lombok.SneakyThrows; import lombok.experimental.UtilityClass; import lombok.extern.slf4j.Slf4j; import java.ut...
/** * Copyright 2009-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
package za.co.absa.subatomic.infrastructure.project.view.jpa; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence.Table; import lombok.AccessLevel; import lombok.AllArgsConstructor; ...
/** * MuleSoft Examples * Copyright 2014 MuleSoft, Inc. * * This product includes software developed at * MuleSoft, Inc. (http://www.mulesoft.com/). */ package org.ordermgmt; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTransient; @XmlRootElement public class OrderItem {...
/* * 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 (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package com.xncoding.pos.model; /** * 用户 * * @author XiongNeng * @version 1.0 * @since 2018/3/4 */ public class User { private Long id; private String name; private Integer age; public User() { } public User(Long id, String name, Integer age) { this.id = id; this.name = ...
package com.myworkout.api.exception; public class ExerciseNotFoundException extends RuntimeException{ public ExerciseNotFoundException() { } public ExerciseNotFoundException(String message) { super(message); } }
package com.codepath.simpletodo; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.content.Intent; import android.os.Bundle; import android.util.Log; import and...
package ru.ptvi.elscriptserver.repository; import ru.ptvi.elscriptserver.domain.UploadingProcess; import java.util.Collection; import java.util.Optional; public interface UploadingProcessRepository { Collection<UploadingProcess> getAll(); Optional<UploadingProcess> getByEquipmentAndScript(String equipmentId...
/* * Copyright (C) 2008 The Guava 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 agre...
package com.qcl.springboot.utils; import java.net.*; import java.util.Enumeration; import javax.servlet.http.HttpServletRequest; /** * Ip工具类 * * @author legend * @version 1.0 * @description * @date 2020/11/11 */ public class IPUtil { /** * 获取用户真实IP地址,不使用request.getRemoteAddr();的原因是有可能用户使用了代理软件方式避免真实I...
package gui; import gui.renders.I_Render; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.List; import resources.Loader; import com.sun.javafx.tk.FontLoader; import com.sun.javafx.tk.Toolkit; import draganddrop....
package ch.uzh.ifi.seal.soprafs20.exceptions; public class APIError { private String error; private String message; public String getError() { return error; } public APIError setError(String error) { this.error = error; return this; } public String getMessage() {...
package com.rescue.modules.sys.service.impl; import com.baomidou.mybatisplus.mapper.EntityWrapper; import com.baomidou.mybatisplus.plugins.Page; import com.baomidou.mybatisplus.service.impl.ServiceImpl; import com.google.gson.Gson; import com.rescue.common.exception.RRException; import com.rescue.common.utils.PageUtil...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package android.support.v4.widget; import android.content.res.ColorStateList; import android.graphics.drawable.Drawable; import android.widget.ImageView; ...
package com.swandiggy.poe4j.data.rows.gen; import com.swandiggy.poe4j.data.annotations.DatFile; import com.swandiggy.poe4j.data.annotations.Order; import com.swandiggy.poe4j.data.rows.BaseRow; import lombok.Data; import lombok.EqualsAndHashCode; @Data @EqualsAndHashCode(callSuper = true) @DatFile("ArmourTypes") publi...
package org.opengauss.mppdbide.utils.test; import static org.junit.Assert.assertEquals; import java.sql.Timestamp; import org.junit.Test; import org.opengauss.mppdbide.utils.ConvertTimeValues; public class ConvertTimeValuesTest { @Test public void test_roundDoubleValues() { Timestamp timestamp = ne...
package io.herd.netty.codec.thrift; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.ByteToMessageDecoder; import io.netty.handler.codec.TooLongFrameException; import java.util.List; import org.apache.thrift.TException; import org.apache.thrift.protocol.TBi...
package io.improbable.keanu.vertices.dbl.probabilistic; import io.improbable.keanu.algorithms.variational.optimizer.gradient.GradientOptimizer; import io.improbable.keanu.network.BayesianNetwork; import io.improbable.keanu.tensor.dbl.DoubleTensor; import io.improbable.keanu.vertices.dbl.DoubleVertex; import io.improba...