text
stringlengths
10
2.72M
package github.tornaco.android.thanos.main; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import androidx.annotation.NonNull; impor...
package com.solo.data.api; import com.solo.data.Constants; import retrofit2.Retrofit; import retrofit2.converter.gson.GsonConverterFactory; public class RecipesApi { private static RecipesService recipesService; private static final Object LOCK = new Object(); public synchronized static RecipesService g...
/* ### * IP: GHIDRA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
class Arrays { public Arrays() { System.out.println("demo"); } } public class OnedArray2 { public static void main(String[] args) { Arrays a1 = new Arrays(); Arrays a2 = new Arrays(); Arrays a3 = new Arrays(); Arrays a4 = new Arrays(); ...
package at.fhv.itm14.fhvgis.webservice.app.converters; import at.fhv.itm14.fhvgis.domain.DomainEntity; import org.json.JSONObject; /** * Author: Philip Heimböck * Date: 13.11.15. * <p/> * These converters are needed because I cannot just serialize the classes * because of inconsistencies between app classes and ...
package com.wencheng.service; import javax.servlet.http.HttpServletRequest; import com.wencheng.domain.MiddleReport; public interface MiddleService { public boolean create(HttpServletRequest request); public MiddleReport find(HttpServletRequest request); public MiddleReport findother(HttpServletReques...
package com.myxh.developernews.ui.widget; import android.graphics.Rect; import android.support.v7.widget.RecyclerView; import android.view.View; /** * Created by asus on 2016/10/5. */ public class ImageItemDecorator extends RecyclerView.ItemDecoration { //图片间隙 private int space; public ImageItemDecor...
package orm.integ.eao.model; public class FieldMapping { String foreignKeyField; String masterField; public String getForeignKeyField() { return foreignKeyField; } public String getMasterField() { return masterField; } }
package com.zantong.mobilecttx.presenter; import android.text.TextUtils; import android.view.View; import com.zantong.mobilecttx.api.OnLoadServiceBackUI; import com.zantong.mobilecttx.base.BasePresenter; import com.zantong.mobilecttx.base.MessageFormat; import com.zantong.mobilecttx.base.interf.IBaseView; import com....
package TEST; class Pairs<K, V> { private K key; private V value; public Pairs(K key, V value) { this.key = key; this.value = value; } public K getKey() { return key; } public void setKey(K key) { this.key = key; } public V getValue() { return value; } public void s...
package com.wangtao; import com.github.tobato.fastdfs.domain.fdfs.MetaData; import com.github.tobato.fastdfs.domain.fdfs.StorePath; import com.github.tobato.fastdfs.service.FastFileStorageClient; import com.google.zxing.BarcodeFormat; import com.google.zxing.EncodeHintType; import com.google.zxing.MultiFormatWriter; i...
package yo.one.creation.singleton; //内部类实现的单例模式 public class InnerClassSingleton { private InnerClassSingleton() { } private static class InnerClassSingletonHolder{ private static InnerClassSingleton instance = new InnerClassSingleton(); } public static InnerClassSingleton getInstance(){ return Inner...
package ru.atc.wordsTrainer.controllers; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; /** * Created by VTestova on 03.12.2015. */ @Controller @RequestMapping("/") public class MainController { @RequestMapping("/") public String main(){ ...
package com.openfarmanager.android.googledrive.model; import com.openfarmanager.android.googledrive.api.Fields; import org.json.JSONException; import org.json.JSONObject; /** * author: Vlad Namashko */ public class Token { private String mAccessToken; private String mRefreshToken; public Token(String...
package utilidades.interfaces; import java.util.HashMap; import org.json.simple.JSONArray; public interface ABM<T> { interface HashMapFunction<T> { void setJson(T t, Object value); } public static final String METHOD_NAME_insertOrUpdateValuesFromJSONArray = "insertOrUpdateValuesFromJSONArray"; public stati...
package com.proyectofinal.game.objects.towers.attack; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.scenes.scene2d.Actor; import com.proyectofinal.game.helpers.AssetManager; /** * Created by ALUMNEDAM on 22/05/2017. */ public class Fuego extends Actor { //Atributos private float x, y...
package hu.mentlerd.hybrid.asm; import hu.mentlerd.hybrid.CallFrame; import hu.mentlerd.hybrid.LuaTable; import hu.mentlerd.hybrid.asm.OverloadResolver.OverloadRule; import java.lang.reflect.Method; import java.util.HashMap; import java.util.List; import java.util.Map; import org.objectweb.asm.ClassVisito...
package codeWars; import java.util.Arrays; public class WeightSort { public static String orderWeight(String strng) { if("".equals(strng.trim())) return ""; StringBuilder result = new StringBuilder(); String[] numstr = strng.split(" "); int len = numstr.length; ...
package io.core9.plugin.widgets.widget; import io.core9.core.boot.BootStrategy; import io.core9.core.plugin.Core9Plugin; import io.core9.plugin.admin.AdminPlugin; import io.core9.plugin.server.VirtualHost; public interface WidgetAdminPlugin extends Core9Plugin, AdminPlugin, BootStrategy { void addVirtualH...
package skeleton; import org.junit.runner.RunWith; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; @RunWith(Cucumber.class) @CucumberOptions(plugin= {"pretty","html:src/cucumber-reports","json:src/cucumber-reports/report1.json"},monochrome=true, dryRun=false, ...
package lotro.my.xml; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpException; import...
package com.esum.as2; import java.io.File; import java.util.ArrayList; import java.util.HashMap; import java.util.Hashtable; import java.util.Iterator; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.esum.as2.msh.Configure; import com.esum.as2.msh.Mess...
package view.insuranceSystemView.rewardView.payJudger; import java.awt.Color; import java.awt.event.ActionListener; import view.aConstant.InsuranceSystemViewConstant; import view.component.BasicLabel; import view.component.SeparateLine; import view.component.button.ActionButton; import view.component.button.LinkButto...
package com.example.nnotnut.taximeters; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.renderscript.Double2; public class MyDbHelper extends SQLiteOpe...
package sch.frog.calculator.compile.semantic.exec.exception; import sch.frog.calculator.exception.CalculatorException; public class ExecuteException extends CalculatorException{ private static final long serialVersionUID = 1L; public ExecuteException(String msg){ super(msg); } }
package se.ade.autoproxywrapper.events; import se.ade.autoproxywrapper.ProxyMode; /** * Created by adrnil on 17/12/14. */ public class SetEnabledEvent { public boolean enabled; public SetEnabledEvent(boolean enabled) { this.enabled = enabled; } }
package com.lgbear.weixinplatform.base.typeeditor; import java.beans.PropertyEditorSupport; import org.apache.commons.lang3.StringUtils; public class DoubleTypeEditor extends PropertyEditorSupport { @Override public void setAsText(String text) throws IllegalArgumentException { if (StringUtils.isEmpty(te...
package com.nisira.core.entity; import com.nisira.annotation.ClavePrimaria; import com.nisira.annotation.Columna; import com.nisira.annotation.Tabla; import com.google.gson.annotations.SerializedName; import com.thoughtworks.xstream.annotations.XStreamAlias; import java.io.Serializable; import java.util.ArrayList; @...
package com.sapl.retailerorderingmsdpharma.adapter; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Build; import android.support.v4.graphics.d...
package org.esiea.boban_vilo.myapplication.model; import android.support.v7.app.AppCompatActivity; public class StatsModel extends AppCompatActivity { private String rank; private String player; private String games; private String fieldgoalpercentage; private String threeptpercentage; privat...
/* * 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 bookstore.GUI; import bookstore.BLL.NguoiDungBLL; import bookstore.Entity.NguoiDung; import java.util.ArrayList; import javax....
/******************************************************************************* * Copyright 2014 See AUTHORS file. * <p> * 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 * <p> * http://w...
package com.exam.zzz_other_menu_mysql; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteDatabase.CursorFactory; import android.database.sqlite.SQLiteOpenHelper; import android.util.*; public class MySQLiteOpenHelper extends SQLiteOpenHelper { public...
package course.chapter9.objects3; public class Customer { // fields private String firstName; private String lastName; private Account acc; // constructors public Customer(String firstName, String lastName) { this.firstName = firstName; this.lastName = lastName; } publ...
package br.com.youse.redditfeed.models; import java.io.Serializable; public class Posts implements Serializable { private long orderList; private String id; private String image; private String title; private String url; private int score; public long getOrderList() { return orde...
package com.minhvu.proandroid.sqlite.database.main.presenter.view; import android.view.View; import com.minhvu.proandroid.sqlite.database.main.model.view.IMainModel; import com.minhvu.proandroid.sqlite.database.main.view.Adapter.NoteAdapter; import com.minhvu.proandroid.sqlite.database.main.view.Fragment.view.IMainVi...
// Lab 2 // // Released: 1/20/20 // // @Author Aaron Lack and alack // Last Edited: // // // Directions: Implement the following methods // // ////////////////////////////////////////////////////////////////////////////////// // Note: Do not need to explicitly ...
package com.tech.interview.siply.redbus.entity.dto; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.tech.interview.siply.redbus.constant.FuelType; import com.tech.interview.siply.redbus.constant.Status; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; im...
/* * @(#) IComponentChannelInfoDAO.java * Copyright (c) 2007 eSumTech Co., Ltd. All Rights Reserved. */ package com.esum.wp.ims.componentchannelinfo.dao; import java.util.List; import org.springframework.dao.DataAccessException; import com.esum.appframework.dao.IBaseDAO; import com.esum.appframework.exception.Appl...
package WebShop.model; import java.io.Serializable; import java.util.Collections; import java.util.HashSet; import java.util.Set; import javax.persistence.ElementCollection; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; @Entity public class Client implements Serial...
package com.beike.service.merchant; import java.util.List; import com.beike.entity.goods.Goods; import com.beike.form.CashCouponForm; import com.beike.form.CouponForm; import com.beike.form.MerchantForm; import com.beike.page.Pager; /** * project:beiker * Title: * Description:商铺宝Service * Cop...
import java.util.Scanner; public class Main { private static Scanner terminal; public static void main(String[] args) { int number = -3; while(number < 1 || number > 3) { terminal = new Scanner(System.in); System.out.println("\n\n\t\t\tWelcome to American Airline Flight Rese...
package xyz.pozhu.lightvideo.bean; import android.os.Parcel; import android.os.Parcelable; public class Video implements Parcelable { private String title; private String path; public Video(){ } public String getPath() { return path; } public void setPath(String path) { ...
// Session.java // Fait par : Simon Bouchard et Isabelle Angrignon // Fait le 2014-03-17 // Gestion des sessions des utilisateurs du serveur echoes package serveurweb; import java.net.*; import java.io.*; import java.text.*; import java.util.*; public class Session implements Runnable { BufferedReader reader; //...
package com.chillcode.warOfFlags.util; import com.chillcode.warOfFlags.actors.Actor; public class GameUtils { /** * Returns a character representing given actor * Throws an IllegalArgumentException when given invalid input * * @param actor * @return */ public static char getChar...
package org.point85.domain.plant; import java.util.HashSet; import java.util.Objects; import java.util.Set; import javax.persistence.AttributeOverride; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Convert; import javax.persistence.Entity; import javax.persistence.Fet...
package br.com.saltypub.web.beer.hue; import org.springframework.data.repository.CrudRepository; public interface BeerHueRepository extends CrudRepository<BeerHue, Long> { }
package frc; import edu.wpi.first.wpilibj2.command.CommandBase; import edu.wpi.first.wpilibj2.command.Subsystem; /** * A {@link Command} that requires the subsystems passed to it, and does nothing * else. * * It never finishes on its own; be sure to cancel it once you want the * subsystems back. */ public clas...
package com.alex.pets; public class Raccoon extends Pet implements Alive { public String name; public String breed; public Raccoon(String someName, String breed) { super(); this.name = someName; this.breed = breed; } public void rinsing() { if (isAlive...
package be.mxs.common.model.vo.healthrecord; import be.dpms.medwan.common.model.vo.administration.PersonVO; import be.dpms.medwan.common.model.vo.occupationalmedicine.ExaminationVO; import be.dpms.medwan.common.model.vo.occupationalmedicine.VerifiedExaminationVO; import be.dpms.medwan.webapp.wo.common.system.SessionCo...
package com.karya.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="uploadtemplate001mb") public class UploadTemplate001MB { @Id...
package com.example.test_2; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.ProgressBar; import android.widget.Spinner; import android.widget.TextView; import android.widget.To...
package org.squonk.camel.processor; import org.squonk.dataset.Dataset; import org.squonk.dataset.DatasetMetadata; import org.squonk.dataset.MoleculeObjectDataset; import org.squonk.http.RequestInfo; import org.squonk.types.MoleculeObject; import org.squonk.types.TypeResolver; import java.io.IOException; import java.u...
package io.projekat.pretraga; import java.util.Date; import java.util.List; import io.projekat.CitljivTerminIntervalInterfaceString; import io.projekat.sala.Sala; public class PretragaUpit implements CitljivTerminIntervalInterfaceString { private int response; private String datum; private Date datumF; private ...
package com.example.root.proyecto_mapa.clases; import android.view.View; import android.widget.Toast; import java.util.ArrayList; public class DataParqueaderos { private ArrayList<Parqueadero> parqueaderos = null; private static DataParqueaderos data = null; private DataParqueaderos() { parq...
/* * 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 javaapplication2; /** * * @author matheusrangel */ public class Pizza extends ProdutoNaoDuravel{ private String tamanho...
package it.raffo.codewars; import java.math.BigDecimal; import java.math.BigInteger; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Deque; import java.util.HashMap; import java.util.List; import java.util.stream.Collectors; public class...
package spring.boot.com.isTwo; import spring.boot.com.entity.User; import java.util.*; /** * @author: yiqq * @date: 2019/4/23 * @description: */ public class Demo02Comparator { //定义一个方法,方法的返回值类型使用函数式接口Comparator // public static Comparator<String> getComparator(){ // //继续优化Lambda表达式 // retur...
public class Main { public static void main(int[] num) { int [] num; num = new int[]{}; for (int num)int }
// https://leetcode.com/problems/minimum-cost-to-connect-sticks/solution/ class Solution { public int connectSticks(int[] sticks) { int totalCost = 0; PriorityQueue<Integer> pq = new PriorityQueue<>(); for (int stick : sticks) pq.add(stick); while (pq.size() > 1) ...
/* * Copyright (C) 2018 Instituto Nacional de Telecomunicações * * All rights are reserved. Reproduction in whole or part is * prohibited without the written consent of the copyright owner. * */ package inatel.br.nfccontrol.di.qualifier; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java....
package DAO; import DataSets.GroupsDataSet; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.query.Query; import javax.persistence.NoResultException; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence....
package com.cxc.asimplecachedemo.ui; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import com.cxc.asimplecachedemo.R; import com.cxc.asimplecachedemo.cache.ACache; public ...
package com.letmesee.service.filtros; import java.awt.image.BufferedImage; import java.io.IOException; import java.util.ArrayList; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.letmesee.entity.Imagem; import com.letmesee.service.FiltrosUtils; import com...
package com.company.daniel.lind.karlberg; import java.util.logging.Logger; /** * Created by daniellindkarlberg on 2016-11-30. */ public class UserInputHandler { private ContactManager contactManager; private static final Logger log = Logger.getLogger(ContactManager.class.getName()); public UserInputHa...
package negocio.basica; // Generated 24/09/2012 21:42:03 by Hibernate Tools 3.2.0.CR1 import java.util.List; import javax.naming.InitialContext; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.hibernate.LockMode; import org.hibernate.SessionFactory; import org.hib...
package com.GestiondesClub.controller; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotatio...
package com.jd.jarvisdemonim.ui.testfragment; import android.os.Bundle; import android.os.Handler; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; import com.jd.jarvis...
package com.wxt.designpattern.adapter.classadapter; /********************************* * @author weixiaotao1992@163.com * @date 2018/10/21 11:43 * QQ:1021061446 * *********************************/ import java.util.List; /** * 类适配器对象 */ public class ClassAdapter extends LogFileOptImpl implements ILogDbOpt{ ...
<<<<<<< HEAD package in.vamsoft.excersise1; public enum Coin { HEADS, TAILS; /** * creating Coin flip method. * @return it returns heads or tails. */ public static Coin flip() { if (Math.random() < 0.5) { return (HEADS); } else { return (TAILS); } } } =...
package com.eappcat.base.code; /** * Created by yuebo on 2018/6/21. */ public interface NameStrategy { String type(String type); String table(String table); String column(String column); String entity(String table); String trimPackage(String fullName); }
import java.net.*; import java.util.*; public class GUID { private int time =0; // 32 bits of time. private int node =0; // 32 bits of randomness private Random rand =null; private String sysid=null; private int iHash =0; private int addr =0; public GUID() { StringBuffer tmp= new StringBuffer(); // sor...
/* * ################################################################ * * ProActive Parallel Suite(TM): The Java(TM) library for * Parallel, Distributed, Multi-Core Computing for * Enterprise Grids & Clouds * * Copyright (C) 1997-2011 INRIA/University of * Nice-Sophia Antipolis/ActiveEon ...
package org.bots.model.datebase; import lombok.Data; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.index.Indexed; import java.util.List; import java.util.Map; @Data public class MessageState { @Id private Long id; @Indexed private Long chatId; @Index...
package com.example.ask3; import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.widget.ArrayAdapter; import android.widget.EditText; import android.widget.Spinner; import android.widget.Toast; import com.android.volley.Request; import com.android.volley.RequestQueue; import co...
package com.example.trialattemptone.Creators; import android.content.ContentValues; import com.example.trialattemptone.database.StatusTable; public class CourseStatus { private String courseStatus; private int courseStatusID; public CourseStatus() { } public CourseStatus(Str...
package br.unb.cic.poo.mh; import org.junit.Assert; import org.junit.Test; import br.unb.poo.mh.Expressao; import br.unb.poo.mh.Igual; import br.unb.poo.mh.PrettyPrinter; import br.unb.poo.mh.TamanhoDasExpressoes; import br.unb.poo.mh.ValorBooleano; import br.unb.poo.mh.ValorInteiro; import br.unb.poo.mh.Tipo; publ...
package com.example.blog; import com.example.blog.model.Post; import com.example.blog.model.User; import com.vaadin.data.util.BeanItem; import com.vaadin.navigator.Navigator; import com.vaadin.navigator.View; import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent; import com.vaadin.ui.Alignment; import com.vaa...
/** * Created by Aljaz on 25/10/2017. */ public class Profile { }
package com.egame.app.adapters; import java.io.File; import java.util.List; import java.util.Map; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.os.Bundle; import android.os.Environment; import and...
import java.util.*; // package 14Lab; /** * Key.java * @author Victor Lourng, Dan Burger, Eric Hart, Jacob Davis * @version 2016 */ public class KeyRoom extends Room { private boolean hasKey = true; public KeyRoom(){ super(); } public void grabKey(boolean hasKey){ if(hasKey == true) ...
package com.intelligt.modbus.jlibmodbus.serial; import java.util.List; /* * Copyright (C) 2016 "Invertor" Factory", JSC * [http://www.sbp-invertor.ru] * * This file is part of JLibModbus. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with t...
package com.xp.springboot.services; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.xp.springboot.entities.Employee; import com.xp.springboot.exception.EmployeeNotFoundException; import com.xp.s...
package com.ytdsuda.management.VO; import com.sun.org.apache.xpath.internal.operations.Bool; import lombok.Data; /* http最外层对象 * */ @Data public class ResultVO<T> { // 错误码 private Boolean success = true; // 提示信息 private String errorMsg = null; private Boolean login = true; /*data,返回的具体内容 da...
package com.karzaassignment; import android.app.ProgressDialog; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.provider.Settings; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import...
package gov.nist.hit.core.service.impl; import gov.nist.healthcare.unified.exceptions.ConversionException; import gov.nist.healthcare.unified.exceptions.NotFoundException; import gov.nist.healthcare.unified.model.*; import gov.nist.hit.core.domain.TestContext; import java.text.SimpleDateFormat; import java.util.Date...
package com.theshoes.jsp.board.model.service; import static com.theshoes.jsp.common.mybatis.Template.getSqlSession; import java.util.List; import org.apache.ibatis.session.SqlSession; import com.theshoes.jsp.board.model.dao.BoardDAO; import com.theshoes.jsp.board.model.dao.ResellListDAO; import com.thesho...
/* * ################################################################ * * ProActive Parallel Suite(TM): The Java(TM) library for * Parallel, Distributed, Multi-Core Computing for * Enterprise Grids & Clouds * * Copyright (C) 1997-2011 INRIA/University of * Nice-Sophia Antipolis/ActiveEon ...
package burst; import akka.actor.ActorRef; import akka.actor.ActorSystem; import akka.actor.PoisonPill; import akka.event.Logging; import akka.event.LoggingAdapter; import burst.messages.CalculationRequest; import burst.messages.CalculationResult; import burst.messages.CompilationRequest; import burst.messages.Compil...
package client; import common.Constant; import common.ReadAndWriteElement; import common.WorkWithPacket; import common.WorkWithString; import javax.swing.*; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.File; import java.io.IOException; import java.io.ObjectInputStream; impor...
package com.aisino.invoice.xtjk.po; import java.util.List; /** * @ClassName: FwkpUserFpzlEX * @Description: * @Copyright 2017 航天信息股份有限公司-版权所有 */ public class FwkpUserFpzl { private String xfsh; private Integer kpjh; private String qymc; private List<String> zdhmList; private List<Integer> fpzL...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Controller.Admin; import Business.RoomBookingBAL; import Entity.Booking; import Entity.RoomBooking; import java.util.List; import java.util.TimeZone; import javax.faces.bean.ManagedBean; import javax.faces.bean....
/* * 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 jframeproject; import javax.swing.*; import java.awt.*; import javax.swing.border.*; public class JFrameProject { public ...
package gilded.rose; public class GildedRose { private String name; private int quality; private int daysRemaining; public GildedRose(String name) { this.name = name; } public void initialize(int quality, int daysRemaining) { this.quality = quality; this.d...
package apartment; import java.sql.Connection; public class Apartment { Connection conn = MyConnect.connect(); public static void main(String[] args) { System.out.println("OK"); JFrameApartment fm = new JFrameApartment(); fm.setVisible(true); } }
package com.minhvu.proandroid.sqlite.database.main.model.view; import android.content.ContentValues; import android.net.Uri; import com.minhvu.proandroid.sqlite.database.main.presenter.view.IDetailPresenter; /** * Created by vomin on 8/26/2017. */ public interface IDetailModel { void setPresenter(IDetailPrese...
package com.fz.web; import com.fz.VO.ResultVO; import com.fz.converter.OrderForm2OrderDTOConverter; import com.fz.dto.OrderDTO; import com.fz.enums.ResultEnum; import com.fz.exception.SellException; import com.fz.form.OrderForm; import com.fz.service.OrderService; import com.fz.utils.ResultVOUtil; import lombok.extern...
package com.mhframework.gameplay.actor; import com.mhframework.core.math.MHVector; import com.mhframework.gameplay.tilemap.MHITileMapContent; import com.mhframework.gameplay.tilemap.view.MHCamera2D; import com.mhframework.gameplay.tilemap.view.MHIsoMouseMap; import com.mhframework.platform.graphics.MHBitmapImage; impo...
class Solution { HashMap<Character, Task> map = new HashMap<>(); public int leastInterval(char[] tasks, int n) { for(char c: tasks){ if(map.containsKey(c)){ Task t = map.get(c); t.count++; } else{ map.put(c, new Task(c))...
package com.cn.ouyjs.jdk; /** * @author ouyjs * @date 2019/7/26 9:38 */ public class LookBookTest { public static void main(String[] args) { LookBooK lookBooK = new LookBookImpl(); LookBookHande lookBookHande = new LookBookHande(lookBooK); lookBookHande.look(); } }