text
stringlengths
7
995k
/* * Copyright (c) 2018. Manuel D. Rossetti, rossetti@uark.edu * * 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 * * U...
package com.example.lovespace.common.infra; public class CallbackWrapper<T> implements TaskObserver { protected T callback; public CallbackWrapper(T callback) { this.callback = callback; } @Override public void onTaskResult(Task task, Object[] results) {} @Override public void onTaskProgress(Task task, Ob...
package de.banksapi.client.model.incoming.access; public enum MessageLevel { INFO, ERROR }
package com.c4_mz_12_socket; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { sup...
/* * Copyright (c) 1996, 2013, 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 ...
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.7 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
package com.example.springBackend; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class SpringBackendApplicationTests { @Test void contextLoads() { } }
// Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE package org.bytedeco.pytorch; import org.bytedeco.pytorch.Allocator; import org.bytedeco.pytorch.Function; import org.bytedeco.pytorch.Module; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.byte...
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * 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...
/* * Adito * * Copyright (C) 2003-2006 3SP LTD. All Rights Reserved * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 of * the License, or (at your option) any lat...
package org.openbooth.imageprocessing.consumer; import org.openbooth.imageprocessing.exception.ProcessingException; /** * A class based on this interface returns an ImageConsumer based on the current state of the program * * factories should not be singletons (use @Scope(BeanDefinition.SCOPE_PROTOTYPE)) */ publi...
/** * 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 com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.Disabled; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.ColorSensor; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.Serv...
package org.light4j.tool.regularExpression; import java.util.regex.*; public class MatchesTest { public static void main(String[] args) { String[] mails = { "kongyeeku@163.com", "kongyeeku@gmail.com", "ligang@crazyit.org", "wawa@abc.xx" }; String mailRegEx = "\\w{3,20}@\\w+\\.(com|org|cn|net|gov)"; Pattern...
/* * 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/li...
/* * Copyright (c) 2016, 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/lice...
/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any la...
package mb.nabl2.util; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import java.util.Map.Entry; import org.junit.Test; import io.usethesource.capsule.Map; import io.usethesource.capsule.Set; public class CapsuleUtilTest { // capsule util tests @Test public void...
package com.pedromateus.zupacadey.MercadoLivre.categoria; 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.RequestMapping; import org.springframework.web...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
package com.lambdaschool.health.service; import com.lambdaschool.health.model.User; import java.util.List; public interface UserService { List<User> findAll(); User findUserName(String username); User findUserById(long id); void delete(long id); User save(User user); User update(User us...
/** * 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...
package info.weboftrust.btctxlookup.bitcoinconnection; import java.io.IOException; import java.io.InputStream; import java.net.URI; import java.net.URLConnection; import java.nio.charset.StandardCharsets; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.TimeZone; import org.apache....
package com.junshan.common.core.domain.model; import java.util.Collection; import java.util.Set; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; import com.fasterxml.jackson.annotation.JsonIgnore; import com.junshan.common.core.domain.entity....
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.security; import com.azure.core.util.Context; /** Samples for SubAssessments Get. */ public final class SubAssessmentsGetSample...
package com.robinpowered.sdk.model; import nl.jqno.equalsverifier.EqualsVerifier; import org.junit.Test; public class LocationTest { @Test public void testEqualsAndHashcode() { EqualsVerifier.forClass(Location.class) .usingGetClass() .verify(); } }
package pt.tecnico.ulisboa.hds.hdlt.server.session; import static pt.tecnico.ulisboa.hds.hdlt.lib.common.Common.sleep; public class SessionsCleanupThread implements Runnable { private static final int sleepMillis = 5 * 60 * 1000; private final SessionsManager sessionsManager; private boolean stopped = false; ...
// This file is auto-generated, don't edit it. Thanks. package com.antgroup.antchain.openapi.yunqing.models; import com.aliyun.tea.*; public class CreateAppdeployResponse extends TeaModel { // 请求唯一ID,用于链路跟踪和问题排查 @NameInMap("req_msg_id") public String reqMsgId; // 结果码,一般OK表示调用成功 @NameInMap("result...
package com.bjsxt.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.bjsxt.domain.UserAccountFreeze; public interface UserAccountFreezeMapper extends BaseMapper<UserAccountFreeze> { }
package tests; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; public class TestBase { public WebDriver driver; @BeforeMethod public void setDriver() { driver = new Chrom...
package org.kyojo.schemaorg.m3n5.core.impl; import java.util.ArrayList; import java.util.List; import org.kyojo.schemaorg.SimpleJsonBuilder; import org.kyojo.schemaorg.m3n5.core.Clazz; import org.kyojo.schemaorg.m3n5.core.Container.AdditionalProperty; import org.kyojo.schemaorg.m3n5.core.Container.AdditionalType; imp...
package io.github.shadowmanos.movieseeker; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebFlux; import org.springframework.boot.test.autoconfigure.web.reactive.AutoCon...
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * 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.zhengsr.tabhelper.activity; import android.graphics.Color; import android.os.Bundle; import android.view.View; import android.widget.Toast; import androidx.appcompat.app.AppCompatActivity; import com.zhengsr.tabhelper.R; import com.zhengsr.tablib.bean.LabelBean; import com.zhengsr.tablib.view.adapter.Lab...
/* * 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...
/* @(#)JMovieControlAqua.java * Copyright © 2003-2012 Werner Randelshofer, Switzerland. * You may only use this file in compliance with the accompanying license terms. */ package ru.sbtqa.monte.media.gui; import java.awt.*; import static java.awt.Color.WHITE; import static java.awt.GridBagConstraints.HORIZONTAL; i...
/** * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.measure.curve; import static com.opengamma.strata.collect.CollectProjectAssertions.assertThat; import static com.opengamma.strata.collect.TestHelper.dat...
/* * 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 org.pushingpixels.demo.substance.main.check.svg.flags; import java.awt.*; import java.awt.geom.*; import javax.swing.plaf.UIResource; import org.pushingpixels.neon.icon.IsHiDpiAware; import org.pushingpixels.neon.icon.ResizableIcon; import org.pushingpixels.neon.icon.NeonIcon; import org.pushingpixels.neon.ic...
package com.dounine.japi.entity; import com.dounine.japi.entity.u.UserChild; import org.hibernate.validator.constraints.NotBlank; import javax.validation.constraints.NotNull; import javax.validation.constraints.Pattern; /** * 用户类信息 */ public class User { /** * 用户名 * * @des 优先级大于用户名 * @req t...
package ro.ase.csie.cts.g1093.dp.builder; public class Weapon implements WeaponInterface { @Override public void pewPew() { System.out.println("-> -> -> -> -> pew pew"); } }
// Aziz Yokubjonov - aziz.yokubjonov@gmail.com // GitHub: @aziz512 // azizwrites.xyz class Song { public String track; public String artist; private Song next; public Song(String songName, String artist) { this.track = songName; this.artist = artist; } public Song getNext() { ...
package crm.app.services.registration.utils; import crm.app.services.user.exception.InvalidValueException; import crm.app.services.user.utils.ValueValidator; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4ClassRunner...
/* * Decompiled with CFR 0_113. */ package modpow; import gov.nasa.jpf.symbc.Debug; import java.math.BigInteger; import java.util.Random; public class ModPow { //public static final int MAX_LEN = 20; public static BigInteger modPowNoNoise(BigInteger base, BigInteger exponent, BigInteger modulus) { BigIn...
package com.duosecurity.duoweb; import java.io.IOException; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; public final class DuoWeb { private static final String DUO_PREFIX = "TX"; private static final String APP_PREFIX = "APP"; private static final String AUTH_PREFIX = "...
package com.linde.repo; import com.linde.dto.UserDTO; import org.springframework.data.mongodb.repository.MongoRepository; /** * Created by cn40580 at 2016-10-09 10:05 AM. */ public interface UserRepository extends MongoRepository<UserDTO, String> { UserDTO findByUsername(String username); }
/* * Copyright (C) 2010-2101 Alibaba Group Holding 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
/* * Copyright 2019 Arcus 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 agreed to ...
package com.study.service; import com.study.entities.CommonResult; import com.study.mybatismbg.bean.TAccount; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.we...
package vswe.stevescarts.modules.engine; import net.minecraft.fluid.Fluids; import net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant; import vswe.stevescarts.entity.ModularMinecartEntity; import vswe.stevescarts.modules.MinecartModuleType; public class AdvancedThermalEngineModule extends ThermalEngineModule { ...
package com.config.commondemo.config; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.PropertyAccessor; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.jsontype.impl.LaissezFaireSubTypeValidator; import org.springframework.cache....
/* * 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...
package krpc.rpc.util; import com.google.protobuf.*; import com.google.protobuf.Message.Builder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.reflect.Method; import java.math.BigInteger; import java.text.SimpleDateFormat; import java.util.*; import java.util.concurrent.ConcurrentHashMap; ...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
package edu.asupoly.ser422.dao; import java.util.Hashtable; import java.util.Map; import java.util.HashMap; import java.util.Iterator; import edu.asupoly.ser422.dao.daos.EditorDAO; import edu.asupoly.ser422.dao.valueobject.EditorVO; import edu.asupoly.ser422.dao.valueobject.TitleVO; /** * @author kgary * * In a D...
/* * * Paros and its related class files. * * Paros is an HTTP/HTTPS proxy for assessing web application security. * Copyright (C) 2003-2004 Chinotec Technologies Company * * This program is free software; you can redistribute it and/or * modify it under the terms of the Clarified Artistic License * as publi...
/******************************************************************************* * Copyright (c) 2005, 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
package itmammoth.releaseanimal; import android.content.Context; import android.content.SharedPreferences; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.As...
import java.io.File; import java.util.HashMap; import java.util.Map; import java.util.PriorityQueue; import java.util.Scanner; public class Huffman { PriorityQueue<HuffmanNode> tree; //int num_bits_per; public Huffman(String filename) throws Exception { Scanner file = new Scanner(new File(filename)); Map<Ch...
package com.mana.innovative.utilities.date; import com.mana.innovative.constants.DAOConstants; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; /** * Created by Bloom/Rono on 4/20/2015. This...
package soot.jimple.toolkits.invoke; /*- * #%L * Soot - a J*va Optimization Framework * %% * Copyright (C) 1999 Patrick Lam, Raja Vallee-Rai * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Softw...
/** * Copyright (C) 2006-2020 Talend Inc. - www.talend.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...
/* * Copyright 2019 The FATE 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...
package org.apereo.cas.authentication.surrogate; import org.apereo.cas.adaptors.ldap.LdapIntegrationTestsOperations; import org.apereo.cas.category.LdapCategory; import org.apereo.cas.config.CasCoreAuthenticationConfiguration; import org.apereo.cas.config.CasCoreAuthenticationHandlersConfiguration; import org.apereo.c...
package com.hpy.rentHouse.comment.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.oauth2.provider.token.TokenStore; import org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter; impor...
/* * (C) Copyright 2019 Nuxeo (http://nuxeo.com/) and others. * * 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...
package com.skycaster.sotenmapper.presenter; import android.content.Context; import android.location.GpsStatus; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.os.PowerManager; import android.widget.ArrayAdapt...
package client.com; public class Main { public static void main(String[] args){ Shapes[] Shapes=new Shapes[4]; Shapes[0]= new Circle(); Shapes[1]= new Circle(); Shapes[2]= new Rectangle(10,20); Shapes[3]= new Rectangle(12.3,24.8); System.out.println(Shapes[2].area()); } }
/* LoginService.java * * Copyright (C) 2014 Universidad de Sevilla * * The use of this project is hereby constrained to the conditions of the * TDG Licence, a copy of which you may download from * http://www.tdg-seville.info/License.html * */ package security; import org.springframework.beans.factory.anno...
package cuckoo; import java.math.BigInteger; import cuckoo.Bucket; import cuckoo.HashUtility; import java.util.ArrayList; import java.util.List; import java.util.Random; public class CuckooFilter { int capacity; int bucketSize; int fingerprintSize; int maxDisplacements; int size; List<Bucket> buckets; pu...
/** * <copyright> * </copyright> * * $Id$ */ package org.wso2.developerstudio.eclipse.gmf.esb.impl; import org.eclipse.emf.ecore.EClass; import org.wso2.developerstudio.eclipse.gmf.esb.EsbPackage; import org.wso2.developerstudio.eclipse.gmf.esb.LoadBalanceEndPointWestOutputConnector; /** * <!-- begin-user-doc ...
package es.redmic.vesselslib.dto.tracking; import java.io.IOException; import org.apache.avro.Schema; import org.locationtech.jts.geom.Point; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.core.JsonProcessingException; import es.redmic.brokerlib.avro.geodata.common.FeatureDTO; impo...
package com.owens.oobjloader.lwjgl; // This code was written by myself, Sean R. Owens, sean at guild dot net, // and is released to the public domain. Share and enjoy. Since some // people argue that it is impossible to release software to the public // domain, you are also free to use this code under any version of 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...
package com.jlfex.hermes.repository; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import com.jlfex.her...
/* * Copyright 2020 Fraunhofer Institute for Software and Systems Engineering * * 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 * * Un...
/* * Copyright 2014-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 applicable...
/* * 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 tss.tpm; import tss.*; // -----------This is an auto-generated file: do not edit //>>> /** * This command allows a policy to be bound to the TPMA_NV_WRITTEN attributes. This is a * deferred assertion. Values are stored in the policy session context and checked when the * policy is used for authorizat...
package org.ayo.ui.sample.dialog.adapter; import android.content.Context; import android.graphics.Color; import android.view.View; import android.view.ViewGroup; import android.widget.BaseExpandableListAdapter; import android.widget.TextView; import org.ayo.sample.R; import org.ayo.ui.sample.dialog.ui.DialogHomeActiv...
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
package me.naftoreiclag.clienttwo; import java.awt.image.BufferedImage; import java.nio.ByteBuffer; import me.naftoreiclag.fileparsecommons.ParseCommons; public class Chunk { protected final BufferedImage image; protected final long id; protected final long areaId; protected final boolean[][] collision; prot...
package org.firstinspires.ftc.teamcode.auto.foundation; @com.qualcomm.robotcore.eventloop.opmode.Autonomous public class BlueFoundation extends Foundation { @Override public void runOpMode() { initHardware(); if (opModeIsActive()) { currentFoundation('b'); } // stop...
/* * Copyright 2010-2011, Sikuli.org * Released under the MIT License. * */ package org.sikuli.script; import java.util.Date; /** * Debug is a utility class that wraps println statements and allows * more or less command line output to be turned on. * <p> * Change the value of the DEBUG_LEVEL constant using a...
package cham.koliber.ir.chamui.ChaMUI.ChaMUI; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.widget.RelativeLayout; import cham.koliber.ir.chamui.ChaMUI.ChaMCore.ChaMCoreAPI; public class ChaMRelat...
package gov.hhs.onc.dcdt.beans.impl; import gov.hhs.onc.dcdt.beans.Phase; import gov.hhs.onc.dcdt.beans.ToolLifecycleBean; import gov.hhs.onc.dcdt.context.AutoStartup; import gov.hhs.onc.dcdt.context.LifecycleStatusType; import gov.hhs.onc.dcdt.context.ToolLifecycleException; import gov.hhs.onc.dcdt.utils.ToolAnnotati...
package me.johnnywoof; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.entity.Player; public class CheckRunnable implements Runnable{ @Override public void run() { long num = Value.getSpaceLeftInMB(); if(num <= Value.space){ if(Value.warn){ for(Player p : Bukkit....
package com.alipay.api.request; import com.alipay.api.domain.AlipayOpenPublicInfoModifyModel; import java.util.Map; import com.alipay.api.AlipayRequest; import com.alipay.api.internal.util.AlipayHashMap; import com.alipay.api.response.AlipayOpenPublicInfoModifyResponse; import com.alipay.api.AlipayObject; /** * ALI...
/* * ======================================================================== * * 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 th...
package com.github.davidmoten.odata.client; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; public final class EntityRequestOptions<T extends ODataEntityType> implements RequestOptions { private final List<RequestHeader> requestHeaders; private final Optional...
/** * 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...
package com.pharmadm.custom.rega.queryeditor.persist; import java.beans.DefaultPersistenceDelegate; import java.beans.Encoder; import java.beans.Expression; import com.pharmadm.custom.rega.queryeditor.VisualizationClauseList; public class VisualizationClauseListPersistenceDelegate extends DefaultPersistenceDelegat...
package com.iterlife.zeus.leetcode.offer; /** * @desc:https://leetcode-cn.com/problems/he-wei-sde-liang-ge-shu-zi-lcof/ * @author: lujie * @version: V1.0.0 * @datetime: 2021/9/4 18:04 **/ public class Offer_57 { public static void main(String args[]) { int[] nums = new int[]{2, 7, 11, 15}; int...
// Author: Ian Burrell <iburrell@leland.stanford.edu> // Created: 1997/02/09 // Modified: // Copyright 1997 Ian Burrell package iburrell.accrete; import java.io.*; import iburrell.util.RandomScale; /** * * Static class that contains many for formulas and constants. It * should be later modified to allow diffe...
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2015-2021 52°North Spatial Information Research GmbH * * 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 r...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 // 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: 2016.0...
/** * @author 周宁 * @Date 2019-12-02 16:00 */ public class GenericType<T> { private T t; public T getT() { return t; } public void setT(T t) { this.t = t; } }