text
stringlengths
7
1.01M
package com.chinamobile.shop.utils; import java.text.SimpleDateFormat; import java.util.Date; /** * TimeUtils * */ public class TimeUtils { public static final SimpleDateFormat DEFAULT_DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); public static final SimpleDateFormat DATE_FORMAT_DATE = new...
package com.oath.oak.synchrobench.contention.benchmark; /** * Parameters of the Java version of the * Synchrobench benchmark. * * @author Vincent Gramoli */ public class Parameters { enum KeyDist { RANDOM, INCREASING } public static int numThreads = 1, numMilliseconds = 5000, numWrites = 0, ...
/* * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/** * Copyright 2006-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
/* * Copyright 2017 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 ...
package com.planet_ink.coffee_mud.Abilities.Skills; 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...
package com.youzu.android.framework.json.serializer; public interface NameFilter { String process(Object source, String name, Object value); }
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.network.v2018_08_01.implementation; import java....
/* * Copyright (C) 2017 Alberto Irurueta Carro (alberto@irurueta.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
package ru.stqa.training.selenium.pajetestapp.pages; import org.openqa.selenium.By; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.interactions.Actions; import java.util.List; import static org.openqa.selenium...
/** * Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith...
/* * 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 xdean.stackoverflow.java.annotation; import org.junit.After; public class ForQ49706464 { @After public void after() { } }
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package io.akwa.traquer.emptrack.ui.trackingsetting; /** * Created by rohitkumar on 10/31/17. */ public interface OnTimeChange { void onTimeChange(String hour,String mint); }
package com.marklogic.hub.dhs.installer.command; import com.beust.jcommander.Parameters; import com.fasterxml.jackson.databind.node.ObjectNode; import com.marklogic.appdeployer.command.Command; import com.marklogic.appdeployer.command.databases.DeployOtherDatabasesCommand; import com.marklogic.appdeployer.command.secu...
package com.example.krokosha.vpgant.di.scopes; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import javax.inject.Scope; /** * Created with care by Alexey.T on 04/08/2018. * <p> * TODO: Add a class header comment! */ @Scope @Retention(RetentionPolicy.RUNTIME) public @interfac...
package com.nitorcreations.willow.messages; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; public class AbstractMessage { private String instance = ""; public long timestamp = System.currentTimeMillis(); public List<String> tags = new ArrayList<>(); pr...
/* * Copyright 2014-2019 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 2017 HugeGraph Authors * * 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, Ve...
/* * Copyright (C) 2010 Trustees of the University of Pennsylvania * * 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 ...
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * Project Info: http://plantuml.com * * This file is part of Smetana. * Smetana is a partial translation of G...
/* * Copyright 2014 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 applicab...
/* * IndexMaintainer.java * * This source file is part of the FoundationDB open source project * * Copyright 2015-2018 Apple Inc. and the FoundationDB project 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...
/* * 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")...
package com.xiaocai.distran.serverstore.service.impl; import com.xiaocai.distran.serverstore.bean.StorageBean; import com.xiaocai.distran.serverstore.openfeign.AccountFeignClient; import com.xiaocai.distran.serverstore.mapper.StoreMapper; import com.xiaocai.distran.serverstore.service.StoreService; import io.sea...
copyright ibm corporation rights reserved program accompanying materials terms eclipse license accompanies distribution http eclipse org legal epl html contributors ibm corporation initial api implementation org eclipse pde internal editor site org eclipse core runtime core exception coreexception org eclipse pde core ...
/* * Copyright 2017-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...
package org.dionthorn.tacticalrpg2d.data.vocations; public class MartialVocation extends AbstractVocation { public MartialVocation() { this.perLevelHP = 30; this.perLevelAttack = 5; this.perLevelDefense = 20; this.perLevelCritical = 20; this.attack = this.perLevelAttack; ...
package org.smartregister.chw.hf.model; import androidx.annotation.NonNull; import org.smartregister.chw.fp.model.BaseFpRegisterFragmentModel; import org.smartregister.chw.fp.util.FamilyPlanningConstants; import org.smartregister.cursoradapter.SmartRegisterQueryBuilder; import org.smartregister.family.util.DBConstant...
/* 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 not...
package kemet.model.power; import kemet.model.Color; import kemet.model.KemetGame; import kemet.model.Player; import kemet.model.Power; import kemet.model.action.Action; import kemet.model.action.RecruitAction; public class MercenariesPower extends Power { private static final long serialVersionUID = -...
/* * Copyright 2011-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 "li...
/* * Copyright (C) The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package io.enotes.sdk.repository.card; import android.nfc.Tag; import android.nfc.tech.IsoDep; import android.support.annotation.NonNull; import org.ethereum.util.ByteUtil; import java.io.IOException; import java.util.concurrent.TimeUnit; import io.enotes.sdk.constant.ErrorCode; import io.enotes.sdk.repository.base...
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not ...
package org.springframework.security.web.session; import java.io.IOException; import java.util.List; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.ht...
package configuration; import net.minecraftforge.common.ForgeConfigSpec; public class ClockDirection { public static ForgeConfigSpec.ConfigValue<Boolean> CLOCK_ON; public static void init(ForgeConfigSpec.Builder SERVER_BUILDER, ForgeConfigSpec.Builder CLIENT_BUILDER) { CLIENT_BUILDER.comment("Direc...
/* * * 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"); y...
package com.zylsite.www.elasticjob.base; import org.springframework.boot.context.properties.ConfigurationProperties; /** * <p>Description: zookeeeper配置属性</p> * @author zhaoyl * @date 2019年1月12日 * @version v1.0 */ @ConfigurationProperties(prefix = "elasticjob.zk") public class ZookeeperProperties { /** * 连接Zo...
/* * $Id: RelayNode.java 2430 2005-12-11 15:17:11Z sim $ * * ace - a collaborative editor * Copyright (C) 2005 Mark Bigler, Simon Raess, Lukas Zbinden * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Softwa...
package Concrate; import Abstract.BaseSalesManagement; import Entities.Campaign; import Entities.Game; import Entities.Gamer; import java.util.List; import java.util.Scanner; public class SalesManagement implements BaseSalesManagement { Scanner scan = new Scanner(System.in); public void buy(Gam...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * isv 会员CRM数据回流 * * @author auto create * @since 1.0, 2019-10-18 19:10:20 */ public class KoubeiMemberDataIsvCreateModel extends AlipayObject { private static final long serialVe...
/** * 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"); yo...
/* * Copyright (C) 2017-2018 Dremio 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 l...
/* This file has been generated by Stubmaker (de.uka.ilkd.stubmaker) * Date: Wed Nov 26 11:26:00 CET 2014 */ package java.util; public interface Collection extends java.lang.Iterable { /*@ requires true; ensures true; assignable \everything; */ public int size(); /*@ requires true; ensures true; assignab...
// Copyright 2016 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
package tech.michaelx.networkwatcher.lib; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.ConnectivityManager; import java.lang.ref.WeakReference; import java.lang.reflect.InvocationTargetException; import...
package ca.uhn.fhir.rest.method; /* * #%L * HAPI FHIR - Core Library * %% * Copyright (C) 2014 - 2017 University Health Network * %% * 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 * ...
/* * Copyright 2000-2017 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...
/* * 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 co.edu.uniandes.csw.bicicletas.dtos; import java.io.Serializable; /** * Representa un objeto con login y password para poder...
/* * 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 to You under the Apache License, Version 2.0 * (the "License"); you...
package com.example.coolweather.db; import org.litepal.crud.DataSupport; /** * Created by Administrator on 2017/4/12. */ public class City extends DataSupport { private int id; private String cityName; private int cityCode; private int provinceId; public int getId() { return id; }...
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* * Copyright (C) 2018-2020. Huawei Technologies Co., Ltd. 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 * * U...
/** * */ package net.npg.abattle.common.utils; /** * @author Cymric * */ public class IntPoint { private static IntPoint[][] precalculated; public final int x; public final int y; private final int hashcode; private IntPoint(final int x, final int y) { super(); this.x = x; t...
/** * Copyright 2016 Yahoo 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 ...
/* * Copyright (c) 2018, Adam <Adam@sigterm.info> * 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 code must retain the above copyright notice, this * li...
/* * 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...
/* BSD 2-Clause License - see CiFi-Benchmark/LICENSE for details. */ package org.cifi.properties.field_assignability; /** * Annotation to state that the annotated field is non assignable * * @author Tobias Roth */ public @interface NonAssignableField { /** * A short reasoning of this property. */ ...
package openfoodfacts.github.scrachx.openfood.models; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import org.apache.commons.lang.StringUtils; import java.io.Serializable; @JsonIgnoreProperties(...
/* * @(#)IVCRTimecode.java 2009.02.24 at 09:44:52 PST * * Copyright 2007 MBARI * * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, Version 2.1 * (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.gnu.org/copyleft/le...
package io.reneses.tela.core.databases.extensions; import io.reneses.tela.core.databases.orientdb.OrientGraphWrapper; /** * Database extension used for OrientDb */ public abstract class OrientDatabaseExtension implements DatabaseExtension<OrientGraphWrapper> { }
package io.digdag.server.rs; import com.google.common.base.Optional; public class QueryParamValidator { public static int validatePageSize(Optional<Integer> pageSize, int maxPageSize, int defaultPageSize) throws IllegalArgumentException { if (!pageSize.isPresent()) { return defaultPageSize...
package www.qingxiangyx.litemall.wx.util; public class WxResponseCode { public static final Integer AUTH_INVALID_ACCOUNT = 700; public static final Integer AUTH_CAPTCHA_UNSUPPORT = 701; public static final Integer AUTH_CAPTCHA_FREQUENCY = 702; public static final Integer AUTH_CAPTCHA_UNMATCH = 703; ...
package org.givwenzen; public class StepClassWhoseOnlyConstructorIsUnrelatedToAnythingStepFinderKnowsAbout { private String name; public StepClassWhoseOnlyConstructorIsUnrelatedToAnythingStepFinderKnowsAbout(String name) { this.name = name; } public String getName() { return name; ...
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.ap...
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInsight.daemon.impl.analysis; import com.intellij.codeInsight.daemon.JavaErrorMessages; import com.intellij.codeInsight.daemon.impl.HighlightInfo; import...
/* * 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.threenary.server.config; import java.io.IOException; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.ContainerResponseContext; import javax.ws.rs.container.ContainerResponseFilter; import javax.ws.rs.ext.Provider; @Provider public class CORSFilter implements ContainerRe...
package com.wy.model; public class MessBullets extends EnemyShot { private float x_ziki; private float y_ziki; private float x_enemy; private float y_enemy; private float distance; private float speed; private int counter; public MessBullets(float x, float y, Battle ziki) { super(x, ...
package com.cutsquash.objloader2; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.nio.*; import com.jogamp.opengl.GL2; import processing.core.*; public class Segment { public ArrayList<Face> faces; public String materialName; public IntBuffer indexIB; public Flo...
package com.github.airk.triggertest; import android.os.Bundle; import android.os.Handler; import android.os.HandlerThread; import android.os.Looper; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.ProgressBar; import a...
package com.jdawg3636.icbm.common.event; import com.jdawg3636.icbm.common.entity.EntityLingeringBlast; import com.jdawg3636.icbm.common.reg.EntityReg; import com.jdawg3636.icbm.common.reg.SoundEventReg; import net.minecraft.util.Direction; import net.minecraft.util.math.BlockPos; import net.minecraft.world.server.Serv...
package mx.nic.rdap.sql.model; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.logging.Level; import java.util...
/********************************************************************************* * * * The MIT License (MIT) * * ...
/* * Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
package p; public class Enum_in { public void foo() { E e = E.A; } } enum E implements { A(1) { } , B(2) { } , C(3) { } ; public E(/*]*/ int i) { } }
/** * Copyright (c) 2014, 2015, ControlsFX * 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 ...
/* * Copyright (c) 2018. Manuel D. Rossetti, rossetti@uark.edu * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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 ...
public class HPL { private int[] turingStrip; private int turingPointer; private String program; private int instructionPointer; public void setProgram(String program) { this.program = program; } public void solve() { turingStrip = new int[400]; turingPointer = 0; instructionPointer =...
package com.kirchnersolutions.form.math; public class TrigCosine { private double a, b, c, d, y, x, difa, difb, difc, tanslope, defint; private String cosdif, cosint; private boolean solution; public double PI = 4 * Math.atan(1); public TrigCosine(double a, double b, double c, double d, double y)...
/* * Copyright 2020 Vonage * * 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...
package com.sure_meet_34011; import com.facebook.react.ReactActivity; public class MainActivity extends ReactActivity { /** * Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component. */ @Override protected String getMainComponentName() {...
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package produceProjectiles; public class PhyllosilicatePreclude { public static synchronized int newTotal() { int johannes = 1232024323; return foundedIndictment; } static int symbolism = -1862348930; public synchronized String toString() { double glowerSure = 0.888933102476887; return "Prod...
package gridinitializers; import cellclasses.*; import cellsociety_team24.Grid; import filereadcheck.FileReader; import javafx.scene.Group; import ruleEnforcers.WaTorRuleEnforcer; public class WaTorGridInitializer extends GridInitializer{ private int sharkEnergy; private int fishEnergy; private final String shar...
package tag.hashtable; import java.util.ArrayList; import java.util.List; import java.util.TreeMap; /** * @author Haoming Chen * Created on 2019/10/15 */ public class IntersectionOfTwoArraysII_350 { public int[] intersect(int[] nums1, int[] nums2) { TreeMap<Integer, Integer> eleMap = new TreeMap<>(); ...
/* * 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.alipay.api.response; import java.util.List; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; import com.alipay.api.domain.AmpeCategoryInfo; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.open.mini.ampe.category.batchquery res...
package com.example.duy.calculator.view; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.util.AttributeSet; import com.example.duy.calculator.DLog; import com.example.duy.calculator.R; import io.github.kexanie.library.MathView; im...
package com.ximcomputerx.formusic.service; import android.app.Service; import android.content.Intent; import android.os.IBinder; import androidx.annotation.Nullable; public class DownloadService extends Service { @Override public void onCreate() { super.onCreate(); } @Nullable @Override ...
package org.mini2Dx.core.collections.concurrent; import org.junit.Test; import java.util.concurrent.CountDownLatch; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; public class ConcurrentLongQueueTest extends ConcurrentCollectionTest { @Override public void testGet...
/** * */ package org.devgateway.toolkit.persistence.service.category; import org.devgateway.toolkit.persistence.dao.categories.Staff; import org.devgateway.toolkit.persistence.repository.category.StaffRepository; import org.devgateway.toolkit.persistence.repository.norepository.BaseJpaRepository; import org.springf...
// ============================================================================ // Copyright (c) 2017-2021 Nawapunth Manusitthipol (NawaMan - http://nawaman.net). // ---------------------------------------------------------------------------- // MIT License // // Permission is hereby granted, free of charge, to any pe...
package org.workcraft.types; public interface Func<T, R> { R eval(T arg); }