text
stringlengths
3.08k
15.2k
/* * Copyright 2012-2021 CodeLibs Project and the Others. * * 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 2018 <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 agreed to...
/* * Copyright 2017 Xiaomi, 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 ...
/** * 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 datawave.query.transformer; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import datawave.data.type.StringType; import datawave.marking.MarkingFunctions; import datawave.query.at...
package org.broadinstitute.hellbender.tools.sv; import htsjdk.tribble.Feature; import htsjdk.tribble.FeatureCodec; import org.broadinstitute.barclay.argparser.Argument; import org.broadinstitute.barclay.argparser.CommandLineProgramProperties; import org.broadinstitute.barclay.argparser.ExperimentalFeature; import org....
package cn.uncode.cache; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springf...
/* * Copyright 2011-2019 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 applica...
/* * Copyright (C) 2019 Toshiba Corporation * SPDX-License-Identifier: Apache-2.0 */ package org.wcardinal.controller.data.internal; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.NavigableMap; import java.util.NavigableSet; import org.wcardina...
/* * 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 org.thespheres.betula.exceltableimport; import java.io.File; import java.io.IOException; import java.util.Arrays; import java....
/* * Copyright (c) 2010-2020. Axon Framework * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
package com.sumarlidi.medieval.domain; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; impo...
package com.ckt.io.wifidirect.activity; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.wifi.p2p.WifiP2pConfig; import android.net.wifi.p2p.WifiP2pDevice; import android.net.wif...
package miage.parisnanterre.fr.mynanterre2.implem.library; import android.content.Intent; import android.os.AsyncTask; import android.os.Build; import android.os.Bundle; import android.util.TypedValue; import android.view.View; import android.widget.FrameLayout; import android.widget.ImageView; import android.widget.T...
package com.svs.finance.controller; import java.util.HashMap; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.sf.json.JSONObject; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.s...
/* * 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 m...
package com.mzapps.app.cotoflix.Activitys; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.GridLayoutManager; import androidx.recyclerview.widget.LinearLayoutManager...
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.com) * * * * 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...
/* * #! * Ontopia Webed * #- * Copyright (C) 2001 - 2013 The Ontopia Project * #- * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
package com.pandadecst.toy.world.terrain; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.VertexAttributes; import com.badlogic.gdx.graphics.g3d.Material; import com.badlogic.gdx.graphics.g3d.Model; import com.badlogic.gdx.graphics.g3d.attributes.ColorAtt...
package org.bch.c3pro.server.external; import com.amazonaws.services.sqs.model.MessageAttributeValue; import org.apache.commons.codec.binary.Base64; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.bch.c3pro.server.config.AppConfig; import org.bch.c3pro.server.exception.C...
// Week 4 // Counting primes, using multiple threads for better performance. // (Much simplified from CountprimesMany.java) // <EMAIL> * 2014-08-31, 2015-09-15 // modified <EMAIL> 2017-09-20 import java.util.function.IntToDoubleFunction; import java.util.concurrent.atomic.AtomicLong; import java.util.concurrent.atomic....
package org.innovateuk.ifs.project.bankdetails.resource; import com.fasterxml.jackson.annotation.JsonIgnore; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ToStringBuilder; import org.hibernate.validator.constraint...
/** * Copyright 2014 National University of Ireland, Galway. * * This file is part of the SIREn project. Project and contact information: * * https://github.com/rdelbru/SIREn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
package com.example.demospringbootopenpdf; import com.lowagie.text.Font; import com.lowagie.text.Rectangle; import com.lowagie.text.*; import com.lowagie.text.pdf.PdfPCell; import com.lowagie.text.pdf.PdfPTable; import com.lowagie.text.pdf.PdfWriter; import org.junit.jupiter.api.Test; import java.awt.*; import java.i...
/******************************************************************************* * Copyright (c) 2015 EclipseSource 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, and is ava...
/* This file is part of VoltDB. * Copyright (C) 2008-2020 VoltDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any la...
/** * diewald_shapeFileReader. * * a Java Library for reading ESRI-shapeFiles (*.shp, *.dfb, *.shx). * * * Copyright (c) 2012 <NAME> * * * This source 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 Foundati...
package com.diconiumwvv.storesservice.stores; import com.diconiumwvv.storesservice.exceptions.SbhException; import com.diconiumwvv.storesservice.geo.GeoService; import com.diconiumwvv.storesservice.stores.dtos.StoreDTO; import com.diconiumwvv.storesservice.stores.dtos.StoreDraftDTO; import io.sphere.sdk.channels.Chann...
/* * The Jira Cloud platform REST API * Jira Cloud platform REST API documentation * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * Contact: <EMAIL> * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class...
/* * Copyright (C) 2016 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
package com.zakl.statusManage; import cn.hutool.core.lang.Pair; import com.zakl.ack.AckHandlerManager; import com.zakl.config.ServerConfig; import com.zakl.dto.MqMessage; import com.zakl.msgdistribute.PubMsgBufBufHandler; import com.zakl.redisinteractive.RedisUtil; import com.zakl.util.MqHandleUtil; import lombok.exte...
/** * Copyright (C) 2015 - present McLeod Moores Software Limited. All rights reserved. */ package com.mcleodmoores.analytics.financial.index; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertNotEquals; import org.testng.annotations.Test; import com.mcleodmoores.analytics.financ...
package trivia; //******* // // TriviaGameGUI.java // //******* import javax.swing.*; import java.awt.*; import java.awt.event.*; public class TriviaGameGUI extends JPanel { JPanel titlePanel = new JPanel(); JPanel statusPanel = new JPanel(); JPanel choosePanel = new JPanel(); JPanel categor...
/* * Copyright (c) 2014 Chiral Behaviors, 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 ...
package spicy.utils; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.WorldRenderer; import net.minecraft.client.renderer.vertex.DefaultVertexFormats; import org.lwjgl.opengl.GL11; import static net.minecraft.client.renderer.G...
package com.q42.android.scrollingimageview; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawab...
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
/* * Copyright 2021 Cufy * * 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 mcjty.rftools.blocks.logic.invchecker; import gnu.trove.set.TIntSet; import gnu.trove.set.hash.TIntHashSet; import mcjty.lib.container.DefaultSidedInventory; import mcjty.lib.container.InventoryHelper; import mcjty.lib.network.Argument; import mcjty.lib.varia.BlockPosTools; import mcjty.lib.varia.CapabilityToo...
/****************************************************************************** * * * Copyright (c) 1999-2003 Wimba S.A., All Rights Reserved. * * * ...
package com.testgame; import java.util.Scanner; public class Shop { public void displayShopMenu() { System.out.println("==".repeat(20)); System.out.println("0 - Skip turn"); System.out.println("1 - PALACE - 30 GOLD"); System.out.println( " / \\ ^ / \\ \n" + ...
package Source; import java.util.Scanner; public class MainMenu { // DECLARAR VARIABLES GLOBALES private int statusCount, alertCode; private String[] menus, names; private String rPlayer; private int[][] status; private Scanner input; // INICIALIZAR VARIABLES public MainMenu() { rPlayer = "Jugado...
package heatshrink; import java.io.FilterOutputStream; import java.io.IOException; import java.io.OutputStream; /** * OutputStream used to heatshrink encode data. * * @see <a href="https://github.com/atomicobject/heatshrink">heatshrink on github</a> * @see <a href="https://github.com/markrileybot/heatshrink-java"...
package robotics.mbe30_inventory_basic; import net.minecraft.block.BlockContainer; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer; imp...
package checkers.units; import java.lang.annotation.Annotation; import java.util.HashMap; import java.util.Map; import java.util.Set; import javax.lang.model.element.AnnotationMirror; import checkers.basetype.BaseTypeChecker; import checkers.quals.Bottom; import checkers.types.AnnotatedTypeMirror; import checkers.ty...
package us.icter.activitys; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.os.Environment; import an...
/* * 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 xj.property.utils.qiniu.resumableio; import android.content.Context; import android.database.Cursor; import android.net.Uri; import org.json.JSONObject; import java.io.File; import java.net.URI; import java.net.URISyntaxException; import java.util.HashMap; import xj.property.utils.qiniu.auth.Clie...
/* * Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
/* * Copyright (C) 2013 Creativa77. * * 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 ...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.orhon.pa.modules.opa.entity; import org.hibernate.validator.constraints.Length; import com.orhon.pa.modules.sys.entity.Office; import javax.validation.constraints.NotNull; import com.orhon....
/* * 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.hys.exam.model; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * 专家委员会信息类 * @author Han * */ public class ExpertGroup implements Serializable { private static final long serialVersionUID = -1217567995666788022L; //Id private Long id; ...
import java.util.Scanner; public class QuickSorter { public static void main(String[] args) { int[] a; if (args.length > 0) { a = parseIntArray(args); } else { Scanner in = new Scanner(System.in); System.out.println("Enter a comma-separated list of integers to sort, or type random:");...
/* Homework #1 Due Date: 01.31.19 Names: <NAME> <NAME> */ import java.util.Scanner; import java.util.Random; public class Yahtzee { public static void main(String[] args) { Scanner sc = new Scanner(System.in); char playAgain = 'y'; int[] rolls = new int[5]; String keep ; ...
package com.idictionary.services; import android.content.Context; import android.net.ConnectivityManager; import android.net.Network; import android.net.NetworkInfo; import android.os.Build; import android.support.annotation.NonNull; import com.idictionary.utils.JsonCacher; import com.idictionary.utils.MyJsonHttpResp...
package com.potato.timetable.ui.settime; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; imp...
/* * #%L * LDAP provider for apache brooklyn * %% * Copyright (C) 2016 <NAME> * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/L...
/** * <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...
import org.junit.*; import static org.junit.Assert.*; public class YatzyTest { @Test public void chance_scores_sum_of_all_dice() { int expected = 15; int actual = Yatzy.chance((byte)2, (byte)3, (byte)4, (byte)5, (byte)1); assertEquals(expected, actual); assertEquals(16, Yatzy.c...
package ee.ut.eventstr.confcheck; import hub.top.petrinet.PetriNet; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.HashSet; import java.util.Set; import org.deckfour.xes.model.XLog; import org.deckfour.xes.model.XTrace; import org.jbpt.utils.IOUtils; import org.jdom.Eleme...
/* * 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 ...
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
package com.example.nctai_trading.idcm; import android.os.Build; import androidx.annotation.RequiresApi; import com.example.nctai_trading.HMAC256; import com.example.nctai_trading.idcm.OrderInfo.OrderInfo; import com.example.nctai_trading.idcm.UserInfo.UserInfo; import com.google.gson.Gson; import org.apache.common...
import java.util.Scanner; import java.util.ArrayList; import java.util.Random; import java.io.PrintStream; /** * A class which calculates the dom scores given a table of values * @author <NAME> * @author <NAME> * @author <NAME> */ public class Dom { /** The number of lines to randomly sample to calculate the do...
package uk.ac.ebi.interpro.scan.precalc.berkeley.model; public class SimpleLookupMatch { //These indices go hand by hand with the 'lookup_tmp_tab' table public static final int COL_IDX_MD5 = 1; public static final int COL_IDX_SIG_LIB_NAME = 2; public static final int COL_IDX_SIG_LIB_RELEASE = 3; p...
package edu.millersville.uml_editor.model; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.Polygon; import java.awt.geom.Line2D; import javax.swing.JPanel; import edu.millersville.uml_editor.*; public class Arrow extends...
package com.chipsetsv.multipaint.connection.xmpp; import java.io.IOException; import java.lang.ref.WeakReference; import org.jivesoftware.smack.ConnectionConfiguration; import org.jivesoftware.smack.PacketListener; import org.jivesoftware.smack.SASLAuthentication; import org.jivesoftware.smack.XMPPConnection; import ...
/* Copyright (c) since 2015, Tel Aviv University and Software Modeling Lab 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 noti...
/* * Open Source Physics software is free software as described near the bottom of this code file. * * For additional information and documentation on Open Source Physics please see: * <http://www.opensourcephysics.org/> */ package org.opensourcephysics.frames; import org.opensourcephysics.display3d.simpl...
/* * 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 com.aaront.exercise.jvm.method; import com.aaront.exercise.jvm.ClassFile; import com.aaront.exercise.jvm.accessflag.MethodAccessFlag; import com.aaront.exercise.jvm.attribute.AbstractAttribute; import com.aaront.exercise.jvm.attribute.CodeAttribute; import com.aaront.exercise.jvm.constant.ConstantPool; import ...
/* Copyright [2015-2016] eBay Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicabl...
package me.neznamy.tab.api.chat; /** * A class used to represent any combination of RGB colors */ public class TextColor { //rgb values, only initializing when they are actually requested private int red = -1; private int green = -1; private int blue = -1; //closest legacy color private EnumChatFormat legac...
package com.google.firebase.iid; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.os.Parcelable; import android.os.PowerManager; import android.os.PowerManager.WakeLock; import android.util.Log; import java.io.IOException; public final class zzad im...
package com.hangon.map.util; import android.content.Context; import android.util.Log; import android.widget.Toast; import com.android.volley.Request; import com.android.volley.Response; import com.android.volley.VolleyError; import com.google.gson.Gson; import com.hangon.bean.map.Datas; import com.hangon.bean.map.Gas...
package com.suneee.ep.trade.model; import com.baomidou.mybatisplus.enums.IdType; import java.math.BigDecimal; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.Tabl...
/* * Copyright [2013-2021], Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (c) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 <NAME> * * This file is part of the SmallMind Code Project. * * The SmallMind Code Project is free software, you can redistribute * it and/or modify it under either, at your discretion... * * 1) The terms of GN...
package net.ssehub.easy.reasoning.core.reasoner; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.net.MalformedURLException; import java.net.URI; import java.util.Iterator; import java.util.Map; import net.ssehub.easy.basics.logger.EASyLogge...
package com.dgex.offspring.swt.table; import java.util.Arrays; import java.util.List; import org.apache.log4j.Logger; import org.eclipse.jface.layout.GridDataFactory; import org.eclipse.jface.layout.GridLayoutFactory; import org.eclipse.jface.viewers.ColumnViewer; import org.eclipse.jface.viewers.IStructuredContentPr...
package io.skalogs.skaetl.service; /*- * #%L * skaetl-backend * %% * Copyright (C) 2017 - 2018 SkaLogs * %% * 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.apach...
package cz.cuni.mff.odcleanstore.queryexecution; import cz.cuni.mff.odcleanstore.configuration.QueryExecutionConfig; import cz.cuni.mff.odcleanstore.conflictresolution.ConflictResolutionPolicy; import cz.cuni.mff.odcleanstore.conflictresolution.ResolutionFunctionRegistry; import cz.cuni.mff.odcleanstore.conflictresolu...
package com.bikesharev2.davidsen.bikeshareassignment2; import android.content.res.Resources; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import andr...
/* * 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.mkozachuk.terramon.bot.messages; import com.mkozachuk.terramon.model.TerraData; import com.mkozachuk.terramon.model.Terrarium; import lombok.extern.slf4j.Slf4j; import org.telegram.telegrambots.meta.api.methods.send.SendMessage; import org.telegram.telegrambots.meta.api.objects.replykeyboard.InlineKeyboard...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
package maxhyper.dynamictreestbl.blocks; import com.ferreusveritas.dynamictrees.blocks.BlockRootyWater; import net.minecraft.block.Block; import net.minecraft.block.BlockDoor; import net.minecraft.block.BlockLiquid; import net.minecraft.block.material.Material; import net.minecraft.block.state.BlockFaceShape; import n...
package diy.capmana.scenes; import android.content.res.Configuration; import android.graphics.PointF; import android.opengl.GLES20; import android.opengl.Matrix; import android.os.Bundle; import android.support.annotation.Nullable; import android.util.Log; import diy.capmana.Font; import diy.capmana.Game; ...
package misaka.nemesiss.com.findlostthings.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.provider.Settings; import android.util.Log; import android.view.View; import android.widget.Button; import android.widge...
package android.taobao.atlas.util; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.security.cert.Certificate; import java.util.jar.JarEntry; import java.util.jar.JarFile; import ...
package dao; import com.avaje.ebean.Ebean; import dao.impl.CategoryDaoImpl; import dao.impl.ResourceDaoImpl; import models.Category; import utilities.Dependencies; import models.Resource; import models.ResourceType; import org.junit.Before; import org.junit.Test; import testutils.BaseTest; import java.util.List; impo...
package com.fuse.camera; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.media.ThumbnailUtils; import android.net.Uri; import android.provider.MediaStore; import android.util.Log; import android.util.Base64; import java....
/* * Copyright (c) 2017, <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: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions a...
/** * */ package snake; import java.awt.Color; import java.awt.Font; import java.awt.FontFormatException; import java.awt.Graphics2D; import java.awt.GraphicsEnvironment; import java.awt.event.KeyEvent; import java.io.IOException; import java.util.Random; /** * @author Aaron * @author Ryan * @author Dylan * *...
package pdl.wiki; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOExcep...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
/* * Copyright (C) <NAME> * * Contact: <EMAIL> AT UGent.be (' AT ' to be replaced with '@') */ /* * Created by IntelliJ IDEA. * User: Lennart * Date: 11-okt-02 * Time: 10:59:40 */ package com.compomics.dbtoolkit.gui.components; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; impo...
/** * Imports */ import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.net.DatagramPacket; import java.net.InetAddress; import java.net.SocketExceptio...