text
stringlengths
7
995k
package io.smallrye.reactive.messaging.jms; import static org.assertj.core.api.Assertions.assertThat; import static org.awaitility.Awaitility.await; import java.util.Collections; import java.util.List; import java.util.concurrent.*; import java.util.concurrent.atomic.AtomicBoolean; import javax.jms.*; import javax.j...
/* * 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 org.ovirt.engine.core.common.businessentities; import java.io.Serializable; import java.util.Objects; public class ReplaceHostConfiguration implements Serializable { private ReplaceHostConfiguration.Action deployAction; public ReplaceHostConfiguration() { } public ReplaceHostConfiguration...
/* * Copyright (C) 2013 Chen Hui <calmer91@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 appli...
package io.swagger.api; @javax.annotation.Generated(value = "class io.swagger.codegen.languages.SpringMVCServerCodegen", date = "2015-09-30T16:27:59.075+08:00") public class ApiException extends Exception{ private int code; public ApiException (int code, String msg) { super(msg); this.code = code; } }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.storage.blob; import com.azure.storage.common.SR; import java.util.Locale; /** * This is a helper class to construct a string representing the permissions granted by a ServiceSAS to a blob. Setting * ...
package com.packagename.myapp.app.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.config.ConfigurableBeanFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework...
/* * Copyright 2021-2021. the original qiuhaifeng . * * 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 ...
/* * Copyright (c) 2004, 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 ...
package com.ohmdb.dsl.join; /* * #%L * ohmdb-dsl * %% * Copyright (C) 2013 - 2014 Nikolche Mihajlovski * %% * 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.apach...
package com.sigar.think.c08;//: c08:Callbacks.java // Using inner classes for callbacks // From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002 // www.BruceEckel.com. See copyright notice in CopyRight.txt. import com.sigar.think.bruceeckel.simpletest.*; interface Incrementable { void increment(); } // Very simple ...
package com.huaweicloud.sdk.projectman.v4.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.huaweicloud.sdk.core.SdkResponse; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.function.Consumer; /**...
// Copyright 2017 The Nomulus Authors. 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 a...
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/* * 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 week12; /** * * @author connor.britton */ public class Knight { String name; int speed; boolean sword; bool...
/* * Copyright 2021 Adobe. 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...
package kr.cps.toring.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org...
package gov.nasa.worldwind.platform.data; import java.io.Closeable; public interface Cursor extends Closeable { int getColumnIndex(String columnName); boolean moveToNext(); String getString(int columnIndex); short getShort(int columnIndex); int getInt(int columnIndex); long getLong(int c...
package com.example.coolweather.service; import android.app.AlarmManager; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; import android.content.SharedPreferences; import android.os.IBinder; import android.os.SystemClock; import android.preference.PreferenceManager; import...
/* * 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 cat.copernic.m03_uf04_secondassignment.exerciciLliure; /** * * @author david */ public abstract class productoComida extend...
package pers.adlered.ftpeasy; public class Outputer { public Outputer(String message) { System.out.println("[INFO] > FTPEasy > " + message); } public Outputer(String level, String message) { System.out.println("[" + level + "] > FTPEasy > " + message); } public Outputer(int text) ...
package com.zup.lucasciscar.casadocodigo.cupom; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RestController; import javax.persistence.EntityManager;...
package com.sinch.messagingtutorial.app; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import com.parse.LogInCallback; import com.parse.ParseException; import com.parse.ParseUser; import com.parse.SignUpCallback; import android.util.Log; import android.view.View; import androi...
/* * 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...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * 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.example.dong.repository.dataobject; import com.example.dong.repository.BaseEntity; import lombok.Data; import org.hibernate.annotations.GenericGenerator; import javax.persistence.*; /** * * @Author: 廖冬年 * @Date: 2022/1/25 4:07 PM * */ @Entity @Table(name = "tb_user") @Data public class UserDO extend...
/* * MIT License * * Copyright (c) 2022 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 de.hub.mse.emf.generator.zest.benchmarks; import java.io.File; import java.util.Random; import org.eclipse.core.runtime.CoreException; import org.eclipse.emf.ecore.resource.Resource; import org.emftools.emf2gv.graphdesc.GraphdescPackage; import org.emftools.emf2gv.processor.core.StandaloneProcessor; import or...
package com.mizo0203.komeiji.repo; import com.mizo0203.komeiji.domain.difine.TwitterUser; import twitter4j.*; import javax.annotation.Nonnull; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.logging.Level; import java.util.logging.Logger; public class TwitterClie...
/** * 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 not...
// Copyright © 2013-2017 Andy Goryachev <andy@goryachev.com> package goryachev.pass.data; import goryachev.common.util.CKit; import goryachev.crypto.Crypto; import goryachev.crypto.OpaqueChars; import java.io.EOFException; import java.io.InputStream; import java.io.OutputStream; public class DataTools { public stati...
/* * Copyright 2018 Lookout, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 背景:户帐分离项目可能导致会员基本信息和资金类信息将不再紧耦合,且考虑到与本类似的接口(alipay.user.userinfo.share)已十分臃肿,再加入新的功能将降低接口可用性,因此新增本接口给商户查询支付宝会员资金类信息。第一版将支持信用卡卡号(已脱敏)及发卡行信息查询。 外部商户通过授权,调用该接口获取支付宝域会员资金类相关信息。 * * @author auto cre...
/** * The MIT License (MIT) * Copyright (c) 2012 David Carver * 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...
/* * MIT License * * Copyright (c) 2022 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 nl.bertriksikken.motionsensorbackend; import java.time.Instant; public final class LoraParams { final Instant time; final int fcnt; final double rssi; final double snr; final int sf; public LoraParams(Instant time, int fcnt, double rssi, double snr, int sf) { this.time = time...
package de.fu_berlin.agdb.importer.forecastio.core; import com.github.dvdme.ForecastIOLib.ForecastIO; import de.fu_berlin.agdb.importer.payload.DataType; import de.fu_berlin.agdb.importer.payload.LocationMetaData; import de.fu_berlin.agdb.importer.payload.LocationWeatherData; import org.apache.http.client.ClientProtoc...
/* * Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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...
/* * 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 ...
/* * Copyright 2009 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 io.wcm.caravan.rhyme.testing.client; import static com.github.tomakehurst.wiremock.client.WireMock.aResponse; import static com.github.tomakehurst.wiremock.client.WireMock.get; import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo; import static org.assertj.core.api.Assertions.assertThat; im...
package controleur; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.rmi.Naming; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.util.ResourceBundle; import java.util.UUID; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import...
/* * Copyright 2002-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.tenneshop.bookmark.web.controller; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.thymeleaf.ITemplateEngine; import org.thymeleaf.context.WebContext; public class LogoutCon...
/* * Open Source Physics software is free software as described near the bottom of this code file. * * For additional information and documentation on Open Source Physics please see: * <http://www.opensourcephysics.org/> */ package org.opensourcephysics.display2d; import java.awt.Color; import java.awt.Graphics; ...
/* Copyright 2020. Huawei Technologies Co., Ltd. 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 requ...
/* Copyright 2016 Michael Sladoje and Mike Schälchli. 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.hf.resreader.resreader; import android.content.Context; /** * Created by Fan on 2015/8/20. * Boolean Reader */ public class BooleanResReader extends AbstractStringTypeResReader { @Override public String getValue(Context resContext, int resId) { return String.valueOf(resContext.getResour...
/* ==================================================================== 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 Y...
/* * Copyright (c) 2021 Sebastian Erives * * 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, pu...
package solver; import java.io.IOException; import java.util.List; import objects.Commission; import objects.JSONParsingObject; import utils.JSONUtil; public class Main { public static void main (String args[]) throws IOException{ if(args.length != 2){ System.out.println("Enter correct arguments (<json> <tim...
import java.awt.Color; import java.awt.Font; import java.awt.event.*; import java.util.ArrayList; import java.util.Vector; import javax.swing.*; import javax.swing.border.Border; import javax.swing.event.*; public class UserGui extends CFrame implements ActionListener, ListSelectionListener{ JTextArea taCommand;...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.xeiam.xchange.anx.v2; import static org.fest.assertions.api.Assertions.assertThat; import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import java.util.Date; import java.util.List; import org.junit.Assert; import org.junit.Test; import com.fasterxml.jackson.databind.Dese...
//I chose to do this exercise procedurally just to get some practice with that specific //method of doing things. This solution passes the tests and satisfies all instructions //in the exercise but is not the way I would ideally approach the exercise. I would //prefer (if not intentionally implementing the solution p...
package uk.gov.digital.ho.hocs.document.aws; import com.amazonaws.AmazonServiceException; import com.amazonaws.services.s3.AmazonS3; import com.amazonaws.services.s3.model.*; import com.amazonaws.util.IOUtils; import com.amazonaws.util.StringUtils; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.fac...
/* * Copyright (C) 2014 asksven * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright 2017 VMware, 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
/* * MIT License * * Copyright (c) 2022 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...
/* * #%L * BigDataViewer core classes with minimal dependencies. * %% * Copyright (C) 2012 - 2021 BigDataViewer developers. * %% * 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 c...
package revxrsal.commands.bungee.core; import net.md_5.bungee.api.ProxyServer; import net.md_5.bungee.api.connection.ProxiedPlayer; import org.jetbrains.annotations.NotNull; import revxrsal.commands.bungee.BungeeCommandActor; import revxrsal.commands.bungee.PlayerSelector; import revxrsal.commands.bungee.exception.Inv...
/* * Copyright 1999-2018 Alibaba Group Holding Ltd. * * 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) 2008-2021, Hazelcast, 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 ...
/** * $Revision: 3034 $ * $Date: 2005-11-04 21:02:33 -0300 (Fri, 04 Nov 2005) $ * * Copyright (C) 2008 Jive Software. 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...
package me.fixeddev.commandflow.exception; import net.kyori.text.Component; public class NoPermissionsException extends CommandException { public NoPermissionsException() { } public NoPermissionsException(Component message) { super(message); } public NoPermissionsException(String message...
package com.example.somin.mqttapp; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.widget.TextView; import com.github.mikephil.charting.charts.LineChart; import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken; import org.eclipse.paho.client.mqttv3...
package org.omg.DynamicAny; /** * org/omg/DynamicAny/DynAny.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u181/11358/corba/src/share/classes/org/omg/DynamicAny/DynamicAny.idl * Saturday, July 7, 2018 4:03:11 AM PDT */ /** * Any...
/* * Copyright 2002-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...
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
/* * Copyright 2000-2009 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 sdm.displaywindow; import java.awt.LayoutManager; import java.awt.Rectangle; import javax.swing.JDialog; import javax.swing.JLabel; import sdm.data.Student; public class Dialogbox extends JDialog{ /** * */ private static final long serialVersionUID = 1L; private StudentDataViewer stdView; //priva...
package com.deftwun.zombiecopter.components; import com.badlogic.ashley.core.Component; import com.badlogic.ashley.core.Entity; import com.badlogic.gdx.utils.Pool.Poolable; public class ChildComponent extends Component implements Poolable{ public Entity parentEntity; @Override public void reset() { parentEntity...
package com.keqi.dataxweb; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class ApplicationTests { @Test void contextLoads() { } }
package it.oztaking.com.a59_multimedia_videoplayer; import android.content.res.Resources; import android.media.MediaPlayer; import android.os.SystemClock; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.SurfaceHolder; import android.view.SurfaceView; import android.view.V...
// Copyright 2018 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 parsing; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.util.ArrayList; import java.util.List; import javax.swing.BoxLayout; import javax.swing.JFrame; public class ProjectFrame extends JFrame { private List<GramDisplay> panels = new ArrayList<> (); public ProjectFrame (...
package com.none.Plugin.AlarmClock; import org.json.JSONArray; import android.util.Log; public class AlarmOptions { private String alarmTitle ; private String alarmContent ; private String notificataionID ; private String date ; private String interVal ; private long startTime; private long endTime; priva...
package com.example.duty_pilot; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void...
/* * Copyright 2015 LINE Corporation * * LINE Corporation 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/licenses/LICENSE-2.0 * * Unless re...
/** * Copyright (c) Rich Hickey. All rights reserved. * The use and distribution terms for this software are covered by the * Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) * which can be found in the file epl-v10.html at the root of this distribution. * By using this softwar...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.usages; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.NlsContexts; import com.intellij.openapi.util.NlsSafe; import com.int...
/***************************************************************************** * Copyright (C) Codehaus.org * * ------------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); * * y...
/* * * The MIT License Copyright © 2018-2018 GourdErwa * * 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, modif...
package rlbotexample.bot_behaviour.path.recreative_paths; import rlbotexample.bot_behaviour.car_destination.CarDestination; import rlbotexample.bot_behaviour.path.PathHandler; import rlbotexample.input.dynamic_data.DataPacket; import util.vector.Vector3; import java.util.ArrayList; import java.util.List; public clas...
/* * 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 ...
/****************************************************************** * * This code is for the Complaints service project. * * * © 2018, Complaints Management All rights reserved. * * ******************************************************************/ package co.cpl.web.controller; import java.awt.image.Buf...
package com.example.avatarmaker; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on...
package com.majunbao.widget.square; import android.view.View; /** * author : Majunbao * github : https://github.com/MaJunBaox * time : 2018/10/27 * desc : 用于限定正方形大小的控件的算法 */ @SuppressWarnings("all") public final class SquareDelegate { /** * 测量出正方形的宽度 * * @param widthMeasureSpe...
package com.kauruck.UI; import com.kauruck.AS.Ant; import com.kauruck.AS.Colony; import com.kauruck.Backbone.City; import com.kauruck.Backbone.Street; import com.kauruck.TSP; import javax.swing.*; import java.awt.*; import java.util.List; public class MainPanel extends JPanel { @Override protected void pa...
/* * Copyright 2011-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.zyw.horrarndoo.yizhi.presenter.detail; import android.graphics.Bitmap; import android.support.v4.app.FragmentActivity; import android.webkit.WebView; import com.bumptech.glide.Glide; import com.bumptech.glide.request.animation.GlideAnimation; import com.bumptech.glide.request.target.SimpleTarget; import c...
Stream.of( Block.makeCuboidShape(2, -1, 2, 14, 2, 14), Block.makeCuboidShape(2, 2, 2, 14, 5, 14), Block.makeCuboidShape(2, 5, 2, 14, 8, 14), Block.makeCuboidShape(2, 8, 2, 14, 11, 14) ).reduce((v1, v2) -> {return VoxelShapes.combineAndSimplify(v1, v2, IBooleanFunction.OR);});
/* * 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.example.entities; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; ...
package org.unichain.common.storage; import lombok.Getter; public class WriteOptionsWrapper { @Getter private org.rocksdb.WriteOptions rocks = null; @Getter private org.iq80.leveldb.WriteOptions level = null; public static WriteOptionsWrapper getInstance() { WriteOptionsWrapper wapper = new WriteOptio...
package org.apache.ojb.broker; /** * This interface is used to test extent aware path expressions * @author <a href="leandro@ibnetwork.com.br">Leandro Rodrigo Saad Cruz</a> */ public class News extends BaseContentImpl { public News() { super(); } /** * @param i */ ...
/** * Copyright 2018 The original 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...
/* * Copyright (c) 2011-2020 HERE Europe B.V. * * 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...