text
stringlengths
7
995k
// Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). // Licensed under the Apache License, Version 2.0 (see LICENSE). package org.pantsbuild.tools.junit.impl; import java.util.Collection; import java.util.Objects; import com.google.common.collect.ImmutableSet; import org.pantsbuild.junit.annotations....
/** * Copyright 2015 DuraSpace, 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 agree...
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License")...
package ee.ttu.unomomento.model; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import java.io.Serializable; @Getter @Setter @NoArgsConstructor @AllArgsConstructor public class PersonRole implements Serializable { private Long personId; privat...
/** * 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...
import com.esri.samples.IMySoapSoe; import javax.xml.namespace.QName; import javax.xml.ws.Service; import java.net.URL; public class Main { public static void main(String[] args) throws Exception { // * If you generate the SOAP proxy classes using the service WSDL URL, // you can instantiate...
package generics.company; import generics.company.staff.Employee; import java.util.ArrayList; import java.util.List; public class Department<T extends Employee> { private String department; private int countOfEmployees; private List<T> employees = new ArrayList<>(); public Department(String departme...
package com.mrstar.is_property.java; public class SetterExample { public void setName(String name) { } public void setEnabled0(boolean enabled0) { } public void set_enabled1(boolean enabled1) { } public void setenabled2(boolean enabled2) { } public void enabled3(boolean enabled3...
package com.hl.cloud.configClient; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; @SpringBootApplication @EnableEurekaClient public class ConfigClient { public static void m...
/** * */ package net.sf.flatpack.xml; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import net.sf.flatpack.structure.ColumnMetaData; import net.sf.flatpack.util.FPConstants; /** * @author Benoit Xhenseval...
package signleton; import com.stalern.designpattern.singleton.hungry.EnumInstance; import com.stalern.designpattern.singleton.hungry.HungrySingleton; import java.io.*; /** * 序列化和反序列化来破坏单例模式 * @author stalern * @date 2019/10/2--14:41 */ public class TestSerial { public static void main(String[] args) throws E...
package cz.metacentrum.perun.rpc.methods; import cz.metacentrum.perun.core.api.exceptions.PerunException; import cz.metacentrum.perun.integration.model.GroupMemberData; import cz.metacentrum.perun.rpc.ApiCaller; import cz.metacentrum.perun.rpc.ManagerMethod; import cz.metacentrum.perun.rpc.deserializer.Deserializer; ...
package com.tngtech.archunit.core.domain.properties; import java.util.Set; import com.google.common.collect.ImmutableSet; import com.tngtech.archunit.core.domain.JavaModifier; import org.junit.Test; import static com.tngtech.archunit.core.domain.properties.HasModifiers.Predicates.modifier; import static org.assertj....
package com.itao.webmagic.model.formatter; import com.itao.webmagic.model.annotation.Formatter; import java.lang.reflect.Field; import java.util.List; /** * @author code4crafter@gmail.com * @since 0.7.0 * Date: 2017/6/3 */ public class ObjectFormatterBuilder { private Field field; public Object...
/*** Copyright (c) 2014 CommonsWare, 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
package org.sjtugo.api.DAO.Entity; import lombok.Data; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.time.LocalTime; @Data @Entity @Table(name = "bus_time") public class BusTime { @Id private Integer busid; @Col...
/* * 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...
/* * Copyright (C) 2009-2017 FBReader.ORG Limited <contact@fbreader.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ...
package com.tvd12.ezyfoxserver.command.impl; import java.util.Collection; import com.tvd12.ezyfox.entity.EzyData; import com.tvd12.ezyfoxserver.command.EzyAbstractChildSendResponse; import com.tvd12.ezyfoxserver.command.EzyAppSendResponse; import com.tvd12.ezyfoxserver.constant.EzyTransportType; import com.tvd12.ezyf...
// This file was automatically generated from IFCDOC at https://technical.buildingsmart.org/. // Very slight modifications were made to made content align with ifcXML reference examples. // Use this class library to create IFC-compliant (web) applications with XML and JSON data. // Author: Pieter Pauwels, Eindhoven Uni...
/* * Copyright 2014 Real Logic 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 agreed to ...
/** * Joice * Copyright (c) 1995-2017 All Rights Reserved. */ package cn.tauren.framework.ioc.api; import java.util.Collection; import cn.tauren.framework.exception.BeanException; import cn.tauren.framework.exception.BeanNotOfRequiredTypeException; import cn.tauren.framework.exception.NoSuchBeanException; /** * ...
/* * * Copyright 2012-2014 Eurocommercial Properties NV * * * 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 req...
package client.interfaces; public class Request { Object data; String request_type; public Object getData() { return data; } public void setData(Object data) { this.data = data; } public String getRequest_type() { return request_type; } public void setReq...
/* * Copyright 2017, OpenSkywalking Organization 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 re...
package translation_logger; import com.amazonaws.SdkClientException; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.RequestStreamHandler; import com.amazonaws.services.s3.AmazonS3; import com.amazonaws.services.s3.AmazonS3ClientBuilder; import com.google.gson.Gson; i...
package org.jboss.rhiot.scoreboard; import java.io.IOException; import java.net.URL; import java.util.Date; import java.util.List; import java.util.concurrent.ConcurrentHashMap; import javafx.application.Platform; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene....
// 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.refactoring.typeCook; import com.intellij.lang.findUsages.DescriptiveNameUtil; import com.intellij.openapi.project.Project; import com.intellij.openapi.util....
// The classes are basically the same as the BinaryTree // file except the visitor classes and the accept method // in the Tree class class TreeVisitor{ public static void main(String[] a){ System.out.println(new TV().Start()); } } class TV { public int Start(){ Tree root ; boolea...
/* * 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 * "Lic...
package org.infinispan.query.dsl.embedded; import static org.testng.AssertJUnit.assertEquals; import java.time.Instant; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.List; import org.infinispan.configuration.cache.ConfigurationBuilder; i...
/* * Copyright (c) 2021, by Miłosz Gilga <https://miloszgilga.pl> * * 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/license/LICENSE-2.0> * * Unless required...
/* * 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 org.swtk.commons.dict.wordnet.frames.instance.p0.p1; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.DataNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounFrame0101 { private static Map<String, DataNoun> map = new TreeMap<String, ...
package com.github.selfridicule; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import java.io.File; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; import java.util.List; public class H2DB { // 数据库连接URL,当前连接的是项目H2目录下的db数据库(h2数据存储有两种...
package wasm.disassembly.instructions.control; import wasm.disassembly.InvalidOpCodeException; import wasm.disassembly.instructions.Instr; import wasm.disassembly.instructions.InstrFactory; import wasm.disassembly.instructions.InstrType; import wasm.disassembly.modules.Module; import java.io.BufferedInputStream; impo...
package de.fhg.iais.roberta.syntax.codegen.arduino.mbot; import org.junit.Ignore; import org.junit.Test; import de.fhg.iais.roberta.util.test.UnitTestHelper; @Ignore // TODO: reactivate this test REFACTORING public class CppVisitorTest extends MbotAstTest { private static final String MAIN_METHOD1 = "" ...
/* * 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.aggrepoint.utils; import java.util.Hashtable; import java.util.Stack; /** * @author: Yang Jiang Ming */ public class ThreadContext { private static ThreadLocal<Hashtable<Object, Object>> threaContext = new ThreadLocal<Hashtable<Object, Object>>() { protected synchronized Hashtable<Object, Object> ini...
/* * 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.watcher.actions.email; import org.apache.logg...
/* * Copyright (c) 2021, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.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 * * http://www.apac...
package com.superkit.app.push.handler; import java.util.List; import com.superkit.app.push.support.NoticeTemplate; import com.superkit.app.push.support.Receiver; public interface IPushHandler { void process(NoticeTemplate dto, List<Receiver> receivers) throws Exception; }
public class Thing { }
package com.luquick.download.db.entity; import android.database.Cursor; import android.database.sqlite.SQLiteStatement; import org.greenrobot.greendao.AbstractDao; import org.greenrobot.greendao.Property; import org.greenrobot.greendao.database.Database; import org.greenrobot.greendao.database.DatabaseStatement; impo...
/* Copyright 2019 Telstra Open Source * * 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...
/* * 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.saurav.mycalculator; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; import org.xml.sax.InputSource; import java.io.CharArrayReader; i...
package com.staxnet.mojo.tomcat; //Based on org.codehaus.mojo.tomcat.RunMojo (Copyright 2006 Mark Hobson), which was licensed //under the Apache License, Version 2.0. You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 import java.io.*; import java.util.HashMap; import java.ut...
package com.hardik.javase; import com.hardik.javase.model.*; /** * Private Access Modifier * * @author HARDIK HIRAPARA * */ public class PrivateVariable { public static void main(String[] args) { Student s1 = new Student(); s1.setRlno(25); s1.setName("Hardik Hirapara"); System.out.println("Roll No....
// Copyright 2018-2021 Polyaxon, 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 es.unizar.unoforall.db; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import java.util.UUID; import es.unizar.unoforall.gestores.GestorSalas; import es.unizar.unoforall.model.PartidasAcabadasVO; import es.unizar.unoforall.model.UsuarioVO;...
package io.antmedia.webrtc.api; import java.nio.ByteBuffer; import org.webrtc.IceCandidate; import org.webrtc.SessionDescription; public interface IWebRTCClient { public void setWebRTCAdaptor(IWebRTCAdaptor webRTCAdaptor); /** * Send video packet to connected client * @param videoPacket * @param isKe...
package com.hrtechnology.smartsports; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.LinearLayout; import android.widget.TextView; import android.widget.Toast; public class ScoreBoard extends AppCompatActivity {...
package com.github.linyuzai.properties.refresh.core; import com.github.linyuzai.properties.refresh.core.condition.RefreshPropertiesCondition; import lombok.AllArgsConstructor; import java.lang.ref.WeakReference; import java.lang.reflect.*; import java.util.List; import java.util.Map; import java.util.Set; /** * 刷新器...
package cn.ljtnono.re.service; import cn.ljtnono.re.entity.ReConfig; import cn.ljtnono.re.service.common.IReEntityService; import com.baomidou.mybatisplus.extension.service.IService; /** * 配置类接口 * @author ljt * @date 2019/11/23 * @version 1.0 */ public interface IReConfigService extends IService<ReConfig>, IReEn...
/** * Copyright &copy; 2018-2025 <a href="http://www.greathiit.com">哈尔滨信息工程学院</a> All rights reserved. */ package com.thinkgem.jeesite.modules.gen.dao; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import com.thinkgem.jeesite.modules.gen...
/* * Copyright 2011-2012 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...
package com.fishercoder.solutions; import com.fishercoder.common.classes.Point; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; public class _587 { public static class Solution1 { /** * credit: https://discuss.leetcode.com/topic/89323/java-solu...
/* * Copyright 2016-present Open Networking Laboratory * * 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 appli...
package io.github.humbleui.jwm.examples; import io.github.humbleui.jwm.LayerGL; import org.jetbrains.skija.*; public class SkijaLayerGL extends LayerGL implements SkijaLayer { public DirectContext _directContext; public BackendRenderTarget _renderTarget; public Surface _surface; @Override public ...
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/msgcntr/trunk/messageforums-api/src/java/org/sakaiproject/api/app/messageforums/PermissionLevelManager.java $ * $Id: PermissionLevelManager.java 9227 2006-05-15 15:02:42Z cwen@iupui.edu $ *...
package io.searchbox.indices.script; import io.searchbox.action.AbstractAction; import io.searchbox.action.GenericResultAbstractAction; import java.io.UnsupportedEncodingException; import static io.searchbox.indices.script.ScriptLanguage.GROOVY; import static java.net.URLEncoder.encode; /** * @author cihat keser ...
/* * Copyright 2005-2010 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...
/* * Copyright 2007 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 com.example.weath.data.dataTransferObjects; import java.util.Date; import java.util.List; public class WeatherRemoteDto { private Date recordMoment; private double temperatureInCelsius; private SkyConditionDto skyCondition; private List<ForecastDayDto> forecast; public WeatherRemoteDto(Da...
/* * Copyright (C) 2017 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...
import java.util.StringTokenizer; import java.util.ArrayList; import java.util.List; import java.util.ArrayDeque; import java.util.Deque; public class Calculator { private final List<Expression> exprList = new ArrayList<>(); public Calculator(StringTokenizer tokenizer) { while (true == tokenizer.hasM...
package pl.kkowalewski.services.repository; public interface GreetingRepository { String getEnglishGreeting(); String getPolishGreeting(); String getGermanGreeting(); }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.spring.cloud.autoconfigure.aad.filter; import com.nimbusds.jose.JOSEException; import com.nimbusds.jose.JWSAlgorithm; import com.nimbusds.jose.JWSHeader.Builder; import com.nimbusds.jose.JWSObject; import...
package org.highj.data; import com.pholser.junit.quickcheck.runner.JUnitQuickcheck; import org.highj.typeclass1.functor.Functor; import org.highj.typeclass1.functor.FunctorContract; import org.junit.Ignore; import org.junit.runner.RunWith; @Ignore @RunWith(JUnitQuickcheck.class) public class ListFunctorContract imple...
/* * Copyright (c) 2008-2021, 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 de.remadisson.rainbowcore; import com.google.inject.Inject; import com.velocitypowered.api.command.CommandManager; import com.velocitypowered.api.command.CommandMeta; import com.velocitypowered.api.event.proxy.ProxyInitializeEvent; import com.velocitypowered.api.event.Subscribe; import com.velocitypowered.api....
/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it w...
/* * Copyright 2015-2020 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...
/* * Copyright 2021-2021 the ALttPJ Team @ https://github.com/alttpj * * 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...
package org.linlinjava.litemall.core.util; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import java.util.HashMap; import java.util.List; import java.util.Map; /** * 响应操作结果 * <pre> * { * errno: 错误码, * errmsg:错误消息, * data: 响应数据 * } * </pre> * * <p> * 错误码: * <ul> * <...
package com.industrial.quartz.controller; import java.util.List; import javax.annotation.Resource; import javax.servlet.http.HttpServletResponse; import com.industrial.common.annotation.Log; import com.industrial.common.constant.Constants; import com.industrial.common.core.controller.BaseController; import com.indust...
package fr.sii.ogham.core.resource.resolver; import java.io.IOException; import java.io.InputStream; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import fr.sii.ogham.core.exception.resource.ResourceResolutionException; import fr.sii.ogham.core.resource.ByteResource; import fr.sii.o...
package com.a528854302.gmall.provider.service.impl; import com.a528854302.common.utils.PageUtils; import com.a528854302.common.utils.R; import com.a528854302.gmall.provider.dao.SkuInfoDao; import com.a528854302.gmall.provider.entity.SkuInfoEntity; import com.a528854302.gmall.provider.service.*; import com.a528854302.g...
/* * 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.security.authz.privilege; import org.apa...
package org.folio.rest.impl; import io.vertx.core.AsyncResult; import io.vertx.core.Context; import io.vertx.core.Future; import io.vertx.core.Handler; import org.folio.rest.annotations.Validate; import org.folio.rest.jaxrs.model.TenantAttributes; import org.folio.rest.jaxrs.model.TenantJob; import org.folio.rest.tool...
package uk.gov.hmcts.probate.service; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Component; import uk.gov.service.notify.NotificationClient; import uk.gov.service.notify.NotificationClientException; import uk.gov.service.notify.SendEmailResponse; imp...
/* * $Id: ELRedirectTag.java 376780 2006-02-10 18:09:22Z husted $ * * 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 * * htt...
package io.github.project_travel_mate; import android.Manifest; import android.app.AlertDialog; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Build; import android.os.Bundle; 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...
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition...
package com.jayfella.lemur.window; import com.jme3.app.Application; import com.jme3.app.state.BaseAppState; /** * invokes the update(tpf) method for each window added to the WindowManager. */ class WindowUpdaterState extends BaseAppState { private final SimpleWindowManager windowManager; public WindowUpda...
package com.mossle.bpm.cmd; import java.util.HashMap; import java.util.Map; import org.activiti.engine.impl.context.Context; import org.activiti.engine.impl.interceptor.Command; import org.activiti.engine.impl.interceptor.CommandContext; import org.activiti.engine.impl.persistence.entity.ExecutionEntity; import org.a...
package org.nd4j.linalg.util; import org.nd4j.linalg.api.ndarray.INDArray; import org.nd4j.linalg.factory.NDArrayFactory; /** * * Util class for handling edge cases where linear view * is desirable but not usable (gpus) * * @author Adam Gibson */ public class LinearUtil { /** * When needing to look at...
/** * Copyright (C) 2010-2015 Morgner UG (haftungsbeschränkt) * * This file is part of Structr <http://structr.org>. * * Structr is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the ...
package launcher; import java.io.IOException; import linking.linkers.AgnosLinker; import structure.config.kg.EnumModelType; import structure.datatypes.AnnotatedDocument; import structure.interfaces.linker.Linker; public class LauncherLinking { public static void main(String[] args) { try { new LauncherLinking...
/* * Copyright © 2011 Everit Kft. (http://www.everit.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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.wang.javafxdanmaku; import com.github.kwhat.jnativehook.mouse.NativeMouseEvent; import com.github.kwhat.jnativehook.mouse.NativeMouseInputListener; import javafx.application.Platform; import javafx.stage.Stage; import java.awt.*; import java.awt.event.InputEvent; import java.util.Collections; import java....
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.recoveryservicesbackup.implementation; import com.azure.core.http.rest.PagedIterable; import com.azure.core.util.Context; import...
/* * 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...
public class Node{ public char exp; public Node leftchild,rightchild; public int val; public Node(char exp) { this.exp=exp; if(!(exp=='+'||exp=='-'||exp=='/'||exp=='*')){ this.val=Character.getNumericValue(exp); } else this.val=0; this.leftchild=null; this.r...
package com.nepxion.discovery.plugin.strategy.service.sentinel.adapter; /** * <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 javax.servlet.http.HttpServletRequest; publi...
package com.example.oauth2client.config; import lombok.RequiredArgsConstructor; import org.springframework.core.MethodParameter; import org.springframework.stereotype.Component; import org.springframework.web.bind.support.WebDataBinderFactory; import org.springframework.web.context.request.NativeWebRequest; import org...
package com.shopsim.forms; import lombok.Data; public @Data class Response { private String type; private Object body; private String message; }
package org.mahjong4j.withsituation; import org.junit.Before; import org.junit.Test; import org.mahjong4j.GeneralSituation; import org.mahjong4j.PersonalSituation; import org.mahjong4j.Player; import org.mahjong4j.hands.Hands; import org.mahjong4j.tile.Tile; import org.mahjong4j.yaku.normals.NormalYaku; import org.mah...