text
stringlengths
7
995k
/* * This file is released under terms of BSD license * See LICENSE file for more information */ package helper; import claw.tatsu.xcodeml.xnode.Xname; import claw.tatsu.xcodeml.xnode.common.*; import claw.tatsu.xcodeml.xnode.fortran.FbasicType; import claw.tatsu.xcodeml.xnode.fortran.FfunctionDefinition; import cl...
/* * Copyright 2015 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 applicable la...
// Copyright 2019 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.autofill_assistant; import android.content.Context; import android.view.View; import androidx.annotation.IntDef; im...
/* * Copyright (C) 2009-2020 Lightbend Inc. <https://www.lightbend.com> */ package akka.http.javadsl.model; import akka.Done; import akka.actor.ActorSystem; import akka.japi.function.Procedure; import akka.stream.Materializer; import akka.stream.SystemMaterializer; import akka.stream.javadsl.Sink; import akka.strea...
/* * Copyright 2019 Google 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 by applicable l...
package learn.lhb.synrouter01.service; /** * @Description 登录模块业务逻辑 * @author Herbie Leung * @date 2020/7/15 * @time 16:42 */ public interface LoginService { }
/* * Copyright (c) 2022 AccelByte Inc. All Rights Reserved * This is licensed software from AccelByte Inc, for limitations * and restrictions contact your company contract manager. * * Code generated. DO NOT EDIT. */ package net.accelbyte.sdk.cli.api.iam.users; import com.fasterxml.jackson.core.type.TypeReferen...
package open.dolphin.infomodel; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import javax.persistence.Transient; /** * 紹介状返信フォーム。 MEMO:マッピング * */ @Entity @DiscriminatorValue("TOUTOU_REPLY") public class TouTouReply extends LetterModel { private String clientHospital;//医療機関 ...
package com.me.samples.guesstimate.dto; import java.io.Serializable; public class GameAnswerResponse implements Serializable { /** * */ private static final long serialVersionUID = -2257830638646292839L; private boolean isCorrectAnswer; private String yourAnswer; private long theCorrectAnswer; public ...
/* * Copyright Beijing 58 Information Technology Co.,Ltd. * * 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 unde...
/** * 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 m...
package pattern.proxy.fourth; import pattern.proxy.first.IGamePlayer; /** * @author MayZhou */ public class GamePlayer implements IGamePlayer { private String name = ""; //打怪,最期望的就是杀老怪 public void killBoss() { System.out.println(this.name + "在打怪!"); } //进游戏之前你肯定要登录吧,这是一个必要条件 public...
/* * 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...
package mil.nga.giat.geowave.analytic.clustering; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.util.ArrayList; import java.util.List; import mil.nga.giat.geowave.adapter.vector.FeatureDataAdapter; import mil.nga.giat.geowave.analytic.AnalyticFeature; import mil.nga.giat.geowav...
/** * 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.n2oapp.framework.autotest.api.component.cell; import java.io.File; /** * Загрузка файла в ячейке для автотестирования */ public interface FileUploadCell extends Cell { File uploadFile(File... file); File uploadFromClasspath(String... fileName); void deleteFile(int index); void upload...
package com.xiong.appbase.utils; import android.util.Log; import com.xiong.appbase.BuildConfig; /** * 日志信息输出�? * <p>该类可自动或手动配置不同等级日志在发布模式下是否允许输出�? * 并使用android.util.Log输出日志内容</p> * */ public final class DLog { // private static boolean mbDebugMode = true; private static boolean mbDebugMode = BuildConfig.mbDebu...
package com.bizzan.bitrade.entity; import com.bizzan.bitrade.constant.CertifiedBusinessStatus; import com.bizzan.bitrade.constant.MemberLevelEnum; import lombok.Data; /** * @author GS * @date 2018年02月26日 */ @Data public class CertifiedBusinessInfo { private MemberLevelEnum memberLevel; private CertifiedBu...
package com.tarodemo; import com.facebook.react.ReactActivity; public class MainActivity extends ReactActivity { /** * Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component. */ @Override protected String getMainComponentName() { re...
import java.util.Scanner; public class question5 { public static void main(String[] args) { Scanner year= new Scanner(System.in); int given_year= year.nextInt(); if (given_year%4==0) { System.out.println("the year u entered is a leap year"); } else{ ...
package com.l1fan.ane.lenovo; import org.json.JSONException; import org.json.JSONObject; import android.os.Bundle; import com.l1fan.ane.SDKContext; import com.lenovo.lsf.gamesdk.LenovoGameApi; import com.lenovo.lsf.gamesdk.LenovoGameApi.GamePayRequest; import com.lenovo.lsf.gamesdk.LenovoGameApi.IAuthResult; import ...
package com.yammer.dropwizard.auth.oauth; import com.google.common.base.Optional; import com.sun.jersey.api.core.HttpContext; import com.sun.jersey.api.model.Parameter; import com.sun.jersey.core.spi.component.ComponentContext; import com.sun.jersey.core.spi.component.ComponentScope; import com.sun.jersey.server.impl....
/* * 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.etsubu.stonksbot.discord; import com.etsubu.stonksbot.configuration.ConfigLoader; import com.etsubu.stonksbot.configuration.Reaction; import com.etsubu.stonksbot.configuration.ServerConfig; import net.dv8tion.jda.api.entities.*; import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import org.slf...
/* * 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 ...
/********************************************************************************* * * * The MIT License (MIT) * * ...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // 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.05....
package me.hwiggy.whmjava.payload.u; import me.hwiggy.whmjava.payload.Payload; import org.json.JSONObject; /*** * This class and its methods directly relate to the API documentation. * API documentation can be found at the following URL: * https://developers.whmcs.com/api-reference/updatemoduleconfiguration/ */ p...
/** * 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.masiuchi.mtdataapi; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.ProtocolException; import java.net.URL; import java.nio.charset.Charset; pu...
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package model; public class Ticket2D extends Ticket { private static double precio; public Ticket2D(Cliente cliente, Sucursal sucursal, Sala sala, String fecha) { super(cliente, sucursal, sala, fecha); } public Ticket2D() { } @Override public double getPrecio() { retu...
/* Alloy Analyzer 4 -- Copyright (c) 2006-2009, Felix Chang * * 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, modif...
/* * Copyright 2002-2015 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 net.mindlevel.service; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v4.app.JobIntentService; import android.support.v4.app.NotificationCompat; import and...
/* * api.video Java API client * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. * * The version of the OpenAPI document: 1 * Contact: ecosystem@...
/* * Copyright 2018-present Facebook, 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.ifast.common.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.ifast.common.base.CoreServiceImpl; import com.ifast.common.dao.ConfigDao; import com.ifast.common.domain.ConfigDO; import com.ifast.common.service.ConfigService; import org.springframework.stereotype....
package NestedLoops; import java.util.Scanner; public class Travelling { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String destination = scanner.nextLine(); while (!destination.equals("End")) { double minBudget = Double.parseDouble(scan...
/* * 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) 2015-present, Parse, LLC. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com.par...
/** * Copyright 2020 Alibaba Group Holding 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 applicable l...
package org.generation.blogpessoal.service; import java.nio.charset.Charset; import java.util.Optional; import org.apache.commons.codec.binary.Base64; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.ster...
/* Copyright (C) 2015 Ihor Monochkov Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
/* * PagarmeCoreApiLib * * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). */ package me.pagar.api.models; import java.util.*; public class CreateVoucherPaymentRequestBuilder { //the instance to build private CreateVoucherPaymentRequest createVoucherPaymentRequest; /**...
package com.arun.seda.stages; import com.arun.seda.controller.StageController; import com.arun.seda.controller.impl.DirectThreadPoolStageController; import com.arun.seda.event.EventHandler; public class Stage { private String context; private String id; private boolean monitoreable = true; private bo...
package com.etheller.warsmash.viewer5.handlers.mdx; import com.etheller.warsmash.util.RenderMathUtils; import com.hiveworkshop.rms.parsers.mdlx.AnimationMap; import com.hiveworkshop.rms.parsers.mdlx.MdlxGenericObject; public class GenericObject extends AnimatedObject implements GenericIndexed { public final int ind...
package com.example.hr.domain; import com.example.hr.ddd.Aggregate; import com.example.hr.ddd.Entity; // Entity -> i) Identity ii) Mutable Class // Domain Objects: Entity, Entity Root -> Aggregate, Value Object // Ubiquitous Language, Bounded Context @Entity(identity = "tcKimlikNo") @Aggregate public class Employee {...
package com.hufeiya.entity; import java.util.HashSet; import java.util.Set; /** * StudentSheet entity. @author MyEclipse Persistence Tools */ public class StudentSheet implements java.io.Serializable { // Fields private Integer sheetId; private User user; private String sheetName; private Set students = new...
/** * Copyright 2013 Canada Health Infoway, 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 applicab...
package com.electropeyk.squenda.adpter; import android.content.Context; import android.util.Log; import android.util.SparseArray; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import com.ele...
package me.ykrank.s1next.widget.glide.model; import com.bumptech.glide.load.model.GlideUrl; import com.bumptech.glide.load.model.Headers; import java.net.URL; import me.ykrank.s1next.widget.glide.AvatarStreamFetcher; /** * Avatar url model to use {@link AvatarStreamFetcher} * Created by ykrank on 2017/3/21. */ ...
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) 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 * * Unles...
/* * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/HttpResponseWrapper.java,v 1.4 2002/03/18 07:15:39 remm Exp $ * $Revision: 1.4 $ * $Date: 2002/03/18 07:15:39 $ * * ==================================================================== * * The Apache Software License, Ver...
package kr.ac.hs.oing.subscription.domain; import com.fasterxml.jackson.annotation.JsonIgnore; import kr.ac.hs.oing.club.domain.Club; import kr.ac.hs.oing.common.domain.DateEntity; import kr.ac.hs.oing.member.domain.Member; import kr.ac.hs.oing.subscription.domain.vo.Resume; import lombok.*; import javax.persistence....
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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 requ...
package com.grimbo.chipped; import java.util.stream.Collectors; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import com.grimbo.chipped.block.ChippedBlocks; import com.grimbo.chipped.container.ChippedContainer; import com.grimbo.chipped.container.ChippedContainerType; import com...
/* MacCroatian.java -- Charset implementation for the MacCroatian character set. Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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 ...
package com.ruoyi.web.service.item.impl; import com.ruoyi.web.domain.UserProjectAttention; import com.ruoyi.web.mapper.item.UserProjectAttentionMapper; import com.ruoyi.web.service.item.UserProjectAttentionService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Ser...
/* Vous êtes libre de : */ package info.emptycanvas.library.script; import info.emptycanvas.library.object.ColorTexture; import java.util.ArrayList; import info.emptycanvas.library.object.Point3D; import java.awt.Color; public class InterpretePoint3DCouleur implements Interprete { private String repertoire...
package com.gochinatv.cdn.api.shardingjdbc; import io.shardingjdbc.core.api.ShardingDataSourceFactory; import io.shardingjdbc.core.api.config.ShardingRuleConfiguration; import io.shardingjdbc.core.api.config.TableRuleConfiguration; import io.shardingjdbc.core.api.config.strategy.InlineShardingStrategyConfiguration; im...
/* * 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 cz.habarta.typescript.generator.p1; import cz.habarta.typescript.generator.p2.B; public class C extends B { public String sc; }
package org.arend.term.concrete; import org.arend.naming.reference.LocalReferable; import org.arend.naming.reference.Referable; import org.arend.prelude.Prelude; import org.arend.term.Fixity; import java.math.BigInteger; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.ut...
package p23; import util.ListNode; import java.util.Comparator; import java.util.PriorityQueue; /** * @author Glory * @date 2020/4/26 15:02 */ public class Solution { /** * 优先队列 */ public ListNode mergeKLists(ListNode[] lists) { if (lists.length == 0) return null; ListNode dumm...
package week.of.awesome.game; import java.util.ArrayList; import java.util.Collection; import com.badlogic.gdx.math.Vector2; public abstract class ActivatableSpec { public Vector2 position; public Collection<String> wellActivatorIDs = new ArrayList<>(); }
package com.zdream.famitracker.sound.channels; import com.zdream.famitracker.test.FamitrackerLogger; /** * 2A03 Square 1 * @author Zdream */ public final class Square1Chan extends ChannelHandler2A03 { public Square1Chan() { m_iDefaultDuty = 0; } @Override public void refreshChannel() { int period = calc...
package org.cajunc2.dev80.ui; import javax.swing.JProgressBar; import org.cajunc2.dev80.ui.topic.Commands; import org.cajunc2.dev80.ui.topic.Events; import org.cajunc2.util.topic.TopicHandler; public class ROMBurnProgressBar extends JProgressBar { private static final long serialVersionUID = 1L; public ROMBurnPro...
package iiit.speech.vnrvjiet.itra.coughanalysis; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import lib.sound.sampled.AudioFileFormat; import lib.sound.sampled.AudioInputStream; import lib.sound.sampled.AudioSyst...
package javacommon.mail; import org.springframework.beans.factory.InitializingBean; import org.springframework.mail.SimpleMailMessage; import org.springframework.mail.javamail.JavaMailSender; import org.springframework.util.Assert; import cn.org.rapid_framework.freemarker.FreemarkerTemplateProcessor; import cn.org.ra...
package smithereen.routes; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import smithereen.Utils; import smithereen.data.Account; import smithereen.data.Post; import smithereen.data.User; import smithereen.data.notifications.Notification; import smithereen....
package fade.util; import scala.Serializable; public class Chunk implements Serializable { public final int id; public final long offset; public final byte[] data; public Chunk(int id, long offset, byte[] data) { this.id = id; this.offset = offset; this.data = data; } }
/** * This document is a part of the source code and related artifacts * for CollectionSpace, an open source collections management system * for museums and related institutions: * * http://www.collectionspace.org * http://wiki.collectionspace.org * * Copyright © 2009 Regents of the University of California * ...
/* * 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 2002-2022 CS GROUP * Licensed to CS GROUP (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
package net.tindersamurai.escapy.components.node; import com.github.henryco.injector.meta.annotations.Provide; import lombok.extern.java.Log; import net.tindersamurai.escapy.components.model.plain.EmptyModel; import net.tindersamurai.escapy.components.node.plain.data.NodeData; import net.tindersamurai.escapy.map.node....
package br.com.livroandroid.mylibrary; /** * Created by Usuário on 16/04/2015. */ public class ClasseUtilitaria { public static String hello() { return "Ricardo"; } }
package com.clubobsidian.dynamicgui.manager.dynamicgui; import java.util.ArrayList; import java.util.List; import com.clubobsidian.dynamicgui.entity.PlayerWrapper; import com.clubobsidian.dynamicgui.replacer.impl.Replacer; public class ReplacerManager { private static ReplacerManager instance; private List<Rep...
package shitao; import java.util.List; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.annotation.Rollback; import org.springframework.test.context.ContextConfigurat...
package io.deephaven.db.v2.tuples.generated; import io.deephaven.datastructures.util.SmartKey; import io.deephaven.db.util.tuples.generated.LongDoubleFloatTuple; import io.deephaven.db.v2.sources.ColumnSource; import io.deephaven.db.v2.sources.WritableSource; import io.deephaven.db.v2.sources.chunk.Attributes; import ...
package com.batdemir.android.todolist.application.android; import com.batdemir.android.todolist.application.android.Tools.EditTextTools.ToolEditText; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; public class EmailValidationTest { @Test public ...
package exchange.tests.integration; import exchange.core.common.config.PerformanceConfiguration; public final class ITExchangeCoreIntegrationLatency extends ITExchangeCoreIntegration { @Override public PerformanceConfiguration getPerformanceConfiguration() { return PerformanceConfiguration.latencyPer...
/* * 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...
// Copyright 2020 The Nomulus 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 a...
package no.nav.bidrag.beregn.barnebidrag.rest.controller; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertAll; import static org.junit.jupiter.api.Assertions.fail; import static org.springframework.http.HttpStatus.OK; import java.math.BigDecimal; import j...
/* * Copyright (c) 2001-2004 Ant-Contrib project. 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 ...
/* * arcus-java-client : Arcus Java client * Copyright 2010-2014 NAVER Corp. * * 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) 2016-present, RxJava Contributors. * * 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...
package isula.aco; import javax.naming.ConfigurationException; import java.time.Duration; import java.time.Instant; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; /** * The main component of the framework: Is the one in charg...
package com.jockie.bot.core.command.manager.impl; import java.util.function.BiConsumer; import com.jockie.bot.core.command.impl.CommandEvent; class ReturnHandler<T> { private Class<?> type; private BiConsumer<CommandEvent, T> returnHandler; private boolean handleInheritence; public ReturnHandler(Class<?>...
/** * 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...
public class StringTest01 { public static void main(String[] args) { //字符串的构造方法 //第一种 String a = "hello"; //第二种 byte[] by = {97,98,99};// 97是a,98是b,99是c String b = new String(by);//abc /* 输出一个引用的时候,会自动调用toString方法,默认Object的话,自动输出内存地址 String 类已经重写了toSting(...
/* * Copyright (c) 2018, 2020, 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 ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. package samples.com.microsoft.azure.sdk.iot; import com.microsoft.azure.sdk.iot.device.*; import com.microsoft.azure.sdk.iot.device.transport.IotHubConnectionStatus; ...
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.bian.dto.BQAdministerRetrieveOutputModelAdministerInstanceAnalysis; import org.bian.dto.BQA...
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.ccp.ossclient.models; import com.aliyun.tea.*; /** * */ public class GetUserAccessTokenRequest extends TeaModel { @NameInMap("role") public String role; @NameInMap("user_id") @Validation(required = true) public String us...
/* * Copyright 2014 Red Hat, Inc. and/or its affiliates. * * Licensed under the Eclipse Public License version 1.0, available at * http://www.eclipse.org/legal/epl-v10.html */ package org.jboss.forge.roaster.spi; import org.jboss.forge.roaster.model.ExpressionHolder; import org.jboss.forge.roaster.model.express...
package com.ruoyi.system.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.ruoyi.system.domain.SysDictData; import com.ruoyi.system.mapper.SysDictDataMapper; import com.ruoyi.system.service.ISysDictDataService; ...
package com.hb.library.rxtask.comm; import android.os.AsyncTask; /** * 任务接口 * Created by HuangBin on 2017/11/12. */ public interface Task { boolean isCancelTask(); boolean cancelTask(); boolean cancelTask(boolean mayInterruptIfRunning); AsyncTask.Status getTaskStatus(); }
//,temp,HBaseTimelineReaderImpl.java,105,120,temp,AppLevelTimelineCollectorWithAgg.java,99,109 //,3 public class xxx { @Override protected void serviceStop() throws Exception { appAggregationExecutor.shutdown(); if (!appAggregationExecutor.awaitTermination(10, TimeUnit.SECONDS)) { LOG.info("App-level ...