text
stringlengths
3.08k
15.2k
package com.tema1.player; import java.util.Collections; import java.util.Comparator; import java.util.LinkedList; import java.util.Map; import com.tema1.common.Constants; import com.tema1.goods.Goods; import com.tema1.goods.GoodsType; import com.tema1.main.GameInput; public class BribedPlayer extends Bas...
package com.example.faheemapplication.CheckProduct.AllergyType; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.content.Context; import android.graphics.Color; import android.os.Bundle; import android.content.Intent; import android.util.Log; import android.view.View...
/* * Copyright 2019, Perfect Sense, 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 a...
package com.nearby.whatsnearby.services; import android.app.Notification; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.location.Location; import android.location.LocationListener; impo...
package de.mockup.ui.gui.windows; import de.mockup.ui.content.ContentComponent; import de.mockup.ui.gui.guiController.WindowManager; import de.mockup.ui.gui.properties.AbstractPropertyPanel; import de.mockup.ui.gui.windows.helper.OverviewHelper.PropertyPane; import de.mockup.ui.gui.windows.helper.OverviewHelper.ViewIt...
package de.herrlock.manga.http.server.handlers; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.nio.file.DirectoryStream; import java.nio.file.DirectoryStream.Filter; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java...
package org.metawatch.manager; import java.util.List; import org.metawatch.manager.MetaWatchService.Preferences; import android.content.Context; import android.content.Intent; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; import android.location.Locatio...
package bennkyou.birt; import java.io.IOException; import java.util.ArrayList; import org.eclipse.birt.core.framework.Platform; import org.eclipse.birt.report.model.api.CellHandle; import org.eclipse.birt.report.model.api.DataItemHandle; import org.eclipse.birt.report.model.api.DesignConfig; import org.eclipse.birt....
package io.syslogic.github.fragment; import android.content.Context; import android.content.IntentFilter; import android.content.pm.PackageManager; import android.net.ConnectivityManager; import android.net.NetworkCapabilities; import android.os.Build; import android.os.Bundle; import android.util.Log; import android....
package mara.mybox.bufferedimage; import java.awt.Color; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Map; import mara.mybox.data.StringTable; import mara.mybox.dev.MyBoxLog; import mara.mybox.fximage.FxColorTool...
/* * Licensed to <NAME> under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * <NAME> licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this * file except in ...
package br.com.andreitoledo.boletim.model; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; imp...
package com.logginghub.logging.modules; import com.logginghub.logging.LogEvent; import com.logginghub.logging.exceptions.LoggingMessageSenderException; import com.logginghub.logging.hub.configuration.FilterConfiguration; import com.logginghub.logging.interfaces.FilteredMessageSender; import com.logginghub.loggin...
package com.qiangdong.reader.dto.novel; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer; import com.qiangdong.reader.enums.common.RecommendTypeEnum; import com.qian...
/******************************************************************************* * Copyright (c) 2018 The University of Reading * 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. Redis...
package org.enoy.awesomeradio.gmusic; import com.mpatric.mp3agic.*; import org.jsoup.Connection.Response; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.net.SocketException; import java.net.URL; import java.net.URL...
package com.wherehoo; /* whserver.java - wherehoo server for unix port access */ // WHEREHOO SERVER // COPYRIGHT (c) 2000, <NAME> and Massachusetts Institute of Technology, Cambridge, MA // all rights reserved. Thou shalt not steal, and all that. import java.io.*; import java.net.*; import java.sql.*; public class...
package com.echsylon.atlantis.demo; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import and...
package com.lpnpcs.yuanhelper.util; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import com.lpnpcs.yuanhelper.base.YuanApplication; import java.lang.Thread.UncaughtExceptionHandler; import java.text.DateFormat; import java.text.SimpleDateFormat; imp...
/* * Copyright 2015 * Ubiquitous Knowledge Processing (UKP) Lab * Technische Universität Darmstadt * * 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/lice...
package com.redhat.dfroehli; import java.util.Random; import java.util.Map.Entry; import org.infinispan.client.hotrod.RemoteCache; import org.infinispan.client.hotrod.RemoteCacheManager; import org.infinispan.commons.util.CloseableIterator; /* Sample Data: # signal source; rtu-id; linux timestamp; quality co...
package org.kettle.beam.steps.bq; import com.google.cloud.bigquery.*; import com.google.common.base.Strings; import org.pentaho.di.core.exception.KettleException; import org.pentaho.di.core.row.RowMeta; import org.pentaho.di.core.row.ValueMetaInterface; import org.pentaho.di.core.row.value.*; import org.pentaho.di.tra...
/** * 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.moemoe.lalala.utils; import android.content.Context; import android.provider.Settings; import android.telephony.TelephonyManager; import android.text.TextUtils; import com.google.i18n.phonenumbers.NumberParseException; import com.google.i18n.phonenumbers.PhoneNumberUtil; import com.google.i18n.phonenumber...
package nl.esciencecenter.neon.examples.goggleswing; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Container; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; impor...
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2011, 2012, 2013, 2014 Zimbra, Inc. * * 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 o...
package com.kc.shiptransport.view.actiivty; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.Recycler...
import com.sun.org.apache.xpath.internal.operations.Bool; import java.io.*; import java.lang.String; import java.util.*; public class HamiltonianCycle { static class Node { private Integer key; private int coordX; private int coordY; public Node(Integer key, int co...
package com.aware.plugin.automatic_query; import android.database.ContentObserver; import android.database.Cursor; import android.net.Uri; import android.os.Handler; import android.os.HandlerThread; import android.util.Log; import com.aware.plugin.automatic_query.europeana.ExecuteSearchTask; import com.aware.plugin.a...
package napodev.framework.bework.restclient; import android.support.annotation.NonNull; import android.util.Log; import java.io.File; import java.io.IOException; import napodev.framework.bework.restclient.ano.BodyType; import napodev.framework.bework.restclient.base.ExecuteCallback; import napodev.framework.bework.r...
package vizceral.hystrix.monitoring.zmon; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufInputStream; import io.netty.handler.codec.http.HttpMethod; import io.reactivex.netty.RxNetty; import io.reactivex....
/* * 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 pasianssi.kayttoliittyma; import pasianssi.kayttoliittyma.kuuntelijat.HiirenKuuntelija; import java.awt.Container; import java.awt.Dimension; import javax.swing.JFrame; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.SwingUtilities; import javax.swing.Timer; import javax.swing.Win...
package io.github.mateusz00.MandelbrotSet.mandelbrot; import io.github.mateusz00.MandelbrotSet.RGBPickers.RGBPicker; import io.github.mateusz00.MandelbrotSet.utilities.Procedure; import io.github.mateusz00.MandelbrotSet.utilities.Utility; import java.awt.*; import java.awt.geom.Point2D; import java.awt.image.Buffered...
/* * KNetworkExportActionContributor.java * Created on Apr 23, 2011 * Copyright(c) 2011 <NAME>, Shizuoka University. All rights reserved. */ package kbdex.view.network; import java.io.BufferedReader; import java.io.File; import java.io.InputStreamReader; import java.io.PrintStream; import java.net.URL;...
package com.Da_Technomancer.crossroads.tileentities.alchemy; import com.Da_Technomancer.crossroads.API.CRProperties; import com.Da_Technomancer.crossroads.API.Capabilities; import com.Da_Technomancer.crossroads.API.IInfoTE; import com.Da_Technomancer.crossroads.API.heat.HeatUtil; import com.Da_Technomancer.crossroads....
package uk.gov.dft.bluebadge.service.applicationmanagement.client.messageservice.model; import static uk.gov.dft.bluebadge.model.applicationmanagement.generated.Artifact.TypeEnum.PHOTO; import static uk.gov.dft.bluebadge.model.applicationmanagement.generated.Artifact.TypeEnum.PROOF_ADD; import static uk.gov.dft.blueba...
package com.monier.bennetout.ihmclient.communication; import android.util.Log; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import java.net.SocketTimeoutException; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.util.Arrays; import jav...
/* * #%L * Conserve Concept Server * %% * Copyright (C) 2010 - 2011 KMR * %% * 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 2021 LINE Corporation * * LINE Corporation 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2008 Sun Microsystems, Inc. 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 License("CDDL")...
package org.deta.tinos.tsp; import java.util.ArrayList; import java.util.List; //Attension, this is designed by yaoguang luo and follow BSD license. /* output will be x:0y:0 x:1y:0 x:2y:10 x:8y:22 x:16y:30 x:18y:20 x:22y:18 x:12y:16 x:10y:10 x:6y:6 x:1y:1 the shortest distance:102 */ public class T...
package com.example.jeas.netapp.media; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.support.v7.app.ActionBar; i...
package canfield; import java.util.Scanner; import java.util.NoSuchElementException; /**I added this import. */ import java.util.ArrayList; /** A type of player that gets input from System.stdin, reports * game positions on System.stdout, and reports errors on System.err. * @author <NAME> */ class TextPlayer ext...
package com.agoda.hadoop.markov; import java.util.ArrayList; import java.util.List; import java.util.NoSuchElementException; import java.util.Queue; import java.util.concurrent.*; import org.apache.log4j.Logger; /** * Created by lhao on 5/28/17. */ public class MMCQueue { public static boolean DEBUG_MODE; ...
/** * Author: <NAME> ( <EMAIL> ) * License: MIT License * * Copyright (c) 2007 <NAME> - <EMAIL> * * 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, incl...
package com.jagex.runescape.audio; /* * Some of this file was refactored by 'veer' of http://www.moparscape.org. */ import com.jagex.runescape.Buffer; /* * an impl of an adaptive iir filter that calculates * coefficients from pole magnitude/phases and a serial * configuration of cascading biquad sections */ fi...
/* * File: ProcessScheduler.java * Author: <NAME> * (c) 2019 * Created on May 15, 2019, 11:30 PM * * License: * The code is licensed under MIT License. Please read the LICENSE file in * this distribution for details regarding the licensing of this code. * * Description: * The package simulates four process...
package com.github.ksuid40; import java.io.IOException; import java.io.PrintStream; import java.io.UncheckedIOException; import java.security.SecureRandom; import java.time.Clock; import java.time.Instant; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import ...
/* * Copyright 2014-2015 EUBrazilCC (EU‐Brazil Cloud Connect) * * 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...
package org.unidal.cat.spi.report.internals; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.TimeUnit; import com.dianping.c...
/* * Copyright (c) 2015 <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, modify, merge, publish, dis...
/* * Copyright 2017 Long Term Software 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...
/* * <p>GPL Dislaimer</p> * <p> * "Reversi by <NAME>" * Copyright 2003, 2004, 2005, 2006 <NAME> * mail-to:<EMAIL> * * This file is part of "Reversi by <NAME>". * * "Reversi by <NAME>" is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by...
/**************************************************************** * 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...
package xyz.deszaras.grounds.util; import static java.util.FormattableFlags.LEFT_JUSTIFY; // import static java.util.FormattableFlags.UPPERCASE; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.Formattable; import java.util.Formatter; import java.util.Objects; import java.util.stream...
/* * * Copyright 2021: <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 ag...
/* * Copyright 2017-2020 Micro Focus or one of its affiliates. * * 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 2004-2009 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...
/*=========================================================================== Copyright (C) 2012 by the Okapi Framework contributors ----------------------------------------------------------------------------- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in com...
package techmoc.extensibility.demos; import techmoc.extensibility.polymorphicmap.PolymorphicMap; import java.awt.*; import static techmoc.extensibility.demos.DemoColors.*; import static techmoc.extensibility.demos.DetectionConstants.*; public class HawkeyeDetector implements Renderable, Updatable { public static ...
package com.smartisanos.sidebar.view; import android.content.Context; import android.content.res.Configuration; import android.util.AttributeSet; import android.view.View; import android.widget.ListView; import android.widget.TextView; import com.smartisanos.sidebar.R; import com.smartisanos.sidebar.SidebarController...
/******************************************************************************* * 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.apac...
/* * Copyright 2014-2017 <NAME>, 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 t...
package app.engine.Config; import app.engine.board.RulesInitializer; import app.engine.card.*; import app.engine.dice.Dice; import app.engine.agent.Bank; import app.engine.agent.InfiniteBank; import app.engine.agent.Player; import app.engine.board.Board; import app.engine.space.*; import java.io.IOException; import j...
/* ******************************************************************************************************* Copyright (c) 2015 EXILANT Technologies Private Limited 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...
/* * Copyright (c) 2008, Sun Microsystems, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice...
/* * Copyright 2020 The TensorFlow 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
package com.jbrowser.java; import javafx.fxml.FXMLLoader; import javafx.scene.Node; import javafx.scene.image.Image; import javax.swing.*; import java.awt.*; import java.io.IOException; import java.net.URL; import java.util.Timer; import java.util.prefs.Preferences; /** * Created by aziz titu2 on 3/1/2016. */ publ...
package com.sll.luatest; import org.luaj.vm2.Globals; import org.luaj.vm2.LuaClosure; import org.luaj.vm2.LuaValue; import org.luaj.vm2.Varargs; import org.luaj.vm2.lib.DebugLib; import org.luaj.vm2.lib.OneArgFunction; import org.luaj.vm2.lib.TwoArgFunction; import org.luaj.vm2.lib.VarArgFunction; import org...
package com.raizunne.miscellany.gui; import java.util.ArrayList; import java.util.List; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.inventory.GuiContainer; import net.minecraft.client.renderer.RenderHelper; import net.minecraft.entity.player.InventoryPlayer; import net.minecraf...
/* * Copyright 2021 <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 writ...
package com.company.gui; import com.company.Main; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; import java.net.InetAddress; import java.net.Socket; public class Calc implements ActionListener { JFrame f; JTextField display; JPanel p; RoundButton b1,b2,b3,b4,b5,b...
/* * 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 wri...
package com.ideal.flyerteacafes.ui.view; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ListView; import android.widget.Relati...
package org.aries.launcher; import java.util.List; import java.util.Map; import javax.management.ObjectName; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.aries.util.io.StreamListener; import common.jmx.MBeanUtil; public class ProcessManager { private static Log...
package fr.dossierfacile.api.front.util; import lombok.extern.slf4j.Slf4j; import org.apache.pdfbox.io.MemoryUsageSetting; import org.apache.pdfbox.multipdf.PDFMergerUtility; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.PDPage; import org.apache.pdfbox.pdmodel.PDPageContentStream; impo...
package com.example.yonko.funnyface.managers; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.view.MotionEvent; import com.example.yonko.funnyface.widgets.CanvasView; import java.util.ArrayList; public class ImageDrawer imple...
/* Copyright 2011-2013 <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 writing, s...
package demolitionEntities; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics2D; import demolition.DemolitionGame; import demolitionUtilities.Circle; import demolitionUtilities.Vector2D; /** * Class to contain the Bomb in the Demolition Game. * * @author <NAME> * */ public class Bomb...
package com.example.yoonjaecho.sqliteexample; import android.app.Activity; import android.content.ContentUris; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.u...
/* * NotePanelGUI.java * * Created on 3 February 2004, 16:41 */ package ren.gui.seqEdit; import javax.swing.*; import javax.swing.event.*; import java.awt.*; import java.awt.event.*; import jm.music.data.*; import ren.tonal.*; /** * * @author <NAME> */ public class NotePanel extends JScrollPane implements Mou...
/* * Copyright 2010 Wyona * * 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.wyona.org/licenses/APACHE-LICENSE-2.0 * * Unless required by applicable law or agree...
/** * Copyright 2020 LinkedIn Corp. 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...
/* * #%L * ImgLib2: a general-purpose, multidimensional image processing library. * %% * Copyright (C) 2009 - 2016 <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <N...
package com.informaticalab.drawingapp; import android.Manifest; import android.app.Activity; import android.content.Intent; import android.content.pm.PackageManager; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.provider.MediaStore; impo...
import java.rmi.RemoteException; import java.rmi.server.UnicastRemoteObject; import java.rmi.NotBoundException; import java.util.ArrayList; import java.rmi.RemoteException; import java.rmi.Naming; import java.net.MalformedURLException; public class InfoGame extends UnicastRemoteObject implements I_InfoGame{ pr...
package com.leroymerlin.pandroid.ui.scanner; import android.Manifest; import android.content.Context; import android.content.res.Configuration; import android.os.Handler; import android.support.annotation.RequiresPermission; import android.util.AttributeSet; import android.util.Log; import android.view.SurfaceHolder; ...
/* * Copyright 2018 John "topjohnwu" Wu * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright LWJGL. All rights reserved. * License terms: http://lwjgl.org/license.php */ package org.lwjglx.openal; import org.lwjgl.glfw.GLFW; import static org.lwjgl.openal.AL10.*; import static org.lwjgl.openal.EXTEfx.*; import org.lwjgl.openal.ALC; /** * Utility class for the OpenAL extension AL_EXT_EFX. ...
/** * Copyright 2011 The Open Source Research Group, * University of Erlangen-Nürnberg * * 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/lic...
/* * 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 au.edu.uq.rcc.nimrodg.resource.hpc; import au.edu.uq.rcc.nimrodg.api.Actuator; import au.edu.uq.rcc.nimrodg.shell.RemoteShell; import javax.json.Json; import javax.json.JsonObject; import javax.json.JsonObjectBuilder; import javax.json.JsonString; import javax.json.JsonValue; import java.util.Collections; imp...
/* * Copyright Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.systemtest.utils; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackso...
// ********************************************************************** // // <copyright> // // BBN Technologies // 10 Moulton Street // Cambridge, MA 02138 // (617) 873-8000 // // Copyright (C) BBNT Solutions LLC. All rights reserved. // // </copyright> // ***************************************************...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * 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 farmsim.world.weather; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.Random; /** * A queue of upcoming weather events and relevant methods for populating and * accessing it. Used to control weather system, and makes the foreca...