text
stringlengths
7
995k
/** * Copyright (c) 2015-2019, Michael Yang 杨福海 (fuhai999@gmail.com). * <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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * U...
/* * Copyright (C) 2020 Yunify, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this work except in compliance with the License. * You may obtain a copy of the License in the LICENSE file, or at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
package com.stylefeng.guns.config.web; import com.alibaba.druid.pool.DruidDataSource; import com.alibaba.druid.support.http.StatViewServlet; import com.alibaba.druid.support.http.WebStatFilter; import com.alibaba.druid.support.spring.stat.BeanTypeAutoProxyCreator; import com.alibaba.druid.support.spring.stat.DruidStat...
/** * 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 2011 DTO Solutions, Inc. (http://dtosolutions.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 r...
package com.cloudin.admin.service; import com.cloudin.admin.entity.Permission; import com.cloudin.admin.entity.Role; import com.cloudin.commons.langs.entity.BaseResult; import com.cloudin.commons.langs.support.datatables.DTRequest; import com.cloudin.commons.langs.support.datatables.DTResponse; /** * @author 小天 * @...
package net.minecraft.world.item.crafting; import com.google.gson.JsonObject; import net.minecraft.core.NonNullList; import net.minecraft.core.Registry; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.resources.ResourceLocation; import net.minecraft.util.GsonHelper; import net.minecraft.world.Contai...
package net.minecraft.client.renderer.entity; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelCreeper; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.monster.EntityCreeper; import net.minecraft.util.MathHelper; import ne...
package com.peony.engine.framework.control.gm; import com.peony.engine.framework.control.annotation.Service; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * GM工具注解。 * <p> * 对Service中的一个方法添加<tt>Gm...
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package android.support.v13.app; import android.app.Fragment; // Referenced classes of package android.support.v13.app: // a, e cla...
package com.per.epx.easytrain.views.activities.search.advanced; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.w...
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
package com.jon2g.minmaxgato.abstractions; import com.jon2g.minmaxgato.enums.AIResult; import com.jon2g.minmaxgato.enums.Player; import java.util.Random; public class Gato { private static Random random = new Random(); public com.jon2g.minmaxgato.abstractions.Board Board; public Player CurrentPlayer; ...
package com.jmt.ChiangMai.controller.shop; import com.jmt.ChiangMai.domain.Shop; import com.jmt.ChiangMai.dto.ShopDetailDto; import com.jmt.ChiangMai.dto.ShopDto; import com.jmt.ChiangMai.security.MemberDetails; import com.jmt.ChiangMai.service.TagService; import com.jmt.ChiangMai.service.ShopService; import com.jmt.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 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* Copyright 2002-2003 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 required by applica...
import maple.core.*; import static maple.core.Assertion.*; import com.google.gson.reflect.*; import java.util.LinkedList; import java.util.HashSet; import java.util.Map; import java.util.List; public class GBP extends MapleFunction { public MapleMap<Long, SwitchPort> hostLocationMap = newMap("hostlocations", ...
package com.lab2.demo.service; import com.lab2.demo.converter.CardConverter; import com.lab2.demo.exception.CardNumberNotNullException; import com.lab2.demo.exception.UserNotFoundException; import com.lab2.demo.service.data.CardService; import com.lab2.demo.service.data.UserService; import com.lab2.demo.dto.CardDTO; i...
package com.ayansh.hindishayari.android; import android.app.Activity; import android.content.Context; import android.os.Bundle; import androidx.fragment.app.ListFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widg...
/* * 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 u...
// This file is made available under Elastic License 2.0. // This file is based on code available under the Apache license here: // https://github.com/apache/incubator-doris/blob/master/fe/fe-core/src/test/java/org/apache/doris/http/TableQueryPlanActionTest.java // Licensed to the Apache Software Foundation (ASF) un...
package ysoserial.payloads.annotation; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * @author mbechler * */ @Retention(RetentionPolicy.RUNTIME) public @interface PayloadTest { String skip() default ""; String precondition() default ""; String harnes...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. package com.azure.search.documents.implementation.models; import com.azure...
package com.alibaba.druid.bvt.sql.odps; import org.junit.Assert; import com.alibaba.druid.sql.SQLUtils; import junit.framework.TestCase; public class OdpsFormatCommentTest25 extends TestCase { public void test_drop_function() throws Exception { String sql = "-- xxx" + "\n -- yyy" ...
package io.github.yzernik.squeakand.ui.viewserver; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.FrameLayout; import android.widget.TextView; import androidx.anno...
package com.github.cc3002.finalreality.model.gameControllerTest; import com.github.abraham054.finalreality.controller.GameController; import com.github.abraham054.finalreality.model.character.Enemy; import com.github.abraham054.finalreality.model.character.ICharacter; import com.github.abraham054.finalreality.model.ch...
/* * Copyright 2003-2007 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 app...
package com.example.bluetoothtest.controllerData; import android.util.Pair; import com.example.bluetoothtest.dataStructures.Vector; public class KeyStroke extends Command { private Btn btn; public KeyStroke(String output, boolean start, boolean end, String id) { super(start, end, id); btn = ...
/* * Copyright 2015-2020 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 ru.justagod.justacore.gui.helper; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ScaledResolution; /** * Created by JustAGod on 06.11.17. */ public final class ScreenHelper { private static ScaledResolution getResolution() { return new ScaledResolution(Minecraft.getMine...
package printing.numbers; public class Numbers7 { public static void main(String[] args) { System.out.println("Area is 5.5 * 8.5 = " + 5.5 * 8.5); System.out.println("Perimeter is 2 * (5.6 + 8.5) = " + 2 * (5.6 + 8.5)); } }
package com; import com.telran.controller.UserController; import com.telran.controller.UserControllerImpl; import com.telran.data.entity.CityEntity; import com.telran.data.managers.CatalogManager; import java.io.IOException; public class Test { public static void main(String[] args) throws IOException { //...
/* * Copyright 2013 Rackspace * * 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 ...
/* * 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 ...
package thelm.jaopca.api.localization; import net.minecraft.text.Text; import thelm.jaopca.api.materials.IMaterial; public interface Localizer { Text localizeMaterialForm(String formTranslationKey, IMaterial material, String overrideKey); }
/* * 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 ...
/* * 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.hubspot.singularity.runner.base.sentry; import java.util.Map; import com.google.common.base.Optional; import com.google.common.base.Strings; import com.google.inject.Inject; import com.google.inject.Singleton; import com.hubspot.singularity.runner.base.configuration.SingularityRunnerBaseConfiguration; im...
/* * Copyright 2017-2020 Rudy De Busscher * * 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 ...
/* Id: $ */ /* Copyright (c) 2000-2015 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...
import javax.swing.*; import java.awt.event.*; import java.awt.*; import javax.swing.BorderFactory; import java.applet.Applet; public class GUI implements ActionListener{ int tries = 3; JLabel label01, label02, label; JFrame frame; JPanel panel; JButton button; JTextField user, pass; public GUI() { ...
/** * Copyright (c) 2016, 2021, 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...
package leetcode.p0116_populating_next_right_pointers_in_each_node; public class Solution { public static void main(String[] args) { Solution solution = new Solution(); Node root = new Node(1, new Node(2, new Node(4), new Node(5), ...
/* * Copyright 2016 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 ...
/** * Copyright (C) 2013-2014 EaseMob Technologies. 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 requi...
package com.iflytek.voicedemo; import java.util.HashMap; import java.util.LinkedHashMap; import org.json.JSONException; import org.json.JSONObject; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; i...
/* * Copyright 2018 Red Hat, Inc. * * Red Hat licenses this file to you 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 br.com.conductor.heimdall.core.entity; /*- * =========================LICENSE_START================================== * heimdall-core * ======================================================================== * Copyright (C) 2018 Conductor Tecnologia SA * ==================================================...
package sonar.calculator.mod.client.models; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelFabricationArm extends ModelBase { ModelRenderer Arm1; ModelRenderer Arm2; ModelRenderer Arm3; ModelRenderer Arm4; Model...
package MinBinHeap_A3; /** * An {@code EntryPair} represents a value in a priority queue. It is a * wrapper around the value to be stored as well as that value's * priority. */ public class EntryPair implements EntryPair_Interface { public String value; public int priority; /** * Create a new {@c...
package com.duangframework.utils; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncoder; import com.duangframework.exception.Exceptions; import org.apache.commons.codec.DecoderException; import org.apache.commons.codec.binary.Base64; import org.apache.commons.codec.binary...
import java.util.*; public class ParseExp { // public static void main(String[] a) { // if (a.length == 1) { // Scanner s = new Scanner(a[0]); // RobotNode n = parseExpNode(s); // System.out.println(n); // System.out.println("Evaluated to: " + n.eval()); // /* ...
/* * 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.cupdata.pms.vo; import com.cupdata.pms.entity.SpuAttrValueEntity; import org.apache.commons.lang3.StringUtils; import org.springframework.util.CollectionUtils; import java.util.List; /** * @Description: 基本属性扩展类 * Created by Wsork on 2021/1/27 15:40. **/ public class SpuAttrValueVo extends SpuAttrValue...
/** * Copyright 2020 the original author, Lin Tang * * 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 applicabl...
/* * Copyright (C) 2018 Seoul National University * * 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 applic...
package javafx.geometry; /** * A 2D geometric point that usually represents the x, y coordinates. * It can also represent a relative magnitude vector's x, y magnitudes. * @since JavaFX 2.0 */ public class Point2D { /** * Point or vector with both coordinates set to 0. */ public static final Poin...
package com.example.yechy.tvass.adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.example.yechy.tvass.R; import com.example.yechy.tvass.model.be...
package io.github.xiaolei.transaction.adapter; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.List; import io.github.xiaolei.enterpriselibrary.utility.CurrencyHelper; import io.github.xiaolei.enterpriselibrary.u...
/* * Copyright 2018 The gRPC 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 agree...
package com.example.android.miwok; import android.app.Activity; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import...
package org.drulabs.bakencook.di; import org.drulabs.data.mapper.DataDomainMapper; import org.drulabs.data.mapper.DataMapper; import org.drulabs.data.repository.RecipeRepositoryImpl; import org.drulabs.domain.entities.DomainRecipe; import org.drulabs.domain.repository.RecipeRepository; import dagger.Binds; import dag...
package com.dewmaple.geolocation.w3; import android.util.Log; import org.json.JSONException; import org.json.JSONObject; public class PositionOptions { private static final String TAG = "PositionOptions"; Boolean enableHighAccuracy = false; long maximumAge; long timeout; String coorType; pub...
package com.mercadopago.android.px.internal.features.express.add_new_card; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.app.AppCompatActivity; import and...
/* * 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...
/* * Copyright (c) 2013, 2017, 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 com.simibubi.create.content.contraptions.base; import com.simibubi.create.content.contraptions.wrench.IWrenchable; import net.minecraft.core.BlockPos; import net.minecraft.world.InteractionResult; import net.minecraft.world.entity.player.Player; import net.minecraft.world.item.context.UseOnContext; import net...
package module486packageJava0; import java.lang.Integer; public class Foo223 { Integer int0; Integer int1; public void foo0() { new module486packageJava0.Foo222().foo5(); } public void foo1() { foo0(); } public void foo2() { foo1(); } public void foo3() { foo2(); } public v...
package dev.xframe.http.response; import dev.xframe.http.Request; import io.netty.channel.Channel; import io.netty.channel.ChannelHandlerContext; public interface ResponseWriter { default void writeTo(ChannelHandlerContext ctx, Request origin) { writeTo(ctx.channel(), origin); } public void writeTo(Channel c...
package utilities; import java.text.DecimalFormat; import java.util.Arrays; import java.util.List; public class NumberHelper { public final static List<String> numberAlphabetic = Arrays.asList("one", "two", "three", "four", "five", "six", "seven"); public final static DecimalFormat decimalFormat = new DecimalF...
// Targeted by JavaCPP version 1.5.7-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.pytorch; import org.bytedeco.pytorch.Allocator; import org.bytedeco.pytorch.Function; import org.bytedeco.pytorch.Module; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static...
package com.qiniu.droid.rtc.demo.model; import com.qiniu.droid.rtc.QNRTCUser; import com.qiniu.droid.rtc.QNTrackInfo; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; public class RTCUserMergeOptions extends QNRTCUser { private RTCTrackMergeOption mAudioTrack; private List<RTC...
package zx.zxlive.io.test; import zx.zxlive.common.io.amf3.IDataInput; import zx.zxlive.common.io.amf3.IDataOutput; import zx.zxlive.common.io.amf3.IExternalizable; /** * Used for testing AMF3 Vectors * * @author Paul */ public class Foo3 implements IExternalizable { private int foo; public void setFoo...
/* * 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 no...
package ro.pub.cs.systems.eim.practicaltest01var05; import android.app.Service; import android.content.Intent; import android.os.IBinder; public class PracticalTest01Var05Service extends Service { private ProcessingThread processingThread = null; public PracticalTest01Var05Service() { } @Override ...
package org.iutools.webservice.spell; import org.iutools.webservice.ServiceException; import org.iutools.webservice.ServiceInputs; import java.util.Map; public class SpellInputs extends ServiceInputs { public String text = null; public boolean includePartiallyCorrect = false; public boolean suggestCorrections = t...
package com.rhinoforms.flow; import java.net.URLDecoder; import java.util.HashMap; import java.util.Map; import java.util.Properties; import javax.xml.transform.TransformerException; import junit.framework.Assert; import org.junit.Before; import org.junit.Test; import org.w3c.dom.Document; import com.rhinoforms.Co...
package com.poorweather.android; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public voi...
package org.cyclops.integrateddynamics.api.item; import net.minecraft.client.renderer.block.model.BakedQuad; import net.minecraft.world.World; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import org.cyclops.cyclopscore.helper.L10NHelpers; import org.cyclops.integrat...
/* * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package sql; import java.sql.*; import java.io.*; public class Insertasusone { public static void insert() { Connection conn=null; Connection con=null; Statement sm=null; String command=null; ResultSet rs=null; String url="jdbc:microsoft:sqlserver://127.0.0.1:1433"; try { Class.forNam...
package cz.esc.iot.cloudservice.unused.sensors; import org.json.JSONException; import org.json.JSONObject; import com.google.gson.Gson; import com.google.gson.GsonBuilder; /** * Creates instance of subclass of Sensor according to sensor type. */ public class SensorInstanceCreator { public static Sensor createSen...
import java.util.*; public class February31 { private static final int[] kDaysInMonth = { 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; boolean ValidateDateTime(DateTime time) { if (time.year < 1 || time.year > 9999 || time.month < 1 || time.month > 12 || time.day < 1 || time.day ...
package com.bootdo; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.transaction.annotation.EnableTransact...
/* * Copyright 2009-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
/** * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.credit.isdastandardmodel; import org.apache.log4j.Logger; import org.threeten.bp.LocalDate; import com.opengamma.financial.convention.day...
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not ...
package de.shiirroo.manhunt.event.menu; import de.shiirroo.manhunt.ManHuntPlugin; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.inventory.InventoryClickEvent; import org.bukkit.event.player.PlayerDropItemEvent; imp...
/* * 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 mage.cards.o; import java.util.UUID; import mage.abilities.Ability; import mage.abilities.costs.AlternativeCostSourceAbility; import mage.abilities.costs.common.DiscardTargetCost; import mage.abilities.effects.ContinuousEffect; import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.common.c...
// This file is auto-generated, don't edit it. Thanks. package com.antgroup.antchain.openapi.baasdt.models; import com.aliyun.tea.*; public class QueryMypointsOrderinstructionRequest extends TeaModel { // OAuth模式下的授权token @NameInMap("auth_token") public String authToken; @NameInMap("product_instance_...
package cn.com.nwdc.unify.db.index.common.spring.proxy; import cn.com.nwdc.unify.db.index.common.spring.mapper.IndexMapperMethod; import cn.com.nwdc.unify.db.index.common.spring.mapper.db.DefaultIndexMapperMethod; import org.springframework.beans.factory.BeanFactory; import java.io.Serializable; import java.lang.refl...
/* * 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 dmscreen.data.adventure; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Map; import dmscreen.data.base.DiceRoll; public class CreatureSet { final Map<String, DiceRoll> amounts = new LinkedHashMap...
package week1.day4; public class QueueDriver { }
import java.util.Iterator; import java.util.NoSuchElementException; public class List<Item> implements Iterable<Item> { private int N; private Node first; private Node last; private class Node { private Item item; private Node next; } public List() { first = nu...
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package es.ucm.arblemar.engine; public interface Image { /** * Devuelve el ancho de la imagen * */ int getWidth(); /** * Devuelve el alto de la imagen * */ int getHeight(); }
package org.wso2.carbon.bpmn.rest.api.utils; public class Utils { public static String resolveContentType(String resourceName) { String contentType = null; if (resourceName != null && !resourceName.isEmpty()) { String lowerResourceName = resourceName.toLowerCase(); if (low...