text
stringlengths
10
2.72M
package com.itheima.day_12.demo_05; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; public class ClientDemo_FeedBack { /* 客户端:发送数据,接收服务器反馈 */ public static void main(String[] args) throws IOException { //创建客户端的Socket对象(Socket) Socket s = new Soc...
/* * 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 java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpU...
import java.util.ArrayList; import java.util.List; import java.util.Random; public class Point { private ArrayList<Point> neighbourList; private int currentState; private int nextState; private int numStates = 6; private int localGrowthForce; private int localMilitaryForce; private int loca...
package Model.Expression; import Model.ADT.IDictionary; import Model.ADT.IHeap; import Model.Exception.ToyException; import Model.Type.BoolType; import Model.Type.IntType; import Model.Type.Type; import Model.Value.IntValue; import Model.Value.BoolValue; import Model.Value.Value; public class RelationalExp implements...
package datastructure.graphs; import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedList; class Graph { int V; ArrayList<LinkedList<Integer>> adjListArray; Graph(int V) { this.V = V; adjListArray = new ArrayList<LinkedList<Integer>>(V); for(int i = 0; i <...
package com.kheirallah.inc.queues; //Hard //Crack the coding interview 3.6 /* An animal shelter, which holds only dogs and cats, operates on a strictly "first in, first out" basis. People must adopt either the "oldest" (based on arrival time) of all animals at the shelter, or they can select whether they would prefer...
package com.danerdaner.activity; import android.content.Context; import android.content.Intent; import android.graphics.drawable.BitmapDrawable; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.view.Gravity; import android.view.View; import android.widget.ArrayAdapter; import a...
package cl.eternaletulf.bot.bots; import cl.eternaletulf.bot.TwitchEvents.WriteToDiscordMessage; import com.github.philippheuer.events4j.simple.SimpleEventHandler; import com.github.twitch4j.TwitchClient; import com.github.twitch4j.chat.events.channel.ChannelMessageEvent; import com.github.twitch4j.events.ChannelGoLiv...
/* * ### Copyright (C) 2001-2003 Michael Fuchs ### * * 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 2, or (at your option) * any later version. * * This program is distri...
package easii.com.br.iscoolapp.adapters; import android.content.Context; import android.content.SharedPreferences; import android.graphics.Color; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.w...
package model.fighter; import model.board.Content; import model.element.Blood; import model.fighter.level.EnemyLevel; public class Enemy1 extends Enemy { private int moveCounter = 0; public Enemy1(int level) { super(new EnemyLevel(level, 1, 0.7)); } @Override public Content contentLeft() { return new Blo...
/* * @(#) TpservService.java * Copyright (c) 2007 eSumTech Co., Ltd. All Rights Reserved. */ package com.esum.wp.ims.tpsecu.service.impl; import java.util.List; import com.esum.appframework.exception.ApplicationException; import com.esum.appframework.service.impl.BaseService; import com.esum.wp.ims.tpsecu.Tpsecu;...
package com.generic.core.model.entities; import java.io.Serializable; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.OneToMany; import javax.persisten...
package com.lsjr.zizisteward.coustom; import android.content.Context; import android.support.v4.view.MotionEventCompat; import android.support.v4.widget.SwipeRefreshLayout; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.ViewConfiguration; /** * Created by admin on 2017/5/20. ...
/* * 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 com.dthebus.designpatterns.behavioral.interpreter; /** * * @author darren */ public class BExpression extends ...
/** * Kenny Akers * Mr. Paige * Homework #17 * 2/9/18 */ public class Identifier extends Leaf { private final String variable; public Identifier(String ID) { super(7); // Variables have a precedence of 7. this.variable = ID; SymbolTable.table.put(ID, 0); // Default value of 0. ...
package org.giddap.dreamfactory.leetcode.onlinejudge; import org.giddap.dreamfactory.leetcode.onlinejudge.implementations.MedianofTwoSortedArraysMergeAndCountImpl; import org.giddap.dreamfactory.leetcode.onlinejudge.implementations.MedianofTwoSortedArraysBinarySearchOnMedianImpl; import org.giddap.dreamfactory.leetcod...
import java.util.Iterator; public class traverse { private final String str = "poiuyttrewq*&^$"; private final char c = '8'; private final String str2 = "123124"; private final int num = 455657; private final int[] arr = {1,3,4,5,6}; public void traverse(){ //字符串遍历 for(int...
public class CuckooHT extends HashTable { long[][] table = new long[2][]; // the ht long[][] tableCopy = new long[2][]; // used to restore to prev state private Hash[] hashFuncs; private long swaps; // swaps per insertion attempt private long steps; // total steps including rehash insertions private long maxRehas...
package com.company; import java.io.File; import java.io.BufferedReader; import java.io.FileReader; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintWriter; import java.io.BufferedWriter; import java.io.FileWriter; import java.util.stream.Collectors; public class DataReadWrite { ...
package com.weili.dao; import java.sql.Connection; import java.sql.SQLException; import java.util.Date; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils; import com.shove.data.DataException; import com.shove.data.DataSet; import com.shove.util.BeanMapUtils; import ...
package edu.cmu.lti.oaqa.qa4ds.input; import com.google.common.base.Predicate; import edu.cmu.lti.oaqa.qa4ds.types.DecisionConfiguration; public class MatchesTemplateName implements Predicate<DecisionConfiguration> { private String templateName; public MatchesTemplateName(String templateName) { this.templa...
/* * 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 com.unisports.rest.controller; import com.unisports.entities.Sport; import com.unisports.enums.SportType; import java.io.IOExc...
package com.zxt.framework.jdbc; public class Configuration { private String JDBCDriver=""; private String URL=""; private String USER=""; private String PASSWORD=""; /** * jdbc配置 * @param driver * @param url * @param user * @param pwd */ public Configuration(final String driver,final String u...
package com.zhongyp.spring.demo.injection; public interface Person { public void useGun(); }
/** * */ package com.karya.service.impl; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.kary...
/* * 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 byui.cit260.LehisDream.view; /** * * @author fairy_000 */ public class SwordView extends View { public Sw...
package com.example.placesdemo; import android.annotation.SuppressLint; import android.app.DatePickerDialog; import android.app.TimePickerDialog; import android.content.Context; import android.os.Bundle; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.AdapterView; im...
package com.lesports.albatross.custom.dialog; import android.app.Dialog; import android.content.Context; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import com.lesports.albatross.R; /** * Created by zhouchenbin on 16/6/24. */ public class Confir...
package HelloWorldUI; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; public class MainViewModel { // http://openbook.rheinwerk-verlag.de/javainsel/12_004.html private final Stri...
package ru.intcode.repostme.webapp.logic; import java.sql.Timestamp; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import org.sql2o.Connection; public class Offer { private long id; private String name; private String description; private String fullD...
package com.xtruong.petapp.ui.recyclerview; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import com.xtruong.petapp.R; import com.xtruong.petapp.data.db.model.recyclerview.Contact; import...
/* * 2010-2017 (C) Antonio Redondo * http://antonioredondo.com * http://github.com/AntonioRedondo/AnotherMonitor * * Code under the terms of the GNU General Public License v3. * */ package com.example.shreysindher.procspy; import android.content.Context; import android.util.AttributeSet; import android.view.Mo...
package sql; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; public class Turns { private int turn; private int populationNumber; private int SimulationId; private int populati...
package edu.lewis.ap.britt.emory; import edu.jenks.dist.lewis.ap.AbstractName; public class Name extends AbstractName { public Name(String firstName, String lastName) { super(firstName, lastName); } public int compareTo(AbstractName arg0) { String fName = this.getFirst(); String lNa...
package agh.musicapplication.mappdao; import agh.musicapplication.mappdao.interfaces.MAlbumRepositoryInterface; import agh.musicapplication.mappdao.interfaces.MAlbumSongRepositoryInterface; import agh.musicapplication.mappmodel.MAlbum; import agh.musicapplication.mappmodel.MAlbumSong; import agh.musicapplication.mappm...
package com.hiplatform.teste.hipermercadohi; /** * * @author Jose */ public class Main { public static void main(String[] args) { TipoItem tipo; double custo = 100; int validade = 30; double preco; tipo = TipoItem.VERDURAS; H...
package com.chisw.timofei.booking.accommodation.data.document.embeddable; import lombok.Builder; import lombok.Getter; import lombok.RequiredArgsConstructor; /** * @author timofei.kasianov 10/2/18 */ @RequiredArgsConstructor @Getter @Builder public class Address { private final String country; private fin...
package com.clever.presenter; /** * 注册控制类 * * @author liuhea * @date 2016-12-30</p> */ public interface RegisterPresenter { void registerUser(String username, String password); }
package com.cy.service.user.impl; import javax.persistence.Query; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.cy.bean.user.Users; import com.cy.service.base.DAOSupport; import com.cy.service.user.UsersService; import com.cy.util...
package org.smp.test; import com.jme3.app.Application; import com.jme3.app.SimpleApplication; import com.jme3.app.state.BaseAppState; import com.jme3.font.BitmapFont; import com.jme3.font.BitmapText; import com.jme3.input.KeyInput; import com.jme3.input.controls.ActionListener; import com.jme3.input.controls.KeyTrigge...
package com.mkdutton.labfive.fragments; import android.app.Fragment; import android.content.Intent; import android.location.Location; import android.os.Bundle; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.GooglePlayServicesClient; import com.google.android.gms.location....
package com.wdqsoft.common.config; import org.apache.ibatis.session.SqlSessionFactory; import org.mybatis.spring.SqlSessionFactoryBean; import org.mybatis.spring.SqlSessionTemplate; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.boot.context.properties.ConfigurationPropertie...
package dominion.card; import java.util.*; import dominion.*; /** * Les cartes Réaction * Rmq: les cartes Réaction sont toutes des cartes Action */ public abstract class ReactionCard extends ActionCard { }
/* * Tigase XMPP Client Library * Copyright (C) 2006-2012 "Bartosz Małkowski" <bartosz.malkowski@tigase.org> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3...
package com.myvodafone.android.front.helpers; import android.graphics.Typeface; import android.os.AsyncTask; import android.os.Handler; import android.support.percent.PercentRelativeLayout; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentMan...
public class Gravitacija { public static void main(String[] args){ System.out.println("OIS je zakon"); System.out.println("test druge veje"); } }
package com.mingrisoft; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.border.EmptyBorder; public class ReadXmlFrame extends JFrame { /** * */ private static final long serialVersionUID...
import java.awt.*; /** * Created with IntelliJ IDEA. * User: dexctor * Date: 12-11-20 * Time: 上午10:41 * To change this template use File | Settings | File Templates. */ public class p1_2_1 { public static void main(String[] args) { int N = StdIn.readInt(); Point2D[] points = ...
package lesson11.lesson; public class Coal extends Resource { @Override public void print(){ System.out.println("Это уголь"); } }
int isSumOfConsecutive2(int n) { int ways = 0; for(int i = 1; i < n; i++){ int tmp = n; int bab = i; while(tmp > 0){ tmp -= bab; bab++; } if(tmp == 0) ways++; } return ways; }
// Generated code from Butter Knife. Do not modify! package com.tdr.registrationv3.ui.activity.insurance; import android.support.annotation.CallSuper; import android.support.annotation.UiThread; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.wid...
package com.dfire.common.service.impl; import com.dfire.common.constants.Constants; import com.dfire.common.entity.HeraAction; import com.dfire.common.entity.model.TablePageForm; import com.dfire.common.entity.vo.HeraActionVo; import com.dfire.common.kv.Tuple; import com.dfire.common.mapper.HeraJobActionMapper; import...
/* * (C) Mississippi State University 2009 * * The WebTOP employs two licenses for its source code, based on the intended use. The core license for WebTOP applications is * a Creative Commons GNU General Public License as described in http://*creativecommons.org/licenses/GPL/2.0/. WebTOP libraries * and wapplets are ...
package com.xy.module.base.helper; import android.content.Intent; import android.text.TextPaint; import android.text.style.ClickableSpan; import android.view.View; import com.xy.module.base.BaseActivity; import com.xy.module.base.bean.ContentValue; /** * Created by Administrator on 2017/12/1. */ public class Clic...
package pl.sda.lottery.lotteries; public interface Lottery { int getTicketCost(); String getPrize(); default String getName() { return this.getClass().getSimpleName(); } }
package com.infohold.ebpp.bill.web.rest; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.Request...
/* package com.vip.exam.android_concepts; import android.app.Activity; import android.app.Dialog; import android.os.Bundle; import android.view.View; import android.view.Window; import android.view.WindowManager; import android.widget.EditText; import android.widget.RelativeLayout; import android.widget.Toast; import...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ import java.io.IOException; import java.io.PrintWriter; import java.util.List; import javax.servlet.ServletException; import javax.se...
package org.jetlang.remote.core; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.ObjectInputStream; /** * User: mrettig * Date: 4/6/11 * Time: 12:30 PM */ public class JavaSerializationReader implements ObjectByteReader<Object> { public Object readObject(String fromTopic, byte...
import java.io.*; import java.util.*; import java.util.function.*; import java.util.stream.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static long makingAnagrams(String s1, String s2){ Set<Integer> allChars = (s1 + s2).chars().boxed().collect(Collectors.toS...
package tutorial.userService.controller; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.Del...
package com.buttercell.vaxn.guardian; import android.os.Build; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.annotation.RequiresApi; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; i...
package com.atguigu.java3; /* 赋值方式 : 1.默认值 2.显示赋值 3.构造器赋值 4.对象名.方法名 ,对象名.属性名 5.代码块 赋值顺序 : 1 -> 2,5(谁在前面谁先赋值) -> 3 -> 4 */ public class SetValue { public static void main(String[] args) { new Number().show(); } } /* 1.执行语句是从上到下依次执行的。 */ class Number{ //多个代码块:从上到下 { a = 20; // b = a + 10; ...
package com.esum.appcommon.util; public class UtilWeekOfMonth { private int week; private String startDate; /* yyyymmdd */ private String endDate; public UtilWeekOfMonth() { } public UtilWeekOfMonth(int week, String startDate, String endDate) { this.week = week; this.startDate = startDate; this.endDat...
package ParkingLotDesign; /** * Created by FLK on 4/14/18. */ public class ParkingSpot implements IParkingSpace { private final String id; private Vehicle parkingVehicle; private final int size; private VehicleType vehicleType; private final ParkingLevel parkingLevel; public ParkingSpot(f...
package com.logzc.webzic.repository; import com.logzc.webzic.annotation.Autowired; import com.logzc.webzic.annotation.Component; import com.logzc.webzic.junit4.WebzicJUnit4ClassRunner; import com.logzc.webzic.repository.dao.UserDaoTest; import com.logzc.webzic.repository.dao.UserTest; import org.junit.Test; import org...
@javax.xml.bind.annotation.XmlSchema(namespace = "http://basistam.pl/") package pl.basistam.client;
package ru.job4j.sorting; import java.util.Comparator; public class UserAgeSort implements Comparator<User> { @Override public int compare(User o1, User o2) { return o1.getAge().compareTo(o2.getAge()); } }
package br.unitins.app2; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import com.google.android.material.textfield.TextInputEditTex...
/** * Created by Jeffrey on 3/23/2016. */ import java.text.DecimalFormat; public class PrintValues { private static double equation (double e){ double a = 0.30; double o = 5.67* Math.pow(10, -8); double Save = 342; double partOne = (2*(1-a)*Save); double partTwo = (o*(2-e))...
package io.ceph.rgw.client.model; import io.ceph.rgw.client.BucketClient; import io.ceph.rgw.client.action.ActionFuture; import io.ceph.rgw.client.action.ActionListener; /** * Created by zhuangshuo on 2020/3/16. */ public class DeleteBucketRequest extends BaseBucketRequest { public DeleteBucketRequest(String bu...
package com.comp301.a09nonograms.controller; import com.comp301.a09nonograms.model.Clues; import com.comp301.a09nonograms.model.Model; import com.comp301.a09nonograms.model.ModelImpl; public class ControllerImpl implements Controller { ModelImpl CurrentModel; public ControllerImpl(Model model) { CurrentModel...
package subconsciouseye.eyetech.recipes; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.registry.GameRegistry; import net.minecraftforge.oredict.ShapedOreRecipe; import net.minecraftforge.oredict.ShapelessOreRecipe; import subconsciouseye.eyetech.init.Blockz;...
package com.GestiondesClub.dao; import javax.transaction.Transactional; import org.springframework.data.jpa.repository.JpaRepository; import com.GestiondesClub.entities.ProgrammeEvent; public interface ProgrammeEventDao extends JpaRepository<ProgrammeEvent, Long> { ProgrammeEvent findByLesActionId(long id); }
package DSA.udemy.stack; public class MyStackLinkedList<E> implements MyStack<E> { private Node<E> top; private Node<E> bottom; private int size; @Override public E push(E element) { Node<E> newNode = new Node<>(element); if(this.size == 0) { this.top = newNode; ...
package com.fanfte.java8.test; import java.util.Collections; import java.util.List; /** * Created by tianen on 2018/9/3 * * @author fanfte * @date 2018/9/3 **/ public class LambdaInPractice { public static void main(String[] args) { List<Object> list = Collections.emptyList(); List<Object> o...
package slimeknights.tconstruct.world; import net.minecraft.block.BlockLeaves; import net.minecraft.block.BlockSapling; import net.minecraft.block.state.IBlockState; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.client.renderer.block...
/** * */ package eu.fbk.dycapo.activities; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; /** * @author riccardo * */ public class FastChoice extends Activity implements OnCl...
package ir.shayandaneshvar.blog.security; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jwts; import ir.shayandaneshvar.blog.exceptions.SpringBlogException; import org.springframework.security.core.Authentication; import org.springframework.stereotype.Component; import javax.annotation.PostConstruct; import j...
package egovframework.adm.rep.service.impl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.StringTokenizer; import javax.annotation.Resource; import org.springframework.stereotype.Service; import org.springframework.transaction.interceptor.Transact...
package com.durgam.guerra.dominio; import javax.persistence.Entity; import javax.persistence.PrimaryKeyJoinColumn; @Entity @PrimaryKeyJoinColumn(name = "id") public class RequisitoSimple extends Requisito { public RequisitoSimple() { super(); } public RequisitoSimple(long id, String nombre, String necesidad, S...
/* * Copyright (c) 2013-2014, Neuro4j.org * * 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...
/* SpringTransactionSynchronizationListener.java Purpose: Description: History: Tue Sep 15 13:55:11 2006, Created by henrichen Copyright (C) 2006 Potix Corporation. All Rights Reserved. {{IS_RIGHT This program is distributed under LGPL Version 2.1 in the hope that it will be useful, bu...
package com.uniinfo.common.base; /** * 返回错误-枚举类 * @author hongzhou.yi */ public enum RespError { //10** OAuth Error OauthInvalidClient(1001, "无效Client"), OauthInvalidUidPwd(1002, "用户名或密码有误"), OauthInvalidCode(1003, "无效code"), OauthInvalidToken(1004, "无效token"), //11** Validate Error ValidateInva...
package com.zjf.myself.codebase.adapter; import android.app.Activity; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; import android.support.v7.graphics.Palette...
package xyz.krakenkat.limitsservice; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import ...
package com.proyectogrado.alternativahorario.persistencia; import com.proyectogrado.alternativahorario.entidades.Sede; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; /** * * @author Steven */ @Stateless public class F...
package literals; public class Constants { public static final String MAIN_HEADER = "EPAM FRAMEWORK WISHES"; public static final String MAIN_PAGE_TEXT_BELOW_HEADER = "LOREM IPSUM DOLOR SIT AMET, CONSECTETUR ADIPISICING ELIT," + " SED DO EIUSMOD TEMPOR INCIDIDUNT UT LABORE ET DOLORE MAGNA ALIQUA. UT...
package com.nfschina.aiot.util; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.jsoup.Connection; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.nodes.Node; import org.jsoup.nodes.TextNode; imp...
package org.netpreserve.urlcanon; class UrlParser { static ParsedUrl parseUrl(String s) { ParsedUrl url = new ParsedUrl(); int pos = 0; int len = s.length(); // leading control chars and spaces while (pos < len && s.charAt(pos) <= 0x20) pos++; url.setLeadingJunk(s.s...
package com.toni.programming.service; import com.toni.programming.data.*; import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Service; import java.util.ArrayList; import java.util.List; @Service public class GameService { private Integer maxPoints = 100; UserAction userAction ...
package com.example.mad; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Environment; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Base64; import android.view.Menu; import...
package dwz.persistence.mapper; import java.util.List; import org.apache.ibatis.session.RowBounds; import org.springframework.stereotype.Repository; import dwz.dal.BaseMapper; import dwz.persistence.BaseConditionVO; import sop.persistence.beans.Txn; import sop.vo.TxnVo; /** * @Author: LCF * @Date: 2020/1/8 17:32 ...
package net.tanpeng.utils; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; /** * 在做表的时候,需要班上同学的生日,现在已经有身份证了。所以我决定从身份证中截取 * Created by peng.tan on 17/10/8. */ public class FindBirthday { public static void main(String[] args) throws IOException { ...
package lk.vcnet.storemodule.server; import java.sql.ResultSet; import java.util.ArrayList; import javax.swing.JOptionPane; import lk.vcnet.storemodule.controller.exceptions.OrderException; import lk.vcnet.storemodule.db.Contracts; import me.colhh.mysqlmanager.MysqlAdapter; public class Order { private String v...
package com.resjob.modules.app.service; import java.util.List; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.resjob.common.persistence.Page; import com.resjob.common.service.CrudService; import com.resjob.modules.app.entity.MemberLogo; impo...
/** * Spring Data Elasticsearch repositories. */ package com.eikesi.demo.de.repository.search;
package mocktest; import com.github.tomakehurst.wiremock.WireMockServer; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; import static com.github.tomakehurst.wiremock.client.WireMock.*; import static com.github.to...
package com.aof.component.prm.Bill; import java.io.Serializable; import java.util.HashSet; import java.util.Set; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; /** @author Hibernate CodeGenerator */...