text
stringlengths
7
995k
package com.byteworks.servbyte.controller; import com.byteworks.servbyte.response.AppResponse; import org.springframework.http.HttpStatus; public class BaseController { public BaseController() { } public <T> AppResponse<T> getResponse(HttpStatus status, T data) { return data == null ? this.getFa...
/* * Copyright 2021 The Dapr Authors * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in w...
/** * 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 not use t...
/* * Copyright (c) 2008-2019 by Oliver Boehm * * 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 ink.ikx.rt.api.mods.thaumcraft; import crafttweaker.annotations.ModOnly; import ink.ikx.rt.impl.mods.crafttweaker.RTRegister; import ink.ikx.rt.impl.mods.thaumcraft.MCAspectList; import stanhebben.zenscript.annotations.*; import thaumcraft.api.aspects.AspectList; @RTRegister @ModOnly("thaumcraft") @ZenClass("...
package com.tinyreports.report.generation.report; import com.tinyreports.common.DataProvider; import com.tinyreports.common.TemplateVariables; import com.tinyreports.common.exceptions.TinyReportTemplateException; import com.tinyreports.common.utils.CollectionUtils; import com.tinyreports.common.utils.ContextUtils; imp...
package com.thanple.gs.generator; import com.thanple.gs.common.Constant; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; /** * Created by Thanple on 2017/4/18. */ public class CreateProtocolCpp { /** * 通过执行cmd命令调用protoc.exe程序 * proto...
/* * Copyright (C) 2017 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.extra.repo; import com.opengamma.strata.basics.currency.Currency; import com.opengamma.strata.basics.currency.CurrencyAmount; import com.opengamma.strata...
/* * Copyright 2018 TiKV Project Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * 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.daniel.security.core.validateCode.smsSender; /** * 短信验证码发送接口 */ public interface SmsCodeSender { void send(String mobile, String code); }
/* * 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 * distr...
package com.teamfish.foodtech.block; import com.teamfish.foodtech.crops.testcrop; import com.teamfish.foodtech.item.CustomFoodComponents; import net.fabricmc.api.ModInitializer; import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap; import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSet...
package com.atguigu.gmall.sms.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * 秒杀活动 * * @author fengge * @email fengge@atguigu.com * @date 2021-02-19 19:29:13 */ @Data...
package com.Temple.NutriBuddi.UserManagement.vo; import java.sql.Date; import com.Temple.NutriBuddi.UserManagement.repository.EatsRepository; public class EatsVO { int numServings; int foodId; EatsRepository eatsRepository; int userId; public EatsVO(int userId, int numServings, int foodId, EatsRepository e...
package controller; import business.BOFactory; import business.BOTypes; import business.custom.CustomerBO; import business.custom.ItemBO; import business.custom.OrderBO; import com.jfoenix.controls.JFXButton; import com.jfoenix.controls.JFXComboBox; import com.jfoenix.controls.JFXTextField; import db.DBConnection; imp...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/translate/v3beta1/translation_service.proto package com.google.cloud.translate.v3beta1; /** * <pre> * The response message for discovering supported languages. * </pre> * * Protobuf type {@code google.cloud.translation.v3beta1.Su...
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other 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 License at * * http://www.apach...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2019 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
/* * 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.license; import org.apache.logging.log4j.LogManager...
package com.oc.hawk.project.port.driven.persistence; import com.oc.hawk.project.domain.model.codebase.git.GitCommitLog; import com.oc.hawk.project.domain.model.codebase.git.GitCommitLogID; import com.oc.hawk.project.domain.model.gitrecord.GitCommitLogRepository; import com.oc.hawk.project.port.driven.persistence.po.Gi...
package org.yatopiamc.c2me.common.util; public class SneakyThrow { public static void sneaky(Throwable throwable) { throw0(throwable); } @SuppressWarnings("unchecked") private static <T extends Throwable> void throw0(Throwable throwable) throws T { throw (T) throwable; } }
package com.krishagni.catissueplus.core.biospecimen.domain.factory; import com.krishagni.catissueplus.core.biospecimen.domain.CollectionProtocolGroup; import com.krishagni.catissueplus.core.biospecimen.events.CollectionProtocolGroupDetail; public interface CollectionProtocolGroupFactory { CollectionProtocolGroup cre...
package org.hotpoor.pyq.spinner; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public voi...
/* * Copyright 2021 IBM All Rights Reserved. * * SPDX-License-Identifier: Apache-2.0 */ package org.hyperledger.fabric.client; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Objects; final class CallOptions { private final List<CallOption> evaluate; priv...
package hu.ibello.gradle; import org.gradle.api.DefaultTask; import org.gradle.api.Plugin; import org.gradle.api.Project; public class IbelloPlugin implements Plugin<Project> { @Override public void apply(Project project) { project.getExtensions().create("ibello", IbelloPluginExtension.class); registerTaskT...
/* * MIT License * * Copyright (c) 2020-present Cloudogu GmbH and Contributors * * 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 r...
package test.javassist.proxy; import junit.framework.TestCase; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.lang.reflect.Method; import javassist.util.proxy.ProxyFactory; public class Pr...
package com.openxc.openxcdiagnostic.dash; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.location.Location; import android.location.LocationListener; import android.location.Locat...
package com.universalcinemas.application; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; import org.springframework.data.jpa.repository.config.EnableJpaRepositories...
/* * 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.github.eurb.usb.printer.interfaces; import android.hardware.usb.UsbDevice; import com.github.eurb.usb.printer.exceptions.GenericPrinterException; import java.util.List; /** * Created by E.U.R.B. on 27/10/17. */ public interface IGenericPrinter { /** * Scan all printers connected to a USB port...
package io.minimum.minecraft.alien.minecraft.bedrock.data; public class AuthData { private final String identityPublicKey; private final AuthProfile extraData; public AuthData(String identityPublicKey, AuthProfile extraData) { this.identityPublicKey = identityPublicKey; this.extraData = ex...
/******************************************************************************* * Copyright (c) Contributors to the Eclipse 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 *...
/** * Copyright (C) 2006-2017 Talend Inc. - www.talend.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 appli...
// Copyright 2000-2020 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 org.jetbrains.plugins.groovy.dsl; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.p...
/* * RED5 Open Source Media Server - https://github.com/Red5/ Copyright 2006-2016 by respective authors (see below). 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://ww...
/* * 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 not ...
package com.hpw.myapp.widget.imageselector.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class LocalMediaFolder implements Serializable { private String name; private String path; private String firstImagePath; private int imageNum; private List<Loca...
package ru.sbtqa.tag.goms.process.tests; public class DefaultTests { }
package org.kylin.weiranweather.gson; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by hello on 2017/10/24. */ public class Forecast { /** * astro : {"mr":"09:13","ms":"20:32","sr":"06:27","ss":"17:54"} * cond : {"code_d":"100","code_n":"100","...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package org.monet.core.async; import java.util.concurrent.CompletableFuture; import java.util.function.Supplier; /** * Async timer options. */ public interface AsyncTimerOptions { /** * Gets the recurring future supplier. * * @return The recurring future supplier. */ Supplier<CompletableFuture<?>> getRec...
/* * Copyright 2020-2021 redragon.dongbin * * 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 o...
// This is a generated file. Not intended for manual editing. package claims.bold.intellij.avro.idl.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface AvroIdlDeclaration extends PsiElement { }
package io.g740.components.uid.tinyid.exception; /** * @author du_imba */ public class TinyIdSysException extends RuntimeException { public TinyIdSysException() { super(); } public TinyIdSysException(String message) { super(message); } public TinyIdSysException(String message, ...
// Copyright 2019 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 in ...
/* 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...
package com.example.sheng.coolweather.db; import org.litepal.crud.DataSupport; /** * Created by Administrator on 2018/8/26. */ public class County extends DataSupport { private int id; private String countyName; private String weatherId; private int cityId; public int getId() { return ...
/** * Copyright (c) Microsoft Corporation * * All rights reserved. * * MIT License * * 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 limitati...
/* * 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 models; import com.avaje.ebean.Model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; /** * Created by lubuntu on 8/20/16. */ @Entity public class Profile extends Model { @Id @GeneratedValue(strategy = G...
package org.jacobvv.utils; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import androidx.core.app.ActivityCompat; import androidx.fragment.app.Fragment; import android.util.Log; /** * ActivityUtils, * * @author weihong * @date 18-6-7 */ @Sup...
package com.jfly.oauth.service.impl; import com.alicp.jetcache.anno.CacheType; import com.alicp.jetcache.anno.Cached; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.jfly.api.entity.JflyUser; import com.jfly.api.mapper.J...
package cn.com.ctrl.yjjy.framework.config; import com.google.code.kaptcha.text.impl.DefaultTextCreator; import java.util.Random; /** * 验证码文本生成器 * * @author yjjy */ public class KaptchaTextCreator extends DefaultTextCreator { private static final String[] CNUMBERS = "0,1,2,3,4,5,6,7,8,9,10".split(","); @...
package cn.xjjdog.bcmall.utils.quickdev.magicjpa; import cn.xjjdog.bcmall.utils.db.AbstractEntity; import cn.xjjdog.bcmall.utils.utils.BeanUtils; import com.google.common.base.Preconditions; import com.google.common.collect.Lists; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Au...
package com.association.common.config.cache; import com.association.common.config.cache.api.CacheManager; import com.association.common.config.redis.RedisManagerFactory; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation....
/* * Copyright 2013, 2014 Deutsche Nationalbibliothek * * 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.eltechs.axs.xserver.keysyms; public interface KeysymsEnum { int getKeysym(); }
package org.simpleflatmapper.csv.impl.primitive; import org.simpleflatmapper.csv.mapper.CsvMapperCellHandler; import org.simpleflatmapper.reflect.Getter; import org.simpleflatmapper.reflect.primitive.IntGetter; public class IntDelayedGetter<T> implements IntGetter<CsvMapperCellHandler<T>>, Getter<CsvMapperCellHandler...
package com.augus.restTest.domain.dto; import java.util.List; public class LazyList<T> { private int length; private List<T> payload; public LazyList(List<T> payload, int length) { this.length = length; this.payload = payload; } public int getLength() { return length; ...
/* * Copyright (c) 2021, WSO2 Inc. (http://www.wso2.org). * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * 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 net.andromedarabbit.mybatis.pagination; /** * Created by tywin on 2015. 11. 16.. */ import net.andromedarabbit.configuration.MyBatisConfig; import net.andromedarabbit.configuration.TestConfiguration; import net.andromedarabbit.persistence.dao.MysqlUserDao; import net.andromedarabbit.persistence.model.MysqlU...
package com.deange.uwaterlooapi; import com.deange.uwaterlooapi.api.BuildingsApi; import com.deange.uwaterlooapi.api.CoursesApi; import com.deange.uwaterlooapi.api.EventsApi; import com.deange.uwaterlooapi.api.FoodServicesApi; import com.deange.uwaterlooapi.api.LegacyWeatherApi; import com.deange.uwaterlooapi.api.News...
/** * AdRuleServiceInterface.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201405; public interface AdRuleServiceInterface extends java.rmi.Remote { /** * Creates new {@link AdRule} objects...
package com.scalar.db.transaction.consensuscommit; import com.scalar.db.api.TransactionState; import com.scalar.db.io.BigIntValue; import com.scalar.db.io.IntValue; import com.scalar.db.io.TextValue; import com.scalar.db.io.Value; /** */ public final class Attribute { public static final String ID = "tx_id"; publ...
package com.product.exception; public class ApplicationException extends Exception { /** * */ private static final long serialVersionUID = 1L; private String message; private String detail; public ApplicationException(String message, String detail) { this.message = message; ...
/* * 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.ml.integration; import org.elasticsearch.acti...
package com.yanbin.tree.tree234; import com.yanbin.tree.searchTree.Node; import com.yanbin.tree.searchTree.Tree; import java.util.Scanner; /** * @author yanbin * @date 2017/12/9 13:42 */ public class Test234 { public static void main(String[] args) { boolean isRunner = true; Tree234 tree = new...
package com.example.consumer.controller; import com.example.consumer.feign.ProviderClient; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class HiControl...
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.vulkan; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.Checks.*; import static org.lwj...
/* * Copyright (c) 2020, Patyfatycake <https://github.com/Patyfatycake/> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyrigh...
package com.denizenscript.denizen.scripts.commands.player; import com.denizenscript.denizen.scripts.containers.core.FormatScriptContainer; import com.denizenscript.denizen.tags.BukkitTagContext; import com.denizenscript.denizen.utilities.FormattedTextHelper; import com.denizenscript.denizen.utilities.Utilities; import...
/* * 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.hss01248.spider.douban; import com.hss01248.spider.util.FileDownloader; import org.apache.log4j.PropertyConfigurator; import us.codecraft.webmagic.Page; import us.codecraft.webmagic.Site; import us.codecraft.webmagic.Spider; import us.codecraft.webmagic.pipeline.FilePipeline; import us.codecraft.webmagic.p...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package moacscoper; /** * * @author aashraf */ public class DeploymentTuple { Server destination; // destination VM or server SoftwareComponent component; // component to be deployed public Deplo...
package org.jboss.windup.web.addons.websupport.tsmodelgen; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.lang.reflect.Method; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.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 may ...
package com.joanzapata.iconify; import android.support.annotation.CheckResult; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.annotation.Size; import android.widget.TextView; import com.joanzapata.iconify.internal.IconFontDescriptorWrapper; import com.joan...
/* * Copyright 2002-2006,2009 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 requir...
/* * 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 ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__short_console_readLine_preinc_10.java Label Definition File: CWE190_Integer_Overflow.label.xml Template File: sources-sinks-10.tmpl.java */ /* * @description * CWE: 190 Integer Overflow * BadSource: console_readLine Read data from the console using ...
package edu.unr.hci.task; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; public class ThankYouActivity extends AppCompatActivity { Button mExitButton; @Override public void onBackPressed() { // do nothing - disab...
/* * 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.planet_ink.coffee_mud.Items.Weapons; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.plan...
package com.robotsfoundation.weatherapp; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.Vie...
/* * 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 ue06_serienschaltung; /** * * @author Niklas Fuchshofer */ public class Coil extends Component { public Coil (dou...
/* * Copyright 2014 Red Hat, Inc. and/or its affiliates. * * 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 ru.bannikov.exceptions; public class App00_9_1 { public static void main(String[] args) { //Object ref = new int[]{0, 1, 2}; //c точки зрения JVM у ref можно взять int k = ref[0] //int k = ref[0]; //но компилятор проверяет левые части и в Object нет [] // System.out.println(); ...
#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) /** * 领域步骤. */ package ${package}.domain.step;
package com.goosuu.code11; /** * * 内部类方式实现多线程 * */ public class ThreadDemo2 { public static void main(String[] args) { new Thread(){ @Override public void run() { for (int i = 0; i < 10; i++) { System.out.println(Thread.currentThread().getNa...
package quek.undergarden.block; import net.minecraft.block.BlockState; import net.minecraft.block.SaplingBlock; import net.minecraft.block.sapling.SaplingGenerator; import net.minecraft.server.world.ServerWorld; import net.minecraft.util.math.BlockPos; import net.minecraft.world.BlockView; import quek.undergarden.regi...
package gov.va.med.srcalc.domain.calculation; import gov.va.med.srcalc.domain.Patient; import gov.va.med.srcalc.domain.VistaLabs; import gov.va.med.srcalc.domain.VistaPerson; import gov.va.med.srcalc.domain.Patient.Gender; import gov.va.med.srcalc.domain.model.*; import java.util.Date; import java.util.HashMap; impor...
package rst.pdfbox.layout.text; /** * If a drawable is width-respecting, a max width may be set by layouts in order * fit layout constraints. It is the drawable job to do its best to match the * max width (e.g. word-wrap text). */ public interface WidthRespecting { /** * @return the max width to respect....
/* * Copyright 2013-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 mycity.com.citymanage.net; import java.io.File; /** * Created by kyle on 16/11/14. */ public interface Downloadable{ /** * 获取下载目标文件位置 * @return 目标文件 */ File getTargetFile(); void setTargetFile(File f); }
/* * 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.sunbird.learner.util; import java.util.HashMap; import java.util.Map; import org.sunbird.common.models.util.ActorOperations; import org.sunbird.common.models.util.JsonKey; public class AuditLogActions { public static final Map<String, Object> auditLogUrlMap = new HashMap<String, Object>(); static { ...