text
stringlengths
3.08k
15.2k
package com.zmtmt.zhibohao.tools; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.FeatureInfo; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.PorterDuff;...
/* * Copyright (c) 2004, The Joust Project * 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, thi...
package net.florianschoppmann.issuetracking; import com.asana.Client; import com.asana.models.Project; import com.asana.models.Workspace; import joptsimple.OptionParser; import joptsimple.OptionSet; import joptsimple.OptionSpec; import joptsimple.util.PathConverter; import net.florianschoppmann.issuetracking.asana.Asy...
package au.gov.amsa.geo.distance; import static au.gov.amsa.geo.distance.Renderer.saveAsPng; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java....
/*L * Copyright Georgetown University, Washington University. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cab2b/LICENSE.txt for details. */ package edu.wustl.cab2b.server.queryengine.querybuilders; import java.util.ArrayList; import java.util.HashMap; impo...
/** * */ package com.tachographStructure.file.vuBlocks.subBlocks; /** * @author <NAME> * * 2.54. EventFaultType * Código que califica un incidente o un fallo. * EventFaultType ::= OCTET STRING (SIZE(1)) * Asignación de valor: * ′0x′H Incidentes de carácter general, * ′00′H No hay más información, * ′01′H...
/* * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package org.gooru.nucleus.handlers.courses.processors.repositories.activejdbc.entities; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import java.util.ArrayList; import java.util....
package com.github.chathamabate.peru.preset.regex; import com.github.chathamabate.peru.charpos.EnumCharPos; import com.github.chathamabate.peru.fa.DFAutomaton; import com.github.chathamabate.peru.lexer.DLexer; import com.github.chathamabate.peru.lexer.charlexer.CharSimpleContext; import com.github.chathamabate.peru.le...
// // $Id$ package client.reminders; import java.util.List; import com.google.common.collect.Lists; import com.google.gwt.core.client.GWT; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.user.client.ui.FlowPanel; import com.google.gwt.user...
package com.alibaba.alink.operator.common.outlier; import org.apache.flink.api.java.tuple.Tuple3; import org.apache.flink.ml.api.misc.param.Params; import org.apache.flink.table.api.TableSchema; import com.alibaba.alink.common.MTable; import com.alibaba.alink.common.probabilistic.CDF; import com.alibaba.alink.common....
package org.joverseer.ui.viewers; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.util.ArrayList; import javax.swing.Icon; imp...
package org.enso.interpreter.runtime; import com.oracle.truffle.api.CompilerDirectives; import com.oracle.truffle.api.frame.VirtualFrame; import com.oracle.truffle.api.instrumentation.EventBinding; import com.oracle.truffle.api.instrumentation.EventContext; import com.oracle.truffle.api.instrumentation.ExecutionEventL...
package dungeon.model; import dungeon.randomizer.IRandomNumberGenerator; import java.util.ArrayList; import java.util.List; /** * Class used to generate paths between caves * using the Kruskal's algorithm with minor * adjustments to account for interconnectivity. * Made package-private since all accesses happen ...
/* * Copyright (c) Facebook, Inc. and 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 applic...
package ru.android.mtsinfowidget.objects; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Created by Vasiliev on 07.10.2015. */ public class H2OProfile { private ...
package org.broadinstitute.sting.utils.variantcontext; import org.broadinstitute.sting.utils.codecs.vcf.VCFConstants; import java.util.*; /** * Common utility routines for VariantContext and Genotype * * @author depristo */ final class CommonInfo { public static final double NO_LOG10_PERROR = 1.0; pri...
package lambda; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.function.Predicate; import java.util.stream.Collectors; import java.util.stream.Stream...
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" ...
package com.transcend.compute.utils; import java.util.List; import org.dasein.cloud.network.Firewall; import org.dasein.cloud.network.FirewallSupport; import com.generationjava.io.xml.XMLNode; import com.msi.tough.query.QueryUtil; import com.transcend.compute.message.DescribeSecurityGroupsMessage.DescribeSecurityGro...
/******************************************************************************* * Copyright 2012 Geoscience Australia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://ww...
/* * Copyright 2014 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 applicabl...
/* * Copyright (c) 2013 EMC Corporation * All Rights Reserved */ package com.emc.storageos.systemservices.impl.eventhandler.connectemc; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import javax.ws.rs.core.MediaType; import com.e...
package co.gov.ideamredd.dao; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.Date; import javax.ejb.EJB; import javax.ejb.Stateless; import oracle.jdbc.OracleTypes; import co.gov.ideamredd.conexionBD.ConexionBD; @State...
/* * Copyright 2016 Kik Interactive, 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...
package net.osmand.plus.settings.backend.backup.items; import android.content.Context; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import net.osmand.osm.MapPoiTypes; import net.osmand.osm.PoiCategory; import net.osma...
/* * #%L * Detection Framework (Release) * %% * Copyright (C) 2015 - 2020 Lawrence Livermore National Laboratory (LLNL) * %% * 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 re...
package de.peeeq.wurstio.languageserver.requests; import de.peeeq.wurstio.languageserver.BufferManager; import de.peeeq.wurstio.languageserver.ModelManager; import de.peeeq.wurstio.languageserver.WFile; import de.peeeq.wurstscript.WLogger; import de.peeeq.wurstscript.ast.*; import de.peeeq.wurstscript.attributes.names...
package com.infoDiscover.solution.common.path; import com.infoDiscover.solution.common.path.helper.AllPaths; import com.infoDiscover.solution.common.path.helper.GenericGraph; import com.tinkerpop.blueprints.Direction; import com.tinkerpop.blueprints.Edge; import com.tinkerpop.blueprints.impls.orient.OrientGraph; impor...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
/* * Copyright 2018 EMBL - European Bioinformatics Institute * * 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 b...
/* * Copyright 2016-2021 DiffPlug * * 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 © 2016 IBM Corp. All rights reserved. * * Original iOS version by <NAME>, ported to Android by <NAME> * Copyright © 2012 Couchbase, Inc. All rights reserved. * * Modifications for this distribution by Cloudant, Inc., Copyright © 2013 Cloudant, Inc. * * Licensed under the Apache License, Version ...
package pers.zcc.scm.common.util; import java.io.UnsupportedEncodingException; import java.nio.charset.Charset; public class ByteUtil { public static byte[] getBytes(short data) { byte[] bytes = new byte[2]; bytes[0] = (byte) (data & 0xff); bytes[1] = (byte) ((data & 0xff00) >> 8); ...
package com.youlun.crm.client; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.nio.charset.Charset; import java.util.Date; import net.sourceforge.htmlunit.corejs.javascript.NativeObject; import net.sourceforge.htmlunit.corejs.javascript.Undefined; import org.apache.log4j.Logg...
/* * Copyright (c) 1998-2018 University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package thredds.ldm; import ucar.nc2.iosp.bufr.Message; import java.io.*; import java.util.*; import java.util.regex.Pattern; import java.util.regex.Matcher; import java.nio.channels.Writ...
package com.jpmorgan.cakeshop.client.ws; import com.google.common.base.Predicate; import com.google.common.collect.Iterables; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Timer; import java.util.TimerTask; imp...
package seedu.address.logic.parser; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.commands.ScrubCommand.NO_VALID_PREFIX; import static seedu.address.logic.parser.CliSyntax.ARRAY_OF_PREFIX; import static seedu.address.logic.parser.CliSyntax.PREFIX_AD...
package net.minecraft.item; import net.minecraft.nbt.CompoundNBT; import net.minecraft.nbt.NBTUtil; import net.minecraft.util.math.MathHelper; public class MerchantOffer { /** The first input for this offer. */ private final ItemStack buyingStackFirst; /** The second input for this offer. */ private final...
package com.notifellow.su.notifellow; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.support.design.widget.Snackbar; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.Vie...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2018 by <NAME> : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "Lic...
/** * */ package com.thinkbiganalytics.metadata.sla.api.core; /*- * #%L * thinkbig-sla-metrics-default * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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...
/** * Copyright (C) 2016 Cambridge Systematics, 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 app...
package io.visual_regression_tracker.sdk_java; import com.google.gson.Gson; import io.visual_regression_tracker.sdk_java.request.BuildRequest; import io.visual_regression_tracker.sdk_java.request.TestRunRequest; import io.visual_regression_tracker.sdk_java.response.BuildResponse; import io.visual_regression_tracker.sd...
package org.apache.lucene.server.handlers; /* * 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 Licen...
package com.avereon.xenon; import com.avereon.event.EventWatcher; import com.avereon.util.FileUtil; import com.avereon.util.OperatingSystem; import com.avereon.xenon.asset.type.ProgramAboutType; import com.avereon.xenon.asset.type.ProgramProductType; import com.avereon.xenon.asset.type.ProgramSettingsType; import com....
/** * 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 *...
package com.github.raml2spring.util; import com.github.raml2spring.data.RPModel; import com.sun.codemodel.*; import org.raml.v2.api.model.v10.datamodel.*; import org.springframework.format.annotation.DateTimeFormat; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotat...
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2010, 2013, 2014, 2016 Synacor, 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...
/******************************************************************** The Multiverse Platform is made available under the MIT License. Copyright (c) 2012 The Multiverse Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
package org.firstinspires.ftc.rmrobotics.histoy.opmodes.feRMilab.experimental; import com.kauailabs.navx.ftc.AHRS; import com.kauailabs.navx.ftc.navXPIDController; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.Disabled; import com.qualcomm.robotcore.eventloop...
package onactivityresult; import org.junit.Test; @SuppressWarnings("PMD.AvoidDuplicateLiterals") public class OnActivityResultExtraNameTest { @Test public void extraName() { //@formatter:off TestActivity.create().hasExtra() .addImport("onactivityresult.ExtraBoolean") .a...
package eeui.android.eeuiContact.module.utils; import android.Manifest; import android.annotation.SuppressLint; import android.content.Context; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.provider.ContactsContract; import...
package com.opencredo.concursus.domain.time; import com.google.common.base.Charsets; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.net.UnknownHostException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.time...
/** * Copyright 2019 <NAME>. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * SOL005 - NS Lifecycle Management Interface * SOL005 - NS Lifecycle Management Interface IMPORTANT: Please note that this file might be not aligned to the current version of the ETSI Group Specification it refers to and has not been approved by the ETSI NFV ISG. In case of discrepancies the published ETSI Group S...
/* * Copyright 2002-2018 SCOOP Software GmbH * * 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...
package org.jcp.jsr331.hakan; /** * * Set covering problem (OPL) in JSR331. * * * * Model by <NAME> (<EMAIL>) * Also see http://www.hakank.org/jsr_331/ * */ import javax.constraints.*; public class CoveringOpl { int num_workers = 32; int num_tasks = 15; Problem p = Prob...
package org.aepscolombia.platform.models.entity; // Generated Apr 8, 2014 9:37:27 AM by Hibernate Tools 3.2.1.GA import java.util.Date; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Generate...
package org.lndroid.framework.plugins; import android.util.Log; import org.lndroid.framework.WalletData; import org.lndroid.framework.defaults.DefaultPlugins; import org.lndroid.framework.defaults.DefaultTopics; import org.lndroid.framework.engine.IPluginBackground; import org.lndroid.framework.engine.IPluginBackgrou...
package com.github.walker.mybatis.paginator.dialect; import com.github.walker.mybatis.paginator.Order; import com.github.walker.mybatis.paginator.PageBounds; import org.apache.ibatis.mapping.BoundSql; import org.apache.ibatis.mapping.MappedStatement; import org.apache.ibatis.mapping.ParameterMapping; import org.apache...
/* * 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.marmelab.quoridor.game; import com.marmelab.quoridor.graph.GraphFactory; import com.marmelab.quoridor.model.*; import org.jgrapht.Graph; import org.jgrapht.GraphPath; import org.jgrapht.alg.shortestpath.DijkstraShortestPath; import org.jgrapht.graph.DefaultEdge; import org.jgrapht.traverse.DepthFirstIterat...
/* * Copyright 2014-2020 [fisco-dev] * * 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 it.unive.lisa.test.stripes.simplifier; import it.unive.lisa.symbolic.value.Variable; import org.jetbrains.annotations.NotNull; /** * Description. * * @author DeB * @version 1.0 2021-05-16 * @since version date */ public class OldPolynomial { public static final OldPolynomial INVALID = new OldPolyno...
package org.spincast.website.repositories; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.spincast.core.json.JsonArray; import org.spincast.core.json.JsonManager; import org...
package com.ruuvi.station.scanning; import android.app.AlarmManager; import android.app.PendingIntent; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothManager; import android.bluetooth.le.BluetoothLeScanner; import android.bluetooth.le.ScanCallback...
/* * Copyright 2018-2021 Hazelcast, 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...
package com.library.repository.core.interceptor; import android.text.TextUtils; import android.util.Log; import com.library.common.base.BaseApp; import com.library.common.utils.AppUtil; import com.library.common.utils.DeviceInfoUtils; import com.library.common.utils.JsonUtil; import com.library.common.utils.StringUti...
package cn.mxleader.quickdoc.service.impl; import cn.mxleader.quickdoc.common.utils.HanyuPinyinUtil; import cn.mxleader.quickdoc.entities.SysProfile; import cn.mxleader.quickdoc.entities.SysUser; import cn.mxleader.quickdoc.service.ConfigService; import cn.mxleader.quickdoc.service.LDAPService; import cn.mxleader.quic...
/* * Copyright 2017-2018 Crown Copyright * * 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...
/* * Copyright 2015-2020 uuzu.com All right reserved. */ package com.mob.thor.communication.core.delegation; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.*; import org.apache.commons.lang.StringUtils; import org.slf...
/* * 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 android.bignerdranch.com.fourredd; /** * Allows users view and post threads as well as like or dislike threads * Buttons allow the user to navigate to either the create new thread activity or view the comments for a specific thread * Buttons to navigate to the four and home activites are present * server r...
package probability; import common.Components; import org.neo4j.graphdb.Label; import org.neo4j.graphdb.Node; import java.util.Arrays; import java.util.concurrent.ThreadLocalRandom; import java.util.function.BiConsumer; /** * Created by <NAME> on 06/08/17. * <p>All transformations functions are stored here.</p> *...
package seedu.address.ui; import java.util.Calendar; import java.util.logging.Logger; import javafx.beans.value.ObservableValue; import javafx.collections.ListChangeListener; import javafx.collections.ObservableList; import javafx.collections.transformation.FilteredList; import javafx.fxml.FXML; import javafx.geometr...
package com.zhqchen.rn.imgpicker.pickerpackage; import android.app.Activity; import android.content.Intent; import android.util.Log; import com.facebook.react.bridge.ActivityEventListener; import com.facebook.react.bridge.Callback; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.br...
/* * COPYRIGHT (c) 2010-2015 by <NAME>, <NAME> and <NAME> * COPYRIGHT (c) 2014-2015 by <NAME> * SWING Research Group, Czech Technical University in Prague * * This software is furnished under a license and may be used * only in accordance with the terms of that license and with the * i...
/* Copyright 2005-2006 <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 ...
package net.haesleinhuepf.clijx.assistant.scriptgenerator; import ij.IJ; import ij.ImagePlus; import net.haesleinhuepf.clij.macro.CLIJMacroPlugin; import net.haesleinhuepf.clij2.assistant.scriptgenerator.JythonGenerator; import net.haesleinhuepf.clij2.assistant.services.AssistantGUIPlugin; import net.haesleinhuepf.cli...
// =================================================================================================== // _ __ _ _ // | |/ /__ _| | |_ _ _ _ _ __ _ // | ' </ _` | | _| || | '_/ _` | // |_|\_\__,_|_|\__|\_,_|_| \_...
/* * 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 ...
/* * 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 backend; import controller.DB; import java.util.Map; import java.util.HashMap; import java.time.LocalDate; import java.sql.Connect...
package ch.mbuehler.eth.mgis.treasurego; import android.app.Activity; import android.content.Context; import android.hardware.Camera; import android.opengl.Matrix; import android.util.Log; import android.view.SurfaceHolder; import android.view.SurfaceView; import android.view.View; import android.view.ViewGroup; impo...
/* * Copyright (C) 2013 Google, Inc. * Copyright (C) 2013 Square, 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 requ...
package com.rks.musicx.ui.fragments; import android.os.Bundle; import android.support.v4.app.LoaderManager.LoaderCallbacks; import android.support.v4.content.Loader; import android.support.v7.widget.PopupMenu; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view...
/******************************************************************************* * Copyright 2012 University of Southern California * * 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 * ...
/* * Copyright © 2018 Tinkoff Bank * * 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 ...
package cn.zhaotianen.oa.test; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import org.junit.Test; import cn.zhaotianen.oa.domain.Department; /** * 说明:不能使用多层循环的方式,因为需要能支持任意层。 */ public class TreeViewPractice { ...
/* * 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 com.baerdev.ad.sw10.ex4; import javax.swing.text.html.HTML; import org.apache.logging.log4j.LogManager; import org.apache.logg...
package com.inforshuttle.mongo.util; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.List; import org.bson.types.ObjectId; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongod...
package edu.pdx.cs410j.devyani.phonebill; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.EditText; import androidx.appcompat.app.AppCompatActivity; import com.google.android.material.snackbar.Snackbar; import java.io.BufferedReader; import java.io.File; import jav...
/* * iVProg2 - interactive Visual Programming for the Internet * Java version * * LInE * Free Software for Better Education (FSBE) * http://www.matematica.br * http://line.ime.usp.br * */ package usp.ime.line.ivprog.view.domaingui.workspace.codecomponents; import java.awt.Color; import java...
/* * Copyright 2015. AppDynamics LLC and its affiliates. * All Rights Reserved. * This is unpublished proprietary source code of AppDynamics LLC and its affiliates. * The copyright notice above does not evidence any actual or intended publication of such source code. */ package com.appdynamics.extensions.logmonit...
/* * The MIT License (MIT) * * Copyright © 2016-, Boku Inc., <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 us...
/* * This code is derived from WOBAFormat.java, a part of Kreative * Software's PowerPaint application. The original source code can * be found on GitHub, here: https://github.com/kreativekorp/powerpaint/blob/master/main/java/PowerPaint/src/com/kreative/paint/format/WOBAFormat.java * <p> * The contents of this fil...
package com.example.smartsend.smartsendapp.utilities.app.order; import android.graphics.Bitmap; import com.example.smartsend.smartsendapp.utilities.app.order.price.BaseFare; import com.example.smartsend.smartsendapp.utilities.app.order.price.DistanceFare; import com.example.smartsend.smartsendapp.utilities.app.order....
/* * 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 org.randomcoder.proxy.client; import org.apache.commons.codec.Charsets; import org.apache.commons.io.IOUtils; import org.apache.http.HttpHost; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.ProtocolVersion; import org.apache.http.client.HttpClient; import org.apa...
/* * Copyright (c) 2017 NCIC, Institute of Computing Technology, Chinese Academy of Sciences * * 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 limi...