text
stringlengths
10
2.72M
package com.test.BikeRentalApp.restcontrollers; import com.test.BikeRentalApp.beans.Product; import com.test.BikeRentalApp.repository.ProductRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import java.util.List; import org.spr...
package com.tencent.weui.base.preference; import android.content.SharedPreferences; import android.os.Bundle; import android.view.MenuItem; import android.widget.ImageView; import android.widget.ListView; import android.widget.RelativeLayout; import android.widget.TextView; import com.tencent.mm.bw.a.f; import com.ten...
package com.gft.playground.action; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import com.gft.playground.form.HelloWorldForm; pub...
package com.jk.jkproject.ui.entity; import java.util.List; public class LiveHomeNearBeanInfo extends BaseInfo { private List<DataBean> data; public List<DataBean> getData() { return this.data; } public void setData(List<DataBean> paramList) { this.data = paramList; } public static class D...
package org.nishkarma.common.paging.model; import javax.xml.bind.annotation.XmlRootElement; import java.util.Collection; @XmlRootElement public class Paginator<T> { private int page; private int pageSize; private long total; private Collection<T> rows; public Paginator() { } public Colle...
package org.christophe.marchal.redis.client.jedis.examples.thread; import java.math.BigDecimal; import org.christophe.marchal.redis.client.jedis.utils.JedisCallback; import org.christophe.marchal.redis.client.jedis.utils.JedisExecutor; import org.christophe.marchal.redis.client.jedis.utils.RedisOperation; import org....
package com.example.demo.controller; import com.example.demo.dao.StudentDao; import com.example.demo.dao.detailrespontory; import com.example.demo.dao.studentrespontory; import com.example.demo.dto.allrequest; import com.example.demo.dto.studetailresponse; import com.example.demo.model.detail; import com.example.demo....
/** * */ package alg.code123; /** * 题目:写一个函数返回两个数中的较大者,不能使用if-else及任何比较操作符 * <a href="http://www.code123.cc/949.html" ></a> * @title GetMaxWithoutIf */ public class GetMaxWithoutIf { // 利用减法 public int getMax(int a, int b) { int c = a - b; int k = (c >> 31) & 1; return a - k * c; } ...
package com.pg.whatsstatussaver.Fragments; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.pg.whatsstatussaver.R; /** * A simple {@link Fragment} subclass. */ public class Fav_Video_Frgament e...
package hr.unipu.java; import java.util.Scanner; // import the Scanner class import java.util.ArrayList; // import the ArrayList class public class Main { public static void main(String[] args) { Scanner myObj = new Scanner(System.in); //stringovi koje korisnik unosi Strin...
package com.ds.weatherapp.control; public interface IWeatherControl { void getWeather(String cityNo); }
package net.minecraft.network.play.server; import com.google.common.collect.Maps; import java.io.IOException; import java.util.Map; import net.minecraft.network.INetHandler; import net.minecraft.network.Packet; import net.minecraft.network.PacketBuffer; import net.minecraft.network.play.INetHandlerPlayClient; import n...
package LeetCode.BloombergPractice; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; public class LRUCache { class DNode { int key; int val; DNode prev; DNode next; DNode(){} DNode(int key, int val) { this.key = key; this.val = val; } } pu...
package frc.robot.subsystems; import frc.robot.Constants; import com.revrobotics.CANSparkMax; import com.revrobotics.CANSparkMax.IdleMode; import com.revrobotics.CANSparkMaxLowLevel.MotorType; import edu.wpi.first.wpilibj.DoubleSolenoid; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.DoubleSolen...
package programmers.lv1; public class Day_Test { //이런식으로 swith문 이용해서 풀었는데 나도 하면서 좀 지저분한 느낌을 받았다.. public String solution(int a, int b) { String answer = ""; int sum = 0; for (int i = 1; i < a; i++) { switch (i) { case 2: ...
package at.fhj.swd.selenium.pageobjects; import org.openqa.selenium.WebDriver; public class TopicPage extends PageObjectBase{ public TopicPage(WebDriver driver) { super(driver); } }
package test; import szallitas.*; public class Test2 extends Test { @Override public boolean test() { //Doboz tesztje Doboz d1 = new Doboz(100); Doboz d2 = new Doboz(150); if (d1.getErtek() != 100) hiba("A Doboz getErtek metodusa hibas"); d2.setErtek(200); ...
package com.taikang.healthcare.cust.service; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.annotation.Resource; import org.springframework.stereotype.Service; import com.taikang.healthcare.cust.PrincipalService; import com.taikang.healthcare.cust.dao.PrincipalMap...
/** * <p> * This package contains the interface * {@link org.opentosca.planengine.service.IPlanEngineService}. * </p> * * <p> * The interface provides the only access point of openTOSCA to PlanEngine * functions. * </p> */ package org.opentosca.planengine.service;
package com.test.admin.dao; import com.fight.job.admin.config.ApplicationInitializer; import com.fight.job.admin.config.SpringConfig; import com.fight.job.admin.config.SpringWebConfig; import com.fight.job.admin.dao.ExecutorInfoDao; import com.fight.job.core.enums.ExecutorStateEnum; import org.junit.Test; import org.j...
package com.tencent.mm.plugin.account.a.a; import android.app.Activity; import android.content.Context; import com.tencent.mm.kernel.b.d; import com.tencent.mm.sdk.e.j; import com.tencent.mm.sdk.e.m; import java.util.LinkedList; public interface a extends d { void clearFriendData(); m getAddrUploadStg(); ...
/* * Copyright © 2014 YAOCHEN Corporation, All Rights Reserved. */ package com.yaochen.address.data.mapper.address; import java.util.List; import com.easyooo.framework.sharding.annotation.Table; import com.yaochen.address.data.domain.address.AdOaCountyRef; import com.yaochen.address.support.Repository; @Repository...
// Tests that references from a superclass to a subclass succeed (includes field accesses and method calls). int main() { ImplicitCastsClass2 a; a = new ImplicitCastsClass2(); a.f(); a.y.f(); a.y = a; a.y.y = a; return 0; } class ImplicitCastsClass1 { ImplicitCastsClass2 y; int f(...
package RestAssuredStore; import io.restassured.builder.ResponseSpecBuilder; import io.restassured.filter.log.LogDetail; import io.restassured.specification.ResponseSpecification; public class LogResponseBodyResponseSpecBuilder { public static ResponseSpecification build() { return new ResponseSpecBuil...
package LeetCode.LinkedList; import java.util.Deque; import java.util.LinkedList; class BNode { String val; BNode next; BNode prev; BNode(String val){ this.val = val; } } public class BrowserHistory { BNode cur; BNode head; public BrowserHistory(String homepage){ head = new BNode(homepage); ...
package lesson29.Ex1; public class Fish extends Animal { private String color; private String food; public Fish() { } public Fish(String color, String food) { this.color = color; this.food = food; } public Fish(String name, String species, float height, float weight) { ...
import java.lang.reflect.Array; import java.util.*; public class ListOfWords { private String[] words = {"Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота","Воскресенье", "Среда", "Вторник", "Среда", "Пятница", "Воскресенье", "Среда", "Пятница", "Понедельник"}; ...
/**** 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 gov.smart.health.activity.find.model; import com.google.gson.annotations.SerializedName; import java.io.Serializable; /** * Created by laoniu on 11/5/17. */ public class FindEssayListDataModel implements Serializable { @SerializedName("memo") public String memo; @SerializedName("def1") pub...
package org.jboss.wise.demo; import static org.junit.Assert.assertEquals; import org.jboss.wise.core.client.InvocationResult; import org.jboss.wise.core.client.WSDynamicClient; import org.jboss.wise.core.client.WSMethod; import org.jboss.wise.core.mapper.SmooksMapper; import org.junit.Test; import demo.Cliente; impo...
package planning.actor.strategy; import domain.Estimation; import domain.Story; public class LazyEstimationStrategy implements EstimationStrategy<Story> { @Override public Estimation estimate(Story story) { return Estimation.XL; } }
package uk.ac.ed.inf.aqmaps.unitTests.simulation.collection; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyBoolean; import static org.mockito.ArgumentMatchers.anySet; import static org.mockito.ArgumentMatchers....
package com.hly.o2o.service; import java.util.List; import com.hly.o2o.dto.ProductCategoryExecution; import com.hly.o2o.entity.ProductCategory; import com.hly.o2o.exceptions.ProductCategoryOperationException; public interface ProductCategoryService { /** * 通过shopId查找该店铺的所有商品类别 * * @param shopId * @return ...
package com.uinsk.mobileppkapps.ui.mahasiswa.presensi; import androidx.lifecycle.ViewModel; public class PresensiMahasiswaViewModel extends ViewModel { // TODO: Implement the ViewModel }
/** * Copyright by www.codejava.net */ package net.codejava; import javax.servlet.ServletContext; import javax.servlet.annotation.WebListener; import javax.servlet.http.HttpSessionEvent; import javax.servlet.http.HttpSessionListener; @WebListener public class UserSessionListener implements HttpSessionListener { st...
/* * (c) tolina GmbH, 2014 */ package samples.guava; import jp.co.worksap.oss.findbugs.guava.UnexpectedAccessDetector; import junit.framework.TestCase; import org.junit.Ignore; /** * Class used only for {@link UnexpectedAccessDetector}-tests * @author Juan Martin Sotuyo Dodero * */ @Ignore("Not...
import java.io.FileReader; import java.io.BufferedReader; import java.io.IOException; import jcuda.*; import jcuda.runtime.*; import jcuda.driver.*; import static jcuda.driver.JCudaDriver.*; public class GPLevenshtein { public static void main(String [] args) { if(args.length < 2) { System.err.println("N...
package com.tencent.mm.plugin.report; import java.util.HashMap; import java.util.Map.Entry; public final class b { private long mDv; private HashMap<Integer, Long> mDw = new HashMap(); private int mID = 463; private long mInterval = 300000; public final void g(int i, int i2, long j) { syn...
package Raghu1; public class dec11 { public static void main(String[] args) { int rag[]=new int [4]; rag[0]=10; rag[1]=20; rag[2]=30; rag[3]=45; System.out.println(rag[3]); System.out.println(rag.length); for(int i=0;i<rag.length;i++) { System.out.println(rag[i]); } System.out.println("<-----...
package com.test.embedded.one2many; import java.util.List; import com.gigaspaces.annotation.pojo.SpaceId; import com.gigaspaces.annotation.pojo.SpaceIndex; import com.gigaspaces.annotation.pojo.SpaceIndexes; public class Author { Integer id; String lastName; List<Book> books; @Space...
package VRPTW; import Model.Graph; import org.uma.jmetal.problem.impl.AbstractIntegerProblem; import org.uma.jmetal.solution.IntegerSolution; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.List; public class VRPTW extends AbstractIntegerProblem { private Graph...
package detail; import worker.Worker; import worker.Workerinterface; public class Teacher extends Worker implements Workerinterface{ public float calcSalary(){ return this.getSalaryIndex() * 730 + this.getAllowance() + this.getWorkingCount() *45; } }
package at.fhj.swd.presentation.viewHelper; import java.io.IOException; import java.io.Serializable; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.PostConstruct; import javax.ejb.EJB; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewSco...
package com.scf.skyware.notice.dao; import java.util.List; import org.mybatis.spring.SqlSessionTemplate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.scf.skyware.mobile.domain.NoticeM; import com.scf.skyware.notice.domain.Notice;...
package servlet; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.sql.Date; import java.util.Map; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import data.riskLogic; import model.risk; import model.ri...
package com.tencent.mm.boot.svg.a.a; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Paint.Cap; import android.graphics.Paint.Join; import android.graphics.Paint.Style; import android.graphics.Path; import android.os.Looper; import com.tencent.mm.svg.WeChatSVGRenderC2Java; import...
package com.xtw.msrd; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintStream; import java.text.SimpleDateFormat; import java.util.Date; import util.CommonMethod; import android.annotation.TargetApi; import android....
package com.komaxx.komaxx_gl.scenegraph.analysis; import java.util.ArrayList; /** * Represents a priced traversal from one Analysis node to another * * @author Matthias Schicker */ public class Path { public int price; public AnalysisNode startNode; public AnalysisNode endNode; /** * the complete path ...
package com.service.impl; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereot...
package com.tutorial.inheritance.employee; public abstract class Employee { private String name; private int id; private String empType; public String getEmpType() { return empType; } public void setEmpType(String empType) { this.empType = empType; } public Employee(String name, int id, S...
package com.skh.hkhr.util; import android.content.Context; import android.graphics.drawable.Drawable; import androidx.core.content.ContextCompat; /*** * @DEV #SamiranKumar11 * @Created by Samiran on 1/02/2017. */ public class AppRes { public static Drawable getDrawable(int resId, Context context) { ...
public class ScoreEntry { private String name; private int score; public ScoreEntry(String n, int s) { name = n; score = s; } public ScoreEntry() { name = "<NOBODY>"; score = 0; } public String getName() { return name; } public int getScore() { return score; } public String toString() { ...
package leecode.string; public class 最长回文串_409 { public int longestPalindrome(String s) { return 0; } }
package com.tencent.mm.protocal.c; import com.tencent.mm.bk.a; import f.a.a.b; import java.util.LinkedList; public final class tc extends a { public int hcE; public String jTu; public String rco; public int rdV; public int rdW; public String rwt; public bhy rwu; public String rwv; ...
package com.cqrcb.service.impl; import java.util.ArrayList; import java.util.List; import com.cqrcb.dao.StaffDao; import com.cqrcb.model.Staff; import org.appfuse.service.impl.BaseManagerMockTestCase; import org.mockito.InjectMocks; import org.mockito.Mock; import org.junit.Before; import org.junit.After; import org...
package studentapp.c_learning.kit.studentapp; import android.app.ProgressDialog; import android.content.Context; import android.content.SharedPreferences; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.AsyncTask; import android.os.Bundle; import android.preference.PreferenceM...
package client; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; /** * Takes an input stream and an output stream. * Writes the input stream into the output stream. * @author Jack Galile...
package com.farm.tables; import org.json.JSONObject; /* * Represents farm table in database */ public class Farm { public int farmId; public String farmName; public int perimeterId; public String addressLine1; public String addressLine2; public String landMark; public int visitorsCount; public double ar...
package amlsim.model; import java.io.*; import java.util.Random; import java.util.Properties; import amlsim.AMLSim; import amlsim.Account; /** * Adjust transaction parameters for fine-tuning of the transaction network */ public class ModelParameters { // private static Random rand = new Random(AMLSim.getSeed()...
package Client.Services.Enums.Help; public class Expenselmpl extends RecurringExpenses implements ExpensesInterface { public double getRecurringExpenses() { double a = totalRecurringExpenses(); return a; } }
package com.tfxk.framework.utils; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; /** * Created by Chenchunpeng on 2015/9/16. */ public class ReflectUtils { public static Field generatorField(Class clazz, String fieldName) throws NoSuchFieldException { Field field ...
package graphics; import javafx.scene.canvas.GraphicsContext; public class Text_Sprite { private String text; private double positionX; private double positionY; public Text_Sprite() { positionX = 0; positionY = 0; } public void setPosition(double x, double y) { p...
package com.ifood.demo; import static org.hamcrest.Matchers.hasKey; import static org.hamcrest.Matchers.hasSize; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertNotNull; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.asyncDispatch; import static org.sprin...
package traning; public class Classdemo2 { public static void main(String[] args) { Calculator obj1= new Calculator(); obj1.sub(); obj1.sum(); System.out.println("Name is "+obj1.Name); System.out.println("Name is"+obj1.Hobby); } }
package com.android.demo; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import or...
this is sample for test
package com.qihoo.finance.chronus.master.bo; import lombok.Getter; import lombok.Setter; /** * 互斥节点 */ @Getter @Setter public class MutexNode { /** * 左节点 */ private String leftKey; /** * 关联key */ private String relationKey; /** * 右节点 */ private String rightKey...
package com.fnsvalue.skillshare.controller; import java.util.ArrayList; import java.util.HashMap; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframe...
package com.commercetools.pspadapter.payone.util; import com.commercetools.pspadapter.payone.config.PropertyProvider; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.BeanProperty; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.Serializ...
package dailyPractice.jianzhi; public class StarQ13 { public int movingCount(int m, int n, int k) { boolean[][] visited = new boolean[m][n]; return dfs(m, n, 0, 0, k, visited); } public int dfs(int m, int n, int i, int j, int k, boolean[][] visited) { if (sumDigit(i, j) > k || i <...
package temp001; public class ArrayListQuiz { // 콜렉션 (ArrayList) 사용하기 // 1. 선언하기 // 콜렉션<객체 타입> 변수명 = new 콜렉션<객체 타입>(); // 2. 사용법 // 콜렉션은 배열과 유사한 기능을 제공하는 객체들을 말한다. // -List 계열은 자료를 순서대로 저장해 index를 부여한다. 대표적으로 ArrayList를 사용한다. // -Set 계열은 자료를 순서 없이 저장하고, 중복을 자동으로 제거한다.(같은 것을 여러 번 저장해도 1번만 저장됨) 대표적으로 HashSet을 사용...
package org.study.design_patterns.singleton; public class Singleton { private Singleton singleton; private Singleton() { } public synchronized Singleton getInstance() { if (singleton != null) { singleton = new Singleton(); } return singleton; } }
package com.zihui.cwoa.system.shiro; import org.apache.shiro.mgt.SecurityManager; import org.apache.shiro.spring.LifecycleBeanPostProcessor; import org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor; import org.apache.shiro.spring.web.ShiroFilterFactoryBean; import org.apache.shir...
package com.thread.runnable; /** * @author zhangbingquan * @version 2019年09月11日 * @since 2019年09月11日} **/ public class DefaultRunnableTest { public static void main(String[] args) throws InterruptedException { ThreadImplRunnable threadImplRunnable = new ThreadImplRunnable("Thread1"); new Thread...
package com.cngl.bilet.service.impl; import java.util.List; import com.cngl.bilet.dto.KoltukRequestDto; import com.cngl.bilet.dto.KoltukResponseDto; import com.cngl.bilet.entity.Koltuk; import com.cngl.bilet.repository.KoltukRepository; import com.cngl.bilet.repository.SeferRepository; import com.cngl.bilet.service.K...
package com.example.xxxxxx.androidcourse; import android.content.Intent; 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.TextView; public class SecondActivity extends AppCompatActiv...
package com.chaisync.AppTrojanDetector; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import a...
package rockPaperScissors; import java.util.Scanner; import java.util.Random; public class rockPaperScissors { public static void main(String[] args) { System.out.println("What's your hand? (rock paper scissor)"); Scanner scan = new Scanner(System.in); String userInput = scan.nextLine(); scan.close(); Stri...
package graph.mst; /** * 加权无向连通图的最小生成树 */ public interface MinimumSpanningTree { Iterable<Edge> edges(); double weight(); }
/* * Copyright (c) 2014 Anthony Benavente * * 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 agr...
package controllers; import java.sql.Connection; import java.sql.SQLException; import play.db.DB; import play.mvc.*; import org.libvirt.*; import model.Host; import com.fasterxml.jackson.databind.JsonNode; public class VMOperation extends Controller{ public static Result start(String vmName, String hostName) ...
package enthu_f; public class e_1321 { public static void main( String[] args){ try{ int i = 0; i = Integer.parseInt( args[0] ); } catch(NumberFormatException e){ System.out.println("Problem in " + i ); } } }
package org.fuserleer.crypto; import java.util.ArrayList; import java.util.Collection; import java.util.List; public class MerkleTree { private MerkleNode root; private List<MerkleNode> nodes; private List<MerkleNode> leaves; public MerkleTree() { this.nodes = new ArrayList...
package com.springrest.springrest.controller; import com.springrest.springrest.entities.Course; import com.springrest.springrest.services.CourseService; import com.springrest.springrest.services.CourseServiceImpl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Con...
package com.simon.common.sorts; /** * Created by semen on 27.09.2015. */ public class Sort { //public abstract static int[] sort(int[] a); public static void print(int[] a){ System.out.print("[ "); for(int x: a){ System.out.print(x+" "); } System.out.print("...
package ru.rost; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; import static org.junit.Assert.*; /** * @author rost. */ @RunWith(SpringRunner.class) @SpringBo...
package com.Exercises_12032021.Task2.Services; import com.Exercises_12032021.Task2.Domain.PerfectNumber; import java.util.ArrayList; import java.util.List; public class PerfectNumberService { private CustomRandomService customRandomService; private List<Integer> seriesOfNumbersToProceed; private List<Pe...
package com.avantir.qrcode.scheme; public class EMV { public static void main(String[] args){ try{ } catch(Exception ex){ ex.printStackTrace(); } } /* @Override public Schema parseSchema(String code) { if (code == null || !code.startsWith(PA...
package com.app.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.ann...
package com.tb24.fn.model; public class Affiliate { public String id; public String slug; public String displayName; public String status; public Boolean verified; }
package com.tencent.mm.ui.conversation.a; import android.content.Context; import android.database.Cursor; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import com.tencent.mm.R; import com.tencent.mm.pluginsdk.h.a.a; import com.tencent.mm.ui.r; import java.util.ArrayList; publi...
package gxc.web.filter; import gxc.utils.HibernateUtil; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import org.hibernate.S...
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { static int[] S; public static void main (String [] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int len = Integer...
package com.mediacom.tools; import javax.net.ssl.X509TrustManager; import java.security.cert.X509Certificate; public class DummyTrustmanager implements X509TrustManager { public void checkClientTrusted(java.security.cert.X509Certificate[] arg0,String arg1) throws java.security.cert.CertificateException { } ...
import java.util.ArrayList; import java.util.List; import com.leetcode.listnode.ListNode; import com.leetcode.listnode.ListNodeUtil; public class App { public static void main(String[] args) throws Exception { System.out.println("Hello, World!"); } }
import java.util.*; public class Example // All operands function between two numbers { public static void main(String[] args) { //prompt the user to enter names of all operands System.out.print("* Addition \n" ); System.out.print("* Subtraction\n"); System.out.print("* Multiplication\n"); System...
package shapes.line; import java.awt.*; public class Segment extends base.Shape { private Point endPoint; public Segment() { } public Segment(Point theCenter, Point endPoint, int frameWidth, Color frameColor) { super(theCenter, frameWidth, frameColor); this.endPoint = endPoint; } @Overri...
package com.zhouyi.business.dto; import java.io.Serializable; /** * @author 李秸康 * @ClassNmae: LedenBbsAttachmentDto * @Description: TODO * @date 2019/6/25 14:06 * @Version 1.0 **/ public class LedenBbsAttachmentDto extends BaseDto implements Serializable { private String pkId; private String bbsId; ...
package cn.amarone.model.user.service; import org.springframework.data.domain.Page; import cn.amarone.model.sys.common.exception.BizException; import cn.amarone.model.article.entity.Article; import cn.amarone.model.user.entity.SysUser; /** * @Description: * @Author: Amarone * @Created Date: 2019年03月26日 * @LastMo...
package com.elepy.handlers; import com.elepy.dao.Crud; import com.elepy.exceptions.ElepyException; import com.elepy.exceptions.Message; import com.elepy.http.HttpContext; import com.elepy.http.Request; import com.elepy.models.ModelContext; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.Serializabl...