text
stringlengths
10
2.72M
package cn.itcast.sunnet.web.servlet; import cn.itcast.sunnet.service.UserService; import cn.itcast.sunnet.service.impl.UserServiceImpl; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax....
/** * Created on 2020/2/28. * * @author ray */ //编写一个程序,通过已填充的空格来解决数独问题。 // // 一个数独的解法需遵循如下规则: // // // 数字 1-9 在每一行只能出现一次。 // 数字 1-9 在每一列只能出现一次。 // 数字 1-9 在每一个以粗实线分隔的 3x3 宫内只能出现一次。 // // // 空白格用 '.' 表示。 // // // // 一个数独。 // // // // 答案被标成红色。 // // Note: // // // 给定的数独序列只包含数字 1-9 和字符 '.' 。 // 你可以假设给定的数独只有唯一解。 // 给定...
package rent.common.projection; import org.springframework.data.rest.core.config.Projection; import rent.common.entity.UserEntity; @Projection(types = {UserEntity.class}) public interface UserMinimal { String getId(); String getLogin(); String getFullName(); String getEmail(); Boolean getBlock...
package shape; import java.awt.Shape; import java.awt.geom.Path2D; import java.awt.geom.RoundRectangle2D; import main.GConstants; public class GRoundRectangle extends GShape implements Cloneable { private static final long serialVersionUID = GConstants.serialVersionUID; int X1 = 0; int Y1 = 0; in...
package com.fansolomon.Structural.Decorator.Shape; public class ColorShapeDecorator extends ShapeDecorator { private String color; public ColorShapeDecorator(Shape decoratedShape, String color) { super(decoratedShape); this.color = color; } @Override public void draw() { ...
package org.ca.View; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.MultipartConfig; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.ht...
package com.ytt.springcoredemo.service.base; import com.ytt.springcoredemo.model.BaseEntity; import com.ytt.springcoredemo.dao.mapper.core.CoreMapper; @Deprecated public abstract class SaveBaseServiceImpl<T extends BaseEntity<ID>, ID, K extends CoreMapper<T,ID>> extends DaoBaseServiceImpl<T, ID, K> implements...
package io.bega.kduino.fragments; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import java.util.ArrayList; import java.util.List; import io.bega.kduino.R; import io.bega.kduino.fragments.intro.PlaceSlideFragment; public c...
package com.myhome.lee.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; /** * Created by lee on 17/3/1. */ @Entity @Table(name = "Article") public class Article { @Id @Column(name="id", nullable = false) private Strin...
package cn.omsfuk.library.web.dao; import cn.omsfuk.library.web.model.Book; import cn.omsfuk.library.web.model.Borrow; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.data.domain.PageRequest; import java.util.List; @Mapper public interface BorrowDAO...
package app.com.bugdroidbuilder.paulo.droidhealth.view; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.support.v7...
package com.ArcLancer.Test.Spring; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class SayHello { public SayHello() { } @SuppressWarnings("resource") public String SayHello2() { ApplicationContext applicationContext ...
package com.test.pages; import java.util.ArrayList; import java.util.List; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.How; import org.openqa.selenium.support.PageFactory; i...
package edu.weber; public class Banana extends Fruit { public Banana() { super(FruitName.BANANA, FruitColor.YELLOW); } }
package leecode.other; import java.util.Stack; public class 验证栈序列_946 { public boolean validateStackSequences(int[] pushed, int[] popped) { /*考察堆栈,就用堆栈模拟,两个指针太麻烦 Stack<Integer>stack=new Stack<>(); int pop=0; int push=0; while (pop<popped.length){ if(popped[pop]>...
package com.design.state; public class TVStopState implements PdkState{ public void doAction() { // TODO Auto-generated method stub System.out.println("TV is going to switch off......"); } }
package stalls; import interfaces.IRestrictable; import persons.Visitor; public class TobaccoStall extends Stall implements IRestrictable { private int minAge; public TobaccoStall(String name, String ownerName, String parkingSpot, int funRating, double price) { super(name, ownerName, parkingSpot, fun...
package ie.brewer.controller; import javax.validation.Valid; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.validation.BindingResult; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation...
package start.entity; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.StringRedisTemplate; import org.springframework.data.redis.core.ValueOperations; import org.springframework.stereotype.Component; impo...
package app.playground2; import java.util.Date; import util.Address; public class CreditCard { private Integer ident = null; private String name; private Address address; private String number; private String cvv; private Date expiry; public CreditCard() {...
package arrays; public class RotationUsingReversal { //Complexity=O(n) public static void main(String[] args) { int array[]= {2, 5, 7, 9, 6, 3, 4, 8}; RotationUsingReversal rur=new RotationUsingReversal(); int d=3; int n=array.length; //for left rotation /*rur.reverse(array, 0, d-1); rur.reverse(arr...
package com.assignment08_sudoku; import androidx.annotation.NonNull; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; imp...
package com.gauro.consumer; import com.fasterxml.jackson.databind.ObjectMapper; import com.gauro.domain.Picture; import lombok.extern.slf4j.Slf4j; import org.springframework.amqp.rabbit.annotation.RabbitListener; import org.springframework.stereotype.Service; import java.io.IOException; /** * @author Chandra */ @S...
package com.sourceallies.filter; import static org.mockito.Mockito.mock; import static org.junit.Assert.*; import java.io.Writer; import org.junit.Test; public class PrintWriterLoggerFactoryTest { @Test public void testCreate(){ PrintWriterLoggerFactory factory = new PrintWriterLoggerFactory(); Writer mockWr...
package materialdesign.practice.com.recyclerfragment.Activity; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; import ...
package com.foosbot.service.model.season; public class RankResult { }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import Conexion.ConexionBD; import logica.Detalle...
package com.goldgov.dygl.module.partyMemberInfo.web; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype....
package com.e6soft.bpm.vo.grid; import com.alibaba.fastjson.annotation.JSONType; import com.e6soft.core.views.FieldLabel; @JSONType(orders = {"id","flowbaseId","businessFormId","requestName","requestCode","operator"}) public class FlowbaseFormGrid { @FieldLabel("id") private String id; @FieldLabel("flowbaseId") ...
package com.geekparkhub.hadoop.compress; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.io.IOUtils; import org.apache.hadoop.io.compress.CompressionCodec; import org.apache.hadoop.io.compress.CompressionOutputStream; import org.apache.hadoop.util.ReflectionUtils; import java.io.*; /** * Geek ...
package com.elvarg.net.packet; import java.util.List; import com.elvarg.GameConstants; import com.elvarg.world.entity.Entity; import com.elvarg.world.entity.impl.object.GameObject; import com.elvarg.world.entity.impl.player.Player; import com.elvarg.world.model.Animation; import com.elvarg.world.model.EffectTimer; im...
package digital_goods.mobileTopup.page_object; import com.codeborne.selenide.SelenideElement; import global.helpers.AbstractPage; import global.helpers.NameOfElement; import org.openqa.selenium.support.FindBy; public class LoginMobilePage extends AbstractPage { @NameOfElement("Email") @FindBy(xpath = "//*[@i...
package org.jahia.modules.academy.services; import org.drools.core.spi.KnowledgeHelper; import org.jahia.services.content.JCRNodeWrapper; import org.jahia.services.content.rules.AddedNodeFact; import org.jahia.services.content.rules.ImageService; import org.jahia.services.image.Image; import org.jahia.services.image.J...
package c.sakshi.lab5; import androidx.appcompat.app.AppCompatActivity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast...
package mnm.mods.tabbychat.api.listener.events; import net.minecraft.client.gui.GuiChat; /** * Event for when the chat screen gets initialized. */ public class ChatInitEvent extends Event { public final GuiChat chatScreen; public ChatInitEvent(GuiChat chat) { this.chatScreen = chat; } }
package GameState; public class GameStateManager { private GameState[] gameStates; private int currentState; public static final int CANTGAMESTATES= 5; public static final int MENUSTATE = 0; public static final int LEVELBASE = 1; public static final int LEVELARENA = 2; public static final int LEVEL1 = 3; ...
package com.ehootu.park.dao; import com.ehootu.core.util.BaseDao; import com.ehootu.park.model.ChemicalsInspectionEntity; import org.springframework.stereotype.Repository; import java.util.List; /** * 易制毒化学品检验表 * * @author yinyujun * @email * @date 2017-09-26 16:27:31 */ @Repository public interface Chemical...
package anton25360.github.com.cascade2; import android.app.Application; import android.app.NotificationChannel; import android.app.NotificationManager; import android.os.Build; public class Cascade extends Application { public static final String CHANNEL_1_ID = "Notification channel"; @Override public v...
package com.guru.mplayer.data_model; import android.net.Uri; import java.io.Serializable; /** * Created by Guru on 09-03-2018. */ public class MusicData implements Serializable { private String Id,Title,AlbumName,AlbumID; int Length; String TrackUri; public MusicData() { } public Musi...
/* * 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 marier.business; /** * * @author linma */ public interface CustomerWriter { boolean addCustomer(Customer c); boolea...
package com.redhat.manuela.sensor; import javax.annotation.PostConstruct; import javax.enterprise.context.ApplicationScoped; import com.redhat.manuela.model.Measure; import org.eclipse.microprofile.config.inject.ConfigProperty; @ApplicationScoped public class GpsSensor implements Sensor { @ConfigProperty(name = "s...
/* * 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 serverexile; import logica.impresion.Imprimir; /** * * @author dark */ public class ServerExile { /** * @param a...
package com.example.andreykochetkov.rk.Service; import android.content.Context; import android.content.Intent; import android.os.Handler; import com.example.andreykochetkov.rk.NewsResultReceiver; public class ServiceHelper { private static final ServiceHelper instance = new ServiceHelper(); private NewsRe...
package com.openkm.vernum; import org.hibernate.Query; import org.hibernate.Session; import com.openkm.dao.bean.NodeDocument; import com.openkm.dao.bean.NodeDocumentVersion; public class LetterVersionAdapter implements VersionNumerationAdapter { public String getInitialVersionNumber() { return "A"; } pu...
package com.tencent.mm.plugin.readerapp.ui; import android.app.ProgressDialog; import com.tencent.mm.plugin.readerapp.c.g.a; import com.tencent.mm.plugin.readerapp.ui.b.1; class b$1$1 implements a { final /* synthetic */ ProgressDialog mnA; final /* synthetic */ 1 mnB; b$1$1(1 1, ProgressDialog progressD...
package com.fang.example.db.store; import com.fang.example.db.constant.Magic; /** * Created by andy on 6/26/16. */ public class RecordHeader { // offsets private static final short O_CURRENTSIZE = 0; // int currentSize private static final short O_AVAILABLESIZE = Magic.SZ_INT; // int availableSize p...
package LC0_200.LC150_200; import LeetCodeUtils.ListNode; import org.junit.Test; import java.util.HashMap; public class LC160_Intersection_Of_Two_Linked_Lists { @Test public void test() { } public ListNode getIntersectionNode(ListNode headA, ListNode headB) { HashMap<ListNode, ListNode> ma...
package com.fnsvalue.skillshare.hello; import java.util.ArrayList; import java.util.HashMap; public class ReportNotifyLoading { private ArrayList<HashMap> content; public ReportNotifyLoading(ArrayList<HashMap> content){ this.content=content; } public ArrayList<HashMap> getContent() { return content; } ...
package switch2019.project.assemblers; import switch2019.project.DTO.deserializationDTO.CreateGroupInfoDTO; import switch2019.project.DTO.deserializationDTO.MemberInfoDTO; import switch2019.project.DTO.serializationDTO.AddedMemberDTO; import switch2019.project.DTO.serializationDTO.GroupDTO; import switch2019.project.D...
package arrays; import java.util.Arrays; public class FindMaxLengthLIS { public static int countNumberOfLISMax(int[] nums) { int n = nums.length; if (n == 0) return 0; int[] length = new int[n]; int[] count = new int[n]; Arrays.fill(length, 1); Arrays.fill(count, 1...
package edu.curtin.comp2008.mad2020assignment1; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import androidx.fragment.app.Fragment; /** * FragAVertical fragment class is the 'Fragment A' based on the assignment s...
public class Main { public static void main(String[] args) { CustomLinkedList customLinkedList = new CustomLinkedList(); customLinkedList.head = new Node(1); customLinkedList.head.appendToTail(1); customLinkedList.head.appendToTail(2); customLinkedList.head.appendToTail(3); ...
package com.libedi.jpa.compositekey.nonidentify; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Embeddable; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; /** * ParentId : 복합키 매핑을 위한 식별자 클래스 * ...
package com.tencent.mm.protocal.c; import f.a.a.c.a; import java.util.LinkedList; public final class aft extends bhp { public db rJD; public as rJE; public LinkedList<cgb> rJF = new LinkedList(); protected final int a(int i, Object... objArr) { int fS; byte[] bArr; if (i == 0)...
package com.hladkevych.menu.controllers; import com.hladkevych.menu.dto.DietDTO; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.w...
package com.pjc.notepad.home.service; public class HomeService { }
package offer; // 在一个长度为n的数组里的所有数字都在0到n-1的范围内。 // 数组中某些数字是重复的,但不知道有几个数字是重复的。 // 也不知道每个数字重复几次。请找出数组中任意一个重复的数字。 // 例如,如果输入长度为7的数组{2,3,1,0,2,5,3},那么对应的输出是第一个重复的数字2。 // // Parameters: // // numbers: an array of integers // // length: the length of array numbers // // duplication: (O...
package com.adobe.util; import java.util.Date; public class DateUtil { public static Date getDate() { return new Date(); } }
package com.tibco.as.io.cli; import com.tibco.as.io.IChannel; import com.tibco.as.io.IExecutor; public interface ICommand { IExecutor getExecutor(IChannel channel) throws Exception; }
package au.com.autogeneral.testAPI.service.impl; import au.com.autogeneral.testAPI.service.BracketsValidatorService; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** * BracketsValidatorServiceImpl Tester. * * @author dym * @version 1.0 * @since <p...
package com.db.dao.review; import java.io.IOException; import com.db.FileDB; import com.db.dao.AbstractDao; public class ReservesDao extends AbstractDao{ private static ReservesDao instance; public static ReservesDao getInstance() throws IOException { if (instance == null) { synchronized (ReservesDao.class)...
package com.smxknife.java2.thread.futureAndCallable.exception; import java.util.concurrent.Callable; /** * @author smxknife * 2019-08-22 */ public class ExceptionCallable implements Callable<String> { @Override public String call() throws Exception { Integer.parseInt("a"); return null; } }
package application; import java.util.Scanner; import entities.Person; public class herancaTest { public static void main(String[] args) { Scanner scan = new Scanner(System.in); Person person = new Person(); System.out.print("Enter with name: "); String nome = scan.nextLine(); System.out.print("Ent...
package com.pad; /** * Created by Admin on 13.12.2016. */ public class MulticastGroup { public static final String PROTOCOL_GROUP_ADDRESS = "228.5.6.7"; public static final int PROTOCOL_GROUP_PORT = 10100; public static final int PROTOCOL_GROUP_TIMEOUT = 2000; // milliseconds }
package edu.iit.cs445.StateParking.UnitTest; import static org.junit.Assert.*; import org.junit.Test; import edu.iit.cs445.StateParking.Objects.*; public class VisitorTest { private Visitor visitor1 = new VisitorObj("John Doe","john.doe@example.com"); private Visitor visitor2 = new VisitorObj("Tom cat","TomAndJer...
package com.github.astefanich.broker.concurrent.threaded; import com.github.astefanich.broker.concurrent.ConcurrentOrderManager; import edu.uw.ext.framework.order.PricedOrder; import edu.uw.ext.framework.order.StopBuyOrder; import edu.uw.ext.framework.order.StopSellOrder; /** * Concrete implementation of {@link Con...
package com.tencent.mm.plugin.game.ui; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.util.AttributeSet; import android.view.View; import android.view.View.OnClickListener; import android.widget.ImageView; import android.widget.LinearLayout; import android.widge...
package com.sfa.repository; import java.util.HashMap; import java.util.List; import org.apache.ibatis.session.SqlSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.sfa.vo.CustomerVo; @Repository public class CustomerDao { ...
package service; import java.io.IOException; import java.net.ServerSocket; public class Servidor { private PaginaHtm pagina; private ServerSocket socketServidor; private static Servidor instance = null; private Servidor(){ try{ this.socketServidor = new ServerSocket(12345); ...
package com.JDBC; import java.sql.*; import java.sql.Connection; import java.util.Scanner; import java.util.regex.Pattern; /** * Created by Анна on 02.08.2016. */ public class Main { private static final String USERNAME = "root"; private static final String PASSWORD = "root"; private static final Str...
package superintendent.features.wiki.links; public enum SupportedWikis implements SupportedWiki { WIKIPEDIA("Wikipedia", "Wikipedia:", "https://en.wikipedia.org/wiki/"), MEDIAWIKI("MediaWiki", "mw:", "https://www.mediawiki.org/wiki/"), WIKIA("Wikia", "w:c:", "https://community.wikia.com/wiki/w:c:"), HALOPED...
package com.tencent.mm.g.a; import com.tencent.mm.sdk.b.b; public final class ti extends b { public a ceP; public b ceQ; public ti() { this((byte) 0); } private ti(byte b) { this.ceP = new a(); this.ceQ = new b(); this.sFm = false; this.bJX = null; } }...
/* * @Author : fengzhi * @date : 2019 - 04 - 22 20 : 55 * @Description : */ package nowcoder_leetcode; import java.util.HashMap; import java.util.HashSet; import java.util.Map; public class p_13 { public RandomListNode copyRandomList(RandomListNode head) { // next和random是有区别的,next一路走下去定然能够遍历所有的节点,而ra...
package switch2019.project.domain.repositories; import switch2019.project.domain.domainEntities.frameworks.ID; import switch2019.project.domain.domainEntities.frameworks.OwnerID; import switch2019.project.domain.domainEntities.ledger.Ledger; import switch2019.project.domain.domainEntities.ledger.Transaction; import sw...
package com.eazy.firda.eazy; import android.app.ProgressDialog; import android.content.Intent; import android.os.AsyncTask; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.MenuItem; import android.view.View; import android.widget.AdapterView; impo...
package com.example.demojackson.dao; import com.example.demojackson.common.IMapper; import com.example.demojackson.entity.User; public interface UserMapper extends IMapper<User> { }
package com.fixit.rest.responses; import java.util.Date; import java.util.Map; /** * Created by konstantin on 5/16/2017. * */ public class TwilioMessageResponse { private String sid; private Date date_created; private Date date_updated; private Date data_sent; private String account_sid; p...
package jooqexercise; import org.codehaus.groovy.runtime.powerassert.SourceText; import org.openqa.selenium.JavascriptExecutor; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; im...
package com.example.easysingletonexample; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { private SomeSingletone someSingletone = AppConfig.getInstance().getSomeSingletone(); //вызов инициализированного синглтона @Override ...
public class SumOfAllSubsetXORTotals { static int sum = 0; public static int subsetXORSum(int[] nums) { sum = backTrack(nums,0,0); return sum; } private static int backTrack(int[] nums, int index, int current) { sum = sum + current; for (int i = index;i< nums.length;i++)...
package com.lspring.proxy.demo; /** * @ClassName: 人 * @Description: 真实主题 * @author: amosli * @email:amosli@infomorrow.com * @date Nov 24, 2013 5:34:24 PM */ public class 人 implements 打牛 { public void 打() { System.out.println("牛被打了!"); } }
package c.t.m.g; import com.tencent.map.geolocation.TencentLocation; import com.tencent.map.geolocation.TencentLocationUtils; class dl$a { double a; double b; long c; int d; dl$a() { } public final String toString() { return "[" + this.a + "," + this.b + "]"; } static dl...
package com.github.isaichkindanila.ioc; import java.util.List; class ComponentInfo { private final Class componentClass; private final List<Parameter> parameters; private final Class[] argClasses; ComponentInfo(Class componentClass, List<Parameter> parameters) { this.componentClass = componen...
package test.algorithm; /** * Created by maguoqiang on 2016/9/28. * 折半 */ public class BinaryTest { public static void main(String[] args) { int arr[]={44,21,43,3,4,33,65,32,1,435}; } }
package com.hxzy.entity; import java.io.Serializable; /** * @author */ public class Major implements Serializable { /** * 编号 */ private Integer id; private String name; /** * 状态:1启用 0禁用 */ private Integer state; private static final long serialVersionUID = 1L; pu...
/* * 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 databaseinterface; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.s...
package com.fundwit.sys.shikra.email; import javax.mail.MessagingException; import javax.mail.Part; import java.io.IOException; public class RawEmailMessage { private String from; private String recipient; private String subject; private Part body; public String getTextContent() throws IOExcepti...
/* Test File */ package jenkins.model; import hudson.Util; import hudson.util.StreamTaskListener; import java.io.File; import java.io.IOException; import java.nio.charset.Charset; import java.util.Map; import java.util.TimeZone; import java.util.TreeMap; import java.util.logging.ConsoleHandler; import java.util.loggi...
package com.vibexie.jianai.MiniPTR; import android.content.Context; import android.graphics.Canvas; import android.graphics.LinearGradient; import android.graphics.Paint; import android.graphics.Paint.Style; import android.graphics.RectF; import android.graphics.Shader.TileMode; import android.os.Handler; import andro...
package com.stem.dao; import com.stem.entity.WxTextReply; import com.stem.entity.WxTextReplyExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface WxTextReplyMapper { int countByExample(WxTextReplyExample example); int deleteByExample(WxTextReplyExample example...
package 多线程.生产者消费者模式.实现阻塞队列; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.ReentrantLock; //https://juejin.im/post/5df8f1776fb9a015fe568013 public class MyBlockingQueue<E> { private static int DEFAULT_CAPITY=10; private ReentrantLock lock=new ReentrantLock(); private Condit...
package bonimed.vn.products; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; /** * Created by acv on 10/30/17. */ public class DataProduct { @SerializedName("ProductName") @Expose public String productName; @SerializedName("ProductType") @Expose ...
package repita; import javax.swing.JOptionPane; public class Repita { public static void main(String[] args) { //JOptionPane.showMessageDialog(null, "Olá, mundo!", "Boas vindas", JOptionPane.WARNING_MESSAGE); //JOptionPane.showMessageDialog(null, "Você digitou o valor " +n); int n, s = 0;...
package com.beiyelin.account.bean; import lombok.Data; /** * @Author: xinsh * @Description: 前端拿到code之后,提交到后台去拿token时,需要提交的内容 * @Date: Created in 8:38 2018/8/19. */ @Data public class OAuthTokenQuery { private String code; private String redirectUri; private String state; }
package com.sdavids; import com.sdavids.domain.Action; import com.sdavids.domain.ObjectType; import com.sdavids.domain.Verb; import com.sdavids.service.ActionsRepository; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; impo...
package com.jack.Uv; import com.jack.beans.ItemViewCount; import com.jack.beans.UserBehavior; import org.apache.flink.configuration.Configuration; import org.apache.flink.streaming.api.TimeCharacteristic; import org.apache.flink.streaming.api.datastream.DataStreamSource; import org.apache.flink.streaming.api.datastrea...
package com.atn.app.task; import java.util.ArrayList; import java.util.List; import android.os.AsyncTask; import android.os.AsyncTask.Status; import android.os.Build; import android.os.Handler; import android.os.Message; import com.atn.app.AtnApp; import com.atn.app.database.handler.DbHandler; import com.atn.app.dat...
package MRCategoriesRanking; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import org.apache.hadoop.io.Writable; public class AvgWritable implements Writable { private float rate; private int ratings; // number of ratings // private float avg = 0; AvgWritable() { } pu...
package com.kingdee.lightapp.service.mcloud; import net.sf.json.JSONObject; public interface McloudService { String getAccessToken(String appId, String appSecret) throws Exception; JSONObject getContextByTicket(String ticket) throws Exception; }
package com.taka.muzei.imgboard.posts; import android.net.Uri; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.taka.muzei.imgboard.Utils; import java.util.Arrays; import java.util.HashSet; import java.util.Set; public class...