text
stringlengths
7
995k
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: xyz/redtorch/pb/core_enum.proto package xyz.redtorch.pb; public final class CoreEnum { private CoreEnum() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void regist...
/* * The MIT License * * Copyright (c) 2009-2020 PrimeTek * * 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...
public static long GCD(long a, long b) { if (b == 0) return a; else return GCD(b, a % b); }
/* * Copyright Bosch Software Innovations GmbH, 2016. * With modifications by Siemens AG, 2018. * Part of the SW360 Portal Project. * * SPDX-License-Identifier: EPL-1.0 * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 *...
package com.volmit.react.xrai; import com.volmit.react.React; import com.volmit.react.api.ActionType; import com.volmit.react.api.ChunkIssue; import com.volmit.react.api.ISelector; import com.volmit.react.api.RAIActionSource; import com.volmit.react.api.SelectionMode; import com.volmit.react.api.SelectorEntityType; 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 may...
// Copyright 2000-2021 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.testFramework.vcs; import com.intellij.openapi.vcs.FilePath; import com.intellij.openapi.vcs.changes.ContentRevision; import com.intellij.openapi.vcs.history...
/* * 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 de.uni.bielefeld.sc.hterhors.psink.obie.projects.scio.ontology.classes; import de.uni.bielefeld.sc.hterhors.psink.obie.projects.scio.ontology.interfaces.*; import java.lang.NoSuchMethodException; import de.hterhors.obie.core.ontology.interfaces.IDatatype; import de.hterhors.obie.core.ontology.annotations.Super...
/* * 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 may ...
package net.cakebuild.settings; import com.intellij.ide.ui.laf.darcula.DarculaUIUtil; import net.cakebuild.shared.ui.RegexInputVerifier; import net.cakebuild.shared.ui.VerbosityComboBox; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; public class Ca...
/* * Copyright 2015 Loic Merckel * * 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 ...
/** * 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 me.giraffetree.java.boomjava.alg.graph; /** * @author GiraffeTree * @date 2020/1/21 */ public interface IGraph { /** * 顶点数 * vertex count */ int V(); /** * 边数 * edge count */ int E(); /** * 向图中添加一条边 v-w */ void addEdge(int v, int w); /*...
package com.ryanpmartz.booktrackr.authentication.dto; public class LoginRequest { private String username; private String password; public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public String getUs...
package net.ahmettalha.javahrmsbackend.dataAccess.abstracts; import net.ahmettalha.javahrmsbackend.entities.concretes.Resume; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; public interface ResumeDao extends JpaRepository<Resume, Integer> { List<Resume> findAllByCandidateUse...
package com.baeldung.concurrent.threadsafety.services; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantReadWriteLock; public class ReentrantReadWriteLockCounter { private int counter; private final ReentrantReadWriteLock rwLock = new ReentrantReadWriteLock(); privat...
/* * Copyright 2002-2012 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...
/* The MIT License Copyright (c) 2010-2020 Paul R. Holser, Jr. 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, mod...
package com.ksyzt.gwt.client.site; import com.google.gwt.core.client.GWT; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com.google.gwt.uibinder.client.UiHandler; import com.google.gwt.user.client.ui.Composite; im...
package maru.core.model; import java.util.Collection; public interface IGroundstationContainer extends IScenarioElement, IParent { Collection<IGroundstation> getGroundstations(); }
/* * Copyright (c) 2020-2021 Heiko Bornholdt and Kevin Röbert * * 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...
package org.apache.rya.accumulo.mr.tools; import java.util.Map; import org.apache.accumulo.core.Constants; import org.apache.accumulo.core.client.BatchWriter; import org.apache.accumulo.core.client.BatchWriterConfig; import org.apache.accumulo.core.client.Connector; import org.apache.accumulo.core.client.Scanner; imp...
package net; import net.minecraft.client.renderer.block.model.BlockFaceUV; public class a4b { public static float c(BlockFaceUV var0, int var1) { return var0.func_178348_a(var1); } public static float b(BlockFaceUV var0, int var1) { return var0.func_178346_b(var1); } public static int a(B...
package org.jumpmind.db.platform.cassandra; import org.jumpmind.db.sql.AbstractJavaDriverSqlTemplate; public class CassandraSqlTemplate extends AbstractJavaDriverSqlTemplate { @Override public String getDatabaseProductName() { return "cassandra"; } }
package com.myexamples.exceptions; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; public class ArrayException { public static void main(String[] args) { FileInputStream fis = null; try { int arr[] = { 1, 2, 3, 4, 5 }; // System.out.println(arr[5]); fis ...
/* * Copyright 2022 Adrian Herscu * * 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 t...
package kr.co.popone.fitts.feature.refund; import android.widget.TextView; import io.reactivex.functions.Consumer; import kotlin.jvm.internal.Intrinsics; import kr.co.popone.fitts.C0006R$color; import kr.co.popone.fitts.C0010R$id; final class RefundApplyActivity$onCreate$19<T> implements Consumer<Boolean> { final...
package br.com.alura.spring.data.repository; import java.time.LocalDate; import java.util.List; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframewo...
/* * Copyright 2014 Nicolas Morel * * 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 t...
/* * Copyright 2002-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 ap...
/*** * ASM tests * Copyright (c) 2000-2011 INRIA, France Telecom * 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 * ...
package ch.jalu.configme.configurationdata; import ch.jalu.configme.SettingsHolder; import ch.jalu.configme.exception.ConfigMeException; import ch.jalu.configme.properties.Property; import ch.jalu.configme.resource.PropertyReader; import java.util.Collections; import java.util.HashMap; import java.util.List; import j...
/* * Copyright 2000-2016 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 com.netease.test; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import com.netease.dagger.BrowserEmulator; /** * 判断页面上的可见文本 * @author WeiYating */ public class IsTextPresentOperations { ...
/******************************************************************************* * 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. * *...
// linkStack.java // a stack implemented by a linked list // Compared an array, the linked list is faster: // i) nothing needs to be moved when an item is inserted or deleted // ii) linked list uses exactly as much memory as it needs, and can expand to // fill all of the available memory while the size of an array ...
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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.apa...
package com.bellenorthe.fruity.models; public class PlacedOrderModel { private String orderid,no_of_items,total_amount,delivery_date,payment_mode,deleiveryname,deliveryemail,deliverymobile_no,deliveryaddress,deliverypincode; private String placed_user_name,Placed_user_email,Placed_user_mobile_no; public ...
package org.swtk.commons.dict.wordnet.indexbyname.instance.u.s.s; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.IndexNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounIndexNameInsta...
/* * 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 me.giose0x56.goosegame.application.command; import me.giose0x56.goosegame.domain.GooseGame; import me.giose0x56.goosegame.domain.exception.PlayerExistException; import java.io.PrintStream; public class AddPlayerCommand implements GooseGameCommand { private final GooseGame gooseGame; private final Pr...
package com.vimukti.api.crud; import java.util.Date; import java.util.HashMap; import java.util.Map; import com.vimukti.accounter.developer.api.ApiSerializationFactory; import com.vimukti.api.core.ApiCallback; import com.vimukti.api.core.ApiRequest; import com.vimukti.api.process.RequestPeocesser; public class Reque...
package net.minecraft.client.resources.data; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParseException; import com.google.gson.JsonSerializationContext; import com.google.gson.JsonSerializer; import java.lang.refl...
package com.atguigu.gmall.oms.service; import com.baomidou.mybatisplus.extension.service.IService; import com.atguigu.gmall.common.bean.PageResultVo; import com.atguigu.gmall.common.bean.PageParamVo; import com.atguigu.gmall.oms.entity.OrderEntity; import java.util.Map; /** * 订单 * * @author Mr.xiao * @email xiao...
/** * Copyright 2017 FreshPlanet * 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...
/* * 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...
/* * 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...
import java.awt.Color; /* * 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. */ /** * * @author mukul */ public class Contact extends javax.swing.JFrame { /** * Creates new form...
/* * Copyright (c) 2014, Oracle America, Inc. * 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 o...
package com.lakala.crossborder.client.entities.query; import com.lakala.crossborder.client.entities.LklCrossPaySuperRes; /** * <p>拉卡拉跨境支付-汇率查询请求业务参数</p> * * @author jiangzhifei jiangzhifei@lakala.com */ public class ExchangeRateQueryRes extends LklCrossPaySuperRes { private static final long serialVersionUID...
package com.wiley.wrox.chapter8; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { super...
/* * 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...
package org.jboss.resteasy.plugins.validation; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.security.AccessController; import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import java.util.ArrayList; import java.util.List; i...
package com.livinglifez.jum.particles; public class Proton extends Particle { public Proton(){ super(1); } }
package com.stylefeng.guns.core.common.constant; /** * * 多数据源的枚举 * * @author fengshuonan * @date 2017年3月5日 上午10:15:02 */ public interface DatasourceEnum { String DATA_SOURCE_GUNS = "dataSourceGuns"; //guns数据源 String DATA_SOURCE_BIZ = "dataSourceBiz"; //其他业务的数据源 String DATA_SOURCE_FINANCING = "dataSou...
/* Copyright 2012 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 in w...
/* * The MIT License (MIT) * * Copyright (c) 2014 Vincent Zhang * * 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...
/** * Copyright &copy; 2012-2016 邯郸市众翔信息科技有限公司 All rights reserved. */ package com.zx.platform.modules.test.service; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.zx.platform.common.service.CrudService; import com.zx.platform.modules.test....
/* * MIT License * * Copyright (c) 2021-2022 yangrunkang * * Author: yangrunkang * Email: yangrunkang53@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 Software without restricti...
//package org.monarchinitiative.phenol.io.obo.uberpheno; // //import java.io.BufferedReader; //import java.io.File; //import java.io.FileReader; //import java.io.IOException; // //import org.monarchinitiative.phenol.formats.uberpheno.UberphenoGeneAnnotation; //import org.monarchinitiative.phenol.io.base.TermAnnotationP...
/* * Copyright 2002-2005 Sascha Weinreuter * * 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 agr...
package eu.midnightdust.motschen.decorative.block; import eu.midnightdust.motschen.decorative.block.blockentity.ShowerHeadBlockEntity; import eu.midnightdust.motschen.decorative.init.BlockEntities; import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; import net.minecraft.block.*; import net.mine...
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2013 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
/* * Copyright 2021-2021 Monkey Group. * * 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...
package oracle.java.mvc23e; import java.text.DateFormat; import java.util.Date; import java.util.Locale; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.crypto.password.PasswordEncoder; import org.springframewo...
/* The contents of this file are subject to the license and copyright terms * detailed in the license directory at the root of the source tree (also * available online at http://fedora-commons.org/license/). */ package org.fcrepo.server.storage.service; import java.util.Hashtable; /** * @author Sandy Payette */...
package com.trian.singleadapter; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activit...
// This is a generated file. Not intended for manual editing. package com.tezos.lang.michelson.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface PsiEmptyBlock extends PsiBlockInstruction { }
package com.zbw.fame.model.param; import lombok.Data; import javax.validation.constraints.Email; import javax.validation.constraints.NotBlank; /** * @author by zzzzbw * @since 2021/1/19 20:54 */ @Data public class ResetUserParam { @NotBlank(message = "用户名不能为空") private String username; @NotBlank(mess...
package org.apereo.cas.ws.idp.web; import org.apereo.cas.CasProtocolConstants; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.services.UnauthorizedServiceException; import org.apereo.cas.util.CollectionUtils; import org.apereo.cas.util.function.FunctionUtils; import org.apereo.cas.web.fl...
/* * 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")...
/* * 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 champelecpckg; import basepckg.Particule; public class Electron extends Particule { public Electron(double posx, double posy, double vx, double vy) { super(posx, posy, vx, vy); this.attributs.put("masse", 9.1e-31); } }
package com.gitclone.classnotfound.model; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "cnf_roots") public class Cnf_roots { private long id...
package com.company; import java.util.Scanner; public class SquareOfStars { Scanner scanner = new Scanner(System.in); int n = Integer.parseInt(scanner.nextLine()); for (int r=0; r < n; r++) { for (int k=0; k < n; k++) { if (k == 0 || r == 0) { System....
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package android.databinding.adapters; import android.databinding.InverseBindingListener; import android.widget.TimePicker; // Referenced classes of packa...
package com.harlie.radiotheater.radiomysterytheater; import android.annotation.SuppressLint; import android.content.Intent; import android.content.res.Configuration; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.Drawable; ...
/* * 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 ...
/* * 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.gradle.tests26; import org.junit.Test; public class Test26_9 { @Test public void myTest() throws Exception { Thread.sleep(5); } }
package com.horstmann.annotations; import java.beans.Introspector; import java.io.IOException; import java.io.PrintWriter; import java.util.Set; import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.RoundEnvironment; import javax.annotation.processing.SupportedAnnotationTypes; impor...
/* * Code Lyoko Mod for Minecraft ${version} * Copyright 2014 Cortex Modders, Matthew Warren, Jacob Rhoda, and other contributors. * Released under the MIT license http://opensource.org/licenses/MIT */ package net.cortexmodders.lyoko.slots; import net.cortexmodders.lyoko.container.ContainerSuperCalc; import net.c...
package com.sample.tanay.dynamicspinner; import android.annotation.TargetApi; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget....
package com.charleskeith.core.domain.users; import com.charleskeith.core.domain.AbstractDomain; import com.charleskeith.core.domain.shared.BeanProvider; import java.util.List; /** * 2016/6/3 * Table: roles * * @author Shengzhao Li */ public class Roles extends AbstractDomain { private static final long seri...
/* * Copyright 2003-2015 Dave Griffith, Bas Leijdekkers * * 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 com.developerbus.getcondo; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBar; import android.support...
package com.lewdev.probabilitylib; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.ThreadLocalRandom; import java.util.stream.Collectors; /** * ProbabilityMap to easily handle probability <br> * <br> * * <b>Selection Algorithm Implementation</b>: * <...
package codesample.leetcode.medium; /** * 5. Longest Palindromic Substring — https://leetcode.com/problems/longest-palindromic-substring/ * <p> * Given a string s, return the longest palindromic substring in s. */ public class _5_LongestPalindromicSubstring { static class Solution { public String longe...
package operacion; public class Division { public class division extends Operacion { private float t; private char sig; private String oper; public division (float numero1, float numero2) { super(numero1, numero2); } public float getRes () { t = num1 / num2; return t; } public Stri...
/* * 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 2019 The JoyQueue 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 com.github.alex1304.ultimategdbot.gdplugin.database; import org.jdbi.v3.sqlobject.customizer.BindPojo; import org.jdbi.v3.sqlobject.statement.SqlUpdate; public interface GDLevelRequestReviewDao { String TABLE = "gd_level_request_review"; @SqlUpdate("INSERT INTO " + TABLE + " VALUES (NULL, :reviewerId, " ...
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 license...
package com.jobisjob.executor; import java.util.concurrent.ThreadFactory; import java.util.concurrent.atomic.AtomicInteger; public class DefaultNamedThreadFactory implements ThreadFactory { private static final AtomicInteger poolNumber = new AtomicInteger(1); private final ThreadGroup group; private final...
/********************************************************************************* * * * The MIT License (MIT) * * ...
package com.pierless.space.data; import com.google.api.client.util.Key; /** * Created by dschrimpsher on 7/26/15. */ public class DEFINITIONS { @Key private COOSYS COOSYS; public COOSYS getCOOSYS () { return COOSYS; } public void setCOOSYS (COOSYS COOSYS) { this.COOSYS...
package com.lily.http.network.client; import android.content.Context; import com.lily.http.network.interceptor.HeaderInterceptor; import com.lily.http.network.interceptor.LoggerInterceptor; import com.lily.http.network.listener.DisposeDataHandle; import com.lily.http.network.response.FileCallback; import com.lily.htt...
/** */ package ConceptualScenarioMetaModel.tests; import ConceptualScenarioMetaModel.ConceptualScenarioMetaModelFactory; import junit.framework.TestCase; import junit.textui.TestRunner; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Exception</b></em>'. * <!-- end-user-doc --> * @gene...