text stringlengths 10 2.72M |
|---|
package arenaworker.abilities;
import arenaworker.Player;
import arenaworker.abilityobjects.ShieldBubble;
public class ForceField extends Ability {
ShieldBubble shieldBubble;
double duration = 2000L;
double lastCreated;
public ForceField(Player player, int abilityNum) {
super(player, abi... |
package view;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.util.ArrayList;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
impor... |
package cn.bird.ttmonitor.util;
import org.apache.commons.configuration.PropertiesConfiguration;
import org.apache.commons.configuration.reloading.FileChangedReloadingStrategy;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ConfigUtil {
public static final Logger logger = LoggerFactory... |
package com.jiw.dudu.aop;
import cn.hutool.json.JSONUtil;
import com.jiw.dudu.annotations.LogRecordAnnotation;
import com.jiw.dudu.entities.logs.Convert;
import com.jiw.dudu.entities.logs.LogRecord;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotati... |
/*
* 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.afs.invoiceapi.model.response;
import com.afs.invoiceapi.model.Invoice;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;
public class InvoiceResponse {
private String id;
private Date createdDate;
private List<InvoiceItemResponse>... |
package com.lvc.coolweather.db;
import org.litepal.crud.DataSupport;
/**
* Created by lvc on 2017/2/11.
*/
public class Province extends DataSupport {
private int id;
private String provinveName; //省名称
private int provinveCode; // 省 代码
public int getId() {
return id;
... |
package ist.meic.ie.msisdn.delete;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.LambdaLogger;
import ist.meic.ie.utils.Constants;
import ist.meic.ie.utils.DatabaseConfig;
import ist.meic.ie.utils.KafkaConfig;
import ist.meic.ie.utils.ZookeeperConfig;
import org.jso... |
package com.jim.multipos.ui.admin_auth_signin;
import com.jim.multipos.core.BaseView;
import com.jim.multipos.data.network.model.SigninResponse;
public interface AdminAuthSigninActivityView extends BaseView {
void onSignInSucces(SigninResponse response);
void onSignInError(String error);
}
|
package visao;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import dados.Cidade;
import dao.PrefeitoDAO;
import servicos.Validacao;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import java.awt.Color;
import java.awt.Font;
import java.awt.Toolkit;
import j... |
package one.kii.summer.asdf.api;
import one.kii.summer.io.context.ReadContext;
import one.kii.summer.io.exception.BadRequest;
import one.kii.summer.io.exception.Panic;
import java.util.List;
/**
* Created by WangYanJiong on 05/06/2017.
*/
public interface SearchApi<R, C extends ReadContext, F> {
List<R> searc... |
package com.ensah.web;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.ModelAttribut... |
//Given n, how many structurally unique BST's (binary search trees) that store values 1 ... n?
class Solution {
public int numTrees(int n) {
int[] dp = new int[n + 1];
if (n < 2) return 1;
dp[0] = 1;
dp[1] = 1;
//dp[2] = 2;
for (int i = 2; i <= n; i++) {
... |
/*
* Copyright 2012-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/**
*
*/
package Utility;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.util.List;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.DataFormatter;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Workb... |
package vamk.jsp.assignment3.servlets;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import javax.activation.MimetypesFileTypeMap;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
... |
import java.util.ArrayList;
/**
* A standard account is an account for customers who can download music from the music web site. They are represented by 3 field variables: balance, titlesBought, and failedLoginAttempts of types int, ArrayList<MusicTitle>, and int, respectively. Only three login attempts are possible... |
package marcio.tcc.estacionamento.apresentacao;
import javax.swing.JFrame;
import marcio.tcc.estacionamento.negocio.Movimentacao;
import marcio.tcc.estacionamento.utilitario.EstacionamentoUtil;
import javax.swing.JLabel;
import javax.swing.JButton;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.ev... |
package de.Hero.clickgui.elements;
import de.Hero.clickgui.Panel;
import de.Hero.clickgui.elements.menu.ElementCheckBox;
import de.Hero.clickgui.elements.menu.ElementComboBox;
import de.Hero.clickgui.elements.menu.ElementSlider;
import de.Hero.clickgui.util.ColorUtil;
import de.Hero.clickgui.util.FontUtil;
import de.H... |
package com.utils.tools.research.config;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;
public interface Ba... |
package de.fatoak.engine.android;
import android.os.Bundle;
import android.util.Log;
import android.view.MotionEvent;
import java.io.InputStream;
import de.fatoak.beerfish.game.GameApp;
import de.fatoak.engine.game.LevelNotFoundException;
import de.fatoak.engine.game.LevelSelector;
import de.fatoak.engine.scene.Scen... |
package com.example.SBNZ;
import com.example.SBNZ.enums.diet.Goal;
import com.example.SBNZ.model.User;
import com.example.SBNZ.model.training.CurrentFact;
import com.example.SBNZ.model.training.Exercise;
import com.example.SBNZ.model.training.HeartRateProblem;
import com.example.SBNZ.model.training.InputDataTraining;
... |
package frc.robot.subsystems;
//import com.ctre.phoenix.motorcontrol.can.VictorSPX;
import edu.wpi.first.wpilibj.PWMVictorSPX;
import edu.wpi.first.wpilibj.drive.MecanumDrive;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
import frc.robot.Constants.DriveConst;
public class Drivetrain extends Subsys... |
package com.ali.shop.mapper;
import com.ali.shop.entity.SpecGroupEntity;
import tk.mybatis.mapper.common.Mapper;
public interface SpecGroupMapper extends Mapper<SpecGroupEntity> {
}
|
package championships.results;
import java.util.*;
import java.io.*;
import championships.results.ranking.*;
public class ResultFinal implements Results{
private String golds;
private String silvers;
private String bronzes;
private List<Result> results=new ArrayList<>();
public static class Result {
String e... |
package com.zjh.GenderClassification.util;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import org.apache.hadoop.io.Writable;
// 实现用户性别分类
public class DistanceAndLabel implements Writable {
private double distance;
private String label;
public DistanceAndLabel() { }
... |
import java.util.Scanner;
public class TiempoRestanteHHMMSS {
public static void main(String[] args) {
int horas;
int minutos;
int segundos;
int horasRestantes;
int minutosRestantes;
int segundosRestantes;
Scanner t = new Scanner(System.in);
System... |
package nabd;
import nabd.domain.Article;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonParser;
import com.squareup.okhttp.*;
import net.sf.json.JSON;
import net.sf.json.xml.XMLSerializer;
import java.text.SimpleDateFormat;
import java.uti... |
/*
* 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 com.entidades;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Basic;
import javax.pers... |
package ru.levelup.lesson01.Homework;
import java.io.*;
import java.lang.reflect.Field;
public class MR {
public static void main(String[] args) throws NoSuchFieldException, IllegalAccessException, IOException {
try {
//Читаем данных из файла
BufferedReader br = new BufferedReader... |
package net.drs.myapp.dao;
import java.util.Set;
import net.drs.myapp.model.CompleteUserDetails;
import net.drs.myapp.model.Fotographer;
import net.drs.myapp.model.OtpDTO;
import net.drs.myapp.model.Role;
import net.drs.myapp.model.User;
import net.drs.myapp.model.Users;
public interface IRegistrationDAO... |
package com.stream;
import org.apache.commons.lang3.StringUtils;
import java.math.BigDecimal;
import java.math.RoundingMode;
/**
*
*/
public class MyDemo {
public static void main(String[] args) {
BigDecimal length = new BigDecimal(9.99);
BigDecimal wide = new BigDecimal(10);
BigDecimal ... |
package KidneyExchange;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.io.FileWriter;
import java.io.Writer;
import java.util.List;
public class Tester {
private String outputFileName;
private boolean disablePrinting;
public Tester( String outputFileName, boolean disablePri... |
/**
* Spring Framework configuration files.
*/
package com.axelspringer.upday.config;
|
/*
* 文 件 名: QiniuDownloadService.java
* 描 述: QiniuDownloadService.java
* 时 间: 2013-7-15
*/
package com.babyshow.upload.qiniu;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import org.... |
/*
* Copyright 2015-2016 Norbert Potocki (norbert.potocki@nort.pl)
*
* 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 ... |
package fr.laas.knxsimulator.com;
import java.util.ArrayList;
import fr.laas.knxsimulator.main.StartSimulator;
/**
* A buffer to store messages received from the BUS (or to send)
*
* @author Guillaume Garzone
*
*/
public class MessagesBuffer implements Observable {
/** allows to store the message waiting fo... |
package com.milos.config;
import com.milos.domain.util.Validator;
public class ServerIp {
private String value;
public ServerIp(String value) {
if (!Validator.validIP(value)) {
throw new IllegalArgumentException("The given value '" + value + "' is not a valid IP");
}
this.... |
import java.util.*;
/**
* 131. Palindrome Partitioning
* 这题的递归回溯是有点难的。
*/
class Solution {
private boolean isPalindrome(String s, int len, int i, int j, boolean[][] palindrome) {
while (i >= 0 && j < len && s.charAt(i) == s.charAt(j)) {
palindrome[i][j] = true;
i--;
j... |
package com.aprendoz_test.data.output;
import java.util.Date;
/**
* Generated for query "_global_getSyByCurDate" on 01/19/2015 07:59:25
*
*/
public class _global_getSyByCurDateRtnType {
private Integer idsy;
private String sy;
private Date fechaDesde;
private Date fechaHasta;
public Intege... |
package haydende.mongodbdemo.domain;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.DBRef;
import org.springframework.data.mongodb.core.mapping.Document;
import java... |
package chapter03;
import java.util.Scanner;
public class Exercise03_18 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("Enter cargo's weight: ");
int weight = input.nextInt();
if (weight <= 1) {
System.out.println("The cost is $3.5 dolla... |
package solution;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* User: jieyu
* Date: 10/18/16.
*/
public class IsSubsequence392 {
public boolean isSubsequence(String s, String t) {
int indexT = 0;
for (int i = 0; i < s.length(); i++) {
... |
package com.lengjiye.code;
public enum Singleton {
SINGLETON;
public void test() {
// 要做的事情
}
}
|
/*
* [y] hybris Platform
*
* Copyright (c) 2000-2016 SAP SE
* All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* Hybris ("Confidential Information"). You shall not disclose such
* Confidential Information and shall use it only in accordance with the
* terms of the l... |
package com.czx.framework.utils;
import com.alibaba.fastjson.JSON;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
i... |
package dados.veiculo;
import negocio.entidade.Servico;
import negocio.entidade.Veiculo;
import java.util.ArrayList;
public interface IRepositorioVeiculo {
void adicionar(Veiculo veiculo);
void remover(Veiculo veiculo);
Veiculo procurarVeiculo(String placa);
ArrayList<Veiculo> getArray();
}
|
package alg.graph;
import java.io.InputStream;
import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
/**
* 邻接表实现的图
* @author yang
*
*/
public class AdjTableGraph implements Graph {
protected List<Integer>[] table;
protected int vertexN;
protected int edgeN;
@Suppress... |
package org.jasig.cas.me.controller;
import org.jasig.cas.util.UniqueTicketIdGenerator;
import org.jasig.cas.web.flow.GenerateLoginTicketAction;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;
import org.springframework.web.servlet.view.json.MappingJa... |
package ca.mohawk.jdw.shifty.server.database.activity;
/*
I, Josh Maione, 000320309 certify that this material is my original work.
No other person's work has been used without due acknowledgement.
I have not made my work available to anyone else.
Module: server
Developed By: Josh Maione (000320309)
*/... |
package com.oumar.learn.model;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.validator.constraints.NotEmpty;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.... |
package com.axellience.vueroutergwt.client.functions;
import com.axellience.vueroutergwt.client.Route;
import jsinterop.annotations.JsFunction;
/**
* @author Adrien Baron
*/
@FunctionalInterface
@JsFunction
public interface RedirectOption {
// Can return Location or String
Object redirectTo(Route route);
}
|
package br.com.univag.model;
import java.util.Calendar;
/**
*
* @author CRISTIANO
*/
public class MovimentoVo {
private int codigo;
private Calendar dataRegistro;
private VeiculoVo veiculo;
private UsuarioVo usuario;
private GuaritaVo guarita;
private int status;
privat... |
package com.tencent.mm.plugin.scanner.util;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import com.tencent.mm.model.au;
import com.tencent.mm.openim.b.e;
class e$8 implements OnCancelListener {
final /* synthetic */ e mMX;
final /* synthetic */ e mNa;
... |
package com.mimi.mimigroup.model;
public class SM_ReportSaleRep {
String reportSaleId;
String reportCode;
String reportName;
String reportDay;
Float longtitude;
Float latitude;
String locationAddress;
String receiverList;
String notes;
Integer isStatus;
String IsStatusDesc;
... |
package org.houstondragonacademy.archer.controller;
import lombok.extern.slf4j.Slf4j;
import org.houstondragonacademy.archer.dao.entity.Registration;
import org.houstondragonacademy.archer.services.RegistrationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpS... |
package com.koreait.model;
import javax.servlet.http.HttpServletRequest;
public class VegetableAction implements Action {
@Override
public String command(HttpServletRequest request) {
request.setAttribute("vegetable", "상추");
return "view/output.jsp";
}
}
|
/*
* The MIT License
*
* Copyright 2016 fernando.tsuda.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... |
/*
// Definition for a Node.
class Node {
public int val;
public List<Node> neighbors;
public Node() {
val = 0;
neighbors = new ArrayList<Node>();
}
public Node(int _val) {
val = _val;
neighbors = new ArrayList<Node>();
}
public Node(int _val, ArrayList<Node> ... |
package at.fhj.swd.presentation.viewHelper;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.PostConstruct;
import javax.faces.application.FacesMessage;
import javax.faces.bean.Mana... |
/*
* 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 bridgegame.utils;
/**
*
* @author s01412
*/
public class Tuple3<A,B,C> {
public final A first;
public final B secon... |
package com.kgisl.code;
import java.util.Scanner;
/**
* Num
*/
public class Num {
public static void main(String[] args) {
Scanner s=new Scanner(System.in);
System.out.println("You typed in");
int a=s.nextInt();
int x=a*2;
System.out.println("My numbers are:");
... |
package com.controller;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.entity.Reply;
im... |
package agenda;
import java.io.Serializable;
import tempo.*;
/**
*
* @author Luciano A S Junior
* @version 1.0(junho-2019)
*
*/
public class Lembrete extends ItemAgenda implements Serializable {
int minutosLembrete;
/**
*
* @param _titulo
* @param _descricao
* @param _periodo
*... |
package com.facemelt.spitter.domain;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax... |
package com.stem.service;
import com.stem.core.interfaces.BasicService;
import com.stem.entity.WxNewsResource;
import com.stem.entity.WxNewsResourceExample;
public interface WxNewsResourceService extends BasicService<WxNewsResourceExample, WxNewsResource> {
}
|
// Sun Certified Java Programmer
// Chapter 2, P138_2
// Object Orientation
class Clothing {
Clothing(String s) {
}
}
|
package com.tencent.mm.sandbox.updater;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import com.tencent.mm.sdk.platformtools.x;
class AppUpdaterUI$13 implements OnCancelListener {
final /* synthetic */ AppUpdaterUI sDx;
AppUpdaterUI$13(AppUpdaterUI appUpdat... |
package com.huawei.shiro.jwt.web.controller;
import com.huawei.shiro.jwt.domain.UserInfo;
import com.huawei.shiro.jwt.domain.result.ResponseResult;
import com.huawei.shiro.jwt.web.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
impor... |
package com.stem.wechat.oauth;
import java.io.IOException;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import com.alibab... |
package joostwagenaar.Ghost;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.ImageVie... |
package com.rekoe.application.game;
import org.jboss.netty.channel.ChannelHandlerContext;
import org.jboss.netty.channel.ExceptionEvent;
import org.jboss.netty.handler.timeout.IdleState;
import org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler;
import org.jboss.netty.handler.timeout.IdleStateEvent;
i... |
public class Wicket extends Character{
public Wicket(){
super("Wicket","Light Side","Rebel",false);
}
public String ewok(){
return "ewok";
}
} |
package task54;
import java.util.ArrayList;
import java.util.List;
/**
* Game between two players that keeps the score of the first player.
*
* @author Igor
*/
class Game {
private int firstPlayerScore;
// -------------------------- Public Methods--------------------------
public int getFirstPlayerScore()... |
package me.mani.clhub.portal;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.Location;
import org.bukkit.Material;
public class Portal {
public static final Material PORTAL_MATERIAL = Material.PORTAL;
private Location baseLocation;
private List<Location> locations = new ArrayList<>();
pr... |
package com.uwetrottmann.trakt5.entities;
import org.threeten.bp.OffsetDateTime;
public class WatchlistedEpisode {
public OffsetDateTime listed_at;
public Episode episode;
public Show show;
}
|
package Assignment4;
import java.util.*;
import java.util.function.UnaryOperator;
public class Assignment4Q6 {
public static void main(String[] args) {
List<String> list = new ArrayList<String>();
list.add("Alpha");
list.add("Bravo");
list.add("Charlie");
list.add("Delta");
Assignment4Q6 assign = n... |
//java applet
import java.applet.Applet;
import java.awt.Graphics;
public class javaApplet extends Applet{
public void paint(Graphics g){
g.drawString("Hello applets",50,25);
}
} |
import org.jcsp.lang.*;
import java.awt.*;
import java.awt.geom.Point2D;
public class OwnerProcess implements CSProcess {
private static final int TOTAL_PROCESS_AMOUNT = 3;
private int m = 100;
private int n = 0;
private int changeAmount = 0;
private final AltingChannelInputInt firstRandomToOw... |
package com.projects4fun.jaxbsample;
import com.projects4fun.jaxbsample.books.Book;
import com.projects4fun.jaxbsample.books.Books;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import javax.xml.bind.DataBindingException;
import javax.xml.bind.JAXB;
import java.io.File;
/**
* C... |
package com.example.testdatabase;
import android.app.Activity;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager.NameNotFoundException;
import android.content.pm.PackageManager;
import android.util.Log;
/**
* Log出力の拡張クラス<br>
*
* */
public class Logger extends Activity {
private... |
package entity;
import javax.persistence.*;
import java.io.Serializable;
import java.util.List;
@Entity
@Table(name = "category")
public class Category implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "CATEGORY_ID")
private long categoryId;
@OneToM... |
package it.uniroma3.repository.jpa;
import java.util.List;
import javax.persistence.EntityManager;
import it.uniroma3.model.Azienda;
import it.uniroma3.repository.AziendaRepository;
public class AziendaJpaRepository implements AziendaRepository {
EntityManager em;
@Override
public Azienda save(A... |
package com.lxy.servlet;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.Date;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRespons... |
package com.webcloud.manager.client;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import com.alibaba.... |
package botenanna.display;
import javafx.geometry.Insets;
import javafx.scene.control.Label;
import javafx.scene.layout.Background;
import javafx.scene.layout.BackgroundFill;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.scene.paint.Color;
import javafx.scene.text.Font;
/** Abstract ... |
package com.rc.portal.dao.impl;
import java.sql.SQLException;
import java.util.List;
import com.ibatis.sqlmap.client.SqlMapClient;
import com.rc.app.framework.webapp.model.page.PageManager;
import com.rc.app.framework.webapp.model.page.PageWraper;
import com.rc.portal.dao.TLongDAO;
import com.rc.portal.vo.TLong;
impo... |
package org.firstinspires.ftc.teamcode.opmodes;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import org.firstinspires.ftc.teamcode.robot.Drive;
import org.firstinspires.ftc.teamcode.robot.Hardware;
@TeleOp(name = "Test: Drive", group = "Test")
pub... |
package lk.cmb.ucsc.drivingschool.utility;
import lk.cmb.ucsc.drivingschool.repo.QuizQuestionRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class GenerateQuizQuestionId {
@Autowired
private QuizQuestionRepo quizquestionRepo;... |
package com.rc.portal.vo;
import java.util.Date;
public class TStatic {
private Long id;
private String staticName;
private String staticMehtod;
private String templatePath;
private String templateName;
private String outPath;
private Date updateDate;
private Date createDate;
... |
package com.wooklab.designpattern.strategypattern.duck.type;
public interface QuackBehavior {
void quack();
} |
package com.dzz.policy.api.service;
import com.dzz.policy.api.config.PolicyServiceFeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
/**
* 图形短信验证码接口
*
* @author dzz
* @version 1.0.0
* @since 2019年08月19 17:34
*/
@FeignClient(name = "policy-service", configuration = PolicyServiceFeignConf... |
package com.fleet.file.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* @author April Han
*/
@Component
@ConfigurationProperties(prefix = "file")
public class FileConfig {
private String filePath;
private String bigF... |
package xu.qiwei.com.jpushtest;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.PaintFlagsDrawFilter;
import android.graphics.Rect;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.Looper;... |
package com.jack.jkbase.mapper;
import org.apache.ibatis.annotations.Select;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jack.jkbase.entity.SysFunction;
public interface SysFunctionMapper extends BaseMapper<SysFunction>{
//返回空值或者最大值
@Select("select max(F_Value) from sys_function where F_Modu... |
package ch22.ex22_10;
import java.io.IOException;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
import java.util.regex.MatchResult;
import java.util.regex.Pattern;
import ch22.ex22_09.CSVScanner;
public class Read... |
package com.github.ovchingus;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;
import java.io.IOException;
public class MainApp extends Application {
private S... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.cmcc.pay;
import org.apache.commons.net.ftp.FTPClient;
import org.apache.commons.net.ftp.FTPClientConfig;
import org.apache.commons.net.ftp.FTPFile;
import org.apache.commons.net.ftp.FTPReply;
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import ja... |
package tabuleiro;
import java.util.ArrayList;
import dados.Dado;
import jogador.Jogador;
public class Celula {
private int posicao;
private String tipo;
public Celula(int posicao, String tipo){
this.setPosicao(posicao);
this.setTipo(tipo);
}
public int getPosicao() {
return posica... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.