text
stringlengths
7
995k
package com.elmakers.mine.bukkit.warp; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.apache.commons.lang.WordUtils; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.command.CommandSender; import org.bukkit.configuration.ConfigurationSection; import com.elmake...
package com.inflectra.spiratest.addons.testnglistener.soap; import javax.xml.ws.WebFault; /** * This class was generated by the JAX-WS RI. * JAX-WS RI 2.1.6 in JDK 6 * Generated source version: 2.1 * */ @WebFault(name = "ServiceFaultMessage", targetNamespace = "http://schemas.datacontract.org/2004/07/Inflectra...
package com.flow.demo.common.online.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; import com.flow.demo.common.core.base.dao.BaseDaoMapper; import com.flow.demo.common.core.base.service.BaseService; import com.flow...
package goja.exceptions; @SuppressWarnings("serial") public class FailToCastObjectException extends RuntimeException { public FailToCastObjectException(Throwable cause, String fmt, Object... args) { super(String.format(fmt, args), cause); } public FailToCastObjectException(String fmt, Object... a...
/* * Copyright (c) 2008, 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 ...
/* * Copyright 2012-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.curso.java.ejemplojunit0001maven; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println( "Hello World!" ); } }
/** * Copyright (c) 2016, 2020, 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 org.workcraft; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import org.workcraft.annotations.VisualClass; import org.workcraft.dom.Model; import org.workcraft.dom.visual.VisualModel; import org.workcraft.exceptions.ModelInstantiationException; import org.workcraft....
package org.decorator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class ConcreteComponent extends Component { private static final Logger logger = LoggerFactory.getLogger(ConcreteComponent.class); @Override public void operate() { logger.info("do something"); } }
package com.csp.sample.jcenter; import org.junit.Test; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Except...
package com.birbit.android.jobqueue.test.jobmanager; import com.birbit.android.jobqueue.Job; import com.birbit.android.jobqueue.JobHolder; import com.birbit.android.jobqueue.JobManager; import com.birbit.android.jobqueue.Params; import com.birbit.android.jobqueue.config.Configuration; import com.birbit.android.jobqueu...
/******************************************************************************* * Copyright 2013 Ednovo d/b/a Gooru. All rights reserved. * * http://www.goorulearning.org/ * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (th...
/* * Copyright 2012 GitHub 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 in ...
package imooc.com.smartbulter.service; import android.app.Service; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.graphics.PixelFormat; import android.net.Uri; import android.os.IBinder; import android.support...
package com.fhtiger.utils.helperutils.helper; import com.fhtiger.utils.helperutils.util.HelperException; import java.io.Closeable; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; /** * 通过Java反射处理Method * * @author...
// 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 one.bitmoon.core.wallet.transaction.EOS; import one.bitmoon.core.wallet.utils.ByteUtil; import org.bitcoinj.core.AddressFormatException; import org.bitcoinj.core.Base58; import org.bitcoinj.core.ECKey; import org.bitcoinj.core.VersionedChecksummedBytes; import org.spongycastle.crypto.digests.RIPEMD160Digest; ...
/* * Copyright (c) 2003-2011, Simon Brown * 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 copyright * notice, this list of ...
/* * Copyright (c) 1998, 2005, 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 ...
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared; import com.joelapenna.foursquare.types.Group; import com.joelapenna.foursquare.types.Tip; import com.joelapenna.foursquare.types.Venue; import com.joelapenna.foursquared.app.LoadableListActivity; import com.joelapenna.foursquared.util.Comparato...
/* * Copyright (c) 2017, Javier * 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 copyright notice, this * list of conditions and...
package com.google.common.collect.testing.google; import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT; import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ListMultimap; im...
/* * Zeebe Broker Core * Copyright © 2017 camunda services GmbH (info@camunda.com) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your ...
/** * 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.hazelcast.internal.metrics.impl; import com.hazelcast.test.HazelcastSerialClassRunner; import com.hazelcast.test.HazelcastTestSupport; import com.hazelcast.test.annotation.QuickTest; import org.junit.Test; import org.junit.experimental.categories.Category; import org.junit.runner.RunWith; import static co...
package sarf.verb.quadriliteral.augmented; import sarf.Word; /** * <p>Title: Sarf</p> * * <p>Description: ?????? ???????</p> * * <p>Copyright: Copyright (c) 2006</p> * * <p>Company: </p> * * @author Haytham Mohtasseb Billah * @version 1.0 */ public abstract class AugmentedPresentVerb extends Word { pr...
package com.shijingsh.ai.jsat.classifiers.neuralnetwork.initializers; import java.util.Random; import com.shijingsh.ai.jsat.linear.Matrix; import com.shijingsh.ai.jsat.linear.Vec; /** * This object initializes the values of weights by sampling from the zero mean * Gaussian * * @author Edward Raff */ public clas...
/* * Copyright 2016 jagrosh. * * 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...
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
package com.github.paizo.cosmos; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class CosmosApplicationTests { @Test void contextLoads() { } }
/* * 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 definitions; import com.mashape.unirest.http.exceptions.UnirestException; import cucumber.api.java.en.And; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; import org.json.JSONArray; import org.json.JSONObject; import org.openqa.selenium.WebElement; import ...
/* * Copyright (C) 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 ...
/* * 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 ...
/***************************************************************** * 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 * ...
package com.cloud.agent.resource.consoleproxy.vnc; /** * VncScreenDescription - contains information about remote VNC screen. */ public class VncScreenDescription { // Frame buffer size private int framebufferWidth = -1; private int framebufferHeight = -1; // Desktop name private String desktop...
/******************************************************************************* * Copyright (c) 2013 Actuate Corporation. * 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, and is availabl...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 配料列表返回对象 * * @author auto create * @since 1.0, 2018-11-21 14:21:03 */ public class MaterialEntity extends AlipayObject { private static final long serialVersionUID = 2789485551323815578L; ...
package com.example.simpleinstagram; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.widget.ImageView; import android.widget.TextView; import com.bumptech.glide.Glide; import com.bumptech.glide.request.RequestOptions; import com.example.simpleinstagr...
package com.smx.quartz.util; import com.smx.common.utils.StringUtils; import com.smx.common.utils.spring.SpringUtils; import com.smx.quartz.domain.SysJob; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.LinkedList; import java.util.List; /** * 任务执行工具 * * @auth...
package io.oopsie.sdk; import io.oopsie.sdk.error.AlreadyExecutedException; import io.oopsie.sdk.error.StatementExecutionException; import io.oopsie.sdk.error.StatementParamException; import java.util.HashSet; import java.util.Set; import org.springframework.http.HttpMethod; /** * Use this class to fetch (HTTP GET) ...
package com.winterwell.utils.web; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map; import org.junit.Test; import com.winterwell.utils.containers.ArrayMap; import com.winterwell.utils.containers.Containers; public class JsonPatchTest...
/** * Copyright (c) 2016-2019 谷粒开源 All rights reserved. * <p> * https://www.guli.cloud * <p> * 版权所有,侵权必究! */ package com.atguigu.modules.job.service; import com.atguigu.modules.job.entity.ScheduleJobEntity; import com.baomidou.mybatisplus.extension.service.IService; import com.atguigu.common.utils.PageUtils; i...
/* * ${GEMATIK_LICENSE} */ package de.gematik.ti.cardreader.provider.api.command; import java.util.Arrays; import java.util.Random; import org.junit.Assert; import org.junit.Test; public class CommandApduTest { @Test public void testCase1Apdu() { CommandApdu cApdu = new CommandApdu(0x01, 0x02, 0x0...
package com.logycoconut.cloud.feign.client; import com.logycoconut.cloud.feign.api.ProviderApi; import com.logycoconut.cloud.feign.fallback.ProviderClientFallback; import org.springframework.cloud.openfeign.FeignClient; /** * @author hall * @date 2020/12/28 */ @FeignClient(value = "feign-provider", path = "user", ...
package nio_chat_room.client; import java.io.Closeable; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.*; import java.nio.charset.Charset; import java.util.Set; import java.util.concurrent.atomic.AtomicBoolean; public class ChatClient { private...
package com.xqkj.framework.web.service; import java.util.HashSet; import java.util.Set; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.xqkj.common.core.domain.entity.SysUser; import com.xqkj.system.service.ISysMenuService; import com.xqkj.syst...
package com.fermich.nolfix.fix.client; public class NolConnectionException extends RuntimeException { public NolConnectionException(Exception e) { super(e); } public NolConnectionException(String s, Exception ex) { super(s, ex); } }
package com.android.jtblk.core.coretypes.hash; import com.android.jtblk.core.fields.Field; import com.android.jtblk.core.fields.Hash128Field; import com.android.jtblk.core.fields.Type; import com.android.jtblk.core.serialized.BytesSink; public class Hash128 extends Hash<Hash128> { public Hash128(byte[] bytes) { ...
/** * Copyright 2017 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
package net.minecraftforge.client.event.sound; import net.minecraft.client.audio.SoundManager; import net.minecraft.client.audio.SoundPoolEntry; /*** * Raised when the SoundManager tries to play a normal sound. * * If you return null from this function it will prevent the sound from being * played, you can return...
package com.Ugams.core.schedulers; import com.Ugams.core.config.SchedulerConfig; import com.Ugams.core.services.CurrentDate; import com.Ugams.core.utils.ResolverUtils; import org.apache.sling.api.resource.*; import org.apache.sling.commons.scheduler.ScheduleOptions; import org.apache.sling.commons.scheduler.Scheduler;...
/* * 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 ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package controlador; import java.util.ArrayList; import java.util.Collections; import modelo.CategoriaRopa; import modelo.Pijamas; /*...
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2012, 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...
package com.devonfw.quarkus.general.service.json; import javax.inject.Singleton; import org.springframework.data.domain.Page; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.module.SimpleModule; import io.quarkus.jackson.ObjectMapperCustomizer; @Singleton public class Cust...
/* * 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 us.careydevelopment.web.common.constants; public class Authority { public static final String CRM_USER = "CAREYDEVELOPMENT_CRM_USER"; public static final String BASIC_ECOSYSTEM_USER = "CAREYDEVELOPMENT_ECOSYSTEM_BASIC"; public static final String ADMIN_ECOSYSTEM_USER = "CAREYDEVELOPMENT_ECOSYSTEM_...
package cwms.radar.api.graph.pg.properties.basinconnectivity; public class PgReachEdgeProperties extends PgStreamEdgeProperties { private final String[] reachName; public PgReachEdgeProperties(String streamName, String reachName) { super(streamName); this.reachName = new String[]{reachName...
package cn.ms.neural.moduler.engine.isolation.conf; public class IsolationConf { }
package org.ggp.base.player.gamer.statemachine.MCTS.manager.prover.strategies.selection.evaluators; import org.ggp.base.player.gamer.statemachine.MCS.manager.MoveStats; import org.ggp.base.util.statemachine.structure.explicit.ExplicitMove; public class ProverUCTEvaluator implements ProverMoveEvaluator { protected d...
package com.ewgvip.buyer.android.utils; /** * Created by Administrator on 2015/10/15. */ public interface OnClickParameterListener { void onClick(int iPosition, int iParentPosition); }
package uk.gov.hmcts.cmc.claimstore.controllers; import com.google.common.collect.ImmutableList; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import uk.gov.hmcts.cmc.claimstore.courtfinder.CourtFinderApi; import u...
package edu.umass.cs.voice; public class Window { public double[] window; public int n; public Window(int windowSize) { n = windowSize; // Make a Hamming window window = new double[n]; for(int i = 0...
/* * Copyright 2010-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 "lice...
package io.renren.modules.job.task; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import io.renren.modules.hotel.service.HotelOrderService; import lombok.extern.slf4j.Slf4j; /** * 订单自动完成 * * @author taoz * */ @Slf4j @Component("completeOrderTask...
/* * 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...
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
package org.benf.cfr.tests; public class LoadOrder1 { static String doSomething() { System.out.println("Hello"); return "Hello"; } public static void main(String... args) { // Calls static method doSomething LoadOrder2.CONSTANT.doSomething(); } }
package org.littleshoot.proxy; import java.util.concurrent.Future; import org.jboss.netty.buffer.ChannelBuffer; import org.jboss.netty.channel.Channel; import org.jboss.netty.handler.codec.http.HttpRequest; import org.jboss.netty.handler.codec.http.HttpResponse; /** * Interface for classes that handle caching on th...
package com.baeldung.crunch; import org.apache.crunch.MapFn; @SuppressWarnings("serial") public class ToUpperCaseWithCounterFn extends MapFn<String, String> { @Override public String map(String input) { if (input == null) { return input; } else { String output = input....
package com.leetcode.algorithm.medium.utf8validation; class Solution { public boolean validUtf8(int[] data) { int i = 0; while (i < data.length) { int value = data[i]; if (value >= 0b11110000 && value <= 0b11110111) { if (i + 3 < data.length) { if (!checkPrefix(new int[] {data[i...
/* * Copyright 2015 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 applica...
/* * 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 * distribut...
package com.suelake.habbo.messenger; import java.util.Vector; import com.suelake.habbo.HabboHotel; import com.suelake.habbo.communication.CommunicationHandler; import com.suelake.habbo.communication.ServerMessage; public class MessengerComponent { private CommunicationHandler m_client; public MessengerComponent(...
package com.bebnev.RNLocalAuthentication; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.Arrays; import...
package com.xsp.mall.model; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; public class OmsOrderItemExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public OmsOrderItemExample() { oredCriteria = new...
/* * 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 eu.smartdatalake.simjoin.fuzzysets; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.elasticsearch.action....
package com.hoondragonite.leassemble; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.ApplicationPidFileWriter; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.sp...
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * 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. * *...
package com.gcy.bootwithutils.service.file; import com.gcy.bootwithutils.service.date.DateService; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; import javax.servlet.http.HttpServletResponse; import java.io.*; import java.nio.charset.StandardCharsets; @Service @Slf4j public class ...
package gg.amy.soulfire.api.minecraft.block.entity; import gg.amy.soulfire.annotations.Bridge; /** * @author amy * @since 5/28/21. */ @Bridge("net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity") public interface AbstractFurnaceTileEntity extends TileEntity { // TODO: Implement }
/* * JBoss, Home of Professional Open Source. * Copyright 2006, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
/** * 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 dn.bms3.dao.interfac; import dn.bms3.model.Subregion; import dn.core3.hibernate.generic.interfac.IGenericDao; public interface ISubregionDao extends IGenericDao<Subregion, Integer> { }
/* * Copyright 2017-2020 original authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * 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...
/* * Copyright (c) 2012-2015 iWave Software LLC * All Rights Reserved */ package com.emc.aix.command; import static org.easymock.EasyMock.createMockBuilder; import java.util.List; import junit.framework.Assert; import org.easymock.EasyMock; import org.junit.BeforeClass; import org.junit.Test; import com.iwave.e...
/* * Copyright 2002-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...
import java.io.*; import java.util.*; public class countinglines { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); int lines=0; while(in.readLine() != null) lines++; System.out.println(...
/* * Copyright (c) 2019-2022 GeyserMC. http://geysermc.org * * 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,...
/* * Stocks API For Digital Portals * The stocks API features a screener to search for equity instruments based on stock-specific parameters. Parameters for up to three fiscal years might now be used in one request; data is available for the ten most recent completed fiscal years. Estimates are available for the cur...
package cz.cuni.mff.perestroika.perestroika_problem_20_3_0_4_0_5_6; import cz.cuni.mff.jpddl.PDDLDeadEnd; import cz.cuni.mff.perestroika.domain.Domain; import cz.cuni.mff.perestroika.domain.State; import cz.cuni.mff.perestroika.problem.PerestroikaProblem; import cz.cuni.mff.perestroika.problem1.DeadEnd; public final ...
/** * Copyright Microsoft Corporation * * 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 net.piemaster.artemoids.systems; import net.piemaster.artemoids.EntityFactory; import net.piemaster.artemoids.components.Health; import net.piemaster.artemoids.components.Player; import net.piemaster.artemoids.components.Transform; import net.piemaster.artemoids.components.Velocity; import org.newdawn.slick.G...
/* * Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.Transferable; import java.awt.datatransfer.UnsupportedFlavorException; import java.awt.dnd.DnDConstants; import java.awt.dnd.DropTarget; import java.awt.dnd.InvalidDnDOperationException; import java.util.Map; import java.io.IOException; import sun.aw...
package org.codehaus.jackson.map.deser.std; import java.io.IOException; import org.codehaus.jackson.JsonProcessingException; import org.codehaus.jackson.map.DeserializationConfig; import org.codehaus.jackson.map.JsonMappingException; import org.codehaus.jackson.map.deser.SettableBeanProperty; import org.codehaus.jack...