text
stringlengths
7
1.01M
package io.odysz.anson; import static org.junit.jupiter.api.Assertions.assertEquals; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.sql.SQLException; import java.util.ArrayList; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter....
package testes_use_case8; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.Test; import psquiza.controladores.ControladorMetas; class ControladorMetasTest { @Test void testBuscaProblema() { ControladorMetas c = new ControladorMetas(); c.cadastraProblema("Aceitacao de USB 3.0 ...
/* * 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 javacore.seminarioexercicio.classes; /** * * @author User */ public class Professor { // PODERA MINISTRAR 1 OU VARIOS S...
package org.charles.learning.pattern.structural.adapter.playler; public interface MediaPlayer { public void playVideo(String filename); public void playAudio(String filename); }
package com.luren.day14; import java.util.concurrent.TimeUnit; /** * 关于线程等待/唤醒的方法 * <p> * 第一种,synchronized 中 使用 wait\notify * */ public class ObjectLockDemo01 { static Object object = new Object(); public static void main(String[] args) throws InterruptedException { Thread t1 = new Thread() { ...
/* * Copyright 2013-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...
package in.twizmwaz.cardinal.module.modules.hill; import in.twizmwaz.cardinal.GameHandler; import in.twizmwaz.cardinal.event.PlayerChangeTeamEvent; import in.twizmwaz.cardinal.event.objective.ObjectiveCompleteEvent; import in.twizmwaz.cardinal.event.objective.ObjectiveProximityEvent; import in.twizmwaz.cardinal.event....
package com.google.polo.json; /* Copyright (c) 2002 JSON.org 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, mer...
/* * Copyright (c) 2011, 2017, 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 (C) 2015-2021 52°North Spatial Information Research GmbH * * 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 r...
package net.n2oapp.framework.api.metadata.meta.control; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import lombok.Setter; import net.n2oapp.criteria.dataset.DataSet; import java.util.Collection; import java.util.List; /** * Клиентская модель компонента ввода текста с выбором из выпад...
package module2188_internal.a; import javax.rmi.ssl.*; import java.awt.datatransfer.*; import java.beans.beancontext.*; /** * 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...
package com.len.util; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class JdbcUtil { public static Connection getConnection() { Connection con = null; String driverName = "com.mysql.jdbc.Driver"; // ...
package com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang...
/* * ****************************************************************************** * * * * * * 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. * * * * See the NO...
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file 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 of the License at * * http://www.apache.org/li...
/* * Copyright (c) 2016—2017 Andrei Tomashpolskiy and individual 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 * * ...
/* * Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "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...
package com.arui.mall.product.service; import com.arui.mall.model.pojo.entity.SkuPlatformPropertyValue; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * sku平台属性值关联表 服务类 * </p> * * @author ... * @since 2021-10-28 */ public interface SkuPlatformPropertyValueService extends IService<SkuPlat...
/* * 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...
/** * Deque (usually pronounced like “deck”) is an irregular * acronym of double-ended queue. * @author wr1sw * @param <T> */ public class LinkedListDeque<T> { private StuffNode sentinel; private int size; private class StuffNode { private T item; private StuffNode pre; priva...
// Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // 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, in...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_package DECL|package|org.jabref.logic.layout.format package|package name|org operator|. name|jabref operator|. name|logic operator|. name|layout operator|. name|format package|; end_package begin_import import|import name|java operator|. name|util oper...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common * Development and Distribution License("CDDL") (...
/** * ************************************************************************ * * The contents of this file are subject to the MRPL 1.2 * * (the "License"), being the Mozilla Public License * * Version 1.1 with a permitted attribution clause; you may not use this * * file except in compliance with the L...
package com.neo.config; import com.mongodb.MongoClient; import com.mongodb.MongoClientURI; import com.neo.config.props.MultipleMongoProperties; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.mongo.MongoProperties; import org.springframework.boot.context.pro...
package com.huaweicloud.sdk.meeting.v1.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.huaweicloud.sdk.meeting.v1.model.ModAdminDTO; im...
/* * 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 blog.mariantirlea.java.jsonxmllistserializerwebapp; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework...
package kata; import static kata.Printer.*; import java.util.*; /** * https://leetcode.com/problems/trapping-rain-water/ * * <p>Given n non-negative integers representing an elevation map where the * width of each bar is 1, compute how much water it is able to trap after * raining. */ public class TrappingWater...
package com.liyukun.auxliweather; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; public class MainActivity extends AppCompatActivity { @Override protec...
package seedu.address.model; import java.nio.file.Path; import java.util.function.Predicate; import javafx.collections.ObservableList; import seedu.address.commons.core.GuiSettings; import seedu.address.model.student.Student; import seedu.address.model.task.Task; /** * The API of the Model component. */ public int...
package org.infinispan.factories.impl; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.locks.C...
package com.o3dr.services.android.lib.drone.property; import android.os.Parcel; import android.os.Parcelable; /** * Created by fhuya on 10/28/14. */ public class Altitude implements DroneAttribute { private double altitude; private double targetAltitude; // 상대고도값 2020-08-10 추가 private double absol...
/* * Copyright 2011-2014 Eric F. Savage, code@efsavage.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 re...
/* * 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...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package unalcol.random.real; import unalcol.random.raw.RawGenerator; /** * * @author jgomez */ public class GeneralizedPowerLawGenerator extends StandardGeneralizedPowerLawGenerator{ protected double c = 0.0; ...
/* * Copyright (c) 2002-2018, Mairie de Paris * 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 * and the...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package android.support.v7.recyclerview; public final class R { private R() {} public static final class attr { privat...
/* * Copyright 2013 The Apache Software 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 a...
/* * Copyright (c) 2012, 2018, 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 (c) 2017 Dell Inc., or its subsidiaries. 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 */ pac...
package com.lwg.mango.admin.service; import java.util.List; import com.lwg.mango.admin.pojo.SysMenu; import com.lwg.mango.core.service.CurdService; public interface MenuService extends CurdService<SysMenu> { List<SysMenu> findMenuWithRoles(); List<SysMenu> findAll(); /** * 查询菜单树,用户id和用户名为空则查询全部 ...
package com.hezy.live.callback; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.hezy.live.BaseException; import com.hezy.live.entity.Agroa; import com.hezy.live.entity.Lesson; import com.hezy.live.entity.RespStatus; /** * Created by whatisja...
package io.crnk.core.engine.internal.document.mapper; import io.crnk.core.boot.CrnkProperties; import io.crnk.core.engine.document.Relationship; import io.crnk.core.engine.document.Resource; import io.crnk.core.engine.document.ResourceIdentifier; import io.crnk.core.engine.information.resource.ResourceField; import io...
/* * AsyncStackTester.java * * This source file is part of the FoundationDB open source project * * Copyright 2013-2018 Apple Inc. and the FoundationDB 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 ma...
package org.kilocraft.essentials.api.containergui; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.SimpleInventory; import net.minecraft.item.Item; import n...
package io.github.vampirestudios.obsidian.init; import io.github.vampirestudios.obsidian.Obsidian; import io.github.vampirestudios.obsidian.utils.ExpandedTagFactory; import net.minecraft.tag.Tag; import net.minecraft.util.Identifier; import net.minecraft.world.biome.Biome; public class ObsidianTags { public static ...
package ch2.ex1; import java.util.Arrays; import java.util.List; import java.util.function.Function; public class Demo04_HOF { public static void main(String[] args) { List<String> list = Arrays.asList("Huey", "Duey", "Luey"); list.parallelStream().forEach(s -> System.out.println( processString(t -> t.to...
package net.alastairwyse.oraclepermissiongenerator.activitytest.unittests; import android.content.Context; import android.content.Intent; import android.test.* ; import android.view.WindowManager.BadTokenException; import net.alastairwyse.oraclepermissiongenerator.activitytest.*; import net.alastairwyse.oraclepermissi...
package com.java8.feature; import com.java8.feature.service.Interface1; import com.java8.feature.service.Interface2; public class ChildClass extends ParentClass implements Interface1, Interface2 { @Override public String show() { return "Child class show method"; } @Override public String displa...
/** * Represents neo-peptides and their relationship to the self-peptides * from which they originated. */ package jean.neo;
/* * Copyright 2020-2021 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...
/* * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
package tk.djcrazy.MyCC98.util; import roboguice.util.RoboAsyncTask; import android.app.Activity; import android.app.ProgressDialog; public abstract class ProgressRoboAsyncTask<ResultT> extends RoboAsyncTask<ResultT> { protected ProgressDialog dialog; protected Activity context; protected ProgressRoboAsyncTask(...
/* * Copyright (c) 2017 Mattias Eklöf <mattias.eklof@gmail.com> * * 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, ...
/* * 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...
package org.design.oserver; /** * Created by abing on 2016/10/21. */ public class TestObserver { public static void main(String[] args) { Weather weather = new Weather(); Observer1 observer1 = new Observer1(weather); Observer1 observer2 = new Observer1(weather); weather.update...
package svenhjol.charm.module.inventory_tidying; import svenhjol.charm.module.CharmClientModule; import svenhjol.charm.module.CharmModule; import svenhjol.charm.handler.ClientHandler; import svenhjol.charm.helper.ScreenHelper; import svenhjol.charm.module.portable_crafting.PortableCraftingClient; import svenhjol.charm...
/* * Copyright 2014 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 applicable ...
package com.springcloud.apigateway.security.service.impl; import com.springcloud.apigateway.security.entity.SecurityUser; import com.springcloud.apigateway.security.service.SystemUserDetailsService; import com.springcloud.apigateway.securityuser.systemuser.dao.SystemUserDao; import com.springcloud.apigateway.securityu...
/* * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
package uk.ac.ebi.subs.repository.security; import org.springframework.security.access.prepost.PreAuthorize; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.RUNTIME) @PreAuthorize("hasAnyRole(@roleLookup.adminRole(),#entity.team.name)") public @interfac...
package com.synopsys.integration.detectable.detectables.gradle.inspection; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.jetbrains.annotations.Nullable; import com.synopsys.integrati...
/* * Copyright 2012-2017 JetBrains s.r.o * * 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...
/* * Copyright (c) 2011, University of Konstanz, Distributed Systems Group All rights reserved. * <p> * 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...
package rest; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.PathVariable; impor...
package org.robolectric.shadows; import android.widget.AdapterView; import android.widget.Gallery; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import org.robolectric.TestRunners; @RunWith(TestRunners.WithDefaults.class) public class AbsSpinnerAdapterViewBehaviorTest extends AdapterViewBehavi...
package org.testng.internal; import org.testng.IInvokedMethod; import org.testng.ITestContext; import org.testng.ITestNGMethod; import org.testng.ITestResult; import java.util.Set; /** * A utility class that houses mechanisms to retrieve exception information. */ final class ExceptionUtils { private ExceptionU...
package joist.domain.orm; import java.util.Collection; import java.util.LinkedHashSet; import joist.domain.DomainObject; import joist.domain.exceptions.DisconnectedException; import joist.domain.orm.queries.Alias; import joist.domain.orm.queries.Select; import joist.domain.orm.queries.columns.ForeignKeyAliasColumn; i...
package moran.space; import java.util.List; import jam.math.Point; import moran.cell.Cell; import moran.cell.PopulationView; /** * Provides a read-only view of the spatial arrangement of the * fixed-size population of cells in a Moran simulation. */ public interface SpaceView extends PopulationView { /** ...
package com.gmail.shihab4t.chapter16.appendix; public class P11Point { private int x, y; public P11Point(int x, int y) { this.x = x; this.y = y; } public P11Point(P11Point point) { this.x = point.getX(); this.y = point.getY(); } public int getX() { ret...
package io.github.mmm.crypto.asymmetric.crypt; import java.security.PrivateKey; import java.security.PublicKey; import io.github.mmm.crypto.crypt.CryptorFactoryImpl; import io.github.mmm.crypto.random.RandomFactory; /** * Implementation of {@link AsymmetricCryptorFactory}. * * @param <PR> type of {@link PrivateKe...
/* * Copyright 2000-2013 JetBrains s.r.o. * * 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 agre...
/* * MIT License * * Copyright (c) 2021 MASES s.r.l. * * 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, cop...
package com.planet_ink.coffee_mud.Abilities.Spells; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import...
package com.openjfx.database.app.component; import com.openjfx.database.DataCharset; import com.openjfx.database.app.component.tabs.DesignTableTab; import com.openjfx.database.app.controls.EditChoiceBox; import com.openjfx.database.app.model.DesignTableModel; import com.openjfx.database.app.model.tab.meta.DesignTabMod...
package com.badlogic.gdx.setup; public enum Language { JAVA ("java", "", "", "", "java-library;java-library;android;java-library,robovm;java-library,moe;java-library,gwt,war", true) , KOTLIN ("kotlin", "ext.kotlinVersion = '1.3.41'", "classpath \"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion\"", "a...
package com.schain.entity; public class TransactionInput { private String transactionOutputId; private TransactionOutput UTXO; public TransactionInput(String transactionOutputId) { this.transactionOutputId = transactionOutputId; } public String getTransactionOutputId() { return tr...
package com.codewithmosh.iterator; public class Demo { public static void show() { var collection = new ProductCollection(); collection.add(new Product(1, "a")); collection.add(new Product(2, "b")); collection.add(new Product(3, "c")); var iterator = collection.createIterator(); while (itera...
/* * jGnash, a personal finance application * Copyright (C) 2001-2018 Craig Cavanaugh * * 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 3 of the License, or * (at your opti...
package org.tum.gis.interSensorService.interfaces.seriesRestApi52n.timeseries; import com.fasterxml.jackson.annotation.JsonProperty; public class FlotSeries { FlotData flotData; public FlotSeries() { } public FlotSeries(FlotData flotData) { super(); this.flotData = flotData; } @Json...
/* $Id$ ***************************************************************************** * Copyright (c) 2009-2012 Contributors - see below * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, ...
package com.blankj.utilcode.utils; import android.os.Handler; import android.os.Message; import java.lang.ref.WeakReference; /** * <pre> * author: Blankj * blog : http://blankj.com * time : 16/11/01 * desc : Handler相关工具类 * </pre> */ public class HandlerUtils { private HandlerUtils() { ...
package com.neu.li.servlet; import java.io.IOException; import java.util.List; import java.util.Map; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; im...
/* * Copyright 2018 The Higgs 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 agree...
package oxim.digital.reedly.dagger.application.module; import android.content.Context; import android.content.res.Resources; import javax.inject.Named; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; import oxim.digital.reedly.configuration.UUIDViewIdGenerator; import oxim.digital.reedly...
/** * ApiError.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.google.api.ads.dfp.v201306; /** * The API error base class that provides details about an error that * occurred * while processing a service reques...
/* * 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.mygame.pure.adapter; import java.util.ArrayList; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; public class CheckItemFragmentAdapter extends FragmentPagerAdapter { public ArrayList<Fragment> listFragmen...
package php.runtime.memory; import java.nio.charset.StandardCharsets; import php.runtime.Memory; import php.runtime.env.TraceInfo; import java.nio.charset.Charset; public class BinaryMemory extends StringMemory { private byte[] bytes; public BinaryMemory(String value) { super(null); bytes = ...
package co.yixiang.service.dto; import lombok.Data; import co.yixiang.annotation.Query; import java.sql.Timestamp; import java.util.List; /** * @author Zheng Jie * @date 2019-6-4 09:54:37 */ @Data public class QiniuQueryCriteria{ @Query(type = Query.Type.INNER_LIKE) private String key; @Query(type =...
package com.tommytony.war.command; import org.bukkit.command.CommandSender; import com.tommytony.war.War; /** * Unloads war. * * @author Tim Düsterhus */ public class UnloadWarCommand extends AbstractWarAdminCommand { public UnloadWarCommand(WarCommandHandler handler, CommandSender sender, String[] args) throw...
// Generated by xsd compiler for android/java // DO NOT CHANGE! package com.ebay.trading.api; import java.io.Serializable; import com.leansoft.nano.annotation.*; import java.util.List; import java.util.Date; /** * * Summary data for the requesting user's seller account as a whole. This includes a * balance for th...
package local.alfonso.orders.controller; import local.alfonso.orders.model.Customers; import local.alfonso.orders.service.CustomersService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework....
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 *...
package org.dhwpcs.infinitum.chat.adventure; import io.github.initauther97.nugget.adventure.SupportedLang; import net.kyori.adventure.text.Component; import net.kyori.adventure.text.TextComponent; public record PlainTranslatable(String raw) implements Translatable { @Override public TextComponent translate(Su...