text
stringlengths
7
995k
package com.vanillage.utils.configuration.deserializers; import java.util.LinkedList; import java.util.List; import com.vanillage.utils.configuration.conversion.ConfigurationSerialization; public final class ConfigurationDeserializerList implements ConfigurationDeserializer<List<?>> { @Override public List<?...
package com.minlia.module.data.scope; import java.util.List; import lombok.Data; /** * @author will */ @Data public class DataScope { /** * 限制范围的字段名称 */ private String scopeName = "guid"; /** * 具体的数据范围 */ private List<Integer> scopeValue; public DataScope() { } }
package nl.nn.adapterframework.ldap; import static org.junit.Assert.assertEquals; import java.util.Set; import org.junit.Before; import org.junit.Test; import nl.nn.adapterframework.cache.EhCache; import nl.nn.adapterframework.configuration.ConfigurationException; import nl.nn.adapterframework.core.PipeForward; imp...
package net.tomp2p.replication; import net.tomp2p.peers.PeerAddress; /** * Relieves slow peers from the replication duty * * @author Nico Rutishauser * */ public class SlowReplicationFilter implements ReplicationFilter { @Override public boolean rejectReplication(PeerAddress targetAddress) { return targetA...
package app.controller; import app.domain.model.*; import app.domain.model.stores.TestTypeStore; import app.domain.model.testComponents.ParameterCategory; import app.domain.model.testComponents.TestType; /** * Class responsible for communicating with the UI when the user wants to create a new Test Type * * @author...
/** * 画面オンライン処理方式用の共通ハンドラを提供する。 * */ package nablarch.common.web.handler;
/** * Project Name:common * File Name:MenuItem.java * Package Name:com.redis.desktop.component * Date:2020年4月5日上午11:31:00 * Copyright (c) 2020, wukunmeng@tom.com All Rights Reserved. **/ package com.redis.desktop.component; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RenderingHints; i...
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
package edu.wsu.erikbuck.centipedespritebatcher; import android.graphics.Rect; import com.twicecircled.spritebatcher.SpriteBatcher; import javax.microedition.khronos.opengles.GL10; /** * Created by erik on 3/10/15. */ public class CentipedeSegment { // Used to make segment images similar size to mushroom ima...
/* * 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 org.apache.logging; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.message.DefaultFlowMessageFactory; import org.apache.logging.log4j.message.ReusableMessageFactory; import org.springframework.nativex.hint.NativeHint; import org.springframework.nativex.hint.TypeHint; import org.sp...
package com.davidche.appfabric.uaa.service; import com.davidche.appfabric.uaa.log.MyLoggable; import com.davidche.appfabric.uaa.model.Mail; import freemarker.template.Configuration; import freemarker.template.Template; import freemarker.template.TemplateException; import org.springframework.beans.factory.annotation.Au...
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
package de.mpg.mpi_inf.ambiversenlu.nlu.tools.javatools.datatypes; import de.mpg.mpi_inf.ambiversenlu.nlu.tools.javatools.administrative.D; import java.util.Arrays; import java.util.Iterator; import java.util.List; /** * * This class is part of the Java Tools (see * http://mpii.de/yago-naga/javatools). It is lice...
// Copyright 2017 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 applica...
package plus.axz.wemedia.service.impl; import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Service; import org.springframework.util.DigestUtils; import plus.axz.mode...
package com.cloud.askwalking.oauth.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import lombok.ToString; import java.io.Serializable; /** * @author niuzhiwei */ @Getter @Setter @ToString public class MobileOrIdLoginReqDTO implements Serializable { @ApiModelPr...
/** * ============================== Header ============================== * file: testPrintTraverser.java * project: FIT4Green/Optimizer * created: 20 déc. 2010 by cdupont * last modified: $LastChangedDate: 2012-03-26 16:03:46 +0200 (lun, 26 mar 2012) $ by $LastChangedBy: f4g.cnit $ * revision: ...
package org.openapitools.model; import javax.validation.constraints.*; import javax.validation.Valid; import io.swagger.annotations.ApiModelProperty; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonProperty; public class GenericResource { @ApiModelProperty(value...
package com.java.proiect.controller; import com.java.proiect.dto.CreateAlbumDto; import com.java.proiect.dto.SongDtoForAlbum; import com.java.proiect.dto.UpdateAlbumDtoSimple; import com.java.proiect.exceptions.InvalidRequestUnmatchedId; import com.java.proiect.mapper.AlbumMapper; import com.java.proiect.mapper.SongMa...
package main.java.systemdesign.storage; public class DesignCache { }
package com.jukusoft.mmo.client.engine.time; public class GameTime { protected static final GameTime instance = new GameTime(); //startup time public static final long START_TIME = System.currentTimeMillis(); //current time protected volatile long time = 0; //delta time for libGDX prote...
/* * Copyright (c) 2019 Bixbit - Krzysztof Benedyczak. All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.webui.forms; import java.util.Objects; import org.apache.logging.log4j.Logger; import com.vaadin.navigator.Navigator; import com.vaadin.server.Page; import com...
/* * Copyright 1999-2017 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 (C) 2015 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...
/** * Copyright 2018 人人开源 http://www.renren.io * <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 appli...
package com.sheryv.PassBox; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; i...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
/* * 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 u...
/** * There are <a href="https://github.com/thinkgem/jeesite">JeeSite</a> code generation */ package com.itrus.ca.modules.sys.dao; import java.util.List; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRep...
/* * Copyright 2020-present HiveMQ GmbH * * 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 ag...
/* * Copyright 2017 HugeGraph Authors * * 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, Ve...
package com.pengsoft.system.repository; import com.pengsoft.security.repository.OwnedRepository; import com.pengsoft.support.repository.EntityRepository; import com.pengsoft.system.domain.Asset; import com.pengsoft.system.domain.QAsset; import com.querydsl.core.types.dsl.NumberExpression; import com.querydsl.core.type...
package com.timwang.weixin.zls.test.dao; import com.timwang.weixin.zls.api.dao.OutApiListMapper; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.ju...
/* * Copyright 2016-present Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
package integer; public class Arithmetic { public static void main(String[] args) { // 산술연산 System.out.println(7+3.0); System.out.println(9/3); System.out.println(10/3); System.out.println(10/3.0); System.out.println(9/4.0); System.out.println(3*4); System.out.println(3*4.0); System.out...
/** * 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 2007 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package org.inferred.freebuilder.processor.excerpt; import com.google.common.base.Preconditions; import com.google.common.collect.ForwardingSetMultimap; import com.google.common.collect.Maps; import com.google.common.collect.Multimap; import com.google.common.collect.Multimaps; import com.google.common.collect.SetMult...
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
package ru.yandex.qatools.allure; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import ru.yandex.qatools.allure.events.ClearStepStorageEvent; import ru.yandex.qatools.allure.events.ClearTestStorageEvent; import ru.yandex.qatools.allure.events.StepEvent; ...
// Copyright (c) 2015 Uber Technologies, Inc. // // 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, merge...
/* * 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 (c) 2005 - 2014, 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.facebook.drawee.drawable; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.PointF; import android.graphics.Rect; import android.graphics.drawable.Drawable; import com.facebook.common.internal.Preconditions; import com.facebook.common.internal.VisibleForTesting; publi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.areen.jlib.gui; import java.beans.*; import javax.swing.*; import javax.swing.event.*; import javax.swing.table.*; /* Dejan: I took the original code from the following article: * http://tips4java...
/* * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package com.sagereal.streettest; import android.content.Context; import android.os.Bundle; import android.preference.Preference; import android.preference.SwitchPreference; /** * Created by gms on 17-10-20. */ public class SettingPrefCamera extends SettingPref { private static final Boolean CAMERA_BACKCAMREA_A...
package progen.experimenter; import java.io.File; import java.io.FilenameFilter; /** * @author jirsis * @since 2.0 */ public class OutputFilenameFilter implements FilenameFilter { @Override public boolean accept(File dir, String name) { return name.startsWith("output"); } }
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package academy.learnprogramming; public class Board { private char gameBoard[][]; public Board() { this.gameBoard = new char[3][3]; } public char[][] getGameBoard() { return gameBoard.clone(); } public void setGameBoard(char[][] gameBoard) { this.gameBoard = gameBoar...
package engine.views; import com.manelliengine.engine.view.View; import com.manelliengine.engine.math.Position; import com.manelliengine.engine.math.Scale; import com.manelliengine.engine.math.Transform; import engine.objects.Enemy; import engine.objects.Player; public class MasterView extends View { @Override pu...
package com.faust.ticketing.core.service; import com.faust.ticketing.core.repository.CategoryRepository; import com.faust.ticketing.persistence.model.dto.client.CategoryDTO; import com.faust.ticketing.persistence.model.dto.client.SaveCategoryDTO; import com.faust.ticketing.persistence.model.entity.ticket.Category; imp...
package com.team2813.lib.talon; import com.ctre.phoenix.ErrorCode; import com.ctre.phoenix.ParamEnum; import com.ctre.phoenix.motion.BufferedTrajectoryPointStream; import com.ctre.phoenix.motion.MotionProfileStatus; import com.ctre.phoenix.motion.TrajectoryPoint; import com.ctre.phoenix.motorcontrol.ControlFrame; impo...
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.test.jdbc2; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static or...
package cn.hippo4j.common.notify.platform; import cn.hippo4j.common.notify.NotifyConfigDTO; import cn.hippo4j.common.notify.NotifyPlatformEnum; import cn.hippo4j.common.notify.NotifyTypeEnum; import cn.hippo4j.common.notify.SendMessageHandler; import cn.hippo4j.common.notify.request.AlarmNotifyRequest; import cn.hippo...
/******************************************************************************* * Copyright (c) 2000, 2016 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at ...
package tbd.group2.spring.backend.sakila.Rest; import org.hibernate.annotations.SortNatural; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.w...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.google.firebase.quickstart.database; import android.app.Dialog; import android.app.TimePickerDialog; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v4.app.DialogFragment; import android.widget.TimePicker; public class MyDialogFragment extends DialogF...
package com.book.chapter8_tic_tac_toe.pojo; public class GameGrid { private final int width; private final int height; private final GameSymbol[][] grid; public GameGrid(int width, int height) { this.width = width; this.height = height; this.grid = new GameSymbol[width][height]...
package uk.ac.ebi.subs.repository.model.templates; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import org.json.JSONObject; import java.util.List; /** * This satisfies the Capture interface, but doesn't actually change the document at all. It's useful...
package com.appcelerator.javascriptcore.java; import com.appcelerator.javascriptcore.JavaScriptCoreLibrary; import com.appcelerator.javascriptcore.callbacks.JSObjectCallAsConstructorCallback; import com.appcelerator.javascriptcore.callbacks.JSObjectCallAsFunctionCallback; import com.appcelerator.javascriptcore.enums.J...
/* * JBoss, Home of Professional Open Source * Copyright 2019, Red Hat, Inc. and/or its affiliates, and individual * contributors by the @authors tag. See the copyright.txt in the * distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
/* * 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 required by applica...
package top.gumt.mall.member.dao; import top.gumt.mall.member.entity.IntegrationChangeHistoryEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 积分变化历史记录 * * @author zhaoming * @email gumt0310@gmail.com * @date 2021-07-15 21:14:31 */ @Mapper public...
package com.thebluealliance.androidclient.database.tables; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.google.gson.Gson; import com.thebluealliance.androidclient.database.Database; import com.thebluealliance.androidclient.database.ModelInflater; import com.thebluealliance...
package com.ruoyi.common.core.utils.sign; /** * Base64工具类 * * @author ruoyi */ public final class Base64 { static private final int BASELENGTH = 128; static private final int LOOKUPLENGTH = 64; static private final int TWENTYFOURBITGROUP = 24; static private final int EIGHTBIT = 8; static priva...
/* * Copyright 2011-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 com.atguigu.gulimall.product.service; import com.baomidou.mybatisplus.extension.service.IService; import com.atguigu.common.utils.PageUtils; import com.atguigu.gulimall.product.entity.SpuCommentEntity; import java.util.Map; /** * 商品评价 * * @author zzwang * @email zzwang@gmail.com * @date 2020-07-02 17:17...
// Copyright 2020 The Defold Foundation // Licensed under the Defold License version 1.0 (the "License"); you may not use // this file except in compliance with the License. // // You may obtain a copy of the License, together with FAQs at // https://www.defold.com/license // // Unless required by applicable law or a...
/* * Copyright 2020. 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...
/* * Copyright 2012-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 "license"...
package io.ymq.mybatis.config.druid; import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties(prefix = "druid") public class DruidDbProperties { private String driverClassName = "com.mysql.jdbc.Driver"; /** * 初始化时建立物理连接的个数。初始化发生在显示调用init方法,或者第一次getConnection时...
/* * File name: Host.java * * Programmer : Jake Botka * * Date: Aug 5, 2020 * */ package main.org.botka.utility.api.network; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import main.org.botka.utility.api.network.server.ClientConnectedListener; im...
package pl.zmudzin.library.core.application.reservation; import java.util.Optional; public interface ReservationQuery { Optional<String> status(); }
/* * This file was automatically generated by EvoSuite * Mon Dec 14 01:40:43 GMT 2015 */ package com.eteks.sweethome3d.model; import static org.junit.Assert.*; import org.junit.Test; import com.eteks.sweethome3d.model.AspectRatio; import com.eteks.sweethome3d.model.Camera; import com.eteks.sweethome3d.model.Catalo...
/* * 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...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
package net.glowstone.generator.biomegrid; import net.glowstone.constants.GlowBiome; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import static org.bukkit.block.Biome.DESERT; import static org.bukkit.block.Biome.EXTREME_HILLS_WITH_TREES; ...
/* * Copyright 2016 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 a...
package com.taotao.cloud.bigdata.hudi.oss; import org.apache.hudi.QuickstartUtils.DataGenerator; import org.apache.spark.api.java.JavaSparkContext; import org.apache.spark.sql.Dataset; import org.apache.spark.sql.Row; import org.apache.spark.sql.SparkSession; import java.io.IOException; import java.util.List; import...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/******************************************************************************* * Copyright (c) 2000, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
package com.feira.cruzeiro.repository; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import com.feira.cruzeiro.model.Evento; public interface EventoRepository extends JpaRepository<Evento, Long>{ @Query("SELECT e FROM Eve...
package corejava.inheritanceandcomposition; public class InstanceOfExample{ public static void main(String[]args){ Espresso liq1=new Espresso(); if(liq1 instanceof Espresso){System.out.println("liq1 of instance Espresso");} if(liq1 instanceof Liquid){System.out.println("liq1 of instance of Liq...
package com.zeno.dao.impl; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.util.LinkedList; import java.util.List; import org.apache.commons.beanutils.BeanUtils; import com.zeno.bean.Course; import com.zeno.dao.inter.CourseDaoIn...
/* * 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...
package com.learn.zhou.waterdrop; import android.animation.Animator; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.LinearGradient; import android.graphics.Paint; import android.graphics.Path; import android...
import java.util.*; class HashSetDemo { public static void main(String[] args) { HashSet<String> h = new HashSet<String>(); //Adding items to the list h.add("name1"); h.add("name2"); h.add("name3"); h.add("name4"); h.add("name5"); //display the hashset System.out.println(h); //check if item...
package com.sequenceiq.freeipa.api.v1.freeipa.stack.model.create; import java.util.List; import javax.validation.Valid; import javax.validation.constraints.Max; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import c...
/* * Copyright 2020 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...
package com.denizenscript.denizen.events.player; import com.denizenscript.denizen.objects.ItemTag; import com.denizenscript.denizen.objects.PlayerTag; import com.denizenscript.denizen.utilities.implementation.BukkitScriptEntryData; import com.denizenscript.denizen.events.BukkitScriptEvent; import com.denizenscript.den...
/* * Copyright 2016 Christoph Böhme * * 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...
/* * Copyright (C) 2014-2021 Philip Helger (www.helger.com) * philip[at]helger[dot]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/LICEN...
/* * Copyright 2020 Netflix, 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 applicable law or agr...
/*- * #%L * Genome Damage and Stability Centre Analytics Package * * The GDSC Analytics package contains code to use the Google Analytics * Measurement protocol to collect usage information from a Java application. * %% * Copyright (C) 2016 - 2020 Alex Herbert * %% * Permission is hereby granted, free of charg...
/** * 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...
/** * 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...