text
stringlengths
7
1.01M
package slimeknights.tconstruct.tools.modifiers.traits; import net.minecraft.entity.ai.attributes.Attribute; import net.minecraft.entity.ai.attributes.AttributeModifier; import net.minecraft.entity.ai.attributes.AttributeModifier.Operation; import net.minecraft.entity.ai.attributes.Attributes; import net.minecraft.inv...
package au.org.ala.pipelines.java; import static au.org.ala.pipelines.beam.CompleteIngestPipelineTestIT.checkSingleRecordContent; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import au.org.ala.pipelines.beam.*; import au.org.ala.pipelines.beam.ALAUUIDMintingPipeline; impo...
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.vcs.history; import com.intellij.ide.DataManager; import com.intellij.ide.impl.DataManagerImpl; import com.intellij.openapi.Disposable; import com.in...
package com.bilgeadam; import com.bilgeadam.company.Company; import org.springframework.stereotype.Component; import java.util.Random; @Component public class Service { private final Address address; private final Company company; public Service(Address address, Company company){ this.address =...
/* * $Id$ * * SARL is an general-purpose agent programming language. * More details on http://www.sarl.io * * Copyright (C) 2014-2020 the original authors 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 ma...
/* * Copyright 2013-2016 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 application.games; import application.Controller; import javafx.application.Application; import javafx.application.Platform; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.scene.media.Media; import javafx.scene.media.MediaPlayer; import javafx.event.ActionEve...
/*================================================================================ Copyright (c) 2013 Steve Jin. 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 re...
package com.cjrequena.sample.fooclientservice.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databi...
package com.spawpaw.mybatis.generator.gui.controls; import javafx.scene.control.CheckBox; /** * Created By spawpaw@hotmail.com 2018-01-30 * * @author BenBenShang spawpaw@hotmail.com */ public class CheckBoxControl extends AbstractControl<Boolean> { CheckBox checkBox; @Override protected void initVie...
package ru.job4j; import java.util.ArrayList; import java.util.List; /** * @version $Id$ * @since 0.1 */ public class StartUI { /** * Получение данных от пользователя. */ private final Input input; /** * Хранилище заявок. */ private final Tracker tracker; /** * Конст...
/* * Copyright (c) 2016-2018 Zerocracy * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to read * the Software only. Permissions is hereby NOT GRANTED to use, copy, modify, * merge, publish, distribute, sublice...
package org.apereo.cas.services; import lombok.Getter; import java.util.Map; /** * This is {@link UnauthorizedServiceForPrincipalException} * thrown when an attribute is missing from principal * attribute release policy that would otherwise grant access * to the service that is requesting authentication. * * @...
package org.pushingpixels.demo.flamingo.common; import com.jgoodies.forms.builder.FormBuilder; import com.jgoodies.forms.factories.Paddings; import org.pushingpixels.demo.flamingo.svg.logo.RadianceLogo; import org.pushingpixels.demo.flamingo.svg.tango.transcoded.Edit_paste; import org.pushingpixels.flamingo.api.common...
package com.wfm.platform.service.impl; import com.github.pagehelper.PageHelper; import com.wfm.platform.exception.SystemException; import com.wfm.platform.query.PageBean; import com.wfm.platform.query.PageList; import com.wfm.platform.query.QueryFilter; import com.wfm.platform.service.CommonService; import com.wfm.pla...
package net.minecraft.client.multiplayer; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.ChatComponentTranslation; import net.minecraft.util.IChatComponent; public class ServerData { public String serverName; public String serverIP; /** * the string indicating number of players o...
/* * 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...
/* Copyright 2013 Nationale-Nederlanden 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...
/** * Copyright (C) 2011 Inqwell Ltd * * You may distribute under the terms of the Artistic License, as specified in * the README file. */ package com.inqwell.any; /** * Abstract base class for visitor classes in RTF. * All operations by default throw IllegalArgumentException */ public abstract class Abstrac...
package com.haufelexware.gocd.dto; /** * This DTO represents a property config. */ public class GoPropertyConfig { private String name; private String source; private String xpath; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getSource(...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: src/main/protobuf/stateful-functions.proto package com.ververica.statefun.flink.core.generated; public interface ProtobufSerializerSnapshotOrBuilder extends // @@protoc_insertion_point(interface_extends:com.ververica.statefun.flink.core.Pr...
package com.coditory.sherlock; import com.coditory.sherlock.connector.AcquireResult; import com.coditory.sherlock.connector.ReleaseResult; import reactor.core.publisher.Mono; import java.util.function.Supplier; final class ReactorDistributedLockExecutor { private ReactorDistributedLockExecutor() { throw ...
/* * 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 com.java.ee.cliente.ciclovidajpa; import com.java.ee.domain.Persona; import javax.persistence.EntityManager; import javax.pers...
package org.toubassi.neuralnet.part3; import org.toubassi.neuralnet.matrix.Matrix; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.*; import java.util.ArrayList; import java.util.List; /** * Created by gtoubassi on 9/13/15. */ public class Digit { private Matrix matrix; p...
/* Copyright 2009-2016 David Hadka * * This file is part of the MOEA Framework. * * The MOEA Framework is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at your ...
/* * Copyright 2014 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 applica...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v4/services/account_budget_proposal_service.proto package com.google.ads.googleads.v4.services; public interface MutateAccountBudgetProposalResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads...
/* * Copyright 1999-2101 Alibaba Group. * * 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 a...
/* * Copyright 2014-2019 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 org.cg.services.core.service; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; /** * A example service resource * @author WZ * */ public class PingService { @GET @Path("/ping/{message}") @Produce...
package com.aag5.iotenv.DiscoveryServer; import org.springframework.boot.SpringApplication; import org.springframework.boot.actuate.trace.http.HttpTraceRepository; import org.springframework.boot.actuate.trace.http.InMemoryHttpTraceRepository; import org.springframework.boot.autoconfigure.SpringBootApplication; import...
package aima.core.logic.propositional.kb; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import aima.core.logic.propositional.inference.TTEntails; import aima.core.logic.propositional.kb.data.Clause; import aima.core.log...
/* * 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.github.carlopantaleo.jmodel.basedao; import org.hibernate.Session; import org.hibernate.SessionFactory; import javax.persistence.criteria.*; import javax.transaction.Transactional; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util.Map; public class BaseDao<T...
import units.BaseHero; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; public class MouseManager implements MouseListener, MouseMotionListener { private boolean leftPressed, rightPressed; private int mouseX, mouseY; int moveCounter = 0; ...
package com.barrett.base.net.tcp.demo5; import com.alibaba.druid.support.logging.Log; import com.alibaba.druid.support.logging.LogFactory; import com.barrett.base.net.tcp.IOUtils; import com.barrett.util.getId.Sequence; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; impor...
/* * Copyright 2002-2018 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.sensorberg.sdk.action; import android.net.Uri; import android.os.Parcel; import java.util.UUID; import lombok.Getter; import lombok.ToString; @ToString public class InAppAction extends Action implements android.os.Parcelable { /** * -- GETTER -- * the subject of this action as entered on ...
package com.vastsum.main; import io.netty.bootstrap.Bootstrap; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketChannel; import ...
/* * Copyright 1999-2018 Alibaba Group Holding 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 applica...
/* * Copyright 2011-2018 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 2015-2019 The OpenZipkin 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 a...
package com.gauravbhola.flickry.ui.common; import android.content.Context; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import android.util.AttributeSet; import android.widget.FrameLayout; public class SquareFrameLayout extends FrameLayout { public SquareFrameLayout(@NonNull Context c...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
/* * Copyright (C) 2015 Zhang Rui <bbcallen@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 appl...
/** * 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 ckling.geometry3d; public class Triangle { public Point[] vertices; public Triangle(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3) { vertices = new Point[3]; vertices[0] = new Point(x1,y1,z1); vertices[1] = new Point(x2,y2,z2); vertices[2] =...
package us.centile.permissions.rank.command.grant; import org.bukkit.*; import us.centile.permissions.profile.*; import org.bukkit.entity.*; import java.util.*; import us.centile.permissions.util.command.*; public class GrantsCommand extends BaseCommand { @Command(name = "rankhistory", aliases = { "rankhistory.vi...
package javax.microedition.sensor; /** * Implementation of the JSR 256 Unit class for the units supported by * LEGO Mindstorms I2C sensors * * @author Lawrie Griffiths */ public class Unit { // Supported measurements private static final Unit METRIC_LENGTH = new Unit("m"); private static final Unit ACCELERATI...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 联系人信息验证 * * @author auto create * @since 1.0, 2017-11-29 18:04:35 */ public class ZhimaCreditRelationQueryModel extends AlipayObject { private static final long serialVersionUI...
package cn.wizzer.app.web.commons.shiro.exception; import org.apache.shiro.authc.AuthenticationException; /** * Created by wizzer on 2017/1/10. */ public class CaptchaEmptyException extends AuthenticationException { public CaptchaEmptyException() { super(); } public CaptchaEmptyException(Strin...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE36_Absolute_Path_Traversal__getCookies_Servlet_07.java Label Definition File: CWE36_Absolute_Path_Traversal.label.xml Template File: sources-sink-07.tmpl.java */ /* * @description * CWE: 36 Absolute Path Traversal * BadSource: getCookies_Servlet Read data from th...
/* * 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.briarheart.algorithms.graph; import com.google.common.graph.ElementOrder; import com.google.common.graph.EndpointPair; import com.google.common.graph.Graph; import java.util.HashMap; import java.util.Map; import java.util.Set; import static com.google.common.base.Preconditions.checkArgument; import stati...
/* * 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.ripstech.api.connector.service.queryparameter; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.ripstech.api.connector.entity.send.filter.Expression; import com.ripstech.api.connector.entity.send.filter.condition.And; import com.ripst...
package com.lilithsthrone.game.character.npc.dominion; import java.time.Month; import java.util.List; import org.w3c.dom.Document; import org.w3c.dom.Element; import com.lilithsthrone.game.Game; import com.lilithsthrone.game.character.CharacterImportSetting; import com.lilithsthrone.game.character.CharacterUtils; im...
package loghub.processors; import java.beans.IntrospectionException; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.util.Collections; import java.util.Map; import org.apache.logging.log4j.Level; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Lo...
package cn.gson.oasys.model.dao.user; import java.util.List; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.Pagi...
package org.d2ab.util; import org.junit.Test; public class DoublesTest { @Test public void constructor() { new Doubles() { // code coverage }; } }
/* * 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.datafeed; import org.elasticsearch.Elasti...
package net.RPower.RPowermod.block; import java.util.Random; import net.RPower.RPowermod.core.RPCore; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.item.Item; public class blockRPBlockblockSilicon extends Block { public blockRPBlockblockSilicon(Material p_i453...
package org.pitest.mutationtest.filter; import org.pitest.functional.Option; import org.pitest.mutationtest.build.InterceptorParameters; import org.pitest.mutationtest.build.MutationInterceptor; import org.pitest.mutationtest.build.MutationInterceptorFactory; import org.pitest.plugin.Feature; import org.pitest.plugin....
package gex.newsml.g2; import lombok.ToString; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyAttribute; import javax.xml.bind.a...
/** * * 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 prefuse.util.collections; /** * Sorted map that maps from a float key to an int value. * * @author <a href="http://jheer.org">jeffrey heer</a> */ public interface FloatIntSortedMap extends IntSortedMap { public float firstKey(); public float lastKey(); public boolean containsKey(fl...
/* * 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 2020 SkillTree * * 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 ...
/** * Autogenerated by Thrift Compiler (0.10.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package com.facebook.buck.rules.modern.builders.thrift; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated(value = "Autogenerated ...
package mage.server.util; import mage.utils.StreamUtils; import org.apache.log4j.Logger; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Scanner; import java.util.concurrent.Executors; im...
/** * Service layer beans. */ package com.genie.schedule.service;
package com.elmakers.mine.bukkit.magicworlds; import com.elmakers.mine.bukkit.magicworlds.populator.MagicChunkHandler; import com.elmakers.mine.bukkit.utility.NMSUtils; import org.bukkit.Bukkit; import org.bukkit.World; import org.bukkit.WorldCreator; import org.bukkit.WorldType; import org.bukkit.configuration.Config...
licensed apache software foundation asf contributor license agreements notice file distributed work additional copyright ownership asf licenses file apache license version license file compliance license copy license http apache org licenses license required applicable law agreed writing software distributed license di...
package com.limeshulkerbox.youreafishnow.mixin; import net.minecraft.block.BlockState; import net.minecraft.enchantment.EnchantmentHelper; import net.minecraft.entity.EntityType; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.effect.StatusEffectUtil; import net.minecraft.entity.effect.StatusEffe...
/* * 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.hibernate.inheritance.table.per.concrete.annotation.example; import javax.persistence.AttributeOverride; import javax.persistence.AttributeOverrides; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; @Entity @Table(name="OWNER") @AttributeOverrides({ @At...
package com.fatihari.homework3.exception; public class ErrorResponse { private int status; private String message; private long timeStamp; private String detail; public ErrorResponse() { } public ErrorResponse(int status, String message, long timeStamp, String detail) { this.status = status; this.mes...
package org.apache.hadoop.hbase.regionserver; import org.apache.hadoop.hbase.HConstants; import org.apache.hadoop.hbase.KeyValue; import org.apache.hadoop.hbase.util.Bytes; import junit.framework.TestCase; import java.util.Comparator; public class TestNewMemcache extends TestCase { private final boolean PRINT = fa...
/* * 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.crawl; import com.crawl.zhihu.ZhiHuHttpClient; public class PicAnswerMain { public static void main(String[] args){ // ZhiHuHttpClient.getInstance().startCrawlAnswerByUserToken("tang-qi-55-37"); // ZhiHuHttpClient.getInstance().startCrawlQuestion(53369195); ZhiHuHttpClient.getIn...
/* * Copyright 2016-2021 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...
/* * 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...
package com.forest.cl.model; public class ClQuery { private String id; private String datatype; private String currentstatus; private String keyword; private String startday; private String stopday; private String sfmy; private String sfjsy; private String tjdx; private...
package com.xn2001.laketrading.product.dao; import com.xn2001.laketrading.product.entity.CommentReplayEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 商品评价回复关系 * * @author 乐心湖 * @email zxh@xn2001.com * @date 2020-08-15 23:21:24 */ @Mapper public...
package io.kurumi.ntt.fragment.idcard; /** * 类名:AreaCode * 作者:Yun.Lei * 创建日期:2017-07-12 17:59 */ public class AreaCode { /** * id : 3829 * areaCode : 820000 * province : 澳门特别行政区 * city : null * district : null * detail : 澳门特别行政区 */ private int id; private String a...
/** * **************************************************************************** * Copyright 2013 EMBL-EBI * <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.a...
/* * Copyright 2019 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 app...
/* * Copyright 2019 ViiSE. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
package com.taotao.sso.component.impl; import org.springframework.beans.factory.annotation.Autowired; import com.taotao.sso.component.JedisClient; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; /** * 单机版 * * @author Jerry * */ public class JedisClientSingle implements JedisClient { ...
/* ======================================================================== * JCommon : a free general purpose class library for the Java(tm) platform * ======================================================================== * * (C) Copyright 2000-2005, by Object Refinery Limited and Contributors. * * Project I...
package jp.ats.liverwort.support.annotation; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * 外部キーアノテーションをまとめるためのアノテーションです。 * * @author 千葉 哲嗣 */ @Target({ TYPE }) @Rete...
/* * Copyright 2008 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 i...
package com.impact.mods.asp.common.te; public class TileEntity8192SolarPanel extends TileEntitySolarPanel { public TileEntity8192SolarPanel() { super("blockIVSolarPanel.name", 6, 8192); } public String getInvName() { return "IV Solar Panel"; } }
package org.springframework.security.config.annotation.web.configurers; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.junit.Rule; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import or...
package com.book.util; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import javax.net.ssl.X509TrustManager; public class MyX509TrustManager implements X509TrustManager { public void checkClientTrusted(X509Certificate[] chain, String authType) throws Certif...
/* * Copyright 2019 * Ubiquitous Knowledge Processing (UKP) Lab * Technische Universität Darmstadt * * 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...
package com.alipay.api.domain; import java.util.List; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; /** * 商户修改商品代金券 * * @author auto create * @since 1.0, 2019-05-07 10:06:45 */ public class KoubeiMarketingC...
/** * * MIT License * * Copyright (c) 2021 Maxim Gansert, Mindscan * * 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 ri...
/* * Copyright 2020 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 require...
package String; import java.util.Set; public class WordBreak { //R.T O(n^2) where n is the length of string s //DP public boolean wordBreak(String s, Set<String> dict) { // write your code here if (s == null || "".equals(s)) return true; boolean[] bs = new boolean[s.length() + 1];...