text
stringlengths
7
995k
package org.brohede.marcus.listviewapp; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.Toast; import java.util.ArrayList; import java.util....
package org.checkerframework.framework.util; import com.github.javaparser.JavaParser; import com.github.javaparser.ParseProblemException; import com.github.javaparser.ParseResult; import com.github.javaparser.ParserConfiguration; import com.github.javaparser.ParserConfiguration.LanguageLevel; import com.github.javapar...
/* * 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.or...
/** * BSD 3-Clause License * * Copyright © 2019, viadee Unternehmensberatung AG * 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 ...
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
package com.example.android.quakereport; import android.net.Uri; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.net.MalformedURLException; import java.net.URL; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.D...
/* * Copyright 2016-2018 Universitat Politècnica de València * Copyright 2016-2018 Università della Calabria * Copyright 2016-2018 Prodevelop, SL * Copyright 2016-2018 Technische Universiteit Eindhoven * Copyright 2016-2018 Fundación de la Comunidad Valenciana para la * Investigación, Promoción y Estudios Comerci...
/* * 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...
package com.nibado.example.spark; import com.nibado.example.spark.sentiment.Analyser; import org.apache.spark.SparkConf; import org.apache.spark.api.java.JavaSparkContext; /** * Demonstrates reading a file, printing contents, mapping to Java object and filtering. */ public class Example1 { /* Read textF...
/******************************************************************************* * Copyright (c) 2019 Eclipse RDF4J contributors. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, an...
package com.scm.dao.domain; import java.io.Serializable; import javax.persistence.*; import java.math.BigDecimal; import java.sql.Timestamp; /** * The persistent class for the InventoryDefinitionWorkAudits database table. * */ @Entity @Table(name="InventoryDefinitionWorkAudits") @NamedQuery(name="InventoryDefini...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE584_Return_in_Finally_Block__basic_01.java Label Definition File: CWE584_Return_in_Finally_Block__basic.label.xml Template File: point-flaw-01.tmpl.java */ /* * @description * CWE: 584 Return in Finally Block * Sinks: * GoodSink: no return in finally block * BadSin...
/* * 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 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
/* * MIT License * Copyright (c) 2018 zhourui * * 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...
// Autogenerated from runtime/patterns/validatable.i package ideal.runtime.patterns; import ideal.library.elements.*; import ideal.library.patterns.*; import ideal.runtime.elements.*; public interface deeply_immutable_validatable extends immutable_validatable { }
/* * Copyright 2016 higherfrequencytrading.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 applicable la...
package de.javahippie.springcloud.eureka; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; @SpringBootApplication @EnableEurekaServer public class EurekaExampleApplication ...
package com.io; import org.apache.commons.io.IOUtils; import java.io.FileInputStream; /** * @author qinweizhao * @since 2021/11/26 */ public class IOUtilsDemo { public static void main(String[] args) throws Exception { String content = IOUtils.toString(new FileInputStream("d:/sxt.txt"), "utf-8"); ...
package com.googlecode.mp4parser.authoring.tracks; import com.coremedia.iso.boxes.*; import com.googlecode.mp4parser.authoring.Mp4TrackImpl; import com.googlecode.mp4parser.authoring.Track; import com.googlecode.mp4parser.authoring.TrackMetaData; import java.nio.ByteBuffer; import java.util.Collections; import java.u...
package com.dtp.logging; import com.dtp.common.ApplicationContextHolder; import com.dtp.common.config.DtpProperties; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.net.MalformedURLExcepti...
/* * Copyright (c) 2017 m2049r * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
package com.breadwallet.database; import android.app.Activity; import androidx.test.filters.LargeTest; import androidx.test.rule.ActivityTestRule; import android.text.format.DateUtils; import android.util.Log; import androidx.test.runner.AndroidJUnit4; import com.breadwallet.legacy.presenter.activities.settings.TestA...
package io.zeebe.spring.client.event; import org.springframework.context.event.EventListener; public class EventLoggerHandler { @EventListener public void logEvent() { } }
/** * Copyright (C) 2010-2013 eBusiness Information, Excilys Group * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
/* * Copyright © 2017 camunda services GmbH (info@camunda.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 ...
/** * Copyright 2017 Comcast Cable Communications Management, 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 a...
/* * Licensed to DuraSpace under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * DuraSpace licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file excep...
package dram; import java.io.File; import java.io.FileWriter; import java.io.IOException; public class DebugPrinter { public FileWriter logFileWriter; public DebugPrinter(String filename) { try { File logfile = new File(filename); logFileWriter = new FileWriter(logfile); } catch (IOException e...
package com.xzg.generator.model; import java.util.List; /** * @Author: zlt */ public class TableEntity { /** * 表的名称 */ private String tableName; /** * 表的备注 */ private String comments; /** * 表的主键 */ private ColumnEntity pk; /** * 表的列名(不包含主键) */ ...
package com.jimy.anser.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class CmsSubjectCategory implements Serializable { private Long id; private String name; @ApiModelProperty(value = "分类图标") private String icon; @ApiModelProperty(value = "专题数量") ...
package reform.stage.elements.entities; import reform.core.analyzer.Analyzer; import reform.core.forms.Form; import reform.core.forms.LineForm; import reform.core.graphics.DrawingType; import reform.core.runtime.Runtime; import reform.identity.Identifier; import reform.math.Vec2; import reform.math.Vector; import refo...
package inputOutput; import java.io.*; import java.net.URL; public class TextIO { StringBuilder text; public TextIO() { text = new StringBuilder(); } public TextIO(String address) throws IOException { super(); this.read(address); } public String read(String address) ...
package io.bootique.bom.jdbc; import io.bootique.BQRuntime; import io.bootique.jdbc.DataSourceFactory; import io.bootique.jdbc.instrumented.tomcat.healthcheck.TomcatConnectivityCheck; import io.bootique.metrics.health.HealthCheckOutcome; import io.bootique.metrics.health.HealthCheckRegistry; import io.bootique.metrics...
/* * 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 com.thinklance.pidev.GUI.Projet; import com.jfoenix.controls.JFXButton; import java.io.IOException; import java.net.URL; impor...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Copyright (c) 2015, 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 Softwa...
/* * 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 extern_api.gae.ofy.relationships; import com.googlecode.objectify.Key; import com.googlecode.objectify.annotation.Entity; import com.googlecode.objectify.annotation.Id; import com.googlecode.objectify.annotation.Index; // One-to-one @Entity public class PersonRel { @Id Long id; @Index String name; K...
package com.unrulymedia.flume; import java.lang.reflect.Field; import org.apache.flume.sink.RollingFileSink; public class SpoolingDirectoryFileSink extends RollingFileSink { private SpoolingDirectoryPathManager spoolingDirectoryPathManager; public SpoolingDirectoryFileSink() throws NoSuchFieldException, IllegalA...
package draylar.gateofbabylon.enchantment; import net.minecraft.enchantment.Enchantment; import net.minecraft.enchantment.EnchantmentTarget; import net.minecraft.entity.EquipmentSlot; public class QuickDrawEnchantment extends Enchantment { public QuickDrawEnchantment() { super(Rarity.VERY_RARE, Enchantme...
package com.saasquatch.sdk.input; import static com.saasquatch.sdk.internal.InternalUtils.requireNotBlank; import com.saasquatch.sdk.annotations.Beta; import javax.annotation.Nonnull; /** * Input for deleting a user * * @author sli * @see #newBuilder() */ public final class DeleteUserInput { private final St...
/* * The MIT License * Copyright (c) 2015 CSC - IT Center for Science, http://www.csc.fi * * 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 limitat...
package io.dabank.sdk; import static org.junit.Assert.assertTrue; import org.junit.Test; /** * Unit test for simple App. */ public class AppTest { /** * Rigorous Test :-) */ @Test public void shouldAnswerWithTrue() { assertTrue( true ); } }
/////////////////////////////////////////////////////////////////////////// // __ _ _ ________ // // / / ____ ____ _(_)____/ | / / ____/ // // / / / __ \/ __ `/ / ___/ |/ / / __ // // ...
package loon.action.sprite; import loon.action.ActionBind; import loon.action.collision.CollisionHelper; import loon.action.map.Field2D; import loon.core.LObject; import loon.core.LSystem; import loon.core.geom.Point; import loon.core.geom.RectBox; import loon.core.geom.Vector2f; import loon.core.graphics.LColor; impo...
package ui.element; import json.JSONManager; import party.Party; import processing.data.JSONArray; import processing.data.JSONObject; import java.math.BigDecimal; import java.util.ArrayList; import java.util.HashMap; import java.util.logging.Level; import static json.JSONManager.findJSONObject; import static json.JS...
/* * 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...
/** * 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 Tree; import java.util.LinkedList; import java.util.Queue; import java.util.Stack; public class BinaryTree { BinaryTreeNode root; BinaryTree() { } BinaryTree(int d) { root = new BinaryTreeNode(d); } /* Recursive approach of inOrder Traversal of Tree * Time Complexity: O...
package com.sothree.slidinguppanel; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import com.sothree.slidinguppanel.library.R; /** * Created by ThomasR on 06.01.2015. */ ...
package module16packageJava0; import java.lang.Integer; public class Foo126 { Integer int0; Integer int1; public void foo0() { new module16packageJava0.Foo125().foo5(); } public void foo1() { foo0(); } public void foo2() { foo1(); } public void foo3() { foo2(); } public voi...
package com.cegrange.securityutils.crypto; /** * <p>Encodes and decodes to and from Base64 notation.</p> * <p>Homepage: <a href="http://iharder.net/base64">http://iharder.net/base64</a>.</p> * * <p>Example:</p> * * <code>String encoded = Base64.encode( myByteArray );</code> * <br...
package com.enesdeniz.commonservice.service.advertService; import com.enesdeniz.commonservice.dto.request.AdvertRequest; import com.enesdeniz.commonservice.entities.Advert; import com.enesdeniz.commonservice.entities.User; import com.enesdeniz.commonservice.enums.UserType; import java.math.BigDecimal; import java.uti...
package co.logy; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
package cn.key.servlet.bookInfoServlet; import java.io.IOException; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import cn.key.dao.SearchBookDAO; import cn.key.entity.S...
package model; public class UserDownInfo { private int id; private int userId; private int targetId; private int typeId; private String typename; private String date; private String username; private String filename; public int getId() { return id; } public void setId(int id) { this.id = id; } public...
/* This file is part of the iText (R) project. Copyright (c) 1998-2021 iText Group NV Authors: Bruno Lowagie, Paulo Soares, et al. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the F...
/* * Copyright (C) 2018 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 com.pedro.rtpstreamer.texturemodeexample; import android.graphics.SurfaceTexture; import android.os.Build; import android.os.Bundle; import android.os.Environment; import androidx.annotation.RequiresApi; import androidx.appcompat.app.AppCompatActivity; import android.view.TextureView; import android.view.View;...
package digital.bakehouse.rxusecase; import android.annotation.SuppressLint; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.widget.Toast; import digital.bakehouse.rxusecase.decorator.LogDecorator; import digital.bakehouse.rxusecase.decorator.Schedule...
package org.fandev.lang.fan.psi.stubs.impl; import org.fandev.lang.fan.psi.api.statements.typeDefs.FanReferenceList; import org.fandev.lang.fan.psi.stubs.FanReferenceListStub; import com.intellij.psi.stubs.IStubElementType; import com.intellij.psi.stubs.StubBase; import com.intellij.psi.stubs.StubElement; /** * Crea...
/* * Copyright 1997-2018 Optimatika * * 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, publish...
package com.alibaba.alink.operator.stream.source; import org.apache.flink.ml.api.misc.param.Params; import org.apache.flink.table.api.Table; import com.alibaba.alink.common.annotation.InputPorts; import com.alibaba.alink.common.annotation.NameCn; import com.alibaba.alink.common.annotation.OutputPorts; import com.alib...
package com.lilithsthrone.game.character.body.valueEnums; import com.lilithsthrone.utils.Colour; /** * Defined according to how much fluid is replenished every day, in ml. * * @since 0.2.1 * @version 0.3.2 * @author Innoxia */ public enum FluidRegeneration { /** 0-249 ml/day. */ ZERO_SLOW("slow", 0, 250, "s...
/* * 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.example.coolweather.gson; /** * Created by lenovo on 2017/9/20. */ public class AQI { public AQICity city; public class AQICity{ public String aqi; public String pm25; } }
package com.desertskyrangers.flightdeck.adapter.state.repo; import com.desertskyrangers.flightdeck.adapter.state.entity.TokenEntity; import org.springframework.data.jpa.repository.JpaRepository; import java.util.Optional; import java.util.UUID; public interface TokenRepo extends JpaRepository<TokenEntity, UUID> { ...
/** * 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...
/* * 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 net.thevpc.pnote.extensions; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import jav...
package com.daxton.fancycore.api.fancyclient.json.menu_object.item; import com.daxton.fancycore.api.character.conversion.StringConversion; import com.daxton.fancycore.api.item.CItem; import com.daxton.fancycore.nms.NMSItem; import com.daxton.fancyitmes.item.CustomItem; import com.google.gson.Gson; import com.google.gs...
/* * * This file is part of the iText (R) project. Copyright (c) 1998-2020 iText Group NV * Authors: Bruno Lowagie, Paulo Soares, et al. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License version 3 * as published by the Free ...
/** * Copyright © 2016-2018 The Thingsboard 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 applicab...
package com.wutong.backmanage.core.controller; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import com.wutong.backmanage.common.constant.dictmap.states.Order; import com.wutong.backma...
/* * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.tencent.qcloud.core.http; import com.tencent.qcloud.core.logger.QCloudLogger; import java.io.IOException; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Proxy; import java.util.List; import okhttp3.Call; import okhttp3.EventListener; import okhttp3.Handshake; import okhtt...
/* * Copyright 2002-2016 jamod & j2mod development teams * * 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...
/** * Copyright (c) 2015, Intel Corporation * * 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 conditions and t...
/* Generated by camel build tools - do NOT edit this file! */ package org.apache.camel.component.servicenow; import java.net.URISyntaxException; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.apache.camel.spi.EndpointUriFactory;...
/* * Copyright 2013 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 applicable law or...
// // Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.2.7 // Voir <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source. // Généré le : 2019.02....
package com.github.tomakehurst.wiremock.extension.plugin; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import or...
package org.seasar.doma.jdbc; /** * An input parameter. * * @param <BASIC> the basic value */ public interface InParameter<BASIC> extends SqlParameter, JdbcMappable<BASIC> {}
/* * Copyright (c) 2017-2019 by Botorabi. All rights reserved. * https://github.com/botorabi/Meet4Eat * * License: MIT License (MIT), read the LICENSE text in * main directory for more details. */ package net.m4e.app.user.business; import net.m4e.app.auth.AuthRole; import net.m4e.app.communication.Conne...
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
/* * 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 sicem.view.directorio; import DB.conexion; import java.io.IOException; import java.net.URL; import java.util.ResourceBundle; i...
package nc.block.tile.generator; import java.util.Random; import nc.block.tile.processor.BlockProcessor; import nc.config.NCConfig; import nc.enumm.BlockEnums.ProcessorType; import nc.handler.SoundHandler; import nc.tile.generator.TileFissionController; import nc.util.BlockFinder; import nc.util.NCInventoryHelper; im...
package wickhamsPlugin.recipe.RPGWeapons.strengthen; import java.util.ArrayList; import java.util.List; import java.util.UUID; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.attribute.Attribute; import org.bukkit.attribute.AttributeModifier; import org.bukkit.inventory.EquipmentSlot; impor...
package org.rest.persistence; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertThat; import java.util.List; import java.util.Random; import org.hamcrest.Matchers; import org.junit.Test; import or...
package priv.thinkam.dp.behavioral.observer; /** * @author thinkam * @date 2018/02/07 */ public class MouseEvent { private Object source; public MouseEvent(Object source) { this.source = source; } public Object getSource() { return source; } }
package fr.alexandre1156.wardensrevolt; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Sound; import org.bukkit.entity.Player; import fr.alexandre1156.wardensrevolt.utils.Utils; import fr.alexandre1156.wardensrevolt.utils.WizardUtils; public class GameTimer extends Thread{ private volatil...
package cn.springcloud.book.hystrix.config; import java.util.concurrent.Callable; import org.springframework.web.context.request.RequestAttributes; import org.springframework.web.context.request.RequestContextHolder; public class HystrixThreadCallable<S> implements Callable<S>{ private final RequestAttributes reque...
/* MasterMaze: An RPG Copyright (C) 2011-2012 Eric Ahnell Any questions should be directed to the author via email at: products@puttysoftware.com */ package com.puttysoftware.mastermaze.creatures.castes.predefined; import com.puttysoftware.mastermaze.creatures.castes.Caste; import com.puttysoftware.mastermaze.creat...
/* * Copyright (c) 2021 vitasystems GmbH and Hannover Medical School. * * This file is part of project openEHR_SDK * * 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...
package com.github.kongchen.swagger.docgen.reader; import com.github.kongchen.swagger.docgen.ResponseMessageOverride; import com.github.kongchen.swagger.docgen.util.TypeExtracter; import com.github.kongchen.swagger.docgen.util.TypeWithAnnotations; import com.google.common.collect.Lists; import com.sun.jersey.api.core....
package com.lanking.uxb.service.diagnostic.api.impl; import java.math.BigDecimal; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org....
/* * Copyright 2010 netling project <http://netling.org> * * 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.openstack4j.api.network; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import org.openstack4j.api.AbstractTest; import org.openstack4j.api.Builders; import org.openstack4j.model.common.ActionResponse; import org.openstack4j.model.network.ext.ListenerPr...
package net.minecraft.world; import javax.annotation.Nullable; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.fluid.FluidState; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.math.BlockPos; public final class Blockreader implements IBlockReader { ...