text
stringlengths
7
995k
/* * 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 lcdrpl.gui.tabs.home; import lcdrpl.database.Database; import lcdrpl.database.PreparedStatement; import lcdrpl.database.Result...
/* * Copyright 2019, Perfect Sense, 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 a...
package fr.pizzeria.console; import java.util.Scanner; import fr.pizzeria.doa.*; import fr.pizzeria.ihm.menu.*; public class PizzeriaAdminApp { public static void main(String[] args) { Scanner sc = new Scanner(System.in); PizzaDaoImpl pizzaDao = new PizzaDaoImpl(); Menu menu = new Menu(sc, pizzaDao); menu....
/* * 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.icepoint.framework.web.security.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.icepoint.framework.core.util.MapUtils; import com.icepoint.framework.data.annotation.ReadTransaction; import...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 栏目信息 * * @author auto create * @since 1.0, 2018-11-29 17:43:46 */ public class ViewColumnInfoModel extends AlipayObject { private static final long serialVersionUID = 5185623746478453937L; ...
package com.pacgame.finder; public interface FinderRule { boolean isSatisfied(FindPoint point); }
/* * Copyright (c) 1998-2021 John Caron and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package thredds.featurecollection; import java.io.IOException; import org.jdom2.Element; import org.jdom2.JDOMException; import org.jdom2.input.SAXBuilder; import thredds.cli...
/* * 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 upatras.city.house.behaviors; import upatras.agentsimulation.agent.AbstractAgent; import upatras.agentsimulation.behaviour.Abs...
package net.minecraft.src; import java.util.Random; public class WorldGenTallGrass extends WorldGenerator { private int field_28057_a; private int field_28056_b; public WorldGenTallGrass(int var1, int var2) { this.field_28057_a = var1; this.field_28056_b = var2; } public boolean ...
/* * Copyright (c) 2017-2019 by Botorabi. All rights reserved. * https://github.com/botorabi/Meet4Eat * * License: MIT License (MIT), read the LICENSE text in * main directory for more details. */ package net.m4e.app.user.business; import net.m4e.app.auth.*; import net.m4e.common.UserEntityCreator; impo...
package br.com.lucas.pharma.domain; import java.io.Serializable; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.MappedSuperclass; @SuppressWarnings("serial") //esconde os warnings que a ide está informando @MappedSuperclass //An...
package de.danoeh.antennapod.core.storage; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.DatabaseErrorHandler; import android.database.DatabaseUtils; import android.database.DefaultDatabaseErrorHandler; import android.database.MergeCursor;...
package com.gzqf.webui.service; import com.gzqf.club.entity.Member; import com.gzqf.club.entity.User; import com.gzqf.club.persistence.Result; import com.gzqf.club.persistence.UserDto; public interface LoginService { Result<User> checkUser(User user); UserDto<Member> queryUserDto(String cookieValue); Us...
package cn.com.library.utils; import android.app.Activity; import android.os.Process; import java.util.LinkedList; /** * 文件名:LTActivityUtil * 描 述:管理activity的工具类 * 作 者:stt * 时 间:2016.12.30 * 版 本:V1.0.0 */ public class LTActivityUtil { private static LinkedList<Activity> activitys = null; /*...
package com.riznicreation.mylibrary; 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 execut...
package org.dependency.domain; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import java.io.Serializable; import java.util.List; /** * Contains the main information about a project. * * @author Scott Conway */ public class Project implements Serializable { private...
package entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence.Table; import java.io.Serializable; import java.util.Set; import ...
package com.fsdcyr.sky.authorization.context; import lombok.Data; import java.io.Serializable; /** * @author lvheng chen * @version 1.0 * @date 2021-11-18 5:18 下午 */ @Data public class AuthContext implements Serializable { /** * 用户id */ private Integer userId; /** * 散列摘要 */ ...
/* * 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 ma...
package com.microsoft.bingads.v13.api.test.entities.ad_group_dsa_target.write; import java.util.Arrays; import java.util.Collection; import org.junit.Test; import org.junit.runners.Parameterized.Parameter; import org.junit.runners.Parameterized.Parameters; import com.microsoft.bingads.internal.functionalinterfaces.B...
package com.symphony.dao; import java.util.Date; import java.util.List; import com.symphony.model.Employee; import com.symphony.model.Salary; /** * User Data Access Object (GenericDao) interface. * */ public interface EmployeeDao extends GenericDao<Employee, Long> { /** * Gets a list of users ordered ...
// Targeted by JavaCPP version 1.5.3-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.arrow; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.arrow.global.arrow.*; /** \class BinaryKernel * \brief An array-valued function of a two input ar...
package mx.uach.videoclub.modelos.genericos; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; /** * Modelo general de todo el sistema. * * @author Daniela Santillanes Castro * @version 1.0 */ public class Model { public static final String Q_WHERE_ID = "WHERE id = "; ...
package com.tngtech.propertyloader.impl.openers; import org.junit.Test; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.util.Properties; import java.util.Scanner; import static org.assertj.core.api.Assertions.assertThat; import static org.j...
package com.bingbingbb.admin.module.article.entity; import org.hibernate.annotations.GenericGenerator; import javax.persistence.*; import java.sql.Timestamp; import java.util.Objects; /** * @ClassName: BPictureEntity * @Author: wangf * @Date: 2021/7/2 0002 12:55 * @Version: 1.0 */ @Entity @Table(name = "b_acces...
/** * */ package dz.minagri.stat.views; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; import java.util.EnumSet; import java.util.List; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.config....
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; import java.util.HashMap; import java.util.Map; class SimpleAssemblerTest { @Test public void simple_1() { String[] program = new String[]{"mov a 5","inc a","dec a","dec a","jnz a -1","inc a"}; Map<String, Int...
/* * Created by wangzhuozhou on 2016/11/12. * Copyright 2015-2020 Sensors Data 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....
/* * EVE Swagger Interface * An OpenAPI for EVE Online * * The version of the OpenAPI document: 1.10.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package net.troja.eve.esi; public clas...
package org.tkiyer.athena.execution; import java.util.concurrent.Callable; public class QueryExecution implements Callable<QuerySummary> { private final QueryContext context; public QueryExecution(QueryContext context) { this.context = context; } @Override public QuerySummary call() thr...
/* Tencent is pleased to support the open source community by making Hippy available. * Copyright (C) 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...
/****************************************************************************** * Spine Runtimes Software License * Version 2.3 * <p/> * Copyright (c) 2013-2015, Esoteric Software * All rights reserved. * <p/> * You are granted a perpetual, non-exclusive, non-sublicensable and * non-transferable license to use,...
package com.abc.company.model; import com.abc.commands.subscription.api.UpdateCompanyCmd; import org.springframework.stereotype.Component; @Component class CompanyValidator { void validate(final UpdateCompanyCmd cmd) { if (cmd.getName().startsWith("Ooops")) { throw new CompanyValidationExcep...
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.forex.option.callspreadblack; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Set; im...
package com.home.commonBase.data.social.roleGroup; import com.home.commonBase.constlist.generate.BaseDataType; import com.home.commonBase.constlist.generate.RoleGroupChangeType; import com.home.commonBase.data.system.KeyData; import com.home.shine.bytes.BytesReadStream; import com.home.shine.bytes.BytesWriteStream; imp...
package io.joyrpc.config.validator; /*- * #%L * joyrpc * %% * Copyright (C) 2019 joyrpc.io * %% * 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.devsuperior.dsvendas.dto; import java.io.Serializable; import com.devsuperior.dsvendas.entities.Seller; public class SellerDTO implements Serializable { private static final long serialVersionUID = 1L; private Long id; private String name; public SellerDTO() { } public SellerDTO(Long id, Strin...
package services; import dao.DataCountDao; import play.Logger; import util.*; import java.sql.Connection; import java.sql.SQLException; import java.util.Date; import java.util.TimerTask; /** * Created by zhangshl on 16/8/22. */ public class PvUvDateCount extends TimerTask { @Override public void run() { ...
/* Copyright 2008-2013 CNR-ISTI, http://isti.cnr.it Institute of Information Science and Technologies of the Italian National Research Council See the NOTICE file distributed with this work for additional information regarding copyright ownership Licensed under the Apache License, Version 2.0 (t...
package com.atguigu.gmall.sms.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * 秒杀商品通知订...
/* * Copyright 2013 Google Inc. * Copyright 2014 Andreas Schildbach * Copyright 2018 the bitcoinj-cash developers * * 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.ap...
package controllers.common; import com.commercetools.sunrise.framework.controllers.SunriseController; import play.mvc.Result; import javax.inject.Singleton; /** * Controller which only purpose is to enable both "some-url/" and "some-url" paths. */ @Singleton public final class ApplicationController extends Sunrise...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements.  See the NOTICE file * distributed with this work for additional information * regarding copyright ownership.  The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.shuzijun.leetcode.plugin.actions.toolbar; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.DialogWrapper; import com.intellij.ui.components.JBPanel; import com.shuzijun.leetcode.plugin.actions.AbstractAction; import com.shuz...
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
package com.bmj.greader.dagger2.module; import dagger.Module; import dagger.Provides; import com.bmj.greader.data.api.TrendingApi; import com.bmj.greader.data.net.TrendingRepoDataSource; /** * Created by Administrator on 2016/11/15 0015. */ @Module public class TrendingRepoModule { @Provides TrendingApi pro...
package com.sherlocky.interview.algorithm.str; import org.apache.commons.lang3.StringUtils; import java.util.HashSet; import java.util.Objects; import java.util.Set; /** * 最长公共子序列:子序列只需保持相对顺序一致,并不要求连续 * <p> * 主题思想使用动态规划 * * 参考:https://www.kancloud.cn/digest/pieces-algorithm/163624 * * @author: zhangcx * @dat...
package com.buykop.console.service.impl; import org.springframework.amqp.core.AmqpTemplate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.stereotype.Service; import com.buykop.framework.util.type.BaseService; @Service @Com...
/* * Copyright 2015 AndroidPlot.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 applicabl...
package br.ufg.inf.fs.ctrl; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.ann...
package practise.lios.demo; import javax.swing.*; import java.util.Arrays; import java.util.Random; /** * @author liaiguang * @created 2020/6/6 */ public class InnerClassTest { public static void main(String[] args) { TalkingClock clock = new TalkingClock(1000, true); clock.start(); cl...
/* * Copyright (C) 2018 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 ...
/** * Copyright (C) 2016 Hurence (support@hurence.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 a...
package org.jmock.api; import org.hamcrest.Description; import org.hamcrest.SelfDescribing; /** * An object that matches, checks and fakes an {@link org.jmock.api.Invocation} * * @author npryce * @author smgf */ public interface Expectation extends SelfDescribing { /** * Have enough {@link Invocation}s...
/** Author : Siddhant Swarup Mallick * Github : https://github.com/siddhant2002 */ /** PROBLEM DESCRIPTION : * An anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once.[1] For example, the word anagram itself can be rearran...
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package org.backuity.maven.gitrelease; import java.io.File; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.plugins.annotations.Parameter; import org.apache.maven.project.MavenProject; pub...
/* * 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 applicab...
/* * Copyright 2017-2022 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 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 n...
package org.Product.Service; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppT...
/* * Copyright 2012 Cyril A. Karpenko * * 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 agr...
// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 generiert // Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert: 2014.02.04 um ...
// Targeted by JavaCPP version 1.5.2-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.tensorflow; import org.bytedeco.tensorflow.Allocator; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.tensorflow.global.tensorflow.*; /** Computes the num...
package com.zb.designpattern.prototype; /** * Created by zhangbin on 2018/8/21. */ public class ProtoTypeSubBean { private String name; public String getName() { return name; } public void setName(String name) { this.name = name; } }
package de.mtg.certpathtest.pkiobjects; import javax.xml.bind.JAXBContext; import javax.xml.bind.Marshaller; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import java.io.StringWriter; import java.util.ArrayList; @XmlRootEl...
package ru.job4j.stream; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; /** * Класс принимает двумерный массив * и формирует из него список чисел с помошью Stream API */ public class MatrixToList { public List<Integer> tolist(Integer[][] matr...
/* * 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 gui; import java.io.IOException; import java.util.List; /** * * @author river */ public class MapOnOff { public void e...
package bookshop2.supplier.client.shipBooks; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; import bookshop2.ShipmentRequestMessage; @WebService(name = "shipBooks", targetNamespace = "http://bookshop2/supplier") @SOAPBinding(style = SOAPBinding.Style.RPC) public interface ShipBooks { public Stri...
package example.model; import lombok.Getter; import java.util.HashMap; import java.util.Map; @Getter public class PasswordResetMail implements Mail { private final String subject; private final Map<String, Object> params = new HashMap<>(); private final String from; private final String to; priva...
/* Copyright 2016-2017 Esteve Fernandez <esteve@apache.org> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2002-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/******************************************************************************* * ENdoSnipe 5.0 - (https://github.com/endosnipe) * * The MIT License (MIT) * * Copyright (c) 2012 Acroquest Technology Co.,Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software ...
package mage.cards.m; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.condition.common.NightCondition; import mage.abilities.effects.common.DamageTargetEffect; import mage.abilities.effects.common.cost.SpellCostReductionSourceEffect; import mage.abilities.hint.common.NightHint; import mage.card...
package ca.uhn.fhir.jpa.term.loinc; /*- * #%L * HAPI FHIR JPA Server * %% * Copyright (C) 2014 - 2022 Smile CDR, 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 * * ht...
package com.smartling.it.marketo.sdk.testutils; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.JavaType; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Throwables; import java.net.URL; import java.util.List; import java.util.Objec...
package bsoftlabecr.entity; public class Department { private Integer id = null; private String name = null; private Integer type = null; public Integer getId() { return this.id; } public String getName() { return this.name; } public Integer getType() { return t...
package gg.projecteden.nexus.features.events.aeveonproject.effects; import gg.projecteden.nexus.Nexus; import gg.projecteden.nexus.features.regionapi.events.player.PlayerEnteredRegionEvent; import gg.projecteden.nexus.features.regionapi.events.player.PlayerLeftRegionEvent; import gg.projecteden.nexus.utils.PotionEffec...
package top.fksoft.player.android; import android.app.Application; import android.content.Context; import org.litepal.LitePal; public class SoftApplication extends Application { private static Context context ; @Override public void onCreate() { super.onCreate(); context = getApplicationCo...
package com.asniaire.redfox.crawler.api; import com.asniaire.redfox.crawler.exceptions.CrawlingException; import com.asniaire.redfox.crawler.exceptions.NoImageDetectedException; import com.asniaire.redfox.crawler.exceptions.UrlNotAccessibleException; import com.asniaire.redfox.crawler.support.image.ImageInfo; import c...
package module0874.a; import javax.management.*; import javax.naming.directory.*; import javax.net.ssl.*; /** * Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut * labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores e...
package com.fireflysource.log.internal.utils; import java.util.AbstractCollection; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * @author Pengtao Qiu */ abstract public class StringUtils { public static final String[] EMPTY_STRING_ARRAY = new String[0]; public static fina...
package cmps252.HW4_2.UnitTesting; import static org.junit.jupiter.api.Assertions.*; import java.io.FileNotFoundException; import java.util.List; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import cmps252.HW4_2....
/* * Copyright (c) 2016 Arthur Pachachura, LASA Robotics, and contributors * MIT licensed */ package org.lasarobotics.vision.opmode; import org.lasarobotics.vision.opmode.extensions.BeaconExtension; import org.lasarobotics.vision.opmode.extensions.CameraControlExtension; import org.lasarobotics.vision.opmode.extens...
package com.zxsc.zxmusic.widget; import android.content.Context; import android.util.AttributeSet; import android.util.SparseIntArray; import android.view.View; import android.widget.ImageView; import java.util.ArrayList; /** * * * * * * * * * * * * * * * * * * * * * * * * Created by zhaoyiding * Date: 15/10/22 ...
/* * $Id: ShowFileAction.java 421488 2006-07-13 03:43:08Z wsmoak $ * * Copyright 2005 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://...
/* * 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 ...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2018.03....
/* GENERATED SOURCE. DO NOT MODIFY. */ // © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html#License /* ******************************************************************************* * Copyright (C) 1996-2015, International Business Machines Corporation and ...
/* * 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 (C) 2013 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 org.hisp.dhis.reporttable; /* * Copyright (c) 2004-2018, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above co...
/* * Copyright Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.certs; import io.fabric8.kubernetes.api.model.OwnerReference; import io.fabric8.kubernetes.api.model.OwnerReferenceBuilder; import io.fabric8.kubernetes.api.mode...
package com.moon.util.compute.core; import com.moon.lang.reflect.FieldUtil; import com.moon.util.ListUtil; import com.moon.util.MapUtil; import java.util.List; import java.util.Map; /** * @author benshaoye */ enum IGetValue implements IGetter { MAP { @Override public boolean test(Object o) { ...
/* CS 584: Algorithm Design and Analysis Final Project Haomin He Cao June 2019 Comparison of Sorting Algorithms - Quicksort References: https://www.vogella.com/tutorials/JavaPerformance/article.html https://www.baeldung.com/java-measure-elapsed-time https://github.com/Acg1000/Quicksort https://www.geeksforgeeks.or...
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.envers.test.integration.components.dynamic; import org.hiber...