text
stringlengths
7
995k
package org.artifactory.storage.db.aql.sql.builder.links; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import java.util.List; import java.util.Set; /** * The TableLinkBrowser scans recursively the table objects jumping from one table to other through links provided * by the TableL...
/* * Copyright (c) 2019 Handywedge Co.,Ltd. * * This software is released under the MIT License. * * http://opensource.org/licenses/mit-license.php */ package com.handywedge.common; public class FWSessionTimeoutException extends FWRuntimeException { private static final long serialVersionUID = 1L; public F...
/* Посылка, содержимое которой можно получить с помощью метода `getContent` */ package week4.logging.mailsIndustry; public class MailPackage extends AbstractSendable { private final Package content; public MailPackage(String from, String to, Package content) { super(from, to); this.content = c...
package life.genny.qwanda.message; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.DiscriminatorColumn; import javax.persistence.DiscriminatorType; import javax.persistence.Entity; import javax.persistence.Inheritance; import javax.persistence.InheritanceType; import javax.persi...
package com.ngdesk.repositories.role.layout; import java.util.List; import java.util.Optional; import org.springframework.data.domain.Pageable; import com.ngdesk.graphql.role.dao.Role; import com.ngdesk.graphql.role.layout.dao.RoleLayout; public interface CustomRoleLayoutRepository { public Optional<List<RoleLayo...
package cz.metacentrum.perun.core.api.exceptions; import cz.metacentrum.perun.core.api.ExtSource; import cz.metacentrum.perun.core.api.exceptions.rt.ExtSourceAlreadyAssignedRuntimeException; /** * Checked version of ExtSourceAllreadyAssignedException. * * @see cz.metacentrum.perun.core.api.exceptions.rt.ExtSourceA...
/* *Copyright (C) 2021 Rusted Studio * * * Licensed under the Apache-2.0 License. * You may use and modify this file/project but must give credit when publishing or uploading your new modified code. * Please see LICENSE file or visit http://www.apache.org/licenses/LICENSE-2.0 for more info. * */ package physi...
package foundation.softwaredesign.orbi.persistence.repo.game; import foundation.softwaredesign.orbi.model.game.server.MessageOfTheDay; import foundation.softwaredesign.orbi.persistence.entity.MessageOfTheDayEntity; import org.apache.deltaspike.data.api.EntityRepository; import org.apache.deltaspike.data.api.Query; imp...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE113_HTTP_Response_Splitting__console_readLine_addHeaderServlet_01.java Label Definition File: CWE113_HTTP_Response_Splitting.label.xml Template File: sources-sinks-01.tmpl.java */ /* * @description * CWE: 113 HTTP Response Splitting * BadSource: console_readLine Read dat...
package com.uni.life.auth.core.social.qq.api; /** * @date : 2019/8/5 14:46 * Description: */ public interface QQ { QQUserInfo getUserInfo(); }
/* * Copyright 2012-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 * * 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...
/** * 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 ...
package mage.cards.m; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.effects.OneShotEffect; import mage.abilities.keyword.FlyingAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.choices.TwoChoiceVot...
/* * 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")...
/* * Copyright (c) 2011-2022, baomidou (jobob@qq.com). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
package cn.devezhao.persist4j; import cn.devezhao.persist4j.dialect.Dialect; import cn.devezhao.persist4j.dialect.MySQL5Dialect; import cn.devezhao.persist4j.engine.ID; import cn.devezhao.persist4j.engine.StandardRecord; import cn.devezhao.persist4j.metadata.MetadataFactory; import cn.devezhao.persist4j.metadata.impl....
// Copyright Rok Breulj <sephirok@gmail.com> 2011. // Distributed under the Boost Software License, Version 1.0. // (See accompanying LICENSE file or http://www.boost.org/LICENSE_1_0.txt) package patpat.game; /** * Player representation. */ public class Player { public static final int SCORE_BASE_MODIFIER = 10; ...
/* * Copyright 2015-2020 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 net.authorize.sample.MobileInAppTransactions; import java.math.BigDecimal; import net.authorize.Environment; import net.authorize.api.contract.v1.*; import net.authorize.api.controller.CreateTransactionController; import net.authorize.api.controller.base.ApiOperationBase; public class CreateAnApplePayTransact...
package cn.javastack.springboot.druid; import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceBuilder; import org.springframework.boot.Banner; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boo...
package de.mpg.mpi_inf.ambiversenlu.nlu.entitylinking.graph.similarity.measure; import de.mpg.mpi_inf.ambiversenlu.nlu.entitylinking.access.EntityLinkingDataAccessException; import de.mpg.mpi_inf.ambiversenlu.nlu.entitylinking.graph.similarity.context.EntitiesContext; import de.mpg.mpi_inf.ambiversenlu.nlu.entitylinki...
/** * @license * Copyright 2017 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ package foam.lib.json; import foam.core.PropertyInfo; import foam.lib.parse.*; public class PropertyParser extends ProxyParser { private PropertyInfo property; public PropertyParser(Propert...
package org.example.transport.multicast.thread; import org.example.exception.SoftClickConnectionException; import java.io.IOException; import java.net.DatagramPacket; import java.util.logging.Logger; public class MulticastSocketClientThread extends AbstractMulticastSocketThread { private static final Logger log...
import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; // https://www.hackerrank.com/challenges/pangrams public class Solution { public static void solveIt(String s) { s = s.toLowerCase(); boolean[] occurrences = new boolean[26]; for (char ...
package io.sparrow.sb2.demo.api; import com.incarcloud.common.data.ResponseData; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; /** * 测试框架模块API * * @author Aaric, created on 2019-06-26T15:35. * @version 0.2.1-SNAPSHOT */ @Api(tags = "测试框架模块API") public interface TestApi { @Ap...
package Problem1B; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Set; import java.util.Map; import java.util.Scanner; public class GraphImpl implements Graph{ private Vertex start; private Vertex exit; priva...
/** * 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 * distribu...
package com.example.android.todolist.database; import android.arch.persistence.room.Entity; import android.arch.persistence.room.Ignore; import android.arch.persistence.room.PrimaryKey; import java.util.Date; // TODO (2) Annotate the class with Entity. Use "task" for the table name @Entity(tableName = "task") public...
/* * 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 jdbcdemo; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.Result...
package jp.co.worksap.oss.findbugs.jpa; import static com.youdevise.fbplugins.tdd4fb.DetectorAssert.assertBugReported; import static com.youdevise.fbplugins.tdd4fb.DetectorAssert.assertNoBugsReported; import static com.youdevise.fbplugins.tdd4fb.DetectorAssert.bugReporterForTesting; import static com.youdevise.fbplugi...
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE package org.bytedeco.mkldnn; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.mkldnn.global.mklml.*; import static org.bytedeco.mkld...
package com.danielvandenbrink.corena.commands; import com.danielvandenbrink.corena.communication.Command; import com.danielvandenbrink.xudp.Protocol; public abstract class BaseInputCommand implements Command { protected long uuid; public long uuid() { return uuid; } @Override public Prot...
// @@author potatocombat package tatracker.logic.commands.student; import static java.util.Objects.requireNonNull; import static tatracker.commons.core.Messages.MESSAGE_INVALID_GROUP_CODE; import static tatracker.commons.core.Messages.MESSAGE_INVALID_MODULE_CODE; import static tatracker.commons.core.Messages.MESSAGE_...
/* * 3D City Database - The Open Source CityGML Database * http://www.3dcitydb.org/ * * Copyright 2013 - 2019 * Chair of Geoinformatics * Technical University of Munich, Germany * https://www.gis.bgu.tum.de/ * * The 3D City Database is jointly developed with the following * cooperation partners: * * virtual...
/* * Copyright (c) 2014 Andrew O'Malley * * 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, pub...
/* * Copyright (C) 2006 The Android Open Source Project * Copyright (C) 2013 Zhang Rui <bbcallen@gmail.com> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/license...
package br.com.rangood.pdv.rangoodpdvusermanagementservice.service; import br.com.rangood.pdv.rangoodpdvusermanagementservice.entity.User; import br.com.rangood.pdv.rangoodpdvusermanagementservice.exception.UserNotFoundException; import br.com.rangood.pdv.rangoodpdvusermanagementservice.repository.UserRepository; impo...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * <p>This source code is licensed under the MIT license found in the LICENSE file in the root * directory of this source tree. */ package com.facebook.react; import android.view.KeyEvent; import android.view.View; import com.facebook.react.bridge.WritableMa...
package org.multiverse.api.collections; import org.multiverse.api.Stm; import org.multiverse.api.Txn; import java.util.Collection; /** * A {@link Collection} that is transactional. For all methods provided by the * Collection interface, and additional method with a transaction parameter is * added. * * @param <...
package com.belatrix.moneyxchange.api.security; import java.io.Serializable; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.function.Function; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Clock; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; i...
package org.anddev.andengine.entity.layer.tiled.tmx; import java.util.ArrayList; import javax.microedition.khronos.opengles.GL11; import org.anddev.andengine.entity.layer.tiled.tmx.util.constants.TMXConstants; import org.anddev.andengine.opengl.buffer.BufferObjectManager; import org.anddev.andengine.opengl.texture.r...
/* * Licensed to the Technische Universität Darmstadt under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The Technische Universität Darmstadt * licenses this file to you under the Apache License, Versio...
/* * Copyright (c) 2010-2012, Paul Merlin. All Rights Reserved. * Copyright (c) 2012, Niclas Hedhman. 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.apa...
/* * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * * Copyright (c) 2002-2019 Guardsquare NV * * 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 * Softwar...
package com.threecore.project.tool; import static org.junit.Assert.*; import org.joda.time.DateTime; import org.joda.time.DateTimeZone; import org.junit.Test; import com.threecore.project.SimpleTest; public class TestTimeTools extends SimpleTest { private static final String TS_LINE_OFFSET = "2016-01-01T12:00:00....
/* * 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...
/* * This file is part of LuckPerms, licensed under the MIT License. * * Copyright (c) lucko (Luck) <luck@lucko.me> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
package com.glitchcam.vepromei.edit.watermark; import android.util.Log; import com.glitchcam.vepromei.utils.PathUtils; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; /** * Created by CaoZhiChao on 2018/10/18 14:14 */ public class FileUtil { pr...
package fr.mercury.combattag.utils; import fr.mercury.combattag.MercuryTag; import net.minecraft.util.org.apache.commons.lang3.StringUtils; import org.bukkit.command.CommandSender; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.entity.Player; public class ChatUtils { public static File...
package com.sequenceiq.cloudbreak.reactor.handler.cluster; import javax.inject.Inject; import org.springframework.stereotype.Component; import com.sequenceiq.cloudbreak.common.event.Selectable; import com.sequenceiq.cloudbreak.domain.stack.Stack; import com.sequenceiq.cloudbreak.reactor.api.event.EventSelectorUtil; ...
/* * * * Copyright (c) 2019-2020, 冷冷 (wangiegie@gmail.com). * * <p> * * Licensed under the GNU Lesser General Public License 3.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * <p> * * https://www.gnu.org/licenses...
/** * REST API controllers. */ package com.nmuzychuk.blog.controller;
/** * Copyright 2012-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 "LI...
package com.auth0.example; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; public class LogoutServlet extends HttpServlet { protected void doGet(HttpServletReques...
/* * Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech) * * 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 ...
package com.kmt.massage.ui.login; import androidx.test.core.app.ApplicationProvider; import androidx.test.espresso.intent.rule.IntentsTestRule; import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner; import com.kmt.massage.R; import com.kmt.massage.TestComponentRule; import org.junit.Before; import org...
/** * vertigo - simple java starter * * Copyright (C) 2013-2019, vertigo-io, KleeGroup, direction.technique@kleegroup.com (http://www.kleegroup.com) * KleeGroup, Centre d'affaire la Boursidiere - BP 159 - 92357 Le Plessis Robinson Cedex - France * * Licensed under the Apache License, Version 2.0 (the "License"); ...
/* ScopeRetail (C)2021 */ package com.scoperetail.fusion.messaging.adapter.in.messaging.jms; /*- * ***** * fusion-messaging * ----- * Copyright (C) 2018 - 2021 Scope Retail Systems Inc. * ----- * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated docum...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * This file is part of Industrial Foregoing. * * Copyright 2021, Buuz135 * * 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 righ...
package com.db.williamchartdemo; import android.app.Activity; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBar; import android....
package dev.ornamental.sqlite.statement; /** * Represents a <code><strong>BEGIN [DEFERRED|IMMEDIATE|EXCLUSIVE] TRANSACTION </strong></code> statement. */ public final class BeginTransaction implements ExplicableStatement { static final BeginTransaction DEFAULT = new BeginTransaction(null); private final Transact...
/* * * Copyright 2016 The Symphony Software Foundation * * Licensed to The Symphony Software Foundation (SSF) 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 und...
import java.util.*; public class ElemFreq { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int arr[] = new int[10]; int visited = -1; int count; for(int i=0;i<arr.length;i++) //accepting the elements of the array from the user { ...
/* * 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.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * This file provided by Facebook is for non-commercial testing and evaluation * purposes only. Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS...
/******************************************************************************* * Copyright 2014, 2017 gwt-ol3 * * 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...
package com.kobylynskyi.graphql.codegen; import com.kobylynskyi.graphql.codegen.model.MappingConfig; import com.kobylynskyi.graphql.codegen.utils.Utils; import org.hamcrest.core.StringContains; import org.hamcrest.core.StringStartsWith; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; i...
/* * Copyright by 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 applicable...
package com.ibm.sbt.services.endpoints; import java.io.IOException; import org.apache.http.Header; import org.apache.http.HttpException; import org.apache.http.HttpRequest; import org.apache.http.HttpRequestInterceptor; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.protocol.HttpContext;...
/******************************************************************************* * Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
package com.github.xpenatan.tools.jparser.idl; import java.util.ArrayList; /** @author xpenatan */ public class IDLFile { public final ArrayList<IDLClass> classArray = new ArrayList<>(); public IDLClass getClass(String name) { int size = classArray.size(); for(int i = 0; i < size; i++) { ...
package de.chefkoch.raclette.android.support; import android.databinding.ViewDataBinding; import android.os.Bundle; import android.support.annotation.CallSuper; import android.support.annotation.Nullable; import android.support.v4.app.DialogFragment; import android.support.v4.app.FragmentManager; import android.suppor...
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package dao; import java.util.List; import entity.Quarto; public interface QuartoDAO { void adicionar(Quarto quarto); List<Quarto> pesquisarPorTipo(String tipo); void excluir(int id); void alterar(Quarto quarto); }
/** * Leetcode - reverse_bits */ package com.leetcode.reverse_bits; import java.util.*; import com.ciaoshen.leetcode.util.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; interface Solution { // use this Object to print the log (call from slf4j facade) static Logger log = LoggerFactory.getLogger...
/* CustomerType Model */ package scheduler.model; import javafx.beans.property.IntegerProperty; import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; public class Type { private final IntegerProperty count; private fi...
/* * Copyright 2019 WeBank * 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, softw...
package com.meituan.android.uitool.plugin; import android.content.Context; import androidx.annotation.Nullable; import androidx.appcompat.widget.AppCompatTextView; import android.util.AttributeSet; import com.meituan.android.uitool.utils.PxeDimensionUtils; public class PxeBoardTextView extends AppCompatTextView { ...
/* * Copyright 2013-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.mobi_apps.kelvinkeegan.codenamealarmclock.QRcode; /* * Copyright 2009 ZXing 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/...
/* * Copyright 2012 Google 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 applica...
/* * The MIT License * * Copyright 2013 Oleg Nenashev, Synopsys Inc. * * 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 * t...
package nl.tudelft.gogreen.server.tests.controllers; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org.springframework.boot.test.context.SpringBootTest; i...
package org.odk.collect.android.regression; import android.Manifest; import androidx.test.rule.GrantPermissionRule; import androidx.test.runner.AndroidJUnit4; import org.junit.Rule; import org.junit.Test; import org.junit.rules.RuleChain; import org.junit.runner.RunWith; import org.odk.collect.android.espressoutils....
package com.mopub.nativeads; import android.content.Context; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import com.google.ads.mediation.admob.AdMobAdapter; import com.google.android.gms.ads.AdLoader; import com.google.android.gms.ads.AdLoader.Builder; import com.google.android.g...
/* * Copyright 2019-2021 CloudNetService team & contributors * * 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 io.micronaut.discovery.spring; import io.micronaut.context.ApplicationContext; import io.micronaut.context.env.Environment; import io.micronaut.core.util.CollectionUtils; import io.micronaut.http.HttpRequest; import io.micronaut.http.client.HttpClient; import io.micronaut.http.client.LoadBalancer; import io.mi...
package com.example.administrator.weixinninegridlayout; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public Appl...
/* * Copyright 2016-2021 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 2015 The Closure Compiler 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...
package dev.dworks.apps.anexplorer.directory; import android.os.Bundle; import android.text.TextUtils; import com.google.android.gms.ads.AdListener; import com.google.android.gms.ads.AdLoader; import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.formats.UnifiedNativeAd; import java.util.Arr...
package com.example.desafiomarvel.model.pojos.Quadrinhos; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.annotations.Expose; import java.util.List; public class Result implements Parcelable { @Expose private Characters characters; @Expose private List<Object> collec...
package com.sq.jk.pojo.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.List; @ApiModel("分页结果") @Data public class PageVo<T> { @ApiModelProperty("总数") private Long count; @ApiModelProperty("总页数") private Long pages; ...
package org.fkjava.workflow.service.impl; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Invo...
package com.jinke.project.system.role.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; /** * 角色和菜单关联 sys_role_menu * * @author jinke */ public class RoleMenu { /** * 角色ID */ private Long roleId; /** * 菜单ID */ ...
//Authored by Berk Delibalta package travelPortal; public class Evaluation { private String participant; private int point; public Evaluation(String participant, int point) { this.participant=participant; this.point=point; } public String getParticipant() { return participant; } public int getPoint(...
package net.saisimon.agtms.core.order; import org.springframework.core.Ordered; /** * 基础排序接口 * * @author saisimon * */ public interface BaseOrder extends Ordered { @Override default int getOrder() { return Ordered.LOWEST_PRECEDENCE; } }