text
stringlengths
10
2.72M
package com.yuecheng.yue.base; import android.Manifest; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Color; import android.os.Build; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.v4.app...
package com.tyss.capgemini.loanproject.servicestest; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.Test; import com.tyss.capgemini.loanproject.exceptions.DateLimitException; import com.tyss.capgemini.loanproject....
package com.tyss.cg.operators; public class LogicalOperator { public static void main(String[] args) { int i = 10; int j = 20; int k = 30; System.out.println("+++++ AND OPERATOR+++++"); System.out.println((i > j) && (j > k)); System.out.println((i > k) && (j < k)); System.out.println((i < k) && (j >...
package rhtn_homework; import java.util.Arrays; public class PROG_기둥과보설치_sol { static int N; boolean[][] Pillar; boolean[][] Bar; public static void main(String[] args) { int n = 5; PROG_기둥과보설치_sol prog = new PROG_기둥과보설치_sol(); int[][] build_frame = {{0,0,0,1},{2,0,0,1},{4,0,0,1},{0,1,1,1},{1,1,1,1},{2,...
package com.zp.stream.channal; import org.springframework.cloud.stream.annotation.Input; import org.springframework.messaging.SubscribableChannel; public interface TestChannel { @Input("input") SubscribableChannel input(); }
package com.weixin.dto.message.resp; import com.weixin.dto.message.Article; import java.util.List; /** * 图文消息 * Created by White on 2017/2/20. */ public class RespNewsMessage extends RespBaseMessage { //图文消息的个数 private int ArticleCount; //多个图文消息,默认第一个为大图显示 private List<Article> Articles; pub...
package uit.edu.vn.utils; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.Date; import java.util.List; import uit.edu.vn.models.KhachHang; public class DataKhac...
package com.penzias.entity; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.List; public class PhysiqueExamInfoExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCrite...
package com.ocean.springmvc.controllers; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.ModelAndView; @Controller public class MyMVCController { @Req...
package com.blazejprzyluski.chess.GUI; import com.blazejprzyluski.chess.Board.GameBoard; import com.blazejprzyluski.chess.Board.Tile; import com.blazejprzyluski.chess.Logic.GameLogic; import com.blazejprzyluski.chess.Pieces.Color; import com.blazejprzyluski.chess.Pieces.King; import com.blazejprzyluski.chess.Pieces.Mo...
package com.vilio.plms.pojo; import java.util.Date; /** * Created by dell on 2017/5/19. */ public class City { private Integer id; private String code; private String abbrName; private String fullName; private String orderByNo; private String areaCode; private String status; p...
public class feature_a { public static void main(String[] args) { System.out.println("Godd job guys"); System.out.println("Finggally"); System.out.println("ggfdnew "); System.out.println("Akbar"); // this is my history } }
/** * shopmobile for tpshop * ============================================================================ * 版权所有 2015-2099 深圳搜豹网络科技有限公司,并保留所有权利。 * 网站地址: http://www.tp-shop.cn * —————————————————————————————————————— * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用 . * 不允许对程序代码以任何形式任何目的的再发布。 * ==========================...
package com.tencent.mm.plugin.shake.ui; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.os.Bundle; import android.os.Looper; import android.widget.ImageView; import android.widget.TextView; import android.widget.Toast; imp...
/* * 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 polymorphism.abstrak; public class Polymorp { void poly (Buah buah) { buah.Asam(); } }
package com.group.basis; import static org.junit.Assert.fail; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.ibatis.session.SqlSession; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.group.entity.Book; import com.group.util.MybatisUtils; ...
package org.lxy.web.filter.demo3; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest...
package terceiro; public class Pessoa { String nome = ""; String telefone = ""; String email = ""; String aniversario = ""; // public static void Salvar(String nome, String telefone, String email, String aniversario) { // // // } }
package View; import java.util.ArrayList; import java.util.List; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.input.MouseEvent; import javafx.scene.layout.AnchorPane; import javaf...
package com.xjy.person.controller; import com.blinkfox.zealot.bean.SqlInfo; import com.blinkfox.zealot.core.ZealotKhala; import com.jfinal.core.Controller; import com.xjy.person.model.Contact; import java.util.ArrayList; import java.util.List; import org.pmw.tinylog.Logger; /** * 多条件的模糊查询. * Created by Administrato...
package com.alone.common.mvc; import com.alone.common.GsonStatis; import com.alone.common.dto.Result; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.springframework.validation.BindException; import org.springframework.validation.FieldError; import org.springframework.web.bind...
package com.fb.graph; import java.util.ArrayList; public class DFS<T> { /** * DFS can be used: * (a) To find Connected Components - Change color of a picture floodfill * (b) Maze problems * DFS can be pre/post/in order for a Binary Tree * (c) DirectedGraph GC Mark and Sweep, Code Flow * visit all */ ...
package com.cloudogu.smeagol.wiki.domain; import com.google.common.base.Preconditions; import com.google.common.base.Strings; import java.util.Objects; /** * Simple string value object. */ public class RepositoryName { private final String value; private RepositoryName(String value) { this.value ...
/** * Created by alexanderhughes on 2/1/16. */ public class Cat { // Class for a schrodinger's cat. public String name; public int age; public double weight; public boolean isAlive; public Cat(String name, int age, double weight, boolean isAlive) { setName(name); setA...
package Methods_Classes_Objects; public class student { //method : a method is block of code which only run when it called //different type of method creation //first method void add(){ // void: no return type //add is the method name } //second method: constructor student(){ // no return type, not...
package br.com.nozinho.dao.impl; import java.util.List; import javax.ejb.Stateless; import javax.persistence.TypedQuery; import br.com.nozinho.dao.OrgaoEntidadeDAO; import br.com.nozinho.ejb.dao.impl.GenericDAOImpl; import br.com.nozinho.model.OrgaoEntidade; @Stateless public class OrgaoEntidadeDAOImpl extends Gene...
package q1adt; import java.util.Iterator; /** * FastBag * * An implementation of a Bag whose keys are known * ahead of time and whose main operations (add, count, * and remove) operate in logarithmic time. * * The keys are given to the constructor; they all initially * have count 0. Behavior is undefined i...
package orgvictoryaxon.photofeed.photolist.di; import javax.inject.Singleton; import dagger.Component; import orgvictoryaxon.photofeed.PhotoFeedAppModule; import orgvictoryaxon.photofeed.domain.di.DomainModule; import orgvictoryaxon.photofeed.lib.di.LibsModule; import orgvictoryaxon.photofeed.photolist.ui.PhotoListFr...
package ru.itis.javalab.services; import org.springframework.stereotype.Service; import ru.itis.javalab.models.Role; import ru.itis.javalab.repositories.RoleRepository; import javax.annotation.PostConstruct; import java.util.Optional; /** * created: 21-03-2021 - 22:46 * project: SemesterWork * * @author dinar *...
package Manufacturing.Ingredient.ConcreteIngredient; import Manufacturing.Ingredient.BaseIngredient; /** * 三文鱼罐头原材料 * * @author 孟繁霖 * @date 2021/10/25 14:07 */ public class Salmon extends BaseIngredient { public Salmon() { this.setName( "三文鱼", "三文魚", "...
package com.moon.config; public interface IConfigChangeListener { public void configChanged(); }
package net.thumbtack.asurovenko.tasks.task13; import java.text.SimpleDateFormat; import java.util.Date; public class Formatter { public String format(Date date) { return new SimpleDateFormat("yyyy.MM.dd 'at' HH:mm:ss").format(date); } }
package foo.dbgroup.RDFstruct; import java.io.InputStream; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.rdf.model.AnonId; import com.hp.hpl.jena.rdf.model.Literal; import com.hp.hpl.jena.rdf.model.Model; import com.hp.hpl.jena.rdf.model.ModelFactory; import com.hp.hpl.jena.rdf.model.Property; import com....
package com.tt.miniapp.msg.ad; import com.tt.miniapphost.AppBrandLogger; import com.tt.miniapphost.AppbrandContext; import com.tt.miniapphost.IActivityProxy; import com.tt.miniapphost.MiniappHostBase; import com.tt.option.ad.h; import com.tt.option.e.e; public class ApiCreateBannerAdCtrl extends BannerAdCtrl...
package com.tencent.mm.plugin.sns.ui; import android.content.Intent; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.kernel.g; import com.tencent.mm.plugin.sns.model.af; import com.tencent.mm.sdk.platformtools.bi; class SnsTimeLineUI$37 implements OnClickListener { final ...
package edu.nju.logic.impl; import edu.nju.RuanHuApplication; import edu.nju.data.dao.UserDAO; import edu.nju.data.entity.User; import edu.nju.logic.service.UserProfileService; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired...
/* * 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 view; import entity.Comment; import entity.Post; import entity.RedditAccount; import java.io.IOException; import java.io.Prin...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package pack1; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; /** * * @author gaurav.sharma */ public class MyConnection { public static Connection ...
// Sun Certified Java Programmer // Chapter 3, P229 // Assignments class Tester229 { public static void main(String[] args) { Cat[][] myCats = {{new Cat("Fluffy"), new Cat("Zeus")}, {new Cat("Bilbo"), new Cat("Legolas"), new Cat("Bert")}}; } }
/** * */ package spring.mvc; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.After; import org.aspectj.lang.annotation.AfterReturning; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.as...
package com.marshalchen.ultimaterecyclerview.demo.loadmoredemo; import android.graphics.Color; import android.os.Handler; import android.view.View; import android.widget.TextView; import com.marshalchen.ultimaterecyclerview.UltimateRecyclerView; import com.marshalchen.ultimaterecyclerview.demo.R; import com.marshalch...
package com.fibbery.cli.command; import com.fibbery.cli.consts.CommandConsts; public class QuitCommand implements ICommand{ @Override public String getIdentifier() { return CommandConsts.COMMAND_QUIT; } @Override public void execute(String[] args) { System.out.println("Good Bye !...
package com.example.warehouse.model; import javax.persistence.*; @Entity @Table(name = "PARTS") public class Part { @Id @Column(name = "ID") @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; @Column(name = "PARTS_NAME") private String partName; @Column(name = "PARTS_REQ...
package com.stryksta.swtorcentral.models; public class CompanionItem { public String txtID; public String txtName; public String txtTitle; public String txtCategory; public String txtSubCategory; public String txtDescription; public String txtGender; public String txtGiftsUnRomanced; ...
package util; import java.util.InputMismatchException; import java.util.Scanner; public class Input { Scanner scanner = new Scanner(System.in); public String getPath() { return scanner.next(); } public String getLine() { return scanner.next(); } public int getChose() { ...
package asus.ft.autoBrowsing; import java.util.Timer; import java.util.TimerTask; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Message; import android.os.SystemClock; import android.util....
package com.github.rmannibucau.cdi.scopes.internal.method; import com.github.rmannibucau.cdi.scopes.api.method.MethodScopeExtension; import com.github.rmannibucau.cdi.scopes.api.method.WrappingMethodScoped; import com.github.rmannibucau.cdi.scopes.api.method.WithScope; import org.apache.openejb.jee.WebApp; import org....
package com.tantransh.workshopapp.requestlistener; public interface GeneralRequestListener { void getStateList(); void getMakeList(); }
package com.vilio.pcfs.dao; import com.vilio.pcfs.pojo.LoginInfo; import java.util.Map; public interface LoginInfoDao { //查询登录信息表 public LoginInfo selectLoginInfo(LoginInfo loginInfo); //更新登录信息表 public int updateLoginInfo(LoginInfo loginInfo); //插入登录信息表 public int insert(LoginInfo loginIn...
/* * 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 pplassginment; /** * * @author Dark_ni8 */ public class girls { String name; double att_level; d...
package org.opencompare.projetGroupe1; import java.io.File; import java.util.List; import org.opencompare.api.java.Cell; import org.opencompare.api.java.Feature; import org.opencompare.api.java.PCM; import org.opencompare.api.java.PCMContainer; import org.opencompare.api.java.Product; import org.opencompare.api.java...
package com.codemine.talk2me; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.media.AudioFormat; import android.media.AudioManager; import android.media.AudioRecord; import android.media.AudioTrack; import android.media.MediaRecorder; import android.net.wifi...
package oop1; public class Score { String studentName; int kor; int eng; int math; int total; int average; boolean isPassed; }
package finggui; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.List; import javax.swing.ButtonGroup; import javax.swing.DefaultComboBoxModel; import javax.swing.JButton; import...
package com.springcore.spel; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; @Component("demo") public class Demo { @Value("#{10+2}") private int x; @Value("#{2+3+4+5}") private int y; public int getX() { return x; } public void setX(int x) { th...
import java.util.Arrays; /** * Created on 2020/3/21. * * @author ray */ public class MaxProfit3 { public static int maxProfit(int[] prices) { if (prices.length <= 1) { return 0; } int profit = 0; for (int i = 1; i <= prices.length; i++) { int p; ...
package 线程交互.PC2; public class PC2 { /* 企业级多线程实战二: 生产者与消费者问题:(2)两个生产者,两个个消费者,商品池子的大小为1。 这个例子主要阐述问题:多线程交互中的,防止虚假唤醒。 下面4个线程交互,两个进程要生产,其实还是要遵守商品池子的大小为1的要求, 应该是两个线程中的一个生产一个商品,然后要等消费之后才能再生产。 但...
package com.pine.template.db_server; import com.pine.template.base.BaseSPKeyConstants; /** * Created by tanghongfeng on 2019/11/1. */ public interface DbSPKeyConstants extends BaseSPKeyConstants { }
package com.sree.mapreduce.training.forums; import java.io.IOException; import java.util.Map; import java.util.Map.Entry; import java.util.TreeMap; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.LongWritable; import or...
package com.yunhe.systemsetup.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.yunhe.sy...
/* HeroScribe Copyright (C) 2002-2004 Flavio Chierichetti and Valerio Chierichetti This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 (not later versions) as published by the Free Software Foundation. This program is dist...
package com.gld.znaqm.mapper; import com.gld.znaqm.model.User; import tk.mybatis.mapper.common.Mapper; public interface UserMapper extends Mapper<User> { }
package com.zhouyi.business.controller; import com.zhouyi.business.core.model.LedenCollectPCallrecords; import com.zhouyi.business.core.model.Response; import com.zhouyi.business.core.service.BaseService; import com.zhouyi.business.core.service.LedenCollectPCallrecordsService; import com.zhouyi.business.core.vo.LedenC...
package cn.com.ykse.santa.repository.dao; import cn.com.ykse.santa.repository.entity.RequirementDO; import cn.com.ykse.santa.repository.pagination.Page; import org.apache.ibatis.annotations.Param; import java.util.Date; import java.util.List; public interface RequirementDOMapper { int deleteByPrimaryKey(Integer ...
package pl.com.bartusiak.designpatterns.state; import java.util.ArrayList; import java.util.stream.Collectors; class CombinationLock { private int [] combination; private ArrayList<Integer> list; public String status; public CombinationLock(int[] combination) { this.combination = combinat...
package com.qq.taf.jce.dynamic; import java.util.Comparator; class StructField$1 implements Comparator<JceField> { StructField$1() { } public int compare(JceField jceField, JceField jceField2) { return jceField.getTag() - jceField2.getTag(); } }
/** * $id$ */ package com.renren.api.connect.android.demo; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * Read the logcat log * * @author Shaofeng Wang (shaofeng.wang@renren-inc.com) */ public final class LogHelper { private static final String LOG_TAG_REQU...
import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import java.sql.*; import java.util.ArrayList; import java.util.Date; import java.util.List; class EmpUpdate implements CRUD { static List<Emp_info> employee_list = new ArrayList<>(); private Pr...
import java.util.Scanner; class prog23{ public static void main(String args[]) { int arr[] = new int [] {10,20,30,40,50}; System.out.println("User Array : "); for(int i=0; i<arr.length; i++) { System.out.println(arr[i]+ " "); } System.out.println("Reverse of Array : "); for(int i =...
package fr.clivana.lemansnews.view; import android.app.Activity; import android.app.PendingIntent; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.util.Log; import android.view.Menu; import android.view.MenuI...
/* * 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 ui; import domein.DomeinController; import java.util.InputMismatchException; import java.util.Scanner; import resources.Taal; ...
package com.coinhunter.utils.http; import lombok.extern.slf4j.Slf4j; import org.junit.Test; @Slf4j public class HttpClientTest { private HttpClient httpClient = new HttpClient(); @Test public void getTest() { //0 : 1 H:3 L :4 c:2 rate : 5 long startTime = System.currentTimeMillis(); //https://www.bithumb....
/* * 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 ejb.session.stateless; import entity.AircraftConfiguration; import entity.CabinClass; import entity.CabinClassConfiguration; i...
public class Demo{ public static void printLoop(int n){ for (int i=0; i<n; i++){ for (int j=1; j<=(n-i); j++){ System.out.print(i+1); } System.out.println(); } } public static String arrToString(int[] arr){ String ans="{"; if (arr.length==0){ return "{}"; } ...
package by.imag.app.classes; public class TagItem { private String tagName; private String tagURL; private int postCount; public TagItem(String tagName, String tagURL, int postCount) { this.tagName = tagName; this.tagURL = tagURL; this.postCount = postCount; } public S...
package ms.ui; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.event.EventListener; import org.springframework.stereotype.Component; import javafx.fxml.FXML; import javafx.scene.layout.GridPane; import ms.events.BlockEvent; import ms.events.Difficulty; import ms.events.Ga...
package com.appium.pageObject.tests; import com.appium.pageObject.pages.HomePage; import com.appium.pageObject.pages.InputControlsPage; import com.appium.pageObject.utils.BaseTest; import org.junit.Assert; import org.testng.annotations.Test; /** * Created by syamsasi on 07/02/17. */ public class EnterTextTest exten...
package com.tiandi.logistics.shiro; import com.tiandi.logistics.utils.JWTUtil; import com.tiandi.logistics.utils.RedisUtil; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.AuthenticationInfo; import org.apache.shiro.authc.AuthenticationToken; import org.apache.shiro.authc.SimpleAut...
/* * Copyright (C) 2021-2023 Hedera Hashgraph, 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package com.concordia.soen6441riskgame; import java.awt.BorderLayout; import java.awt.Color; import java.awt.EventQueue; import java.util.ArrayList; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing...
package com.cognitive.newswizard.service.translator; import com.cognitive.newswizard.api.vo.newsfeed.RawFeedEntryVO; import com.cognitive.newswizard.service.entity.RawFeedEntryEntity; public class RawFeedEntryTranslator { public static RawFeedEntryEntity toEntity(final RawFeedEntryVO valueObject) { return new Raw...
package pl.edu.charzynm; public enum SeparableVerbsPrefixes { AB("ab"), AN("an"), AUF("auf"), AUS("aus"), AUSEINANDER("auseinander"), BEI("bei"), EIN("ein"), EMPOR("empor"), ENTGEGEN("entgegen"), ENTLANG("entlang"), ENTZWEI("entzwei"), FERN("fern"), FEST("fest"), ...
package pe.gob.trabajo.web.rest; import pe.gob.trabajo.LiquidacionesApp; import pe.gob.trabajo.domain.Tipcalconre; import pe.gob.trabajo.repository.TipcalconreRepository; import pe.gob.trabajo.repository.search.TipcalconreSearchRepository; import pe.gob.trabajo.web.rest.errors.ExceptionTranslator; import org.junit.B...
package CSArmyBot.commands; import CSArmyBot.main; import com.jagrosh.jdautilities.command.Command; import com.jagrosh.jdautilities.command.CommandEvent; public class SelfAssignCommand extends Command { public SelfAssignCommand() { this.name = "notify"; this.category = main.NORMAL; this.g...
package com.ibm.jikesbt; /* * Licensed Material - Property of IBM * (C) Copyright IBM Corp. 1998, 2003 * All rights reserved */ import java.io.DataInputStream; import java.io.IOException; /** The info of a class that is read until its name is known. * @author IBM **/ // Added class to allow re...
package com.jim.multipos.data.operations; import com.jim.multipos.data.db.model.stock.Stock; import java.util.List; import io.reactivex.Observable; /** * Created by user on 17.08.17. */ public interface StockOperations { Observable<Long> addStock(Stock stock); Observable<Boolean> addStocks(List<Stock> s...
// // Wire // Copyright (C) 2016 Wire Swiss GmbH // // 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 progr...
package org.acme.kafka; import io.quarkus.runtime.annotations.RegisterForReflection; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @RegisterForReflection @Data @AllArgsConstructor @NoArgsConstructor public class MyRecord { private String id; // private String name; ...
package com.apprisingsoftware.xmasrogue.io; import com.apprisingsoftware.util.ArrayUtil; import com.apprisingsoftware.xmasrogue.util.Coord; import java.awt.Color; import java.util.Collection; import java.util.Map; public abstract class MenuScreen implements AsciiScreen { protected final int width, height; private...
package controller; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRes...
package com.fixit.ui.activities; import android.os.Bundle; import android.support.annotation.LayoutRes; import android.support.annotation.Nullable; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; import android.text.InputTyp...
package com.appdear.client; import java.util.ArrayList; import java.util.List; import org.json.JSONException; import org.json.JSONObject; import android.app.AlertDialog; import android.app.ProgressDialog; import android.app.AlertDialog.Builder; import android.content.DialogInterface; import android.content.Intent; i...
package controller; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.NoSuchElementException; import java.util.Optional; import java.util.ResourceBundle; import java.util.logging.Level; import com.sun.javafx.logging.Logger; import Threads.ThreadTime; import Threads.ThreadTimeRema...
package com.philippe.app.exception; public class JobPausedException extends JobException { public JobPausedException(String message) { super(message); } }
package utility; import exceptions.IncorrectValueException; import exceptions.NullFieldException; import exceptions.ValidationException; public interface FieldCheckerHelp<T> { T check(String str) throws NullFieldException, IncorrectValueException; }
package ru.otus.adapter; /* * Created by VSkurikhin at autumn 2018. */ import ru.otus.dataset.DataSet; import javax.json.Json; import javax.json.JsonObject; import javax.json.JsonObjectBuilder; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; interface DataSetAdapter<T extends DataSet> {...
package prj.betfair.api.betting.operations; import com.fasterxml.jackson.annotation.JsonProperty; import prj.betfair.api.betting.datatypes.PlaceExecutionReport; import prj.betfair.api.betting.datatypes.PlaceInstruction; import prj.betfair.api.betting.exceptions.APINGException; import prj.betfair.api.common.Executor; ...
package com.workorder.ticket.service.convertor; import com.workorder.ticket.persistence.dto.workorder.WorkOrderQueryDto; import com.workorder.ticket.persistence.dto.workorder.WorkOrderWithCreatorDto; import com.workorder.ticket.persistence.entity.User; import com.workorder.ticket.persistence.entity.WorkOrder; im...
package com.wuyan.masteryi.mall.service; import com.wuyan.masteryi.mall.entity.SingleCartItem; import java.util.List; import java.util.Map; /** * @Author: Zhao Shuqing * @Date: 2021/7/6 16:40 * @Description: */ public interface CartItemService { Map<String,Object> addCartItem(Integer userId, Integer goodsId...
package com.isslam.kidsquran.utils; import java.io.BufferedInputStream; 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 java.util.ArrayList; import jav...