text
stringlengths
3.08k
15.2k
/* * 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.hlq.capture; import android.Manifest; import android.content.ComponentName; import android.content.Intent; import android.content.ServiceConnection; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Bundle; import android.os.IBinder; import android.provider.Settings; impor...
package com.example.demo.BusinessLayer; import com.example.demo.BusinessLayer.Entities.Experimentee; import com.example.demo.BusinessLayer.Entities.Participant; import com.example.demo.BusinessLayer.Entities.Results.Result; import com.example.demo.BusinessLayer.Entities.Stages.Stage; import com.example.demo.BusinessLa...
package de.datasecs.hydra.client; import de.datasecs.hydra.shared.handler.listener.HydraSessionListener; import de.datasecs.hydra.shared.initializer.HydraChannelInitializer; import de.datasecs.hydra.shared.protocol.Protocol; import io.netty.bootstrap.Bootstrap; import io.netty.channel.Channel; import io.netty.channel....
/** * Copyright (c) 2008-2014 Ardor Labs, Inc. * * This file is part of Ardor3D. * * Ardor3D is free software: you can redistribute it and/or modify it * under the terms of its license which may be found in the accompanying * LICENSE file or at <http://www.ardor3d.com/LICENSE>. */ package com.ardor3d.example....
package com.example.android.miwok; import android.media.MediaPlayer; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.LinearLayout; import android.wi...
package kr.pe.lahuman.client; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import kr.pe.lahuman.utils.BuilderConstant; import kr.pe.lahuman.utils.BuilderU...
package robot.subsystems; import robot.OI; import robot.RobotMap; import robot.commands.ArcadeDrive; import edu.wpi.first.wpilibj.CounterBase.EncodingType; import edu.wpi.first.wpilibj.Encoder; import edu.wpi.first.wpilibj.PowerDistributionPanel; import edu.wpi.first.wpilibj.Talon; import edu.wpi.first.wpilibj.Timer; ...
package com.lzx.demo.ui; import android.app.Activity; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.DefaultItemAnimator; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.Toolbar; import android.view.MenuItem; import and...
package tests.restapi.scenarios.experiments; import org.apache.wink.json4j.JSONObject; import org.testng.Assert; import org.testng.annotations.AfterTest; import org.testng.annotations.BeforeClass; import org.testng.annotations.Parameters; import org.testng.annotations.Test; import tests.com.ibm.qautils.FileU...
package blue.heldplayer.mods.recording.client.gui; import blue.heldplayer.mods.recording.ModRecording; import blue.heldplayer.mods.recording.RecordingInfo; import blue.heldplayer.mods.recording.ScreenLocation; import blue.heldplayer.mods.recording.client.ClientProxy; import java.util.Collection; import net.minecraft.c...
/* * Copyright 2006-2007 Open Source Applications 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...
package examples; import java.io.*; import java.util.*; import com.pdfjet.*; /** * Example_50.java * */ class Example_50 { public Example_50(String fileNumber, String fileName) throws Exception { PDF pdf = new PDF(new BufferedOutputStream( new FileOutputStream("Example_" + fileNumb...
//Example 35-1-10 /* public class Hash<T> implements MyCollection<T>, Iterable<T>, java.io.Serializable Supports a collection of objects with no duplicates in a hash table, with initial size 17. The table grows as rehashing occurs. Type T must provide method hashCode. Usage: public Hash(); Post: Hash table initiali...
package org.cleverframe.fastdfs.conn; import org.cleverframe.fastdfs.exception.FastDfsConnectException; import org.cleverframe.fastdfs.exception.FastDfsException; import org.cleverframe.fastdfs.pool.ConnectionPool; import org.cleverframe.fastdfs.pool.TrackerLocator; import org.cleverframe.fastdfs.protocol.AbstractComm...
package BTK203.ui; import BTK203.util.IRenderable; import BTK203.util.Point2D; import BTK203.util.Rectangle; import BTK203.Constants; import java.awt.Graphics; import javax.swing.JPanel; import java.awt.BorderLayout; import java.util.ArrayList; /** * A class that renders paths onto an area of the screen. */ 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"); yo...
package view; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import javax.swing.BoxLayout; import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; import javax.swing.JPanel...
package flappybird; import components.network.MoNeuralNetwork; import java.awt.*; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; public class MoBird extends MoAnimatableObject implements MoFile { public static final double ANIMATION_TIME_MS = 200; public static final int ...
/** * 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...
/* * 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 bean; import java.io.Serializable; import java.util.Collection; import java.util.Date; import javax.persistence.Basic; import ...
package com.cy.onepush.plugins.extension.script.engine.groovy; import com.cy.onepush.datapackager.domain.ExecutionScript; import com.cy.onepush.datapackager.domain.ScriptExecutionEngine; import com.cy.onepush.debugtool.domain.DebugTool; import com.cy.onepush.execution.context.domain.ExecutionContext; import com.cy.one...
package org.gradle.tooling.nvim; import java.io.FileNotFoundException; import java.io.IOException; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.Optional; import com.ensarsarajcic.neovim.java.corerpc...
package uk.org.ird; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.math.BigInteger; import java.time.Instant; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import java.util.concurrent.ThreadLocalRandom; i...
package com.ractoc.tutorials.speedment.service; import ch.vorburger.exec.ManagedProcessException; import ch.vorburger.mariadb4j.DB; import ch.vorburger.mariadb4j.DBConfigurationBuilder; import org.dbunit.Assertion; import org.dbunit.DatabaseUnitException; import org.dbunit.IDatabaseTester; import org.dbunit.JdbcDataba...
package com.egoveris.deo.base.util; import com.egoveris.deo.base.exception.ExtensionesFaltantesException; import com.egoveris.deo.base.exception.ValidacionContenidoException; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java...
package com.example.myglobalchat; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.EditText; import android.w...
package rbccps.smartcity.IDEAM.registerapi.lora; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.Reader; import java.net.HttpURLConnection; import java.net.URL; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; impor...
package com.example.administrator.music03.customView; import android.content.Context; import android.graphics.Color; import android.text.TextUtils; import android.util.AttributeSet; import android.util.Log; import android.view.Gravity; import android.view.View; import android.view.ViewTreeObserver; import android.widge...
/** * * The MIT License * * Copyright 2018, 2019 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
/** * Copyright (C) 2004-2014 the original author or authors. See the notice.md file distributed with * this work for additional information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package tools.export; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Properties; import tools.HexTool; imp...
/* * Copyright 2007 skynamics AG * * 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 com.zavod.mysql.client; import static com.zavod.mysql.client.ResultSetMappers.rowExists; import static com.zavod.mysql.client.ResultSetMappers.rowList; import static com.zavod.mysql.client.ResultSetMappers.value; import static java.sql.Statement.NO_GENERATED_KEYS; import static java.sql.Statement.RETURN_GENERA...
/* * Copyright 2018 IBM 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 law or agree...
package com.mgatelabs.swftools.exploit.gui; import com.mgatelabs.swftools.exploit.conversion.Converter; import com.mgatelabs.swftools.support.swf.objects.FMovie; import com.mgatelabs.swftools.support.tools.SwingWorker; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.A...
/******************************************************************************* * Copyright (c) 2006, 2017 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at https://w...
package fi.tuni.saari5.autentikointi25_02_2021; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.TextView; import com.firebase.ui.auth.AuthUI; import c...
package com.gpaddyv1.queenscanner.sign.view; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import android.graphics.drawable.Drawable; import androidx.core.view.ViewCompat; import android.util.Log; imp...
package io.github.yunato.myscheduler.model.dao; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.provider.CalendarContract; import android.support.anno...
package logbook.gui.bean; import java.text.SimpleDateFormat; import java.util.Date; import logbook.annotation.Name; import logbook.constants.AppConstants; import logbook.dto.ShipDto; import logbook.gui.logic.TimeLogic; /** * お風呂に入りたい艦娘のBean * */ public class BathwaterBean { /** 艦娘ID */ @...
/* * Copyright 2012 <NAME> and other contributors * http://chirrup.org/ * * See the file LICENSE for copying permission. */ package org.trifort.rootbeer.generate.bytecode; import soot.Local ; import soot.Type ; import soot.Value ; import soot.LongType ; import soot.IntType ; import soot.Voi...
import java.util.*; class Main { public static void main(String[] args) { deck d = new deck(); Scanner na = new Scanner(System.in); System.out.println("What's your name?"); String name = na.next(); Scanner totalMoney = new Scanner(System.in); System.out.println("How much money are you playing...
package com.cloud.secure; import android.app.Activity; import android.app.AlertDialog; import android.content.pm.PackageManager; import android.hardware.Camera; import android.hardware.Camera.PictureCallback; import android.os.AsyncTask; import android.os.Bundle; import android.util.Base64; import android.ut...
package de.renew.navigator; import de.renew.navigator.io.FileFilterBuilder; import de.renew.navigator.io.FilesystemIOLoader; import de.renew.navigator.io.IOLoader; import de.renew.navigator.io.ProgressListener; import de.renew.navigator.models.BackgroundTask; import de.renew.navigator.models.TreeElement; import de.re...
package com.example.lcom67.demoapp; import android.content.Context; import android.content.ContextWrapper; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFacto...
/* * hoidla: various algorithms for Big Data solutions * Author: <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 r...
package dk.brics.tajs.util; import dk.brics.tajs.lattice.ObjectLabel; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import static dk.brics.tajs.util.Collections.newSet; public class Chain<T> { private Set<T> elements; private Chain<T> next; private Chain(Set<T> el...
package com.example.fiver.smart_butler.Service; /* * 项目名: Smart_Butler * 包名: com.example.fiver.smart_butler.Service * 文件名: SmsService * 创建者: YYC * 创建时间: 17/7/4 上午11:27 * 描述: TODO */ import android.app.Service; import android.content.BroadcastReceiver; import android.content.Context; import android.c...
package com.daxiang.customviews.view; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphic...
/* * Copyright (c) 2018, 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...
package org.xcolab.view.pages.contestmanagement.utils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.xcolab.client.activity.StaticActivityContext; import org.xcolab.client.admin.attributes.platform.PlatformAttributeKey; import org.xcolab.client.contes...
/* * Copyright (C) 2004-2016 L2J DataPack * * This file is part of L2J DataPack. * * L2J DataPack is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option...
package com.imd.services.bean; import java.util.Iterator; import java.util.List; import org.joda.time.DateTime; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; import com.fasterxml.jackson.annotation.JsonProperty; public class AnimalBean { private String orgId; private S...
package net.violet.platform.api.actions; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.io.StringWriter; import java.util.Enumeration; import java.util.Map; import javax.servlet.http.HttpServletRequest; import net.violet.platform.api.a...
/* * Copyright (c) 2013 IBM 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 available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.co...
package com.by_syk.bigjpg; import android.content.Intent; import android.content.res.Configuration; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; impo...
/* 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 not...
package com.straphq.strapkit.strapkit_lib.messaging; import android.app.Service; import android.content.Intent; import android.net.Uri; import android.os.Binder; import android.os.Bundle; import android.os.Handler; import android.os.IBinder; import android.util.Log; import com.google.android.gms.common.ConnectionResu...
package com.glmis.controller.scientificResearch; import com.glmis.domain.authority.User; import com.glmis.domain.personnel.Employee; import com.glmis.domain.scientificResearch.Awards; import com.glmis.domain.scientificResearch.ScienReasCheckingStatus; import com.glmis.service.authority.UserService; import com.glmis.se...
/* * MIT License * * Copyright (c) 2021 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
package com.ssafy.algorithm.day17SolvingProb.assignment; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.LinkedList; import java.util.Queue; public class GoodbyNanoAir { static BufferedReader br = new BufferedReader(new Inpu...
/** * Copyright (C) 2016 Hurence (<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 la...
package io.cool; import static java.nio.file.StandardWatchEventKinds.ENTRY_DELETE; import static java.nio.file.StandardWatchEventKinds.OVERFLOW; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.WatchEvent; import java.nio.file.attribut...
/* ======================================= * JFreeChart : a Java Chart Class Library * ======================================= * * Project Info: http://www.jrefinery.com/jfreechart; * Project Lead: <NAME> (<EMAIL>); * * (C) Copyright 2000-2002, by Simba Management Limited and Contributors. * * This library i...
/** * Copyright 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
package States; import java.awt.*; import java.util.ArrayList; import Items.Item; import Engine.Game; import Entities.GamePieces.EnemyPiece; import Entities.GamePieces.ItemPiece; import Entities.GamePieces.PlayerPiece; import Entities.Mobs.*; import Items.Oregano; import Items.SimpleItemFactory; import Map.Map; import ...
/* * Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE) */ package org.ligoj.bootstrap.core.dao.csv; import java.io.Reader; import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; im...
package logic.entity; import java.util.LinkedList; import javafx.geometry.Point2D; import sharedobject.CellEvolutionManager; import sharedobject.IRenderable; import sharedobject.Moveable; import sharedobject.Scaleable; import utility.Force; /** * @author Zen3515 * */ public abstract class Entity im...
/* * Copyright 2018 ARP Network * * 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...
package nl.vu_compmedchem.klifs.ligands; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.knime.chem.types.SmilesCell; import org.knime.core.data.DataCell; import org.knime.core.data.DataColumnSpec; import org.knime.core.data.DataColumnSpecCreator; import ...
package com.doodeec.eddy; import android.app.AlarmManager; import android.app.PendingIntent; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Handler; import a...
package it.com.atlassian.plugin.connect.util.request; import com.atlassian.jwt.SigningAlgorithm; import com.atlassian.jwt.core.HttpRequestCanonicalizer; import com.atlassian.jwt.core.writer.JsonSmartJwtJsonBuilder; import com.atlassian.jwt.core.writer.NimbusJwtWriterFactory; import com.atlassian.jwt.httpclient.Canonic...
/* * This file is part of ELKI: * Environment for Developing KDD-Applications Supported by Index-Structures * * Copyright (C) 2019 * ELKI Development Team * * 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...
package com.crashlytics.android.core; import io.fabric.sdk.android.Fabric; import io.fabric.sdk.android.services.common.BackgroundPriorityRunnable; import java.io.File; import java.util.Collections; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; final class ReportU...
/*- * Copyright (c) 2020 Red Hat, 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 agr...
package ch.ethz.inf.vs.californium.osgi; import java.net.InetAddress; import java.net.InetSocketAddress; import java.util.Dictionary; import java.util.Enumeration; import java.util.LinkedList; import java.util.List; import java.util.concurrent.Executors; import java.util.logging.Logger; import org.osgi.fra...
/* * Copyright 2015 XXX * * 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 edu.gzmu.model; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import edu.gzmu.model.base.SLPlatBaseModel; import java.util.List; /** * <p> * 菜单 * </p> *...
/* * Copyright 2021 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 applica...
package snownee.kiwi.contributor.client.gui; import java.util.Objects; import javax.annotation.Nullable; import com.mojang.blaze3d.matrix.MatrixStack; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.gui.widget.list.ExtendedList; import net.minecraft....
package org.jzl.android.recyclerview.v3.core.plugins; import android.view.View; import androidx.annotation.NonNull; import org.jzl.android.recyclerview.v3.core.IAdapterObservable; import org.jzl.android.recyclerview.v3.core.IBindPolicy; import org.jzl.android.recyclerview.v3.core.IConfiguration; import org.jzl.andro...
/****************************************************************************** * Copyright (C) 2017 <NAME> * * Copyright (C) 2017 Bx Service GmbH * * This program is free software; you can redistribute it and/or modify it * * u...
// @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2...
package com.youlai.mall.oms.service.impl; import com.youlai.common.result.Result; import com.youlai.common.web.util.WebUtils; import com.youlai.mall.pms.api.ProductFeignService; import com.youlai.mall.oms.bo.CartItemBo; import com.youlai.mall.oms.bo.CartItemCheckBo; import com.youlai.mall.pms.pojo.dto.SkuDTO; import c...
package weka.classifiers.lazy; import development.DataSets; import java.text.DecimalFormat; import utilities.ClassifierTools; import weka.core.*; import weka.core.neighboursearch.NearestNeighbourSearch; /** Nearest neighbour classifier that extends the weka one but can take * alternative distance functions...
package com.excilys.formation.controller; import java.util.ArrayList; import java.util.List; import java.util.Locale; import java.util.Optional; import javax.validation.Valid; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springfram...
package wb.control; import android.content.Intent; import java.util.ArrayList; /** * Created by <NAME> on 17.05.2016. */ public class GPIOport { /* GPIOPort: Name (A/B.. bei ATMega) count (anzahl der Pins am Port - alle, nicht nur usable!) Type (ATMega-8bit / Raspi-P1-26 / Raspi-P1-40 [unters...
/** * Copyright (C) 2011 Whisper Systems * * 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, either version 3 of the License, or * (at your option) any later version. * * This program is...
package hpl.sys; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.awt.geom.*; import java.awt.image.*; public class Screen extends JPanel implements ComponentListener { public static final int DEFAULT_WIDTH = 400; public static final int DEFAULT_HEIGHT = 400; private static f...
package chintanrathod.com.batterymonitor; import android.app.Service; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCallback; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetoo...
package net.sourceforge.ondex.ovtk2.ui.popup.custom; import java.beans.XMLDecoder; import java.beans.XMLEncoder; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import ja...
package mobile_final; /* * */ import java.text.SimpleDateFormat; import java.util.List; import java.util.Locale; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import ...
/* * EpiccBasedIntentAnalysis.java - part of the GATOR project * * Copyright (c) 2018 The Ohio State University * * This file is distributed under the terms described in LICENSE in the * root directory. */ package presto.android.gui.clients.ata; import com.google.common.collect.Lists; import com.google.common.c...
/* * 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 JSONCrypt.AESCrypto; import java.util.Collections; /** * This class has functionalities for AES encryption of user...
/* * PopulationCenter.java * * $Id: PopulationCenter.java 2006 2013-08-19 18:01:13Z jharri $ * */ package sim.app.geo.riftland; import sim.app.geo.riftland.household.Household; import sim.app.geo.riftland.parcel.UrbanArea; import sim.util.Double2D; import java.util.ArrayList; import java.util.Collection; import...
package com.peng.customwidget.custom_view; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.Shader; import android.graphics.SweepGradient; import android.support.annotation.IntDef; impor...
package com.exploringspatial.service; import com.exploringspatial.domain.FitActivity; import com.exploringspatial.fit.GarminFitListener; import com.garmin.fit.*; import com.vividsolutions.jts.geom.*; import com.vividsolutions.jts.simplify.DouglasPeuckerSimplifier; import org.apache.log4j.Logger; import org.geotools.fe...
package io.github.cloudadc.sslo; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import java.nio.file.StandardOpenOption; import java.util.List; import org.spr...
/* * 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 ...