text
stringlengths
7
1.01M
package org.onap.simulator.presetGenerator.presets.mso; import java.util.Map; import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames.Keys.*; public abstract class PresetMSOServiceInstanceGen2WithNames extends PresetMSOBaseCreateInstancePost { public enum Keys { ...
package factory.cabaggregator.ola; import factory.cabaggregator.ISedanCab; public class OlaSedanCab implements ISedanCab { @Override public String book() { System.out.println("Ola sedan is booked."); return "olasedan"; } @Override public double expectedPrice() { return 0; ...
package ch.uzh.ifi.seal.soprafs20.repository; import ch.uzh.ifi.seal.soprafs20.entity.Message; import org.springframework.data.jpa.repository.JpaRepository; public interface MessageRepository extends JpaRepository<Message, Long> { }
/* * 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 ...
/* Sistema de Gestão de Pistas (C) 2016 Tecsidel Updated by wilson.souza (WR DevInfo) Description: */ package br.com.tk.mcs.Component; import android.content.res.Resources; import android.util.DisplayMetrics; import android.util.TypedValue; import android.widget.EditText; import android.widget.TextVie...
/* * Copyright (C) 2021 cointoss Development Team * * Licensed under the MIT 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://opensource.org/licenses/MIT */ package cointoss.market.liquid; import cointoss....
/* * The MIT License (MIT) * * Copyright (c) 2010 Technische Universitaet Berlin * * 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 t...
/* * Copyright 2010-2013 Ning, Inc. * * Ning 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 required by a...
/* * 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 net.codingarea.challenges.plugin.challenges.type.abstraction; import net.anweisen.utilities.common.config.Document; import net.codingarea.challenges.plugin.content.Message; import net.codingarea.challenges.plugin.content.Prefix; import net.codingarea.challenges.plugin.management.menu.MenuType; import org.bukki...
/* * Copyright 2019-2021 The Polypheny Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
package org.ovirt.engine.core.bll.storage.connection; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.when; import java.util...
/** * Autogenerated by Avro * * DO NOT EDIT DIRECTLY */ package org.apache.avro.mapred.tether; /** Transmit outputs from a map or reduce task to parent. */ @org.apache.avro.specific.AvroGenerated public interface OutputProtocol { public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.pa...
/* * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except ...
package patterns.strategy.main; public enum SocialNetworks { Telegram { @Override public void send(Message m) { System.out.println(m); } }, Instagram { @Override public void send(Message m) { System.out.println(m); } }, VK { ...
package io.vivarium.ga; public abstract class BehaviorBasedFitnessFunction extends FitnessFunction { }
/** * Copyright 2009-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
/** * 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 2016 czy1121 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
package servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * Servlet implementation class HomePageCont...
/* * 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 file is/was part of Treasury. To read more information about Treasury such as its licensing, see <https://github.com/lokka30/Treasury>. */ package me.lokka30.treasury.api.economy; import java.util.Collection; import java.util.HashSet; import java.util.Objects; import java.util.Optional; import java.util.S...
package framework.jdbc; /** * DBMng에서 사용되는 status 값 ENUM * @author 박유현 * @since 2018-12-25 */ public enum DBMngStatus { RESOURCES_NOT_CLOSED("DBMng status - unclosed DB resources detected."), //자원이 반환되지 않은 상태 SET_CONNECTION_ERR("DBMng status - Connection error."), //커넥션이 제대로 연결되지 않아 사용할 수 없는 상태 NOT_MATCH_PA...
package edu.virginia.vcgr.genii.gjt.gui.fs; import java.awt.Component; import javax.swing.JLabel; import javax.swing.JList; import javax.swing.ListCellRenderer; import edu.virginia.vcgr.genii.gjt.data.fs.FilesystemType; @SuppressWarnings("rawtypes") class FilesystemBoxRenderer extends JLabel implements ListCellRend...
/** * Copyright 2020 Claudio Montenegro Chaves - CMC * * 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 applica...
package io.github.indicode.fabric.itsmine; import blue.endless.jankson.annotation.Nullable; import io.github.indicode.fabric.permissions.Thimble; import net.minecraft.nbt.CompoundTag; import net.minecraft.nbt.ListTag; import net.minecraft.util.Identifier; import net.minecraft.util.math.BlockPos; import net.minecraft.u...
/* * Copyright © Red Gate Software Ltd 2010-2021 * * 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...
/* * 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 ...
import org.checkerframework.checker.nullness.qual.NonNull; public class NonNullIteratorNext { interface MyIterator<E> extends java.util.Iterator<E> { @NonNull E next(); } interface MyList<E> extends java.util.Collection<E> { MyIterator<E> iterator(); } <T> void forEachLoop(MyList<...
package com.company.hackerrank.problemsolving; import java.io.*; import java.util.*; import java.util.stream.*; import static java.util.stream.Collectors.joining; import static java.util.stream.Collectors.toList; /*** * https://www.hackerrank.com/challenges/birthday-cake-candles/problem */ class Resultv1 { /* ...
/* * Copyright (c) 2021. StulSoft */ package com.stulsoft.rxjava.flow.validation; import io.reactivex.rxjava3.core.Completable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.function.Function; /** * @author Yuriy Stul */ public class ValidatorTest { private static final Logger lo...
package com.roger.common.core.utils; import cn.hutool.core.convert.Convert; import com.alibaba.ttl.TransmittableThreadLocal; import com.roger.common.core.constant.SecurityConstants; import com.roger.common.core.domain.dto.JwtUserDto; import org.springframework.security.core.Authentication; import java.util.Map; impor...
/* * Copyright (c) 2014, 2020 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
/* * Copyright 2013 Zakhar Prykhoda * * 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 ...
/* * 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.ericrybarczyk.popularmovies.utils; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.widget.Toast; import com.example.ericrybarczyk.popularmovies.R; public class NetworkChecker { /* This method was directly adap...
/** * Copyright 2000-2013 NeuStar, Inc. All rights reserved. * NeuStar, the Neustar logo and related names and logos are registered * trademarks, service marks or tradenames of NeuStar, Inc. All other * product names, company names, marks, logos and symbols may be trademarks * of their respective owners. */ pack...
/** * This file is automatically created by Recurly's OpenAPI generation process and thus any edits you * make by hand will be lost. If you wish to make a change to this file, please create a Github * issue explaining the changes you need and we will usher them to the appropriate places. */ package com.recurly.v3.r...
package com.jjoe64.graphview_demos.categories; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.jjoe64.graphview_demos.FullscreenExample; import com.jjoe64.graphview_demos.ItemDetailFragment; import com.jjoe64.graphview_demos.R; public ...
/* * Copyright (c) 2020-2021 Project CHIP 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...
package com.jeesite.modules.test.entity; public class JsJobCalendarsKey { private String schedName; private String calendarName; public String getSchedName() { return schedName; } public void setSchedName(String schedName) { this.schedName = schedName == null ? null : schedName.t...
package org.togglz.junit.vary; import org.togglz.core.Feature; import org.togglz.core.context.FeatureContext; enum MyFeatures implements Feature { F1, F2, F3; public boolean isActive() { return FeatureContext.getFeatureManager().isActive(this); } @Override public String id() { r...
package net.silentchaos512.lib.util; public interface TriConsumer<A, B, C> { void accept(A a, B b, C c); }
package io.bdeploy.dcu; import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import io.bdeploy.bhive...
package butterknife; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) public @interface BindArray { int value(); }
package ru.spec.java1.lec6; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStream; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.Scanner; import java....
//,temp,NexentaStorAppliance.java,324,334,temp,NexentaStorAppliance.java,141,150 //,3 public class xxx { void createIscsiTarget(String targetName) { try { client.execute(NmsResponse.class, "iscsitarget", "create_target", new CreateIscsiTargetRequestParams(targetName)); } catch (CloudRunt...
package view.universals.string; import utils.libs.html.HtmlElem; import utils.libs.html.HtmlPage; import utils.libs.html.HtmlText; public class UniversalMessageHtmlView extends HtmlPage { public UniversalMessageHtmlView(String message) { super("ImoProject", h1(new HtmlText("Output")), ...
package calofit.storage; import static java.util.Objects.requireNonNull; import java.io.IOException; import java.nio.file.Path; import java.util.Optional; import java.util.logging.Logger; import calofit.commons.core.LogsCenter; import calofit.commons.exceptions.DataConversionException; import calofit.commons.excepti...
package JDescriptors.fr.lip6.quantizer; public interface Quantizer { /** * find the bin corresponding to input vector * @param p the input vector * @return the bin corresponding to the vector */ public int getBin(int[] p); /** * size of the histogram * @return */ public int getBinNumber(); }
package br.com.b2vnauthapi.b2vnauthapi.exceptions.validacao; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class ValidacaoExceptionDetails { private long timestamp; private int status; private String error; p...
/* * 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 2019 Adobe. All rights reserved. * This file is licensed 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 required by appli...
/** * Root package of the MqttAdapter Module. */ package org.springframework.integration.mqtt;
package app; import java.io.File; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * @author saikat * Created on 30/3/2019 */ public class JenkinsDataExporter { private static ExecutorService executor= Executors.newFixedThreadPool(10); public ...
package org.jsondoc.core.util; import org.jsondoc.core.annotation.ApiObjectField; import org.jsondoc.core.pojo.JSONDocTemplate; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.reflect.Field; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Arrays; import java.util....
package mcjty.rftoolsdim.dimensions.world.mapgen; import mcjty.rftoolsdim.dimensions.world.GenericChunkGenerator; import mcjty.rftoolsdim.dimensions.world.terrain.BaseTerrainGenerator; import net.minecraft.block.state.IBlockState; import net.minecraft.init.Blocks; import net.minecraft.world.World; import net.minecraft...
/* * Copyright 2018 Nafundi * * 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 writi...
package edu.pdx.cs410J.examples; import edu.pdx.cs410J.lang.*; import java.util.*; /** * This class is a <code>Comparator</code> that compares * <code>Object</code>s based on the name of their classes. */ public class ClassComparator implements Comparator<Object> { public int compare(Object o1, Object o2) { ...
package me.limeglass.skungee.bungeecord.handlercontroller; import java.net.InetAddress; import java.util.HashSet; import java.util.Map; import java.util.Set; import me.limeglass.skungee.bungeecord.Skungee; import me.limeglass.skungee.objects.SkungeePlayer; import me.limeglass.skungee.objects.packets.SkungeePacket; im...
package com.alipay.api.response; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.commerce.logistics.order.istdretry.create response. * * @author auto create * @since 1.0, 2021-03-31 13:48:31 */ public class AlipayCommerceLogisticsOrder...
/* * Copyright© 2000 - 2021 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html. */ package com.supermap.gaf.authority.resources; ...
package com.bitwise.marsrover.commands; import org.junit.Assert; import org.junit.Test; import com.bitwise.marsrover.MarsRover; import com.bitwise.marsrover.commands.RotateLeftCommand; import com.bitwise.marsrover.universe.Coordinates; import com.bitwise.marsrover.universe.Direction; import com.bitwise.marsrover.univ...
/* * This file is licensed under the MIT License, part of Roughly Enough Items. * Copyright (c) 2018, 2019, 2020 shedaniel * * 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 rest...
/******************************************************************************* * Copyright (c) quickfixengine.org All rights reserved. * * This file is part of the QuickFIX FIX Engine * * This file may be distributed under the terms of the quickfixengine.org * license as defined by quickfixengine.org and ...
/* * The MIT License (MIT) * * Copyright (c) 2010 Technische Universitaet Berlin * * 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 t...
/* * Copyright 2011-2012 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...
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2011, Red Hat Inc. or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Inc. * * T...
/* * 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 ...
/* * 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 co.zisky.flutter; import android.content.Context; import android.util.Log; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; i...
package org.apereo.cas.authentication.principal; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas.authentication.credential.UsernamePasswordCredential; import org.apereo.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler; import org.apereo.cas.auth...
/** * 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.hattrickscoreboard.background.services; public interface ServiceListener { void onServiceStart(); void onServiceError(int code); void onServiceUpdated(); }
package io.github.picodotdev.blogbitix.dddhexagonal.catalog.domain.model.event; public interface EventRepository { EventId getId(); Event findById(EventId id); void persist(Event event); }
package com.lanking.cloud.job.doQuestionRank.DAO.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Component; import com.lanking.cloud.component.db.support.hibernate....
/** Automatically generated file. DO NOT MODIFY */ package com.huawei.hmf.tasks; public final class BuildConfig { public final static boolean DEBUG = true; }
/* * 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) 2016-present, RxJava Contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* * 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...
/* * This file is part of TechReborn, licensed under the MIT License (MIT). * * Copyright (c) 2020 TechReborn * * 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, inc...
/* * Copyright 2022 (C) Cognizant SoftVision, All rights Reserved */ package com.cognizantsoftvision.maqs.webservices; import com.cognizantsoftvision.maqs.base.BaseTestObject; import com.cognizantsoftvision.maqs.utilities.logging.Logger; import java.net.http.HttpClient; import java.util.function.Supplier; /** * W...
/* * 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 emoji4j; import static org.assertj.core.api.Assertions.*; import org.junit.Test; public class EmoticonTest { @Test public void testEmojiByEmoticons() { Emoji emoji = EmojiUtils.getEmoji(":)"); assertThat(emoji.getEmoji()).isEqualTo("😃"); emoji = EmojiUtils.getEmoji(";]"); assertThat(emoji.getEmoj...
/** * Copyright 2020 the original author or authors. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless re...
package conganh.hcmus; import java.io.Serializable; public class Person implements Serializable { String fullName; int yearOfBirth; String homeTown; public Person(String fullName, int yearOfBirth, String homeTown) { this.fullName = fullName; this.yearOfBirth = yearOfBirth; thi...
package com.github.songxzj.wxpay.v3.bean.result.marketing.busifavor; import com.github.songxzj.wxpay.v3.bean.result.BaseWxPayV3Result; import com.google.gson.annotations.SerializedName; import lombok.*; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; @Setter @Getter @ToString @EqualsAndHashCode(call...
// // ======================================================================== // Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at // https://www.eclipse.org/...
package com.example.metropolismayor.mayorcore.income; import com.example.metropolismayor.mayorcore.Game; import com.example.metropolismayor.mayorcore.Player; /** * Defines an income that is dependent on the presence of a building. * INCOME: if (card) then (amount) * These card can be in the players hand or in any ...
import java.net.URI; import java.net.URISyntaxException; import org.apache.commons.validator.routines.UrlValidator; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.preference.PreferenceManager; import android.view.G...
package mil.nga.geopackage.extension.im.portrayal; import java.sql.SQLException; import com.j256.ormlite.support.ConnectionSource; import mil.nga.geopackage.GeoPackageCore; import mil.nga.geopackage.db.GeoPackageCoreConnection; import mil.nga.geopackage.db.GeoPackageDao; /** * @author jyutzler * @since 4.0.0 */ ...
package com.mmall.concurrency.example.lock; import java.util.concurrent.locks.StampedLock; public class LockExample4 { class Point { private double x, y; private final StampedLock sl = new StampedLock(); void move(double deltaX, double deltaY) { // an exclusively locked method ...
package com.dcy.workflow.controller; import cn.hutool.core.convert.Convert; import cn.hutool.core.util.PageUtil; import cn.hutool.core.util.StrUtil; import com.dcy.common.model.PageModel; import com.dcy.common.model.PageResult; import com.dcy.common.model.R; import com.dcy.db.base.controller.RBaseController; import co...
package com.untamedears.itemexchange.rules.modifiers; import co.aikar.commands.InvalidCommandArgument; import co.aikar.commands.annotation.CommandAlias; import co.aikar.commands.annotation.Description; import co.aikar.commands.annotation.Optional; import co.aikar.commands.annotation.Single; import co.aikar.commands.an...
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
// Copyright 2000-2018 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.patterns; import com.intellij.psi.PsiClass; import com.intellij.psi.PsiField; import com.intellij.psi.PsiMethod; import com.intellij.psi.util.InheritanceUtil...
/** * Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith...
package com.dianping.phoenix.agent.core.task.processor.kernel.qa; public class DomainHealthCheckInfo { private String domain; private String env; private String host; private int port; private String qaServiceUrlPrefix; public DomainHealthCheckInfo(String domain, String env, String host, int port, String qaSer...
/* * 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 ...
package kualian.dc.deal.application.ui.camera; /** * Created by 傅令杰 * 请求码存储 */ public class RequestCodes { public static final int TAKE_PHOTO = 4; public static final int PICK_PHOTO = 5; public static final int CROP_PHOTO = 10; public static final int CROP_ERROR = -1; public static final int S...