text
stringlengths
7
995k
package net.ravendb.client.documents.session.tokens; import net.ravendb.client.documents.queries.facets.*; import org.apache.commons.lang3.NotImplementedException; import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.StringUtils; import java.util.ArrayList; import java.util.List; import java.u...
package org.zstack.sdk; import java.util.HashMap; import java.util.Map; import org.zstack.sdk.*; public class SyncDahoCloudConnectionAction extends AbstractAction { private static final HashMap<String, Parameter> parameterMap = new HashMap<>(); private static final HashMap<String, Parameter> nonAPIParameter...
/* * Copyright: Copyright (c)2011 * Company: 易宝支付(YeePay) */ package com.yeepay.yop.sdk.utils; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.util.Random; import java.util.concurrent.ThreadLocalRandom; /** * title: <br> * description: 描述<br> * Copyright: Copyright...
package mat.shared; import java.util.HashSet; import java.util.Map; import java.util.Set; public class ValidationUtility { /** The good chars. */ private final String goodChars = "`~1!2@3#4$5%6^7&8*9(0)-_=+qwertyuiop[]\\QWERTYUIOP{}|asdfghjkl;'ASDFGHJKL:\"zxcvbnm,./ZXCVBNM<>?"; /** The allowed chars. */ priva...
package org.acra.dialog; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.SharedPreferences; import android.os.Bundle; import android.support.annotation.CallSuper; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.text.In...
/* * Copyright 2017 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* ### * IP: Apache License 2.0 with LLVM Exceptions */ package SWIG; /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.2 * * Do not make changes to this file unless you know what you are doing--mo...
/* * All GTAS code is Copyright 2016, The Department of Homeland Security (DHS), U.S. Customs and Border Protection (CBP). * * Please see LICENSE.txt for details. */ package gov.gtas.rule.builder.pnr; import static gov.gtas.rule.builder.RuleTemplateConstants.LINK_VARIABLE_SUFFIX; import gov.gtas.enumtype.EntityEn...
/* * Copyright 2011-2016 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 ...
import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import javax.swing.*; import javax.swing.table.DefaultTableModel; public class Database extends JPanel{ static JTextArea sql...
package com.hsdi.NetMe.ui.startup; import android.Manifest; import android.app.ProgressDialog; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.TextInputEditText; import android.support.v4....
/* 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 * distribut...
/******************************************************************************* * Copyright 2014 See AUTHORS file. * * 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.a...
package org.pac4j.http.client.direct; import org.pac4j.core.client.DirectClientV2; import org.pac4j.core.context.WebContext; import org.pac4j.core.credentials.authenticator.Authenticator; import org.pac4j.core.profile.CommonProfile; import org.pac4j.core.profile.creator.ProfileCreator; import org.pac4j.core.util.Commo...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
/* * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Modifications copyright (C) 2017 Uber Technologies, Inc. * * 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 * loc...
class Point { }
package org.ovirt.engine.ui.uicommonweb.models.hosts.network; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.ovirt.engine.core.common.businessentities.InterfaceStatus; import org.ovirt.engine.core.common.businessentities.VdsNetworkInterface; import org.ovirt.engine.ui.uicom...
/* * Copyright (c) 2013-2015 Josef Hardi <josef.hardi@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 requir...
/* * 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
/* * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.example.piotr.lab5.database.table; import android.database.sqlite.SQLiteDatabase; import android.provider.BaseColumns; public class ProjectGroupTable { public static final String TABLE_NAME = "project_groups"; public static final class ProjectGroupColumns implements BaseColumns { public s...
package com.tiny.demo.firstlinecode.storage; import android.content.Context; import android.content.Intent; import android.view.View; import android.widget.Button; import com.tiny.demo.firstlinecode.R; import com.tiny.demo.firstlinecode.base.BaseActivity; import com.tiny.demo.firstlinecode.storage.database.SqliteUpgr...
/* * Copyright (c) 2006, The Joust Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, this l...
/* * 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 com.xt.core; /* * Copyright 2002-2013 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 * * ...
/** * Copyright (c) KMG. 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 io.state; /** * enum State ...
package wisematches.playground; import wisematches.core.Personality; import java.util.List; /** * @author <a href="mailto:smklimenko@gmail.com">Sergey Klimenko</a> */ public interface GameBoard<S extends GameSettings, H extends GamePlayerHand, M extends GameMove> extends BoardDescription<S, H> { /** * Returns u...
package sirinleroyun; /** * * @author Gökçe Yılmaz */ public class Karakter { private int karakterID; private String karakterAd; private String karakterTur; public Karakter(){ } public Karakter(int karakterID, String karakterAdi , String karakterTur){ this.karakterID =...
/* * 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 ...
/* * 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 m...
/** * Copyright 2016 Netflix, 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 config; import javax.swing.*; import java.io.File; import java.io.FileWriter; import java.io.IOException; public class TesterConfig { public final static String GENERATED_FILE_HEADER = "*****Arquivo Gerado pelo programa*****"; public final static String RES_FILE_HEADER = "*****Arquivo de saída e...
/* * Copyright 2016-2018 John Grosh (jagrosh) & Kaidan Gustave (TheMonitorLizard) * * 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 uk.gov.companieshouse.document.generator.company.report.mapping.mappers.recentfilinghistory; import org.apache.commons.lang.text.StrSubstitutor; import org.mapstruct.AfterMapping; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.mapstruct.MappingTarget; import org.mapstruct.Mappings; impor...
//this file is where the catapult is ran //find the SpinMotor's to change id and speed package frc.robot; import edu.wpi.first.wpilibj.GenericHID; import edu.wpi.first.wpilibj.XboxController; import frc.robot.commands.CatapultCommands.CatapultCommand; import frc.robot.commands.CatapultCommands.CatapultDouble; import ...
package huhong.scala.common; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD}) @Retention(RetentionPolicy.RUNT...
package com.scottlogic.deg.generator.generation.combinationstrategies; import com.scottlogic.deg.generator.generation.databags.DataBag; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.stream.Collectors; import java.util.stream.IntStream; import java.util.stream.Stream;...
package rosa.scanvas.demo.website.client.testviewable; import rosa.scanvas.demo.website.client.disparea.DisplayArea; import rosa.scanvas.demo.website.client.disparea.DisplayAreaView; import com.google.gwt.canvas.client.Canvas; import com.google.gwt.canvas.dom.client.Context2d; import com.google.gwt.user.client.ui.But...
/* * 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 ...
/* REQUEST_PROCESSING_POLICY_ID.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or...
package com.ss.android.ugc.bytex.transformer.processor.task; import com.ss.android.ugc.bytex.transformer.cache.FileCache; import com.ss.android.ugc.bytex.transformer.cache.FileData; import com.ss.android.ugc.bytex.transformer.processor.FileProcessor; import com.ss.android.ugc.bytex.transformer.processor.ProcessorChain...
package versionning.entities; public abstract class User { private int id; private String firstname; private String lastname; private String login; private String password; private byte[] guid; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getFirstname()...
/******************************************************************************* * Copyright (c) 2000, 2008 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.github.toastshaman.dropwizard.auth.jwt; import com.nimbusds.jwt.JWTClaimsSet; import io.dropwizard.auth.AuthenticationException; import io.dropwizard.auth.Authenticator; import io.dropwizard.auth.Authorizer; import io.dropwizard.auth.PrincipalImpl; import java.security.Principal; import java.util.List; im...
package ren.solid.ganhuoio.library.behavior; import android.content.Context; import android.support.design.widget.CoordinatorLayout; import android.support.v4.view.ViewCompat; import android.support.v7.widget.Toolbar; import android.util.AttributeSet; import android.util.Log; import android.view.View; import android.w...
/** */ package gluemodel.CIM.IEC61970.Core; import gluemodel.CIM.IEC61970.Wires.Line; import org.eclipse.emf.common.util.EList; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Sub Geographical Region</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported...
/** * Copyright (c) 2003-2016 The Apereo Foundation * * Licensed under the Educational Community 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://opensource.org/licenses/ecl2 * * Unless requ...
/* * Copyright 2008 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...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.2-hudson-jaxb-ri-2.2-63- // 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...
package com.hedera.mirror.importer.parser.record.transactionhandler; /*- * ‌ * Hedera Mirror Node * ​ * Copyright (C) 2019 - 2021 Hedera Hashgraph, LLC * ​ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a cop...
package de.fraunhofer.abm.builder.api; import java.io.File; import java.util.List; public interface HermesBuilder { public void init(File repoDir); List<File> build(File repoDir) throws Exception; public List<HermesStep<?>> getHermesSteps(); public <T> HermesStep<T> addHermesStep(HermesStep<T> hermesStep); public vo...
/**************************************************************** * 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...
/* package com.ikinloop.centercomfigclient; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class CenterComfigClientApplicationTests { ...
/* * Copyright 2012-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/* * Copyright © 2018-2022 Jesse Gallagher * * 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...
/* * Copyright 1999-2019 Seata.io 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 l...
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
package com.yourname.dao; import com.yourname.entity.Student; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.RowMapper; import org.springframework.stereotype.Repository; import java.sql.ResultSet; import java.sql.S...
package com.example.ling.beijingnews.utils; import android.content.Context; /** * @author ling * @des * @updateAuthor * @updataDes */ public class DensityUtil { /** * 根据手机分辨率从dio单位转换为px(像素) */ public static int dipToPix (Context context, float dpValue){ final float scale = context.get...
/******************************************************************************* * Copyright (c) Intel Corporation * Copyright (c) 2017 * * 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 ...
package com.appdynamics.test; import java.util.Random; import java.util.concurrent.TimeUnit; import com.codahale.metrics.ConsoleReporter; import com.codahale.metrics.Histogram; import com.codahale.metrics.Meter; import com.codahale.metrics.MetricRegistry; public class ConsoleReporterSample { static final Metr...
/************************************************************************* * * * EJBCA Community: The OpenSource Certificate Authority * * * * This software is...
package com.caoyx.mq.constant; /** * @Author: caoyixiong * @Date: 2020-01-13 11:18 */ public class CaoyxMqConstant { public static final String CAOYX_MQ_BROKER_APPLICATION_NAME = "caoyxMq-broker"; public static final String CAOYX_MQ_CONSUMER_APPLICATION_NAME = "caoyxMq-consumer"; public static final Str...
/* * 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 ...
package cn.dsc.mp.service; import cn.dsc.mp.model.Leave; import com.baomidou.mybatisplus.extension.service.IService; /** * @author dingShiChen * @since 2019/9/1 */ public interface LeaveService extends IService<Leave> { }
package com.alipay.api.response; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.pass.file.add response. * * @author auto create * @since 1.0, 2017-12-07 20:13:48 */ public class AlipayPassFileAddResponse extends AlipayResponse { private static ...
/* * Copyright 2018 Nikita Shakarun * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
package br.com.exemplo; public class Main { public static void main(String[] args) { ArgumentSwitcher argumentSwitcher = new ArgumentSwitcher(); //if no arguments are given, show how to get help and exit program if (args.length == 0) { System.out.println("no parameters, enter...
/* * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener...
/* * Copyright 2002-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.github.gobars.httplog.snack.features; import com.github.gobars.httplog.snack.Onode; import com.github.gobars.httplog.snack._models.*; import com.github.gobars.httplog.snack.core.Cnf; import com.github.gobars.httplog.snack.core.Ctx; import com.github.gobars.httplog.snack.from.ObjectFromer; import com.github...
package com.github.fluxw42.smappee.api; /** * Date: 6/15/17 - 9:38 PM * * @author Jeroen Meulemeester */ @FunctionalInterface public interface AuthorizationCallback { /** * Request the credentials of the user, used to get authorization for the app * * @return The users credentials (username and password) ...
package cn.artaris.androidknowledge.IntentService; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.View; import cn.artaris.androidknowledge.BaseActivity; import cn.artaris.androidknowledge.R; /** * cn.artaris.androidknowledge.IntentService * AndroidKnowledge * 2019.05.14 ...
/* * 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...
/** * Copyright © 2016-2018 The Thingsboard 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...
/* * 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 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright (c) 2000 jPOS.org. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and th...
/* * #%L * asio cli * %% * Copyright (C) 2013 - 2015 Research Group Scientific Computing, University of Vienna * %% * 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://ww...
/* * Copyright 2021 nuwan. * * 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.cubic.agent.remote; import com.cubic.agent.module.Message; import com.google.gson.Gson; import io.netty.channel.ChannelHandlerContext; /** * @ClassName ResponseHandler * @Author QIANGLU * @Date 2020/4/21 2:45 下午 * @Version 1.0 */ public interface ResponseHandler { void handle(String line); ...
package dev.pagefault.eve.dirtd.mer; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Timestamp; import java.time.LocalDate; import java.tim...
/* * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * */ package org.graalvm.compiler.phases.tiers; import org.graalvm.compiler.lir.alloc.RegisterAllocationPhase; i...
/* * Copyright (c) 2016, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ /* * Class to invoke web services calls: get and post methods for the REST APIs using...
package com.harivansh.letschat.fragment; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.fragment.app.Fragment; import androidx.recyclerview.widget.LinearLayoutManager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.google.fir...
/* * 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 * distribut...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
/* * 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.java_podio.code_gen.static_interface; import static org.mockito.Matchers.any; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.io.IOException; import java.text.ParseException; import java.util.ArrayList; import java.util...
/* Copyright (C) 2003-2016 Patrick G. Durand * * 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 o...
/* * Copyright 1&1 Internet AG, https://github.com/1and1/ * * 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.example.application.events; import com.example.application.Account; public class UserSessionEvent { private Account user = null; /** * Default constructor. Remember to set the target user. */ public UserSessionEvent() { } /** * Alternative constructor which takes as param...
package org.jenkinsci.plugins.workflow.graphanalysis; import org.jenkinsci.plugins.workflow.graph.FlowNode; import org.junit.Assert; import org.jvnet.hudson.test.Issue; import edu.umd.cs.findbugs.annotations.CheckForNull; import edu.umd.cs.findbugs.annotations.NonNull; import java.util.ArrayDeque; import java.util.Ar...
package com.revolsys.transaction; import java.util.function.Consumer; public enum TransactionOptions implements TransactionOption { ROLLBACK_ONLY(TransactionOptions::rollbackOnly), // READ_ONLY(TransactionOptions::readOnly); public static TransactionOption[] NONE = {}; public static TransactionOption[] DEF...
package com.hui.Math; /** * @author: shenhaizhilong * @date: 2018/8/29 17:54 */ public class LargestPalindromeProduct { /** * * 479. Largest Palindrome Product * DescriptionHintsSubmissionsDiscussSolution * Find the largest palindrome made from the product of two n-digit numbers. * ...
/* * Copyright(C) 2012 * * 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, s...
package org.folio.circulation.domain; import static org.apache.commons.lang3.StringUtils.equalsIgnoreCase; import java.util.ArrayList; import java.util.Arrays; import org.folio.circulation.domain.representations.RequestProperties; import io.vertx.core.json.JsonObject; public enum RequestStatus { NONE(""), OPEN...
/* * 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.zjh.apiutil.tools; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import java.util.Objects; public class StaticTools { public static String stamp_to_time(long stamp){ return stamp_to_t...