text
stringlengths
7
1.01M
package org.checkerframework.framework.flow; import com.sun.source.tree.ClassTree; import com.sun.source.tree.MethodTree; import com.sun.source.tree.Tree; import com.sun.source.tree.VariableTree; import com.sun.source.util.TreePath; import com.sun.tools.javac.code.Symbol.ClassSymbol; import java.util.ArrayList; import...
/** * 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 uk.ac.ebi.fgpt.zooma.util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Collection; /** * Some simple utilities for working with collections * * @author Tony Burdett * @date 28/05/12 */ public class CollectionUtils { private static Logger logger = LoggerFactory.getLogger...
/* * 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) 2006-2011 Christian Plattner. All rights reserved. * Please refer to the LICENSE.txt for licensing details. */ package ch.ethz.ssh2.transport; import java.io.IOException; import java.io.InterruptedIOException; import java.security.SecureRandom; import ch.ethz.ssh2.ConnectionInfo; import ch.ethz....
/* * This file is generated by jOOQ. */ package org.jooq.meta.h2.information_schema.tables; import org.jooq.Field; import org.jooq.ForeignKey; import org.jooq.Name; import org.jooq.Record; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; import org.jooq.impl.DSL; import org.jooq.impl.Table...
package pow.util; // Implements field of view using recursive shadowcasting. Adapted from // http://www.roguebasin.com/index.php?title=Improved_Shadowcasting_in_Java public class FieldOfView { private final boolean[][] blockMap; private final boolean[][] lightMap; private final int startX; private fi...
package com.ternsip.soil.common; public interface Updatable { void update(); }
/* * Copyright (C) 2021 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 com.future.cinemaxx.security.entities; public enum ERole { ROLE_CUSTOMER, ROLE_MANAGER, ROLE_ADMIN }
/* 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...
package co.lq.modules.system.service.dto; import co.lq.annotation.Query; import lombok.Data; /** * 公共查询类 */ @Data public class SellerPermissionQueryCriteria { // 多字段模糊 @Query(blurry = "name,alias") private String blurry; }
package mysso.logout; import com.alibaba.fastjson.JSON; import mysso.protocol1.Constants; import mysso.protocol1.dto.AssertionDto; import mysso.protocol1.dto.LogoutResultDto; import org.apache.commons.io.IOUtils; import org.apache.http.HttpEntity; import org.apache.http.NameValuePair; import org.apache.http.client.ent...
/* Copyright 2018-2022 Accenture Technology 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...
package com.connect; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileOutputStream; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Bitmap.Co...
/* * Copyright 2021 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...
/* * Copyright 2013 Georgia Tech Applied Research Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
package org.carlspring.strongbox.config; import org.carlspring.strongbox.cron.config.CronTasksConfig; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; /** * @author Martin Todorov */ @Configuration @Import({ NugetLayoutProviderTestConfig.class, ...
public class A { int x; public A(int x){ this.x = x; } }
/* * Copyright (c) 2020, 2021 Microsoft Corporation * * 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 * * SPDX-License-Identifier: Apache-2.0 * * Contributors: * ...
package rest; import java.util.List; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import tm.RotondAndesException; import tm.RotondAndesTM; import vos.Zona; ...
/* * 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) 2008-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 * * Unless required by...
/******************************************************************************* * Copyright (c) 2015, 2016, 2017, 2018 Christine Karman * This project is free software: you can redistribute it and/or modify it under the terms of * the Apache License, Version 2.0. You can find a copy of the license at * http://www....
package org.schhx.springbootlearn; 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 SpringBootMybatisApplicationTests { @Test pu...
package com.github.et118.El_Macho.Commands.Music; import com.github.et118.El_Macho.Commands.Command; import com.github.et118.El_Macho.Commands.CommandInfo; import com.github.et118.El_Macho.Commands.Music.MusicManager; import discord4j.core.event.domain.message.MessageCreateEvent; import discord4j.core.object.VoiceStat...
package edu.pjatk.inn.requestor; import edu.pjatk.inn.coffeemaker.CoffeeService; import edu.pjatk.inn.coffeemaker.Delivery; import edu.pjatk.inn.coffeemaker.impl.CoffeeMaker; import edu.pjatk.inn.coffeemaker.impl.DeliveryImpl; import sorcer.core.consumer.ServiceConsumer; import sorcer.service.*; import sorcer.service....
package com.airbnb.lottie.model.animatable; import android.graphics.PointF; import com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation; import com.airbnb.lottie.animation.keyframe.PathKeyframeAnimation; import com.airbnb.lottie.animation.keyframe.PointKeyframeAnimation; import com.airbnb.lottie.value.Keyframe; ...
package algebra; public class TriVector extends Matrix { public TriVector() { super(3, 1); new TriVector(0, 0, 0); } public TriVector(double x, double y, double z) { super(3, 1); super.setMatrix(1, 1, x); super.setMatrix(2, 1, y); super.setMatrix(3, 1, z); ...
package br.ufsc.inf.tcc.simlist.data; import javax.xml.bind.annotation.XmlType; @XmlType public class Text { private String paragraph; public Text() { } public Text(String paragraph) { this.paragraph = paragraph; } public String getParagraph() { return this.paragraph; } public void setParagraph(String...
package com.mycompany.app; import java.io.IOException; import com.microsoft.azure.eventhubs.*; import com.microsoft.azure.servicebus.*; import java.io.IOException; import java.nio.charset.Charset; import java.time.*; import java.util.Collection; import java.util.concurrent.ExecutionException; import java.u...
package dev.codesoapbox.dummy4j.dummies.identifier.internationalnumber.booknumber; import dev.codesoapbox.dummy4j.dummies.shared.string.StringValidator; import java.util.Objects; import java.util.StringJoiner; /** * International Standard Book Number is a numeric commercial book identifier * * @see <a href="https...
package com.andrewvora.apps.rideatlanta.breezebalance; import android.content.Intent; import android.support.test.espresso.web.webdriver.Locator; import android.support.test.rule.ActivityTestRule; import android.support.test.runner.AndroidJUnit4; import com.andrewvora.apps.rideatlanta.MainActivity; import com.andrewv...
package external_module_0799.a; import java.awt.datatransfer.*; import java.beans.beancontext.*; import java.io.*; /** * 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 ...
/* * Copyright 2010-2013 JetBrains s.r.o. * * 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 models.States; import input.KeyManager; import models.Buff.StaminaBuff; import java.awt.*; /** * Created by The Alex on 5/16/2016. */ public abstract class State { /* Attributes */ protected int width , height; /* Constructors */ public State(){ width = 800; height = 800; ...
/* * Copyright 2012-2017 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 soot.jimple.infoflow.methodSummary.data.summary; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import heros.solver.Pair; import s...
package com.associations.app.view.association.game; import java.util.Arrays; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.associations.app.constants.CSSConstants; import com.associations.app.entity.u...
/* * Copyright 2000-2009 JetBrains s.r.o. * * 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...
import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.util.*; /** * This class provides a test fixture to use for the 'Computer Game' project, dIntProg. * It creates a simple network of two countries and seven cities, which can be used for automated ...
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2018 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
package im.cave.ms.constants; import im.cave.ms.provider.data.VCoreData; public class MatrixConstants { // Etc.wz/VMatrixOption.img public static final int SLOT_MAX = 500; public static final int EQUIP_SLOT_MIN = 4; public static final int EQUIP_SLOT_MAX = 15; public static final int SPECIAL_SLOT...
/* * Copyright 2015 Cognitive Medical Systems, Inc (http://www.cognitivemedciine.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-...
import java.math.BigInteger; import java.util.Scanner; //1번 문제에서 32번째 항이 21억 정도가 나올 것이다. //Biglnteger를 통해서 50번째 항을 구해보자! public class Q2 { public static void main(String[] args) { final int START = 1; BigInteger[] num1; Scanner scan = new Scanner(System.in); System.out.println("몇...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.datafactory; import com.azure.core.util.Context; /** Samples for IntegrationRuntimes Stop. */ public final class IntegrationRun...
package com.project.convertedCode.globalNamespace.functions; import com.runtimeconverter.runtime.interfaces.ContextConstants; import com.runtimeconverter.runtime.functions.FunctionBaseRegular; import com.runtimeconverter.runtime.classes.RuntimeClassBase; import com.runtimeconverter.runtime.RuntimeEnv; import com.runti...
/** * 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...
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
package com.sequenceiq.cloudbreak.cloud; import com.sequenceiq.cloudbreak.cloud.model.Platform; import com.sequenceiq.cloudbreak.cloud.model.Variant; /** * Defines the constants to identify a Cloud provider */ public interface CloudPlatformAware { /** * Name of the Cloud provider * * @return pla...
package com.softwarelma.epe.p3.generic; import java.util.ArrayList; import java.util.List; import com.softwarelma.epe.p1.app.EpeAppException; import com.softwarelma.epe.p1.app.EpeAppUtils; import com.softwarelma.epe.p2.exec.EpeExecContent; import com.softwarelma.epe.p2.exec.EpeExecParams; import com.softwarelma.epe.p...
package com.gn4me.app.entities.filters; import java.io.Serializable; import lombok.Data; @Data public class ListCategoriesFilter implements Serializable{ /** * */ private static final long serialVersionUID = -4907700892814816456L; private boolean showInMenu; }
/* * Copyright 2020 EPAM Systems * * 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 soot.jimple.toolkits.thread.synchronization; import soot.jimple.toolkits.pointer.*; class CriticalSectionDataDependency { public CriticalSection other; public int size; public RWSet rw; CriticalSectionDataDependency(CriticalSection other, int size, RWSet rw) { this.other = other; this.size = size; ...
package psn.lotus.web.utils; import javax.servlet.http.HttpServletRequest; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; /** * @author: nicee * @since: 2016/2/23 */ public class WebHttpUtils { /** * 获取HTTP请求IP地址 * * @param request HTTP请求 * @return */...
package com.genersoft.iot.vmp.conf.security; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.security.core.Authentication; import org.springframework.security.web.authentication.logout.LogoutSuccessHandler; import org.springframework.stereotype.Component; import javax.servlet.Servl...
/** * 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"); yo...
import com.google.errorprone.annotations.Var; import com.hedera.hashgraph.sdk.AccountBalanceQuery; import com.hedera.hashgraph.sdk.AccountCreateTransaction; import com.hedera.hashgraph.sdk.AccountDeleteTransaction; import com.hedera.hashgraph.sdk.AccountId; import com.hedera.hashgraph.sdk.Client; import com.hedera.hash...
/* * Copyright Lealone Database Group. * Licensed under the Server Side Public License, v 1. * Initial Developer: zhh */ package org.lealone.server.protocol.dt; import java.io.IOException; import org.lealone.net.NetInputStream; import org.lealone.net.NetOutputStream; import org.lealone.server.protocol.NoAckPacket...
package com.gentics.mesh.util; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.security.KeyStore; import java.security.cert.Certificate; import java.security.cert.CertificateFa...
package io.renren.modules.cbs.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import io.renren.modules.cbs.entity.CbsImgExportPayInAdvanceEntity; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; import java.util.List; /** * 首付款附件 * * @author chenning * ...
/** * 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. */ package com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models; import java.ut...
/** * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and conditio...
package org.cbkj.blocksecurity.component; import java.util.ArrayList; import org.cbkj.blockcommon.application.entity.Permission; import org.cbkj.blockcommon.application.entity.User; import org.cbkj.blocksecurity.dao.UserDao; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.sec...
package org.devonmc.midterm; import processing.core.PApplet; public class MainClass extends PApplet { public static void main(String[] args) { PApplet.main(MainClass.class); } @Override public void settings() { super.settings(); } @Override public void setup() { s...
package life.catalogue.es.query; import java.util.Map; import life.catalogue.es.ddl.MultiField; import static java.util.Collections.singletonMap; public class TermQuery extends ConstraintQuery<TermConstraint> { private final Map<String, TermConstraint> term; public TermQuery(String field, Object value) { if...
// Copyright 2000-2019 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.intellij.openapi.editor.impl; import com.intellij.Patches; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.editor.impl.view.FontLayoutServi...
package nc.container.processor; import nc.container.slot.SlotSpecificInput; import nc.recipe.NCRecipes; import nc.tile.processor.TileFluidProcessor; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.Slot; public class ContainerElectrolyzer extends ContainerFluidProcessor<TileFluidProcess...
package cn.arctique.springcloud.base.share.provider.api.pojo; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * @author arctique * @date 2020/9/16 10:16 **/ @Data public class Classify implements Serializable { /** * id */ private Integer id; /** * 分类名 ...
/* * Copyright 2013-2018 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 com.atguigu.gmall.pms.controller; import java.util.Arrays; import java.util.Map; import com.atguigu.core.bean.PageVo; import com.atguigu.core.bean.QueryCondition; import com.atguigu.core.bean.Resp; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans...
package edu.hanker.duckyhunter; import android.app.Activity; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.content.pm.ActivityInfo; import android.graphics.Color; import android.os.Bundle; import android.view.View; import android.view.Window; import android.widget.ImageVie...
/* * 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 br.com.pict.authenticate; import br.com.pict.database.DatabaseMySQL; import java.sql.Connection; import java.sql.PreparedState...
/* * Copyright (C) 2018 Square, 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 fi.nls.oskari.map.stats; import fi.nls.oskari.domain.map.stats.StatsVisualization; import fi.nls.oskari.log.LogFactory; import fi.nls.oskari.log.Logger; import java.util.List; public class VisualizationServiceIbatisImpl extends VisualizationService { private static final Logger log = LogFactory.getL...
/* * 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.thinkgem.jeesite.modules.finance.dao; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import com.thinkgem.jeesite.modules.finance.entity.ReimburseLongDistance; /** * @Author jjq * @Create 2018-01-03-11:04 **/ @MyBatisDao publ...
// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 generiert // Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert: 2014.02.04...
/* * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin */ package org.apache.camel.component.google.sheets.internal; import java.lang.reflect.Method; import java.util.List; import com.google.api.services.sheets.v4.Sheets.Spreadsheets; import org.apache.camel.support.component.ApiMethod; im...
package com.example.hp.ceg; import android.app.Fragment; import android.app.ListFragment; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGrou...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package androidx.core; public final class R { private R() {} public static final class attr { private attr() {} ...
package exampleInternet.javaBasic.petShop; //Since Cat extends Animal it gets all of Animals fields and methods //This is called inheritance public class Cat extends Animal{ public Cat() { } // Overriding the Animal method public String makeSound(){ return "Meow"; } public static void main(String[...
package com.egemmerce.hc.repository.dto; import java.util.Date; import javax.persistence.Entity; import javax.persistence.Id; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.EqualsAndHashCode; impo...
package de.adorsys.xs2a.adapter.comdirect.model; import de.adorsys.xs2a.adapter.api.model.Amount; import de.adorsys.xs2a.adapter.api.model.BalanceType; import java.time.LocalDate; import java.time.LocalDateTime; public class ComdirectBalance { private Amount balanceAmount; private BalanceType balanceType; ...
/* * Copyright (C) 2016 R&D Solutions 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 agr...
package pt.ulisboa.ewp.node.exception.ewp; public class EwpBadRequestException extends RuntimeException { private final String developerMessage; public EwpBadRequestException(String developerMessage) { this.developerMessage = developerMessage; } public String getDeveloperMessage() { return developer...
/** * 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.winteree.api.entity; /** * <p>Title: MessageScope</p> * <p>Description: 消息范围</p> * * @author RenFei */ public enum MessageScope { /** * 全系统广播 */ ALL(0), /** * 指定租户广播 */ TENANT(1), /** * 指定公司广播 */ COMPANY(2), /** * 指定部门广播 */ DEPART...
/* * 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...
// メインクラス public class MainClass{ // MainClassの定義 // Javaのエントリポイント public static void main(String[] args){ // mainメソッドの定義 // StringBufferで文字列の連結をする. StringBuffer sb = new StringBuffer(); // StringBufferオブジェクトsbの生成. sb.append("ABC"); // sb.appendで"ABC"を連結. System.out.println("sb.toString() = " + sb.toString(...
/* * Software Name : ATK * * Copyright (C) 2007 - 2012 France Télé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...
package seedu.address.model; import java.util.function.Predicate; import javafx.collections.ObservableList; import seedu.address.model.group.Group; import seedu.address.model.person.Person; import seedu.address.model.timetable.Timetable; /** * The API of the Model component. */ public interface Model { /** {@c...
package thahn.java.agui.app; import java.io.Serializable; import thahn.java.agui.Global; public final class ComponentName implements Cloneable, Comparable<ComponentName>, Serializable { private static final long serialVersionUID = 2944035267622482487L; private final String mPackage; ...
package ru.lanbilling.webservice.wsdl; import javax.annotation.Generated; 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 soapDevice complex type. * * ...
package chapter16_moderate; /** * Created by Rene Argento on 05/03/20. */ public class Exercise1_NumberSwapper { // A = A ^ B // B = A ^ B // A = A ^ B public static void numberSwapperXor(int[] numbers) { numbers[0] = numbers[0] ^ numbers[1]; numbers[1] = numbers[0] ^ numbers[1]; ...
package com.xiaoliang.provider.impl; import com.xiaoliang.provider.api.HelloService; public class HelloServiceImpl implements HelloService { @Override public String sayHello(String name) { return "执行服务实现类" + name; } }
package com.baomidou.mybatisplus.test.generator; import com.baomidou.mybatisplus.generator.SimpleAutoGenerator; import com.baomidou.mybatisplus.generator.config.DataSourceConfig; import com.baomidou.mybatisplus.generator.config.IConfigBuilder; /** * H2 代码生成 * * @author hubin * @since 1.0 */ public class H2CodeGe...
/* * Copyright 2011 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.stagemonitor.tracing; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * By annotating a type with {@link Traced}, a Timer will be created for all its...