text
stringlengths
7
995k
/* * Licensed Materials - Property of IBM, * Copyright IBM Corp. 2009, 2016 All Rights Reserved */ package java.lang.invoke; abstract class IndirectHandle extends MethodHandle { IndirectHandle(MethodType type, Class<?> definingClass, String name, int kind, int modifiers) { super(type, definingClass, name, ...
package com.sz; import io.micronaut.runtime.Micronaut; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class Application { private static final Logger log = LoggerFactory.getLogger(Application.class); public static void main(String[] args) { Micronaut.run(Application.class, args); ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Rpc.proto package Catalyst.Protocol.Rpc.Node; public interface BroadcastRawTransactionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Catalyst.Protocol.Rpc.Node.BroadcastRawTransactionRequest) com.google.protobuf.Mes...
package io.contek.invoker.bybit.api.rest.user; import com.google.common.collect.ImmutableList; import io.contek.invoker.bybit.api.common._Order; import io.contek.invoker.bybit.api.rest.common.RestResponse; import io.contek.invoker.commons.actor.IActor; import io.contek.invoker.commons.actor.ratelimit.RateLimitQuota; i...
package com.example.moviedata; 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 a...
package com.desertkun.brainout.inspection; import com.badlogic.gdx.utils.Json; import com.badlogic.gdx.utils.ObjectMap; import com.desertkun.brainout.BrainOut; import com.desertkun.brainout.content.Content; import com.desertkun.brainout.utils.ObjectMapSerializer; import java.lang.annotation.Annotation; import java.la...
/* * Copyright (C) 2018 Google 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...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * <p>This source code is licensed under the MIT license found in the LICENSE file in the root * directory of this source tree. */ package com.mudapay; import android.content.Context; import com.facebook.flipper.android.AndroidFlipperClient; import com.faceb...
/* * JaamSim Discrete Event Simulation * Copyright (C) 2012 Ausenco Engineering Canada 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/LICE...
package com.scatl.uestcbbs.adapters.homepage1; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Color; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.palette.graphics.Palette; import com.bumptech.glide.Glide; import com.bumptech.glide.r...
package bdFI; import bdFI.exceptions.NoParticipationsException; import bdFI.exceptions.ShowAlreadyHasCompletedProductionException; import bdFI.exceptions.ShowISInProducingStatusException; import dataStructure.DoubleList; import dataStructure.Iterator; import dataStructure.List; /** * @author Guilherme Fernandes 6004...
/** * Copyright (c) 2012 MNCC * * 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, distri...
import no.cantara.sagalog.SagaLogInitializer; import no.cantara.sagalog.memory.MemorySagaLogInitializer; module no.cantara.sagalog { requires java.base; exports no.cantara.sagalog; opens no.cantara.sagalog.memory; provides SagaLogInitializer with MemorySagaLogInitializer; }
/* * 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 me.doupay.sdk.bean; public class WithdrawResponse { /** * orderCode : TX202107091032171837278538 */ private String orderCode; public String getOrderCode() { return orderCode; } public void setOrderCode(String orderCode) { this.orderCode = orderCode; } ...
/* * 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) 2019 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 ...
package com.problems; public class Main { public static void main(String[] args) { // write your code here } }
/* First created by JCasGen Tue Sep 03 12:35:27 CEST 2019 */ package de.julielab.jcore.types; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.jcas.cas.TOP_Type; /** This type represents the span that some cue word like negation or hedging applies to. * Updated by ...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
package fr.radi3nt.multi.packets.types; import fr.radi3nt.multi.packets.data.Packet; import java.util.function.Supplier; public class PacketType { private final int id; public PacketType(int id) { this.id = id; } public int getId() { return id; } }
/* * Copyright 2000-2017 Vaadin 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 applicable law or agreed to...
package dmillerw.menu.gui; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.screen.Screen; import java.util.ArrayList; import java.util.List; public class ScreenStack { private static final List<Screen> GUI_LIST = new ArrayList<>(); public static void push(Screen screen) { GUI_...
package com.coolweather.android.util; import android.text.TextUtils; import com.coolweather.android.db.City; import com.coolweather.android.db.County; import com.coolweather.android.db.Province; import com.coolweather.android.gson.Weather; import com.google.gson.Gson; import org.json.JSONArray; import org.json.JSONE...
/* * This file was automatically generated by EvoSuite * Wed Nov 11 08:26:33 GMT 2020 */ package org.dom4j.io; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.shaded.org.mockito.Mockito.*; import static org.evosuite.runtime.EvoAssertions.*; import java.io.BufferedInputStream; im...
package com.wong.security; import org.mindrot.jbcrypt.BCrypt; /** * @author Huang zhibin * * 2017年8月30日 下午1:46:30 */ public class BcryptTest { public static void main(String[] args) { for (int i = 0; i < 10; i++) { String salt = BCrypt.gensalt(); System.out.println(salt); String hashed = BCrypt.hashpw("...
/* * Copyright (C) 2008 feilong * * 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...
package com.infilos; import org.junit.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.*; import static org.junit.Assert.*; public class DAGraphTest { private DAGraph<Integer, String, String> graph; private static final Logger logger = LoggerFactory.getLogger(DAGraphTest.class);...
package us.godby.icda.services; import java.util.ArrayList; import java.util.List; import org.apache.abdera.Abdera; import org.apache.abdera.model.Category; import org.apache.abdera.model.Element; import org.apache.abdera.model.Entry; import org.apache.abdera.model.Feed; import org.apache.abdera.model.Link; import or...
/* * Copyright 2014 JBoss 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 i...
package io.github.jtsato.bookstore.infra.author; import static org.assertj.core.api.Assertions.assertThat; import java.util.Optional; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoco...
// -------------------------------------------------------------------------------- // Copyright 2002-2021 Echo Three, 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:/...
/* * 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 (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.commands; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.subsystems.ClimberSubsy...
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE package org.bytedeco.cuda.cudart; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.cuda.global.cudart.*; /** * CUDA Memset node p...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
package com.blueskykong.auth.rest; import com.blueskykong.auth.dao.PermissionDAO; import com.blueskykong.auth.dao.RoleDAO; import com.blueskykong.auth.dao.RolePermissionDAO; import com.blueskykong.auth.dao.UserRoleDAO; import com.blueskykong.auth.entity.Permission; import com.blueskykong.auth.entity.Role; import com.b...
package ru.ifmo.rain.naumov.student; import info.kgeorgiy.java.advanced.student.Group; import info.kgeorgiy.java.advanced.student.Student; import info.kgeorgiy.java.advanced.student.StudentGroupQuery; import java.util.Map; import java.util.Set; import java.util.List; import java.util.TreeSet; import java.util.TreeMap...
package com.pwc.core.framework.processors.mobile.elements; import com.pwc.core.framework.data.WebElementAttribute; import com.pwc.core.framework.data.XCUIElementType; import io.appium.java_client.MobileElement; import org.apache.commons.lang3.StringUtils; import org.testng.Assert; import static com.pwc.assertion.Asse...
/* * Copyright 2017 Yura Laguta * * 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 w...
/* * Copyright (C) 2007 Google 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 ...
/*- * << * DBus * == * Copyright (C) 2016 - 2019 Bridata * == * 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 requir...
// 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.ide.util; import com.intellij.ide.GeneralSettings; import com.intellij.ide.IdeBundle; import com.intellij.ide.TipsOfTheDayUsagesCollector; import com.intelli...
package com.github.dreamhead.moco; import org.apache.http.client.HttpResponseException; import org.junit.Test; import java.io.IOException; import static com.github.dreamhead.moco.Moco.*; import static com.github.dreamhead.moco.MocoMount.to; import static com.github.dreamhead.moco.Runner.running; import static com.gi...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.machinelearningservices.v2019_05_01; import com....
/* * Copyright 2013 Google 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 i...
package jp.ww24.handwrites; import android.app.Activity; import android.content.ContentResolver; import android.databinding.BindingAdapter; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Bundle; import android.support.design.widget.Snackbar; import andr...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.mediaservices.models; import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.Response; import com.azure....
package org.thebund1st.hankou.winning.lottery.domain; public interface LotteryDrawer { LotteryPosition draw(Participating participating); }
/* * Copyright 2015 Terracotta, Inc., a Software AG company. * * 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 b...
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/...
package life.qbic; import ch.ethz.sis.openbis.generic.asapi.v3.IApplicationServerApi; import ch.ethz.sis.openbis.generic.asapi.v3.dto.common.search.SearchResult; import ch.ethz.sis.openbis.generic.asapi.v3.dto.dataset.DataSet; import ch.ethz.sis.openbis.generic.asapi.v3.dto.dataset.fetchoptions.DataSetFetchOptions; im...
/* * Copyright 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 writing...
package org.broadinstitute.hellbender.tools.spark.pipelines; import org.apache.commons.io.FileUtils; import org.broadinstitute.hellbender.CommandLineProgramTest; import org.broadinstitute.hellbender.testutils.ArgumentsBuilder; import org.testng.Assert; import org.testng.annotations.DataProvider; import org.testng.anno...
// // ======================================================================== // Copyright (c) 1995-2018 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
package chesterfield; import com.google.gson.JsonObject; import com.google.gson.JsonElement; class DocumentUtils { static JsonObject changeIdAndRevFieldNamesForSerialization(JsonObject jsonObject) { JsonElement rev = jsonObject.get("rev"); JsonElement id = jsonObject.get("id"); if (rev...
package org.folio.rest.api; import static java.net.HttpURLConnection.HTTP_CREATED; import static java.nio.charset.StandardCharsets.UTF_8; import static java.util.Arrays.asList; import static org.folio.rest.api.StorageTestSuite.TENANT_ID; import static org.folio.rest.support.builders.RequestRequestBuilder.CLOSED_CANCEL...
/* * Copyright (c) 2021. Alibaba Group Holding Limited */ package com.alibaba.hologres.client; import java.util.concurrent.atomic.AtomicInteger; /** * 用于debug性能追踪. */ public class Trace { long[] values = new long[20]; String[] text = new String[20]; AtomicInteger index = new AtomicInteger(1); public void ...
package com.study.cloud.feign; import com.study.cloud.config.feign.FooConfiguration; import com.study.cloud.feign.entity.User; import feign.Headers; import feign.Param; import feign.RequestLine; import org.springframework.cloud.netflix.feign.FeignClient; /** * Created on 2018-02-18 * * @author liuzhaoyuan */ //@F...
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition...
package org.sagebionetworks.bridge.upload; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.Map; import javax.annotation.Nonnull; import org.springframework.beans.factory.annotation.Autowired; import org.sprin...
package com.avaje.tests.m2m; import java.util.List; import javax.persistence.PersistenceException; import org.junit.Assert; import org.junit.Test; import com.avaje.ebean.BaseTestCase; import com.avaje.ebean.Ebean; import com.avaje.tests.model.basic.MnocRole; import com.avaje.tests.model.basic.MnocUser; public clas...
/* * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * Copyright 2013 - 2021 Aurelian Tutuianu * * 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 * * h...
package eu.se_bastiaan.marietje.util; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import retrofit2.adapter.rxjava.HttpException; public class NetworkUtil { /** * Returns true if the Throwable is an instance of RetrofitError with an * http sta...
package water; import org.junit.BeforeClass; import org.junit.Test; import water.api.RequestServer; import java.util.Properties; import static org.junit.Assert.assertFalse; public class AAA_PreCloudLock extends TestUtil { static boolean testRan = false; static final int CLOUD_SIZE = 5; static final int PARTIA...
/* * MIT License * * Copyright (c) 2021 MASES s.r.l. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
package com.kira.shop.config; import io.github.jhipster.config.JHipsterConstants; import io.github.jhipster.config.JHipsterProperties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.web.server.*; import org.springframework.boot.web.servlet.ServletContextInitializer; import org...
/* * 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.sanri.tools.modules.core.utils; import org.apache.commons.collections.map.HashedMap; import org.apache.commons.lang3.StringUtils; import org.springframework.util.ResourceUtils; import sun.net.www.protocol.ftp.FtpURLConnection; import javax.net.ssl.HttpsURLConnection; import java.io.IOException; import jav...
package pl.dcbot.Managers.ReportManager; import org.bukkit.Bukkit; import org.javacord.api.entity.channel.ServerTextChannel; import org.javacord.api.entity.channel.ServerTextChannelBuilder; import org.javacord.api.entity.message.Message; import org.javacord.api.entity.message.MessageBuilder; import org.javacord.api.en...
package com.matt.forgehax.mods; import static com.matt.forgehax.util.ImageUtils.createResizedCopy; import static com.matt.forgehax.util.ImageUtils.getImageFromUrl; import static com.matt.forgehax.util.ImageUtils.imageToArray; import static com.matt.forgehax.util.MapColors.colorListLength; import static com.matt.forgeh...
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // API class package org.mozilla...
package com.sksamuel.scrimage.color; public class Colors { // 0,0,0,0 is the way java image io represents 100% transparency public static final RGBColor Transparent = new RGBColor(0, 0, 0, 0); }
package seedu.cakecollate.logic.parser; import static seedu.cakecollate.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.cakecollate.logic.commands.CommandTestUtil.ADDRESS_DESC_AMY; import static seedu.cakecollate.logic.commands.CommandTestUtil.ADDRESS_DESC_BOB; import static seedu.cakecollate...
package com.lframework.xingyun.sc.service.purchase; import com.lframework.starter.mybatis.resp.PageResult; import com.lframework.starter.mybatis.service.BaseMpService; import com.lframework.xingyun.sc.dto.purchase.receive.GetPaymentDateDto; import com.lframework.xingyun.sc.dto.purchase.receive.ReceiveSheetFullDto; imp...
package com.laegler.openbanking.soap.model; 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 OBWriteInternationalResponse3 complex type. * * <p>The follo...
package org.hisp.dhis.dataintegrity; /* * Copyright (c) 2004-2016, University of Oslo * 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 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 Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.ml.datafeed.delayeddatacheck; impo...
package ru.stqa.pft.addressbook.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; public class NavigationHelper extends HelperBase { public NavigationHelper(WebDriver wd) { super(wd); } public void groupPage() { if (isElementPresent(By.tagName("h1")) ...
/* * Copyright The Cryostat Authors * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of this software, associated documentation and/or data * (collectively the "Software"), free of charge and under ...
package ru.vyarus.dropwizard.guice.debug.renderer.guice.support; import com.google.inject.AbstractModule; import com.google.inject.TypeLiteral; import com.google.inject.matcher.AbstractMatcher; import com.google.inject.name.Names; import com.google.inject.spi.TypeConverter; /** * @author Vyacheslav Rusakov * @since...
package y2015; // Sebastian Schagerer import java.awt.Point; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; public class prob17 { private static final int DEBUG = 1; private List<String> input = null; private...
package org.example.pong; import javax.swing.*; import java.awt.*; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.util.ArrayList; import java.util.List; import java.util.Timer; import java.util.TimerTask; public class Game extends KeyAdapter { private final GameWindow gameWindow; ...
package com.imooc.springcloud; import org.springframework.boot.WebApplicationType; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; @SpringBootApplication @En...
package com.silverbullet.utils; import org.springframework.beans.BeansException; import org.springframework.boot.SpringApplication; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Component; import org.springframew...
package io.fairspace.saturn.vocabulary; import org.apache.jena.rdf.model.Property; import org.apache.jena.rdf.model.Resource; import static org.apache.jena.rdf.model.ResourceFactory.createProperty; import static org.apache.jena.rdf.model.ResourceFactory.createResource; public class FS { public static final Strin...
package mp.jprime.security.beans; import mp.jprime.security.AuthInfo; import java.util.Collection; import java.util.Collections; /** * Данные авторизации */ public class AuthInfoBean implements AuthInfo { private final String userIP; private final String userId; private final String username; private final...
package ustc.maomao.patterns.interpreter; import java.util.Random; import ustc.maomao.patterns.support.PatternTester; /** * @author Keene. Mail: waterzhj@ustc.edu.cn * * 该代码遵循MIT License, 详细见 https://mit-license.org/ * * Copyright {2017} {Keene} * * designed by Keene, implemented by...
package sys; public enum Type { JOIN("join"),HEARTBEAT("heartbeat"),LEAVE("leave"),VOTE("vote"),WELCOME("welcome"),ACK("ack"); final String value; Type(String value) { this.value = value; } }
package com.cachecats.data.db; import com.raizlabs.android.dbflow.annotation.Database; /** * Created by solo on 2018/1/16. * * 创建数据库 */ @Database(name = MeituanDB.NAME, version = MeituanDB.VERSION, foreignKeyConstraintsEnforced = true) public class MeituanDB { //数据库名称 public final static String NAME = "...
/* * Copyright (C) 2014 University of Washington * * 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 ...
package nam.data.src.test.java; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import nam.data.DataLayerHelper; import nam.model.Attribute; import nam.model.Element; import nam.model.Enumeration; import nam.model.Field; import nam.model.ModelLayerHelpe...
package com.project.managers; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.utils.Disposable; import com.badlogic.gdx.utils.TimeUtils; public class FrameRate i...
package com.watchme.system.test; import java.util.Random; public class Test { //随机密码生成 public static String makeRandomPassword(int len){ char charr[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890~!@#$%^&*.?".toCharArray(); //System.out.println("字符数组长度:" + charr.length); //...
package nl.mvdr.adventofcode.adventofcode2018.day03; import java.util.Objects; import javax.annotation.processing.Generated; /** * A square inch of fabric, identified by its x and y coordinates. * * @author Martijn van de Rijdt */ class SquareInch { private final int x; private final int y; /** ...
// Targeted by JavaCPP version 1.5.4-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.tensorrt.nvonnxparser; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import org.bytedeco.cuda.cudart.*; import static org.byted...
/*************************GO-LICENSE-START********************************* * Copyright 2014 ThoughtWorks, 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...
/* * Veriphy API * This API provides access to the ID/AML, Company and Lawyer check services provided by Veriphy. This API is secured - please contact us to request test credentials.<br/>The API can send and receive either JSON or XML - please explore the API methods and the return types/parameters below. * * OpenA...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // 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: 2012.11.0...