text
stringlengths
10
2.72M
package com.komaxx.komaxx_gl; import java.util.ArrayList; import android.graphics.Bitmap; public class MipMapBitmaps { private static Bitmap[] emptyBitmaps = new Bitmap[0]; private Bitmap[] bitmaps; public MipMapBitmaps(int basicWidth, int basicHeight, Bitmap.Config config, int mipMapLevels){ ArrayList<Bitm...
package paiva.pedro.at_desenvolvimento_android.Activity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.ProgressBar; import com.google.firebase.auth.FirebaseAuth; import paiva.pedro.a...
/** * ************************************************************************ * Copyright (C) 2010 Atlas of Living Australia All Rights Reserved. * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with the * Licens...
package com.jlgproject.model; import java.io.Serializable; import java.util.List; /** * Created by sunbeibei on 2017/6/28. */ public class Buness_Informations_Info implements Serializable { /** * state : ok * message : * data : {"pageNum":1,"total":1,"items":[{"id":1734,"legalPersonName":"孙贝贝"...
/* * 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 controller; import db.Department; import db.Employee; import db.Project; import java.rmi.AccessException; import ja...
package com.jayqqaa12.mobilesafe.engine.space.lost; import android.util.Log; import com.jayqqaa12.abase.core.AbaseEngine; import com.jayqqaa12.abase.util.ConfigSpUtil; import com.jayqqaa12.abase.util.comm.PhoneUtil; import com.jayqqaa12.abase.util.common.TAG; import com.jayqqaa12.abase.util.security.DisgestUtil; impo...
package uk.gov.companieshouse.api.testdata.model.entity; import org.springframework.data.mongodb.core.mapping.Field; import java.time.Instant; public class OfficerAppointmentItem { @Field("occupation") private String occupation; @Field("address") private Address address; @Field("name_elements.fo...
package codingTest; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.StringTokenizer; public class line_1 { private static StringBuilder sb = new Str...
package com.example.springwebsocket.service; import com.example.springwebsocket.config.IAuthentication; import com.example.springwebsocket.config.JwtUtil; import com.example.springwebsocket.model.GameRoom; import com.example.springwebsocket.model.User; import com.example.springwebsocket.repository.GameRoomRepository; ...
package kz.csse.jwtauth.reactjwtauth.services; import kz.csse.jwtauth.reactjwtauth.entities.CardTasks; import kz.csse.jwtauth.reactjwtauth.entities.Cards; import java.util.List; public interface CardService { List<Cards> getAllCards(); Cards addCard(Cards card); Cards getCard(Long id); Cards editCa...
package com.osce.server.rest.biz.training.structure.dept; import com.osce.api.biz.training.structure.dept.PfDeptService; import com.osce.dto.common.PfBachChangeStatusDto; import com.osce.entity.OrgDepart; import com.osce.enums.OperationTypeEnum; import com.osce.server.security.CurrentUserUtils; import com.osce.vo.PfTr...
package org.apereo.cas.mgmt; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.services.UnauthorizedServiceException; import org.apereo.cas.support.saml.OpenSamlConfigBean; import org.apereo.cas.util.EncodingUtils; import org.apereo.cas.util.HttpUtils; import lombok.SneakyThrows; i...
package com.example.tests; public class ContactData { public String firstName; public String lastName; public String address1; public String phoneHome; public String phoneMobile; public String phoneWork; public String email1; public String email2; public String birthDay; public String birthMonth; public Str...
package com.lcss.spikegoodssystem; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SpikeGoodsSystemApplication { public static void main(String[] args) { SpringApplication.run(SpikeGoodsSystemAppli...
package com.pfchoice.springboot.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.domain.Specification; imp...
package matala1; import Turtle.SimpleTurtle; public class DrunkTurtle extends SimpleTurtle{ public DrunkTurtle() { super(); } @Override public void moveForward(double d) { double newdistance=Math.random()*(d*2); super.moveForward(newdistance); turnLeft((int) (Math.random()*60-30)); ...
package com.zzidc.web.bean; import com.fasterxml.jackson.annotation.JsonView; import com.zzidc.web.validator.IsIdCard; import lombok.Data; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.Past; import java.util.Date; /** * @ClassName User * @Author chenxue * @Description TODO * @...
package model; import com.music.model.Genres; import com.music.model.Song; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; public class SongTest { @Test public void updateSongTest(){ Song song = new Song(); String firstName = "First"; song.setName(firstName...
package com.microlecture.bean; public class ExamNotifyBean { private int examId; private String examSchedule; //考试计划 private String examTime; //考试时间 private String updateTime; //更新时间 private String examSubject; //考试科目 public int getExamId() { return examId; } public void setExamId(int...
package com.gmail.cwramirezg.task.features.task.add; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.TextInputLayout; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.gmail....
package org.apereo.cas.mgmt; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * Interface to return number of pending requests. * * @author Travis Schmidt * @since 6.0 */ @FunctionalInterface public interface PendingRequests { /** * Returns number pending...
package com.thoughtworks.tw101.exercises.exercise7; /** * Created by laurengallinaro on 2/9/16. */ public class Guess { }
package com.mediacom.tools; import java.util.Locale; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public final class Constants { private final static Logger LOG = LoggerFactory.getLogger(Constants.class); private Constants() {} private static final long serialVersionUID=1L; public static final Stri...
package src.gamrcorps.mothership; public class MOperatorException extends RuntimeException { public MOperatorException (String opName) { super("Duplicate Operator: " + opName); } public MOperatorException (String opName, MObject arg1, MObject arg2) { super("Undefined Operator: " + opName +...
package net.crunchdroid.model; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Data @AllArgsConstructor @NoArgsConstructor @Entity pu...
package com.rudecrab.rbac.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 权限注解,用于标识需要权限处理的接口 * * @author RudeCrab */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD, E...
package guo.ping.taotao.search.service; import guo.ping.taotao.common.pojo.TaotaoResult; import org.apache.solr.client.solrj.SolrServerException; import java.io.IOException; public interface ItemService { TaotaoResult importItems() throws IOException, SolrServerException; }
package com.fastjavaframework.util; import java.text.SimpleDateFormat; import java.util.Date; /** * uuid工具类 */ public class UUID { /** * 无 "-" uuid * @return uuid */ public static String uuid() { return java.util.UUID.randomUUID().toString().replaceAll("-", ""); } /** * 时间戳 * @return */ publi...
package com.lingnet.vocs.dao.reported; import com.lingnet.common.dao.BaseDao; import com.lingnet.util.Pager; import com.lingnet.vocs.entity.Demand; public interface DemandDao extends BaseDao<Demand,String> { public Pager getListData(Pager pager, String status); }
package mouse.server.network.event; /** * Notification events are events which needs to be send from server to all * players (=Notification) * * @author kevin_000 */ public interface NotificationEventListener { /*Notification about */ public void handleDoorsChangedEvent(DoorsChangedEvent event); pub...
public test{ int a; char b; }
//package com.zimmermusic.kenobi; // //import org.numenta.nupic.Parameters.KEY; //import org.numenta.nupic.Parameters; //import org.numenta.nupic.algorithms.Anomaly; //import org.numenta.nupic.algorithms.SpatialPooler; //import org.numenta.nupic.algorithms.TemporalMemory; //import org.numenta.nupic.datagen.ResourceLoca...
package com.brain.apps; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import org.springframework.context.support.FileSystemXmlApplicationContext; public class Caller { public static void main(String[] args) { // TODO Auto-generate...
package com.aciton; import com.entity.OrdersEntity; import com.service.OrderService; import com.sun.org.apache.xpath.internal.operations.Or; import org.apache.struts2.ServletActionContext; import javax.servlet.http.HttpServletRequest; import java.text.SimpleDateFormat; import java.util.Arrays; import java.u...
package it.reply.kubernetes.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import it.reply.kubernetes.dao.EntryDao; import it.reply.kubernetes.model.Entry; @Service public class EntryServiceImpl implements EntryService { ...
package com.huangyifei.android.androidexample.task; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.TextView; import com.huangyifei.android.androidexample.BaseActivity; /** * Created by huangyifei on 16/10...
package com.tencent.mm.ui.chatting.viewitems; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import com.tencent.mm.ui.chatting.viewitems.an.h; class an$h$2 implements OnClickListener { final /* synthetic */ h ufg; an$h$2(h hVar) { this.ufg = hVar; ...
package hello.agh.edu.bazy.controllers; import hello.agh.edu.bazy.path.APIServicePaths; import hello.agh.edu.bazy.row.sensors.*; import hello.agh.edu.bazy.dbApi.sensors.SensorsDbApi; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframew...
package net.ostree.swing; import javax.swing.table.AbstractTableModel; /** * 注意:一般使用AbstractTableModel创建TableModel的实现,只有少量数据时使用DefaultTableModel, * * 显示的数据 * * ·表格的维数 * * ·表格中每一列所包含的数据类型 * * ·应该显示的列标题 * * ·是否允许编辑指定单元格的值 * * */ public class TableValues extends AbstractTableModel...
/* * 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 groupidmaven.common.ejb; import java.io.Serializable; import java.math.BigDecimal; import javax.persistence.Basic; i...
package com.tencent.mm.ui.chatting; class an$a extends Exception { private an$a() { } /* synthetic */ an$a(byte b) { this(); } }
package trainedge.scoop; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.AsyncTask; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; i...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
package eu.su.mas.dedaleEtu.mas.behaviours; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import java.util.List; import eu.su.mas.dedale.mas.AbstractDedaleAgent; import eu.su.mas.dedaleEtu.mas.agents.dummies.explo.ExploreCoopAgent; import eu.su.mas.dedaleEtu.mas.knowledge.SMPosition; ...
package com.nikogalla.tripbook; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.Menu; import android.view.MenuInflater...
package org.example.broker.core.service.topic; import org.example.broker.api.domain.Message; public interface TopicService { void publishMessageOnTopic(String topic, Message message); }
package com.jasoftsolutions.mikhuna.activity.listener; import android.content.Context; import android.content.Intent; import android.view.View; import com.jasoftsolutions.mikhuna.R; import com.jasoftsolutions.mikhuna.activity.ArgKeys; import com.jasoftsolutions.mikhuna.activity.RestaurantCarteActivity; impor...
/* * Copyright (C), 2013-2014, 上海汽车集团股份有限公司 * FileName: BaseInterceptor.java * Author: baowenzhou * Date: 2015年09月09日 下午3:56:12 * Description: //模块目的、功能描述 * History: //修改记录 * <author> <time> <version> <desc> * 修改人姓名 修改时间 版本号 描述 */ package com.xjf...
package br.com.higornucci.contracheque.dominio.desconto.irrf.aliquota; import java.math.BigDecimal; import br.com.higornucci.contracheque.dominio.real.Real; public class AliquotaMinimaIRRF implements AliquotaIRRF { private static final double ALIQUOTA = 0.075; private static final Real DEDUCAO = new Real(new...
package ru.romzhel.game.pool; import ru.romzhel.game.base.SpritesPool; import ru.romzhel.game.sprite.Bullet; public class BulletPool extends SpritesPool<Bullet> { @Override protected Bullet newSprite() { return new Bullet(); } }
package com.isslam.kidsquran.utils; import com.isslam.kidsquran.MainActivity; import com.isslam.kidsquran.R; import com.isslam.kidsquran.model.DataBaseHelper; import android.app.Activity; import android.content.Context; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import ...
package com.smxknife.algorithm; import com.smxknife.algorithm.demo01.quicksort.QuickSort; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import java.util.Arrays; import java.util.Collections; import java.util.List; /** * @author smxknife * 2019-04-29 */ public class TestQuickSort { ...
package com.tencent.mm.protocal.c; import com.tencent.mm.bk.a; import f.a.a.b; public final class vz extends a { public String appId; public String bGy; public int bJt; public String bSS; public String bWQ; public String cca; public long createTime; public boolean dUe = false; publ...
package com.wanglu.movcat.service; import com.wanglu.movcat.model.GiftArticle; import com.wanglu.movcat.model.Result; import com.wanglu.movcat.model.User; import java.util.List; public interface UserService { //获取用户详情 User findOne(Integer id); boolean findByTelOrEmail(String telOrEmail); User find...
package com.njupt.ws_cxf_spring.ws.dao; import java.beans.PropertyVetoException; import java.io.IOException; import java.net.URI; import java.sql.Connection; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.text.Pa...
package homework4; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.Map; import javax.sql.rowset.CachedRowSet; import javax.sql.rowset.RowSetProvider; import org.h2.jdbcx.Jdbc...
package laioffer.June28th; import java.util.Random; /** * Created by Meng on 2017/6/28. */ public class Random7 { public int random7() { int num = 5 * random5() + random5(); if(num >= 21) return random7(); return num % 7; } int random5() { return new Random().nextInt(5...
package main.serv; import main.EntityNotFoundException; import main.dto.TodoDTO; import main.models.Todo; import main.repo.TodoRepository; import org.springframework.stereotype.Service; import java.util.ArrayList; import java.util.List; import java.util.Optional; @Service public class TaskServiceImpl implements Tas...
package com.storytime.client.changeviewevents; import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.event.shared.GwtEvent.Type; import com.storytime.client.changevieweventhandlers.LoginExistingUserLocalEventHandler; import com.storytime.client.changevieweventhandlers.StartGameLocalEventHandler; p...
//package com.eclair.dongbaoums; // // //import com.eclair.dongbaoums.entity.UmsMember; //import com.eclair.dongbaoums.mapper.UmsMemberMapper; // //import org.junit.jupiter.api.Test; // //import org.springframework.boot.test.context.SpringBootTest; // // //import javax.annotation.Resource; //import java.util.Date; //im...
package com.tencent.mm.plugin.subapp.ui.pluginapp; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import com.tencent.mm.model.au; import com.tencent.mm.modelmulti.h; class InviteFriendsBy3rdUI$9 implements OnCancelListener { final /* synthetic */ h kyl; final ...
/** * 懒汉式,多线程有问题 */ public class Singleton { public static Singleton singleton =null; private Singleton() { } public static Singleton getInstance() { if(singleton==null) { singleton = new Singleton(); } return singleton ; } }
package com.example.finalsproject; import android.content.Intent; import android.view.View; import android.widget.Button; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; public class MainMenu extends AppCompatActivity { Button btnEasy, btnMedium, btnHard; String difficulty; @Ove...
package com.noteshare.common.commonController; import java.awt.image.BufferedImage; import java.io.IOException; import javax.imageio.ImageIO; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; i...
package com.example.healthmanage.ui.activity.temperature.adapter; import androidx.annotation.Nullable; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapter.base.BaseViewHolder; import com.example.healthmanage.R; import com.example.healthmanage.ui.activity.temperature.response.Prescri...
package com.upemor.edu.petstorerest.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.upemor.edu.petstorerest.model.Tag; @Repository public interface TagRepository extends JpaRepository<Tag, Integer> { Tag findById(int id); }
package com.api.service.product; import com.api.hystric.product.CategoryMasterServiceHystrix; import com.product.entity.SizeMasterEntity; import com.system.util.ServiceResult; import com.system.util.SystemException; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation....
package creational.design.pattern.builder; public class Employee { private String name; private int age; private String email; @Override public String toString() { return "Employee{" + "name='" + name + '\'' + ", age=" + age + ", email='" + e...
package com.appsnipp.homedesign2.Activity; import android.content.Intent; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.text.Editable; import android.text.TextUtils; import android.text.TextWatcher; import android.util.Log; import android.view.V...
package com.capg.service; import java.util.List; import com.capg.beans.Address; import com.capg.beans.Employee; import com.capg.repo.EmployeeRepo; public class EmployeeServiceImpl implements EmployeeService { int i=1; public EmployeeServiceImpl(EmployeeRepo emR) { super(); this.emR = emR; } ...
package com.skh.hkhr.util; import android.app.Activity; import android.graphics.Color; import android.os.Build; import android.view.View; import android.view.Window; import android.view.WindowManager; import timber.log.Timber; public class WindowUtil { /** * Making notification bar transparent * ...
package com.security.example.demo.controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; /** * @author 周泽 * @date Create in 18:46 2019/8/1 * @Description */ @RestController public class TestController { @GetMapping("/...
package org.sbbs.base.webapp.s2hibernatevalidator.validators; import java.io.IOException; import java.util.Collection; import java.util.Locale; import com.opensymphony.xwork2.ActionSupport; public interface Struts2HibernateValidator { Collection<?> validate(ActionSupport actionAs, Locale clientLocale, ...
package com.bw.movie.IView; import com.bw.movie.mvp.model.bean.WeEBean; /** * 作者:轻 on 2018/11/21 19:50 * <p> * 邮箱:379996854@qq.com */ public interface IWeiEView extends IBaseView { void success(WeEBean weEBean); void Error(String msg); }
public class fazenda{ public static void main(String arg[]){ fazendeiro f1 = new fazendeiro("lucas","fazendeiro"); System.out.println("welcome "+f1.getNome()+" vc e do tipo:"+f1.getTipo()); pessoa p1 = new pessoa(); remove rem = new remove(); System.out.println("objeto a ser removido:"+rem.obj(f1).getNome()); System...
package com.sharpower.scada.exception; public class PlcException extends Exception { private static final long serialVersionUID = 1L; public PlcException( String errMessage){ super(errMessage); } @Override public String getMessage() { return super.getMessage(); } }
package VEW.Planktonica2.StageEditor; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.table.AbstractTableModel; import javax.swing.table.TableModel; import VEW.Planktonica2.ControllerStructure.FunctionalGroupController; public class AddStageButtonListener implements Actio...
import java.util.*; class SecondLargest { public int[] solve(int[] nums) { int[] result = new int[2]; int first = Integer.MIN_VALUE; int second = Integer.MIN_VALUE; for (int num : nums) { if (num > first) { second = first; first = num; } else if (num > second && num != fir...
package chess.views.console; import chess.ChessController; import chess.PieceType; import chess.PlayerColor; import chess.assets.ConsoleAssets; import chess.views.BaseView; import chess.views.DrawableResource; import java.util.Scanner; import java.util.regex.Pattern; public class ConsoleView extends BaseView<String>...
public class Calculator { private int num1; private int num2; private double num3; private double num4; public Calculator(int num1, int num2, int num3, int num4) { this.num1 = num1; this.num2 = num2; this.num3 = num3; this.num4 = num4; } pu...
package com.stark.design23.bridge; /** * Created by Stark on 2018/1/17. * A对接口的实现 */ public class DataBaseA implements DataBase { private String msg; public void write(String msg) { this.msg = msg; } public String read() { return this.msg; } }
package com.OovEver.examples; import com.OovEver.easyCrawle.Config.Config; import com.OovEver.easyCrawle.Engine.Elves; import com.OovEver.easyCrawle.Spider.Spider; import com.OovEver.easyCrawle.pipeline.Pipeline; import com.OovEver.easyCrawle.request.Request; import com.OovEver.easyCrawle.response.Response; import com...
package com.eCommerce.eComApp.model; import lombok.Data; import org.springframework.data.mongodb.core.mapping.Document; import java.util.List; public @Data class Client extends User{ private List<String> shippingAddress; private List<CreditCard> creditCard; }
package descriptionfiles; import java.util.LinkedList; /** * A section within a description file. Contains multiple ordered descriptions * * @author Andreas Fender */ public class DescSection { private LinkedList<Description> descriptions; private String name; /** * Creates a new...
package team1699.utils.sensors.simsensors; public class SimGyro { }
public class Index { private IndexRec[] indexRecords; //array of indexRec class private int numofElements; private int maxSize; private int iterator; //constructor with zero parameter public Index() { maxSize = 100; numofElements = 0; indexRecords = new IndexRe...
package com.tencent.mm.ui.chatting; import android.view.View; import android.view.View.OnLongClickListener; import com.tencent.mm.model.q; import com.tencent.mm.model.r; import com.tencent.mm.model.s; import com.tencent.mm.platformtools.ai; import com.tencent.mm.plugin.report.service.h; import com.tencent.mm.sdk.platf...
package models.dbmanager; import models.util.DatabaseTool; /** * Created by shanmao on 15-12-28. */ public class LockTableManager { public static boolean insert(String key,int value){ try { DatabaseTool.defaultEm.getTransaction().begin(); //启动事务 try { models.entit...
package uy.edu.um.db.serialization; import java.io.File; import java.nio.charset.Charset; import org.apache.commons.io.FileUtils; import com.thoughtworks.xstream.XStream; public class XstreamReadFromFileMain { public static void main(String[] args) throws Exception { String xml = FileUtils.readFileToString(new ...
package com.example.healthmanage.ui.activity.mytask.adapter; import android.text.Html; import androidx.annotation.Nullable; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapter.base.BaseViewHolder; import com.example.healthmanage.R; import com.example.healthmanage.ui.activity.mytask...
package ace.demo.mapstruct.model; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; /** * @author Caspar * @contract 279397942@qq.com * @create 2020/7/23 15:24 * @description */ @Data @Accessors(chain = true) @Build...
package cn.com.broadlink.happy; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.os.AsyncTask; import android.os.Build; import android.os.Bundle; impor...
package com.udacity.ranjitha.tourguide; import android.app.Activity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import java.util.ArrayList; public class WordAdapter ex...
package auth.pack; import java.io.IOException; import java.io.PrintWriter; import java.security.MessageDigest; import java.util.Properties; import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.annotation.WebServlet; import javax.servlet.http.*; import javax.mail.*; import javax.mail.inter...
package com.designPattern.behaviorPattern.commandMode; public class Receiver { public void action(){ System.out.println("执行命令"); } }
/* * 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 Task09; import java.util.Scanner; /** * * @author PC User */ public class Task09 { public static void ...
package hello; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.sp...
package com.msir.dao; import com.msir.pojo.ConfigDO; import com.msir.provider.CustomConfigProvider; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Result; import org.apache.ibatis.annotations.Results; import org.apache.ibatis.annotations.SelectProvider; import java.util.List; /** *...
package com.example.makemenu; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.graphics.BitmapFactory; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.vi...
package com.seemoreinteractive.seemoreinteractive; import java.net.URL; import java.util.ArrayList; import org.json.JSONArray; import org.json.JSONObject; import com.androidquery.AQuery; import com.seemoreinteractive.seemoreinteractive.helper.Common; import com.seemoreinteractive.seemoreinteractive.wheel.S...