text
stringlengths
7
995k
package com.example.reactnativebepaid; import android.app.Application; import android.content.Context; import com.facebook.react.PackageList; import com.facebook.react.ReactApplication; import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; import com.facebook.react.ReactInstanceManager; im...
/* * 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.leon.socketdemo.client.utils; import android.app.ActivityManager; import android.app.ActivityManager.RunningAppProcessInfo; import android.content.Context; import java.io.Closeable; import java.io.IOException; import java.util.List; public class MyUtils { public static String getProcessName(Context ...
/* * Copyright (c) Octopus Deploy and contributors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use * these files 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...
/* * Copyright © 2019 Dominokit * * 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 zhushen.com.shejimoshi.leetcode; /** * Created by Zhushen on 2018/7/17. */ public class repeatedStringMatch { public static void main(String[] args){ int result = repeatedStringMatch("11","111"); int x = 0; } //1234 //34123412 public static int repeatedStringMatch(String...
package backtype.storm.nimbus; import backtype.storm.generated.InvalidTopologyException; import backtype.storm.generated.StormTopology; import java.util.Map; public interface ITopologyValidator { void prepare(Map StormConf); void validate(String topologyName, Map topologyConf, StormTopology topology) throws Inv...
/******************************************************************************* * Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0...
package com.headstartech.scheelite; import com.google.common.base.Optional; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; /** * A transition in the state machine. * * @param <T> context type * @param <U> state id type * */ pub...
// Copyright 2000-2019 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.siyeh.ipp.collections; import com.intellij.testFramework.LightProjectDescriptor; import com.siyeh.IntentionPowerPackBundle; import com.siyeh.ipp.IPPTestCase; import o...
package br.com.animais.sistemacadastroanimais.repository; import static org.junit.jupiter.api.Assertions.*; import java.util.List; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import br.com.animais.siste...
public final class EntityDef { public static EntityDef forID(int i) { for (int j = 0; j < 20; j++) if (cache[j].interfaceType == i) return cache[j]; anInt56 = (anInt56 + 1) % 20; EntityDef entityDef = cache[anInt56] = new EntityDef(); stream.currentOffset = streamIndices[i]; entityDef.interfaceType ...
package net.leloubil.mcpwn.carvinglabs; import retrofit2.Call; import retrofit2.http.*; import java.util.List; public interface ICarvinglabs { @DELETE("api/v1/user/{userId}/memberships/restaurant/{restaurantId}") @Headers({"Content-Type: application/json", "Accept: application/json"}) Call<Object> delete...
package com.example; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.nio.charset.StandardCharsets; import java.util.stream.Collectors; imp...
package ru.stqa.pft.sandbox; public class Equation { private double a; private double b; private double c; private int n; public Equation(double a, double b, double c) { this.a = a; this.b = b; this.c = c; double d = b * b - 4 * a * c; if (d > 0) { n = 2; } else { if (d...
/* * Copyright (c) 2018, 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...
package cn.ztuo.bitrade.constant; import com.fasterxml.jackson.annotation.JsonValue; import cn.ztuo.bitrade.core.BaseEnum; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.Setter; @Getter @AllArgsConstructor public enum TransactionTypeEnum implements BaseEnum { OTC_NUM("法币成交量"), OTC_MONEY...
package com.moemoe.lalala.model.entity; import com.google.gson.JsonObject; /** * * Created by yi on 2017/11/21. */ public class DiscoverEntity { private String from; private Long timestamp; private String type; private JsonObject obj; public String getFrom() { return from; } ...
package me.hypherionmc.storagedrawers.capabilities; import me.hypherionmc.storagedrawers.api.storage.IDrawerGroup; import me.hypherionmc.storagedrawers.block.tile.tiledata.StandardDrawerGroup; import net.minecraft.nbt.CompoundNBT; import net.minecraft.nbt.INBT; import net.minecraft.util.Direction; import net.minecraft...
/* * 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 greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class MyWorld here. * * @author (your name) * @version (a version number or a date) */ public class MyWorld extends World { /** * Constructor for objects of class MyWorld. * */ p...
package com.yuyh.library.utils.data.safe; import java.io.UnsupportedEncodingException; /** * @author yuyh. * @date 16/4/9. */ public class Base64 { /** * Default values for encoder/decoder flags. */ public static final int DEFAULT = 0; /** * Encoder flag bit to omit the padding '=' cha...
package org.opentosca.container.api.dto; import java.util.Date; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import org.ope...
package org.elsys.netprog.rest.test; import java.util.List; import java.util.Map; import org.junit.Assert; import static io.restassured.RestAssured.*; import org.junit.Test; import io.restassured.RestAssured; import io.restassured.parsing.Parser; import io.restassured.response.Response; public class IntegrationTe...
package modulo2_orientacaoAObjeto.aula05.construtores; public class CarroTest { public static void main(String[] args) { Carro van = new Carro(); van.marca = "Fiat"; van.modelo = "Ducato"; //van.numPassageiros = 10; van.capCombustível = 100; van.consumoCombustível =...
package com.z.flutter_ifly_example; import android.os.Bundle; import io.flutter.app.FlutterActivity; import io.flutter.plugins.GeneratedPluginRegistrant; public class MainActivity extends FlutterActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); G...
package com.fullteaching.backend.SeleniumTest; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.openqa.selenium.By; imp...
/* * Copyright (C) 2012-2014 DataStax 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 app...
/** * 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 ru.job4j.tictactoe; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.function.Predicate; public class Logic3T { private final Figure3T[][] table; public Logic3T(Figure3T[][] table) { this.table = table; } public boolean fillBy(Predicate<Fi...
import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; public class BaseUI { WebDriver driver; String mainUrl = "https://romanceabroad.com/"; @BeforeMethod public void setUp() { ...
package au.gov.nehta.vendorlibrary.mdm.test; import au.gov.nehta.vendorlibrary.mdm.enums.Sex; import au.gov.nehta.vendorlibrary.mdm.segments.PID; import au.gov.nehta.vendorlibrary.mdm.util.MDMValidationException; import org.junit.Assert; import org.junit.Test; import java.text.SimpleDateFormat; public class PIDTest ...
package com.ibm.articlesdata; import javax.enterprise.context.ApplicationScoped; // Tenant //import io.quarkus.oidc.TenantResolver; import io.quarkus.oidc.TenantConfigResolver; import io.quarkus.oidc.OidcTenantConfig; import io.vertx.ext.web.RoutingContext; @ApplicationScoped public class CustomTenantConfigResolver ...
package net.n2oapp.security.admin.impl.service; import net.n2oapp.security.admin.api.criteria.RegionCriteria; import net.n2oapp.security.admin.api.model.Region; import net.n2oapp.security.admin.api.service.RegionService; import net.n2oapp.security.admin.impl.entity.RegionEntity; import net.n2oapp.security.admin.impl.r...
// // JODConverter - Java OpenDocument Converter // Copyright 2004-2012 Mirko Nasato and contributors // // JODConverter is Open Source software, you can redistribute it and/or // modify it under either (at your option) of the following licenses // // 1. The GNU Lesser General Public License v3 (or later) // -> http...
/** * Inmemantlr - In memory compiler for Antlr 4 * * The MIT License (MIT) * * Copyright (c) 2016 Julian Thome <julian.thome.de@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the S...
/** * */ package cern.accsoft.steering.aloha.gui.display; import cern.accsoft.steering.aloha.analyzer.Analyzer; import cern.jdve.viewer.DVView; import javax.swing.*; import java.util.ArrayList; import java.util.List; /** * This is the default implementation of a {@link DisplaySet} * * @author kfuchsbe * */...
/* * Copyright (c) 2014, 2021, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the * Free Software Foundation. * * This program is also distributed with certain software (in...
package badramoni.avinash.cratisspace.wewriteone; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.example.avinashbadramoni.wewriteone.R; public class FinishActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super....
/* * Copyright (C) 2020 Peter Paul Bakker, Stokpop Software Solutions * * 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 re...
package hello.core.order; import hello.core.discount.DiscountPolicy; import hello.core.discount.FixDiscountPolicy; import hello.core.discount.RateDiscountPolicy; import hello.core.member.Member; import hello.core.member.MemberRepository; import hello.core.member.MemoryMemberRepository; import lombok.RequiredArgsConstr...
package com.ledgerwalletmobile; import android.app.Application; import com.facebook.react.ReactApplication; import com.lwansbrough.RCTCamera.RCTCameraPackage; import com.ledgerwallet.hid.ReactHIDPackage; import com.cmcewen.blurview.BlurViewPackage; import com.horcrux.svg.SvgPackage; import com.lugg.ReactNativeConfig....
/* * 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 com.cyg.gulimall.product.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * spu属性值 * * @author CuiYuangeng * @email 1021716024@qq.com * @date 2022-03-12 15:10:36 ...
/* * 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 io.confluent.csid.utils; /*- * Copyright (C) 2020-2021 Confluent, Inc. */ import org.apache.kafka.clients.consumer.ConsumerRecord; import org.apache.kafka.common.TopicPartition; public final class KafkaUtils { // todo rename public static TopicPartition toTP(ConsumerRecord<?,?> rec) { retu...
package com.luoyu.redis.config; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.PropertyAccessor; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.cache.annotation.EnableCaching; import org.springframework.context.annotation.Bean; import org...
package uk.gov.hmcts.reform.iacasenotificationsapi.infrastructure.serialization; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import org.springframework.stereotype.Component; import uk.gov.hmcts.reform.iacasenotificationsapi.domai...
package org.demis27.kickoff.mn.comicbook; import io.micronaut.http.HttpResponse; import io.micronaut.http.annotation.Body; import io.micronaut.http.annotation.Controller; import io.micronaut.http.annotation.PathVariable; import io.micronaut.tracing.annotation.ContinueSpan; import io.micronaut.tracing.annotation.SpanTa...
/* * Copyright 2019 Immutables Authors and 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 applica...
package org.ejbca.core.protocol.ws.client.gen; 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 existsHardTokenResponse complex type. * * <p>The followin...
/* * Copyright 2017 The Mifos Initiative. * * 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 a...
package stevekung.mods.moreplanets.planets.diona.world.gen.structure; import java.util.Random; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraft.world.gen.structure.MapGenStructure; import net.minecraft.world.gen.structure.MapGenStructureIO; import net.minecraft.world.gen...
/* * MIT License * * Copyright (c) 2021 Hasan Demirtaş * * 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, m...
/** * generated by Xtext 2.9.2 */ package org.xtuml.bp.xtext.masl.masl.behavior.impl; import java.util.Collection; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclips...
package com.sdl.webapp.common.impl.localization.semantics; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import lombok.Setter; import java.util.List; @Setter @Getter public class JsonSchemaField { @JsonProperty("Name") private String name; @JsonProperty("Path") private...
package com.blackcat.cars.diconfig; import com.blackcat.cars.views.CarsList.CarsListContracts; import com.blackcat.cars.views.CarsList.CarsListFragment; import com.blackcat.cars.views.CarsList.CarsListPresenter; import dagger.Binds; import dagger.Module; import dagger.android.ContributesAndroidInjector; @Module publ...
package org.openxava.actions; import org.apache.commons.logging.*; /** * @author Javier Paniza */ public class GoNextPageAction extends TabBaseAction { private static Log log = LogFactory.getLog(GoNextPageAction.class); public void execute() throws Exception { getTab().pageForward(); getTab().setNotResetNe...
package org.firstinspires.ftc.teamcode.robots.reachRefactor.subsystems; import org.firstinspires.ftc.teamcode.robots.reachRefactor.utils.TelemetryProvider; public interface Subsystem extends TelemetryProvider { void update(); void stop(); }
package com.kundan.myapplication; 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 vo...
package com.orientechnologies.orient.core.sql.parser; import org.junit.Test; public class OCreateSecurityPolicyStatementTest extends OParserTestAbstract { @Test public void testPlain() { checkRightSyntax("CREATE SECURITY POLICY foo"); checkRightSyntax("CREATE SECURITY POLICY foo SET CREATE = (true)"); ...
package com.liftoff.gifter.controllers; import com.liftoff.gifter.data.UserRepository; import com.liftoff.gifter.models.User; import com.liftoff.gifter.models.dto.LoginFormDTO; import com.liftoff.gifter.models.dto.RegisterFormDTO; import org.springframework.beans.factory.annotation.Autowired; import org.springframewor...
/* * Copyright 2016 - 2018 Anton Tananaev (anton ) * * 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 applicabl...
/* * Copyright 2008-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.machinelearning.models; import com.azure.core.annotation.Fluent; import com.azure.resourcemanager.machinelearning.fluent.models....
/* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
class Card { // definitions that one can use to describe the value of a card: public static final String SPADES = "spades"; public static final String HEARTS = "hearts"; public static final String DIAMONDS = "diamonds"; public static final String CLUBS = "clubs"; public static final int ACE = 1; public ...
/* * $Id$ * * This software was written by Cove Software, LLC ("COVE") under contract * to Alberta Environment and Sustainable Resource Development (Alberta ESRD). * No warranty is provided or implied other than specific contractual terms * between COVE and Alberta ESRD. * * Copyright 2014 Alberta Environment...
/***************************************************************/ /****** DO NOT EDIT THIS CLASS bc-java SOURCE FILE ******/ /***************************************************************/ package com.distrimind.bcfips.asn1.x509; import com.distrimind.bcfips.asn1.ASN1EncodableVector; import com.distrimind.bcf...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.ai.anomalydetector; import com.azure.ai.anomalydetector.models.DetectRequest; import com.azure.ai.anomalydetector.models.EntireDetectResponse; import com.azure.ai.anomalydetector.models.TimeGranularity; i...
package org.jmqtt.broker.common.config; import java.io.File; public class BrokerConfig { // 配置conf文件的所在位置,logback,properties文件等所在位置 private String jmqttHome = System.getenv("JMQTT_HOME") != null ? System.getenv("JMQTT_HOME") : System.getProperty("user.dir") + File.separator + "jmqtt-broker" + Fil...
/** * 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 2013 SEARCH Group, Incorporated. * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. SEARCH Group Inc. licenses this file to You * under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance...
package service; public interface Output { void out(String output); }
/** * Copyright 2015-2018 The OpenZipkin 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 ...
package vn.locdt.excel.reader; import org.apache.commons.lang3.Validate; import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.util.CellReference; import vn.locdt.excel.reader.converter.CellDataConverter; import vn.locdt.excel.reader.converter.DefaultCellDataCo...
/* * 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 n...
package com.ooooor.advanced.reactor; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.ServerSocketChannel; import java.nio.channels.SocketChannel; import java.util.Iterator; impo...
package chatmania.extra.log; import java.io.File; import java.io.RandomAccessFile; import java.text.SimpleDateFormat; import java.util.Date; public class LogOpers { public LogOpers(String ircop, String vitima, String comando) { try { // se log nao gigantesco, entao resume ele if...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // 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: 2019.06.06 at 05:48:4...
package com.infoedge.jrandomizer.annotations; import com.infoedge.jrandomizer.adapters.StringToStringAdapter; import com.infoedge.jrandomizer.generators.FrequencyGenerator; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.ann...
package kernitus.plugin.OldCombatMechanics.utilities.packet.particle; import kernitus.plugin.OldCombatMechanics.utilities.packet.ImmutablePacket; import kernitus.plugin.OldCombatMechanics.utilities.reflection.Reflector; import kernitus.plugin.OldCombatMechanics.utilities.reflection.type.ClassType; import java.lang.re...
package qiu.kai.xin.gulimall.order; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class GulimallOrderApplicationTests { @Test void contextLoads() { } }
package cn.spark2fire.jscrapy; import cn.spark2fire.jscrapy.downloader.Downloader; import cn.spark2fire.jscrapy.pipeline.Pipeline; import cn.spark2fire.jscrapy.processor.PageProcessor; import cn.spark2fire.jscrapy.utils.HttpConstant; import cn.spark2fire.jscrapy.utils.UrlUtils; import org.apache.commons.lang3.StringUt...
/* * Copyright (c) 2020 CertifAI Sdn. Bhd. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * * Unless required by applicable law or agreed to in writing, software * distri...
package net.mattwamm.froststruck.blocks; import net.fabricmc.fabric.api.biome.v1.BiomeModificationContext; import net.fabricmc.fabric.api.client.rendering.v1.DimensionRenderingRegistry; import net.mattwamm.froststruck.registries.BlockRegistry; import net.minecraft.block.*; import net.minecraft.block.entity.BlockEntit...
package com.cicd.cicdappliedtospringbootjavaapp.controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class HelloController { @GetMapping("/") public String home() { return "Hello World Testing"; } ...
package com.ly.fn.inf.lnk.api.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @author 刘飞 E-mail:liufei_it@126.com * * @version 1.0.0 * @since 2017年5月22日 下午9:19:37 */ @Retention(Reten...
/* * Copyright (c) 2017 * * 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, distribute, subl...
package com.zizhizhan.legacies.pattern.bridge.v1; class DerivedImplementation_Two extends Implementation { @Override public void DoStringOp(String str) { System.out.println("DerivedImplementation_Two - print string twice"); System.out.println("string = " + str); System.out.println("stri...
package proai.error; public class BadResumptionTokenException extends ProtocolException { static final long serialVersionUID = 1; public BadResumptionTokenException() { super("The value of the resumptionToken argument is invalid or expired."); } public BadResumptionTokenException(String message...
/* * Copyright (C) 2017 CenturyLink, 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...
/* * The MIT License * * Copyright 2017 Siggi. * * 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, m...
package com.letv.android.client.task; import android.content.Context; import android.text.TextUtils; import com.letv.android.client.parser.AlbumNewListParser; import com.letv.core.api.LetvRequest; import com.letv.core.api.MediaAssetApi; import com.letv.core.bean.ChannelListBean.Channel; import com.letv.core.bean.SiftK...
/* * Funds API For Digital Portals * Search for mutual funds and ETFs using one single consolidated API, including a criteria-based screener. The API provides also base data, key figures, and holdings. A separate endpoint returns the possible values and value range for the parameters that the endpoint /fund/notation...
package yifeiyuan.practice.practicedemos.wave; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ObjectAnimator; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.util.AttributeSet; import android.vi...
package hr.unidu.oop.p03; /** * Test razred za razred Automobil * * @author Krunoslav �ubrini� * @version February 2008. */ public class Voznja { public static void main(String[] args) { Automobil punto=new Automobil ("DU 111 A",137); boolean end=false; System.out.println("Automo...
/** * Autogenerated by Thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package test.fixtures.inheritance; import java.util.*; public class MyLeafReactiveBlockingWrapper extends test.fixtures.inheritance.MyNodeReactiveBlockingWrapper implements MyLeaf { private f...
package com.tv.ui.metro.loader; import android.content.Context; /** * Created by tv metro on 9/1/14. */ public abstract class ItemLoader<T> extends BaseGsonLoader<T>{ public static final int GAME_LOADER_ID = 0x501; public static final int APP_LOADER_ID = 0x502; public static final int VIDEO_LOADER_ID...
//-------------------------------------------------------------------------- // Copyright (c) 1998-2004, Drew Davidson and Luke Blanshard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: ...