text
stringlengths
3.52k
24k
/* Copyright 2018 Telstra Open Source * * 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 la...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package amesmarket.extern.psst; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import ...
package pathway.eclipse.views; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.Transformer; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.Gri...
package com.okq.pestcontrol.widget; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.support.design.widget.TextInputLayout; import android.support.v4.app.FragmentManager; import android.text.TextUtils; import android.view.G...
// Code generated by Wire protocol buffer compiler, do not edit. // Source file: Response.proto at 5:1 package org.djr.retrofit2ee.wire; import com.squareup.wire.FieldEncoding; import com.squareup.wire.Message; import com.squareup.wire.ProtoAdapter; import com.squareup.wire.ProtoReader; import com.squareup.wire.ProtoW...
package edu.ucdenver.ccp.nlp.core.annotation; /* * #%L * Colorado Computational Pharmacology's nlp module * %% * Copyright (C) 2012 - 2014 Regents of the University of Colorado * %% * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following con...
/* * Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. */ package com.huawei.hms.audioeditor.demo; import android.content.ActivityNotFoundException; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import android.view.View; im...
/* * Copyright 2018 <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 in wr...
/* Copyright 2016 Samsung Electronics Co., LTD * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/* * 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 de.uros.citlab.module.workflow; import com.achteck.misc.exception.InvalidParameterException; import com.achteck.misc.io.File; ...
/** * Copyright (C) 2015 digitalfondue (<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 applica...
package java.io; import java.lang.Comparable; import java.lang.String; import java.net.MalformedURLException; import java.net.URL; import java.util.Random; import java.util.StringTokenizer; import java.util.Vector; import kaffe.lang.Application; import kaffe.lang.ApplicationResource; /* * Java core library component...
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.ntp.cards; import org.chromium.base.Log; import org.chromium.base.VisibleForTesting; import org.chromium.chrome.brows...
package com.lingju.assistant.activity; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.Snackbar; import android.support.v4.view.ViewPager; import android.support.v4.widget.LingjuSwipeRefreshLayout; import android.support.v7.widget.RecyclerView; import android....
package com.iyxan23.rtdb.livestream.test; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.media.AudioFormat; import android.media.AudioRecord; import android.media.AudioTrack; import android.media.MediaRecorder; import android.os.Bundl...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with this * work for additional information regarding copyright ownership. The ASF * licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may n...
/* * 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 jaist.echonet.adapter; import jaist.echonet.EOJ; import jaist.echonet.EchonetNode; import jaist.echonet.EchonetProperty; impor...
package soot.JastAddJ; import java.util.HashSet;import java.util.LinkedHashSet;import java.io.File;import java.util.*;import beaver.*;import java.util.ArrayList;import java.util.zip.*;import java.io.*;import java.io.FileNotFoundException;import java.util.Collection;import soot.*;import soot.util.*;import soot.jimple.*...
/** * 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) 1998, 2008, 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 ...
package cn.jmicro.api.net; import java.io.BufferedWriter; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.nio.ByteBuffer; import java.util....
/* Copyright 2007 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 writing, software di...
package es.redmic.models.es.common.model; /*- * #%L * Models * %% * Copyright (C) 2019 REDMIC Project / Server * %% * 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 com.ptoceti.osgi.obix.object; /* * #%L * ********************************************************************** * ORGANIZATION : ptoceti * PROJECT : Obix-Api * FILENAME : Obj.java * * This file is part of the Ptoceti project. More information about * this project can be found here: http://www.pt...
/* * Copyright (c) 2010, 2013, 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 ...
/* * Created 13.12.2009 * * JDBReport Generator * * Copyright (C) 2009-2014 <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 ...
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* See README.TXT for information about this software https://courses.cs.washington.edu/courses/cse142/01au/dist/Stage.java */ package uwcse.animation; /** A Stage represents a collections of Actors (active shapes) and Props (unmoving shapes). It repeatedly prods each actor to take a step. It a...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package aQute.bnd.remote.junit; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.ServiceLoader; imp...
/* Copyright (c) 2017 JAX-DB * * 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, publish, distri...
/** * PlayerStats.java is part of King Of The Hill. */ package com.valygard.KotH.player; import java.io.File; import java.io.IOException; import java.text.DecimalFormat; import org.bukkit.Bukkit; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.InvalidConfigurationExc...
/******************************************************************************* * The MIT License * * Copyright 2019 <NAME> <<EMAIL>>. * Copyright 2012-2015 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (th...
/*- * #%L * Genome Damage and Stability Centre ImageJ Core Package * * Contains code used by: * * GDSC ImageJ Plugins - Microscopy image analysis * * GDSC SMLM ImageJ Plugins - Single molecule localisation microscopy (SMLM) * %% * Copyright (C) 2011 - 2022 <NAME> * %% * This program is free software: you ca...
package com.modinfodesigns.search.lucene; import com.modinfodesigns.app.ApplicationManager; import com.modinfodesigns.property.DataObject; import com.modinfodesigns.property.IDataList; import com.modinfodesigns.property.IProperty; import com.modinfodesigns.property.IPropertyHolder; import com.modinfodesigns.p...
package hr.fer.zemris.ooup.lab3.zad_2.editor; import hr.fer.zemris.ooup.lab3.zad_2.actions.*; import hr.fer.zemris.ooup.lab3.zad_2.icon.IconManager; import hr.fer.zemris.ooup.lab3.zad_2.observers.clipboard.ClipboardStack; import hr.fer.zemris.ooup.lab3.zad_2.observers.stack.UndoManager; import hr.fer.zemris.ooup.lab3....
package vu.cltl.vuheideltimewrapper; import de.unihd.dbs.uima.types.heideltime.Sentence; import de.unihd.dbs.uima.types.heideltime.Token; import eu.kyotoproject.kaf.KafSaxParser; import eu.kyotoproject.kaf.KafTerm; import eu.kyotoproject.kaf.KafTimex; import eu.kyotoproject.kaf.KafWordForm; import org.apache.uima.ana...
/* * Copyright (c) 2008-2019 Geode Systems 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
package util; import static util.ArrayOps.*; import static util.ArrayPool.*; import java.awt.image.BufferedImage; public class ImageOps { public static double[] polarTransform(double[] array, double[] polar, int size, double startRadius, double maxRadius){ boolean tmpArray = false; if(polar == null || array ==...
package io.github.sleepingraven.util.datastructure.common.utils; import javassist.*; import javassist.CtField.Initializer; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.*; import java.util.stream.Collectors; /** * 为需要代理的类生成构造方法,并添加 getter/set...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2011 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are subject...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package com.ruoyi.project.sjbapi.util; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.Collections; import java.uti...
/* Copyright (c) 2016 Microsoft Corporation. This software is licensed under the MIT License. * See the license file delivered with this project for further information. */ package org.thaliproject.p2p.btconnectorlib.internal; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; impor...
/* * Copyright 2011-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * 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 controlador; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.L...
package com.bagri.ext.df.avro; import static javax.xml.xquery.XQItemType.*; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.xml.xquery....
package com.hpsworldwide.powercard.otp.lib.img; import com.google.zxing.BinaryBitmap; import com.google.zxing.ChecksumException; import com.google.zxing.DecodeHintType; import com.google.zxing.EncodeHintType; import com.google.zxing.FormatException; import com.google.zxing.NotFoundException; import com.google....
package ar.rulosoft.mimanganu.servers; import android.content.Context; import android.text.TextUtils; import androidx.annotation.Nullable; import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; import ar.rulosoft.mimanganu.R; import ar.rulosoft.mimanganu.componentes.Chapter; imp...
package com.pandatv.redis.sink.realtime; import com.google.common.base.Joiner; import com.google.common.base.Preconditions; import com.pandatv.redis.sink.constant.RedisSinkConstant; import com.pandatv.redis.sink.tools.TimeHelper; import org.apache.commons.collections.map.HashedMap; import org.apache.commons.lang.Strin...
import java.awt.*; import java.awt.event.*; import java.util.*; import javax.swing.*; public class MainFrame extends JFrame implements ActionListener { /**Instance Variables**/ private TreePanel treePanel; private Tree tree; public JPanel rightPanel, center, bottom; private JLabel heightLabel, size...
package redx.mit.edu.spectrometer; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.net.Uri; import android.os.Environment; import android.provider.MediaStore; import android.support.v7.app.ActionBar; ...
// @(#)OSPF_LSA_Header.java 9/2002 // Copyright (c) 1998-2002, Distributed Real-time Computing Lab (DRCL) // 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 sourc...
/* * www.yiji.com Inc. * Copyright (c) 2016 All Rights Reserved */ package com.yiji.falcon.agent; import com.yiji.falcon.agent.config.AgentConfiguration; import com.yiji.falcon.agent.jmx.JMXConnection; import com.yiji.falcon.agent.plugins.util.PluginExecute; import com.yiji.falcon.agent.plugins.util.PluginLibraryHe...
package com.buykop.console.entity; import com.buykop.framework.annotation.Code; import com.buykop.framework.annotation.CodeValue; import com.buykop.framework.annotation.Column; import com.buykop.framework.annotation.Display; import com.buykop.framework.annotation.ExColumn; import com.buykop.framework.annotation.FK; im...
/** * Copyright 2006-2013 Digital Aggregates Corporation, Colorado, USA. * * 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 * ...
// Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.dex; import com.android.tools.r8.ApiLevelException; import com.android.tools....
package au.com.suncoastpc.auth.util; import java.util.ArrayList; import java.util.Date; import java.util.Hashtable; import java.util.List; import java.util.Properties; import javax.mail.Message; import javax.mail.Message.RecipientType; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet...
package graph.ui; import java.net.URL; import java.util.Collection; import java.util.Random; import com.interactivemesh.jfx.importer.ImportException; import com.interactivemesh.jfx.importer.stl.StlMeshImporter; import edu.ohio.ent.cs5500.Arc; import edu.ohio.ent.cs5500.Graph; import edu.ohio.ent.cs5500.Node; import ...
import java.util.*; import java.util.logging.Level; import java.util.logging.Logger; import java.util.logging.SimpleFormatter; import java.util.logging.StreamHandler; /** * This class is an implementation of the ClosestAccept algorithm, * in which an elevator will be assigned based on how close it is * to the targe...
package com.sonicmeter.android.multisonicmeter; import android.util.Log; import org.json.JSONException; import org.json.JSONObject; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.InetSocketAddress; import java.util.HashMap; imp...
package com.continent.service; import com.continent.engine.*; import com.continent.engine.rc6.RC6_256_1024Engine; import com.continent.engine.rc6.RC6_256_2048Engine; import com.continent.engine.rc6.RC6_256_256Engine; import com.continent.engine.rc6.RC6_256_512Engine; import net.sf.ntru.encrypt.EncryptionKeyPair...
package net.enderscape.registry; import net.enderscape.Enderscape; import net.minecraft.sound.BlockSoundGroup; import net.minecraft.sound.SoundEvent; import net.minecraft.sound.SoundEvents; import net.minecraft.util.Identifier; import net.minecraft.util.registry.Registry; public class EndSounds { // Ambience ...
package com.example.topic_control; import android.annotation.SuppressLint; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; i...
package wiremock; import com.github.tomakehurst.wiremock.WireMockServer; import com.github.tomakehurst.wiremock.client.WireMock; import com.github.tomakehurst.wiremock.common.Slf4jNotifier; import com.github.tomakehurst.wiremock.core.Admin; import com.github.tomakehurst.wiremock.core.WireMockConfiguration; import com....
package com.yongqing.zookeeper.tool.client; import com.yongqing.zookeeper.tool.distributed.DistributedLock; import com.yongqing.zookeeper.tool.exec.Exec; import lombok.extern.log4j.Log4j2; import org.apache.curator.RetryPolicy; import org.apache.curator.framework.CuratorFramework; import org.apache.curator.framework.C...
/** * Copyright (c) 2009/09-2012/08, Regents of the University of Colorado * 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 copy...
package oldFiles; import java.io.IOException; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.net.URI; import java.util.Date; import java.util.Enumeration; import java.util.StringTokenizer; import org.apache.commons.io.IOUtils; import org.apache.commons.loggi...
/******************************************************************************* "FreePastry" Peer-to-Peer Application Development Substrate Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute for Software Systems. All rights reserved. Redistribution and use in source and binary forms, ...
package completion.FromHTMLToContent; import completion.Tools.FileTools; import completion.Tools.ParamSetting; import completion.Tools.SoftParameters; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * @authorE <NAME> * @aut...
package mvc.view.widgets; import mvc.model.datasource.DataSource; import mvc.model.datasource.Tuple; import mvc.model.dimension.time.TimeRange; import mvc.model.widgets.IWidgetModel; import mvc.view.viewmodel.CityVisualizationViewModel; import visitors.widgetview.IWidgetViewVisitor; import org.joda.time.DateTime; impo...
// Copyright 2015 The Vanadium Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package io.v.android.impl.google.services.blessing; import android.Manifest; import android.accounts.Account; import android.accounts.AccountManager; imp...
//This entire file is part of my masterpiece //<NAME> // //I believe that this class is well designed because it //does well to handle errors by passing the user specific //messages. It also obtains these messages from a properties //file, so that the exact message for each type of error can be //changed without havin...
package features.pause; //import edu.nyit.mock.KeyStroke; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.LinkedList; import java.util.Set; import keystroke.KeyStroke; import keystroke.KeyStrokeParser; // The name stands for KeyStroke-Ext...
package ca.ulaval.glo2004.Drawing; import ca.ulaval.glo2004.Controller.Drawable; import ca.ulaval.glo2004.Controller.StationController; import ca.ulaval.glo2004.Controller.ConveyorController; import ca.ulaval.glo2004.Domain.Point; import java.awt.*; import java.io.Serializable; import java.awt.image.BufferedImage; im...
/** * 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; version 2 of the License and the extra * conditions for OpenLR. (see openlr-license.txt) * <p> * This program is distributed in the hope...
/******************************************************************************* * Copyright (c) 2000, 2018 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at ...
package org.railwaystations.api; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.StringUtils; import org.railwaystations.api.db.CountryDao; import org.railwaystations.api.db.InboxDao; import org.railwaystations.api.db.PhotoDao; import org.railwaystations.api.db.UserDao; import org.railwaystatio...
package soot.jimple.spark; /*- * #%L * Soot - a J*va Optimization Framework * %% * Copyright (C) 2002 <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 2...
package com.nietky.librarythingbrowser; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import android.content.Intent; import android.database.Cursor; import android.graphics.Color; import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.Html; import a...
/* * The Apache Software License, Version 1.1 * * Copyright © 2002 <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: * * 1. Redistributions of source code must retain the above cop...
package com.fx.client.gui.uicomponents.basicInfo.skin; import com.fx.client.gui.uicomponents.basicInfo.IconSwitch; import com.jfoenix.svg.SVGGlyph; import javafx.animation.TranslateTransition; import javafx.geometry.Pos; import javafx.scene.control.ContentDisplay; import javafx.scene.control.Label; import javafx.scene...
package org.weixin.util; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.ConnectException; import java.net.URL; import java.util.List; import javax.net.ssl.HttpsURLConnection; import javax.net.ssl.SSLContext; i...
package ai.cellbots.robotlib; import android.content.Context; import android.content.SharedPreferences; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.annotation.NonNull; import android.util.Log; import com.google...
package fi.riista.common; import com.google.common.collect.Sets; import fi.riista.ClassInventory; import fi.riista.util.ClassUtils; import fi.riista.util.F; import fi.riista.util.ReflectionTestUtils; import org.junit.Test; import org.springframework.transaction.annotation.Propagation; import org.springframework.transa...
package mobi.omegacentauri.SendReduced; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import android.app.Activity; import ...
package com.inmobi.ads; import com.inmobi.ads.InMobiStrandPositioning.InMobiClientPositioning; import com.xunlei.download.Downloads.Impl; import java.util.Arrays; import java.util.List; // compiled from: NativeStrandPositioningData.java class ae { private static final String a; private final int[] b; priv...
package nTupleTD; import java.text.DecimalFormat; import java.util.Arrays; import java.util.Random; public class NTupleFactory { // Number of columns in a c4-board private static final int NUMCOLS = 7; // Number of Rows in a c4-board private static final int NUMROWS = 6; /** * Generate all ...
package hw7; import java.io.IOException; import java.util.ArrayList; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.PriorityQueue; import java.util.Queue; ...
/* * The MIT License * * Copyright (c) 2018-2022, qinglangtech Ltd * * 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...
package universalcoins.tile; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.ISidedInventory; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; import net.minecraft.network.Networ...
/* DomImpl.java -- Copyright (C) 1999,2000,2001,2004 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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, or (at ...
package com.coding.problems; import java.util.ArrayList; import java.util.Collections; /** * Given a string s, return the longest palindromic substring in s. * <p> * Input: s = "babad" * Output: "bab" * Note: "aba" is also a valid answer. */ public class LongestPalindrome { /** * Personal * ...
package me.gimme.gimmehardcore.listeners; import me.gimme.gimmehardcore.GimmeHardcore; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.entity.*; import org.bukkit.event.EventHandler; imp...
/* * Copyright (C) 2016 Actinarium * * 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 ...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"...
package mcjty.lostcities.cubic.world.generators; import mcjty.lostcities.cubic.world.CubicCityUtils; import mcjty.lostcities.cubic.world.CubicCityWorldProcessor; import mcjty.lostcities.cubic.world.ICommonGeneratorProvider; import mcjty.lostcities.cubic.world.driver.ICubeDriver; import mcjty.lostcities.dimensions.worl...
package com.liulishuo.engzo.onlinescorer; import android.annotation.SuppressLint; import android.util.Base64; import com.liulishuo.engzo.common.LogCollector; import com.liulishuo.engzo.lingorecorder.LingoRecorder; import com.liulishuo.engzo.lingorecorder.processor.AudioProcessor; import com.liulishuo.engzo.lingorecor...
/** * Copyright 2005-2014 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version * 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
package ee6895ta; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import ...