text
stringlengths
10
2.72M
package com.lotus.controller; import java.util.Iterator; import java.util.LinkedList; import java.util.concurrent.ConcurrentHashMap; import com.lotus.model.TweetDetails; import com.lotus.util.Lockobj; import com.lotus.util.Pair; public class Operations implements Controller { @Override public void parseTweet(Twee...
package com.as.boot.frame; import java.awt.AWTException; import java.awt.BorderLayout; import java.awt.MenuItem; import java.awt.PopupMenu; import java.awt.SystemTray; import java.awt.TextArea; import java.awt.TrayIcon; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.Mous...
package com.example.jpa.inter; import com.example.pojo.User; import org.springframework.data.jpa.repository.JpaRepository; public interface JpaUserRepository extends JpaRepository<User, Long> { }
/* * Copyright 2002-2022 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package dao; import java.util.List; import model.SupportingMaterial; public interface SupportingMaterialsInterface { public void insertSM(SupportingMaterial SM); public void updateSM(SupportingMaterial SM); public SupportingMaterial getSMByURL(String URL); public List<SupportingMaterial> getAllActiveSM()...
package org.digdata.swustoj.util; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.junit.Test; public class FastJsonUtilTest { @Test public void transJson(){ Map<String, Object> map=new HashMap<String, Object>(); map.put("data", Arrays.asList(new Integer[]{1,2}...
package com.github.olly.workshop.imagegrayscale; import com.github.olly.workshop.springevents.SpringBootEventsConfiguration; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Import; @SpringBootApplicat...
package com.alexey.vk.model; public class News { private long id; private int iconNews; private String titleNews; private String timeNews; private String textNews; private int like; private int repost; private int comment; private int _iduser; public News(long id, int iconNews,...
package pg01.c03; public class MyThread implements Runnable { private char caracter; private int dormido; private int impresiones; public MyThread(char caracter, int dormido, int impresiones) { this.caracter = caracter; this.dormido = dormido; this.impresiones = impresiones; } @Override public void r...
package com.github.olly.workshop.imageorchestrator.model; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.MoreObjects; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; public class Transf...
package org.micromanager.multicamera; import mmcorej.CMMCore; import org.micromanager.api.MMPlugin; import org.micromanager.api.ScriptInterface; import org.micromanager.utils.ReportingUtils; public class MultiCamera implements MMPlugin { public static String menuName = "Multi-Andor Control"; public static Stri...
package com.mcl.mancala.game; import com.mcl.mancala.beans.Mancala; import com.mcl.mancala.beans.Player; import lombok.RequiredArgsConstructor; /* * Class to store the movement mechanics when transferring pebbles between the pits. * * @author Maxim N * */ @RequiredArgsConstructor public class MovementMechanics {...
package com.youma.his.dao; import com.youma.his.vo.Drug; /** * @author Administrator */ public interface DrugDao { public int drugAdd(Drug drug); }
package com.example.adapter; public class NumberView { private int imageId; private String textId1; private String textId2; public NumberView(int imageId,String textId1,String textId2) { this.imageId=imageId; this.textId1=textId1; this.textId2=textId2; } public int...
package asylumdev.adgresources.block; public class ModBlocks { }
//package com.yan.coupons.tests; // //import java.util.Calendar; //import java.util.GregorianCalendar; // //import com.yan.coupons.beans.Coupon; //import com.yan.coupons.beans.User; //import com.yan.coupons.enums.Category; //import com.yan.coupons.enums.UserType; //import com.yan.coupons.logic.CouponsController; // //p...
/** * */ package net.sf.taverna.t2.component.ui.menu.profile; import static javax.swing.JOptionPane.showMessageDialog; import static net.sf.taverna.t2.component.ui.serviceprovider.ComponentServiceIcon.getIcon; import static org.apache.log4j.Logger.getLogger; import java.awt.event.ActionEvent; import javax.swing.A...
package server.sport.model; import org.hibernate.annotations.GenericGenerator; import com.fasterxml.jackson.annotation.JsonBackReference; import javax.persistence.*; import java.util.Objects; @Entity @Table(name = "matches") public class Match { private int matchesId; private Integer score; private User p...
// https://leetcode.com/problems/cousins-in-binary-tree/solution/ class Solution { public boolean isCousins(TreeNode root, int x, int y) { Queue<TreeNode> queue = new LinkedList<>(); queue.add(root); while (!queue.isEmpty()) { boolean siblings = false; boolean cousi...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with this * work for additional information regarding copyright ownership. The ASF * licenses this file to you under the Apache License, Version 2.0 (the * "License"); you may ...
package com.crawler.htmlunit.crawler; import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException; import com.gargoylesoftware.htmlunit.WebClient; import com.gargoylesoftware.htmlunit.html.HtmlPage; import java.io.IOException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class Crawler { ...
package de.cuuky.varo.list.item.lists; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import de.cuuky.varo.list.item.ItemList; import de.cuuky.varo.version.types.Materials; public class StartItems extends ItemList { @SuppressWarnings("deprecation") pu...
package com.gaoshin.business; import java.util.Calendar; import java.util.List; import java.util.TimeZone; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.gaoshin.beans....
package com.example.android.sign_up_page; import android.content.Intent; import android.content.res.Configuration; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.RadioButton; import...
/** * Copyright 2009 - 2011 Wouter Beheydt. * This file is part of the flemish foster care registration application. * http://registratie.pleegzorgvlaanderen.be */ package org.aksw.autosparql.client.widget.autocomplete; import java.util.ArrayList; import java.util.List; import com.google.gwt.core.client.JavaScrip...
package com.DeltaFish.pojo; import org.hibernate.validator.constraints.Email; import javax.validation.constraints.Max; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import java.awt.*; public class TUser { private String userId; ...
package lesson2; public class Main { public static String name = "Имя проекта"; // public static void main(String[] args) { // String name = "Петя"; // switch (name) { // case "Петя": // System.out.println("Привет Петя, как дела?"); // break; // ...
package com.arhivator.arhwithsheduler.services; import com.arhivator.arhwithsheduler.dtos.SeparatedName; import org.apache.commons.io.FileUtils; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; class FileService...
package com.example.studyMybatis.mapper; /** * @PackageName: com.example.studyMybatis.mapper * @ClassName: PrivilegeMapper * @Description: 权限映射类 * @author: qiuweijie * @date: 2019/11/23 10:15 */ public interface PrivilegeMapper { }
package buyAndSell; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * Servlet...
package ch10; import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.net.MalformedURLException; import java.util.Scanner; public class LineNumberer { /** * @param args * @throws IOException * @throws MalformedURLException */ public static void main(String[...
package com.example.myapplication.data.db.entity; import androidx.room.Entity; import androidx.room.Ignore; import androidx.room.PrimaryKey; import androidx.room.TypeConverters; import com.example.myapplication.data.db.converter.DateConverter; import java.util.Date; @Entity(tableName = "patients") @TypeConverters...
package ca.uot.scs2682.marvelcatalog.util; /** * Created by ricardohidekiyamamoto on 2017-03-27. */ public class DateFormater { public static String formatDate(String dateString){ if (dateString != null){ String year = dateString.substring(0,4); String month = dateString.substri...
package com.example.demo.controller; import com.example.demo.service.PageClient; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.we...
package com.JLANE.wxPay; import java.util.HashMap; import java.util.Map; import com.JLANE.wxPay.wxapi.*; import com.adobe.fre.FREContext; import com.adobe.fre.FREFunction; /** * @author TishoY */ public class WXContext extends FREContext { /** * INIT sdk */ public static final String WX_FUNCTION_PAY = "wx_f...
package main; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Set; public class AdvancedTasks implements Task { /** * HashMaps – Anagrams Create a met...
/** * Provides miscellaneous interceptor implementations. * More specific interceptors can be found in corresponding * functionality packages, like "transaction" and "orm". */ @NonNullApi @NonNullFields package org.springframework.aop.interceptor; import org.springframework.lang.NonNullApi; import org.springframew...
package com.pky.smartselling.repository; import com.pky.smartselling.domain.sheet.Sheet; import org.springframework.data.jpa.repository.JpaRepository; public interface SheetRepository extends JpaRepository<Sheet, Long> { }
package com.vti.entity; public class Student_Ex1_Ques2 { private int sobaodanh; private String hoten; private String diachi; private String mucuutien; private Khoi khoi; public static int COUNT = 0; public int getSobaodanh() { return sobaodanh; } public String getHoten() { return hoten...
package com.esum.web.ims.nckims.vo; /** * table: NCKIMS_INFO * * Copyright(c) eSum Technologies., Inc. All rights reserved. */ public class NckimsInfo { // primary key private String interfaceId; // fields private String inboundUseFlag; private String inboundId; private String inboundPassword; private S...
package wawi.fachlogik.sachbearbeitersteuerung.bestellungsverwaltung.impl; import java.util.ArrayList; import java.util.List; import javax.persistence.EntityManager; import wawi.datenhaltung.bestellungverwaltungs.impl.IBestellungAdminImpl; import wawi.datenhaltung.bestellungverwaltungs.impl.IBestellungSachImpl; import...
/* * Copyright 2002-2022 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package Parte05.P5PG43; public class Midia { protected int codigo; protected double preco; protected String nome; public Midia(int codigo, double preco, String nome) { this.codigo = codigo; this.preco = preco; this.nome = nome; } public Midia() { } public int ...
package hw1.q10; public class MapAnalyzer { public int[][] getDesirabilityMap(char[][] terrainMap) { char item; int[][] influence = new int[terrainMap.length][terrainMap[0].length]; for (int i = 0; i < terrainMap.length; i++) { for (int j = 0; j < ter...
package be.openclinic.datacenter; import java.io.IOException; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; import javax.mail.*; import javax.mail.internet.*; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.methods.PostMethod; import be....
import java.util.Scanner; /** * 이진 검색 시, 배열에서 중복 요소가 있는 경우, * 가운데가 아닌 맨 앞의 요소를 찾는 binSearchX 메소드를 작성해 보세요. */ public class DoIt_Ex5 { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); System.out.print("요솟 수 : "); int num = stdIn.nextInt(); int[] x ...
import java.lang.reflect.Array; import java.util.Arrays; public class PlusOne { public static void main(String[] args) { int [] output = plusOne(new int[]{9}); Arrays.stream(output).forEach(System.out::println); } public static int[] plusOne(int[] digits) { int [] output = digits; ...
package com.eomcs.basic.oop.ex02; import com.eomcs.util.Calculater; public class EXam0100 { public static void main(String[] args) {// Calculater c1 = new Calculater();//new연산자 힙영역생성 변수만 있는곳 //Calculater 설계도에 따른 c1생성 메인영역에 c1.plus(4); c1.plus(6); c1.divide(2); c1.multiple(4); printRe...
package tool; import java.io.UnsupportedEncodingException; import org.apache.log4j.Logger; import sun.misc.*; /** * Base64编码解码工具类 */ public class Base64 { static Logger logger = Logger.getLogger(Base64.class); /** * 对传入的字符串进行Base64编码 * @param str 待编码的字符串,<strong>传入的字符串需按照utf-8编码</str...
package com.revolut.moneytransfer.controller; import com.revolut.moneytransfer.exceptions.InvalidUuidException; import com.revolut.moneytransfer.model.Account; import com.revolut.moneytransfer.util.RequestValidator; import org.eclipse.jetty.http.HttpStatus; import spark.Request; import spark.Response; import spark.Rou...
package com.lamsey.web; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.lamsey.bean.Book; import com.lamsey.bean.Page; import com.lamsey.service.BookSe...
package com.ifeng.recom.mixrecall.template.behavior; import static com.ifeng.recom.mixrecall.threadpool.ThreadUtils.getAsyncExecutorResult; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.concurrent.Future; import java.util.concurrent.Thre...
package com.library.source; import java.util.ArrayList; public class MethodObj implements Comparable<MethodObj> { public String returnType; public String methodName; public ArrayList<String> inputParam; public String scope; public String fullMethodName; public String packageName; public Double frequency; pub...
package com.controller; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class FormController { @RequestMapping("/showForm") public String showForm(...
package com.flyingh.engine; public interface ILockService { public void unlock(String packageName); }
package video.api.android.sdk.domain; import video.api.android.sdk.domain.analytic.AnalyticLive; import video.api.android.sdk.domain.pagination.AnalyticsFilter; import video.api.android.sdk.domain.pagination.Pager; import video.api.android.sdk.domain.pagination.PagerBuilder; public interface AnalyticsLiveClient { ...
/* * Copyright (C) 2016 The Android Open Source Project * * 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 app...
package com.example.web.client; import com.example.soap.ProductClient; import com.example.soap.product.ProductModel; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.cloud.client.discovery.DiscoveryClient; import org.springframework.stereotype.Controller; import org.s...
package fr.pantheonsorbonne.miage; import java.io.IOException; public class FailedException extends RuntimeException { public FailedException(String string, IOException e) { super(string,e); } public FailedException(String string, Exception e) { super(string,e); } /** * */ private static final lo...
package tech.liujin.drawable.progress.load; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint.Style; import android.graphics.Rect; import android.support.annotation.NonNull; import tech.liujin.drawable.progress.ProgressDrawable; /** * @author Liujin 2018-11-15:22:10 */ pub...
package algorithms.fundamentals.divideconquer; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Scope; @Configuration public class DivideConquerContext { @Bean public MatrixMultiply standardMM() { re...
/** * */ package net.sf.taverna.t2.component.ui.panel; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import net.sf.taverna.t2.component.api.Family; import net.sf.taverna.t2.component.api.Registry; import net.s...
package com.energytrade.app.model; import java.io.Serializable; import javax.persistence.*; import java.util.Date; import java.util.List; /** * The persistent class for the cancelled_by_pl database table. * */ @Entity @Table(name="cancelled_by_pl") @NamedQuery(name="CancelledByPl.findAll", query="SELECT c FROM C...
package com.tianwotian.tools; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; /** * Created by user on 2016/9/7. */ public class LoadImageFromServer { public static InputStream getImageViewInputStream(String URL_PATH) throws IOException { ...
package jire.packet; public abstract class PacketEvent { private final Packet packet; protected PacketEvent(Packet packet) { this.packet = packet; } public final Packet getPacket() { return packet; } }
package com.tessoft.nearhere.activities; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.AdapterView.OnIt...
package com.pwq.DesignPatterns.SimpleFactory.Component; /** * @Author:WenqiangPu * @Description * @Date:Created in 9:48 2017/10/12 * @Modified By: */ public abstract class Component {//抽象类实现 public abstract void add(Component component);//增加 public abstract void remove(Component component);//删除 public...
package cn.xuetang.common.dao; import java.io.BufferedReader; import java.sql.ResultSet; import org.nutz.log.Log; import org.nutz.log.Logs; /** * @author Wizzer.cn * @time 2012-9-13 下午6:13:55 * */ public class DBObject { private static final Log log = Logs.get(); /* * 获取CLOB字段值 */ public static String...
package com.clever.base; import android.content.Intent; import android.os.Bundle; import com.cleverlib.base.BaseActivity; import butterknife.ButterKnife; /** * Clever Activity基类 * * @author liuhea . * @created 16-12-2 . */ public class AppBaseActivity extends BaseActivity { @Overrid...
package uk.co.dyadica.unitymsband; import com.microsoft.band.BandClient; import com.microsoft.band.BandException; import com.microsoft.band.UserConsent; import com.microsoft.band.notifications.VibrationType; import com.microsoft.band.sensors.HeartRateConsentListener; import com.unity3d.player.UnityPlayer; import java...
/* * using java lang math static methods. * */ package Math; /** * * @author YNZ */ public class NewMain { /** * @param args the command line arguments */ public static void main(String[] args) { System.out.println("Square root "+Math.sqrt(12d)); } }
import java.util.ArrayList; /** public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = val; } } */ public class Solution { ArrayList<TreeNode> list = new ArrayList<>(); public TreeNode Convert(TreeNode pRootOfTree) { if (pRoo...
public class Rambabu{ public static void main(String args[]) throws Exception{java.io.PrintWriter pw=new java.io.PrintWriter( "E:/Apache Software Foundation/Tomcat 7.0/webapps/E-education1/java files/result.txt" ); int a=10; int b=20; int c=a+b; pw.println(c); pw.close(); }}
package com.limefriends.molde.menu_magazine.cardnews; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.ImageView; import android...
//повернуть матрицу на 90 гр вправо package Array; import java.util.Scanner; public class array_16 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int m = scanner.nextInt(); int i = 0; int j = 0; int [][...
/* * 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. */ /** *Esta clase hereda comportamientos de Alarma y es la que corremos * @author Jose Tejada */ public class AlarmaEmergen...
package com.revature.controller; import com.revature.exceptions.NoSuchAccountException; import com.revature.exceptions.UsernameAlreadyExistsException; import com.revature.repository.EmployeeDaoImpl; import com.revature.service.EmployeeService; import com.revature.service.EmployeeServiceImpl; import io.javalin.http.Co...
package com.snapup.service; import com.snapup.pojo.Station; import com.snapup.pojo.TrainRun; import java.util.List; public interface StationOnLineService { //购票者可以输入旅程信息,返回线路: public List<String> getTrainLine(String depart_station_code, String arrival_station_code); //购票者可以输入旅程信息,返回线路,包括中间站: ...
package com.sarkergmail.shreya.stringconcate; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.EditText; import android.widget.TextView; public class MainActivity extends AppCompatActivity { EditText etFirstName; EditText etMiddleName;...
/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
package edu.inheritance.newbold.griffin; import edu.jenks.dist.inheritance.*; public class AlcoholItem extends BarcodeItem implements SinTaxable{ private double sinTaxRate; private boolean checkID = true; public AlcoholItem(boolean bulk, double weight, double price, double sinTaxRate){ super(bulk, we...
package za.ac.ngosa.repository; import za.ac.ngosa.domain.TVShow; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; /** * Created by User on 2015/08/10. */ @Repository public interface TVShowRepository extends CrudRepository<TVShow,Long> { @Override ...
package com.chinasoft.action; import java.util.List; import javax.annotation.Resource; import org.apache.struts2.ServletActionContext; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Controller; import com.chinasoft.annotation.Login; import com.chinasoft.domain....
import java.io.*; import java.util.*; class baek__1956 { static int MAX = 4000001; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] temp = br.readLine().split(" "); int v = Integer.parseInt(...
package com.example.fyp.Fragments; import android.content.Context; import android.content.SharedPreferences; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.app.ProgressDialog; import android.content.Context; import android.content.SharedPreferences; impo...
package com.example.asynctaskdemo; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.widget.Button; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; import androidx.navigation.ui.AppBarConfiguration; import com.example.asynctaskdemo.datab...
package interation05; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Before; import org.junit.Test; import iteration05.Simulator; import iteration05.fr.agh.domain.Cell; import iteration05.fr.agh.domain.Dimension; import iteration05.fr.agh.domain.Grid; import iteration05.fr.agh.domain.Stat...
package io.ceph.rgw.client.model; import io.ceph.rgw.client.ObjectClient; import org.apache.commons.lang3.Validate; import java.util.Objects; /** * Created by zhuangshuo on 2020/3/16. */ public abstract class UploadPartRequest<V> extends BaseObjectRequest { final V upload; private final boolean lastPart; ...
package org.sdf4j.awt; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.geom.CubicCurve2D; import java.awt.geom.Rectangle2D; import javax.swing.ImageIcon; import org.sdf4j.core.Color; import org.sdf4j.core.Font; import org.sdf4j.core.FontMetrics; import org.sdf4j.core.ICanvas; ...
package com.test; import java.util.List; import com.test.multi.ac.AcRobot; import com.test.multi.ac.AcRobot.AcResult; import com.test.multi.trie.Trie; import junit.framework.TestCase; /** * 多模式,字符串匹配 * 多模式:在多个模式串和一个主串之间做匹配 * @author YLine * * 2019年4月8日 下午5:17:23 */ public class MultiSample extends TestCase { ...
package com.atguigu.java; /* λ������� << �����ƣ� ����һ����Χ�ڣ�ÿ������һλ��ôԭ����������2 >> �����ƣ� ����һ����Χ�ڣ�ÿ������һλԭ����������2 >>(����) ��������������λ��0��������Ǹ������λ��1���� >>>���޷������ƣ� �� �����������Ǹ��������λ������0�� */ public class BitTest{ public static void main(String[] args){ Sys...
package co.com.ceiba.parqueadero.controllers; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind...
package com.cqut.dao; import com.cqut.model.Seller; public interface SellerMapper { int deleteByPrimaryKey(String sellerid); int insert(Seller record); int insertSelective(Seller record); Seller selectByPrimaryKey(String sellerid); int updateByPrimaryKeySelective(Seller record); int updat...
package mb.tianxundai.com.toptoken.secondphase.aty; import android.content.Context; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.zco...
package com.pyz.tool.weixintool.util; import java.io.*; import java.util.Hashtable; import java.util.concurrent.locks.ReentrantReadWriteLock; /** * �����ļ� * @author Administrator * */ public class LockFile extends File{ private static Hashtable<String,ReentrantReadWriteLock> locks=new Hashtable...
package com.github.bartimaeusnek.bettervoidworlds.common.world.chunkgenerator; import com.github.bartimaeusnek.bettervoidworlds.common.config.ConfigHandler; import net.minecraft.init.Biomes; import net.minecraft.init.Blocks; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.ChunkPos; import net.m...
package com.jim.mybatis.model.po; import java.util.Date; public class Role { /** * This field was generated by MyBatis Generator. * This field corresponds to the database column roles.id * * @mbggenerated Thu Sep 21 01:16:58 CST 2017 */ private Long id; /** * This field was generated by ...
package mulitThread.chapter02.t2_2_8.p1; public class MyObject { }
package com.serotonin.modbus4j.exception; public class IllegalDataAddressException extends ModbusTransportException { private static final long serialVersionUID = -1; // Default constructor only. }
/* * 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.sql.DriverManager; import java.sql.Connection; import java.sql.SQLException; import java.util.logging.Level; import java.ut...