text
stringlengths
10
2.72M
package com.smxknife.springdatajpa.model.ent; import lombok.Getter; import lombok.Setter; import javax.persistence.*; import java.util.List; /** * @author smxknife * 2020/11/19 */ @Getter @Setter @Entity @Table(name = "tb_ent_workshop") public class WorkShop extends EntItem { private String code; private Strin...
package com.mysql.cj.jdbc.exceptions; import com.mysql.cj.exceptions.DeadlockTimeoutRollbackMarker; import java.sql.SQLTransactionRollbackException; public class MySQLTransactionRollbackException extends SQLTransactionRollbackException implements DeadlockTimeoutRollbackMarker { static final long serialVersionUID = ...
/** * Helios, OpenSource Monitoring * Brought to you by the Helios Development Group * * Copyright 2014, Helios Development Group and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free softw...
package cn.tedu.note.dao; import java.util.List; import java.util.Map; import javax.annotation.Resource; import org.springframework.orm.hibernate3.HibernateTemplate; import org.springframework.stereotype.Repository; import cn.tedu.note.entity.User; @Repository("userDao") public class UserDaoImpl implements UserDao...
import java.util.ArrayList; public class Board { ArrayList<Square> Squares = new ArrayList<Square>(); ArrayList<WildCard> wildCards = new ArrayList<WildCard>(); static ArrayList<Piece> pieces = new ArrayList<Piece>(); /* * Adds sqare to the arraylist */ public void addSquare(Square square) { Squares.add...
package travel.mp.com.travel; import android.app.Activity; import android.os.Bundle; import android.os.Handler; public class IntroSplash extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView...
package org.buaa.ly.MyCar.service; import org.buaa.ly.MyCar.http.dto.StoreDTO; import java.util.List; public interface StoreService { StoreDTO find(int id); List<StoreDTO> find(); StoreDTO insert(StoreDTO storeDTO); StoreDTO update(int id, StoreDTO storeDTO); StoreDTO delete(int id); }
package com.fitpolo.support.task; import android.text.TextUtils; import com.fitpolo.support.FitConstant; import com.fitpolo.support.OrderEnum; import com.fitpolo.support.callback.OrderCallback; import com.fitpolo.support.entity.BaseResponse; import com.fitpolo.support.entity.req.SitLongTimeAlert; import com.fitpolo.s...
package edu.gcu.cst105.uno; public class deckClass { }
package utilities; /** * This class encapsulates customer details into an object. * * @author Darren */ public class Customer { private int id; private String username; private String password; private String fullName; private String telephoneNumber; /** * Constructor that takes in an array of th...
/* * Copyright (c) 2009-2011 by Bjoern Kolbeck, * Zuse Institute Berlin * * Licensed under the BSD License, see LICENSE file for details. * */ package org.xtreemfs.common.clients; import java.io.IOException; import java.net.InetSocketAddress; import java.util.ArrayList; import java.util.HashMap; i...
package com.google.android.gms.analytics; import android.text.TextUtils; import com.google.android.gms.analytics.internal.a; import com.google.android.gms.analytics.internal.q; import com.google.android.gms.c.ae; import com.google.android.gms.c.ag; import com.google.android.gms.c.h; public class c extends ag<c> { ...
package com.boot.third.domain; import lombok.Getter; import lombok.Setter; import lombok.ToString; import org.hibernate.annotations.CreationTimestamp; import javax.persistence.*; import java.sql.Timestamp; @Getter @Setter @ToString @Entity @Table(name="users") public class User { @Id @GeneratedValue(strateg...
package ru.job4j.sortirovka.sortirovkacomparator; import java.util.Comparator; public class ComparatorByNameLength implements Comparator<User> { @Override public int compare(User a, User b) { if (a.getName().length() > b.getName().length()) { return 1; } else if (a.getName().length...
package com.example.rodol.android_meusalbuns_sql.view.adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.example.rodol.android_meusalbuns_sql.R; import com.example.rodol.android...
/** * */ package com.yougou.yop.api.service; import java.util.Arrays; import java.util.Map; import java.util.TreeMap; import javax.annotation.Resource; import org.apache.commons.lang.StringUtils; import org.springframework.data.redis.core.HashOperations; import org.springframework.stereotype.Service; import com....
package dk.aau.controllers.sygehus; import dk.aau.App; import dk.aau.models.database.DatabaseManipulator; import dk.aau.models.patient.Generelinfo; import dk.aau.models.patient.Patient; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.scene.control.CheckBox; i...
package SortingAlgorithms; import Controller.Simulation; public class HeapSort { int Heap_Size; Simulation sim = Simulation.get_instance(); public void Heap_Sort(int a[]) { int temp; Build_max_heap(a); for (int i = a.length - 1; i >= 1; i--) { temp = a[i]; a[i] = a[0]; a[0] = temp; sim.setCurr...
package org.globsframework.sqlstreams.annotations; import org.globsframework.metamodel.GlobType; import org.globsframework.metamodel.GlobTypeLoaderFactory; import org.globsframework.metamodel.annotations.GlobCreateFromAnnotation; import org.globsframework.metamodel.annotations.InitUniqueKey; import org.globsframework....
package com.snab.tachkit.databaseRealm.structureTableDatabase; import io.realm.RealmObject; /** * Created by Таня on 13.03.2015. * Таблица - связей для каждой категории тип кабины */ public class LinkCapType extends RealmObject { private int id_link_advert_cap_type; private int link_advert_type_id; pri...
package Management.HumanResources.FinancialSystem; import java.util.ArrayList; /** * 审阅报告历史版本的存储列表 * <b>使用单例模式,同时是备忘录模式的组分</b> * @author 陈垲昕 * @since 2021/10/29 3:56 下午 */ public class ReportAuditHistoryList { /** * 全局单例 */ static private ReportAuditHistoryList instance; /** * 存储审阅报...
package ru.ibs.intern.service; import ru.ibs.intern.entity.Area; import ru.ibs.intern.entity.Vacancy; public interface VacanciesService { //Vacancy addVacancy(Long id, String name, Area area, Number salaryFrom, Number salaryTo, String salaryCurrency); }
/* * generated by Xtext */ package com.rockwellcollins.atc.services; import com.google.inject.Singleton; import com.google.inject.Inject; import java.util.List; import org.eclipse.xtext.*; import org.eclipse.xtext.service.GrammarProvider; import org.eclipse.xtext.service.AbstractElementFinder.*; @Singleton publi...
package me.leafs.cf.gui; import lombok.Getter; import lombok.RequiredArgsConstructor; import me.leafs.cf.ChatFilter; import me.leafs.cf.config.ChatFilterConfig; import me.leafs.cf.filters.BaseFilter; import me.leafs.cf.gui.elements.FilterButton; import me.leafs.cf.gui.elements.FilterTile; import me.leafs.cf.utils.Chat...
package lapechealaqueue.episode1.activities; import java.io.IOException; import java.util.List; import java.util.Vector; import lapechealaqueue.episode1.Activities; import lapechealaqueue.episode1.Home; import lapechealaqueue.episode1.R; import android.app.Activity; import android.content.Context; import android.cont...
package br.com.luvva.challenge.test.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; /** * @author Amsterdam Luís */ public class JavaUtils { private JavaUtils () { } /** * Reads the contents of a file in the resour...
package org.sonar.plugins.profiler; import org.sonar.api.web.AbstractRubyTemplate; import org.sonar.api.web.Widget; /** * @author Evgeny Mandrikov */ public class ProfilerWidget extends AbstractRubyTemplate implements Widget { public String getId() { return "profiler-widget"; } public String getTitle() {...
package com.base.crm.revisit.record.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.base.crm.revisit.record.dao.CustRevisitRecordMapper; import com.base.crm.revisit.record.entity.CustRevisitRecord; ...
package pro.eddiecache.kits.paxos.messages; public class Abort implements SpecialMessage { private static final long serialVersionUID = 1L; public final long viewNo; public final long seqNo; public Abort(long viewNo, long seqNo) { this.viewNo = viewNo; this.seqNo = seqNo; } @Override public MessageType g...
/* * Copyright 2018 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
public class Worksite3 { public static void main(String[] args) { Worker alex = new Worker(); Tradesperson barbara = new Tradesperson(); Carpenter carol = new Carpenter(); //alex.doWoodwork(); //can't inherit from a subclass //barbara.doWoodwork(); //can't inherit fro...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation...
import java.util.*; import java.lang.*; class GFG { // extended Euclidean Algorithm public static int gcdExtended(int a, int b, int x, int y) { // Base Case if (a == 0) { x = 0; y = 1; return b; } int x1=1, y1=1; // To...
package ru.otus.spring.barsegyan.dto.rest.base; import com.fasterxml.jackson.annotation.JsonInclude; @JsonInclude(JsonInclude.Include.NON_NULL) public class ApiResponse<T> { private final T data; private final ApiError error; private ApiResponse(T data, ApiError error) { this.data = data; ...
package week2.day2; import java.util.ArrayList; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import io.github.bonigarcia.wdm.WebDriverManager; public class Ass1part6Webtable { public static void main(Strin...
import java.io.*; public class PomocnikGry { public String pobierzDaneWejsciowe(String komunikat) { String wierszWej = null; System.out.print(komunikat + " "); try { BufferedReader sw = new BufferedReader( new InputStreamReader(System.in)); wierszWej = sw.readLine(); if (wie...
package firstDayTask4; /** *位哲武 * 2019/3/10 */ //创建一个精灵类,实现接口CanMove和CanSing public class Spirit implements CanMove ,CanSing{ // 实现CanMove方法 public void move() { System.out.println("可移动"); } // 实现CanMove方法 public void sing(){ System.out.println("可唱歌"); } public static void ...
package com.smxknife.security.java.core; import java.io.File; import java.io.IOException; import java.security.AccessController; import java.security.PrivilegedAction; /** * @author smxknife * 2019-08-14 */ public class PrivilegedFileUtil { public static boolean canRead(String fileName) { // TODO 没加任何异常 File...
package edu.nyu.server; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.StringWriter; import java.net.HttpURLConnection; import java.net.ProtocolException; import java.net.URL; import java.util.Arrays; import java.util.Map; import j...
package it.polimi.ingsw.GC_21.fx; import java.io.IOException; import it.polimi.ingsw.GC_21.CLIENT.ChooseActionMessage; import it.polimi.ingsw.GC_21.CLIENT.Connections; import it.polimi.ingsw.GC_21.CLIENT.GameOverMessage; import it.polimi.ingsw.GC_21.CLIENT.MessageToClient; public class MessThread extends Thread{ p...
/* * UniTime 3.4 - 3.5 (University Timetabling Application) * Copyright (C) 2012 - 2013, UniTime LLC, and individual contributors * as indicated by the @authors tag. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * ...
package com.tencent.mm.plugin.appbrand.appcache; import android.widget.Toast; import com.tencent.mm.sdk.platformtools.ad; class j$4 implements Runnable { final /* synthetic */ j ffE; final /* synthetic */ String ffJ; j$4(j jVar, String str) { this.ffE = jVar; this.ffJ = str; } pu...
package mobileos.usna.edu; import android.widget.ImageView; import java.io.Serializable; /** * Author: MIDN Hitoshi Oue * Date: April 24, 2019 * Description: this is the class responsible for storing island information from the * database. this class is designed to take in information such as * ...
/* 题目 生产者(Productor)将产品交给店员(Clerk),而消费者(Customer)从店员处取走产品, 店员一次只能持有固定数量的产品(比如:20),如果生产者试图生产更多的产品,店员会 叫生产者停一下,如果店中有空位放产品了再通知生产者继续生产;如果店中没有产品了, 店员会告诉消费者等一下,如果店中有产品了再通知消费者来取走产品。 分析 是不是有多线程? 有,生产者+消费者+店员 有没有共享数据? 有:店员(产品数量)--》店员不能作为线程 共享数据都干什么:产品加减 是否有线程通信? 有,店员通知生产者停产+通知消费者没有产品等待 -->共享数据类中需要加有通知 */ pac...
package duke.task; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; /** * This class represents a deadline, a task with a deadline. */ public class Deadline extends Task { private LocalDateTime deadline; /** * Constructor for Deadline, which takes in a task name and a deadlin...
package com.linda.framework.rpc.nio; import com.google.common.base.Objects; import com.linda.framework.rpc.RpcObject; import com.linda.framework.rpc.exception.RpcException; import com.linda.framework.rpc.net.AbstractRpcConnector; import org.apache.log4j.Logger; import java.io.IOException; import java.nio.ByteBuffer; ...
package com.koreait.dao; import java.util.List; import java.util.Map; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import com.koreait.dto.BoardDto; import com.koreait.mybatis.config.DBService; public class BDao { // Field private SqlSessionFactory...
package com.tencent.mm.plugin.remittance.ui; import com.tencent.mm.plugin.remittance.model.a; import com.tencent.mm.protocal.c.xb; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.ui.widget.picker.d.b; class RemittanceBusiUI$8 implements b { final /* synthetic */ RemittanceBusiUI mBt; Remitta...
package com.beiyelin.monitor.service; import com.beiyelin.common.service.MessageService; import com.beiyelin.monitor.entity.LoginTracker; import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.annotation.Rollback; import java.util...
package com.zcc.contactapp.server.controller; import com.zcc.contactapp.server.dao.ContactInfo; import com.zcc.contactapp.server.db.hibernate.JpaContactorRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.anno...
package com.tencent.xweb.x5; import android.content.Context; import android.webkit.ValueCallback; import com.tencent.smtt.sdk.JsContext; import com.tencent.xweb.c.g; import com.tencent.xweb.d; import java.net.URL; import java.nio.ByteBuffer; import org.xwalk.core.Log; public final class h implements g { d gex; ...
package agents.anac.y2014.kGA_gent.library_genetic; import java.util.List; /* * 世代更新インターフェース * 実装�る���,���リストを���り�次世代����リストを返��る * * ���更新�終了判断 */ public interface GenerationChange { ...
package com.cyriii.entity; import lombok.Data; import lombok.experimental.Accessors; /** * 用户信息 */ @Data @Accessors(chain = true) // 开启链式调用 public class SysUser { /** * 用户id */ private String Id; /** * 用户昵称 */ private String nickName; /** * 用户名 */ private ...
package com.game.snakesAndLadder; public class Player { private int position; private Board board; private int turn = 0; public Player() { position = 1; } public void rollDice() { if(turn == 10) throw new IllegalStateException("Player turns have exhausted!"); ...
package com.tencent.mm.plugin.emoji.ui.v2; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListener; import com.tencent.mm.R; import com.tencent.rtmp.TXLiveConstants; class EmojiStoreV2SingleProductUI$9 implements OnMenuItemClickListener { final /* synthetic */ EmojiStoreV2SingleProductU...
package com.cnk.travelogix.core.flightview.fnbclient.dto; import org.codehaus.jackson.annotate.JsonAutoDetect; import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility; import org.codehaus.jackson.annotate.JsonIgnore; import org.codehaus.jackson.annotate.JsonIgnoreProperties; import org.codehaus.jackson.annotate...
/* * #%L * Over-the-air deployment webapp * %% * Copyright (C) 2012 SAP AG * %% * 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 *...
package org.newdawn.slick.tests; import org.newdawn.slick.AppGameContainer; import org.newdawn.slick.BasicGame; import org.newdawn.slick.Game; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; import org.newdawn.slick.command.BasicCommand; import org.ne...
package com.app.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.stereotype.Service; import com.app.model.User; import com.app.repo.UserRepo; import com.app.service.IUserService; @Service p...
package inheritance.overloading; public class MyMath { double x,y; public MyMath(double x, double y) { this.x = x; this.y = y; } public double multiply() { return x*y; } public static double multiply(double a, double b) { return a*b; //return x*y; //비정적 필드 x와 y를 정적메소드 내부에서 사용할수없다. //return this...
package mypackage1; public class ClaseDep { String codigo; String descr; String idcompra; String fecha; String total; String nomcli; String apecli; String nomobr; String nomemp; String apeemp; public ClaseDep() { } public String getCodigo() { return codigo; } public void setCo...
package com.bowlong.sql; public enum CacheModel { NO_CACHE, // 不缓存 FULL_CACHE, // 全缓存 HOT_CACHE, // 热缓存 (未使用) FULL_MEMORY, // 全内存 STATIC_CACHE // 静态缓存(数据不增长) }
import javax.json.JsonObject; import java.io.IOException; import java.io.PrintStream; import java.net.ConnectException; import java.net.InetSocketAddress; import java.net.Socket; import java.net.SocketTimeoutException; import java.util.*; /** * This system works to validate a set of ad bidding servers which can be bo...
package com.example.amosh.newsfeedguardian; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.Uri; import android.os.AsyncTask; import android.os.Parcelable; import android.support.v7.app.AppCompatActivity; import a...
package com.bingo.code.example.design.command.macros; /** * �������������� */ public class PorkCommand implements Command { private CookApi cookApi = null; public void setCookApi(CookApi cookApi) { this.cookApi = cookApi; } public void execute() { this.cookApi.cook("�������"); } }
package commonproductcore; import java.util.*; import java.io.Serializable; import de.hybris.platform.util.*; import de.hybris.platform.core.*; import de.hybris.platform.jalo.JaloBusinessException; import de.hybris.platform.jalo.type.*; import de.hybris.platform.persistence.type.*; import de.hybris.platform.persiste...
package uz.projects.wallpaper.models; import java.io.Serializable; import java.util.List; public class Category implements Serializable { private String title; private List<ImageData> imageDataList; public Category(String title, List<ImageData> imageDataList) { this.title = title; ...
package com.ece496; import android.app.DatePickerDialog; import android.app.Dialog; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.DialogFragment; import android.support.v4.app.Fragment; import android.util.Log; import andr...
package crawler_test; import java.io.*; import java.net.URL; import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.io.FileUtils; public class Test1 { public static void main(String[] args) throws Exception { String url = "http://www.hzim.or...
package nc.prog1415; import androidx.fragment.app.FragmentActivity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.widget.Button; import com.google.android.gms.maps.CameraUpdat...
package proxypatten.Proxy; import proxypatten.Store.AgencyStore; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; public class RunTimeAgencyCarStoreProxy implements InvocationHandler { private Object object; public Object newProxy(Object object){ ...
package com.saasbp.auth.adapter.in.web; import java.util.UUID; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMappi...
package com.itheima.service; import com.itheima.entity.Result; import com.itheima.pojo.CheckGroup; import java.util.List; /** * 检查组服务接口 */ public interface CheckGroupService { /** * 新增检查组 * @param checkGroup * @param checkitemIds */ void add(CheckGroup checkGroup, List<Integer> checkite...
package com.beiming.modules.sys.resources.mapper; import com.beiming.modules.base.mapper.BaseMapper; import com.beiming.modules.sys.resources.domain.entity.resourceWeijianwei; import org.apache.ibatis.annotations.Mapper; @Mapper public interface resourceWeijianweiMapper extends BaseMapper<resourceWeijianwei> { }
package com.tt.miniapp.msg.file; import java.io.File; import java.util.HashMap; import org.json.JSONObject; public class ApiStatCtrl extends AbsStringParamCtrl { public ApiStatCtrl(String paramString) { super(paramString); } protected boolean handleInvoke() { String str = optString("path"...
/* * 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 ...
package com.storytime.client.joinroom; import de.novanic.eventservice.client.event.Event; import de.novanic.eventservice.client.event.domain.Domain; import de.novanic.eventservice.client.event.domain.DomainFactory; public class LobbyRoomHostedEvent implements Event { private static final long serialVersi...
/******************************************************************************* * Copyright 2020 Grégoire Martinetti * * 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://ww...
package com.pz.Converter; import com.pz.DataBase.PokojeZdjecia; import com.pz.Dto.PokojeZdjeciaDto; import org.springframework.stereotype.Component; @Component public class PokojeZdjeciaConverterImpl implements PokojeZdjeciaConverter { @Override public PokojeZdjecia convertToEntity(PokojeZdjeciaDto pokojeZdje...
package com.tencent.mm.ac; import com.tencent.mm.ab.d; import com.tencent.mm.kernel.g; import com.tencent.mm.model.bv.a; import com.tencent.mm.platformtools.ab; import com.tencent.mm.protocal.c.by; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.sdk.platformtools.bl; import com.tencent.mm.sdk.platfor...
package com.rizqisatria.go_travel; import android.app.DatePickerDialog; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import andro...
package graph; /** * This is for DiGraph * to implement Depth first search * @author c0kalla * */ public class DepthFirstSearch { private boolean[] marked; private int[] edgeTo; private int s; public DepthFirstSearch(DiGraph g, int s) { this.marked = new boolean[g.V()]; this.edgeTo = new int[g.V()]; ...
package com.example.rohitkumarbhamu.coolvachans.data; import android.util.Log; import com.android.volley.Request; import com.android.volley.Response; import com.android.volley.VolleyError; import com.android.volley.toolbox.JsonArrayRequest; import com.example.rohitkumarbhamu.coolvachans.controller.AppController; impo...
package com.liu.asus.yikezhong; import android.app.AlertDialog; import android.app.Dialog; import android.app.ProgressDialog; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.net.Uri; import android.os...
package models; import java.util.*; import javax.persistence.*; import play.db.ebean.*; @MappedSuperclass public class Advertisement extends Model { @Id public Long id; @ManyToOne public Student student; public String course; public String description; public boolean testAd; //static methods publi...
package org.tellervo.desktop.odk.fields; import java.util.ArrayList; import java.util.Enumeration; import org.tellervo.desktop.odk.SelectableChoice; import org.tridas.interfaces.ITridas; public class ODKUserDefinedChoiceField extends AbstractODKChoiceField { private static final long serialVersionUID = 1L; pr...
package com.example.wanghong.criminalintent; import java.io.Serializable; /** * Created by wanghong on 2016/6/1. */ public class Time implements Serializable { private int hour; private int min; public Time(int h,int m) { this.hour=h; this.min=m; } @Override publ...
package PresentationLayer.View; import javax.swing.*; import java.awt.*; import java.awt.event.ActionListener; /** * The type Raport view. */ public class RaportView extends JFrame { private JTextField intervalMin = new JTextField(); private JTextField intervalMax = new JTextField(); private JTextField...
package com.app.cosmetics.api; import lombok.Getter; import lombok.Setter; import javax.validation.constraints.Email; import javax.validation.constraints.NotBlank; @Setter @Getter public class AccountRequest { private String username; private String password; @Email private String email; @NotB...
package com.zoneigh.clappybird.render; import java.util.ArrayList; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.Texture.TextureWrap; import com.badlogic.gdx.graphics.g2d.Animation; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.gdx....
package org.firstinspires.ftc.teamcode.teamcode.libraries;//package org.firstinspires.ftc.teamcode.libraries; // //import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; // //import org.firstinspires.ftc.robotcore.external.matrices.OpenGLMatrix; //import org.firstinspires.ftc.robotcore.external.matrices.VectorF; ...
package com.jc.databinding.util; /** * Created by jc on 2016-5-12. */ public class StringUtils { public static boolean isEmpty(Object object){ return object == null || object.toString() == ""; } public static String trimString(String str){ return isEmpty(str)?"":str.trim(); } }
package com.weixin.controller; import com.weixin.service.LoginService; import me.chanjar.weixin.common.error.WxErrorException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import or...
package netbase; /** * @author kangkang lou */ import java.util.Scanner; /** * 分类讨论下。 * <p> * 显然,任意数和 4 的倍数相乘,其结果仍是 4 的倍数; * 显然,若存在任意数量 2 的倍数,两两之间乘起来就是 4 的倍数; * 如果存在一个数不是 2 的倍数,即它是一个奇数: * 放在 2 的倍数旁边,一定不符合要求; * 放在 4 的倍数旁边,相乘结果仍是 4 的倍数。 * <p> * <p> * 因此符合要求的排列分两种情况: * <p> * 存在 2 的倍数,所有 2 的倍数相邻排列,需要一个 4 的...
package com.example.railway.service.Machinist; import com.example.railway.model.Locomotive; import com.example.railway.model.Machinist; import java.util.List; public interface IMachinistService { Machinist update(Machinist machinist); Machinist delete(String id); Machinist getById(String id); Machini...
public class DeJaMort extends Exception { }
package com.pearl.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import org.spring...
package canalsprojects.mysql_products; /** * Created by knals on 27/08/2014. */ import java.util.HashMap; import java.util.List; import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapte...
// ********************************************************************** // // Generated by the ORBacus IDL to Java Translator // // Copyright (c) 2002 // IONA Technologies, Inc. // Waltham, MA, USA // // All Rights Reserved // // ********************************************************************** // Version: 4.2....
package io.x666c.glib4j.graphics; import java.awt.Color; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import javax.swing.JFrame; import io.x666c.glib4j.GDisplay; import io.x666c.glib4j.GFrame; public class DisplayRenderer extends Renderer { private final GDisplay display; public DisplayRen...