text
stringlengths
7
995k
package com.example; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; public cla...
package org.robolectric.shadows; import android.app.Application; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageInfo; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import org.robolectric.RuntimeEnvironment; impor...
/** * 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 ...
/* * SPDX-License-Identifier: Apache-2.0 * * Copyright © 2018 Peter Skrypalle * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
package com.google.ads.googleads.v9.services; import static io.grpc.MethodDescriptor.generateFullMethodName; /** * <pre> * Service to fetch Group Placement views. * </pre> */ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/ads/googleads/v9/services/group_placement...
/* * Copyright (C) 2011 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
package io.microshow.rxffmpeg.app.activity; import android.Manifest; import android.content.Intent; import android.os.Bundle; import android.widget.Toast; import com.tbruyelle.rxpermissions2.RxPermissions; import java.util.concurrent.TimeUnit; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCo...
package com.dylanpdx.RegenOres; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.BlockContainer; import net.minecraft.block.material.Material; import net.minecraft.entity.item.EntityTNTPrimed; import net.minecraft.init.Blocks; import net.minecraft.tileentity.TileEntity; import net...
/* * Copyright (c) 2015 The CyanogenMod Project * Copyright (c) 2017 The LineageOS 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/LICE...
package com.alexrnl.commons.arguments.parsers; import static org.junit.Assert.assertEquals; import java.lang.reflect.Field; import org.junit.Before; import org.junit.Test; /** * Test suite for the {@link WDoubleParser} class. * @author Alex */ public class WDoubleParserTest { /** The class parser to test */ pr...
package be.peopleware.struts_II.persistentBean; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import be.peopleware.struts_II.IllegalAccessException; /** * @MUDO AANPASSEn * * Security strategy API for {@link CrudAction}s...
/* * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/** * */ package org.pjay.designpatterns.factory.example1; /** * @author vijayk * */ public class ConsoleLogger implements Logger { @Override public void log(String message) { // Below message are anyways written to console, so this works as console Logger System.out.println("Writing log message to Consol...
/** * Copyright (C) 2016 Hyphenate Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by appli...
package uk.gov.mca.beacons.api.accountholder.hibernate; import java.io.Serializable; import java.util.UUID; import org.hibernate.HibernateException; import org.hibernate.engine.spi.SharedSessionContractImplementor; import org.hibernate.id.IdentifierGenerator; import uk.gov.mca.beacons.api.accountholder.domain.AccountH...
/* * 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 2016 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 (c) 1995-2013 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
/* Copyright IBM Corp. 2015 * * 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 wr...
package com.wesleyhome.stats.feed.request.api.builder; import com.wesleyhome.stats.feed.request.api.builder.plugins.TeamStatsBuilderPlugin; public class TeamGameLogsBuilder extends GameLogsBuilder<TeamGameLogsBuilder> { public static final String FEED_NAME = "team_gamelogs"; private final TeamStatsBuilderPlu...
/** * Copyright 2005-2019 The Kuali 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://www.opensource.org/licenses/ecl2.php * * Unless required by a...
package io.dropwizard.client; import org.apache.http.client.config.RequestConfig; import org.apache.http.impl.client.CloseableHttpClient; /* package */ class ConfiguredCloseableHttpClient { private final CloseableHttpClient closeableHttpClient; private final RequestConfig defaultRequestConfig; /* package...
/** * 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 under ...
/* * 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 under t...
/* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 1999-2011 Alibaba Group Holding Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * 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 2020 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 ...
package com.networknt.oas.model.impl; import com.fasterxml.jackson.databind.JsonNode; import com.networknt.jsonoverlay.*; import com.networknt.oas.model.License; import com.networknt.oas.model.OpenApi3; import javax.annotation.Generated; import java.util.Map; public class LicenseImpl extends PropertiesOverlay<Licen...
/* Class for the computation of TARGET2 calendars @(#) $Id: TARGET2Calendar.java 872 2012-02-06 22:14:14Z gfis $ 2008-04-03, Georg Fischer: copied from DeuCalendar Caution, file has UTF-8 encoding (äöüÄÖÜß) */ /* * Copyright 2008 Dr. Georg Fischer <punctum at punctum dot kom> * * Licensed under the Apa...
/*** Copyright (c) 2008-2012 CommonsWare, 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 w...
package module0156_internal.a; import java.nio.file.*; import java.sql.*; import java.util.logging.*; /** * 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 et ea...
package mage.cards.d; import mage.abilities.common.SpellCastControllerTriggeredAbility; import mage.abilities.effects.common.CopyTargetSpellEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.filter.common.FilterInstantOrSorcerySpell; import mage.game.Game; im...
package com.example.vale.viewpager; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
/* * Copyright (c) 2004, 2019 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
public void operate() throws ApplicationException { InputStream inputStream = null; try { String zipfilename = filename; if (zipfilename.indexOf(".") >= 0) { zipfilename = zipfilename.substring(0, zipfilename.lastIndexOf(".")); } zipfilenam...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/* * Copyright (c) 2020 - 2022 Microsoft Corporation * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0 * * SPDX-License-Identifier: Apache-2.0 * * Contributors: * ...
/******************************************************************************* * ___ _ ____ ____ * / _ \ _ _ ___ ___| |_| _ \| __ ) * | | | | | | |/ _ \/ __| __| | | | _ \ * | |_| | |_| | __/\__ \ |_| |_| | |_) | * \__\_\\__,_|\___||___/\__|____/|____/ * * Copyright (c...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/* * Copyright (c) 2020-2021 Skye Elliot. All rights reserved. * Licensed under the MIT License, see LICENSE for more information... */ package com.dumbdogdiner.worldguardextraflags.worldguard.wrappers.v7; import com.dumbdogdiner.worldguardextraflags.worldguard.wrappers.AbstractRegionManagerWrapper; import com.sk89...
package ru.stqa.pft.rest; public class Issue { private int id; private String subject; private String description; public int getId() { return id; } public Issue withId(int id) { this.id = id; return this; } public String getSubject() { return subject;...
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.adapters.repositoryservices.igc.clientlibrary.model.generated.v11502; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.odpi.openmetadata.adapters.repositoryservices.i...
package com.gitlab.jeeto.oboco.api.v1.bookscanner; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import org.eclipse.microprofile.openapi.annotations.media.Schema; import com.fasterxml.jackson.annotation.JsonInclude; @Schema(name = "BookScanner", description = "A bookS...
/* * ============================================================================ * GNU Lesser General Public License * ============================================================================ * * BYDAN - Free Java BYDAN library. * Copyright (C) 2008 * * This library is free software; you can redistribute it and/...
package com.sfgassistant; import android.app.Application; import com.crashlytics.android.Crashlytics; import com.google.android.gms.ads.MobileAds; import io.fabric.sdk.android.Fabric; /** * Created by pierr on 02/10/2016. */ public class MyApp extends Application { @Override public void onCreate() { ...
package com.adobe.phonegap.push; import android.content.Context; import android.app.IntentService; import android.content.Intent; import android.content.SharedPreferences; import android.util.Log; import com.google.android.gms.gcm.GoogleCloudMessaging; import com.google.android.gms.iid.InstanceID; import java.io.IO...
/* * 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.sdb.scm.base.controller; import java.util.List; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.s...
package stevekung.mods.moreplanets.planets.nibiru.client.renderer.entity; import net.minecraft.client.model.ModelVillager; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.clien...
package com.ctrip.soa.artemis.management.log; import com.ctrip.soa.artemis.HasResponseStatus; import com.ctrip.soa.artemis.ResponseStatus; import com.ctrip.soa.artemis.management.group.log.ServiceInstanceLog; import java.util.List; /** * Created by fang_j on 10/07/2016. */ public class GetServiceInstanceLogsRespon...
import java.util.Scanner; class Student{ String admission_date; String name; String course; String roll; String student_id; int[] marks=new int[5]; int total_score; void get_data(){ Scanner scan=new Scanner(System.in); System.out.print("Enter name of student: "); ...
/* * 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 ...
/** * Mary Gooneratne * Child of CellGrid class * Responsible for simulation of Spreading of Fire CA */ package simulation; import java.util.ArrayList; public class SpreadingOfFireGrid extends CellGrid{ private static double INIT_PROB_CATCH = 0.5; private double probCatch; public SpreadingOfFireGrid(int...
/** * 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.deltaqin.sys.mapper; import com.deltaqin.sys.model.SysMenu; import com.deltaqin.sys.model.SysMenuExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface SysMenuMapper { long countByExample(SysMenuExample example); int deleteByExample(SysMenuExample example); ...
/* * 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 sivent.utilities; import java.time.Instant; import java.time.LocalDate; import java.time.ZoneId; import java.util.Date; /** ...
package com.utiltube.kafka.video.model; public class Video { private static final int IMPOSSIBLE_ID = -1; private int id = IMPOSSIBLE_ID; private String identifier; private String provider; private String title; private String description; public int getId() { return id; } ...
/* * Copyright 2015-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/* * Copyright 2017 StreamSets 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...
/* * 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 cn.finalteam.galleryfinal; import anywheresoftware.b4a.BA; public class R { public static final class dimen { public static int fab_shadow_radius = BA.applicationContext.getResources().getIdentifier("fab_shadow_radius", "dimen", BA.packageName); public static int fab_shadow_offset = BA.applicationContext...
/* * Copyright 2018, Yahoo Inc. * Licensed under the terms of the Apache License, Version 2.0. * See the LICENSE file associated with the project for terms. */ package com.yahoo.bullet.bql.tree; import com.yahoo.bullet.query.aggregations.Distribution; import com.yahoo.bullet.query.aggregations.DistributionType;...
package com.lmarket.ware.feign; import com.common.utils.R; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; @FeignClient("lmarket-member") public interface MemberFeignService { @Reque...
package com.skysport.interfaces.model.permission.resource.service.impl; import com.skysport.core.bean.permission.ResourceInfo; import com.skysport.core.model.common.impl.CommonServiceImpl; import com.skysport.interfaces.mapper.permission.ResourceInfoMapper; import com.skysport.interfaces.model.permission.resource.serv...
/** * The MIT License (MIT) * * Copyright (c) 2009-2015 FoundationDB, LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights...
package org.jboss.weld.contexts.beanstore; import java.util.Collection; import java.util.Iterator; import org.jboss.weld.serialization.spi.BeanIdentifier; public interface NamingScheme { /** * Determine if this identifier has been prefixed * * @param id the id to check * @return true if it h...
package com.kaplandroid.twitternews; /** * * @author KAPLANDROID * * Singleton Class for app settings * */ public class AppData { private int lastNewsID; private String lastKeyword; public static final int FEEDBACK_COOL = 1; public static final int FEEDBACK_BORING = 2; private static AppData r...
/* * GridGain Community Edition Licensing * Copyright 2019 GridGain Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause * Restriction; you may not use this file except in compliance with the License. You may obtain a * c...
package haxe.test; import java.lang.annotation.*; public interface MyDefaultInterface { default public String test(String a) { return a.toUpperCase(); } } class MyDefaultClass implements MyDefaultInterface {}
package org.semanticweb.yars.nx.dt.datetime; import java.util.GregorianCalendar; import org.semanticweb.yars.nx.Resource; import org.semanticweb.yars.nx.dt.Datatype; import org.semanticweb.yars.nx.dt.DatatypeParseException; import org.semanticweb.yars.nx.namespace.XSD; /** * xsd:date datatype * @author aidhog * ...
package com.czfx.gulimall.order.dto; import lombok.Data; import java.math.BigDecimal; import java.util.List; @Data public class OrderItemDTO { private Long skuId; private String title; private String image; private List<String> skuAttr; /** 单价 */ private BigDecimal price; /** 数量 */ ...
package com.mybooks.config; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class WebConfigurerTestController { @GetMapping("/api/test-cors") public void testCorsOnApiPath() { } @GetMapping("/test/test-c...
/* * 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 org.d0tplist.netwhatsapp; import javax.swing.JButton; /** * * @author alex */ public class Aux extends javax.swing.JPanel ...
/** * Copyright 2018 Russell Yorke * 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 edu.put.ma.model; import java.io.File; import java.util.List; import org.biojava.nbio.structure.Group; import org.biojava.nbio.structure.SVDSuperimposer; import edu.put.ma.io.writer.Writer; public interface DescriptorsPair { MoleculeType getMoleculeType(); String getDescriptorsPairId(); boole...
package eatyourbeets.effects.card; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.megacrit.cardcrawl.cards.AbstractCard; import com.megacrit.cardcrawl.vfx.AbstractGameEffect; public class HideCardEffect extends AbstractGameEffect { private final AbstractCard c; private static final float DUR = 1...
package com.ty.nanfangscanner.gson; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonParseException; import com.google.gson.JsonPrimitive; import com.google.gson.JsonSerializationContext; import com.google.gson.Js...
/* 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...
package lib.phenix.com.views.fragments; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.webkit.WebView; import android.webkit.WebViewClient; import lib.phenix.com.views.R; /** * A simple {@...
package whiteboard_client; import shared.messages.client.DrawingMessage; import shared.model.drawing.TextDrawing; import java.awt.*; import java.util.Random; import java.util.TimerTask; public class TestSender extends TimerTask { private TestClient client; TestSender(TestClient client) { this.client...
/******************************************************************************* * Copyright 2018 Dynamic Analysis Group, Università della Svizzera Italiana (USI) * * 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 ...
/* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2017 HugeGraph Authors * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with this * work for additional information regarding copyright ownership. The ASF * licenses this file to You under the Apache License, Ve...
package org.hisp.dhis.textpattern; /* * Copyright (c) 2004-2020, 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 The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.sdk.metrics; import static io.opentelemetry.common.AttributeKey.stringKey; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertThrows; import io.ope...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/******************************************************************************* * Copyright (c) Contributors to the Eclipse 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 *...
package com.apress.prospring5.ch3; import org.springframework.beans.factory.support.MethodReplacer; import java.lang.reflect.Method; public class FormatMessageReplacer implements MethodReplacer { @Override public Object reimplement(Object arg0, Method method, Object[] args) throws Throwable { if (isFormatMes...
package org.elasticsearch.index.mapper.geo; import org.apache.lucene.document.Field; import org.apache.lucene.document.FieldType; import org.apache.lucene.index.FieldInfo; import org.apache.lucene.spatial.prefix.PrefixTreeStrategy; import org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy; import org.apache....
/* * 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 ...
/*___Generated_by_IDEA___*/ package com.example.amit.leave1; /* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */ public final class Manifest { }
package com.alicp.jetcache.redis; import com.alicp.jetcache.external.ExternalCacheBuilder; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import redis.clients.util.Pool; /** * Created on 2016/10/7. * * @author <a href="mailto:areyouok@gmail.com">huangli</a> */ public class RedisCacheBuild...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package org.flixel.examples.tiledmap2; import org.flixel.FlxButton; import org.flixel.FlxG; import org.flixel.FlxGamePad; import org.flixel.FlxSprite; import com.badlogic.gdx.Input.Keys; import flash.display.BlendMode; public class Player extends FlxSprite { private static String ImgPlayer = "examples/tiledmap2/pac...
package com.chinamobile.shop.utils; import java.text.SimpleDateFormat; import java.util.Date; /** * TimeUtils * */ public class TimeUtils { public static final SimpleDateFormat DEFAULT_DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); public static final SimpleDateFormat DATE_FORMAT_DATE = new...
package com.oath.oak.synchrobench.contention.benchmark; /** * Parameters of the Java version of the * Synchrobench benchmark. * * @author Vincent Gramoli */ public class Parameters { enum KeyDist { RANDOM, INCREASING } public static int numThreads = 1, numMilliseconds = 5000, numWrites = 0, ...
/* * Copyright @ 2015 Atlassian Pty 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 law or ag...
/** * Copyright 2006-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...