text
stringlengths
7
995k
/* * Copyright 2014-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 "licen...
/* * Copyright 2021 Hazelcast Inc. * * Licensed under the Hazelcast Community License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://hazelcast.com/hazelcast-community-license * * Unless required by applicable law or agree...
package com.ahmedadeltito.photoeditorsdk; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.PorterDuff; import android.graphics.PorterDuffXfermode; import an...
package com.mobimeo.citynavigation.api; import com.mobimeo.citynavigation.exception.NotFoundException; import com.mobimeo.citynavigation.exception.ResourceNotFoundException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.ApplicationEventPublisher; import org.springframework...
package android.support.p001v7.widget; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; import android.animation.ValueAnimator.AnimatorUpdateListener; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.gr...
package com.hu.behavior.command.demo1; public class Receiver { /** * 真正执行命令相应的操作 */ public void action(){ System.out.println("执行操作"); } }
// Targeted by JavaCPP version 1.5.8-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.cpython; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.cpython.global.python.*; @Properties(inher...
package test.ethereum.util; import org.ethereum.util.Value; import org.junit.Test; import org.spongycastle.util.encoders.Hex; import java.math.BigInteger; import java.util.Arrays; import static org.junit.Assert.*; public class ValueTest { @Test public void testCmp() { Value val1 = new Value("hel...
package com.alvarowagner; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.println("Anade precio articulo1: "); float articulo1 = scan.nextFloat(); System.out.println("Anade precio a...
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without l...
/* * Copyright 2017 JBoss by Red Hat. * * 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) 2013 Steve Jin. 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 re...
package de.jsfpraxis.detail.vc; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.util.Arrays; import java.util.Date; import java.util.Locale; import javax.annotation.PostConstruct; import javax.enterprise.context.RequestScoped; import javax.inject.Inject; import java...
package it.polimi.ingsw.model; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertTrue; public class GodTritonTest { Cell[][] board = new Cell[5][5]; Action[][][] actions = new Action[5][5][3]; GodInterface god = new GodTriton(new GodPower(God.TRITON, "aaa")); @Befo...
/* * This file is part of COMPASS. It is subject to the license terms in * the LICENSE file found in the top-level directory of this distribution. * (Also available at http://www.apache.org/licenses/LICENSE-2.0.txt) * You may not use this file except in compliance with the License. */ package de.dfki.asr.compass.c...
package csci567.csu.path2friend.database; import android.util.Log; import com.firebase.client.ChildEventListener; import com.firebase.client.DataSnapshot; import com.firebase.client.Firebase; import com.firebase.client.FirebaseError; import com.firebase.client.Query; import com.firebase.client.ValueEventListener; imp...
/* * Created by Itzik Braun on 12/3/2015. * Copyright (c) 2015 deluge. All rights reserved. * * Last Modification at: 3/12/15 4:27 PM */ package com.braunster.chatsdk.object; import android.os.Handler; import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.List; import java.util.Timer;...
package module1563.a; import java.util.zip.*; import javax.annotation.processing.*; import javax.lang.model.*; /** * Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut * labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolo...
package io.sphere.sdk.orders; import javax.annotation.Nullable; public interface ReturnItemDraft { Long getQuantity(); ReturnShipmentState getShipmentState(); @Nullable String getComment(); }
/* * Copyright 2003-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.google.gwt.maps.client.adsense; /* * #%L * GWT Maps API V3 - Core API * %% * Copyright (C) 2011 - 2012 GWT Maps API V3 * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
package io.jenkins.plugins.analysis.core.steps; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.util.Collections; import java.util.HashSet; import java.util.Optional; import org.junit.jupiter.api.Test; import edu.hm.hafner.analysis.Severity; import io.jenkins.plugins.analysis.c...
package com.example.android.conversationalPrototype; import android.view.View; /** * Created by madde on 11/7/2017. */ interface ActivityCallback { void buttonClicked(View v); }
package com.lmax.angler.monitoring.network.monitor.system.softnet; /** * Callback for statistics from /proc/net/softnet_stat. */ @FunctionalInterface public interface SoftnetStatsHandler { /** * Callback method. * @param cpuId zero-based CPU that these statistics refer to * @param processed softIR...
package top.suiwngs.C; import java.math.BigInteger; import java.util.Scanner; public class Main { public static BigInteger getNFactorial1(int n) { BigInteger sum = new BigInteger("1"); for (int i = 1; i <= n; i++) { sum = sum.multiply(new BigInteger(i+"")); } return s...
package com.github.vogulev.jrtb.command; import com.github.vogulev.jrtb.command.annotation.AdminCommand; import com.github.vogulev.jrtb.javarushclient.dto.StatisticDTO; import com.github.vogulev.jrtb.service.SendBotMessageService; import com.github.vogulev.jrtb.service.StatisticsService; import org.springframework.bea...
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.fet.ice.simpleETL.job; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.util.concurrent.ThreadPoolExecutor; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class JobsMonitor implements Runnable { private Threa...
/* * Java - Guia do Programador - 3a Ed. * Autor: Peter Jandl Junior * (c) 2015, Novatec Editora Ltda. * * Exemplo 2.5 */ import java.util.Scanner; public class SaidaFormatada { public static void main(String a[]) { Scanner sc = new Scanner(System.in); // prepara console System.out.print("No final? "); i...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.storage.blob.models; import com.azure.core.implementation.DateTimeRfc1123; import com.azure.core.implementation.annotation.Fluent; import com.fa...
package io.committed.krill.extraction.tika.doc; import io.committed.krill.extraction.tika.helper.AbstractTikaFormatExtractorIT; import org.junit.Ignore; import org.junit.Test; public class DocBreaksTikaFormatExtractorIT extends AbstractTikaFormatExtractorIT { private static final String RESOURCE_NAME = "breaks.doc...
/* * Copyright 2013-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2014 Chris Banes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
package duke.task; import java.time.LocalDateTime; import java.time.temporal.TemporalAmount; import duke.exception.DuchessException; import duke.util.DateTimeStringFormatter; /** * The {@code Deadline} class extends from {@code Task} to allow the setting of * a {@code LocalDateTime deadline}. */ public class Dead...
/* * Copyright 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://www.apache.org/licenses/LICENSE-2.0 * * or in ...
package utils.concurrent; /** * 未预期的超时异常; * * @author haiq * */ public class RuntimeTimeoutException extends RuntimeException { private static final long serialVersionUID = -4404758941888371638L; public RuntimeTimeoutException() { } public RuntimeTimeoutException(String message) { super(message); } p...
package org.mazhuang.helloandroidjni; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.Menu; import android.view.MenuItem; im...
package com.rick.quiz.data.model.jackson; import java.io.IOException; import org.codehaus.jackson.JsonNode; import org.codehaus.jackson.JsonParser; import org.codehaus.jackson.JsonProcessingException; import org.codehaus.jackson.ObjectCodec; import org.codehaus.jackson.map.DeserializationContext; import org.codehaus....
package com.pixeldust.launcher.settings; import android.content.SharedPreferences; import com.pixeldust.launcher.Launcher; import com.pixeldust.launcher.LauncherAppState; import com.pixeldust.launcher.Utilities; import com.pixeldust.launcher.dragndrop.DragLayer; import com.pixeldust.launcher.dynamicui.ExtractedColors...
package model; public class Pion { private boolean bleu; private boolean carre; private boolean grand; private boolean troue; private boolean plein = false; private String imageName; public Pion(boolean bleu, boolean carre, boolean grand, boolean troue){ this.bleu=bleu; thi...
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * Copyright 2000-2016 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...
/** * 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...
/* * 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 ...
/* * 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 gameStates; /** * A class which contains move statuses of specific chess pieces (whether they have moved) */ public class ChessPieceMoveStatus { private boolean hasWhiteKingMoved, hasBlackKingMoved, hasWhiteKingSideRookMoved, hasBlackKingSideRookMoved, hasWhiteQueenSideRookMoved, hasBlackQuee...
package com.haoyue.app.happyreader.bean; import java.util.List; /** * Created by joyo on 15/11/2. */ public class Test { private DataEntity data; public void setData(DataEntity data) { this.data = data; } public DataEntity getData() { return data; } public static class Da...
/** * Copyright (C) 2009-2017 Simonsoft Nordic AB * * 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 applic...
package org.gluu.persist.ldap.impl; import java.util.ArrayList; import java.util.List; import org.gluu.persist.model.BatchOperation; import org.gluu.persist.reflect.property.PropertyAnnotation; import com.unboundid.ldap.sdk.SearchResult; import com.unboundid.ldap.sdk.SearchResultEntry; /** * LDAP batch operation w...
package net.authorize; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. * * <p>T...
/* * Copyright (c) 2020 Baidu.com, 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...
package com.technology.rfi.feature; import com.technology.rfi.feature.dto.*; import org.jepria.server.data.OptionDto; import org.jepria.server.service.security.Credential; import java.util.List; public class FeatureService { public void setFeatureResponsible(Integer featureId, Integer responsibleId) { this.d...
/* * Copyright (C) 2012,2013 Renard Wellnitz * * 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...
/* * Copyright © 2017 <code@io7m.com> http://io7m.com * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND ...
package hackerrank.maximum_perimeter_triangle; import java.util.Collections; import java.util.List; /** * https://www.hackerrank.com/challenges/maximum-perimeter-triangle */ public final class SolutionCore { private SolutionCore() { } protected static int[] pick(final List<Integer> sticks) { Co...
/*- * ========================LICENSE_START================================= * AEM Permission Management * %% * Copyright (C) 2013 Cognifide Limited * %% * 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 o...
/* ================================================================================= MIT License Copyright (c) 2018 Adrian D. Finlay, Lunick Dorcelus, Cheddae Grant, Adrian Silva Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Soft...
package cn.edu.seu.itcompany.meituan; import java.util.Scanner; /**https://www.nowcoder.com/questionTerminal/d66442d58616473dafb91b168d8ebd4d * [编程题]大富翁游戏 * @Author personajian * @Date 2017/8/31 15:18 */ public class DaFuWeng { public static void main(String[] args) { Scanner in = new Scanner(System....
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import java.util.ArrayList; @Autonomous (name = "DuckAuton") public class DuckAuton extends Team7593OpMode { @Override public void init(){ super.init(); } @Override public ArrayList<Auton...
/* * Copyright 2015 Lutz Fischer <lfischer at staffmail.ed.ac.uk>. * * 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 requ...
/* * Copyright 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/** * Copyright 2011 The PlayN Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/* * Copyright 2019 ConsenSys AG. * * 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...
/* * Copyright 2015-2020 Real Logic Limited. * * 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 ...
/* * Copyright 2000-2014 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...
package mage.cards.l; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.effects.common.AttachEffect; import mage.abilities.effects.common.continuous.BecomesCreatureAttachedEffect; import mage.abilities.keyword.EnchantAbili...
/* * Copyright (c) 2018 Titan Robotics Club (http://www.titanrobotics.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 ...
/* * Copyright 2017 Redsaz <redsaz@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/licenses/LICENSE-2.0 * * Unless required by applicable l...
package com.wiseoutbound.classloader.utils; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; public class ReflectionUtils { public static Constructor<?> getDeclaredConstructor(Class<?> clazz, Class<?>... parameterTypes) { try { ...
/* * ========================================================================== * Copyright (C) 2019-2021 HCL America, Inc. ( http://www.hcl.com/ ) * All rights reserved. * ========================================================================== * Licensed under the Apache License, Ve...
package ion.viewmodel.view; public interface IListReferenceColumn { Boolean isSelectionPaginated(); }
package com.group8.yugui.domain; import java.io.Serializable; /** * Created by ZhangMh on 2018/9/13. */ public class Shoplist implements Serializable { private int shoplistID; private int merchandiseID; private String num; private String picture; private int userID; private String name; ...
package se.mickelus.tetra.advancements; import com.google.gson.JsonObject; import net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance; import net.minecraft.advancements.critereon.DeserializationContext; import net.minecraft.advancements.critereon.EntityPredicate; import net.minecraft.advancements.cri...
package gr.uom.java.metric.probability.gui; import java.io.File; import javax.swing.filechooser.FileFilter; public class XMLFilter extends FileFilter { public boolean accept(File f) { if (f.isDirectory()) { return true; } String extension = getExtension(f); if (...
/* * 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) 2012-2015, jcabi.com * 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, this list of condition...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2018.11....
package controller.commands; import static org.junit.jupiter.api.Assertions.*; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.Scanner; import org.junit.jupiter.api.Test; import model.DocumentManager; import model.VersionsManager; class SaveRot13CommandTest { private Documen...
package io.github.haykam821.modviewer.ui.layer; import java.util.Comparator; import java.util.stream.Collectors; import io.github.haykam821.modviewer.ui.ModViewerUi; import io.github.haykam821.modviewer.ui.element.ErrorElement; import io.github.haykam821.modviewer.ui.element.ModElement; import net.fabricmc.loader.api...
// The MIT License (MIT) // // Copyright © 2016, Raphael Cohn <raphael.cohn@stormmq.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 limitatio...
package bapspatil.wallcards.network; import java.util.ArrayList; import bapspatil.wallcards.models.Wallpaper; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Query; /** * Created by bapspatil */ public interface UnsplashAPI { String BASE_URL = "https://api.unsplash.com"; @GET("/p...
package org.corfudb.runtime.collections; import io.micrometer.core.instrument.Counter; import io.micrometer.core.instrument.Timer; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import lombok.NonNull; import lombok.extern.slf4j.Slf4j; import org.corfudb.common.metrics.micrometer.MicroMeterUtils; impo...
package redis.clients.jedis; import java.util.List; import java.util.Set; public interface MultiKeyCommands { Long del(String... keys); Long unlink(String... keys); Long exists(String... keys); List<String> blpop(int timeout, String... keys); List<String> brpop(int timeout, String... keys); List<Stri...
package net.osmand.plus.access; import net.osmand.plus.ClientContext; import net.osmand.plus.R; public enum AccessibilityMode { ON(R.string.accessibility_on), OFF(R.string.accessibility_off), DEFAULT(R.string.accessibility_default); private final int key; AccessibilityMode(int key) { th...
// // $ // package edu.gemini.spModel.gemini.nici; import edu.gemini.shared.util.immutable.None; import edu.gemini.shared.util.immutable.Option; import edu.gemini.shared.util.immutable.Some; import edu.gemini.spModel.guide.*; import edu.gemini.spModel.obs.SchedulingBlock; import edu.gemini.spModel.obs.context.ObsCont...
package com.silence.common.core.page; import java.io.Serializable; import java.util.List; /** * 表格分页数据对象 * * @author silence */ public class TableDataInfo implements Serializable { private static final long serialVersionUID = 1L; /** 总记录数 */ private long total; /** 列表数据 */ private List<?> row...
package vg.civcraft.mc.citadel.playerstate; import java.util.HashMap; import java.util.Map; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.entity.Player; import org.bukkit.event.block.BlockPlaceEvent; import org.bukkit.event.player.PlayerInteractEvent; import org.bukkit.inventory.ItemStack; ...
package org.at.cmware.persistent.dao; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import org.at.cmware.SpringTestBase; import org.at.cmware.persistent.entity.Sequense; import org.junit.After; import org.junit.Before; import org....
package chapter3.section5; import edu.princeton.cs.algs4.StdIn; import edu.princeton.cs.algs4.StdOut; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Created by Rene Argento on 08/08/17. */ public class Exercise20_Concordance { private class Concordance...
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.twu.biblioteca; import java.util.Scanner; public class Input { public static final String BOOK_LIST = "b"; public static final String MOVIE_LIST = "m"; public static final String CHECK_OUT_BOOK = "cb"; public static final String CHECK_OUT_MOVIE = "cm"; public static final String RETURN...
package gvlfm78.plugin.OldCombatMechanics.utilities.reflection.sweep; import gvlfm78.plugin.OldCombatMechanics.utilities.packet.Packet; import java.lang.reflect.Field; import java.util.Locale; class SweepPacketDetectorUpTo1_12 extends AbstractSweepPacketDetector { private Field enumParticleField; SweepPack...
package nz.co.cyma.integrations.archigitsync.model; import java.io.File; public enum RepositoryDirectory { //the order is important here, objects before relationships, before diagrams - the importer relies on this BUSINESS_LAYER ("business_layer"), APPLICATION_LAYER ("application_layer"), TECHNOLOGY_LAYER ("techn...
package com.xiong.appbase.http; import okhttp3.MultipartBody; import okhttp3.ResponseBody; import retrofit2.Call; import retrofit2.http.Multipart; import retrofit2.http.POST; import retrofit2.http.Part; /** * Created by xiong on 2018/5/16. */ public interface UploadImgService { @Multipart @POST(UploadImgE...
/* * 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.dnb.services.contact; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for FamilyTreeMemberRole complex type. * * <p>The following schema fragmen...
// // ======================================================================== // Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under // the terms of the Eclipse Public License 2.0 which is available at // https://www.eclipse.org/leg...
package com.coditory.quark.common.test; import java.time.Clock; import java.time.Duration; import java.time.Instant; import java.time.ZoneId; import static com.coditory.quark.common.check.Args.checkNotNull; public final class FixedClock extends Clock { public static final Instant DEFAULT_INSTANT = Instant.parse(...
package com.divertsy.hid.ble; import android.Manifest; import android.annotation.TargetApi; import android.app.Activity; import android.app.AlertDialog; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothManager; import android.bluetooth.le.BluetoothLeScanner; import android.bluetooth.le.Scan...