text stringlengths 7 995k |
|---|
package org.anddev.andengine.engine.camera;
import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_X;
import static org.anddev.andengine.util.constants.Constants.VERTEX_INDEX_Y;
import org.anddev.andengine.input.touch.TouchEvent;
import org.anddev.andengine.util.MathUtils;
/**
* @author Nicolas ... |
/*
* 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... |
// Copyright (c) 2003-2014, Jodd Team (jodd.org). All Rights Reserved.
package jodd.introspector;
import jodd.util.ReflectUtil;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
/**
* Method descriptor. Holds additional method data,
* that might b... |
/**
* Copyright © 2013-2018 shadowhunt (dev@shadowhunt.de)
*
* 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... |
/*
* 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>
* </copyright>
*
*
*/
package eu.hyvar.context.contextValidity.resource.hyvalidityformula.analysis;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EOperation;
import org.eclipse.emf.e... |
package com.lzq.echarts.series;
import com.lzq.echarts.code.SeriesType;
import lombok.Getter;
import lombok.Setter;
/**
* 散点图、气泡图
*
* @author lizhiqiang
*/
@Getter
@Setter
public class Scatter extends Series<Scatter> {
/**
* 大规模散点图
*/
private Boolean large;
/**
* 大规模阀值,large为true且数据量>l... |
package com.atguigu.eduservice.entity.vo;
import lombok.Data;
/**
* @author chenglongsheng
* @create 2021-07-29 22:31
*/
@Data
public class CoursePublishVo {
private String id;
private String title;
private String cover;
private Integer lessonNum;
private String subjectLevelOne;
private St... |
package gov.nih.nci.ui;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.protege.editor.core.ProtegeApplication;
import org.protege.editor.core.prefs.Preferences;
import org.protege.editor.core.prefs.PreferencesManager;
import org.p... |
package com.laplace.las.luv;
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 void ad... |
public void solve(int time) {
int n = sc.nextInt();
TaskD.Node[] nodes = new TaskD.Node[n];
for (int i = 0; i < n; i++) nodes[i] = new TaskD.Node();
TaskD.Node root = null;
for (int i = 0; i < n; i++) {
int parent = sc.nextInt();
TaskD.Node node = nodes[i];
if (parent == 0) {... |
/*-
* <<
* UAVStack
* ==
* Copyright (C) 2016 - 2017 UAVStack
* ==
* 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... |
package zielu.gittoolbox.ui;
import zielu.gittoolbox.status.BehindStatus;
public interface StatusPresenter {
String behindStatus(BehindStatus behind);
String aheadBehindStatus(int ahead, int behind);
String nonZeroAheadBehindStatus(int ahead, int behind);
String branchAndParent(String branchName, String pa... |
//
// ========================================================================
// 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 org.jointheleague.ir;
import java.io.File;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
public class Cache {
private static File file;
private static Map<String, String> cachedDat... |
package mekanism.additions.client.model;
import java.util.List;
import javax.annotation.Nonnull;
import mekanism.additions.common.MekanismAdditions;
import mekanism.additions.common.entity.baby.EntityBabyCreeper;
import net.minecraft.client.model.AgeableListModel;
import net.minecraft.client.model.geom.ModelLayerLocat... |
/*
* Copyright 2015 herd 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 law or agreed to in ... |
package Statements.view_command;
import java.util.List;
import Statements.Statement;
import Statements.command.Command;
import view.ViewAbstract;
/**
* @author Sierra, Yancheng
*/
public class Quotient extends Command {
public Quotient (List<Statement> statements, ViewAbstract view) {
super(statements... |
public class APP02 implements Runnable {
Thread t;
public APP02(){
t=new Thread(this,"线程1");//传参,this——>APP02——>Runnable
t.start();
}
public static void main(String[] args) {
new APP02();
}
@Override
public void run() {
for (int i=0;i<10;i++){
tr... |
package com.nepxion.swing.framework.reflection;
/**
* <p>Title: Nepxion Swing</p>
* <p>Description: Nepxion Swing Repository</p>
* <p>Copyright: Copyright (c) 2010</p>
* <p>Company: Nepxion</p>
* @author Neptune
* @email 1394997@qq.com
* @version 1.0
*/
import java.awt.BorderLayout;
import java.awt.Component;... |
package net.henbit.raytracing.life;
public class DoubleWrapper
{
private double value;
public DoubleWrapper()
{
value = 0;
}
public void copy(double value)
{
this.value = value;
}
public double getValue()
{
return value;
}
} |
package com.fullsail.smith.speedydemo;
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
publ... |
package gorissen.vleminckx.timco.controllers;
import gorissen.vleminckx.timco.model.Basket;
import gorissen.vleminckx.timco.model.Product;
import gorissen.vleminckx.timco.model.ProductRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org... |
/*******************************************************************************
* Copyright (c) 2005 - 2013 Nos Doughty
*
* 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
*
* ... |
package com.dyzcs.lcci;
/**
* Created by Administrator on 2020/11/4.
*
* @see <a href="https://leetcode-cn.com/problems/intersection-of-two-linked-lists-lcci/">面试题 02.07. 链表相交</a>
*/
public class LCCI_0207 {
public static void main(String[] args) {
}
}
class SolutionLCCI0207 {
static class ListNode {... |
package com.example.ryo.job_employer.adapter;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widge... |
package com.gcavalli.cursomc.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.gcavalli.cursomc.domain.Pagamento;
import com.gcavalli.cursomc.repositories.PagamentoRepository;
@Service
public class PagamentoService {
@Autowired
Paga... |
package com.zpy.Util.okhttp;
import android.graphics.BitmapFactory;
import android.util.DisplayMetrics;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import java.io.InputStream;
import java.lang.reflect.Field;
public class ImageUtils
{
/**
* 根据InputStream获取图片实际的宽度... |
/*
* NER API
* Extract named entities and their FactSet entity IDs from given document text.
*
* The version of the OpenAPI document: 1.5.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
p... |
// Copyright (c) 2018, Miquel Martí <miquelmarti111@gmail.com>
// See LICENSE for licensing information
package cat.mvmike.minimalcalendarwidget.service;
import android.content.Context;
import android.content.SharedPreferences;
import cat.mvmike.minimalcalendarwidget.service.enums.Colour;
import cat.mvmike.minimalca... |
// 소스코드 제출할때 패키지이름은 무조건 제거한다.
package stack.boj17608;
// 임포트한 라이브러리는 되도록이면 남긴다.
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
// 클래스 이름은 무조건 Main으로 한다.
public class Main17608 {... |
package me.ningsk.common.stream;
import java.io.Serializable;
import java.io.Writer;
public class StringBuilderWriter extends Writer
implements Serializable
{
private final StringBuilder builder;
public StringBuilderWriter()
{
this.builder = new StringBuilder();
}
public StringBu... |
/*
* The MIT License
*
* Copyright (c) 2016, Carlos Sanchez
*
* 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, co... |
/*
* Copyright (c) 1997, 2021 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: ... |
package openlineage.spark.agent.lifecycle.plan;
import openlineage.spark.agent.client.LineageEvent;
/**
* DatasetSource is an interface that allows instrumenting an existing Relation or Datasource class
* with the ability to report its OpenLineage namespace and name. Relations that intend to
* participate in the O... |
package no.nav.aura.basta.backend.vmware.orchestrator.response;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
@XmlAccessorType(XmlAccessType.FIELD)
publi... |
package ca.carleton.gcrc.olkit.multimedia.converter.threshold;
import ca.carleton.gcrc.olkit.multimedia.converter.MultimediaConversionThreshold;
public class DefaultThresholdImage implements MultimediaConversionThreshold {
@Override
public boolean isConversionRequired(
String videoFormat
,Long videoRate
,... |
package cn.shishuihao.thirdparty.api.pay.ccb.wlpt.sdk.response;
import cn.shishuihao.thirdparty.api.pay.ccb.wlpt.sdk.domain.CcbWlptTxInfo;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jac... |
package normal;
import static org.junit.Assert.assertEquals;
import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.assertThat;
import static org.sahagin.runlib.external.TestStepLabelMethod.*;
import org.junit.Test;
import org.sahagin.runlib.external.CaptureStyle;
import org.sahagin.runlib.external... |
package com.ibyte.iot.test.server;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;
public class TestTcpServer {
/**
* 程序启动 Server
* @param args
*/
public static void main(String[] args) {
ApplicationCont... |
/*
* 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... |
/*
* Copyright 2019-present Facebook, 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... |
/*
* Copyright 2020 Kato Shinya.
*
* 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 org.odmg;
/**
* The ODMG Map collection interface.
* All of the operations defined by the JavaSoft <code>Map</code>
* interface are supported by an ODMG implementation of <code>DMap</code>,
* the exception <code>UnsupportedOperationException</code> is not thrown when a
* call is made to any of the ... |
package org.jesperancinha.java11.mastery2dot2;
import org.jesperancinha.console.consolerizer.console.Consolerizer;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import static org.jesperancinha.console.consolerizer.common.ConsolerizerColor.BLUE;
import static org.jesper... |
/*
* An XML document type.
* Localname: login-config
* Namespace: http://geronimo.apache.org/xml/ns/loginconfig-2.0
* Java type: org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginConfigDocument
*
* Automatically generated - do not modify.
*/
package org.apache.geronimo.xbeans.geronimo.loginconfig;
/**
*... |
/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source c... |
package org.jboss.resteasy.test.client.resource;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
@Path("/foo")
public class SmokeParamResource {
@POST
@Produces("... |
// This is mutant program.
// Author : ysma
public class slicedCalculation
{
public static int FnNegate( int a )
{
int neg = 0;
int d = a < 0 ? 1 : -1;
while (a != 0) {
neg += d;
a += -d;
}
return neg;
}
public static int FnMinus( int a,... |
package com.alipay.api.response;
import java.util.Date;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.fund.trans.innovate.order.query response.
*
* @author auto create
* @since 1.0, 2022-05-23 14:36:45
*/
public class AlipayFundTransInnovateOrde... |
package sh.casey.subtitler.reader;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.Validate;
import sh.casey.subtitler.exception.SubtitleException;
import sh.casey.subtitler.model.AssDialogue;
import sh.casey.subtitler.model.AssStyle;
import sh.casey.subti... |
/*
* 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 rems.brewtaste.domain.util;
import java.io.IOException;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
import java.time.temporal.TemporalAccessor;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.S... |
package org.corfudb.runtime.exceptions;
/**
* Created by amytai on 9/1/16.
*/
public class ReplexOverwriteException extends OverwriteException {
} |
/*
* 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 dev.jordgubbe.basics.items.listeners;
import dev.jordgubbe.basics.items.ItemManager;
import org.bukkit.Sound;
import org.bukkit.entity.EnderPearl;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.Action;
import org.bukkit.eve... |
package com.aliyun.alink.devicesdk.demo;
import android.net.Uri;
import android.text.TextUtils;
import android.util.Log;
import com.aliyun.alink.devicesdk.manager.MD5Util;
import com.aliyun.alink.h2.api.AuthSignMethod;
import com.aliyun.alink.h2.api.CompletableListener;
import com.aliyun.alink.h2.api.IAuthSign;
impor... |
package cz.mg.resampler.resamplers.java;
import cz.mg.resampler.resamplers.java.stretch.BoxStretch;
import cz.mg.resampler.resamplers.java.stretch.Stretch;
import cz.mg.resampler.resamplers.java.utilities.ColorRgba;
import static cz.mg.resampler.resamplers.java.Image.SINK;
import cz.mg.resampler.Parameter;
public cl... |
//TODO: TO be rewritten to include replace AddressBook with RequestBook and HealthWorkerBook
//package seedu.address.model;
//
//import static org.junit.Assert.assertEquals;
//import static org.junit.Assert.assertFalse;
//import static org.junit.Assert.assertTrue;
//import static seedu.address.logic.commands.CommandTes... |
/*
* 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 com.atlassian.plugin.connect.plugin.web.page;
import com.atlassian.plugin.connect.modules.beans.ConnectPageModuleBean;
import com.atlassian.plugin.connect.modules.beans.nested.I18nProperty;
import com.atlassian.plugin.connect.modules.gson.ConnectModulesGsonFactory;
import com.atlassian.plugin.connect.test.matc... |
package com.essue.jvcache.redis.codec;
public interface RedisCodec {
String serialize(Object value);
Object deserialize(String data);
byte[] serializeBytes(Object value);
Object deserializeBytes(byte[] data);
} |
package org.wildfly.swarm.examples.jaas.basic;
import java.util.HashMap;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.ClassLoaderAsset;
import org.wildfly.swarm.Swarm;
import org.wildfly.swarm.config.security.Flag;
import org.wildfly.swarm.config.security.SecurityDomain;
import or... |
package org.flowable.standalone.jpa;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import org.flowable.engine.ProcessEngine;
import org.flowable.engin... |
/*
* Copyright (c) 2016. 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.mycompany.myapp.domain;
import io.swagger.annotations.ApiModel;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import javax.persistence.*;
import org.springframework.data.elasticsearch.annotations.FieldType;
import java.io.Serializable;
/**
* not an ig... |
/**
* 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.seasar.doma.internal.apt.meta.dao;
import static org.seasar.doma.internal.util.AssertionUtil.*;
import javax.lang.model.element.TypeElement;
import org.seasar.doma.internal.apt.annot.DaoAnnot;
public class ParentDaoMeta {
private final DaoAnnot daoAnnot;
private final TypeElement typeElement;
Pa... |
package uk.co.real_logic.artio.acceptance_tests;
import io.aeron.archive.ArchivingMediaDriver;
import org.junit.After;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.Timeout;
import uk.co.real_logic.artio.DebugLogger;
import uk.co.real_logic.artio.TestFixtures;
import uk.co.real_logic.artio.accep... |
package codechicken.nei.recipe;
/**
*
* Implement this to show custom recipes in the usage viewer.
* See the default vanilla ones for more info.
*
*/
public interface ICraftingHandler extends IRecipeHandler
{
/**
*
* @param outputId A String identifier representing the type of output produced. Eg.... |
// 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 2015-2017 floragunn 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 required by applicable law or ag... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
package com.qiangyu.test.coupondisplayviewtest;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + ... |
package smarttest.main;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import smarttest.mockServer.MockServer;
import smarttest.model.mock.request.MockRequest;
import smarttest.model.real.r... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
package mage.cards.e;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldControlledTriggeredAbility;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilitie... |
/*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package ch.heigvd.res.chill.domain.joshuaGomesDaCosta;
import ch.heigvd.res.chill.domain.IProduct;
import java.math.BigDecimal;
public class SuperBock implements IProduct {
public final static String NAME = "SuperBock";
public final static BigDecimal PRICE = new BigDecimal(1.8);
@Override
public St... |
package com.planet_ink.coffee_mud.Locales;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink... |
/*
* 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 gameplayer.labels;
import java.util.Map;
import engine.components.Component;
import gameplayer.controller.GameManager;
public interface IGameStatusLabel{
public double extractGameStateValue();
public void update(double newValue);
} |
/*
* 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 org.narrative.network.customizations.narrative.niches.nicheauction;
import org.narrative.common.util.enums.IntegerEnum;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* Created by IntelliJ IDEA.
* User: jonmark
* Date: 2/22/18
* Time: 9:57 AM
*/
public enum BidStatus 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 ... |
/*
* Copyright (c) 2011-2014, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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... |
/*
* Copyright 2000-2012 JetBrains s.r.o.
*
* 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 agre... |
package gg.sep.twitchapi.helix.model.video;
import gg.sep.twitchapi.helix.model.AbstractPaginated;
/**
* Implements the Games API responses, which are paginated responses containing {@link Video} objects.
* https://dev.twitch.tv/docs/api/reference/#get-videos
*/
public class Videos extends AbstractPaginated<Video>... |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_1535 {
} |
/*
* Copyright (c) 2021-2021 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 b... |
/*
* 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... |
/*
* 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 Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
************************************... |
package ru.job4j.cinema.services;
import ru.job4j.cinema.models.Account;
import ru.job4j.cinema.models.Hall;
import ru.job4j.cinema.models.Place;
import java.sql.SQLException;
public class CinemaService {
private final static AccountsDAO ACCOUNTS = AccountsDAO.getInstance();
private final static HallDAO HA... |
package com.amsavarthan.dude.adapter;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.support.annotation.NonNull;
import android.support.v7.widget.CardView;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutMa... |
package algorithms.timeseries.mediansmoothing;
import algorithms.timeseries.TimeSeries;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URL;
/**
* Example of how to calculate the median smoothing of a time series, using
* the source code of SPMF
*
* @author Philippe Fourn... |
/*
* 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... |
/*
* 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 quickdocs.model.patient;
import java.util.ArrayList;
import quickdocs.model.tag.Tag;
/**
* Represents a patient record in QuickDocs
*/
public class Patient {
private Name name;
private Nric nric;
private Email email;
private Address address;
private Contact contact;
private Gender ... |
package com.external.plugins;
import com.appsmith.external.exceptions.pluginExceptions.AppsmithPluginError;
import com.appsmith.external.exceptions.pluginExceptions.AppsmithPluginException;
import com.appsmith.external.models.ActionConfiguration;
import com.appsmith.external.models.ActionExecutionRequest;
import com.a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.