text
stringlengths
7
995k
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
// Copyright 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.codeInsight.intention.impl.config; import com.intellij.codeInsight.CodeInsightWorkspaceSettings; import com.intellij.codeInsight.daemon.HighlightDisplayKey; ...
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2014 Dirk Beyer * 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...
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.hammer.screen; import java.awt.Dimension; import java.awt.Rectangle; import java.awt.Robot; import java.awt.Toolkit; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.ObjectOutputStream; import java.io.OutputStream; import com.hammer.screen.structure.SplittedScreen; public c...
/* * 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 util; import Abstract.Registro; /** * * @author Luis */ public class Saida { private String nome; protected int c...
package com.zizohanto.bakingapp.data.database.recipe; import android.arch.persistence.room.Entity; import android.arch.persistence.room.Ignore; import android.arch.persistence.room.PrimaryKey; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.annotations.SerializedName; import com.zizohan...
package com.java2e.martin.extension.generator.entity; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic...
/* * Copyright 1997-2008 Sun Microsystems, Inc. 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 Software Fou...
package com.yatoooon.androidscreenadaptation; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; /** * Created by yatoooon on 2018/3/16. */ public class TestCustomViewActivity extends AppCompatActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCre...
/* * Microsoft JDBC Driver for SQL Server Copyright(c) Microsoft Corporation All rights reserved. This program is made * available under the terms of the MIT License. See the LICENSE file in the project root for more information. */ package com.microsoft.sqlserver.jdbc; /** * * Specifies the sorting order * *...
package com.jasonwjones.pbcs.cli.command; import com.beust.jcommander.Parameter; import com.beust.jcommander.Parameters; import com.jasonwjones.pbcs.api.v3.SubstitutionVariable; import com.jasonwjones.pbcs.client.PbcsApplication; /** * List available applications * * @author jasonwjones * */ @Parameters(separat...
package net.dawn.dawnweapons.item; import net.minecraft.item.SwordItem; import net.minecraft.item.ToolMaterial; public class DawnBaseSword extends SwordItem { public DawnBaseSword(ToolMaterial toolMaterial, int attackDamage, float attackSpeed, Settings settings) { super(toolMaterial, attackDamage, attack...
/** * * Copyright 2019-2021 Florian Schmaus. * * 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...
package net.bakulin.socialmonitor; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SocialMonitorApplication { public static void main(String[] args) { SpringApplication.run(SocialMonitorApplication.class, a...
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.12 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * -----------------------------...
/* * Copyright 2010-2021 Australian Signals Directorate * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
/* Generated by camel build tools - do NOT edit this file! */ package org.apache.camel.component.ironmq; import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.spi.GeneratedPropertyConfigurer; import org.apache.camel.spi.PropertyConfigurerGetter; import org.apache.camel.util.CaseInsensiti...
package com.warningrc.test.mybatis.rw; import java.io.IOException; import java.lang.annotation.Annotation; import java.util.Set; import org.apache.ibatis.session.SqlSessionFactory; import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.annotation.AnnotatedBeanDefinition; i...
package org.pitest.mutationtest.build.intercept.javafeatures; import org.pitest.mutationtest.build.InterceptorParameters; import org.pitest.mutationtest.build.MutationInterceptor; import org.pitest.mutationtest.build.MutationInterceptorFactory; import org.pitest.plugin.Feature; public class ImplicitNullCheckFilterFac...
/* * Copyright (C) 2014-2022 Philip Helger (www.helger.com) * philip[at]helger[dot]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/LICEN...
/* * Copyright (C) 2019 The Turms Project * https://github.com/turms-im/turms * * 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 com.g2forge.alexandria.generic.type.java.structure; import java.lang.reflect.Field; import java.util.stream.Collectors; import org.junit.Assert; import org.junit.Test; import com.g2forge.alexandria.java.core.helpers.HCollection; import com.g2forge.alexandria.java.reflect.JavaProtection; import com.g2forge.al...
package com.imooc.java.stream.transformation; import org.apache.flink.api.common.functions.MapFunction; import org.apache.flink.api.java.functions.KeySelector; import org.apache.flink.streaming.api.datastream.DataStreamSource; import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment; import java.u...
// 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 // distribute...
/* * Copyright (C) 2018 Raul Hernandez Lopez * * 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 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 "license" file ...
package io.appium.espressoserver.lib.model; /** * Enumerate Appium Statuses */ @SuppressWarnings("unused") public enum AppiumStatus { SUCCESS(0, "The command executed successfully"), NO_SUCH_DRIVER(6, "A session is either terminated or not started"), NO_SUCH_ELEMENT(7, "An element could not be located on...
package com.ttit.core.activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import com.ttit.helloworld.R; public class FirstActivity ext...
/* First created by JCasGen Sat Mar 07 22:05:56 CET 2015 */ package ch.epfl.bbp.uima.types; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.jcas.cas.TOP_Type; /** Ionchannels from Nav1 family * Updated by JCasGen Sat Mar 07 22:05:56 CET 2015 * XML source: /Users...
package com.hanami.squirtle.constants; /** * Created by hanami on 2017/4/14. */ public class Constants { //接口请求的url public static final String BASE_URL = "http://gank.io/api/"; //干货历史日期 public static final String URL_HistoryDate = "http://gank.io/api/day/history"; }
/* * 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 ...
/* * 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...
package org.rsultan.app.service; import org.rsultan.core.clustering.ensemble.isolationforest.ExtendedIsolationForest; import org.rsultan.core.clustering.ensemble.isolationforest.IsolationForest; import org.rsultan.core.clustering.kmedoids.KMeans; import org.rsultan.core.clustering.kmedoids.KMedians; import org.rsultan...
class i2iE { } class anSSMGM_D { } class iemH_ { public int nIig2f_ArI () throws WvQhOP0SUo8_3b { boolean RW = false.BIP0H = true[ !( V()[ -!( this[ this.otLZvxXYztlM5N()]).N_pxo]).Oo]; int[][][] p = KCC5P()._MZYsp; vb8[][][][] Fe4k6e; boolean[][][][][] suZrsAWea = aMQ[ !-!-n...
package com.capitalone.dashboard.collector; import com.capitalone.dashboard.model.Collector; import com.capitalone.dashboard.model.CollectorItem; import com.capitalone.dashboard.repository.BaseCollectorRepository; import com.google.common.base.Strings; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import or...
/* * Copyright 2004,2006 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 applicable ...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2020.02.23 at 07:53:5...
/* * PartialWindowMatrix.java Jul 14, 2004 * * Copyright (c) 2004 Stan Salvador * stansalvador@hotmail.com */ package com.fastDTW.src.com.dtw; class PartialWindowMatrix implements CostMatrix { // PRIVATE DATA private static final double OUT_OF_WINDOW_VALUE = Double.POSITIVE_INFINITY; private double...
package com.springcloud.ordereurekaclient; 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 OrderEurekaClientApplicationTests { @...
/* * Copyright 2012 The Netty Project * * The Netty Project 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package com.longcoding.moon; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; import org.springframework.boot.builder.SpringApplicationBuilder; impo...
package com.adamkorzeniak.masterdata.features.metadata.model.openapi; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import lombok.Setter; @Getter @Setter public class ParameterSchema { private String type; private String example; private String forma...
package io.github.raipc.decathlon.calculation; import io.github.raipc.decathlon.schema.EventType; public class Coefficients { private final double a; private final double b; private final double c; Coefficients(double a, double b, double c) { this.a = a; this.b = b; this.c = c...
// // This file is auto-generated. Please don't modify it! // package org.opencv.imgcodecs; import org.opencv.core.Mat; import org.opencv.core.MatOfByte; import org.opencv.core.MatOfInt; import org.opencv.utils.Converters; import java.util.List; // C++: class Imgcodecs //javadoc: Imgcodecs public class Imgcodecs { ...
package com.huaweicloud.sdk.ecs.v2.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import java.util.HashMap; import java.util.Map; import java.uti...
/* * Copyright 2018 JDCLOUD.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 applicable law or agreed to in...
// ref. https://leetcode.com/problems/decode-string/discuss/87534/Simple-Java-Solution-using-Stack package app; import java.util.*; class Q394_decode_string { public String decodeString(String s) { String res = ""; Stack<String> res_stack = new Stack<String>(); Stack<Integer> cnt_stac...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.tabmodel; import android.content.ComponentName; import org.chromium.chrome.browser.tab.Tab; import org.chromium.cont...
/************************************************************** * * 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 y...
package com.audioStreaming; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; class SignalReceiver extends BroadcastReceiver { private Signal signal; public SignalReceiver(Signal signal) { super(); this.signal = signal; } @Overri...
package com.smoothstack.misc; public class ForEach { public ForEach() { for (int var : new int[]{1, 2, 3}) { var += var; } } }
package com.example.xusen.coolweather; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on a...
// 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 com.bumptech.glide.load.engine.cache; import com.bumptech.glide.load.Key; import com.bumptech.glide.util.*; import com.bumptech.glide.util.pool.Fa...
package com.xsp.mall.mapper; import com.xsp.mall.model.pojo.CmsHelpCategory; import com.xsp.mall.model.pojo.CmsHelpCategoryExample; import org.apache.ibatis.annotations.Param; import java.util.List; public interface CmsHelpCategoryMapper { long countByExample(CmsHelpCategoryExample example); int deleteByExa...
package snownee.snow.entity; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.FenceBlock; import net.minecraft.block.FenceGateBlock; import net.minecraft.block.StairsBlock; import net.minecraft.block.WallBlo...
package controller; import actions.BasicAuth; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import daos.UserDAO; import model.User; import pl...
package celestek.hexcraft.common.world.gen; import java.util.Random; import com.google.common.base.Predicate; import celestek.hexcraft.common.block.HexBlockRotationFull; import net.minecraft.block.state.IBlockState; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.BlockPos; import net.minecraft.w...
<<<<<<< HEAD package com.thoughtworks.pos.domains; import java.util.List; /** * Created by 5Wenbin 2016.6.22 */ public class ItemGroup { private Item item; private int quanitty; private int gift; private User user = new User(); public void setUser(User user){ this.user = user; } ...
package com.shivishbrahma.tilottama.test.par; import java.util.List; import java.util.StringTokenizer; import java.util.stream.Collectors; import com.google.gson.JsonElement; import com.google.gson.JsonParser; import com.squareup.okhttp.OkHttpClient; import com.squareup.okhttp.Request; import com.squareup.okhttp.Resp...
// Copyright 2000-2018 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.debugger.engine; import com.intellij.debugger.engine.evaluation.EvaluateException; import com.intellij.debugger.engine.evaluation.EvaluationContextImpl; impo...
/* * $Id: WriteTag.java 54929 2004-10-16 16:38:42Z germuska $ * * Copyright 1999-2004 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...
/** * 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 io.pivotal.canal.extensions.builder; import io.pivotal.canal.model.Stages; public class StageGraph<A> { protected final StageCatalog stage; protected final DefaultsForStages defaults; protected A artifacts; public StageGraph() { stage = new StageCatalog(); this.defaults = new ...
/* * JBoss, Home of Professional Open Source. * Copyright 2016 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
/* * This file is part of fabric-loom, licensed under the MIT License (MIT). * * Copyright (c) 2019-2021 FabricMC * * 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,...
package com.sparklit.kickenadz; /** * Models the Placement with all its properties. */ public class Placement { private int bannerId; private String redirectUrl; private String imageUrl; private int width; private int height; private String altText; private String target; private Stri...
/* The MIT License Copyright (c) 2016-2021 kong <congcoi123@gmail.com> 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, m...
/* * Copyright 2018 William Brawner * * 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 ConsenSys AG. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing...
/* * Copyright (c) 2016. See AUTHORS file. * * 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 generated by jOOQ. */ package me.zodac.folding.db.postgres.gen.routines; import me.zodac.folding.db.postgres.gen.Public; import org.jooq.Field; import org.jooq.Parameter; import org.jooq.impl.AbstractRoutine; import org.jooq.impl.Internal; import org.jooq.impl.SQLDataType; /** * This class is ...
package Constants; public class TimeOuts { public static long DEFAULT_TIMEOUT=10; public static int SWITCH_WINDOW_TIMEOUT=5; }
/* * Copyright 2012-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 ap...
package com.igor.cursojava.Aula17Exercicio04; public class TaxaCrescimento { public static void main(String[] args) { int PopulacaoPaisA = 80000; int PopulacaoPaisB = 200000; int i=0; while(PopulacaoPaisA < PopulacaoPaisB) { PopulacaoPaisA+=PopulacaoPaisA*3/100; PopulacaoPaisB+=PopulacaoPaisB*1....
package com.example.prop; import arez.Disposable; import arez.annotations.ArezComponent; import arez.annotations.Feature; import arez.annotations.SuppressArezWarnings; import java.util.Objects; import javax.annotation.Generated; import javax.annotation.Nonnull; import javax.annotation.Nullable; import jsinterop.annota...
// // PXPreviewDefaultDelegate.java // PXFoundation // // Created by Joshua Archer on 4/4/06. // package org.pachyderm.foundation; import java.io.File; import java.net.InetAddress; import java.net.URL; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.pachyderm.apollo.core.CXDefaults; import org...
package com.wcy.gulimall.ware.service; import com.baomidou.mybatisplus.extension.service.IService; import com.wcy.common.utils.PageUtils; import com.wcy.gulimall.ware.entity.WareOrderTaskDetailEntity; import java.util.Map; /** * 库存工作单 * * @author wangchunyu * @email wangchunyu@gmail.com * @date 2021-04-16 22:01...
/* * Copyright (C) 2016-2019 Lightbend Inc. <https://www.lightbend.com> */ package com.lightbend.lagom.serialization; import com.lightbend.lagom.serialization.Jsonable; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.lightbend.lagom.javadsl.immutable.ImmutableStyle; import org.immutabl...
/* * 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.core.ml.dataframe.analyses; import org.elasti...
package com.nepxion.discovery.plugin.configcenter.loader; /** * <p>Title: Nepxion Discovery</p> * <p>Description: Nepxion Discovery</p> * <p>Copyright: Copyright (c) 2017-2050</p> * <p>Company: Nepxion</p> * @author Haojun Ren * @version 1.0 */ import org.springframework.beans.factory.annotation.Autowired; imp...
package com.ofco.spark.examples.java.util; import org.apache.spark.SparkConf; import org.apache.spark.sql.SparkSession; import java.util.Map; public class SparkUtils { private static SparkSession spark; public static SparkSession getSpark() { return spark; } public static void start(Map<String, String> param...
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.core.marketdatasnapshot; import java.io.Serializable; import java.util.Map; import java.util.NoSuchElementException; import java.util.Set; import org.fudgemsg...
package com.wyq.firehelper.architecture.mvp.translation.model; import io.reactivex.functions.Consumer; public interface IModel { void queryInfo(String word, Consumer<Translation> consumer); }
package com.manning.nettyinaction.chapter11; import com.manning.nettyinaction.util.BogusSslContextFactory; import io.netty.channel.Channel; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.group.ChannelGroup; import javax.net.ssl.SSLContext; import java.net.In...
package com.example.lojaSpring.model.dao; import com.example.lojaSpring.model.entity.*; import org.springframework.stereotype.Repository; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import java.util.List; @Repository public class ClienteDao { ...
// Copyright 2020 Goldman Sachs // // 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 ca.scooter.talkufy.adapters; import java.lang.System; @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {"\u0000H\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010!\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2011 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ package ti.modules.titanium.ui.widget; import org.appcelerator.kroll.KrollDict; i...
/* * 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 net.minecraft.item.crafting; import com.google.common.collect.Lists; import net.minecraft.inventory.InventoryCrafting; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import java.util.List; public class RecipeRepairItem implements IRecipe { /** ...
package net.floodlightcontroller.pktinhistory; import java.util.ArrayList; import java.util.List; import net.floodlightcontroller.core.types.SwitchMessagePair; import org.restlet.resource.Get; import org.restlet.resource.ServerResource; public class PktInHistoryResource extends ServerResource { @Get("json") pu...
/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.act.web; import java.io.InputStream; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServle...
/* * Copyright 2017 alesharik * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
import java.util.*; public class jumpGameII { public int jump_v0(int[] nums) { int n = nums.length; int[] minJump = new int[n]; Arrays.fill(minJump, Integer.MAX_VALUE); minJump[0] = 0; for(int i = 0; i < n; i++) for(int j = 1; j <= nums[i] && i+j < n; j++) minJump[i+j] = Math.min(minJump[i+j], ...
/* * Copyright 2011-2016 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 org.wrl.spring.spring3; public class HelloImpl4 implements HelloApi { private String message; private int index; //需要空的构造器 public HelloImpl4() { } public void setMessage(String message) { this.message = message; } public void setIndex(int index) { ...
package com.gmail.filoghost.quakecraft.enums; public enum TeamColor { BLUE, RED }
/* * Copyright 2017-2020 original 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 applicable law or agr...
package org.jsengine.v8.internal; import org.jsengine.v8.Internal; public class AsyncGeneratorYieldDescriptor extends CallInterfaceDescriptor { public static int kDescriptorFlags = CallInterfaceDescriptorData.Flag.kNoFlags.ordinal(); public static int kReturnCount = 1; public static enum ParameterIndices { __d...