text
stringlengths
7
995k
/* * Copyright 2010-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 "lice...
/* * Copyright (c) 2017 Baidu, 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 ap...
package net.sunnary.sunnary.dto; import net.sunnary.sunnary.model.Content; import net.sunnary.sunnary.model.Tag; import java.util.Set; import java.util.stream.Collectors; public class ContentResponseDto { private Long id; private String name; private String targetUrl; private Set<String> tags; p...
package com.xeiam.xchange.atlasats.dtos.translators; import java.math.BigInteger; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Map; import com.xeiam.xchange.atlasats.dtos.AtlasCurrencyPair; import com.xeiam.xchange.atlasats.dtos.AtlasOptionContract; publ...
/* DungeonDiverII: A Map-Solving Game Copyright (C) 2008-2010 Eric Ahnell Any questions should be directed to the author via email at: products@puttysoftware.com */ package net.worldwizard.support.resourcemanagers; import java.net.URL; import net.worldwizard.randomnumbers.RandomRange; import net.worldwizard.sound....
package org.ranji.lemon.volador.model.growthclass; import org.apache.ibatis.type.Alias; import org.ranji.lemon.core.model.AbstractModel; import org.ranji.lemon.core.util.JsonUtil; @Alias("VoladorLabelClassify") public class LabelClassify extends AbstractModel{ /** * 成长标签分类 * @author 范小亚 * @date 2018/6/8 * @s...
/* * JBoss, Home of Professional Open Source * Copyright 2006, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. * See the copyright.txt in the distribution for a * full listing of individual contributors. * This copyrighted material is made available to anyone wishing to ...
package hr.fer.zemris.java.custom.collections.demo; import hr.fer.zemris.java.custom.collections.ObjectStack; /** * Class StackDemo uses a stack from ObjectStack class to calculate an postfix expression. * The expression is passed through command line as one string argument , * the expression needs to be in quotat...
package kr.ac.kaist.se.intf; public interface DecisionMakeable { void doDecisionMaking(); }
package template.palecosmos.template_java.ui.main; import android.os.Bundle; import template.palecosmos.template_java.R; public class MainActivity extends MainContract.View { MainPresenter mPresenter = null; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInst...
/* * Copyright 2019 Dan Paulat * * 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 (c) 2006, Sun Microsystems, Inc * 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...
package asa.com.beauty.of.conc.chapter2_other_basic; /** * @version 1.0.0 COPYRIGHT © 2001 - 2018 VOYAGE ONE GROUP INC. ALL RIGHTS RESERVED. * @Author jet.xie * @Description: * @Date: Created at 17:18 2018/11/16. */ public class Hello { public synchronized void helloA() { System.out.println("hello,A")...
/** * Copyright 2015 StreamSets Inc. * * Licensed under 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 Lice...
/** * 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 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.stackroute.programservice.exception; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.RestControllerAdvice; @RestControllerAdvice public class GlobalEx...
/* * Copyright (c) 2017 Savoir Technologies * * 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 Lice...
/* * Copyright 2017 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 app...
package org.xmlet.htmlapi; public class AttrManifestString extends BaseAttribute<String> { public AttrManifestString(String attrValue) { super(attrValue, "manifest"); } }
package org.snobot.coordinate_gui.shuffleboard.infinite_recharge_at_home; import edu.wpi.first.shuffleboard.api.widget.Description; import edu.wpi.first.shuffleboard.api.widget.ParametrizedController; import javafx.fxml.FXML; import org.snobot.coordinate_gui.game.infinite_recharge_at_home.BarrelPathController; import ...
package com.zainchen.game2048.actor; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.ui.Button; import com.badlogic.gdx.scenes.scene2d.utils.ClickListener; import com.badlogic.gdx.scenes.scene2d.utils.TextureRegionDrawable; import com.zainchen.game...
package com.fsck.k9.contacts; import android.content.Context; import android.graphics.Bitmap; import com.bumptech.glide.Glide; import com.bumptech.glide.Registry; import com.bumptech.glide.annotation.GlideModule; import com.bumptech.glide.module.LibraryGlideModule; import com.fsck.k9.DI; import org.jetbrains.annotat...
/* @generated from adl module test24 */ package adl.test24; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import org.adl.runtime.Builders; import org.adl.runtime.Factories; import org.adl.runtime.Factory; import org.adl.runtime.JsonBinding; import org.adl.runtime.JsonBindings; import org.adl....
/* * Copyright 2020 ThoughtWorks, 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 agr...
/* * Azure Functions OpenAPI Extension * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 1.0.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * ...
package com.gzeinnumer.searchstyle; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.acti...
/******************************************************************************* * * Copyright 2020 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.example.zeal4rea.testapplication; import android.app.Activity; import android.content.IntentFilter; import android.net.wifi.WifiManager; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.util.Log; import android.view.View; import android.widget.Button; import an...
/* * Copyright 2013-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...
/* * 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...
package com.github.binitabharati.arachne.multicast.io; import java.io.IOException; import java.net.DatagramPacket; import java.net.InetAddress; import java.net.MulticastSocket; import java.util.Date; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class MulticastClient implements Runnable{ private...
/* * Copyright (C) 2010-2017 FBReader.ORG Limited <contact@fbreader.org> * * This program 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 of the License, or * (at your option) any later ...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2015 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
package com.fasterxml.jackson.dataformat.ron.parser; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.dataformat.ron.RONFactory; import com.fasterxml.jackson.dataformat.ron.ScalarTest; import org.junit.Test; import java.io.IOException; import java.io.Reader; import java.io.StringReader; impo...
/* * Copyright (c) 2008-2009 Nelson Carpentier * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge...
package com.mrbysco.telepastries.blocks; import com.mrbysco.telepastries.TelePastries; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.state.BlockFaceShape; import net.minecraft.block.state.IBlockState; import net.minecraft.init.Items; import net.minecraft.ite...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 推广数据结构 * * @author auto create * @since 1.0, 2017-02-16 20:40:10 */ public class PromoteDataModel extends AlipayObject { private static final long serialVersionUID = 4261672363824439463L; ...
package cn.lite.flow.console.common.utils; import cn.lite.flow.common.model.consts.CommonConstants; import cn.lite.flow.console.common.consts.Constants; import cn.lite.flow.common.model.consts.TimeUnit; import com.google.common.base.Preconditions; import com.google.common.collect.Lists; import org.apache.commons.lang3...
/* * Copyright 2012 ToureNPlaner * * 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 © 2022 DATAMART 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 t...
/* * SPDX-License-Identifier: CC0-1.0 * * Copyright 2018-2019 Will Sargent. * * Licensed under the CC0 Public Domain Dedication; * You may obtain a copy of the License at * * http://creativecommons.org/publicdomain/zero/1.0/ */ package com.tersesystems.logback.core; import ch.qos.logback.classic.spi.ILogg...
package com.otaliastudios.cameraview.engine; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.graphics.ImageFormat; import android.graphics.PointF; import android.graphics.Rect; import android.graphics.SurfaceTexture; import android.hardware.Camera; import android.location.Lo...
/* * Copyright (C) 2020 ActiveJ 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...
/* * Copyright 2018-2021 adorsys GmbH & Co KG * * 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 2019-2021 The Polypheny Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except ...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by * Xamarin.Android from the resource data it found. * It should not be modified by hand. */ package com.google.android.material; public final class R { public static final class anim { public static final int abc_fade_in = 0x7f...
/** \file * * Mar 28, 2018 * * Copyright Ian Kaplan 2018 * * @author Ian Kaplan, www.bearcave.com, iank@bearcave.com */ package io.yohanes.test.bookstore.controller; import javax.validation.Valid; import io.yohanes.test.bookstore.model.BookInfo; import org.apache.commons.logging.Log; import org.apache.commons...
package com.kenshine; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @author :kenshine * @date :Created in 2021/10/21 15:10 * @description:MongoDb启动类 * @modified By: * @version: $ * * 传统的关系数据库一般由数据库(database)、表(table)、记录(record)三个层次...
package com.zw.app.controller.personalCenter.statistics; import com.alibaba.fastjson.JSONObject; import com.zw.app.domain.personalCenter.AppOlineReportDetail; import com.zw.app.domain.personalCenter.ReportEntity; import com.zw.app.service.personalCenter.AppOnlineReportService; import com.zw.app.util.AppVersionUtil; im...
/** * Personium * Modifications copyright 2018 Personium Project 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 * * Unles...
package com.gorman.voxel_engine.world.terrain; import com.gorman.voxel_engine.world.chunks.Chunk; import com.gorman.voxel_engine.world.primitives.Vector; import com.gorman.voxel_engine.world.voxels.Grass; import com.gorman.voxel_engine.world.voxels.Stone; public class FlatTerrain extends Terrain { public FlatTer...
package cloneproject.Instagram.domain.dm.service; import cloneproject.Instagram.domain.dm.dto.ChatRoomCreateResponse; import cloneproject.Instagram.domain.dm.dto.ChatRoomInquireResponse; import cloneproject.Instagram.domain.dm.dto.IndicateDTO; import cloneproject.Instagram.domain.dm.dto.IndicateRequest; import clonepr...
/** * Copyright 2016-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.ml.integration; import org.elasticsearch.acti...
package party.lemons.yatm.playermobs; import net.minecraft.entity.player.EntityPlayer; /** * Created by Sam on 31/03/2018. */ public class PlayerMobHuman extends PlayerMob { @Override public Class getMobClass() { return EntityPlayer.class; } public boolean shouldMobsAttack() { return true; } public bo...
package dev.turingcomplete.java_ntlmv2_authentication_example.client; import org.eclipse.jetty.client.HttpClient; /** * Minimal client instance to make a NTLMv2 authentication request. */ public class ClientStart { // -- Fields ------------------------------------------------------------------------------- // ...
/* * 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 ...
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
package com.kin.ecosystem.core.data.internal; import static com.kin.ecosystem.core.network.ApiClient.DELETE; import static com.kin.ecosystem.core.network.ApiClient.GET; import static com.kin.ecosystem.core.network.ApiClient.POST; import android.os.Build; import android.os.Build.VERSION; import android.support.annotat...
/* * 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...
/* * Copyright 2019 EPAM Systems * * 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 ...
package imports.k8s; /** * Sysctl defines a kernel parameter to be set. */ @javax.annotation.Generated(value = "jsii-pacmak/1.14.1 (build 828de8a)", date = "2020-11-30T16:28:28.176Z") @software.amazon.jsii.Jsii(module = imports.k8s.$Module.class, fqn = "k8s.Sysctl") @software.amazon.jsii.Jsii.Proxy(Sysctl.Jsii$Proxy...
/* * Copyright 2006-2011 The Virtual Laboratory for e-Science (VL-e) * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * For details, see the LICENCE.txt file location in the root directory of this * distribution or obtain ...
package com.mgr.model; /** * Created by BikeBoy on 2017/4/24. */ public class DrugMdl { private String code; private String name; private String type; private String attention; private String format; private String prd_date; private String valid_date; private String shape; private...
/* * BSD 2-Clause License * * Copyright (c) 2019, Suuirad * 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, thi...
import java.util.Scanner; public class SAMER08F { private static long square(int number) { int result = 0; for(int i = 0; i<=number; i++) { result = result + ((number-i) * (number-i)); } return result; } public static void main(String[] args) { Scanner input = new Scanner(System.in); int n = i...
package academy.pocu.comp2500.lab10; import java.util.ArrayList; import academy.pocu.comp2500.lab10.pocuflix.ResultBase; import academy.pocu.comp2500.lab10.pocuflix.Movie; import academy.pocu.comp2500.lab10.pocuflix.NotFoundResult; import academy.pocu.comp2500.lab10.pocuflix.OkResult; public class MovieStore impleme...
package com.navercorp.pinpoint.plugin.rabbitmq.client.interceptor; import com.navercorp.pinpoint.bootstrap.config.Filter; import com.navercorp.pinpoint.bootstrap.context.MethodDescriptor; import com.navercorp.pinpoint.bootstrap.context.SpanEventRecorder; import com.navercorp.pinpoint.bootstrap.context.Trace; import co...
package com.dongnao.proxyframework.image.glide; import android.app.Activity; import android.widget.ImageView; import com.bumptech.glide.Glide; import com.dongnao.proxyframework.image.ImageLoader; /** * @author Lance * @date 2018/4/8 */ public class GlideImageLoader implements ImageLoader { public GlideImageL...
package org.rjava.test.poly; public class Animal { String sound; public Animal() { this.sound = "noissssse"; } public void speak() { System.out.println("An animal: " + sound); } public static void checkArithmetic(DoArithmetic a) { a.calcAdd(); } ...
package pl.allegro.tech.hermes.management.domain.topic; import pl.allegro.tech.hermes.api.ErrorCode; import pl.allegro.tech.hermes.api.Topic; import pl.allegro.tech.hermes.management.domain.ManagementException; public class UnableToMoveOffsetsException extends ManagementException { public UnableToMoveOffsetsExce...
package edu.pw.apsienrollment.event.meeting; import edu.pw.apsienrollment.event.api.dto.MeetingRequestDto; import edu.pw.apsienrollment.event.db.Event; import java.util.List; public interface MeetingService { Meeting getById(Long id); Meeting createMeeting(Event event, MeetingRequestDto dto); List<Meet...
package dev.cheerfun.pixivic.common.util.pixiv; import com.fasterxml.jackson.annotation.JsonSetter; import lombok.Data; /** * @author OysterQAQ * @version 1.0 * @date 2020/1/17 上午9:27 * @description OathResp */ @Data public class OathResp { @JsonSetter("access_token") private String accessToken; @Jso...
package eu.dreamix.four_for_belot.config.social; import eu.dreamix.four_for_belot.repository.SocialUserConnectionRepository; import eu.dreamix.four_for_belot.repository.CustomSocialUsersConnectionRepository; import eu.dreamix.four_for_belot.security.social.CustomSignInAdapter; import io.github.jhipster.config.JHipste...
package com.lindzh.hasting.rpc.generic; import com.lindzh.hasting.rpc.HelloRpcService; import com.lindzh.hasting.rpc.HelloRpcServiceImpl; import com.lindzh.hasting.rpc.oio.RpcOioAcceptor; import com.lindzh.hasting.rpc.server.SimpleRpcServer; import com.lindzh.hasting.rpc.utils.RpcUtils; public class GenericServerTest...
package johnny.designpattern.common; public enum Color { RED, GREEN, BLUE; }
package org.ray.util.generator; import java.io.IOException; import java.util.HashSet; import java.util.Set; import org.ray.util.FileUtil; import org.ray.util.generator.Composition.TR; /** * Generate Rpc.java */ public class RpcGenerator { public static void main(String[] args) throws IOException { String roo...
/* * Copyright (C) 2013 Paul Burke * * 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 com.company; public class Main { public static void main(String[] args) { System.out.println(isCatPlaying(true, 25)); System.out.println(isCatPlaying(true, 44)); System.out.println(isCatPlaying(true, 46)); System.out.println(isCatPlaying(false, 26)); System.out.pri...
package com.sauravchhabra.udacity.bakingapp.di; import com.sauravchhabra.udacity.bakingapp.ui.detail.RecipeDetailActivity; import com.sauravchhabra.udacity.bakingapp.ui.recipes.MainActivity; import dagger.Module; import dagger.android.ContributesAndroidInjector; /** * A simple class for dependency framework */ @Mo...
/* * Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/* * Copyright 2002-2015 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...
/* * Copyright (C) 2019 Parrot Drones SAS * * 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 list of cond...
/* * The MIT License * * Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi * * 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 l...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package android.support.v7.appcompat; public final class R { public static final class anim { public static final int abc_fade_in = 0x7...
package MayChallenges; /* May 10 Question: Find the Town Judge In a town, there are N people labelled from 1 to N. There is a rumor that one of these people is secretly the town judge. If the town judge exists, then: 1 -> The town judge trusts nobody. 2 -> Everybody (except for the town judge) trusts the town judge....
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
/* * Copyright (C) 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 in ...
package android.example.com.visualizerpreferences; /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
/* * Copyright 2006-2015 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 app...
package com.microsoft.bingads.examples.v10; import java.rmi.*; import com.microsoft.bingads.*; import com.microsoft.bingads.v10.campaignmanagement.*; public class NegativeKeywords extends ExampleBase { static AuthorizationData authorizationData; static ServiceClient<ICampaignManagementService> CampaignServi...
package xml; /** * Emp的每个实例用于表示一个员工信息 * @author adminitartor * */ public class Emp { private int id; private String name; private int age; private String gender; private int salary; public Emp(int id, String name, int age, String gender, int salary) { super(); this.id = id; this.name = name; this.age ...
package de.upb.crypto.math.standalone.test; import de.upb.crypto.math.interfaces.mappings.IdentityIsomorphism; public class IdentityIsomorphismParams { public static StandaloneTestParams get() { return new StandaloneTestParams(IdentityIsomorphism.class, new IdentityIsomorphism()); } }
package persons.azam_ami.solutions; import static org.junit.Assert.*; import org.junit.Test; public class Test_StoreConfig { @Test public void testMoneyString() { SolutionConfig.Instance.currencyPrefix = "Xy"; SolutionConfig.Instance.centsSuffix = "z"; assertEquals( "Xy1....
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/* * Copyright 2013 Cloudera 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 ...
package us.fjj.spring.learning.conditionalannotationusage.test6; import org.springframework.context.annotation.Condition; import org.springframework.context.annotation.ConditionContext; import org.springframework.core.PriorityOrdered; import org.springframework.core.type.AnnotatedTypeMetadata; public class Condition3...