text
stringlengths
7
995k
package org.springframework.samples.petclinic.sample; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class SampleControllerTest { @Test public void testDoSomething(){ SampleRepository sampleRepository = new SampleRepository(); SampleController sampleController = new Sampl...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 门店类目配置信息 * * @author auto create * @since 1.0, 2017-02-07 16:47:06 */ public class ShopCategoryConfigInfo extends AlipayObject { private static final long serialVersionUID = 618921389966637...
package com.inepex.translatorapp.shared.kvo; public class TranslatedValueConsts { public static final String descriptorName = "translatedValueDescriptor"; public static final String searchDescriptor = "translatedValueSearchDescriptor"; // field contsts public static final String k_id = "id"; publ...
/* * Copyright 2015 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...
/*=============================================================================== * Copyright (c) 2010-2012 University of Massachusetts. All Rights Reserved. * * Use of the RankLib package is subject to the terms of the software license set * forth in the LICENSE file included with this software, and also availab...
package com.springboot.demo.common.db; import lombok.extern.slf4j.Slf4j; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.After; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.aspectj.lang.annotation.Pointcut; import org.aspectj.lang.reflect.Method...
/* * Copyright 2020-2021 Huawei Technologies Co., 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...
package com.gupao.proxy.dynamicproxy.jdkproxy; /** * @ProjectName: DesignPattern * @ClassName: Test * @Description: TODO(一句话描述该类的功能) * @Author: tangqi * @Date: 2020/4/24 1:12 下午 * @Version v1.0 */ public class Test { public static void main(String[] args) { JdkMeiProxy jdkMeiPo = new JdkMeiProxy()...
package marina; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.text.ParseException; import java.util.ArrayList; import java.util.Collections; i...
package com.blamejared.crafttweaker_annotation_processors.processors.document.shared.members; import com.blamejared.crafttweaker_annotation_processors.processors.*; import com.blamejared.crafttweaker_annotation_processors.processors.document.*; import com.blamejared.crafttweaker_annotation_processors.processors.docume...
package org.monadium.core.control; import java.time.Duration; import java.util.stream.IntStream; import org.junit.jupiter.api.*; import static org.junit.jupiter.api.Assertions.*; import org.monadium.core.control.Functional; import static org.monadium.core.control.Functional.*; public class FunctionalTest { @Test p...
package de.charite.compbio.jannovar.annotation.builders; import com.google.common.collect.ImmutableList; import de.charite.compbio.jannovar.annotation.Annotation; import de.charite.compbio.jannovar.annotation.InvalidGenomeVariant; import de.charite.compbio.jannovar.annotation.VariantEffect; import de.charite.compbio.j...
// Copyright 2022 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...
/* * Copyright 2014-2021 Lukas Krejci * 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.apache.org/licenses...
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * 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. * *...
/* * Copyright (c) 2017 Public Library of Science * * 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, modify, ...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.vulkan; /** * An application may wish to reference device memory in multiple Vulkan logical devices or instances, in multiple processes, and/or in multiple APIs. Thi...
package lambda.rodeo.lang.types; import static org.objectweb.asm.Opcodes.GETSTATIC; import java.util.Optional; import lambda.rodeo.lang.compilation.CollectsErrors; import lambda.rodeo.lang.scope.Entry; import lambda.rodeo.lang.scope.TypeResolver; import lambda.rodeo.runtime.types.LRString; import lombok.EqualsAndHas...
package cat.xarxarepublicana.hashtagsxrep.domain.extraction; import cat.xarxarepublicana.hashtagsxrep.domain.monitor.Monitor; import cat.xarxarepublicana.hashtagsxrep.domain.twitter.Tweet; import static cat.xarxarepublicana.hashtagsxrep.domain.service.TimeConverter.toLocalDateTime; public class TwitterExtractionFact...
package com.central.mall.admin.service.impl; import com.central.mall.admin.dao.UmsRolePermissionRelationDao; import com.central.mall.admin.mapper.UmsRoleMapper; import com.central.mall.admin.mapper.UmsRolePermissionRelationMapper; import com.central.mall.admin.model.*; import com.central.mall.admin.service.UmsRoleServ...
package ru.gavrilov.shell; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.shell.standard.ShellComponent; import org.springframework.shell.standard.ShellMethod; import org.springframework.shell.standard.ShellOption; import ru.gavrilov.model.Book; import ru.gavrilov.service.Boo...
package com.android.js.androidnativeapis; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on a...
package dat255.eventify.util; public interface MyActivityListener { void updateAdapter(); void displayAddress(String mAddressOutput); }
package io.github.dbstarll.dubai.model.entity; import org.bson.types.ObjectId; import java.util.Date; public interface EntityModifier extends FunctionalBase { void setId(ObjectId id); void setDateCreated(Date dateCreated); void setLastModified(Date lastModified); Object clone() throws CloneNotSupp...
/** * 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.sejoung.codetest.synchronizedcollection; import org.apache.commons.collections4.collection.SynchronizedCollection; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CyclicBarrier; import java.util.concurrent.Execu...
/* * Copyright 2021-2022 Aklivity Inc. * * Aklivity 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 * * Unless required...
/*=============================================================================== Copyright (c) 2016 PTC Inc. All Rights Reserved. Copyright (c) 2012-2014 Qualcomm Connected Experiences, Inc. All Rights Reserved. Vuforia is a trademark of PTC Inc., registered in the United States and other countries. ===============...
/* * 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 2016-2017 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 applica...
/* 单例设计模式: 只能有一个实例; 自己创建唯一实例 提供外部访问方法 代码: 私有构造函数 建立本类对象 提供公有方法获取实例对象 */ /* 饿汉式:线程安全,耗费资源 public class singele{ private static final Single instance = new Single(); private Single(){ } public static Single getInstance(){ return instance; } } 懒汉式:多个线程调用时等待,耗费资源 public...
/* * Copyright (c) 2013 DataTorrent, 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...
/*8:*/ /*2:*/ package javaTeX; import java.awt.*; import java.io.*; import java.util.*; import javaTeX.*;/*:2*/ public class wordout extends DataOutputStream{ public int filebuf; public boolean eof= false; public String name; wordout(OutputStream out){ super(out); } wordout(String name)throws FileNotFoundException,IOE...
package org.xcolab.view.config.spring.properties; import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties("tomcat") public class TomcatProperties { private final Ajp ajp = new Ajp(); public Ajp getAjp() { return ajp; } public static class Ajp { ...
package com.viker.android.vreader.database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.viker.android.vreader.modle.Book; import com.viker.android.vreader.modle.Chapter; import com.viker.android.vreader...
package arcs.sdk.android.dev.api; interface SingletonStore extends Store { // TODO: add parameters and return values. void get(); void set(); void clear(); }
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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...
/* * Copyright (c) 2002-2009 Gargoyle Software 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 ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: PSimpleBean.proto package org.redkalex.test.protobuf; public final class PSimpleBeanOuterClass { private PSimpleBeanOuterClass() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } pu...
package core; import static core.Constants.*; import execution.LoadAndRun; import javax.swing.*; import java.awt.*; import java.awt.geom.AffineTransform; import static java.awt.Color.black; public class BattleView extends JComponent { static int offset = 0; int scale; // static int carSize = 5; stati...
/* * #%L * ELK OWL API Binding * * $Id$ * $HeadURL$ * %% * Copyright (C) 2011 Department of Computer Science, University of Oxford * %% * 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 ...
package edu.co.icesi.appmoviles.proyectofinal; import android.os.Bundle; import androidx.appcompat.app.AppCompatActivity; public class MessageActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView...
/*** * Copyright 2002-2010 jamod development team * * 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...
/* * 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.rest.job; import org.elasticsearch.client....
package com.telran.tests; import org.openqa.selenium.By; import org.testng.annotations.Test; public class CreateBoardTest extends TestBase { @Test public void boadrdCreationTest() throws InterruptedException { clickOnLoginButton(); fillUserForm("zalannet@yandex.ru", "hjrhjr27"); confir...
/* * 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...
// Copyright 2018 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
/* * Copyright (c) 2004-2011, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list of ...
package com.ksyun.media.shortvideo.demo.recordclip; import com.ksyun.media.shortvideo.demo.R; import com.ksyun.media.shortvideo.demo.RecordActivity; import android.os.Handler; import android.view.View; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; /** * record progress controller ...
package org.anddev.andengine.engine.camera; import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_X; import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_Y; import javax.microedition.khronos.opengles.GL10; import org.anddev.andengine.collision.RectangularShapeCollisionChecker; ...
/* * Copyright (C) 2012 The Guava 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...
package seedu.weme.model.template.exceptions; /** * Signals that the operation is unable to find the specified meme text. */ public class MemeTextNotFoundException extends RuntimeException {}
/* * 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 2019-2019 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 app...
/* * Copyright 2019 WeBank * * 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 writin...
package org.adligo.tests4j_v1_tests.jacoco.plugin.discovery.delegates; import java.util.List; import org.adligo.tests4j.models.shared.association.I_ClassParents; import org.adligo.tests4j.models.shared.association.I_ClassParentsLocal; import org.adligo.tests4j.run.helpers.I_CachedClassBytesClassLoader; import org.adl...
/** * DropDownCustomFieldValue.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.v201508; /** * A {@link CustomFieldValue} for a {@link CustomField} that has a * {@link CustomField#dataType} * ...
package com.cloud.gateway.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** * 限流配置 使用配置文件的方式进行初始化 * @author Aijm * @since 2019/10/31 */ ...
package mekanism.client.render.item; import mekanism.api.EnumColor; import mekanism.api.energy.IEnergizedItem; import mekanism.client.ClientProxy; import mekanism.client.MekanismClient; import mekanism.client.model.ModelArmoredJetpack; import mekanism.client.model.ModelAtomicDisassembler; import mekanism.client.model....
/** * 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 factorization.api.datahelpers; import factorization.util.DataUtil; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.fml.relauncher.Side; import java.io.DataInput; import java.io.IOException; public class DataInPacket extends DataHelper { private fina...
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
/* * Copyright 2000-2020 Vaadin 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...
/** * Copyright © 2020 SOLTEKNO.COM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
package com.commercetools.history.models.change; import java.util.*; import java.util.function.Function; import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @Generated(value = "io.vrap.rmf.codegen.rendring.CoreCodeGenerator", comments = "https://github.com/vrapio/rmf-codegen") pub...
package ee.ioc.phon.android.speak.service; import android.content.Intent; import java.io.IOException; import ee.ioc.phon.android.speak.ChunkedWebRecSessionBuilder; import ee.ioc.phon.android.speak.R; import ee.ioc.phon.android.speak.utils.QueryUtils; import ee.ioc.phon.android.speechutils.utils.PreferenceUtils; pub...
/* * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.facebook.internal; import android.os.Bundle; import org.json.JSONException; import org.json.JSONObject; // Referenced classes of package com....
package cn.iocoder.yudao.module.bus.convert.projectManifest; import java.util.*; import cn.iocoder.yudao.framework.common.pojo.PageResult; import org.mapstruct.Mapper; import org.mapstruct.factory.Mappers; import cn.iocoder.yudao.module.bus.controller.admin.projectManifest.vo.*; import cn.iocoder.yudao.module.bus.da...
package com.mmall.service.impl; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.google.common.collect.Maps; import com.mmall.common.ServerResponse; import com.mmall.dao.ShippingMapper; import com.mmall.pojo.Shipping; import com.mmall.service.IShippingService; import org.sprin...
/* * Copyright (c) 2016 Seth J. Morabito <web@loomcom.com> * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy,...
/* * ======================================================================== * * 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...
/* * Copyright 2013 Amazon Technologies, 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://aws.amazon.com/apache2.0 * * This file is distributed on an "AS IS" BASIS...
/* * Copyright 2005 JBoss 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 i...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.asofdate.hauth.service.impl; import com.asofdate.hauth.dao.DomainDao; import com.asofdate.hauth.dao.DomainShareDao; import com.asofdate.hauth.dto.DomainDTO; import com.asofdate.hauth.entity.DomainEntity; import com.asofdate.hauth.service.DomainService; import com.asofdate.utils.RetMsg; import com.asofdate....
package com.logictrue.system.api.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; /** * 文件信息 * * @author ruoyi */ public class SysFile { /** * 文件名称 */ private String name; /** * 文件地址 */ private String url;...
/* * 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...
/** * Automatically generated file. DO NOT MODIFY */ package com.mobeta.android.dslv; public final class BuildConfig { public static final boolean DEBUG = false; public static final String PACKAGE_NAME = "com.mobeta.android.dslv"; public static final String BUILD_TYPE = "release"; public static final String ...
/* * $Id$ * $URL$ * * ==================================================================== * Ikasan Enterprise Integration Platform * * Distributed under the Modified BSD License. * Copyright notice: The copyright for this software and a full listing * of individual contributors are as shown in the packaged...
package com.vmware.vim25; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for AddGuestAliasRequestType complex type. * * <p>The following schema fragment sp...
package mgci.jhdap.shogi; /** A Class representing a silver general in a game of shogi. */ public class SilverGeneral extends PromotablePiece { /** Constructs a silver general at a given x and y-value, * with the given allegiance. * @param x The x-value at which this silver general is locate...
package com.torlus.jnl.entities; public class Mx2h extends Mx2 { public Mx2h() { // Same as MX2 (?) super(); } }
package com.fifty.programs; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.Scanner; import java.util.Set; public class StringFilter1 { /* * 编写一个字符串过滤程序,若字符串中出现多个相同的字符,将非首次出现的字符过滤 */ public static void main(String[] args) { System.out.println("请输入:"); Scanner sc = new Scanner(Sy...
package io.github.sdwfqin.samplecommonlibrary.base; import android.content.res.Configuration; import android.os.Bundle; import androidx.annotation.Nullable; import androidx.viewbinding.ViewBinding; import com.qmuiteam.qmui.skin.QMUISkinManager; import com.qmuiteam.qmui.util.QMUIStatusBarHelper; import com.sdwfqin.qu...
/* * Copyright 2017 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...
package gov.healthit.chpl.web.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import...
package cloud.javacoder.bbcnewsgems.service.parsing; import org.springframework.stereotype.Service; import java.util.List; @Service public interface HTMLParser { List<String> parse(String html); }
package br.com.casadocodigo.livraria.application; import java.io.IOException; import java.util.List; import br.com.casadocodigo.livraria.Autor; import br.com.casadocodigo.livraria.dao.ProdutoDAO; import br.com.casadocodigo.livraria.io.Exportador; import br.com.casadocodigo.livraria.produtos.Livro; import br.com.casad...
package de.tudarmstadt.lt.lm.berkeleylm; import java.io.File; import java.util.Arrays; import java.util.List; import java.util.Map.Entry; import java.util.Random; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import de.tudarmstadt.lt.lm.berkeleylm.BerkeleyStringReader; import de.tudarmstadt.lt.lm.berkeley...
package org.easyrec.test.unitils; import org.dbunit.database.DatabaseConnection; import org.dbunit.database.IDatabaseConnection; import org.dbunit.database.QueryDataSet; import org.dbunit.dataset.xml.FlatXmlWriter; import java.io.FileOutputStream; import java.sql.Connection; import java.sql.DriverManager; /** * Cre...
package i2p.bote.android.addressbook; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import java.security.GeneralSecurityException; import i2p.bote.android.R; i...
package com.ds.dubbo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SpringBootConsumerApplication { public static void main(String[] args) { SpringApplication.run(SpringBootConsumerApplication.cl...
/** * AdUnitHierarchyError.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.v201311; /** * Caused by creating an {@link AdUnit} object with an invalid hierarchy. */ public class AdUnitHierarchyError ...
package org.acme.dvdstore.service; import org.acme.dvdstore.model.Film; import org.acme.dvdstore.repository.FilmRepository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Service; import lombok.RequiredArgsConstructor; @Service @RequiredArgsConstructor public clas...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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...
package com.graf.docker.client.params; public class CreateImageParam extends Param { protected CreateImageParam(String name, String value) { super(name, value); } private static CreateImageParam create(String name, String value) { return new CreateImageParam(name, value); } /** * Name of the image to pul...
package main.java.Methodos; import java.text.Collator; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * @author ECM */ public class Methodos { protected static S...
package com.winson.spring.utils; import com.winson.spring.overview.domain.User; import org.springframework.util.ReflectionUtils; import java.lang.reflect.Field; import java.lang.reflect.Method; /** * @author winson * @date 2021/10/9 **/ public class ReflectionMethodUtilsDemo { public static void main(String[...