text
stringlengths
7
1.01M
/** * Copyright © 2016-2021 The Thingsboard 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 applicab...
package org.jgroups.protocols; import org.jgroups.Address; import org.jgroups.Global; import org.jgroups.JChannel; import org.jgroups.Message; import org.jgroups.protocols.pbcast.GMS; import org.jgroups.protocols.pbcast.NAKACK2; import org.jgroups.stack.Protocol; import org.jgroups.util.MyReceiver; import org.jgroups....
/* * 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 ...
/* * 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 com.google.android.gms.internal.ads; public final class sy extends ez { public sy(tx txVar, String str, String str2, xp xpVar, int i2, int i3) { super(txVar, str, str2, xpVar, i2, 3); } /* access modifiers changed from: protected */ @Override // com.google.android.gms.internal.ads.ez ...
/* * Copyright 2012-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 com.watson.propert.tycoon.game.bord; import com.watson.propert.tycoon.game.entitys.Player; /** Action that from Cards and Square need implement this interface */ public interface Action { void run(Player player); }
package com.battlelancer.seriesguide.jobs.episodes; import android.content.Context; import androidx.annotation.NonNull; import com.battlelancer.seriesguide.R; import com.battlelancer.seriesguide.provider.SgEpisode2Numbers; import com.battlelancer.seriesguide.provider.SgRoomDatabase; import java.util.List; public clas...
/******************************************************************************* * * This file is part of iBioSim. Please visit <http://www.async.ece.utah.edu/ibiosim> * for the latest version of iBioSim. * * Copyright (C) 2017 University of Utah * * This library is free software; you can redistribute it and/o...
package org.basex.query.value.item; import static org.basex.data.DataText.*; import org.basex.query.expr.*; import org.basex.query.value.type.*; import org.basex.util.*; import org.basex.util.list.*; /** * String item ({@code xs:string}, {@code xs:normalizedString}, {@code xs:language}, * etc.). * *...
package senntyou.sbs.mbg.model; import com.fasterxml.jackson.annotation.JsonIgnore; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class AdminRolePermissionRelation implements Serializable { private Long id; private Long roleId; private Long pe...
package top.jfunc.http.component; import top.jfunc.http.request.HttpRequest; import java.io.IOException; /** * 封装真正执行的一步 * @see RequestExecutor * @author xiongshiyan at 2020/1/6 , contact me with email yanshixiong@126.com or phone 15208384257 */ @Deprecated public interface RequestSender<Request , Response> { ...
package org.gradle.fairy.tale.formula; import org.gradle.actors.Actor; import org.gradle.actors.Group; import org.gradle.fairy.tale.Tale; import org.gradle.fairy.tale.formula.events.Event; import org.gradle.fairy.tale.formula.events.IntransativeEvent; import org.gradle.fairy.tale.formula.events.TransitiveEvent; impor...
/* * 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...
// Template Source: IBaseEntityReferenceRequestBuilder.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------...
/************************************************************** * * 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...
/* * MIT License * * Copyright (c) 2018 octopusdownloader * * 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...
/* * 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 ink.cashflow.abstractfactory.abztract; public abstract class AbstractWhiteHuman implements Human { @Override public void cry() { System.out.println("白色人种会哭"); } @Override public void laugh() { System.out.println("白色人种会大笑,侵略的笑声"); } @Override public void talk()...
/* * 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 pl.allegro.tech.hermes.integration.auth; import avro.shaded.com.google.common.collect.Lists; import com.google.common.io.Files; import io.undertow.security.impl.BasicAuthenticationMechanism; import io.undertow.util.StatusCodes; import org.assertj.core.description.Description; import org.assertj.core.descriptio...
/* * Copyright 2013, The Sporting Exchange Limited * * 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...
package com.tamsiree.rxkit; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.graphics.Color; import android.os.Build; import android.util.TypedValue; import android.view.View; import android.view.Window; import android.view.WindowManager; import com.read...
/* * Copyright (C) 2010-2021 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.provisioning.impl.shadows; import static com.evolveum.midpoint.util.MiscUtil.stateCheck; import j...
package Chapter03.P74_CalculatingAge.src.modern.challenge; import java.time.LocalDate; import java.time.Period; import java.time.temporal.ChronoUnit; import java.util.Calendar; import java.util.Date; public class Main { public static void main(String[] args) { System.out.println("Before JDK 8:"); ...
import java.util.List; import java.util.concurrent.locks.ReentrantLock; public class Consumer implements Runnable { private List<String> buffer; private String color; private ReentrantLock queue; public Consumer(List<String> buffer, String color,ReentrantLock queue){ this.buffer = buffer; ...
package egree4j.http; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import org.apache.http.NameValuePair; /** * Class that unwraps a map into usable lists to be sent as request headers * or URL parameters in a GET or POST. * * @author Johan * */ public class RequestParameterMapp...
// Copyright 2018 The Bazel 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 appl...
package com.mine.violet.controller.front; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.mine.violet.commonutils.R; import com.mine.violet.entity.Blog; import com.mine.violet.entity.vo.BlogQuery; import com.mine.violet.s...
/* * Licensed to the Hipparchus project under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The Hipparchus project licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * 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...
/* Copyright 2021 Terrarier2111 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 d...
package org.firstinspires.ftc.teamcode.autos; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; @Autonomous // basic autonomous that moves forward 10 inches, waits 5 seconds, turns around, then drives back public class ThreeMarkerDuckBlue extends ThreeMarkerDuck { @Override public void runOpMode()...
package org.motechproject.mots.domain.enums; public enum Status { DRAFT, RELEASED, PREVIOUS_VERSION }
/** * maps4cim - a real world map generator for CiM 2 * Copyright 2013 Sebastian Straub * * 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-...
package com.alipay.api.response; import java.util.List; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; import com.alipay.api.domain.SimpleShopInfo; import com.alipay.api.AlipayResponse; /** * ALIPAY API: ant.merchant.expand.shop.batchquery response. ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; public class P09StudentsEnrolledIn2014Or2015 { public static void main(String[] args...
package neighbors.handler.renting; import lombok.RequiredArgsConstructor; import neighbors.entity.Advert; import neighbors.entity.User; import neighbors.enums.AdvertType; import neighbors.enums.CategoryCommand; import neighbors.enums.bot.State; import neighbors.enums.bot.Text; import neighbors.handler.Handler; import ...
package ucsal.ed.atividade03; import java.util.Objects; import ucsal.ed.atividade02.interfaces.Lista; public class ListaImpl<T> implements Lista<T> { private static Object[] objetos = {}; private static final Object[] EMPETY = {}; public ListaImpl(int tamanho) { if(tamanho < 0) { throw new RuntimeEx...
package com.sunny.mvvmbilibili.ui.login; import android.content.Context; import android.content.Intent; import android.databinding.DataBindingUtil; import android.os.Bundle; import com.sunny.mvvmbilibili.R; import com.sunny.mvvmbilibili.databinding.ActivityLoginBinding; import com.sunny.mvvmbilibili.injection.qualifi...
/* * Copyright (c) 2008-2017, 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 hr.fer.zemris.calcite.rewriter; import org.apache.calcite.schema.SchemaFactory; /** * Hello world! * */ public class JDBCProxy { public static void main( String[] args ) { System.out.println( args[0] ); } }
/** * Copyright (c) 2013-Now http://jeesite.com All rights reserved. */ package com.jeesite.modules.aa.service; import com.jeesite.common.entity.Page; import com.jeesite.common.service.CrudService; import com.jeesite.modules.aa.dao.PaperDao; import com.jeesite.modules.aa.entity.CarInfo; import com.jeesite.modules.aa...
package cc.shinichi.library.view.listener; import android.view.View; /** * @author 工藤 * @email gougou@16fan.com * cc.shinichi.library.view.listener * create at 2018/12/19 16:24 * description: */ public interface OnBigImageLongClickListener { /** * 长按事件 */ boolean onLongClick(View view, int p...
/** * */ package com.jeesuite.springboot.starter.cache; import org.springframework.boot.context.properties.ConfigurationProperties; /** * @description <br> * @author <a href="mailto:vakinge@gmail.com">vakin</a> * @date 2016年12月31日 */ @ConfigurationProperties(prefix="jeesuite.cache") public class CachePropertie...
package edu.stanford.nlp.parser.lexparser; import edu.stanford.nlp.ling.TaggedWord; import edu.stanford.nlp.ling.LabeledWord; import edu.stanford.nlp.io.NumberRangesFileFilter; import edu.stanford.nlp.io.EncodingPrintWriter; import edu.stanford.nlp.trees.Tree; import edu.stanford.nlp.trees.Treebank; import edu.stanfo...
package org.apidesign.demo.pythonrubyjs.fromjava; import java.io.File; import java.net.URISyntaxException; import java.net.URL; import org.graalvm.polyglot.Context; import org.graalvm.polyglot.Source; public final class Main { private static void execute(Integer repeat) throws Exception { // executing rub...
package com.leetcode; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.LinkedList; import java.util.Queue; /** * Given a binary tree, determine if it is height-balanced. * * @Author: Aaron Yang * @Date: 9/19/2018 9:21 AM */ public class BalancedBinaryT...
/* * Copyright 2014 Matteo Bernacchia <kikijikispaccaspecchi@gmail.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 ...
/* * Copyright 2017-2018, EnMasse authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.enmasse.systemtest; import java.util.concurrent.TimeoutException; public class ConnectTimeoutException extends TimeoutException { public ConnectTimeoutEx...
package net.b07z.sepia.websockets.common; import java.util.List; import java.util.Map; import java.util.concurrent.atomic.AtomicLong; import org.eclipse.jetty.websocket.api.Session; import org.json.simple.JSONObject; import net.b07z.sepia.server.core.data.Role; import net.b07z.sepia.server.core.tools.JSON; import ne...
package org.ff4j.springboot; import org.apache.commons.dbcp2.BasicDataSource; /* * #%L * ff4j-sample-archaius * %% * Copyright (C) 2013 - 2016 FF4J * %% * 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 ...
#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) package ${package}.carina.demo.mobile.gui.pages.ios; import org.apache.commons.lang3.RandomStringUtils; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.FindBy; import com.qaprosoft.carina.core.foundation.uti...
/* * 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.speyejack.gui; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ComponentAdapter; import java.awt.event.ComponentEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.ImageIcon; ...
/* * Copyright 2012 eHarmony, 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 ...
package com.example.demo.Entities; import lombok.Getter; import lombok.Setter; import javax.persistence.*; import java.time.Instant; import java.util.Date; import java.util.List; @Getter @Setter @Entity @Table(name = "rentals") public class RentalEntity { @Id @GeneratedValue(strategy = GenerationType.AUTO)...
package com.navis.mktg.blackjack; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import java.io.BufferedReader; import java.io.InputStreamReader; @SpringBootApplication public class BlackjackAp...
package future; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; public class FutureExample { public static void main(String[] args) throws Exception { ExecutorService executor = Executors.newCache...
package io.github.project_travel_mate.utilities; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import a...
// Copyright Keith D Gregory // // 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 w...
/* * Copyright Splunk 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 in wr...
/* ----------------------------------------------------------------------- | | | Class: Team | | Description: Team class that represents a Pokemon team entity. | | ...
/* * Copyright (C) 2015 Square, Inc, 2017 Jeff Gilfelt. * * 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...
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su...
public class MathTest { /** * Multiply n by m * * @param n * the first number * @param m * the second number * @return n*m */ public int multiply(int n, int m) { return n * m; } }
/* * SessionAnalysisWorkflowManagerInterface.java * * Copyright 2006-2018 James F. Bowring, CIRDLES.org, and Earth-Time.org * * 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 2021 Collate * 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,...
package nl.softcause.jsontemplates.nodes.controlflowstatement; import java.util.Map; import lombok.EqualsAndHashCode; import nl.softcause.jsontemplates.expressions.IExpression; import nl.softcause.jsontemplates.model.TemplateModel; import nl.softcause.jsontemplates.nodes.IDescriptionBuilder; import nl.softcause.jsont...
/* 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 com.google.android.instantapps.samples.feature.base; public final class R { public static final class anim { public...
/* * Copyright 2021 YugaByte, Inc. and Contributors * * Licensed under the Polyform Free Trial License 1.0.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://github.com/YugaByte/yugabyte-db/blob/master/licenses/POLYFORM-FREE-...
package com.pensato.replicator.support; import lombok.AllArgsConstructor; import lombok.NoArgsConstructor; import org.springframework.core.ResolvableType; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.lang.Nullable; import org.springframework.transaction.annotation.T...
/* * Anserini: A Lucene toolkit for reproducible information retrieval research * * 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 * * Unl...
package com.github.common.db.entity.primary; import com.baomidou.mybatisplus.annotation.TableField; import io.swagger.annotations.ApiModel; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import java.io.Serializable; /** * <p> * 被反映人和是否村干关联表 * </p> * * @author DESKTOP-...
package io.quarkus.arc.benchmarks.appbeans; import javax.enterprise.context.ApplicationScoped; import io.quarkus.runtime.Startup; @ApplicationScoped @Startup public class AppBean172 { void ping() { } }
/* * Copyright 2006-2020 Prowide * * 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 com.marklogic.client.modulesloader; import java.io.File; public class Asset { private File file; private String path; public Asset(File file, String path) { super(); this.file = file; this.path = path; } public File getFile() { return file...
package com.orbitz.consul.model.agent; import com.fasterxml.jackson.databind.ObjectMapper; import com.orbitz.consul.util.Jackson; import org.junit.Test; import java.io.IOException; import static org.junit.Assert.assertEquals; public class DebugConfigTest { private final String JSON = "{\n" + " \"...
/* * 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 ...
/* * 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...
/* * Copyright 2012 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 in w...
package algo.divideandconquer; /** * Created by orca on 2018/12/27. * 问题:大数据排序。输入输出为10G以上文件。环境:单机 RAM=4G */ public class BigDataSort { }
/* * 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 me.dolphago.service; // //import org.springframework.beans.factory.annotation.Autowired; //import org.springframework.stereotype.Service; // //import me.dolphago.client.TestClient; // //@Service //public class ClientTestService{ // //@Autowired를 통해 방금 작성한 client 의존성 주입 // @Autowired // TestClient tes...
/******************************************************************************* * Copyright (c) 2002, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
/* Generated By:JavaCC: Do not edit this line. TurtleParserTokenManager.java */ /* * 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 th...
package comjuffreycalauod.gmail.httpswww.RODatabase; import android.content.Context; import android.content.Intent; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView...
/** * This package contains helper classes for the {@link com.tiyb.tev.controller controller} package. */ package com.tiyb.tev.controller.helper;
/** * Copyright note: Redistribution and use in source, with or without modification, are permitted. * * Created: March 2016; * * @author: Uwe Hahne SICK AG, Waldkirch email: techsupport0905@sick.de Last commit: $Date: 2015-01-21 13:56:28 +0100 (Mi, * 21 Jan 2015) $ Last editor: $Author: hahneuw $ * *...
package com.geektcp.alpha.design.statemachine.state; public interface StateListener { /** * preState --> postState 状态变化时触发的操作 */ void stateChanged(String uuid, int preState, int postState); }
package ADT.Graph.ShortestPath; import ADT.Graph.EdgeWeightedDirected.DirectedEdge; import ADT.Graph.EdgeWeightedDirected.EdgeWeightedDigraph; import edu.princeton.cs.algs4.IndexMinPQ; import edu.princeton.cs.algs4.Stack; 、、 public class DijkstraSP { private DirectedEdge[] edgeTo; private double[] distTo; ...
package org.spongycastle.crypto.engines; import org.spongycastle.util.Pack; /** * Implementation of Daniel J. Bernstein's XSalsa20 stream cipher - Salsa20 with an extended nonce. * <p> * XSalsa20 requires a 256 bit key, and a 192 bit nonce. */ public class XSalsa20Engine extends Salsa20Engine { public String ...
package cn.monitor.modules.common.interceptor; import java.text.SimpleDateFormat; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.NamedThreadLocal; import org.springframework.web.servl...
/* * Copyright 2002-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package CSharp.editor; /*Generated by MPS */ import jetbrains.mps.nodeEditor.DefaultNodeEditor; import jetbrains.mps.openapi.editor.cells.EditorCell; import jetbrains.mps.openapi.editor.EditorContext; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.nodeEditor.cells.EditorCell_Collection; import jet...
package seedu.address.logic.parser; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address.logic.parser.ParserUtil.MESSAGE_INVALID_INDEX; import static seedu.address.model.transaction.Date.DATE_PATTERN; import static seedu.add...
package org.apereo.cas.digest.config; import lombok.extern.slf4j.Slf4j; import org.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPolicy; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.configuration.model.support.digest.DigestProperties; import org.apereo.cas.digest.Def...
package com.amazon.jenkins.ec2fleet; import com.google.common.annotations.VisibleForTesting; import hudson.Extension; import hudson.model.Label; import hudson.model.LoadStatistics; import hudson.slaves.Cloud; import hudson.slaves.NodeProvisioner; import jenkins.model.Jenkins; import java.util.Collection; import java....
/* * Created on May 27, 2007 * * To change the template for this generated file go to * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments */ package biomight.chemistry.pharma.hypertensive; import biomight.chemistry.compound.Compound; /** * @author SurferJim * * To change the t...
package blobs.models.behavors; import blobs.interfaces.Blob; public class Aggressive extends AbstractBehavior { private static final int AGGRESSIVE_DAMAGE_MULTIPLY = 2; private static final int AGGRESSIVE_DAMAGE_DECREMENT = 5; private int sourceInitialDamage; @Override public void trigger(Blob b...