text
stringlengths
10
2.72M
package com.knoldus.actors; import akka.actor.AbstractLoggingActor; import akka.actor.Props; import akka.japi.pf.ReceiveBuilder; import javaslang.collection.List; import com.knoldus.models.User; import scala.PartialFunction; import scala.runtime.BoxedUnit; /** * Created by Harmeet Singh(Taara) on 29/9/16. * * This...
package model; import java.util.ArrayList; /** * Created by Nhozip on 6/15/2016. */ public class Page { public ArrayList<ItemTT> getVnExpress() { ArrayList<ItemTT> list = new ArrayList<>(); list.add(new ItemTT("Trang Chủ", "http://vnexpress.net/rss/tin-moi-nhat.rss")); list.add(new Ite...
package com.project.service; public interface IAdministratorService { }
package com.minamid.accessiblememorygame.model; import android.content.Context; import android.util.AttributeSet; public class MemoryCard extends android.support.v7.widget.AppCompatImageView { private String imageId; private String src; private String description; private boolean isFound; private...
package ydtak.grapeguice.juice; import com.google.inject.AbstractModule; public class JuiceModule extends AbstractModule { @Override protected void configure() { bind(Juice.class).to(GrapeJuice.class); } }
package com.codingchili.instance.model.skills; import java.util.HashSet; import java.util.Set; import java.util.UUID; /** * Learned when leveling up a skill. */ public class Perk { // perks may apply to only the given classes. private Set<String> classes = new HashSet<>(); private String id = UUID.rand...
/** */ package Metamodell.model.metamodell; import org.eclipse.emf.ecore.EFactory; /** * <!-- begin-user-doc --> * The <b>Factory</b> for the model. * It provides a create method for each non-abstract class of the model. * <!-- end-user-doc --> * @see Metamodell.model.metamodell.MetamodellPackage * @generated ...
package unalcol.termites.World; import java.util.Hashtable; import unalcol.termites.VM.TermitesInterpreterBinaryImpl; import unalcol.termites.VM.TermitesVMBinaryImpl; import unalcol.agents.Agent; import unalcol.agents.AgentProgram; import unalcol.termites.Runnable.AppMain; /** * * @author ARODRIGUEZ */ public clas...
package com.penglai.haima.ui.charge; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.os.Bundle; import android.text.TextUtils; import android.widget.EditText; import android.widget.TextView; import com.lzy.okgo.OkGo; import com.penglai.ha...
/* * 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 distributed in the hope that it will be use...
package com.zjj.dao; import com.zjj.entity.User; import org.springframework.jdbc.core.BeanPropertyRowMapper; import java.util.List; /** * @auth yunsll * @date 2020/3/17 19:11 * @Descripiton 测试类 */ public class UserDao extends BaseDao { // public List<User> listAll(){ String sql = "select * from s...
package com.example.widget.color_seekbar; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.LinearGradient; import android.graphics.Paint; import android.graphics.RectF; import android.graphics.Shader; import an...
package com.thoughtworks.shoppingweb.service; import com.thoughtworks.shoppingweb.domain.History; import com.thoughtworks.shoppingweb.domain.User; import com.thoughtworks.shoppingweb.persistence.HistoryMapper; import com.thoughtworks.shoppingweb.persistence.UserMapper; import org.apache.log4j.Logger; import org.spring...
/* * Copyright 2002-2023 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 com.power.thin.downloadmanager.db; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteDatabase.CursorFactory; import java.util.ArrayList; import java.util.List; @SuppressWar...
package f.star.iota.milk.ui.moe005tv.moe; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.ViewGroup; import f.star.iota.milk.R; import f.star.iota.milk.base.BaseAdapter; public class MOE005TVAdapter extends BaseAdapter<MOE005TVViewHolder, MOE005TVBean> { @...
package com.next.apps.service; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.BDDMockito.*; import java.math.BigDecimal; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.b...
package moon_lander; import java.awt.Graphics2D; import java.awt.Image; import java.awt.image.BufferedImage; import java.io.IOException; import java.net.URL; import java.util.Random; import java.util.logging.Level; import java.util.logging.Logger; import javax.imageio.ImageIO; /** * Landing area where r...
import java.io.FileNotFoundException; import java.io.FileReader; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.List; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.google.gson.reflect.TypeToken; import com.google.gson.stream.Js...
package day0224; import java.awt.Frame; /** * Container : Window, Frame, Pannel, Dialog.. * Component : Button, Radio, TextArea, TextField .. * +add ~~Listener 메소드를 통해 UI와 Event연결 * Event : Event interface(~~Listener)를 이용하여 구현 * @author sist * */ public class FrameTest { public static void main(String[] ar...
package SpaceShoother; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; public class MouseInput implements MouseListener { /* public Rectangle play=new Rectangle(250,250,200,60); public Rectangle instructions=new Rectangle(250,350,200,60); public Rectangle quit=new Rectangle(2...
package com.mycompany.persistencia; import java.io.Serializable; import java.util.Date; import java.util.List; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Generatio...
package org.minicastle.jce.provider; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.security.cert.CRL; import java.security.cert.CRLException; import java.security.cert.CertPath; import java.security.cert.Certificate; 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 agh.musicapplication.mappdao; import agh.musicapplication.mappdao.interfaces.MBandRepositoryInterface; import agh.musicapplic...
package com.test; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import com.test.base.Solution; /** * https://www.acwing.com/solution/leetcode/content/4699/ * * 1,假设最大的长度为a,则比它大的长度,一定是没有结果的;因此,可以用二分法,求出这个a。 * * 2,固定长度,则移动1位,利用hash求值,避免全部比较。 * * - 先寻找length * - length 对应的长度h...
package com.oheers.fish.competition; import com.oheers.fish.EvenMoreFish; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerJoinEvent; import org.bukkit.event.player.PlayerQuitEvent; public class JoinChecker implements Listener { // Gives the player the ...
package com.example.jiaheng.mapsensor; /** * Created by Jiaheng on 4/2/17. */ public class Calc { public static double calculateAngle(double lat1, double lon1, double lat2, double lon2) { double dLon = (lon2 - lon1); double y = Math.sin(dLon) * Math.cos(lat2); double x = Math.cos(lat1...
package com.sinodynamic.hkgta.dao.mms; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.springframework.stereotype.Repository; import com.sinodynamic.hkgta.dao.GenericDao; import com.sinodynamic.hkgta.dto.mms.GuestRequestDto; import com.sinodynamic.hkg...
package com.example.dylanodekirk.zeldaapp; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatAct...
package dev.liambloom.softwareEngineering.chapter16; import dev.liambloom.softwareEngineering.chapter4.Ask; public class FirstSecondLargestSmallest { public static void main(String[] args) { Ask.seperator = ':'; boolean over = false; // This is my own implementation of LinkedList L...
package com.qst.chapter03; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.CompoundButton; import android.widget.CompoundButton.OnCheckedChangeListener; import android.widget.TextView; import android.widget.ToggleButton; /** * 演示ToggleButton的用法 */ public class Toggl...
package com.phila.samergigabyte.philabooksx; /** * Created by SamerGigaByte on 15/01/2016. */ public class Saved { String Saved; }
package net.lantrack.framework.sysbase.controller; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import net.lantrack.framework.core.entity.ReturnEntity; import net.lantrack.framework.springplugin.controller.BaseController; import net.lantrack.framework.sysbase.enm.SysC...
package javaclasses; import java.util.ArrayList; import java.util.List; public class StudentList { private List<Student> students = new ArrayList<>(); public void addStudent(Student a) { students.add(a); } public void printStudentsByFaculty(Faculty faculty) { for (Student student : st...
import java.util.*; class Solution { public static String longestPalindrom(String s) { boolean[][] dp = new boolean[s.length()][s.length()]; int max_len = Integer.MIN_VALUE; String ans = ""; int n = s.length(); for (int i = n-1; i >= 0; i--) { for (int j = i; j < ...
package com.example.twitter; import java.util.Properties; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import kafka.producer.KeyedMessage; import kafka.producer.ProducerConfig; import com.google.common.collect.Lists; import com.twitter.hbc.ClientBuilder; import com.twit...
package com.controller; import org.hibernate.NonUniqueObjectException; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; @ControllerAdvice public class ExceptionCntroller { @ExceptionHandler(NonUni...
package com.unisports.entities; import java.util.UUID; public class UserInscription { private UUID id; private boolean confirmed; private UUID userId; private UUID teamInscriptionId; public UserInscription(){ this.id = UUID.randomUUID(); } public UserInscription(UUID id)...
package Java三.数字操作类; //大数字操作类:BigInteger、BigDecimal import java.math.BigInteger; public class BigInteger1 { public static void main(String[] args) { BigInteger A = new BigInteger("123456789987654321") ; BigInteger B = new BigInteger("123456789"); System.out.println("加法:"+A.add(B)); ...
package entity; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; /** * * @author pelo */ public class Validator { public static final String OK = "OK"; // Used for the validation of user information /** * Checking to see if it is a valid date * @par...
package com.estiam.ott_estiam; import android.annotation.SuppressLint; import android.content.Context; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.os.Handler; import android.view.MotionEvent; import android.view.View; import android...
package com.show.comm.restful; /** * Restful异常 * * @author heyuhua * @date 2017年12月18日 */ public class RestfulEx extends RuntimeException { private static final long serialVersionUID = 1L; /** 状态 */ private RestfulStatus s; /** 消息 */ private String m; public RestfulEx(RestfulStatus s) {...
package com.ipartek.pojo; public class ExcepcionListaNegra extends Exception{ private int codigoError = 0; // Constructor /////////////////////////////////////// public ExcepcionListaNegra(int codigoError) { super(); this.codigoError = codigoError; } //Getters y Setters public int g...
package ru.client; import org.sql2o.Sql2o; public class DbSource { private static Sql2o sql2o; static { sql2o = new Sql2o("jdbc:oracle:thin:@//10.4.0.119:1521/xe", "gladkikh13204", "gladkikh13204"); } public static Sql2o getSql2o() { return sql2o; } }
package com.mx.cdmx.cacho.partnersample; class Finalize { // the finalize() method will be called when the object is garbage collected (it takes time) public void finalize() { System.out.println("Finalize is called"); } public static void main(String args[]) { Finalize f1 = new Finalize(); Finalize f2 = n...
package doomsday.mummy.shivababa.doomsday; import android.content.Context; import android.content.SharedPreferences; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android....
package com.legaoyi.protocol.server; import java.util.HashMap; import java.util.Map; import com.legaoyi.common.message.ExchangeMessage; import com.legaoyi.common.disruptor.DisruptorEventProducer; /** * disruptor处理消息 * * @author gaoshengbo * */ public class ServerUpMessageHandler implements ServerMessageHandler...
package com.spring.scrapper.users; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.spring.scrapper.users.vo.UserVO; @Service public class UserServiceImpl implements UserService { @Autowired private UserDAO userDAO; @Override public User...
package com.cognixia.jump.djk.firstjavaproject; import java.util.InputMismatchException; import java.util.Scanner; import com.cognixia.jump.djk.firstjavaproject.data.InvalidIntException; public class InputScanner { private static final Scanner SCANNER = new Scanner(System.in); static { SCANNER.useDelimiter(S...
package com.zeal.smartdo.transformer; import com.zeal.common.log.Logger; import com.zeal.smartdo.base.BaseHttpResponse; import com.zeal.smartdo.exception.ExceptionHandle; import io.reactivex.Observable; import io.reactivex.ObservableSource; import io.reactivex.ObservableTransformer; import io.reactivex.annotations.No...
package ProjectManagement; import java.util.ArrayList; public class Project { int entry_time = 0; String name = null; int priority = 0; int budget = 0; ArrayList<JobReport_> kaam = new ArrayList<JobReport_>(); public Project(String name, String priority, String budget) { this.name = name; this.priority = ...
package br.com.softplan.services; import java.util.Arrays; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import br.com.softplan.domain.Feedback; import br.com.softplan.domain.Procedure; import br.com.softplan.domain.User; import br.com.softplan.domain.e...
package strings_stringbuffer; import java.util.*; public class Program4 { public static void main(String[] args) { Scanner sc=new Scanner(System.in); String str=sc.nextLine(); if(str.length()%2 !=0) System.out.println("null"); else System.out.println(str.substring(0,str.length()/2)); } ...
package org.example.codingtest.oneLevel; import java.util.Arrays; /** * 물품을 구매해 줄 때는 각 부서가 신청한 금액만큼을 모두 지원해 줘야 합니다. * 예를 들어 1,000원을 신청한 부서에는 정확히 1,000원을 지원해야 하며, 1,000원보다 적은 금액을 지원해 줄 수는 없습니다. * <p> * 부서별로 신청한 금액이 들어있는 배열 d와 예산 budget이 매개변수로 주어질 때, * 최대 몇 개의 부서에 물품을 지원할 수 있는지 return 하도록 solution 함수를 완성해주세요. **/...
import java.util.Comparator; /** * This class represents a comparator for a comparison of two states. * The comparison is done according to several criteria by levels: * First, compare with the value of the f() function (Which is the cost up to this state plus the value of the heuristic function of this state)...
package jp.ac.kyushu_u.csce.modeltool.vdmslEditor.editor; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.eclipse.jface.text.rules.*; /** * VDM単語ルールクラス * * @author KBK yoshimura */ public class VdmslWordRule extends SingleLineRule { /** * コンストラクタ * @param sequence ...
package com.crutchclothing.controllers; import java.security.Principal; import java.util.ArrayList; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.security.core.context.SecurityContextHolder; import org.s...
/** * This class is generated by jOOQ */ package schema.tables; import java.sql.Timestamp; import java.util.Arrays; import java.util.List; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.ForeignKey; import org.jooq.Identity; import org.jooq.Schema; import org.jooq.Table; import org.jooq....
package xml; import org.xml.sax.SAXException; import javax.xml.XMLConstants; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; import java.io.File; import java.io.IOException; public class Validator { private SchemaFactory schemaFactor...
package org.nistagram.campaignmicroservice.data.model; import org.nistagram.campaignmicroservice.data.enums.Gender; import javax.persistence.Column; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import java.util.Date; import java.util.List; @Entity @DiscriminatorValue("CONTINUOUS_CAMP...
package com.webserver.shoppingmall.post.model; import com.webserver.shoppingmall.member.model.Member; import com.webserver.shoppingmall.shared.BaseTimeEntity; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; import javax.persistence.*; @Getter @NoArgsConstructor @Entity public class Comm...
package handin02; /** * StringManipulator manipulates string. * * @author Peter Tolstrup Aagesen * * handin #2 */ public class StringManipulator { //Variables for storing the number of times the methods are used private static int numToCamelCaseUsed = 0; private static int numOddOrEvenLength...
package com.shangdao.phoenix.entity.companyApplyForm; import org.springframework.data.jpa.repository.JpaRepository; /** * @author duyiting * @date 2018/03/30 */ public interface CompanyApplyFormFileRepository extends JpaRepository<CompanyApplyFormFile, Long> { }
package com.manu.webviewdemo.activity; import android.app.Activity; import android.os.Bundle; import android.webkit.WebSettings; import android.webkit.WebView; import com.manu.webviewdemo.R; /** * 加载完整网页 */ public class WebViewActivity extends Activity { private WebView webView; @Override protected voi...
package Courier.CourierService.Services; import java.util.Date; import java.util.List; import Courier.CourierService.Models.GenericDAO; import Courier.CourierService.Models.Route; import Courier.CourierService.Models.RouteDAO; import Courier.CourierService.Models.RouteInformation; import Courier.CourierService.Models...
package de.minestar.syncchest.utils; public enum PlayerState { NONE, CHEST_ADD, CHEST_REMOVE, CHEST_INFO }
package com.company; import java.util.Scanner; import java.util.Stack; public class Expression { public static int calculator(char[] ch,int n) throws Exception { Stack<Integer> operands=new Stack<Integer>(); Stack<Character> operators=new Stack<Character>(); for(int i=0;i<n;i++) ...
package com.sevael.lgtool.utils; public interface UtilConstants { public static final String[] DATA_FIELD_COLUMN_NAMES ={"Cell1","Cell2","Cell3","Cell4","Cell5","Cell6","Cell7","Cell8","Cell9","Cell10","Cell11","Cell12","Cell13","Cell14","Cell15"}; public static final String MSG_SUCCESS ="success"; public sta...
package com.danerdaner.simple_voca; import android.content.Context; import android.speech.tts.TextToSpeech; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageButton; import android.widget.LinearLayout; import android.widget.TextView; import com....
package com.example.ajays.dirac.Choice; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.LinearLayout; import android.widget.TextView; import com.example.ajays.dirac.Chat.ChatActivity; import com.ex...
package com.t.logger; /** * @author tb * @date 2018/12/17 14:54 */ public class JobLoggerException extends RuntimeException { public JobLoggerException() { super(); } public JobLoggerException(String message) { super(message); } public JobLoggerException(String message, Throwa...
package com.cqut.service; import java.util.List; import java.util.Map; import com.cqut.dto.OperatorDTO; import com.cqut.dto.LimitShowExtraDTO; import com.cqut.dto.LoginInfoDTO; public interface IOperatorService { public long count(LoginInfoDTO loginInfoDTO, OperatorDTO operatorDTO, LimitShowExtraDTO limiShowExtraDT...
/* * generated by Xtext */ package org.yazgel.snow.notation.text.parser.antlr; import com.google.inject.Inject; import org.eclipse.xtext.parser.antlr.XtextTokenStream; import org.yazgel.snow.notation.text.services.SnowGrammarAccess; public class SnowParser extends org.eclipse.xtext.parser.antlr.AbstractA...
package com.example.breno.pokemobile.modelo; import java.io.Serializable; /** * Created by Breno on 02/11/2016. */ public class Jogador implements Serializable { private Long idJogador; private String usuario; private String senha; public Jogador() {} public Jogador(String usuario, String sen...
class DemoBox { double width; double height; double depth; //This is constructor DemoBox DemoBox()//new DemoBox is responsible to call { System.out.println("Constructing DemoBox"); width = 10; height = 12; depth = 5.6; } //compute and return volume ...
package com.jfinalExt; import java.util.List; import org.apache.log4j.Logger; import com.jfinal.plugin.activerecord.DbPro; import com.jfinal.plugin.activerecord.Record; import com.utils.ZJ_JacksonUtils; public class ZJ_DbPro extends DbPro { Logger logger = Logger.getLogger(Object.class); public <T> T queryFirst(S...
/* * 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.util; import org.testng.annotations.Test; /** * Unit test ZipUtil. */ public class ZipUtilTest { /** * Zip a test folder. */ @Test ...
/* William Presley To run and compile from directory above ('-classpath' can be shortened to '-cp'): compile: javac -classpath . /himmelblau/himmelblau_WilliamPrelsey.java run: java -classpath . /himmelblau/himmelblau_WilliamPresley */ package himmelblau; public class himmelblau_WilliamPresley { public static voi...
package egovframework.com.aja.alg.controller; import java.io.IOException; import java.io.PrintWriter; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache...
package exercises.chapter2.ex5; /** * @author Volodymyr Portianko * @date.created 01.03.2016 */ public class Exercise5 { int i; double d; boolean b; public static void main(String[] args) { Exercise5 exercise = new Exercise5(); exercise.i = 47; exercise.d = 1.1; exer...
package com.leeheejin.pms.handler; import java.util.List; import com.leeheejin.pms.domain.Other; import com.leeheejin.util.Prompt; public class OtherAddHandler extends AbstractOtherHandler { public OtherAddHandler(List<Other> otherList) { super(otherList); } @Override public void service() { System....
class JoinMethod extends Thread{ public void run(){ for(int i=1;i<5;i++){ try{ Thread.sleep(500); } catch(Exception e){ System.out.println(e); } System.out.println(i); } } public static void main(String args[]){ JoinMethod t1=new JoinMethod(); JoinMethod t2=new Joi...
/* * 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 ...
import java.io.*; import java.util.*; public class Main { static BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); static StringTokenizer st; static PrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out))); public static void main(String...
package sr.hakrinbank.intranet.api.controller; import org.modelmapper.ModelMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.an...
package payments.model; import java.io.Serializable; public class PaymentResponse implements Serializable { private static final long serialVersionUID = -8145871365210148355L; private String status; private String errorCode; private String errorMessage; private String paymentId; private String a...
/* * 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 ImpresionDocumentos; import static Formuarios.Inicio.Pane1; import java.awt.Dimension; /** * * @author jluis */ public cla...
package nesto.taptap; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.view.View; imp...
package model; import java.util.Date; import javax.persistence.*; @Entity @Table(name = "SupportingMaterials") public class SupportingMaterial { @Id @Column(name = "url") private String url; // Mandatory fields @Column(name = "description") private String description; @Column(name = "type") private Stri...
package com.oldschool.ejb; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; @Stateless(name="EjbGenerico", mappedName="ejb/EjbGenerico") public clas...
package de.amr.games.pacman.model.common; import static de.amr.games.pacman.lib.Logging.log; import java.util.BitSet; import de.amr.games.pacman.lib.V2i; import de.amr.games.pacman.model.world.PacManGameWorld; /** * Data comprising a game level. * * @author Armin Reichert */ public class GameLevel { private ...
package at.fhv.itm14.fhvgis.webservice.app.exceptions; /** * Author: Philip Heimböck * Date: 06.11.15. */ public class WrongCredentialsException extends Exception { public WrongCredentialsException() { } public WrongCredentialsException(String message) { super(message); } public WrongC...
package net.imglib2.trainable_segmention; import net.imagej.ops.OpService; import net.imagej.ops.Ops; import net.imagej.ops.cached.CachedOpEnvironment; import net.imagej.ops.special.function.Functions; import net.imagej.ops.special.function.UnaryFunctionOp; import net.imglib2.RandomAccessibleInterval; import net.imgl...
package tata.operaciones; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; import tata.operaciones.opera.Operaciones; public class OperacionesTests { private Operaciones opes; @Before public void setUp() throws Exception { this.opes=new Operaciones(); } @Test public void t...
/* * Copyright (c) 2020 Nikifor Fedorov * 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 com.redsun.platf.entity.sys; import com.redsun.platf.entity.BaseEntity; /** * Created with IntelliJ IDEA. * User: Administrator * Date: 2012/8/10 * Time: 下午 3:41 * To change this template use File | Settings | File Templates. */ public class CostCenter extends BaseEntity { private String costCent...
/* * Here comes the text of your license * Each line should be prefixed with * */ package pcs.is.domain; /** * * @author AngelD */ class Curso { }
package ahmet.com.eatitserver.ui.shipper; import android.widget.Button; import android.widget.RadioButton; import androidx.annotation.NonNull; import androidx.appcompat.app.AlertDialog; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; import com.google.firebase.database.DataSnapshot; i...
package com.utils; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; import java.security.Key; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Arrays; import java.util.Base6...
package forkjoinV2; /** * Task, to be executed by a fork-join {@link Pool}. * <p> * This is an abstract class. To use this, override the {@link Task#compute()} method * with the implementation of the task to be executed. * <p> * Usually, a task will spawn sub-tasks. To do this, the implemention of the * {@link ...