text
stringlengths
7
995k
package com.xiaoleilu.hutool.lang; import org.junit.Assert; import org.junit.Test; import com.xiaoleilu.hutool.collection.CollUtil; public class WeightRandomTest { @Test public void weightRandomTest() { WeightRandom<String> random = WeightRandom.create(); random.add("A", 10); random.add("B", 50); r...
package org.firstinspires.ftc.teamcode.testing; import com.disnodeteam.dogecommander.DogeCommander; import com.disnodeteam.dogecommander.DogeOpMode; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import org.firstinspires.ftc.teamcode.robot.commands....
package com.flextrade.jfixture; import com.flextrade.jfixture.customisation.Customisation; import com.flextrade.jfixture.customisation.InstanceCustomisation; import com.flextrade.jfixture.customisation.InstanceFactoryCustomisation; import com.flextrade.jfixture.customisation.SubTypeCustomisation; import org.junit.Befo...
package ua.lviv.navpil.rmi.compute; import java.rmi.Remote; import java.rmi.RemoteException; public interface Compute extends Remote { <T> T executeTask(Task<T> t) throws RemoteException; }
/* * 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 mekanism.client.render.lib; import mekanism.common.lib.Color; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.client.renderer.vertex.VertexFormat; import net.minecraft.client.renderer.vertex.VertexFormatElement; import net.minecraft.util.math.vector.Vector3d; public class...
/* * 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...
/*PLEASE DO NOT EDIT THIS CODE*/ /*This code was generated using the UMPLE 1.31.1.5860.78bb27cc6 modeling language!*/ package cruise.umple.compiler; import java.util.*; // line 17 "../../../../src/Generator_CodeStructureDiagram.ump" public class ComponentDescriptor { //------------------------ // MEMBER VARIABLE...
package fi.salminen.tomy.peak.util; import com.google.gson.JsonParseException; import com.google.gson.JsonParser; public class JsonValidator { private JsonParser mParser; public JsonValidator() { this.mParser = new JsonParser(); } public boolean isValid(String jsonString) { try { ...
/* * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * 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.litespring.beans; public class TypeMismatchException extends BeansException { private transient Object value; private Class<?> requiredType; public TypeMismatchException(Object value,Class<?> requiredType) { super("Failed to convert value :" + value + "to type" + requiredType); ...
package com.platon.rlp.wasm; import com.platon.rlp.wasm.datatypes.Pair; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.NoArgsConstructor; import java.util.Collection; import java.util.Map; @NoArgsConstructor(access = AccessLevel.PUBLIC) @AllArgsConstructor(access = ...
package com.twinkle.framework.core.asm.bytecode.analysis; import com.twinkle.framework.core.asm.graph.DepthFirstSearch; import com.twinkle.framework.core.asm.graph.Edge; import com.twinkle.framework.core.asm.graph.Vertex; import org.objectweb.asm.tree.ClassNode; import java.util.stream.Stream; /** * Search implment...
// This file was automatically generated from IFCDOC at https://technical.buildingsmart.org/. // Very slight modifications were made to made content align with ifcXML reference examples. // Use this class library to create IFC-compliant (web) applications with XML and JSON data. // Author: Pieter Pauwels, Eindhoven Uni...
package pt.rfernandes.bubbletweet.model; public class TweetErrors { private int errors; private String message; public TweetErrors(int errors, String message) { this.errors = errors; this.message = message; } public int getErrors() { return errors; } public void setErrors(int errors) { ...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package org.joda.time.base; import java.io.Serializable; import org.joda.time.*; import org.joda.time.convert.ConverterManager; import org.joda.time.conve...
package com.ayansh.hanudroid; import java.io.File; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.ListIterator; import android.util.Log; public class PostManager...
package com.cloud.tao.net.model.appmodel.req; import com.cloud.tao.net.base.BaseReq; /** * sunny created at 2016/10/20 * des: 商品详情请求参数 */ public class GoodsDetailsReq extends BaseReq{ public String g; }
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package gwt.material.design.client.ui; /* * #%L * GwtMaterial * %% * Copyright (C) 2015 GwtMaterialDesign * %% * 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...
/******************************************************************************* * * Copyright 2019 Adobe. All rights reserved. * This file is licensed 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 * ...
package com.yudong80.java.ch07; import java.util.Random; public class RandomExample { public static void main(String[] args) { Random r = new Random(); final int NUMBERS = 10; //1. 정수형 난수 System.out.println("난수들(int형): "); for (int i=0; i< NUMBERS; ++i) { System.out.print(r.nextInt() + " "); } ...
package com.lowlevel.cookiedialog.dialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import com.lowlevel.cookiedialog.CookieManager; import com.lowlevel.cookiedialog.R; public abstract class ICookieDialog implements DialogInterface.OnClickListener { /* ...
/** * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Lice...
package com.riverflows; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.LoaderManager; import android....
package com.icthh.xm.commons.lep.spring; import com.icthh.xm.commons.lep.LogicExtensionPoint; import com.icthh.xm.commons.lep.XmLepConstants; import com.icthh.xm.lep.api.LepInvocationCauseException; import com.icthh.xm.lep.api.LepKey; import com.icthh.xm.lep.api.LepKeyResolver; import com.icthh.xm.lep.api.LepManager; ...
/* * Copyright 2010-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 "l...
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
/* * 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.example.exam.model.service; public class UserServiceModel { private Long id; private String username; private String fullName; private String password; private String email; public Long getId() { return id; } public UserServiceModel setId(Long id) { this.i...
package android.coolweather.com.coolweather; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protect...
/* * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * 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.macro.mall.model; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; public class PmsSkuStockExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public PmsSkuStockExample() { oredCriteria = new...
/* * This file is part of cruzeira and it's licensed under the project terms. */ package org.cruzeira.spring; import org.cruzeira.WebContext; import org.cruzeira.servlet.ServletConfig1; import org.cruzeira.servlet.ServletContext1; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.co...
package org.folio.rest.impl; import static com.github.tomakehurst.wiremock.client.WireMock.get; import static com.github.tomakehurst.wiremock.client.WireMock.okJson; import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo; import io.vertx.core.DeploymentOptions; import io.vertx.core.Future; impor...
package com.kintone.client.model.record; import com.kintone.client.model.FileBody; import com.kintone.client.model.Group; import com.kintone.client.model.Organization; import com.kintone.client.model.User; import java.math.BigDecimal; import java.time.LocalDate; import java.time.LocalTime; import java.time.ZonedDateTi...
package dk.brics.inspector.api.model.locations; import dk.brics.inspector.api.model.ids.ContextID; /** * Abstract context. */ public class DescribedContext { public final ContextID id; public final String rendering; public DescribedContext(String rendering, ContextID id) { this.id = id; ...
package com.rs.game.player.dialogues.impl; import com.rs.game.player.dialogues.Dialogue; public class WarningD extends Dialogue { private Runnable run; @Override public void start() { int id = (int) parameters[1]; run = (Runnable) parameters[4]; if (player.getDoomsayerManager().isWarningOff(id)) { end()...
package com.sid.leetcode.problem.string; import java.util.HashMap; import java.util.Map; /** * 76. Minimum Window Substring. * * <blockquote> * Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). * * <p> * <b>Example:</b> * <blockquote>...
/* * Copyright (c) 2014 mgamelabs * To see our full license terms, please visit https://github.com/mgamelabs/mengine/blob/master/LICENSE.md * All rights reserved. */ package mEngine.graphics.renderable.textures; import mEngine.graphics.renderable.animations.TextureAnimation; import mEngine.graphics.renderable.ani...
package syntaxtree.visitor; import syntaxtree.Call; import syntaxtree.Equality; import syntaxtree.Exp; import syntaxtree.ForEach; import syntaxtree.IdentifierExp; import syntaxtree.Assign; import syntaxtree.IntegerType; import syntaxtree.IdentifierType; import syntaxtree.LessThanOrEqual; import syntaxtree.Or; import s...
/* 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 org.smartframework.cloud.examples.basic.auth.entity.base; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.experimental.SuperBuilder; import org.smartframework....
package inc.util.serialization.token; public class NewClass extends DefaultPositionMarkers implements ContentObject { private ClassDesc classDesc; public void setClassDesc(ClassDesc classdesc) { this.classDesc = classdesc; } }
package systems.microservice.loghub.jackson.core.type; /** * Type abstraction that represents Java type that has been resolved * (i.e. has all generic information, if any, resolved to concrete * types). * Note that this is an intermediate type, and all concrete instances * MUST be of type <code>JavaType</code> fr...
/** * TLS-Attacker - A Modular Penetration Testing Framework for TLS * * Copyright 2014-2020 Ruhr University Bochum, Paderborn University, * and Hackmanit GmbH * * Licensed under Apache License 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package de.rub.nds.tlsattacker.core.config.delegate; import com.b...
package android.support.p000v4.animation; import android.view.View; import java.util.ArrayList; import java.util.List; /* renamed from: android.support.v4.animation.DonutAnimatorCompatProvider */ class DonutAnimatorCompatProvider implements AnimatorProvider { /* renamed from: android.support.v4.animation.DonutAn...
package com.example.dimitris.chesspositiontrainer; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricGradleTestRunner; import org.robolectric.annotation.Config; import static com.example.dimitris.chesspositiontrainer.Piece.PieceColor; import static com....
package dev.sanda.mockeri.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE}) public @interface SingletonTestValue { }
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * See LICENSE.txt included in this distribution for the specific * language governing permissio...
package cs.myaccountbook104; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageButton; import android.w...
package com.kaesar.designpattern.zen.chp22; public class Lisi3 implements Observer { // 首先李斯是个观察者,一旦韩非子有活动,他就知道,他就要向老板汇报 @Override public void update(String context) { System.out.println("李斯:观察到韩非子活动,开始向老板汇报..."); this.reportToQinShiHuang(context); System.out.println("李斯:汇报完毕...\n")...
/* * 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 ...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package android.support.customview; public final class R { public static final class attr { public static final int alpha =...
package haxby.nav; public abstract class ControlPt extends java.awt.geom.Point2D { public static class Short extends ControlPt { public short x; public short y; public Short() { x = 0; y = 0; } public Short( short x, short y) { this.x = x; this.y = y; } public double getX() { return (doub...
package com.badlogic.gdx.graphics.glutils; import com.badlogic.gdx.Graphics; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.GL30; import com.badlogic.gdx.graphics.VertexAttribute; import com.badlogic.gdx.graphics.VertexAttributes; import com.badlogic.gdx.utils.BufferUtils; import com.badlogic....
package net.MrBonono63.create.blocks.contraptions; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.PillarBlock; import net.minecraft.state.StateManager; import net.minecraft.util.math.Direction; public class EncasedShaftBlock extends PillarBlock { public Encase...
package material; import android.animation.ArgbEvaluator; import android.animation.ObjectAnimator; import android.annotation.TargetApi; import android.content.Context; import android.content.res.Configuration; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.BitmapFactory;...
package com.tencent.ads.examples.BasicOperations.BusinessAssets; import com.tencent.ads.ApiContextConfig; import com.tencent.ads.TencentAds; import com.tencent.ads.exception.TencentAdsResponseException; import com.tencent.ads.exception.TencentAdsSDKException; import com.tencent.ads.model.*; import com.tencent.ads.mode...
package com.shenjinxiang.interaction.core; import com.shenjinxiang.interaction.entity.ControTcpCommand; import com.shenjinxiang.interaction.entity.ControTcpResult; import com.shenjinxiang.interaction.entity.RunStatus; import com.shenjinxiang.interaction.entity.Wave; import com.shenjinxiang.interaction.io.IOKit; import...
/*- * * * Copyright 2015 Skymind,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 * * * * ...
/* FileBasedPreferences.java -- File-based preference implementation Copyright (C) 2006 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 Fou...
package com.atguigu.springcloud; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; @SpringBootApplication @EnableEurekaClient public class ConfigClientMain3366{ public static v...
package stsjorbsmod.actions; import com.megacrit.cardcrawl.actions.AbstractGameAction; import com.megacrit.cardcrawl.cards.AbstractCard; import com.megacrit.cardcrawl.cards.CardGroup; import com.megacrit.cardcrawl.core.AbstractCreature; import com.megacrit.cardcrawl.core.CardCrawlGame; import com.megacrit.cardcrawl.co...
/* * 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 glredbook11; import glredbook10.GLSkeleton; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.nio.ByteBuffer; import javax.media.opengl.GL; import javax.media.opengl.GL2; import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.GLCapabilities; import javax.media.opengl...
package net.md_5.bungee.protocol; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.MessageToMessageDecoder; import java.util.List; import lombok.AllArgsConstructor; import lombok.Setter; @AllArgsConstructor public class MinecraftDecoder extends MessageToMess...
package com.ubergeek42.WeechatAndroid.adapters; public interface BufferListClickListener { void onBufferClick(String fullName); }
package com.chutneytesting.task.amqp; import com.rabbitmq.client.ConnectionFactory; import com.chutneytesting.task.spi.injectable.Target; import java.net.URISyntaxException; import java.security.GeneralSecurityException; public class ConnectionFactoryFactory { public ConnectionFactory create(Target target) { ...
package ca.pfv.spmf.algorithms.frequentpatterns.fhmds.ds; /* This file is copyright (c) 2018+ by Siddharth Dawar et al. * * This file is part of the SPMF DATA MINING SOFTWARE * (http://www.philippe-fournier-viger.com/spmf). * * SPMF is free software: you can redistribute it and/or modify it under the * terms...
/* * 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 edu.harvard.iq.dataverse.search; import edu.harvard.iq.dataverse.DataFile; import edu.harvard.iq.dataverse.DataFileServiceBean; import edu.harvard.iq.dataverse.DataFileTag; import edu.harvard.iq.dataverse.DataTable; import edu.harvard.iq.dataverse.Dataset; import edu.harvard.iq.dataverse.DatasetServiceBean; im...
package com.zhibt.parser; import java.io.InputStream; /** * @author boris */ public interface IParser { /** * @param in */ public Object parse(InputStream in); public int getCode(); public String getMsg(); }
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * Copyright (C) 2010-2017 Eugene Fradkin (eugene.fradkin@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 ob...
package nl.f00f.unpacker.settings; import org.jetbrains.annotations.Contract; /** * A builder for unpacker settings. * * This builder is multi-use. Each call to {@link #build()} will return a distinct instance of * an {@link UnpackerSettings} implementation. */ @SuppressWarnings({"ReturnOfThis", "customary for t...
package com.vmlens.trace.agent.bootstrap; public enum FieldTyp { FINAL , NON_VOLATILE, VOLATILE, UNDEFINED; }
package com.planet_ink.coffee_mud.Abilities.Druid; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.pl...
// ============================================================================ // // Copyright (C) 2006-2016 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
/* WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY. This file was generated from .idl using "rtiddsgen". The rtiddsgen tool is part of the RTI Connext distribution. For more information, type 'rtiddsgen -help' at a command shell or consult the RTI Connext manual. */ package rapid; import com.rti.dds.cdr.CdrEncap...
/* * 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 org.glowroot.instrumentation.servlet; import org.glowroot.instrumentation.api.Descriptor; import org.glowroot.instrumentation.api.Descriptor.CaptureKind; import org.glowroot.instrumentation.api.Descriptor.PropertyType; @Descriptor( id = "servlet", name = "Servlet", properti...
/* * Copyright 2016 agwlvssainokuni * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
/* * Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved. */ package net.snowflake.client.jdbc.cloud.storage; import com.amazonaws.AmazonClientException; import com.amazonaws.AmazonServiceException; import com.amazonaws.ClientConfiguration; import com.amazonaws.auth.AWSCredentials; import com.amazo...
/** * This document is a part of the source code and related artifacts * for CollectionSpace, an open source collections management system * for museums and related institutions: * * http://www.collectionspace.org * http://wiki.collectionspace.org * * Copyright © 2009 Regents of the University of California * ...
package org.lanqiao.tjut.myUtils; import java.text.DateFormat; import java.text.DateFormatSymbols; import java.text.SimpleDateFormat; import java.util.Locale; import org.apache.commons.beanutils.Converter; public class DateTimeConverter implements Converter { // 要转换的目标日期类型的格式 private static final String DATE = "y...
package org.schoellerfamily.gedbrowser.renderer; import org.schoellerfamily.gedbrowser.datamodel.Source; import org.schoellerfamily.gedbrowser.datamodel.SourceLink; /** * @author Dick Schoeller */ public class SourceLinkNameHtmlRenderer implements NameHtmlRenderer { /** * Holder for the SourceLinkRenderer ...
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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 (c) 2016, 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 * * Unles...
/** * Copyright 1996-2013 Founder International Co.,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 ...
package org.greypowergaeservices.test.util; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.context.transaction.TransactionConfiguration; import org.springframework.tr...
/* * Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
/** * Copyright (c) 2019. Qubole 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 in writing...
/* * 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 Software Foundation. Oracle designates this * particular file as subject to th...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.provision.provisioning; import com.google.inject.Inject; import com.yahoo.config.provision.ApplicationId; import com.yahoo.config.provision.Capacity; import com.yahoo.co...
/* * 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.spongepowered.asm.lib.tree.analysis; import org.spongepowered.asm.lib.*; import java.util.*; public class SimpleVerifier extends BasicVerifier { private final Type currentClass; private final Type currentSuperClass; private final List<Type> currentClassInterfaces; private final boolean isI...
/* * Copyright 2014 NAVER Corp. * * 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) 2006-2015 Rogério Liesenfeld * This file is subject to the terms of the MIT license (see LICENSE.txt). */ package mockit.internal.state; import java.util.*; import javax.annotation.*; import mockit.external.asm.*; public final class ParameterNames { private static final Map<String, Map<Strin...