text
stringlengths
10
2.72M
package com.bonc.dxbrgrmp.pojo.po; import org.springframework.stereotype.Component; /** * @Auther: lgf * @Date: 2019/12/23 * @Description: com.bonc.dxbrgrmp.pojo.po * @version: 1.0 */ @Component public class Testdb { private int testId; private float testFloat; private double testDouble; private ...
package com.tencent.mm.ui.contact.a; import android.view.View; import android.widget.TextView; import com.tencent.mm.ui.contact.a.a.a; public class f$a extends a { public TextView eCn; public View umJ; final /* synthetic */ f umK; public f$a(f fVar) { this.umK = fVar; super(fVar); ...
package com.brady.euler; import java.util.ArrayDeque; import java.util.Arrays; import java.util.Map.Entry; import java.util.TreeMap; import java.util.TreeSet; public class Problem124 extends Problem { public long solve() { int n = 100000, sqrtN = (int) Math.sqrt(n); int k = 10000; int[] primes = EulerU...
/* * Copyright 2009 Kjetil Valstadsve * * 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 applicable law or agre...
package com.tencent.tencentmap.mapsdk.a; public class at { public static final at a = new at(); private ThreadLocal<b> b = new 1(this); private at() { } public b a() { return (b) this.b.get(); } }
package com.jim.multipos.ui.admin_main_page.fragments.establishment.model; public class Establishment { String name; String address; String phone; String stocks; String mainStock; String description; String posCount; public Establishment(String name, String address, String phone, Strin...
package com.example.provider8001; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * @author CBeann * @create 2019-07-26 12:35 */ @RestController public class GatewayController{ @RequestMapping("/mypath/get/method1") public S...
package com.example.victor.myapplication; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.EditText; import android.widget.TextView; public class DisplayLyrics extends AppCompatActivity { public static final String LYRICS_BODY = "com.example.victor.myapplication.LYR...
package treesTest; import org.junit.Test; import trees.Map; import trees.RangeMap; import trees.skipList.DominationLockingSkipList; public class DominationLockingSkipListTest { // @Test // public void test() { // System.out.println("Starting BinaryTreeTest - TestSequential"); // Map<Integer,Integer> tree = new Do...
package specification.definitions; import designer.ui.editor.element.Element; import designer.ui.editor.element.SplitElementEnd; import specification.Start; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.b...
public class MinorChord extends Chord { //create specific chords in scale generation? MinorChord(Note root) { this.root = root; name = root + "Minor"; notes.add(root); notes.add(root.plus(Interval.MINOR_THIRD)); notes.add(root.plus(Interval.FIFTH)); } pub...
package com.mengdo.pub.biz; import com.mengdo.pub.exception.SysException; import com.mengdo.pub.model.PUBRewardInfoDTO; /** * @author piaoxj * @email piaoxj89@gmail.com * @mobile 15901283289 */ public interface PubRewardBiz { void getRandomAndBlockReward(PUBRewardInfoDTO pubRewardInfoDTO) throws SysException;...
package primeiros_exercicios; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class ArrayDe9 { public static void main(String[] args) { int[] lista = new int[4]; Scanner leia = new Scanner(System.in); List<Integer> listaDePrimos = new ArrayList(); // ...
package com.xiruan.demand.web.job; import com.xiruan.demand.entity.automation.TemplateSort; import com.xiruan.demand.demand.job.TemplateSortService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.stereotype.Controller; import org.s...
package ars.ramsey.interviewhelper.widget; import android.content.Context; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.support.v7.widget.ListPopupWindow; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import android.view.inputmet...
package com.example.robot.model; public class Deliveryman extends BasisRobot { protected static int countRobot = 0; @Override public String mainFunctional() { return "Robot " + getName() + " started delivery"; } public Deliveryman(){ getOperationCode().add("delivery"); ...
/**** Copyright (c) 2015, Skyley Networks, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the...
package org.yipuran.gsonhelper.http; import java.net.MalformedURLException; import java.net.URL; import java.util.HashMap; import java.util.Map; import com.google.gson.GsonBuilder; /** * HTTPS通信用のJsonHttpClientを生成する。 */ public final class JsonHttpsClientBuilder{ private URL url; private String proxy_server; pri...
package com.emily.framework.context.httpclient.po; import com.emily.framework.common.base.BaseLog; import java.util.Date; /** * @program: spring-parent * @description: RestTemplate拦截日志实体类 * @create: 2020/08/24 */ public class AsyncLogHttpClientResponse extends BaseLog { //响应时间 private Date responseTime;...
import java.util.List; public class Course { String courseid; String coursename; String credit; List<Student> studentList; List<Teacher> teacherList; }
package polydungeons.entity.charms; import net.minecraft.entity.EntityType; import net.minecraft.item.ItemStack; import net.minecraft.util.math.Vec3d; import net.minecraft.world.World; import polydungeons.entity.IServerWorld; import polydungeons.item.PolyDungeonsItems; import java.util.Map; import java.util.UUID; pu...
package com.greenfox.workshopdi.colors; import com.greenfox.workshopdi.interfaces.MyColor; import com.greenfox.workshopdi.services.Printer; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; public class RedColor implements MyColor { private Printer printer...
/** * use double pointer, compare node by node. the time is (n^2), */ public class Solution01 { // the structure of list node public static class linkedNode { public int val; public linkedNode next; linkedNode(int x) { this.val = x; } } // use double pointer, the time is (n^2) public static void removeD...
/* * 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 InterfazPolim; import InterfazPolim.IAnimal; /** * * @author capacitacion16 */ public class Pez implements IAnimal{ ...
import java.util.*; public class gcdLCM { /*Gcd And Lcm*/ public static void main(String[] args) { Scanner scn = new Scanner(System.in); int num1 = scn.nextInt(); int num2 = scn.nextInt(); int n1n2 = num1 * num2; while (num1 % num2 != 0) { int rem = num1 % num2; num1 = num2; ...
package org.opentosca.planbuilder.provphase.plugin.scriptoperation.handler; import java.io.File; import java.io.IOException; import java.io.StringReader; import java.net.URL; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.xml.namespace.QName; import javax.xml.parsers.DocumentBuild...
package com.AxiusDesigns.AxiusPlugins.ResourcePack.Commands; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import com.AxiusDesigns.AxiusPlugins.ResourcePack....
package ba.ih_sonification.headsetx; import org.osmdroid.util.GeoPoint; public class BuildingPoint { private GeoPoint position; private int height; public BuildingPoint(GeoPoint position, int height) { this.position = position; this.height = height; } public GeoPoint getPosition() { return position; ...
package com.tencent.mm.plugin.appbrand.jsapi.media; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import com.tencent.mm.plugin.appbrand.jsapi.media.JsApiChooseVideo.a; class JsApiChooseVideo$a$1 implements OnCancelListener { final /* synthetic */ a fUU; JsAp...
package BankTura; public class Cliente extends Pessoa { // Atributo private boolean vip; // Métodos construtores de permissão de acesso public boolean isVip() { return vip; } public void setVip(boolean vip) { this.vip = vip; } public Cliente(){ } // Mesmo nome de métodos, mais com retornos difer...
package com.motorola.android.server.ims; import android.os.Parcel; import android.os.Parcelable; import android.os.Parcelable.Creator; public class IMSCSmsMtEvent implements Parcelable { public static final Parcelable.Creator<IMSCSmsMtEvent> CREATOR = new Parcelable.Creator() { public IMSCSmsMtEvent createF...
package com.ingenico.pay.dao; import com.ingenico.pay.entity.AccountEntity; import org.springframework.stereotype.Repository; import java.util.*; import java.util.concurrent.ConcurrentHashMap; /** * Created by mohamedtantawy on 10/17/17. */ @Repository public class AccountDao { // work as the memory to save ...
package shapes public interface Shape{ public void moveTo(int x, int y); public void redraw(); public void update(); public void scale( int dx, int dy); public void delete(); public void mergeWithShape(Shape shape); public void change(); }
package week4day2; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Set; import java.util.concurrent.TimeUnit; import org.apache.commons.io.FileUtils; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selen...
import Piece; public class Case { private int positionX; private int positionY; private String nameOfCase; private Piece piece; public Case(int posX, int posY) { this.positionX = posX; this.positionY = posY; } public void setPositionX(double positionX1) { this....
package com.project.database.serviceHibernate; import com.project.database.entities.GroupEntity; import com.project.database.entities.SubjectEntity; import com.project.database.entities.TutorEntity; import com.project.database.repository.GroupRepository; import com.project.database.repository.SubjectRepository; import...
package com.xhpower.qianmeng.controller; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.valida...
package com.team_linne.digimov.dto; import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; @Data @EqualsAndHashCode @NoArgsConstructor @AllArgsConstructor public class HouseRequest { private String cinemaId; private String name; private Inte...
package search_engine; /* * @author chandra */ public class parser { String title; static String id; String Rawdata; public parser(String message,String title_page,String id_page) { super(); this.id=id_page; this.title=title_page; this.Rawdata = message; ...
import java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; public class AlgorithmsProvider { public static void main(String[] args) throws MyException { int[] numbers = readNumbers(); int[] ascendingNumbers = sortAscending(numbers); int[] descendingNumbers = sortDescending(numbers); Sys...
package be.spring.app.service; import be.spring.app.model.Account; import be.spring.app.model.Match; import be.spring.app.model.Presence; import java.util.Set; /** * Created by u0090265 on 10/1/14. */ public interface DoodleService { public String changeMatchPresence(Account account, long matchId, boolean pres...
package com.example.ian.rentermanager11; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import and...
package gov.smart.health.activity.self; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.TextView; import gov.smart.health.R; import gov.smart.health.activity.self.model.LikeAttentionInfoListModel; import gov.smart.health.activity.vr.model.SportVideoListModel; import go...
package com.example.bilp210_5_2; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.TextView; public class MainActivity extends AppCompatActivity { private int sayac = 0; private TextView textView; @Override protected void on...
package no.ntnu.tollefsen.crazychat; import android.app.Activity; import android.app.SearchManager; import android.content.Intent; import android.os.Bundle; import android.provider.SearchRecentSuggestions; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import and...
package myServer; import java.nio.channels.SocketChannel; import myServer.*; import java.net.InetSocketAddress; public class MyClient { private int portWrite; private String ip; private int portRead; private SocketChannel clientsocketChanel; public int getPortWrite() { return portWrite; } public void setP...
package swm11.jdk.jobtreaming.back.app.expert.repository; import org.springframework.data.jpa.repository.JpaRepository; import swm11.jdk.jobtreaming.back.app.expert.model.Expert; public interface ExpertRepository extends JpaRepository <Expert, Long> { }
package com.example.topics.delete.lambdaauthorizer.infra; import com.example.topics.core.Topic; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.SneakyThrows; import software.amazon.awssdk.core.SdkBytes; import software.amazon.awssdk.regions.Region; import software.amazon.awssdk.services.lambda.Lambda...
package sorting; /** * https://www.geeksforgeeks.org/insertion-sort/ for a nicer implementation without a break and helper method; */ public class Insertion { public static void main(String[] args) { int[] a = new int[]{6, 5, 10, 9}; insertion(a); for (int i = 0; i < a.length; i++) { ...
package csi403; // Import required java libraries import java.io.*; import javax.servlet.*; import javax.servlet.http.*; // Extend HttpServlet class public class DiscernJsonService extends HttpServlet { //EndpointHandler // Standard servlet method public void init() throws ServletException { // Do ...
package cn.ehanmy.hospital.mvp.model.entity.reg; import cn.ehanmy.hospital.mvp.model.entity.request.BaseRequest; /** * Created by guomin on 2018/7/25. */ public class RegisterRequest extends BaseRequest { private String step1Token; private String mobile; private String nickName; private String sex;...
package edu.buet.cse.spring.ch03.v2; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import edu.buet.cse.spring.ch03.v2.model.Performer; public class App3 { public static void main(String... args) { ApplicationContext appContext ...
package edu.cnm.deepdive.stockrollersservice.service; import com.google.gson.Gson; import edu.cnm.deepdive.stockrollersservice.model.entity.History; import edu.cnm.deepdive.stockrollersservice.model.entity.Stock; import edu.cnm.deepdive.stockrollersservice.model.pojo.HistoryResponse; import edu.cnm.deepdive.stockrolle...
package designer.ui.properties.renderer; import specification.ExceptionClasses; import javax.swing.*; import javax.swing.table.DefaultTableCellRenderer; import java.awt.*; /** * Created by Tomas Hanus on 4/15/2015. */ public class ExceptionsCellRenderer extends DefaultTableCellRenderer { public ExceptionsCel...
// Sun Certified Java Programmer // Chapter 1, P16 // Declarations and Access Control package exam.stuff; import cert.Beverage; class Tea extends Beverage { }
package Algorithm.Arithemic; import Algorithm.Fraction; import Algorithm.MyAlgorithm; /** * Created by MSDK on 7/15/16. */ public class RepeatedDecimal extends MyAlgorithm { private final int MAX_NUM_DIGITS = 5; private final int MIN_NUM_DIGITS = 3; private int numDigits; private int numRepeatedDig...
package enity; public class TradeOrder { private String traderId; private String stockId; private long price; private int amount; public String getTraderId() { return traderId; } public void setTraderId(String traderId) { this.traderId = traderId; } public String getStockId() { return stockId; } pub...
package com.cnk.travelogix.suppliers.interceptors; import java.io.IOException; import org.apache.commons.io.IOUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpRequest; import org.springframework.http.client.ClientHttpRequestExecution; import org.springframework.http....
package com.gmail.volodymyrdotsenko.cms.fe.vaadin; import com.gmail.volodymyrdotsenko.cms.fe.vaadin.views.AccessDeniedView; import com.gmail.volodymyrdotsenko.cms.fe.vaadin.views.ErrorView; import com.vaadin.annotations.Theme; import com.vaadin.navigator.Navigator; import com.vaadin.server.DefaultErrorHandler; import ...
package com.bingo.code.example.design.memento.rewrite; import java.io.*; /** * ģ����������A�Ķ���ı���¼�ӿڣ��Ǹ�խ�ӿ� */ public interface FlowAMockMemento extends Serializable{ //�յ� }
package net.sssanma.mc.world; public class WorldException extends Exception { /** * */ private static final long serialVersionUID = 1L; public WorldException(String paramString) { super(paramString); } public WorldException(Throwable arg0) { super(arg0); } publ...
package com.smartup.manageorderapplication.exceptions; import lombok.Getter; @Getter public class ProductNotFoundException extends RuntimeException { private static final long serialVersionUID = 1L; public static final String ERROR_CODE="002"; private Long idProduct; public ProductNotFoundException(Long idProd...
package shopify.app.shopifyme.presentation.application; import android.app.Activity; import javax.inject.Singleton; import dagger.Component; import shopify.app.shopifyme.data.repository.LoginRepository; import shopify.app.shopifyme.data.repository.OfferRepository; import shopify.app.shopifyme.data.repository.WishRep...
package dsp.api; interface IModule {}
package com.example.smartparkingsystem; import android.content.Context; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.cardview.widget.CardView; import andr...
package org.sonar.api.test; import org.apache.commons.io.FileUtils; import org.apache.commons.io.filefilter.HiddenFileFilter; import org.apache.maven.it.VerificationException; import org.apache.maven.it.Verifier; import org.junit.Assert; import org.junit.BeforeClass; import java.io.File; import java.io.IOException; i...
package com.facebook.react; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.KeyEvent; import com.facebook.react.bridge.ReactContext; import com.facebook.react.bridge.ScriptLoadBridge; import com.facebook.react.modules.core.DefaultHardwareBackBtnHandler; import com....
package com.vilio.bps.inquiry.util; import net.sf.json.JSONObject; import java.util.HashMap; import java.util.Map; import java.util.UUID; /** * Hello world! * */ public class CaadDemo { public static void main(String[] args) throws Exception { Map map = new HashMap(); map.put("CaseId", UUID.randomUUID().toSt...
package com.yougou.merchant.dao; import static org.junit.Assert.assertTrue; import java.util.List; import javax.annotation.Resource; import org.apache.commons.collections.CollectionUtils; import org.apache.ibatis.session.RowBounds; import org.junit.Test; import org.springframework.test.context.ContextConfiguration;...
package app; import java.awt.*; import java.awt.event.*; import java.io.File; import java.io.IOException; import java.net.URI; import java.net.URL; import java.text.MessageFormat; import java.awt.Color; import javax.swing.JLabel; import javax.swing.JFrame; import javax.swing.JButton; import javax.sw...
package com.example.jackson; public class MyJson { private int intValue; private String stringValue; private double doubleValue; public MyJson() { } public int getIntValue() { return intValue; } public void setIntValue(int intValue) { this.intValue = intValue; } ...
package com.jeysin.TimeServer; import com.sun.corba.se.internal.CosNaming.BootstrapServer; import io.netty.bootstrap.ServerBootstrap; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.Ni...
package com.jack.jkbase.entity; import java.io.Serializable; import java.util.LinkedHashMap; import java.util.Map; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.Ta...
package pages; import org.apache.commons.lang3.StringUtils; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.PageFactory; /** * Page object class for LinkedInPasswordResetSubmitPage */ public class LinkedInPasswordResetSubmitPage extends BasePage{ /** * Constructor of LinkedInPassw...
public enum State { FISHING ("Fishing"), SWITCHSPOT ("Switching fishing spot"), DROPPING ("Dropping"), ERROR ("[ERROR]: No State found"); private String message; State(String message){ this.message = message; } public String toString(){ return message; } public static State getS...
package model; import ui.DeadAhead; import java.awt.*; import java.util.Random; // represents a zombie enemy from the game public class Zombie { public static final Color COLOR = new Color(250, 0, 40); public static final int SIZE_X = 16; public static final int SIZE_Y = 16; public static final int ...
package com.ece6133.model.tech.k6_n10; import com.ece6133.model.arch.k6_n10.K6Arch; import com.ece6133.model.timing.NetNode; public class SubcktBuilder { protected static SubcktBuilder instance; static { instance = new SubcktBuilder(); } /** * get singleton instance * @return ...
package com.dmp.beans; import java.util.Date; public class Evolution { private int idEvolution; private String observationEvolution; private Date dateObservation; public int getIdEvolution() { return idEvolution; } public void setIdEvolution(int idEvolution) { this.idEvolution = idEvol...
import java.util.ArrayList; public class Grades { private ArrayList<Integer> grades; private int failed; public Grades() { grades = new ArrayList<Integer>(); failed = 0; } public void addGrade(int score) { if (score >= 0 && score <= 60) { if (score >= 0 &...
package inheritance; public class Review { private String body; private String author; private int stars; private InterfaceOfReview ReviewInterface; // Constructors Review(String body, String author, int stars) { this.body = body; this.author = author; this...
import java.awt.*; import javax.swing.*; public class GraphicCalculator implements Runnable { private JFrame frame; private Calculator calculator; @Override public void run() { frame = new JFrame("Calculator"); frame.setPreferredSize(new Dimension(400, 300)); frame.setDefault...
package br.states; import br.Game; import java.awt.Graphics; import java.awt.Font; import java.awt.Color; import java.awt.event.KeyEvent; public class Menu implements State{ private String[] options = {"START", "EXIT"}; private Font font1, font2; private int choice = 0; @Override public void ...
/* * 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 org.opensoft.model.entities; import java.io.Serializable; import java.util.Date; import java.util.List; import jav...
package org.rebioma.client.maps; import com.google.gwt.i18n.client.NumberFormat; import com.google.gwt.maps.client.MapWidget; import com.google.gwt.maps.client.base.LatLng; import com.google.gwt.maps.client.controls.ControlPosition; import com.google.gwt.maps.client.events.mousemove.MouseMoveMapEvent; import co...
class ExceptionDemo { public static void main(String[] args) { /* for(int x=3, int y=0; x>y;x--, y++){ } */ } }
package lucky_stats.analyzer; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.net...
package tkhub.project.kesbewa; public class BR { public static final int ResetBindingView = 1; public static final int _all = 0; public static final int addresItem = 2; public static final int addressviewmodel = 3; public static final int cart_details = 4; public static final int cartitem = 5; publ...
package com.ss.lms.dao; import java.sql.Connection; import java.sql.Date; import java.sql.ResultSet; import java.sql.SQLException; import java.time.LocalDate; import java.util.ArrayList; import java.util.List; import com.ss.lms.entity.Book; import com.ss.lms.entity.BookLoan; import com.ss.lms.entity.Borrower; import ...
package igu; import java.awt.BorderLayout; import java.awt.EventQueue; import java.awt.Point; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.JLabel; import javax.swing.ImageIcon; import javax.swing.SwingConstants; import java.awt.Font; im...
package com.storybox.culturemapg; import org.json.JSONObject; /** * Created by sunghee on 2016-10-24. */ public class Manager { public int id; public String name, contact, email, managing_place_ids_string, managing_place_names_string; public String[] managing_place_ids, managing_place_names; publi...
package com.service.leave.domain; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persis...
package com.m3.training.inventoryproject; import java.io.FileInputStream; import java.io.IOException; import java.nio.file.Path; import java.nio.file.Paths; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.uti...
package com.tencent.mm.pluginsdk.ui.tools; import android.graphics.Bitmap; import com.tencent.mm.pluginsdk.ui.tools.g.c; class g$4 extends c<String, Bitmap> { final /* synthetic */ g qSF; g$4(g gVar) { this.qSF = gVar; super(gVar, 1); } protected final /* bridge */ /* synthetic */ vo...
package exceptions; public class ChecksumMismatchException extends Exception {}
public class TestVar08 { public static void main(String[] args) { char ch1 = 'A'; System.out.println(ch1+90); System.out.println(155-ch1); //char类型我们看到的样子就是它本身的字面常量,但是底层在进行计算的时候,实际上是按照ASCII码执行的 //char类型是unicode码表进行存储的(Unicode兼容ASCII码,Unicode的前128位置ASCII) char ch2 = '中'; System.out.println(ch2); Sys...
package com.jd.validator.example; import lombok.Data; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; /** * @author: wangyingjie1 * @version: 1.0 * @createdate: 2017-12-04 14:45 */ @Data public class Car { @NotNull private S...
package Main.Java; public class Main { public static void main(String[] args) throws CloneNotSupportedException { Engine engine = new Engine(1499.99); engine.setCC(1599.99); ImmutableCar immutableCar = new ImmutableCar(engine, "Blue"); System.out.printf(immutableCar.toString()); ...
package com.example.cs246.medtracker; import android.content.Intent; import android.database.Cursor; import android.provider.CalendarContract; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widg...
package com.chuxin.family.views.chat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import org.json.JSONException; import org.json.JSONObject; import com.ant.liao.chuxin.EnhancedGifView; import com.ant.liao.chuxin.GifView.GifImageType; import com.chuxin.family.global.CxGlobalPa...
package com.beiyelin.common.document; import com.beiyelin.common.utils.StrUtils; import java.io.IOException; import java.net.URL; import java.net.URLConnection; import java.util.regex.Pattern; /** * Created by xinsh on 2017/9/14. */ public class DocTypeUtils { /** * 根据url判断文件类型 * * @param fileUrl...