text
stringlengths
3.52k
24k
/* * 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 * distributed under the...
package com.oldbaby.oblib.image.viewer; import android.app.Activity; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.net.Uri; import android.os.Bundle; import android.o...
/* Copyright 2003, <NAME>, All Rights Reserved */ package edu.cmu.minorthird.text.mixup; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.LineNum...
/******************************************************************************* * Copyright 2010, Topic Maps Lab * * 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.apa...
package io.github.lkodex.trabalho_lpoo.view; import io.github.lkodex.trabalho_lpoo.controller.FuncionariosController; import javax.swing.*; import javax.swing.table.DefaultTableModel; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class FuncionariosView extends JFr...
/* * FactorioUpdater - The best factorio mod manager * Copyright 2016 The FactorioUpdater Team * * 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/LI...
package org.spaceroots.mantissa.random; import java.util.Random; /** This class implements a powerful pseudo-random number generator * developed by <NAME> and <NAME> during * 1996-1997. * <p>This generator features an extremely long period * (2<sup>19937</sup>-1) and 623-dimensional equidistribution up to 32 * ...
package com.ruoyi.wxcustomer.domain; import java.util.Date; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; /** * 售后情况对象 kh_after_sale_member * * @author WBG ...
/* * Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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.o...
package com.hugman.promenade.object.world.gen.feature; import com.mojang.serialization.Codec; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.Material; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.Directio...
/* * Copyright 2018 * 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/licenses...
package nl.b3p.featureapi.feature; import nl.b3p.featureapi.helpers.FeatureSourceFactoryHelper; import nl.b3p.featureapi.helpers.FilterHelper; import nl.b3p.featureapi.helpers.UploadsHelper; import nl.b3p.featureapi.helpers.UserLayerHelper; import nl.b3p.featureapi.repository.LayerRepo; import nl.b3p.featureapi.resour...
/* * Copyright 2015 Open Networking Laboratory * * 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 appl...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package ambos.retroworldgen.level.source; import ambos.retroworldgen.util.noise.IndevPerlinOctaveNoise; import net.minecraft.level.Level; import net.minecraft.level.biome.Biome; import net.minecraft.tile.Tile; import java.util.Random; public final class InlandLevelSource extends RetroLevelSource { private IndevP...
/* * 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.sample.tools.plugin.plugins.codegen.gen; import java.io.File; import java.io.InputStream; import java.math.BigDecimal; import java.nio.charset.StandardCharsets; import java.util.Date; import java.util.List; import java.util.Map; import com.google.common.io.Files; import com.swak.freemarker.TemplateMarker;...
/* * 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 * d...
/** * Copyright (c) 2015, by the Authors: <NAME> (UBC) * * This software is freely available under a 2-clause BSD license. Please see * the LICENSE file in the ArtiSynth distribution directory for details. */ package artisynth.core.renderables; import java.awt.Color; import artisynth.core.modelbase.ModelCompone...
package fr.dianox.hawn.utility.config.configs.cosmeticsfun; import java.io.File; import java.io.IOException; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.plugin.Plugin; public class EmojisListCUtility { private static Plugin pl; private static File file; private static YamlC...
/* * 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 javajs.async; import java.awt.Component; import javax.swing.ProgressMonitor; import javax.swing.SwingUtilities; import javax.swing.SwingWorker; import javajs.async.SwingJSUtils.StateHelper; import javajs.async.SwingJSUtils.StateMachine; /** * v. 2020.06.03 * * Executes synchronous or async...
package com.brentonbostick.capsloc.world.graph; import static com.brentonbostick.capsloc.CapslocApplication.APP; import com.brentonbostick.capsloc.Entity; import com.brentonbostick.capsloc.geom.AABB; import com.brentonbostick.capsloc.geom.Line; import com.brentonbostick.capsloc.math.Point; import com.brentonbostick.c...
/* * Copyright 2020 Google LLC. 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...
/* ### * IP: GHIDRA * * 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 writin...
package jgh.javagraph.geometry.voronoi; /** * Circle Events are caused by the conjunction of three * consecutive ListItems in the EventLinkedList, which together * form a Circle Event. * <br> * The circle event causes the removal of the SiteEvent represented by * the <i>center</i> list item form the beach line. ...
/* * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
public class TestDiet{ public static void main(String[] args){ //test the given example IngredientDatabase db = new IngredientDatabase(); Recipe cake = new Recipe("chocolate cake"); cake.addIngredient(db.findIngredient("egg"), 4); cake.addIngredient(db.findIngredient("sugar"), 100); cake.addIngredient(db....
package collectors; import housing.*; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.util.Arrays; import java.util.Locale; public class TransactionRecorder { //------------------// //----- Fields -----// //------------------// ...
package org.atlasapi.media.entity.simple; import java.util.List; import java.util.Set; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlType; import org.atlasapi.media.entity.simple.Conte...
/* TestSchUdpPort.java */ package org.xlattice.transport.udp; import java.io.IOException; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.DatagramChannel; import java.util.Random; import java.util.Timer; import java.ut...
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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 l...
package com.yilian.mall.ui.fragment; import android.content.Intent; import android.graphics.Bitmap; import android.os.Bundle; import android.support.annotation.Nullable; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Bas...
/* * Copyright (C) 2011-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 ag...
package io.documentnode.epub4j.bookprocessor; import io.documentnode.epub4j.domain.Book; import io.documentnode.epub4j.domain.Metadata; import io.documentnode.epub4j.domain.Resource; import io.documentnode.epub4j.domain.Resources; import io.documentnode.epub4j.epub.BookProcessor; import io.documentnode.epub4j.domain.M...
package unikassel.bpmn2wf; import org.fulib.FulibTools; import org.fulib.services.FulibScenarioDiagram; import org.junit.Test; import org.openqa.selenium.By; import unikassel.bpmn2wf.BPMN.*; import unikassel.bpmn2wf.BPMN.AddFlow; import unikassel.bpmn2wf.BPMN.AddParallel; import unikassel.bpmn2wf.BPMN.AddStep; import ...
/* * Copyright (c) 2002-2014, <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 copyright notice * and the followin...
package binarysearchtree; import java.util.NoSuchElementException; import lib.BinaryTreeNode; import lib.ElementNotFoundException; import lib.EmptyCollectionException; import lib.LinkedBinaryTree; /** * <p>Title: </p> * * <p>Description: </p> * * <p>Copyright: Copyright (c) 2004</p> * * <p>C...
package com.google.android.accessibility.talkback.utils; import android.accessibilityservice.AccessibilityService; import android.content.Context; import android.graphics.Color; import androidx.core.view.accessibility.AccessibilityNodeInfoCompat; import android.text.SpannableString; import android.text.SpannableString...
package com.pcl.service.obs; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.Arrays; import java.util.Base64; import java.util.Collections; import java.util.Has...
import java.net.MalformedURLException; import java.net.URL; import java.text.SimpleDateFormat; import java.util.List; import javax.xml.namespace.QName; import com.selventa.belframework.ws.client.BelDocument; import com.selventa.belframework.ws.client.FindKamNodesByPatternsRequest; import com.selventa.belframework.ws....
package org.xson.common.validate.util; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.log4j.Logger; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xson.common.validate.Checker; import org.xs...
// Copyright 2015 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.bookmarks; import android.content.Context; import androidx.recyclerview.widget.RecyclerView; import androidx.recycler...
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
/* * 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 * distributed u...
/** * KartMatch: NewRaceAllGroupsActivity.java * * Screen to associate the pilots with their group. This is in preparation for a new race. * */ package fr.neuf.perso.pdejoue.kart_match; import java.util.ArrayList; import android.annotation.TargetApi; import android.app.Activity; import android.cont...
/* * 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.alex.develop.fragment; import android.annotation.SuppressLint; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.os.Handler; import android.os.Me...
package io.agora.scene.rtegame.view; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Color; import android.util.AttributeSet; import android.view.View; import android.webkit.WebResourceRequest; import android.webkit.WebSettings; import android.webkit.WebView; import andr...
// Standard Libraries import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.HashMap; import java.util.Random; import java.math.*; import java.time.LocalDateTime; // XChange Core import org.knowm.xchange.Exchange; import org.knowm...
/* * #%L * ACS AEM Commons Bundle * %% * Copyright (C) 2015 Adobe * %% * 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...
package sagex.remote.api; import sagex.SageAPI; import sagex.remote.RemoteRequest; import sagex.remote.SagexServlet.SageHandler; import sagex.remote.factory.request.SageRPCRequestFactory; import sagex.remote.json.JSONArray; import sagex.remote.json.JSONException; import sagex.remote.json.JSONObject; import sagex.remot...
package com.malacca.purevideo; import java.util.Map; import java.util.HashMap; import javax.annotation.Nullable; import android.net.Uri; import android.text.TextUtils; import android.content.Context; import androidx.annotation.NonNull; import com.facebook.react.common.MapBuilder; import com.facebook.react.bridge.Dyn...
package com.sl.achat; import android.app.AlertDialog; import android.app.Fragment; import android.content.Context; import android.content.DialogInterface; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v7.widget.LinearLayoutManager; import...
/* * Copyright <NAME> (c) 2017. */ package treeton.prosody; import com.sun.tools.javac.util.Pair; import treeton.core.*; import treeton.core.config.context.ContextConfiguration; import treeton.core.config.context.ContextUtil; import treeton.core.config.context.resources.ResourceChain; import treeton.core.config.con...
package com.cisco.app.dbmigrator.migratorapp.core.event; import java.util.Date; import java.util.List; import java.util.Timer; import java.util.TimerTask; import java.util.concurrent.CountDownLatch; import java.util.concurrent.LinkedBlockingQueue; import org.bson.Document; import com.cisco.app.dbmigrator....
package com.fzuTeachBolg.util; import java.util.HashMap; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.math.NumberUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * 感谢网友提供 微信表情转换代码 ...
/* * 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.airbnb.reair.hive.hooks; import com.airbnb.reair.db.DbConnectionFactory; import com.airbnb.reair.db.EmbeddedMySqlDb; import com.airbnb.reair.db.TestDbCredentials; import com.airbnb.reair.utils.ReplicationTestUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
/* * Java * * Copyright 2021-2022 MicroEJ Corp. All rights reserved. * Use of this source code is governed by a BSD-style license that can be found with this software. */ package com.microej.tool.dependencydiscoverer; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import jav...
package net.sourceforge.ondex.ovtk2.io; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; i...
package yk.senjin.shaders; import org.lwjgl.BufferUtils; import org.lwjgl.opengl.ARBShaderObjects; import org.lwjgl.opengl.GL20; import org.lwjgl.opengl.GL32; import org.lwjgl.opengl.Util; import yk.jcommon.utils.BadException; import yk.senjin.AbstractState; import yk.senjin.shaders.uniforms.UniformVariable; import j...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.eas.designer.application.module.completion; import com.eas.client.model.application.ApplicationDbModel; import com.eas.designer.application.indexer.IndexerQuery; import com.eas.designer.application.module.Pl...
package fileio; import common.Constants; import entertainment.Season; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; import utils.Utils; import java.io.FileReader; import java.io.IOException; import java.util...
package com.surine.tustbox.UI.Activity; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ImageView...
package org.wiredwidgets.cow.ac.client.ui; import java.awt.Color; import java.awt.Component; import javax.swing.JList; import javax.swing.JTable; import javax.swing.UIDefaults; import javax.swing.UIManager; import javax.swing.event.ListSelectionEvent; import javax.swing.event.ListSelectionListener; import javax.swing....
package com.bincn.views.middle_refresh_recyclerview; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; import android.content.Context; import android.util.AttributeSet; import android.util.DisplayMetrics; import android.util.Log; import android...
/* * The Plaid API * The Plaid REST API. Please see https://plaid.com/docs/api for more details. * * The version of the OpenAPI document: 2020-09-14_1.34.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class m...
/* * Copyright 2015 <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...
/** * Cloud Foundry 2012.02.03 Beta Copyright (c) [2009-2012] VMware, Inc. All Rights Reserved. * * This product is licensed to you under the Apache License, Version 2.0 (the "License"). You may not use this product * except in compliance with the License. * * This product includes a number of subcomponents wit...
/** * This code is written by, and is a property of, <NAME>, * Los Gatos, California, USA. Distribution and use of this code without * the author's permission is not allowed. * * Copyright (c) 2018 <NAME> */ package com.jxray.support; /** * A simple, open hashing hash map that maps hprof object IDs to int numbe...
package com.backblaze.erasure; import com.backblaze.erasure.fec.*; import io.netty.buffer.ByteBuf; import io.netty.buffer.PooledByteBufAllocator; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Random; import java.util.concurrent.ArrayB...
package com.ge.dome.servlet; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.OutputStream; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.List; import java.util.ListIterator; import javax.servlet.ServletContext; i...
package de.saly.kafka.crypto; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.security.KeyFactory; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.PrivateKey; import java.security.Public...
/** * 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.google.android.exoplayer2.video.av; import android.os.Handler; import android.os.Looper; @SuppressWarnings("unused") public class FFCodec { private Handler mHandler = new Handler(Looper.getMainLooper()); private RecordListener mRecordListener; private TranscodeListener mTranscodeListener; ...
package org.hive2hive.core.extras; import java.io.File; import java.security.PublicKey; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.Future; import org.hive2hive.core.api.interfaces.IFileConfiguration; impo...
/* * Copyright © 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 to i...
package de.dk.bininja.client.controller; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.security.PublicKey; import java.util.concurrent.TimeoutException; import javax.crypto.SecretKey; import org.slf4j.Logg...
/* * Copyright 2017 Red Hat, Inc. and/or 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 by app...
package wint.mvc.module; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.FutureTask; import wint.core.config.Co...
/* * 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) 2009 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 t...
/* * Copyright (c) 2017, Salesforce.com, 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, this list of condition...
/** * MessageDetector.java * * ~~ Copyright 2002-2015 by <NAME> * ~~ EndC * * Created by <NAME>, 5/2/2001 * * $Id: MessageDetector.java,v 1.6 2015/01/01 09:42:06 rudahl Exp $ * $Log: MessageDetector.java,v $ * Revision 1.6 2015/01/01 09:42:06 rudahl * consolidating Dragon and OpenDragon * * Re...
/* * Copyright 2003-2004 The Apache Software Foundation. // (c) Copyright IBM Corp. 2004, 2005 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 * * htt...
package com.tom.rtree.demo; import com.tom.rtree.*; import com.tom.rtree.Point; import com.tom.rtree.Rectangle; import java.awt.*; import java.awt.event.ItemEvent; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; import java.util.Abst...
// @LICENSE@ package cz.kruch.track.location; import api.location.LocationProvider; import api.location.Location; import api.location.QualifiedCoordinates; import api.location.LocationException; import java.io.InputStream; import java.io.IOException; import java.io.OutputStream; import cz.kruch.track.util.NmeaParse...
/* Copyright 2016 Twitter, 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 distr...
package io.logz.benchmarks.elasticsearch.elasticsearch; import com.google.common.io.Files; import com.google.common.io.Resources; import io.logz.benchmarks.elasticsearch.configuration.ElasticsearchConfiguration; import io.logz.benchmarks.elasticsearch.exceptions.CouldNotCompleteBulkOperationException; import io.logz.b...
/* * #%L * Wisdom-Framework * %% * Copyright (C) 2013 - 2015 Wisdom 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...
package aos.framework.taglib.impl.ext.grid; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.servlet.jsp.JspException; import org.apache.commons.lang3.StringUtils; import aos.framework.core.typewrap.Dto; import aos.framework.core.utils.AOSCons; import aos.framework.core.u...
package net.minecraft.util.profiling; import com.google.common.base.Splitter; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import it.unimi.dsi.fastutil.objects.Object2LongMap; import it.unimi.dsi.fastutil.objects.Object2LongMaps; import java.io.Writer; import java.nio.charset.Standard...
package com.shulipeng.utils; import com.shulipeng.config.Constant; import com.shulipeng.domain.Column; import com.shulipeng.domain.PluginAddr; import com.shulipeng.domain.Table; import org.apache.commons.configuration.Configuration; import org.apache.commons.configuration.ConfigurationException; import org.apache.comm...
package com.telekom.m2m.cot.restsdk.realtime; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.telekom.m2m.cot.restsdk.CloudOfThingsRestClient; import com.telekom.m2m.cot.restsdk.util.CotSdkException; import com.telekom.m2m...
/* * ModeShape (http://www.modeshape.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
/* * JFLAP - Formal Languages and Automata Package * * * <NAME> * Computer Science Department * Duke University * August 27, 2009 * Copyright (c) 2002-2009 * All rights reserved. * JFLAP is open source software. Please see the LICENSE for terms. * */ package edu.duke.cs.jflap.file.xml; import java.io.Serial...
package com.networknt.client.http; import com.networknt.client.ClientConfig; import io.undertow.client.ClientConnection; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.net.URI; import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ThreadLocalRandom; impor...
package com.hemou.curriculum.activity; import android.content.DialogInterface; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.view.ViewGroup; import android.widget.EditText; import android.widget.ListAdapter; import android.widget.ListView; import android.widget.Radio...