text
stringlengths
10
2.72M
/** * */ package com.spower.business.therapy.service.dao; import java.util.List; import com.spower.basesystem.common.command.Page; import com.spower.basesystem.common.service.dao.ICommonDao; import com.spower.business.therapy.command.TherapyQueryInfo; import com.spower.business.therapy.valueobject.Therap...
package Sorting; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * * Q - Given a non-empty array of integers, return the k most frequent elements. * * Tags - Sorting, Bucket Sort, Easy * @author vignesh * */ public class TopKFrequentElements { /* * ...
package csci152.adt_tests; import csci152.impl.BSTHashTableMap; public class BSTHashTableMapTest { public static void main(String[] args) { BSTHashTableMap<Integer, String> test = new BSTHashTableMap<>(10); /* 1 */ try { test.removeAny(); } catch (Exception ex) { ...
package szallitas; public class IranyitottDoboz extends Doboz { // 2 public byte raktar; // 2 public byte getRaktar() {return raktar;} // 2 public IranyitottDoboz(int ertek, byte raktar) { super(ertek); this.raktar = raktar; } // 2,3 public int getErtek() { ...
package Chapter6Review; //E6.11 public class Vowels { private String initialWord; private final String VOWEL_LIST = "aeiouy"; private int counter; public Vowels(String aInitialWord) { initialWord = aInitialWord; } public void countVowels() { char wordChar = ' '; char ...
import java.util.ArrayList; import java.util.Scanner; // 퇴사 public class p14501 { public static int N; public static int[] T; public static int[] P; public static int max; public static void main(String[] args) { Scanner sc = new Scanner(System.in); N = sc.nextInt(); T =...
import java.util.Scanner; public class UniqueChar { static void distinctchar(String str) { str = str.replaceAll("\\s", ""); int []counter=new int[256]; int i,c; for( i=0;i<str.length();i++) { //System.out.println((int)str.charAt(i)); if(str.charAt(i)!=' ' && (int)str.charAt(i)>64) ...
package org.lxy.ds; import org.lxy.ds.MyArrayList; /** * @author menglanyingfei * @date 2017-5-6 */ public class MyArrayListTest { /** * @param args */ public static void main(String[] args) { // 创建线性表对象 MyArrayList<Integer> myArrayList = new MyArrayList<>(); // 第一种添加元素方式, add(E x) myArrayList.add(1...
package com.SkyBlue.base.to; import com.SkyBlue.common.annotation.Dataset; import com.SkyBlue.common.to.BaseBean; import lombok.Getter; import lombok.Setter; @Dataset(name="dsEmployeeHiredateList") public class EmployeeHireDateBean extends BaseBean{ @Setter @Getter private String empCode,password,empName,authorit...
import java.io.StringWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Set; public class DirectedGraph<V> implements GraphADT<V>{ private HashMap<V, ArrayList<V>> hashmap; //DO NOT ADD ANY OTHER DATA MEMBERS public DirectedGraph() { hashmap = new Ha...
package com.youthchina.dao.Qinghong; import com.youthchina.domain.Qinghong.Candidate; import org.mapstruct.Mapper; import org.springframework.stereotype.Component; import java.util.List; @Mapper @Component public interface EmployerPageMapper { Candidate findCandidate(Integer id); List<Candidate> findByLabel...
package com.realcom.helloambulance.mapper; import java.sql.ResultSet; import java.sql.SQLException; import org.springframework.jdbc.core.RowMapper; import com.realcom.helloambulance.pojo.Cities; public class CityRowMapper implements RowMapper<Cities> { public Cities mapRow(ResultSet rs, int arg1) thr...
/* * created 17.06.2005 * * Copyright 2009, ByteRefinery * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * $Id...
package com.tencent.mm.plugin.location.model; import android.graphics.Bitmap; import android.widget.ImageView; import android.widget.ProgressBar; import com.tencent.mm.a.e; import com.tencent.mm.ak.o; import com.tencent.mm.g.a.hv; import com.tencent.mm.kernel.g; import com.tencent.mm.model.s; import com.tencent.mm.plu...
package com.cisco.prototype.ledsignaldetection; import java.io.File; /** * Created by jessicalandreth on 7/6/15. */ public interface BluetoothInterface { public void onSelectionFragment(int index); public void updateFragIndex(int index); public void configureMenu(); public void onImageFragment(); ...
package com.dmt.sannguyen.lgwfb; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android...
package com.monsordi.na_at.web; import org.json.JSONException; import org.json.JSONObject; /** * Created by diego on 10/04/18. */ public class JsonManager { private static final String BASE_URL = "http://picasaweb.google.com/data/entry/api/user/"; private static final String JSON_EXTENSION = "?alt=json"; ...
package br.com.complaintapi.service; import br.com.complaintapi.model.Complaint; import br.com.complaintapi.repository.IComplaintRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.net.URLDecoder; import java.util.List; import java.util...
/** * */ package com.goodhealth.thread.Thead; import java.util.concurrent.*; /** * @author 24663 * @date 2018年11月11日 * @Description 线程的三种创建方法 */ public class CreateThread { public static void main(String[] args) throws InterruptedException { MyThread t1=new MyThread(); ThreadRun threadR=new ThreadRun(...
package include.linguistics; public abstract class GenericTag { public static final int NONE = 0; public static final int FIRST = 1; protected int m_code; public GenericTag() { m_code = NONE; } public GenericTag(final GenericTag t) { m_code = t.m_code; } public GenericTag(final in...
package com.tencent.tencentmap.mapsdk.a; import com.tencent.tencentmap.mapsdk.a.at.b; public abstract class ar implements mi { public b _data; public abstract int _onDispatch(String str, jp jpVar); }
/** * Implementation part of Bridge pattern * * @author durrah (mhd.durrah@gmail.com) on 5/16/15. */ package com.ugarit.java.designpatterns.bridge.impl;
package com.ifisolution.cmsmanagerment.repository; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.ifisolution.cmsmanagerment.entities.NewsRating; @Repository public interface NewsRatingRepository extends JpaRepository...
package lesson19.hw; public class Controller { public void put(Storage storage, File file) throws Exception { if (!checkFormat(storage, file)) { throw new Exception(" error format the file = ." + file.getFormat() + " , storage id = " + storage.getId() + " for file with id ...
package day03oparators; import java.util.Scanner; public class Wrapper01 { public static void main(String[] args) { // kulllanicidan ad ve soyadin alip ekrana yazdirralim // string kullaniniz Scanner scan = new Scanner(System.in); System.out.println("Lütfen adinizi ve soyadinizi giriniz"); String...
package mk.petrovski.weathergurumvp.ui.welcome; import android.animation.Animator; import android.animation.ObjectAnimator; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ImageView; import android.wi...
package net.youzule.java.http.file.utils.excel.excel; import java.util.List; import java.util.Map; /** * @Title: ExcelFormat.java * @Description: * @author:zhaodahai * @date 2018年9月20日 下午3:44:20 */ public class ExcelFormat { private String fileTitle;//文件title private List<Map<String, String>> headData;//表头 p...
/* * Copyright 2017 University of Michigan * * 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...
package jsettlers.algorithms.simplebehaviortree; import java.io.Serializable; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; public class Tick<T> implements Serializable { private static final long serialVersionUID = 3673558738736795584L; public final Root<T> root; ...
package com.noteshare.course.course.controller; import java.util.List; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.PathVariable; import org.spri...
package com.lera.vehicle.reservation.domain.customer; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; public class NoteTest { Note note = new Note(); @Test public void testGetNoteId() { note.setNoteId(1); assertThat(note.getNoteId()).isEqualTo(1); } ...
package org.example.eventos; import retrofit2.Retrofit; import retrofit2.converter.gson.GsonConverterFactory; public class RestClient { public static RetrofitService getRetrofitService() { return new Retrofit.Builder() .baseUrl(EventoDetalles.BASE_URL) .addConverterFactory...
package com.btg.pqr.entidades; import java.util.Date; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.data.mongodb.core.mapping.Field; @Document(collection = "pqr") public class Pqr { @Id private String id; @Field private S...
package myHttpServer; import com.sun.net.httpserver.HttpServer; import org.apache.log4j.Logger; import java.io.IOException; import java.net.InetSocketAddress; /** * Created by cenk on 28/12/14. */ public class MyHttpServer { private final static Logger logger = Logger.getLogger(MyHttpServer.class); private Htt...
package de.lise.terradoc.core.customization.modification; import de.lise.terradoc.core.state.TerraformResource; import java.util.ArrayList; import java.util.Collection; import java.util.List; public class ReportValueProvider { private final List<CompiledValueSelector> compiledValueSelectors = new ArrayList<>(); ...
package spi.movieorganizer.data.movie; import java.util.HashMap; import java.util.Map; import spi.movieorganizer.data.MovieOrganizerType; import exane.osgi.jexlib.data.manager.AbstractMutableListMapDM; import exane.osgi.jexlib.data.manager.listener.DataManagerListener; import exane.osgi.jexlib.data.object.Exa...
package pl.connectis.cschool.jcourse.restservice.repository; import org.springframework.data.repository.CrudRepository; import pl.connectis.cschool.jcourse.restservice.domain.Invoice; import pl.connectis.cschool.jcourse.restservice.domain.Product; import java.util.List; /** * Created by Benia on 2017-06-24...
package com.websharp.dwtz.dao; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteStatement; import de.greenrobot.dao.AbstractDao; import de.greenrobot.dao.Property; import de.greenrobot.dao.internal.DaoConfig; import com.websharp.dwtz.dao.EntityAnimal...
package com.tencent.mm.g.a; import org.json.JSONArray; public final class df$b { public boolean bKE; public JSONArray bKR; }
/** * CommonFramework * * Copyright (C) 2017 Black Duck Software, Inc. * http://www.blackducksoftware.com/ * * 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 o...
package com.techlab.man; public class Boy implements ISocializable, IEmotionable { @Override public void cry() { System.out.println("I am crying"); } @Override public void laugh() { System.out.println("I am laughing"); } @Override public void wish() { System.out.println(" Boy's Best Wishes"); } @Ov...
package com.tencent.tencentmap.mapsdk.a; class tz$1 implements tt { final /* synthetic */ Runnable a; final /* synthetic */ tz b; tz$1(tz tzVar, Runnable runnable) { this.b = tzVar; this.a = runnable; } public void a() { this.a.run(); } public void b() { t...
package models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.List; @JsonIgnoreProperties(ignoreUnknown = true) @Data @NoArgsConstructor public...
package company; public class RomanNumber { private String value; private int predicate; public RomanNumber(String value) { this.value = value; } public String getValue() { return value; } public int getPredicate() { return predicate; } ...
package com.rc.portal.vo; import java.math.BigDecimal; public class TMemberAccount { private Long memberId; private BigDecimal remainingAmount; private BigDecimal freezeAmount; private BigDecimal waitAmount; private BigDecimal totalAmount; public Long getMemberId() { return member...
package com.ua.serg.alex.buy.any.things.services.impl; import com.ua.serg.alex.buy.any.things.dao.*; import com.ua.serg.alex.buy.any.things.model.Category; import com.ua.serg.alex.buy.any.things.model.Order; import com.ua.serg.alex.buy.any.things.model.User; import com.ua.serg.alex.buy.any.things.model.Product; import...
/** * Provides an Implementation of the Endpoint Service Interface to be used by * other bundles.<br /> * <br /> * Copyright 2012 IAAS University of Stuttgart <br /> * <br /> * * @author Matthias Fetzer - fetzerms@studi.informatik.uni-stuttgart.de */ package org.opentosca.core.endpoint.service.impl;
package co.nos.noswallet.network.websockets; import android.util.Log; import java.nio.charset.Charset; import java.util.concurrent.atomic.AtomicBoolean; import javax.annotation.Nullable; import javax.inject.Inject; import co.nos.noswallet.util.NosLogger; import io.reactivex.Observable; import io.reactivex.subjects....
package com.example.serhii.githubio; import android.content.Context; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; /** * Created by Serhii on 11/12/2017. */ public class CacheManager { public static void WriteToCacheFile(String fileName, String data, Context context) ...
package com.crivano.swaggerservlet; public class PetPetIdGet implements ISwaggerPetstore.IPetPetIdGet { @Override public String getContext() { return "get color"; } @Override public void run(Request req, Response resp, SwaggerPetstoreContext ctx) throws Exception { if (req.petId != null && req.petId.equals(...
package com.example.bhavana.energysaverapp; import android.content.Intent; import android.support.v4.app.FragmentManager; import android.support.v7.app.ActionBarActivity; import android.support.v7.app.ActionBar; import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; impor...
package com.tencent.mm.model; import android.content.SharedPreferences; import com.tencent.mm.a.o; import com.tencent.mm.ab.j; import com.tencent.mm.hardcoder.HardCoderJNI; import com.tencent.mm.network.q; import com.tencent.mm.platformtools.ab; import com.tencent.mm.pointers.PByteArray; import com.tencent.mm.protocal...
package com.cheng.targetmanager.mapper; import com.cheng.targetmanager.entity.Task; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; @Repository public interface TaskMapper { int getCount(); void add(Task task); List<Task> getTasks(Map<String,Object> map); ...
package com.qgbase.config; import com.qgbase.config.resolver.UserInfoResolver; import com.qgbase.config.resolver.VerifycodeResolver; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.web.method.support.HandlerMethodArg...
package com.legalzoom.api.test.util; import org.springframework.core.io.Resource; public class ResourceInjection { private Resource testEmail; private Resource testIpaddress; private Resource testPassword; public Resource getTestEmail() { return testEmail; } public void setTestEmail(Resource testEmail) { ...
package com.pkjiao.friends.mm; import com.pkjiao.friends.mm.R; import com.pkjiao.friends.mm.activity.FillUserInfoActivity; import com.pkjiao.friends.mm.activity.InviteFriendsActivity; import com.pkjiao.friends.mm.activity.LoginActivity; import com.pkjiao.friends.mm.activity.RegisterActivity; import com.pkjiao.f...
/******************************************************************************* * 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 r...
package com.tencent.mm.plugin.ipcall.ui; import android.view.View; import android.view.View.OnClickListener; class IPCallShareCouponUI$9 implements OnClickListener { final /* synthetic */ IPCallShareCouponUI kyP; IPCallShareCouponUI$9(IPCallShareCouponUI iPCallShareCouponUI) { this.kyP = iPCallShareC...
public class Aluno{ Disciplina[] disciplinas = new Disciplina[5]; String nome; int mat; public Aluno(String nome, int mat){ this.nome = nome; this.mat = mat; } public String toString(){ return "\nAluno: " + this.nome + "\nMatricula" +this.mat+"\n"; } public void listarDisciplinas(){ for(Discipli...
class Solution { int n , m; int[][] dp; int dfs(int[][] books , int pos , int left , int max_h) { if (pos == n) return max_h; if (dp[pos][left] != 0) return dp[pos][left]; int val1 = 10000000; if (left != m) { val1 = max_h + dfs(books , pos...
/* * Copyright (C) 2023 Hedera Hashgraph, LLC * * 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 la...
package com.ifeiyang.bijia.model; import zback._Test; import com.lidroid.xutils.HttpUtils; import com.lidroid.xutils.http.RequestParams; import com.lidroid.xutils.http.callback.RequestCallBack; import com.lidroid.xutils.http.client.HttpRequest; public class HttpModel { private RequestCallBack<String> c...
package com.jkxy.web.service.impl; public interface UserServiceImpl { public String checkUser(String username, String password) ; }
package com.example.controllers; import com.example.dao.UserDao; import com.example.entities.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotati...
/* * 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 Model.*; import View.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; ...
package newwordchain; import java.io.*; import java.util.HashMap; import java.util.LinkedList; import java.util.List; /** * */ public class WordChain { private String endWord; private int level; private TreeNode root; private TreeNode targetNode; private LinkedList<String> wordList; private...
package com.dennistjahyadigotama.soaya.activities.ThreadOpenActivity.adapter; /** * Created by Denn on 7/3/2016. */ public class CommentGetter { String name,comment; public String getName() { return name; } public void setName(String name) { this.name = name; } public St...
package com.appdear.client.commctrls; import java.util.List; import com.appdear.client.R; import com.appdear.client.utility.ServiceUtils; import android.content.Context; import android.util.DisplayMetrics; import android.util.Log; import android.view.View; import android.view.ViewGroup.LayoutParams; import android.v...
/* * Copyright 2016 Johns Hopkins University * * 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 ...
/* */ package datechooser.beans.editor.descriptor; /* */ /* */ import datechooser.beans.locale.LocaleUtils; /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ public class StringDescriptor /* */ extends ClassDescriptor /* */ { /* *...
package com.hason.dtp.test.message.consumer; import com.hason.dtp.message.consumer.RmMessageConsumerApplication; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; /** * 测试基类 * * @author Huanghs * @s...
package com.sabre.api.sacs.soap.orchestratedflow; import java.io.StringWriter; import java.util.Arrays; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.s...
execute(des, src, registers, memory) { String st0 = ""; String st1 = ""; Double d1; Double d2; if ( des.isRegister() && registers.getBitSize(des) == 80 ) { st0 = registers.get(des); d1 = Double.parseDouble(st0); } if ( src.isRegister() && registers.getBitSize(src) == 80 ) ...
/* * 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 vistas; /** * * @author mailt */ public class VentanaModificaEmpleado extends javax.swing.JFrame { /** * Creates ...
/* * Copyright (C) 2022-2023 Hedera Hashgraph, LLC * * 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...
package cn.canlnac.onlinecourse.data.entity.mapper; import javax.inject.Inject; import javax.inject.Singleton; import cn.canlnac.onlinecourse.data.entity.ProfileEntity; import cn.canlnac.onlinecourse.data.net.RestApiConnection; import cn.canlnac.onlinecourse.domain.Profile; /** * 用户资料实体类转换. */ @Singleton public cl...
package leetcode; // 数字 n 代表生成括号的对数,请你设计一个函数,用于能够生成所有可能的并且 有效的 括号组合。 //示例: // //输入:n = 3 //输出:[ // "((()))", // "(()())", // "(())()", // "()(())", // "()()()" // ] import java.util.ArrayList; import java.util.List; public class 括号生成 { public static void main(S...
package com.example.healthmanage.ui.activity.famousDoctorHall.adapter; import android.content.Context; import android.widget.ImageView; import androidx.annotation.Nullable; import com.bumptech.glide.Glide; import com.bumptech.glide.request.RequestOptions; import com.chad.library.adapter.base.BaseQuickAdapter; import...
package org.tomat.exceptions; /** * Created by Kiuby88 on 25/09/2014. */ public class ExpectedToscaComponentException extends Exception { public ExpectedToscaComponentException() { super(); } public ExpectedToscaComponentException(String msg) { super(msg); } }
package com.tencent.mm.modelvoice; import com.tencent.mm.storage.bd; public interface c { void D(bd bdVar); }
package com.rofour.baseball.service.manager; import com.rofour.baseball.controller.model.manager.MonitorInfo; import com.rofour.baseball.dao.manager.bean.MonitorBean; import java.util.List; /** * @ClassName: MonitorService * @Description: 监控项服务接口 * @author: xulang * @Date: 2016-08-22 13:40 */ public interface M...
package aditya.photobrowser.controller; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.animation.AnimationUtils; import android.widget.ImageView; import android.widget.TextView; import com.squareup.picasso.Picasso...
package me.urbanowicz.samuel.cloudytodos.base; public interface PresenterFactory<P extends BasePresenter> { P create(); }
package com.udacity.popularmovies.utils; import com.udacity.popularmovies.model.Movie; import com.udacity.popularmovies.model.Review; import com.udacity.popularmovies.model.Trailer; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import java.util.List...
/* * Copyright 2007 Bastian Schenke 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 agreed to in writing, ...
package com.tencent.mm.protocal.c; import f.a.a.b; import f.a.a.c.a; import java.util.LinkedList; public final class lx extends bhp { public String desc; public int hUm; public String hUn; public String hqp; public String hwH; public String mwO; public String plj; public boolean rpZ; ...
package ejercicio4; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.StringReader; import java.io.StringWriter; import java.net.URL; import java.text.ParseException; import java.util.Scanner; import javax.xml.parsers.DocumentBuil...
package com.techathon.service; import com.avaje.ebean.EbeanServer; import com.techathon.model.entity.Exercise; import com.techathon.model.entity.ExerciseRequest; import org.springframework.stereotype.Service; import javax.inject.Inject; import java.time.LocalDateTime; import java.time.ZoneId; import java.util.Date; i...
package cn.cnmua.car.service.Imp; import cn.cnmua.car.dao.ApplyMapper; import cn.cnmua.car.domian.Apply; import cn.cnmua.car.service.ApplyService; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.springframework.beans.fact...
package TankGame.GameObj; import java.awt.*; public abstract class Gameobj { public abstract Rectangle getBound(); public abstract int getxCoor(); public abstract int getyCoor(); public abstract int getWidth(); public abstract int getHeight(); public abstract void HandleCollision(G...
/* * 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 edufarming; /** * * @author Frederick */ public class Product { public String name; public int quantit...
package com.tbt.testapi; public class Processer { public void execute(String taskId) { } public void readTask(String taskId) { } }
package com.company; import java.util.*; public class Solution { public static void main(String[] args) { /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */ int lastAns = 0; Scanner scan = new Scanner(System.in); int N =...
package net.hongqianfly.factorypattern.factoryMethod; import android.util.Log; /** * Created by HongQian.Wang on 2017/11/2. */ public class Bus implements Car { @Override public void gotoWork() { Log.e("msg","坐公交去上班"); } }
package com.example.stirdiary; import android.content.Context; import android.content.SearchRecentSuggestionsProvider; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import java.util.ArrayList; import java.util.Collection; import java.ut...
package com.pay.beans.dictionary.view; import com.pay.beans.dictionary.base.BaseDict; /** * @author LiYabin */ public enum UserStatusDict implements BaseDict { on("1"), us("1"), off("200") ; private String value; UserStatusDict(String value){ this.value = value; } @Override...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the te...
package com.kumar.penguingame; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.Tex...
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2015 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Ge...
public class Student { private String name; private String major; public Student() { name = null; major = null; } public Student(String n, String m){ name = n; major = m;} public void setName(String l) { name = l; } public void setMajor(String m){ major = m; } public int getLength() {...