text
stringlengths
10
2.72M
package Services; import DB.DBHandler; import DB.Job; import DB.Orchestration; import LOG.LogClient; import LOG.LogLevel; import MainProcess.MainProcess; import Services.Approve.ApproveService; import Services.InfoService.InfoService; import Services.Orchestration.OrchestrationService; import javax.jws.WebMethod; imp...
package main.java.com.javacore.io_nio.task3.controller; import java.util.HashSet; import java.util.Set; import main.java.com.javacore.io_nio.task3.controller.dto.AccountDto; import main.java.com.javacore.io_nio.task3.controller.dto.DeveloperDto; import main.java.com.javacore.io_nio.task3.controller.dto.ProjectDto; imp...
package org.squonk.client; import org.squonk.core.user.User; /** * Created by timbo on 12/03/16. */ public interface UserClient { User getUser(String username) throws Exception; }
package com.driva.drivaapi.constant; public class SecurityConstant { public static final String ACCESS_DENIED_MESSAGE = "You do not have permission to access this page"; }
package com.xeon.jw; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class JwApplicationTests { @Test void contextLoads() { } }
package corgitaco.fabricnetworkutil.s2c; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.world.level.Level; import java.util.function.BiConsumer; import java.util.function.Function; public interface S2CPacket { void write(FriendlyByteBuf buf); void handle(Level level); record Handle...
package friend.group.bank.obj.domain.member.repository; import friend.group.bank.obj.domain.member.entity.Member; import friend.group.bank.obj.domain.member.status.MemberAuthority; import org.springframework.data.jpa.repository.JpaRepository; public interface MemberJpaRepository extends JpaRepository<Member, Long> { ...
package scut218.pisces.utils.impl; import com.google.protobuf.ByteString; import org.apache.mina.core.future.ConnectFuture; import org.apache.mina.core.service.IoConnector; import org.apache.mina.core.session.IdleStatus; import org.apache.mina.core.session.IoSession; import org.apache.mina.filter.codec.ProtocolCodecFi...
package net.myinfosys.desembertraining.swing; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; public class FrameTest { public static void main(String[] args) { // TODO Auto-generated method stub //create frame with name Frame JFrame frame = new JFrame("HelloWorldSwing")...
package es.zamorano.popularmovielist.ui; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.squareup.picasso.Picasso; import butterk...
package entity; public class DepotIn_select { private String bdate; private String edate; private String in_id; //单号 private String vendor; private String store; private String state; private String create; private String src; public String getBdate() { return bdate; ...
package pl.teo.lib.controllers; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import pl.teo.lib.entities.Category; import pl.teo.lib.service.CategoryService; import java.util.List; @RestController @RequestMapping("/api/category") @CrossOrigin(origins...
package com.mittidesign.initiativemanager; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class DbHelper extends SQLiteOpenHelper { // Logcat tag public static final String LOG = "DatabaseHelper"; // Database Version...
/* * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package network.nerve.swap; import network.nerve.swap.utils.NerveCallback; /** * @author Niels */ public class JunitCase<T> { /** * @param key 用例标识 * @param params 参数列表 * @param want 预期结果 * @param wantEx 预期是否抛出异常 * @param exClass 抛出的是什么异常 * @param message 打印信息 */ ...
/* File: Fraction.java Downloaded from: http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/misc/Fraction.java This has been moved to the com.myronmarston.util package because JRuby seems to have issues importing from an edu package. Originally written by Doug Lea and released into the publi...
package com.classroom.app.tests; import com.classroom.app.Interfaces.MessageInterface; import com.classroom.app.model.Message; import com.classroom.app.services.MessageService; import java.util.ArrayList; import java.util.List; /** * Created by Muhammad Sadiq Saeed on 4/5/2017. */ public class Test6 { public ...
/* * 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.dawningdevelopers.swing.util.windowstab; import java.awt.Color; import java.awt.Graphics; import javax.swing.JPanel; /** ...
package com.zafkiel.Proxy; public interface TestProxy { void count(); }
package edu.uclm.esi.common.androidClient.http; import java.util.concurrent.ExecutionException; import org.json.JSONException; import org.json.JSONObject; import edu.uclm.esi.common.jsonMessages.JSONMessage; public class Proxy { public static String PREFIX = "--", LINE_END = "\r\n"; private static Proxy yo; p...
package com.example.itime; import android.content.Context; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.ArrayList; public class timeSaver { Context context; ArrayList<Time> times =new ArrayList<Time>(); public timeSaver(Context context) { this.context = c...
package com.vipvideo.util; import android.content.Context; import android.graphics.Bitmap; import android.net.http.SslError; import android.os.Build; import android.util.AttributeSet; import android.util.Log; import android.view.View; import android.webkit.CookieManager; import android.webkit.CookieSyncManager; import...
package net.datacrow.core.modules; import net.datacrow.console.ComponentFactory; import net.datacrow.core.DcRepository; import net.datacrow.core.modules.xml.XmlModule; import net.datacrow.core.objects.DcAssociate; import net.datacrow.core.objects.DcField; import net.datacrow.core.objects.DcObject; public class DcAsso...
package com.example.khoa.models; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; import java.util.ArrayList; import java.util.List; /** * Cre...
import java.util.LinkedList; /** NFlist.java * * Author: Greg Choice c9311718@uon.edu.au * * Created: * Updated: 28/09/2018 * * Description: * STNode sub-class for NFLIST rule * */ public class NFlist extends STNode { public NFlist(LinkedList<Token> tokenList, SymbolTable table) { ...
package com.pointinside.android.api.maps; import android.graphics.Rect; import android.graphics.drawable.Drawable; public class PIMapOverlayItem implements PIMapAnnotation { private Rect mHitBounds; protected PIMapLocation mLocation; protected Drawable mMarker; private long mPromoId = -1L; pri...
package com.example.utsav.sms; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.telephony.SmsManager; import android.telephony.SmsMessage; import android.widget.Toast; import static android.telephony.SmsMessage.createFrom...
package pattern.builder; import java.util.Calendar; public class GeradorBoleto { private BoletoBuilder boletBuilder; public GeradorBoleto(BoletoBuilder boletBuilder) { this.boletBuilder = boletBuilder; } public Boleto geraBoleto(){ this.boletBuilder.buildSacado("Murilo Nascimento"); this.boletBuilder.bui...
package com.example.e_learning; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import com.google.android.gms.tasks.OnFailureListener; im...
package com.example.tejk.opengl_fingerpaint.utils; import android.content.Context; import android.opengl.GLES20; public class ShaderUtils { public static int loadShader(Context context, int type, int shaderResId) { return loadFromSource(type, FileUtils.readTextFileFromRawResource(context, shaderResId)); ...
package adcar.com.model; /** * Created by aditya on 09/02/16. */ public class Ad implements Comparable<Ad> { private Integer id; private Integer adId; private String url; private Integer status; public Integer getId() { return id; } public void setId(Integer id) { th...
/* * 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 DataObjects; /** * * @author Shivam Patel */ public class Project_Technology_Object { private int Project_ID,Tid; ...
package com.redsun.platf; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Created with IntelliJ IDEA. * User: Administrator * Date: 2012/9/27 * Time: 上午 11:03 * To change this template use File | Settings | File Templates. */ public class TestSlf4jLogger { private static final Logger lo...
package fr.doranco.designpattern.strategy; public class OuvertureSimpleStrategy extends OuvertureStrategy { @Override public void ouvrir() { // Je tourne le bouchon simple. } }
package com.zpf.dto; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * Created by LoseMyself * on 2017/3/13 10:00 */ // 获取properties内对应节点名称 @ConfigurationProperties(prefix = "girl") // 能直接Autowire注解需加上这个 @Component public class girl...
package com.ai.platform.agent.web.services; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.util.Strings; import org.springframework.stereotype.Service; import com.ai.platform.agent.entity.Server2ClientMsgMVO; import com.ai.platform.agent.entity.Shel...
package com.lesports.albatross.json; //import com.f1llib.utils.LogUtil; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonParseException; import java.lang.reflect.Type; import java.text.ParseException; import jav...
package net.itcast.course.regex.basic.lesson2; public class CharacterClassShorthand { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String digitChar = "\\d"; String noDigitChar = "\\D"; String wordChar = "\\w"; String noWordChar = "\\W"; String spa...
/******************************** * DragonMail Email Client * * (C) 2013 David Gardner * * * * Source released under the * * GNU General Public License * * * ********************************/ package client; import java.awt.*; import ja...
package com.penglai.haima.ui.index; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.chad.library.adapter.base.BaseQuickAdapter; import com.lzy.okgo.OkGo; import com.penglai.haima.R; import com.penglai.haim...
package com.citibank.ods.modules.product.player.form; // //©2002-2007 Accenture. All rights reserved. // /** * [Class description] * * @see package com.citibank.ods.modules.product.player.form; * @version 1.0 * @author angelica.almeida,27/05/2007 * * <PRE> * * <U>Updated by: </U> <U>Descriptio...
package com.thinkgem.jeesite.modules.sys.web; import com.thinkgem.jeesite.common.config.Global; import java.util.List; import java.util.ArrayList; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.spring...
/****************************************************************************** * __ * * <-----/@@\-----> * * <-< < \\// > >-> * ...
package com.ut.database.entity; import android.arch.persistence.room.Entity; import android.arch.persistence.room.PrimaryKey; @Entity public class Lock { /** * modelNum : * electric : 100 * latitude : * blueKey : * type : 1 * mac : 33-33-22-A1-B0-66 * adminPwd : * createTi...
package com.evan.demo.yizhu.keting_fragment; import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageButton; imp...
package com.needii.dashboard.model; import java.io.Serializable; import javax.persistence.*; /** * The persistent class for the medias database table. * */ @Entity @Table(name="medias") @NamedQuery(name="Media.findAll", query="SELECT m FROM Media m") public class Media implements Serializable { private static f...
package com.codigo.smartstore.sdk.core.operate; import static com.codigo.smartstore.sdk.core.opearte.SetOperator.union; import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertThat; import static org.junit.jupiter.api.Assertions.assertThrows; import java.util.Set; import org.junit.jupit...
package org.apache.hadoop.hdfs.server.namenode.persistance; import java.io.IOException; import java.util.LinkedList; import org.apache.hadoop.hdfs.server.namenode.FSNamesystem; import org.apache.hadoop.hdfs.server.namenode.INode; import org.apache.hadoop.hdfs.server.namenode.Namesystem; import org.apache.hadoop.hdfs.s...
package com.google.sheet.reader.service; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.util.MultiValueMap; import com.google.api.services.sheets....
package fourinline; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.SocketException; import java.net.UnknownHostException; import java.util.logging.Logger; public class Sender1 extends Thread { byte[] sendData; ...
/* * Amy Denham * CS161-01 Fall 2012 * Project 3 * */ import java.awt.*; import javax.swing.*; /** * Face class which draws all the graphics on the clock */ public class Face extends JPanel{ final int C_X=400; //center of circle x location final int C_Y=300; //center of circle y location final int radius = 20...
package com.myneu.project.pojo; import java.util.ArrayList; import java.util.Collection; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.JoinTable; import javax....
package edu.uiowa.icts.criterion; import org.hibernate.Criteria; import org.hibernate.EntityMode; import org.hibernate.HibernateException; import org.hibernate.criterion.CriteriaQuery; import org.hibernate.criterion.Criterion; import org.hibernate.criterion.MatchMode; import org.hibernate.dialect.Dialect; import org.h...
package com.imooc.o2o; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; /** * @author: LieutenantChen * @create: 2018-09-13 14:46 **/ @RestController public class HelloSpringBo...
/* * 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 EvaluacionDesempeñoSupervisores; import BD.BD; import Clases.EvaluacionSupervisores.BDEvaluacionSupervisores; import Clases.Ev...
package com.distributie.view; import java.util.ArrayList; import java.util.HashMap; import android.app.ActionBar; import android.app.Activity; import android.app.Dialog; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import an...
package com.soft1841.book.controller; import com.soft1841.book.entity.Admin; import com.soft1841.book.service.AdminService; import com.soft1841.book.utils.ServiceFactory; import javafx.application.Platform; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.Alert; import javafx.scen...
package org.ohdsi.webapi.service.dto; import org.ohdsi.circe.check.Warning; import java.util.List; public class CheckResultDTO { private Integer cohortDefinitionId; private List<Warning> warnings; public CheckResultDTO(Integer cohortDefinitionId, List<Warning> warnings) { this.cohortDefinitionI...
package dev.liambloom.softwareEngineering.chapter12; import java.util.function.Function; import java.util.function.BiFunction; import java.util.HashMap; import java.util.Set; import java.util.Arrays; // At some point I would like to add support for some form of ArrayMap, to allow exercise20 to use this public class 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 BDQueryEmpleados; import BD.BD; import Clases.empleados.ListaMaestro; import java.sql.Connection; import java.sql.Pr...
package filamentengine.content.organization; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import nu.xom.Element; import nu.xom.Elements; import filamentengine.content.Entity; import filamentengine.io.xml.XMLSerializeable; public class EntityManager implements XMLSerializeable { pr...
/* * Copyright Verizon Media, Licensed under the terms of the Apache License, Version 2.0. See LICENSE file in project root for terms. */ package com.yahoo.cubed.model; import com.yahoo.cubed.json.filter.Filter; import com.yahoo.cubed.model.filter.PipelineFilter; import javax.persistence.Entity; import javax.persi...
package com.esum.wp.ims.batchinstancelog.struts.action; import java.util.TimeZone; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang.StringUtils; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import...
package com.memberComment.model; import java.sql.Date; import com.emp.model.EmpVO; public class MemberCommentVO { private String memberCommentId; private String memberAId; private String memberBId; private String memberCommentContent; private Double memberCommentLevel; private java.sql.Date memberCommentDate; ...
package io.github.ihongs.serv.centre; import io.github.ihongs.CoreConfig; import io.github.ihongs.HongsException; import io.github.ihongs.action.ActionHelper; import io.github.ihongs.action.anno.Action; import io.github.ihongs.action.anno.CommitSuccess; import io.github.ihongs.action.anno.Verify; import io.github.ihon...
package pages; import org.openqa.selenium.By; import org.openqa.selenium.support.ui.Select; import driverFactory.CustomWebDriver; public class LogPaymentAnalysisPage extends BasePage { private String listLocatorString = "//div[@class='dhx_combo_list']/div[contains(translate(.,'abcdefghijklmnopqrstuvwxyz'...
package a1; public class Model { private float y = 0.0f; private float incY = 0.01f; private float x = 0.0f; private float size = 0.0f; private float sizeInc = 0.01f; private boolean isMoving = false; private boolean isRotating = false; private float gradient = 1.0f; /** ...
package day4; import java.util.Iterator; import java.util.PriorityQueue; public class PriorityQueueExample { public static void main(String[] args) { PriorityQueue<Integer> que = new PriorityQueue<Integer>(); que.add(10); que.add(200); que.add(180); que.add(350); que.add(154); System...
import java.util.Scanner; import java.util.Arrays; import java.util.Random; public class MakingSdocu { public static void main(String[] args) { System.out.println("정수을 입력하시오."); Scanner nu = new Scanner(System.in); int n = nu.nextInt(); int temp[][] = new int[n][n]; int i; int j; int num...
package me.k11i.rng; import java.util.Random; import java.util.stream.DoubleStream; import java.util.stream.IntStream; public class AliasMethod { private final int n; private final double[] prob; private final int[] alias; AliasMethod(int[] weights) { this(IntStream.of(weights).asDoubleStream...
package com.example.johann.santa; import android.os.Parcel; import android.os.Parcelable; public class Enfant implements Parcelable { private String _sexe; private String _prenom; private String _annee_naissance; @SuppressWarnings("rawtypes") public static final Parcelable.Creator CREATOR = new ...
package fr.eni.groupe2.servlets; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; im...
package com.openfarmanager.android.utils; import android.annotation.TargetApi; import android.content.UriPermission; import android.net.Uri; import android.os.Build; import android.os.Environment; import android.provider.DocumentsContract; import com.openfarmanager.android.App; import com.openfarmanager.android.files...
package com.cl.earosb.iipzs.models; /** * Objeto para manejar mesajes desde la API * Created by earosb on 30-10-15. */ public class Message { private boolean error; private String msg; private User user; public Message(boolean error, String msg, User user) { this.error = error; t...
package com.infoworks.lab.rest.models.events; import com.infoworks.lab.rest.models.Message; import com.it.soul.lab.sql.entity.Entity; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.util.Map; import java.util.Objects; public class Event ...
package biNumbers; public class BiNumbersRunner { public static void main(String[] args) { // TODO Auto-generated method stub BiNumbers numbers = new BiNumbers(2, 3); System.out.println(numbers.add());// 2 + 3 System.out.println(numbers.multiply()); // 2 * 3 numbers.doubleValue(); System.out.println(...
package services; import java.util.ArrayList; import java.util.Calendar; import java.util.Collection; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.uti...
package com.boku.auth.http.keyprovider; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.PBEKeySpec; import java.io.FileInputStream; import java.io.IOException; import java.security.KeyStore; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException; import java.security.Unrec...
package cit360acp; import java.util.HashMap; public class ApplicationController { private HashMap<String,Handler> handlerMap = new HashMap(); public void handleRequest(String command){ Handler aCommandHandler = handlerMap.get(command); if (aCommandHandler != null){ aCommandHandler...
package com.abd.rest.restsecurity.controllers; import com.abd.rest.restsecurity.model.Product; import com.abd.rest.restsecurity.repositories.ProductRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.Optional; @RestController p...
package com.saasxx.core.module.common.schema; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import org.hibernate.annotations.Cache; import org.hibernate.annotations.CacheConcurrencyStrategy; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annota...
package com.depi.entity; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToOne; import com.fasterxml.jackson.annotation....
package com.nisira.view.Adapter; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.nisira.gcalderon.policesecurity.R; import java.util.List; /** * Cr...
package Listener; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.regex.Pattern; import javax.swing.JButton; import MobileKasse.Koch; public class BestellungFertigListener implements ActionListener { String nachricht; Koch koch; public BestellungFertigLis...
package gui.form.valid; import gui.ComponentTools; import gui.form.FormItem; import gui.form.TextItem; import gui.form.ValueChangeEvent; import gui.form.ValueChangeListener; import java.awt.Dimension; import java.util.ArrayList; import java.util.List; import javax.swing.JFrame; import javax.swing.SwingUtilities; /*...
package com.mad.cityassignment; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import java.io.Serializable; import static java.lang.Math.min; public class GameData implements Serializable { private MapData md; private int money, gameTime; public...
package com.lenovohit.hcp.odws.web.rest; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springfr...
package IteratorPattern; public class MenuByArray extends MenuComponent{ private static final int ITEMS_MAX = 7; private MenuComponent[] list; private String name; private String description; int offNumber = 0; public MenuByArray(String name,String description) { super(); this.list = new MenuComponent[ITEMS...
package edu.eam.ingesoft.ejemploback.services; import edu.eam.ingesoft.ejemploback.model.Cliente; import edu.eam.ingesoft.ejemploback.model.Cuenta; import edu.eam.ingesoft.ejemploback.model.Transaccion; import edu.eam.ingesoft.ejemploback.repositories.CuentaRepository; import ed...
/* * Test 32 * * Testiamo ora l'operatore di negazione. */ class HelloWorld { static public void main(String[] argv) { short a=(short)10; int i=2; long k=3, m; float t=(float)3.2; double x, y=10.3; m=-i; System.out.println(m); // stampo -2. m=-a; System.out.println(m);...
package com.yuneec.flightmode15; import android.content.Context; import android.os.Environment; import android.os.Handler; import android.os.storage.StorageManager; import com.yuneec.IPCameraManager.DES; import com.yuneec.uartcontroller.GPSUpLinkData; import com.yuneec.uartcontroller.UARTInfoMessage.Telemetry; import ...
public class CircleController extends VehicleController{ public CircleController(Simulator s, GroundVehicle v) { super(s, v); } @Override void constructionTasks(){ } @Override public Control getControl(Timestamp time){ double[] thisPose = this.getPosition(); double offset=Math.sqrt((thisPose[0]-50...
package com.example.vplayer.ui.fragment; import android.app.ProgressDialog; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore; import android.view.Layout...
import java.util.*; public class GeneticAlgorithm { // Static algorithm parameters private int NUM_QUEENS; // Width and height of board equal to number of Queens in problem private int MAX_ITERATIONS; // Maximum number of cycles before manual termination of program private int POP...
package com.esum.comp.soappull; import java.io.File; import java.io.IOException; import com.esum.framework.common.util.FileUtil; import com.esum.framework.common.util.SysUtil; import com.esum.framework.core.component.ComponentException; import com.esum.framework.core.component.config.ComponentConfig; import com.esum....
package com.eighteengray.procamera.activity; import android.app.Activity; import android.os.Bundle; import com.eighteengray.procamera.contract.ISettingContract; /** * 功能: * 1.图像、视频录制质量、格式调节 * 2.九宫格、平衡器、防手抖、静音、 * 3.实时直方图 * 4.签名,包括日期、位置、版权、字号、颜色 * 设置信息写入SP */ public class SettingActivity extends Activity implem...
/* * 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 library.system.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import...
/* * 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 hoangduc.dtos; import java.io.Serializable; /** * * @author ADMIN */ public class PetDTO implements Serializable{ priv...
package ru.duester.streams.v8.sources; import java.io.InputStream; public class ByteInputStreamStreamSource implements IStreamSource<Byte> { private InputStream inputStream; public ByteInputStreamStreamSource(InputStream inputStream) { this.inputStream = inputStream; } @Override public Byte next() { try { ...
package ua.com.rd.pizzaservice.repository.customer.inmem; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import ua.com.rd.pizzaservice.domain.customer.Customer; import ua.com.rd.pizzaservice.repository.customer.CustomerRepository; import java.util.Arra...