text
stringlengths
3.52k
24k
package com.googlecode.jmeter.plugins.webdriver.config; import com.googlecode.jmeter.plugins.webdriver.proxy.ProxyFactory; import com.googlecode.jmeter.plugins.webdriver.proxy.ProxyHostPort; import com.googlecode.jmeter.plugins.webdriver.proxy.ProxyType; import java.util.Map; import java.util.concurrent.ConcurrentHas...
/* * 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 ...
/* * This file is licensed under the MIT License, part of architectury-transformer. * Copyright (c) 2020, 2021 architectury * * 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 res...
package com.prymon.tools.eastheif.bean; import java.util.List; /** * Created by MiChong on 2017/11/22 0022. */ public class Comment { /** * result : {"songs":[{"duration":135079,"rtype":0,"ftype":0,"artists":[{"img1v1Url":"http://p1.music.126.net/6y-UleORITEDbvrOLV0Q8A==/5639395138885805.jpg","img1v1":0,...
/* * Copyright (c) 2019 Elastos Foundation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, ...
/** * Copyright (C) 2008 <NAME> <<EMAIL>> * * 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...
/* * eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency, * accountability and the service delivery of the government organizations. * * Copyright (C) 2017 eGovernments Foundation * * The updated version of eGov suite of products as by eGovernments Foundation * ...
package com.icy.chatscreen; import android.content.Intent; import android.content.SharedPreferences; import android.os.Build; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import androidx.annotati...
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002-2010 Oracle. All rights reserved. * * $Id: RoundRobinTest.java,v 1.37 2010/01/04 15:51:05 cwl Exp $ */ package com.sleepycat.je.rep.impl; import java.io.File; import java.util.Enumeration; import java.util.logging.Logger; import...
/* * Copyright (c) 2005, 2006, 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 ...
/* ZkEventProcessDefinitionSourceImpl.java {{IS_NOTE Purpose: Description: History: Oct 1, 2008 4:25:22 PM, Created by henrichen }}IS_NOTE Copyright (C) 2008 Potix Corporation. All Rights Reserved. {{IS_RIGHT This program is distributed under GPL Version 2.0 in the hope that it will be useful, but WITHO...
/* * Copyright (c) 2014, 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 Softwa...
/* * This file is part of CycloneDX Core (Java). * * 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 ...
/* * Copyright 2012-2017 <NAME> 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 agr...
/* * 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 datawave.iterators.filter; import datawave.iterators.filter.ageoff.AppliedRule; import datawave.iterators.filter.ageoff.FilterOptions; import org.apache.accumulo.core.conf.DefaultConfiguration; import org.apache.accumulo.core.data.Key; import org.apache.accumulo.core.data.Value; import org.apache.accumulo.core...
package co.edu.uniandes.csw.bicicletas.resources; import co.edu.uniandes.csw.bicicletas.dtos.MedioPagoDTO; import co.edu.uniandes.csw.bicicletas.ejb.MedioPagoLogic; import co.edu.uniandes.csw.bicicletas.ejb.VendedorMedioPagoLogic; import co.edu.uniandes.csw.bicicletas.entities.MedioPagoEntity; import co.edu.unia...
/** * Copyright (c) 2015 The JobX Project * <p> * 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 ...
package com.amitshekhar.tflite; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphic...
package com.electro593.platformGame; import com.electro593.platformGame.Entity; import com.electro593.platformGame.Tile; import com.electro593.platformGame.Defines; import com.electro593.platformGame.JSONReader; import com.electro593.platformGame.TextureCache; import org.json.simple.JSONArray; import org.json.simple...
/* * 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 jseabattlerouter; import java.util.*; import java.nio.channels.*; import java.nio.*; import java.net.*; import java...
/* * 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 (C) 2012-2019 <NAME> * * 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 ...
/* * 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 Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that...
/* * Copyright (C) 2010 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...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.microsoft.azure.storage.blob; import com.microsoft.azure.storage.blob.models.StorageErrorException; import com.microsoft.azure.storage.blob.models.UserDelegationKey; import io.reactivex.Single; import javax.cr...
package shadersmod.client; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.g...
/* * Copyright (c) 2005-2010 <NAME>. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, * this list of conditi...
/* * Copyright 1998-2015 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose the following obligations * and understandings on...
/* * Copyright 2010 The Closure Compiler 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...
package eu.h2020.helios_social.core.messaging.sync; import android.os.Handler; import android.os.HandlerThread; import android.text.TextUtils; import android.util.Log; import com.google.common.hash.BloomFilter; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; import java.util.ArrayList; imp...
package com.wcohen.ss.expt; import com.wcohen.ss.*; import com.wcohen.ss.api.*; import java.io.*; import java.util.*; /** * Perform a matching experiment using a data file, distance function * and blocker. */ public class MatchExpt { public static final String BLOCKER_PACKAGE = "com.wcohen.ss.expt."; pub...
/* BSD 2-Clause License Copyright (c) 2019, Beigesoft™ 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...
package io.github.natashamir.pbn_project;/* * File : PbnGameTags.java * Author : <NAME> * Date : 2012-04-28 * PBN : 2.1 * * History * ------- * 1999-03-28 Added GetScoreTable(). * 1999-03-28 Added GetTotalScoreTable(). * 1999-04-19 Changed PbnTagID.NUMBER_20. * 1999-07-05 Added other t...
/* * Copyright 1999-2003 Carnegie Mellon University. * Portions Copyright 2003 Sun Microsystems, Inc. * Portions Copyright 2003 Mitsubishi Electric Research Laboratories. * All Rights Reserved. Use is subject to license terms. * * See the file "license.terms" for information on usage and * redistribution o...
/* * 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 (c) 2015-2016 Fraunhofer FOKUS * 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 o...
/* * Autopsy Forensic Browser * * Copyright 2020 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> 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://ww...
package org.gooru.nucleus.handlers.courses.processors.repositories.activejdbc.entities; import java.sql.SQLException; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.gooru.nucleus.h...
import net.runelite.mapping.Export; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("cs") public enum class82 implements MouseWheel { @ObfuscatedName("o") @ObfuscatedSignature( descriptor = "Lcs;" ) field10...
package com.tg.tgt.ui; import android.app.Dialog; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore; import android.support.annotation.Nullable; impor...
package cn.nicolite.huthelper.view.activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.drawable.BitmapDrawable; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.text.TextUtils; 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 ...
/* * Copyright (C) 2015, 2016 higherfrequencytrading.com * Copyright (C) 2016 <NAME> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of ...
package org.zv.fintrack; import java.util.Calendar; import java.util.HashMap; import java.util.List; import java.util.ArrayList; import java.util.Map; import android.app.Activity; import android.app.DatePickerDialog; import android.app.Dialog; import android.content.Intent; import android.os.Bundle; import android.te...
/* * 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 net.spifftastic.sparse; import java.util.Arrays; /** * Created with IntelliJ IDEA. User: ncower Date: 01/17/13 Time: 07:10 PM To change this template use File | Settings | * File Templates. */ public class SparseParser { public interface ParseListener { void parsedName(String name); void parse...
package com.blocklang.develop.model; import java.time.LocalDateTime; import java.util.Locale; import javax.persistence.Column; import javax.persistence.Convert; import javax.persistence.Entity; import javax.persistence.Table; import javax.persistence.Transient; import javax.persistence.UniqueConstraint; ...
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002-2010 Oracle. All rights reserved. * * $Id: ReplicaFeederHandshake.java,v 1.41 2010/01/04 15:50:48 cwl Exp $ */ package com.sleepycat.je.rep.stream; import static com.sleepycat.je.rep.impl.RepParams.GROUP_NAME; import static com.s...
package app.controller; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowir...
package com.example.currancy_converter; import android.os.Bundle; import android.view.View; import android.view.Window; import android.view.WindowManager; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.EditText; import android.widget.Spinner; import android.widget.Toast; impo...
/*- * #%L * athena-mysql * %% * Copyright (C) 2019 - 2021 Amazon Web Services * %% * 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...
package de.fau.pi1.timerReporter.writer; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.logging.Level; import java.util.regex.Matcher; import de.fau.pi1.timerReporter.dataset.Datas...
package org.polypheny.db.adapter; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.gson.JsonObject; import com.google.gson.JsonSerializer; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Mo...
package com.yuxuan66.framework.ehi.weixin.utils; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import com.yuxuan66.framework.ehi.weixin.support.EhiWeixin; import com.yuxuan66.frame...
/* Derby - Class org.apache.derby.impl.sql.execute.LastIndexKeyResultSet Copyright 1999, 2004 The Apache Software Foundation or its licensors, as applicable. 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 ...
/* * (C) Copyright 2016 <NAME>. * * 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.tz.serviceImpl; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletResponse; import org.apache.shiro.SecurityUtils; import org.apache.shiro.subject.Subject; import org...
package com.apigee.sdk.apm.android.crashlogging; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStreamReader; import java.lang.Thread.UncaughtExceptionHandler; import java.util.UUID; import androi...
package projects.encryptor.controller; import com.jfoenix.animation.alert.JFXAlertAnimation; import com.jfoenix.controls.JFXAlert; import com.jfoenix.controls.JFXButton; import com.jfoenix.controls.JFXDialog; import com.jfoenix.controls.JFXDialogLayout; import com.jfoenix.controls.JFXTextArea; import com.jfoen...
package com.utopian.analytics.transforms; import java.io.IOException; import java.nio.ByteBuffer; import java.util.Collections; import java.util.HashMap; import java.util.Map; import com.google.common.base.Objects; import io.confluent.connect.avro.AvroConverter; import io.confluent.kafka.schemaregistry.ParsedSchema;...
/** * Copyright (C) 2004-2011 Jive Software. 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 requir...
package com.bright.com.train1010; import android.annotation.TargetApi; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.os.Build; import android.os.SystemClock; import android.util.AttributeSet; im...
package org.kuali.coeus.common.budget.framework.core; import org.kuali.coeus.common.budget.framework.copy.DeepCopyIgnore; import org.kuali.coeus.common.budget.framework.rate.RateClass; import org.kuali.coeus.sys.api.model.ScaleTwoDecimal; import org.kuali.coeus.sys.framework.model.KcPersistableBusinessObjectBase; impo...
/* * This file is part of choco-solver, http://choco-solver.org/ * * Copyright (c) 2022, IMT Atlantique. All rights reserved. * * Licensed under the BSD 4-clause license. * * See LICENSE file in the project root for full license information. */ package org.chocosolver.solver.constraints; import org.chocosolver...
package edu.hawaii.its.api.service; import edu.hawaii.its.api.repository.PersonRepository; import edu.hawaii.its.api.type.GroupingsServiceResult; import edu.hawaii.its.api.type.Person; import edu.internet2.middleware.grouperClient.ws.GcWebServiceError; import edu.internet2.middleware.grouperClient.ws.beans.WsAddMembe...
/*************************************************************************** * (C) Copyright 2003-2012 - Marauroa * *************************************************************************** *************************************************************************** * ...
/** * Copyright 2009-2017 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...
package controllers; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Objects; import com.avaje.ebean.Ebean; import com.avaje.ebean.text.json.JsonContext; import com.braintreegateway.BraintreeGateway; import com.braintreegateway.ClientTokenReque...
package org.jeecg.modules.stockin.controller; import java.io.IOException; import java.util.*; import java.util.stream.Collectors; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.jeecgframework.poi.excel.ExcelImportUtil; import org.jeecgframework.poi.excel.def.N...
/* * (c) 2015 - Copyright Marlin Trust Management Organization * * 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 ...
/* * Copyright 2017 LinkedIn Corp. * * 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 i...
/*------------------------------------------------------------------------- * * Copyright (c) 2004-2012, PostgreSQL Global Development Group * Copyright (c) 2004, Open Cloud Limited. * * *------------------------------------------------------------------------- */ package org.postgresql.core.v3; import java.io.InputSt...
package com.neu.neuer.view; import android.app.Fragment; import android.content.Intent; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.os.Handler; import android.support.annotation.Nullable; import android.support.v4.view.ViewPager; import androi...
package lab; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import javax.s...
/* * Copyright 2010 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 applica...
package com.br.pontu.services; import java.security.NoSuchAlgorithmException; import java.sql.Connection; import java.sql.ResultSet; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.List; import org.springframework.beans...
/* * 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 DataPersistence; import Acquaintance.ICase; import Acquaintance.ICaseNote; import Acquaintance.IInformationGathering;...
/*- * #%L * Genome Damage and Stability Centre SMLM ImageJ Plugins * * Software for single molecule localisation microscopy (SMLM) * %% * Copyright (C) 2011 - 2020 <NAME> * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * pub...
/* * Copyright 2021 Google LLC * * 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 agreed to ...
package nefra.jfx; import javafx.event.ActionEvent; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.layout.*; import nefra.jfx.club.CreateClubGUI; import nefra.jfx.club.EditClubGUI; import nefra.jfx.club.ViewClubGUI; import nefra.jfx.game.*; import nefra.jfx.help.AboutGUI; impo...
/* * Copyright (C) 2004-2016 L2J DataPack * * This file is part of L2J DataPack. * * L2J DataPack 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 Software Foundation, either version 3 of the License, or * (at your option...
package dev.jbang.cli; import static dev.jbang.Settings.CP_SEPARATOR; import static java.lang.System.out; import java.io.File; import java.io.IOException; import java.nio.file.*; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import com.sun.nio.file.Se...
/* * Copyright (c) 2012, WSO2 Inc. (http://www.wso2.org) 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 * * Un...
package tss.tpm; import tss.*; // -----------This is an auto-generated file: do not edit //>>> /** * This command is used to prove the association between an object and its creation data. The * TPM will validate that the ticket was produced by the TPM and that the ticket validates * the associati...
package lc.datastruct.strings; import lc.DisplayUtil; import javax.management.MXBean; import java.util.Arrays; /** * @Author: h2linlin * * 14. 最长公共前缀 * 编写一个函数来查找字符串数组中的最长公共前缀。 * * 如果不存在公共前缀,返回空字符串 ""。 * * * 示例 1: * * 输入:strs = ["flower","flow","flight"] * 输出:"fl" * 示例 2: * * 输入:strs = ["dog","racecar"...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See License.txt in the repository root. package com.microsoft.tfs.client.common.ui.teambuild; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import ja...
package org.bhavaya.ui; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Set; /** * Description * * @author <NAME> * @version $Revision: 1.1 $ */ public cla...
package gui.forms; import javax.swing.*; import util.APIRequests; import face.FaceManager; import face.Icons; import face.TwitchFace; import face.FrankerFaceZ; import java.awt.*; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.awt.event.MouseListener; import java.io.File; import java.ne...
package org.monarchinitiative.phenopacket; import com.google.common.collect.ImmutableList; import com.google.protobuf.util.JsonFormat; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; import org.monarchinitiative.phenol.base.PhenolRuntimeExcep...
package gr.iti.mklab.models; import java.io.Serializable; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.mongodb.morphia.annotations.En...
/* * 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 (C) 2018 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 pknudsen.example.com.foobar; /** * Java packages */ import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.HashMap; import java.util.Map; import java.util.Random;...
package main.tetris.core; /** * This is the movement implementation of the {@link Tetris tetris} class. */ public class TetrisSimulator extends Tetris implements TetrisSimulatorImpl { /** * This is the current tick frame. * * @see <a href="https://tetris.com/">https://tetris.com/</a> */ protect...
package main; import processing.core.PApplet; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class PurePursuit extends PApplet { // list of the points of the path private List<float[]> path; // list of the points of the path drawn by the follower private List<floa...
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are subject to the terms of either the Universal Permissive License * v 1.0 as shown at http://oss.oracle.com/licenses/upl * * or the follo...
/* ### * IP: GHIDRA * REVIEWED: YES * * 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 2018 The Humanity Preservation Foundation 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 Un...
package housing; import java.util.ArrayList; import java.util.Iterator; import org.apache.commons.math3.distribution.GeometricDistribution; import org.apache.commons.math3.random.MersenneTwister; import utilities.PriorityQueue2D; /*************************************************************************************...