text
stringlengths
3.08k
15.2k
package org.rainday.swagger.utils; public class NumberUtils { /** Reusable Long constant for zero. */ public static final Long LONG_ZERO = Long.valueOf(0L); /** Reusable Long constant for one. */ public static final Long LONG_ONE = Long.valueOf(1L); /** Reusable Long constant for minus one. */ ...
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("fe") @Implements("StructComposition") public class StructComposition extends DualNode { @ObfuscatedName("c") @ObfuscatedSignature( ...
/* * Copyright (c) 2020, 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...
/* * 2.3. Да се състави Applet или Application на Java, имащ следната функционалност * * - дава възможност за поставяне на точки с помощта на мишката * (щракване с левия бутон, точката е окръжност с радиус 5 пиксела). * - точките трябва да могат да се поставят * САМО ако въпросната малка окръжност (точкат...
package de.mpicbg.scf.volumemanager.plugins.io; import customnode.CustomMeshNode; import customnode.CustomTriangleMesh; import de.mpicbg.scf.imgtools.geometry.create.TriangleStripCreator; import de.mpicbg.scf.imgtools.geometry.data.Point3D; import de.mpicbg.scf.imgtools.geometry.data.PolylineSurface; import de.mpicbg....
package net.jselby.escapists.editor.objects; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; public enum Objects { // Doors DOOR(109), CELL_DOOR(24), OUTSIDE_DOOR(25), UTILITY_DOOR(26), VENT_UTILITY_DOOR(103), KITCHEN_DOOR(27), LAUNDRY_DOOR(28), JANITOR_DOOR(29),...
// Pink Music Android is distributed under the FreeBSD License // // Copyright (c) 2013-2016, <NAME> // All rights reserved. //******************************************************************************************* //**********************************************************************************...
package org.apereo.cas.ticket.registry; import net.sf.ehcache.Cache; import net.sf.ehcache.Element; import net.sf.ehcache.config.CacheConfiguration; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apereo.cas.ticket.Ticket; import org.springframework.util.Assert; import javax.annotation.PostConstru...
package android.support.v7.p014a; import android.content.Context; import android.content.DialogInterface.OnCancelListener; import android.content.DialogInterface.OnClickListener; import android.content.DialogInterface.OnDismissListener; import android.content.DialogInterface.OnKeyListener; import android.content.Dialo...
package com.github.karsaig.approvalcrest.matcher.file; import static com.github.karsaig.approvalcrest.AssertUtil.fail; import static com.github.karsaig.approvalcrest.matcher.file.FileStoreMatcherUtils.SEPARATOR; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; im...
package com.google.gwt.dev.codeserver; import collide.plugin.server.AbstractCompileThread; import collide.plugin.server.IsCompileThread; import collide.plugin.server.ReflectionChannelTreeLogger; import collide.plugin.server.gwt.CompilerBusyException; import collide.server.configuration.CollideOpts; import com.google.c...
/* * 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 util; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedWriter; import java.io.I...
/* * The MIT License (MIT) * * Copyright (c) 2016 <NAME> * * 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,...
/* * Copyright 2017-2019 University of Hildesheim, Software Systems Engineering * * 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 * ...
package net.spellcraftgaming.rpghud.gui.hud; import static net.spellcraftgaming.rpghud.gui.hud.element.HudElementType.AIR; import static net.spellcraftgaming.rpghud.gui.hud.element.HudElementType.ARMOR; import static net.spellcraftgaming.rpghud.gui.hud.element.HudElementType.CLOCK; import static net.spellcraftgaming.r...
package ch.epfl.xblast.client; import java.awt.Image; import java.io.EOFException; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import ch.epfl.xblast.PlayerID; import ch.epfl.xblast.RunLengthEncoder; import ch.epfl.xblast.SubCell; import ch.epfl.xblast.client.GameState.Player...
/* * MIT License * * Copyright (c) 2020-present Cloudogu GmbH and Contributors * * 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 r...
package com.datastax.lwt; import org.junit.Assert; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.datastax.demo.utils.PropertyHelper; import com.datastax.demo.utils.Timer; import com.datastax.driver.core.BoundStatement; import com.datastax.driver.core.Cluster; import com.datastax.driver.core.Cons...
package com.meh.stuff.facebook.page; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.interactions.Actions; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.Wait; import org.slf4j.Logger...
/** * Copyright 2022 Pinterest, 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 agr...
/* * Copyright 2015-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 * * Unless required by app...
package com.jdt.fedlearn.core.model; import com.jdt.fedlearn.common.entity.core.Message; import com.jdt.fedlearn.core.entity.base.DoubleArray; import com.jdt.fedlearn.core.entity.base.StringArray; import com.jdt.fedlearn.core.entity.common.InferenceInitRes; import com.jdt.fedlearn.common.entity.core.feature.Features; ...
/* * Copyright (c) 2014. Real Time Genomics Limited. * * 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...
package com.almis.awe.scheduler.builder.cron; import com.almis.awe.exception.AWException; import com.almis.awe.model.util.data.DateUtil; import com.almis.awe.scheduler.bean.calendar.Schedule; import com.almis.awe.scheduler.bean.trigger.CronPattern; import lombok.Data; import lombok.extern.log4j.Log4j2; import org.quar...
/* * Copyright (c) 2009-2012 ShaderBlow * 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 con...
package ru.shemplo.fp.core.control; import static ru.shemplo.fp.core.F.*; import ru.shemplo.fp.core.Base; import ru.shemplo.fp.core.F; public class Control { // +-------------------+ // | Functor functions | // +-------------------+ public static <FA extends Functor <A>, FB extends Functor <B>, A...
package com.jfinalbbs.module.oauth; import cn.weibo.Users; import cn.weibo.model.WeiboException; import com.jfinalbbs.common.BaseController; import com.jfinalbbs.common.Constants; import com.jfinalbbs.module.user.User; import com.jfinalbbs.utils.StrUtil; import com.jfinalbbs.utils.ext.route.ControllerBind; import com....
package com.survivorapi.service; import java.util.HashSet; import java.util.List; import java.util.Set; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.survivorapi.dto.ReportItemD...
/** * Copyright (c) 2012 USC Database Laboratory All rights reserved. * * Authors: <NAME> and <NAME> ...
package xzr.perfmon; import android.annotation.SuppressLint; import android.app.Service; import android.content.Context; import android.content.Intent; import android.graphics.PixelFormat; import android.os.Build; import android.os.Handler; import android.os.IBinder; import android.os.Message; import android.util.Log;...
/* * Copyright 2012-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 a...
/** * * PixelFlow | Copyright (C) 2016 <NAME> - http://thomasdiewald.com * * A Processing/Java library for high performance GPU-Computing (GLSL). * MIT License: https://opensource.org/licenses/MIT * */ package Fluid2D.Fluid_MultipleFluids; import com.thomasdiewald.pixelflow.java.DwPixelFlow; import com.t...
package com.vipul.bit_hotels.fragment; import android.graphics.Color; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.CheckBox; import android.widget.EditTe...
/* * 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 st.jigasoft.dbutil.util.xml; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstream.converters.Conve...
package com.namedlock; import com.google.common.collect.ImmutableList; import com.google.common.collect.Ordering; import org.I0Itec.zkclient.IZkChildListener; import org.I0Itec.zkclient.ZkClient; import org.apache.zookeeper.CreateMode; import org.apache.zookeeper.KeeperException; import org.apache.zookeeper.ZooDefs; i...
/* * This file is part of PV-Star for Bukkit, licensed under the MIT License (MIT). * * Copyright (c) JCThePants (www.jcwhatever.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 ...
package net.ncguy.ui; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.ui.Tree; import com.badlogic.gdx.scenes.scene2d.utils.ChangeListener; import com.badlogic.gd...
package hockeyScrape; import javasql.SQLDatabase; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintWriter; import java.sql.SQLException; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; im...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 2010-2017 Oracle and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution Licens...
package com.kaipingzhou.paintfusheng.controller.activity; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Build; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.annotatio...
package me.mmigas.persistence; import me.mmigas.SupplyCrate; import me.mmigas.crates.CrateEvent; import me.mmigas.crates.CrateTier; import me.mmigas.crates.Status; import me.mmigas.utils.Pair; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.configuration.ConfigurationSe...
package pallavgrover.popularmovies; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import java.util.ArrayList; import java.util.List; import pallavgrover.popularmovies...
package de.pxav.kelp.implementation1_8.player; import com.google.common.collect.Maps; import com.google.inject.Inject; import com.google.inject.Singleton; import de.pxav.kelp.core.scheduler.type.SchedulerFactory; import net.minecraft.server.v1_8_R3.*; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bu...
package com.gpudb.filesystem.common; import com.gpudb.GPUdb; import com.gpudb.GPUdbException; import com.gpudb.GPUdbLogger; //import com.gpudb.filesystem.download.MultiPartDownloadInfo; import com.gpudb.filesystem.download.DownloadOptions; import com.gpudb.filesystem.download.MultiPartDownloadInfo; import com.gpudb.fi...
package ru.intertrust.cm.remoteclient.report.test; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.naming.NamingException...
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
package com.engine.biomine.common.doc; import com.engine.biomine.common.FIELDS; import org.apache.solr.common.SolrInputDocument; /** * Created by halmeida on 8/17/16. */ public class AnnotationDoc extends BiomineDoc { String proteinId; int proteinLength; String geneName; String description; Str...
package io.picimako.drupal.context.table; import io.picimako.drupal.context.ComponentAdder; import io.picimako.drupal.context.ComponentConfigurer; import io.picimako.drupal.context.ComponentContextSetter; import io.picimako.drupal.context.ComponentNode; import io.picimako.drupal.context.ComponentTree; import io.picima...
package pack; import javax.swing.JFrame; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JComboBox; import java.net.Socket; import java.io.ObjectOutputStream; import java.io.ObjectInputStream; import java.awt.Fl...
package com.haitao.activity; import android.content.Context; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android...
/* * 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 sk.uniza.fri.duracik2.gui.reflection; import java.io.File; import java.io.FileNotFoundException; import java.lang.reflect.Cons...
/* * 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.telefonos.test.persistence; import co.edu.uniandes.csw.telefonos.entities.CompradorEntity; import ...
package tools; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.springframework.web.multipart.MultipartFile; im...
/** * ProsesArray * Nama : <NAME> * BP : 1911082006 * tanggal : 6 12 2019 * Deskripsi : Membuat Array dengan menggunakan method. */ import java.util.Arrays; import java.util.Random; import java.util.Scanner; public class ProsesArray { static Random ran = new Random(); static Scanner in = n...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.googlecode.blaisemath.prvis; /* * #%L * BlaiseWidgets * -- * Copyright (C) 2012 - 2016 <NAME> * -- * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except ...
/** * MultiBallPane.java File * Author <NAME> */ package wrap_around_moving_balls; import java.util.ArrayList; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.beans.property.DoubleProperty; import javafx.scene.layout.Pane; import static javafx.scene.paint.Color.GREEN; import static...
/* * Copyright (c) 2015-2021 jMonkeyEngine * 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...
//============================================================================== // // Copyright (c) 2002- // Authors: // * <NAME> <<EMAIL>> (Verimag, Grenoble) // * <NAME> <<EMAIL>> (University of Birmingham/Oxford) // //------------------------------------------------------------------------------ // // This file is ...
package com.fingerchar.controller; import com.alibaba.fastjson.JSON; import com.baomidou.mybatisplus.core.metadata.IPage; import com.fingerchar.annotation.RequiresPermissionsDesc; import com.fingerchar.base.controller.BaseController; import com.fingerchar.domain.FcAdminPermission; import com.fingerchar.domain.FcAdminR...
package mage.Tools.Pcr; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.net.URISyntaxException; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util...
/* * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/* * Copyright 2022 Budapest University of Technology and Economics * * 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 davi.spire; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.security.GeneralSecurityException; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.databind.Deseri...
package soottocfg.soot.util; 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 com.google.common.base.Verify; import soottocfg.cfg.Program; import soottocfg.cfg.expression.Expression; import soottocfg.cfg.expres...
/* * Copyright (c) 2012-2019 Snowflake Computing Inc. All right reserved. */ package net.snowflake.hivemetastoreconnector.commands; import com.google.common.base.Preconditions; import com.google.common.collect.Iterators; import net.snowflake.hivemetastoreconnector.SnowflakeConf; import net.snowflake.hivemetastorecon...
package util; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.http.Header; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.*; import org.apache.http.entity.ByteArrayEntity; ...
package com.example.beecherd_assign5; import android.content.Context; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.RelativeLayout; import android.widget.TextView; import android.widget.Toast; i...
/* * Copyright (c) 2019 YobertJomi * * 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 2017 Skolkovo Institute of Science and Technology * * 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 require...
/* * Copyright (c) 2015 <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 applicable law or ...
package dexter; import dexter.grammar.Grammar; import dexter.ir.bool.Program; import dexter.ir.parser.Util; import java.io.*; import java.nio.charset.Charset; import java.util.Scanner; /** * Created by <NAME> on 6/25/19. */ public class Files { // Inputs to the compiler private static String cppFrontendDir; ...
package in.ac.iitk.cse.putwb.ui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.lang.reflect.Field; import javax...
package com.lnwazg.swing.xmlbuilder; import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import org.w3c.do...
package br.com.erudio.database.entities; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; impo...
/* * Copyright 2011-2014 <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 applicable law or...
package milchreis.imageprocessing; import milchreis.imageprocessing.utils.Tools; import processing.core.PImage; /** * * @author milchreis */ public class Dithering { public enum Algorithm { BAYER_2x2, BAYER_4x4, BAYER_8x8 } public static final float[] BAYER_2x2 = new float[]{ 2 * 64f - 1, 3 * 64f -...
import java.awt.Color; import java.awt.Font; import java.awt.Panel; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; /** * Klasse Startfenster erzeugt die GUI fuer das Startfenster * des Umrechnungstools * class Startfenster creates a GUI for the main window of * the...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
package com.ancheng.coolweather; import android.app.ProgressDialog; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import androi...
/* * Copyright (c) 2002, 2018, 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 ...
/******************************************************************************* * File: LeastSquares.java * Programmer: <NAME> * Date: April 14, 2017 * Course: CSC-18B * Purpose: Text file I/O, implement JFileChooser control and calculate regression coefficients ***********************...
package com.agraph.core; import com.agraph.AGraph; import com.agraph.AGraphEdge; import com.agraph.AGraphException; import com.agraph.AGraphTransaction; import com.agraph.AGraphVertex; import com.agraph.common.util.Threads; import com.agraph.config.Config; import com.agraph.config.ConfigUtils; import com.agraph.core.i...
package com.magicbox.redio.script.compiler; import java.util.ArrayList; import javax.script.ScriptException; public class Tokenizer { private int x = 1; private int y = 1; private int pos = 0; private Token cached = null; private String source = ""; private String filename = ""; private ArrayList<String> bo...
/** * 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 edu.stanford.nlp.coref; import java.util.Locale; import java.util.Properties; import edu.stanford.nlp.util.PropertiesUtils; /** * Manages the properties for running coref. * * @author <NAME> */ public class CorefProperties { private CorefProperties() {} // static methods //---------- Coreference A...
/* * WPCleaner: A tool to help on Wikipedia maintenance tasks. * Copyright (C) 2013 <NAME> * * See README.txt file for licensing information. */ package org.wikipediacleaner.api.check.algorithm.a5xx.a51x.a514; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; ...
package com.bootdo.qrcode.controller; import java.beans.BeanInfo; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.lang.reflect.Method; import java.util.*; import org.apache.catalina.servlet4preview.http.HttpServletRequest; import org.apache.shiro.authz.annotation.RequiresPermissions;...
package com.nerzid; import com.nerzid.processor.MethodProcessor; import org.apache.commons.io.FileUtils; import spoon.Launcher; import spoon.compiler.Environment; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.u...
/* * $Id: JXGlassBox.java,v 1.4 2005/10/10 18:02:02 rbair Exp $ * * Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle, * Santa Clara, California 95054, U.S.A. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publ...
/** This file is part of a jTEM project. All jTEM projects are licensed under the FreeBSD license or 2-clause BSD license (see http://www.opensource.org/licenses/bsd-license.php). Copyright (c) 2002-2010, Technische Universitaet Berlin, jTEM All rights reserved. Redistribution and use in source and binary forms, wi...
/******************************************************************************* * Copyright (c) 2006, 2014 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
/* * Copyright 2015 - 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 t...
package org.sorus.client.gui.theme.defaultTheme.settings.components; import java.util.List; import org.sorus.client.Sorus; import org.sorus.client.event.EventInvoked; import org.sorus.client.event.impl.client.input.MousePressEvent; import org.sorus.client.gui.core.component.Collection; import org.sorus.client.gui.core...
package org.lpw.clivia.transfer; import java.sql.Date; import java.sql.Timestamp; import java.util.Calendar; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Optional; import java.util.Set; import javax.inject.Inject; import com.alibaba.fastjson.JSONObject; import org.lpw.c...
package edu.stanford.nlp.trees; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import ja...
/** * MIT License * * Copyright (c) 2010 - 2020 The OSHI Project Contributors: https://github.com/oshi/oshi/graphs/contributors * * 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 withou...
package com.gentics.cr.template; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Properties; import org.apache.jcs.JCS; import org.apache.jcs.access.exception.CacheException; import org.apache.log4j.Logger; import org.apache.veloc...
import java.util.InputMismatchException; import java.util.Scanner; public class CombatUI { public Player player; public Monster enemy; private int currentTurnNum; private String result; //W- Win | L- Lose | F- Fled Scanner input; CombatUI(Player player, Monster enemy) { this.player=pla...
/* * 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 maqetta.server.orion.command; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.nio.charset.Charset; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.http.Htt...