text
stringlengths
7
1.01M
package com.celestiala.mobile.util.common.clientinfo; import ch.qos.logback.classic.Logger; import com.celestiala.apipotion.core.clientinfo.ClientInfo; import com.celestiala.apipotion.core.clientinfo.ClientPlatform; import com.celestiala.apipotion.core.clientinfo.DeviceInfo; import org.junit.Assert; import org.junit.T...
/* * Copyright (C) 2012 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...
package com.example.exploradordeviajes.Adapters; import android.content.Context; import android.media.Image; import android.support.annotation.NonNull; import android.support.v4.view.PagerAdapter; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageVi...
package me.paulhobbel.discordrp.common.manager; import com.google.gson.Gson; import me.paulhobbel.discordrp.common.config.DiscordRPConfig; import me.paulhobbel.discordrp.common.models.ConfigManifest; import me.paulhobbel.discordrp.common.models.CurseManifest; import me.paulhobbel.discordrp.common.models.DefaultManifes...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ package com.microsoft.azure.toolkit.lib.auth.core.maven; import com.azure.core.credential.TokenCredential; import com.microsoft.azure.AzureEnvironment; im...
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 license...
package dio.innovation.accessPointAPI.repository; import dio.innovation.accessPointAPI.model.DateTypeModel; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface DateTypeRepository extends JpaRepository<DateTypeModel, Long> { }
package com.coolweather.android.gson; import com.google.gson.annotations.SerializedName; /** * 作者:陈俊伟 on 2018/4/22 0022 21:09 * <p> * 作用:xxx */ public class Suggestion { @SerializedName("comf") public Comfort comfort; @SerializedName("cw") public CarWash carWash; public Sport sport; pu...
package com.franz.jig; import org.apache.commons.codec.binary.Base64; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.DefaultHttpClient; import org.json.JSONArra...
// -------------------------------------------------------------------------------- // Copyright 2002-2021 Echo Three, 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:/...
package com.commerce.mall.mapper; import com.commerce.mall.model.CmsSubjectComment; import com.commerce.mall.model.CmsSubjectCommentExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface CmsSubjectCommentMapper { long countByExample(CmsSubjectCommentExample example); int...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE15_External_Control_of_System_or_Configuration_Setting__getCookies_Servlet_81_base.java Label Definition File: CWE15_External_Control_of_System_or_Configuration_Setting.label.xml Template File: sources-sink-81_base.tmpl.java */ /* * @description * CWE: 15 External Cont...
/* * This file is part of Mixin, 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 "Software...
package org.apache.helix.rest.server.service; /* * 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 Apach...
// Released under the MIT License. package net.groboclown.retval.contract; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import javax.annotation.Nonnull; import net.groboclown.retval.Problem; import net.groboclown.retval.RetNullable; import ne...
/* * Copyright 2009 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 requi...
/* * Copyright 2002-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 ap...
package com.uoguelph.feedbackloop; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute ...
/* * 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 band.wukong.mz.g.sku.module; import band.wukong.mz.g.category.SimpleCateConst; import band.wukong.mz.g.sku.bean.SkuPropType; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.nutz.http.Http; import org.nutz.http.Response; import org.nutz.log.Log; import...
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * =============================================================...
/* * Copyright 2009-2020 Aarhus University * * 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...
/* * Copyright © 2015-2020 Santer Reply S.p.A. * * 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...
package com.cszjkj.aisc.tms_user; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; import org.springframework.transaction.annotation.Enabl...
/* * 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.thecodersbreakfast.seren; /** * An exception that signals a problem in the configuration file. * * @author Olivier Croisier */ public class ConfigurationException extends Exception { public ConfigurationException(String message) { super(message); } public ConfigurationException(Str...
package com.hysj.cms.client.model.entity; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.io.Serializable; import java.sql.Timestamp; @Data public class BaseEntity implements Serializable { /** * 添加时间 */ private Timestamp addTime; /** * 更新时间 */ ...
package nyla.solutions.blueprint.jee.ejb; import javax.ejb.*; /** * * <pre> * EJB provides a set of functions to the Entreprise Java Beans * </pre> * @author Gregory Green * @version 1.0 */ public abstract class EJB { /** * * Default constructor * ...
/* * 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 n...
/* * Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package io.ray.streaming.runtime.config.master; import io.ray.streaming.runtime.config.Config; /** Configuration for job scheduler. */ public interface SchedulerConfig extends Config { String WORKER_INITIATION_WAIT_TIMEOUT_MS = "streaming.scheduler.worker.initiation.timeout.ms"; String WORKER_STARTING_WAIT_TIMEO...
package org.bukkit.craftbukkit.block; import net.minecraft.resources.MinecraftKey; import net.minecraft.world.level.block.entity.TileEntityLootable; import org.bukkit.Bukkit; import org.bukkit.Nameable; import org.bukkit.World; import org.bukkit.craftbukkit.util.CraftNamespacedKey; import org.bukkit.loot.LootTable; 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")...
package org.jabref.logic.exporter; import java.io.IOException; import java.io.Writer; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.u...
package com.example.mattermostbridge.service; import com.example.mattermostbridge.model.mattermost.MattermostMessage; import com.example.mattermostbridge.model.mattermost.MattermostRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import ...
package com.readdle.codegen.anotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.TYPE) @Retention(RetentionPolicy.CLASS) public @interface SwiftReference { }
package com.haohaohu.springbootdemo; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class SpringbootdemoApplicationTests { @Test pub...
/* * Copyright 2012-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * JasperReports - Free Java Reporting Library. * Copyright (C) 2001 - 2019 TIBCO Software Inc. All rights reserved. * http://www.jaspersoft.com * * Unless you have purchased a commercial license agreement from Jaspersoft, * the following license terms apply: * * This program is part of JasperReports. * * J...
package com.ducetech.api.security; /** * 令牌异常 */ public class TokenException extends RuntimeException { public TokenException(String message) { super(message); } }
/* * Copyright 2018 John Grosh <john.a.grosh@gmail.com>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package sk.annotation.library.jam.example.ex23; public class MyTypeObj<T> { private T obj; public T getObj() { return obj; } public void setObj(T obj) { this.obj = obj; } }
package leetcode.week_259; import java.util.Arrays; public class FinalValueOfVariableAfterPerformingOperations { public static void main(String[] args) { } private static class Solution { public int finalValueAfterOperations(String[] operations) { return Arrays.stream(operations) ...
/** * This file was auto-generated by the Titanium Module SDK helper for Android * Appcelerator Titanium Mobile * Copyright (c) 2009-2010 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * */ 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...
/* * Copyright (C)2009 - SSHJ 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 law or...
/* * @Project Name: MSP-dependency * @File Name: UserFacadeImpl * @Package Name: com.hay.msp.service.impl.sys * @Date: 17-9-7 下午9:58 * @Creator: hay * @line------------------------------ * @修改人: * @修改时间: * @修改内容: */ package com.hay.msp.service.impl.sys; import com.alibaba.dubbo.config.annotation.Service; im...
package org.hzero.boot.file.dto; import java.util.Date; import java.util.List; import com.fasterxml.jackson.annotation.JsonInclude; /** * * 文件处理标准参数 * * @author xianzhi.chen@hand-china.com 2019年1月31日上午11:10:52 */ @JsonInclude(JsonInclude.Include.NON_NULL) public class FileParamsDTO { private Long tenantI...
package beam.analysis.summary; import beam.agentsim.events.ModeChoiceEvent; import beam.agentsim.events.PathTraversalEvent; import beam.analysis.IterationSummaryAnalysis; import org.matsim.api.core.v01.Id; import org.matsim.api.core.v01.events.Event; import org.matsim.api.core.v01.events.PersonEntersVehicleEvent; impo...
package com.nitya.accounter.developer.api.process.reports; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.nitya.accounter.web.client.core.reports.BaseReport; public class CustomerTransactionHistoryProcessor extends ReportProcessor { @...
/** * Copyright 2017 Pivotal Software, Inc. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicab...
package net.minecraft.entity.ai.attributes; import javax.annotation.Nullable; public interface IAttribute { String getAttributeUnlocalizedName(); double clampValue(double value); double getDefaultValue(); boolean getShouldWatch(); @Nullable IAttribute getParent(); }
package com.halukapaydin.newscrawler; import com.halukapaydin.newscrawler.request.HtmlUnitHttpRequestExecutorImpl; import com.halukapaydin.newscrawler.robotstxt.Matcher; import com.halukapaydin.newscrawler.robotstxt.RobotsParseHandler; import com.halukapaydin.newscrawler.robotstxt.RobotsParser; import org.jsoup.Jsoup;...
/* * Copyright 2021-2022 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 com.nekoimi.nk.framework.security.provider; import cn.hutool.core.lang.Dict; import com.nekoimi.nk.framework.core.exception.http.RequestValidationException; import com.nekoimi.nk.framework.core.utils.JsonUtils; import com.nekoimi.nk.framework.security.contract.AuthType; import com.nekoimi.nk.framework.security...
import lombok.experimental.Delegate; abstract class DelegateOnMethods { @Delegate public abstract Bar getBar(); public static interface Bar { void bar(java.util.ArrayList<java.lang.String> list); } }
/* * MIT License * * Copyright (c) 2021 MASES s.r.l. * * 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, cop...
/* * Copyright 2012-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 ap...
/** * Copyright 2005-2018 Red Hat, Inc. * * Red Hat 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 r...
package org.apereo.cas.config; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.ticket.DefaultSecurityTokenTicket; import org.apereo.cas.ticket.SecurityTokenTicket; import org.apereo.cas.ticket.serialization.TicketSerializationExecutionPlan; import org.apereo.cas.ticket.serializati...
package designpatterns.decorator.starbuzz; public class Whip extends CondimentDecorator { public Whip(Beverage beverage) { this.beverage = beverage; } public String getDescription() { return beverage.getDescription() + ", Whip"; } public double cost() { return .10 + bevera...
package com.zjc.seckilldemo.vo; import com.zjc.seckilldemo.util.ValidatorUtil; import com.zjc.seckilldemo.validation.IsMobile; import org.springframework.util.StringUtils; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; public class IsMobileValidator implements Cons...
/* * Copyright 2015-2017 OpenCB * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package com.runtimeverification.rvmonitor.java.rvj.parser.astex.rvmspec; import com.runtimeverification.rvmonitor.java.rvj.parser.astex.ExtNode; import com.runtimeverification.rvmonitor.java.rvj.parser.astex.visitor.GenericVisitor; import com.runtimeverification.rvmonitor.java.rvj.parser.astex.visitor.VoidVisitor; pu...
/* * MIT License * * Copyright (c) 2020 Airbyte * * 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, ...
public class SuperTraderPlusAverageProfit { public static void main(String[] args) { int arraySize = 6; double prices[] = { 10.0, 20.0, 30.0, 40.0, 50.0, 100.0 }; int qty=100; double brokeragePercent=1; printAllProfitableTradesAndAverageProfit(arraySize, prices,qty,brokera...
package com.zscat.mallplus.oms.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.zscat.mallplus.oms.service.IAdminDayStaticsService; import com.zscat.mallplus.sys.entity.AdminDayStatics; import com.zscat.mallplus.sys.mapper.AdminDayStaticsMapper; import org.springframework.st...
package com.smartisanos.sidebar; import com.smartisanos.sidebar.util.BitmapUtils; import com.smartisanos.sidebar.util.ContactItem; import com.smartisanos.sidebar.util.ContactManager; import com.smartisanos.sidebar.util.DingDingContact; import com.smartisanos.sidebar.util.Utils; import android.content.BroadcastReceive...
/* * Copyright 2018 The StartupOS 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 applicable law or...
package es.ibil.edinor.api.energycommunities.model; import javax.validation.constraints.NotNull; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @ApiModel(value = "Cus...
/* * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.imooc.ad.service.impl; import com.imooc.ad.dao.CreativeRepository; import com.imooc.ad.dao.unit_condition.CreativeUnitRepository; import com.imooc.ad.entity.Creative; import com.imooc.ad.exception.AdException; import com.imooc.ad.service.ICreativeService; import com.imooc.ad.vo.CreativeRequest; import com....
package com.wuxiu.galaxy.api.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; /** * 行李遗失登记记录对象 * * @author: wuxiu * @date: 2019/4/26 20:33 */ @ApiModel("行李遗失登记记录对象") @Data public class LuggageLostRegisterRecordDTO imple...
/* * 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 problems.problems001to100.problems011to020; import java.lang.invoke.MethodHandles; public class Problem15 { public static void main(String[] args) { System.out.println(MethodHandles.lookup().lookupClass()); System.out.println(latticePaths(20)); } // Computes the number of lattice paths throug...
package burst.kit.crypto.plot.impl; import burst.kit.crypto.BurstCrypto; import java.math.BigInteger; import java.security.DigestException; import java.security.MessageDigest; import java.util.Arrays; public class MiningPlot { public static final int HASH_SIZE = 32; public static final int HASHES_PER_SCOOP =...
/* * Copyright (C) 2009 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 controllers; import com.google.inject.Inject; import controllers.base.BaseController; import models.character.Npc; import play.data.FormFactory; import play.db.jpa.Transactional; import play.mvc.Result; import services.NpcService; /** * Created by wxji on 2017-09-18. */ public class NpcController extends Ba...
package com.arenchien.padutility; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; /** * Created by ArenChien on 2018/10/8. */ public class CFileUtility { public static void C...
package de.uni_hannover.inma; import java.io.Serializable; import java.util.Collection; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeMap; import java.util.TreeSet; import android.content.Context; import android.content.Intent; import android.cont...
package com.ecommerce.cart.domain; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.hibernate.envers.Audited; import org.springframework.data.annotation.CreatedBy; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annotation.LastModified...
package ru.job4j.io; import org.junit.Test; import static org.junit.Assert.*; import static org.hamcrest.Matchers.is; public class ConfigTest { @Test public void when() { String path = "./data/app.properties"; Config config = new Config(path); config.load(); assertThat(config...
package javassist.bytecode; import java.util.*; import java.io.*; class DoubleInfo extends ConstInfo { static final int tag = 6; double value; public DoubleInfo(final double a1, final int a2) { super(a2); this.value = a1; } public DoubleInfo(final DataInputStream a1, fina...
/* * Copyright 2017 Marcus Portmann * * 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 t...
package com.uhasoft.smurf.registry.consul; import com.uhasoft.registry.core.MetaCustomizer; import com.uhasoft.registry.core.TagCustomizer; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cloud.consul.serviceregistry.ConsulRegistration; import org.springframework.cloud.consul....
// 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 ...
/* * P_BootstrapLexerWhitespaceBody.java * Copyright © 1993-2018, The Avail Foundation, LLC. * 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 retai...
/* * 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.beyond.popscience.module.square.adapter; import android.app.Activity; import android.text.TextUtils; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.beyond.popscience.R; import com.beyond.popscience.frame.base.CustomBaseAdapter; import com.beyond.popscie...
/* * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/params/HttpConnectionParams.java $ * $Revision: 576089 $ * $Date: 2007-09-16 05:39:56 -0700 (Sun, 16 Sep 2007) $ * * ==================================================================== * License...
package exercise03; import java.io.File; import java.io.FileNotFoundException; import java.util.Arrays; import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class CountTheKeywordsInJavaSourceCode { public static void main(String[] args) throws FileNotFoundException { File fil...
/* * Copyright (c) 2011, 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 * * ...
package com.platform.entity; import java.io.Serializable; import java.util.Date; /** * @author 赵凯 * * @date 2017-08-15 08:03:40 */ public class GoodsIssueVo implements Serializable { private static final long serialVersionUID = 1L; //主键 private Integer id; //商品id private String goods_id; ...
/* * Copyright 2019 ConsenSys AG. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/* * Copyright 2006 The National Library of New Zealand * * 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 b...
/* * Copyright 2014 Higher Frequency Trading * * http://www.higherfrequencytrading.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 ...
//************************************************************ // Copyright 2019 ANI Technologies Pvt. 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...
package com.raddarapp.data.android.repository.datasource.origin.remote.api.error; import com.raddarapp.data.android.repository.datasource.origin.remote.api.error.base.ServerApiException; public class ServerConnectionApiException extends ServerApiException { public ServerConnectionApiException() { super(n...
package ru.job4j.srp; import java.util.function.Predicate; /** * This class takes a parameter store object and returns a report. * @author Aliaksandr Kuzura (vorota-24@bk.ru) * @version $Id$ * @since 0.1 */ public class ReportEngine implements Report{ /** * Stores the object. */ private final ...
/* * Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 require...