text stringlengths 10 2.72M |
|---|
package com.huawei.parkinglot.entity.vehicle;
import java.util.ArrayList;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name = "vehicle")
public class SUV extends Vehicle {
public SUV(String licensePlate) {
this.licensePlate = licensePlate;
this.type = VehicleType.SUV;
... |
/*
* 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 jpaModel;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;... |
package pe.gob.trabajo.repository;
import pe.gob.trabajo.domain.Discapate;
import org.springframework.stereotype.Repository;
import org.springframework.data.jpa.repository.*;
import java.util.List;
/**
* Spring Data JPA repository for the Discapate entity.
*/
@SuppressWarnings("unused")
@Repository
public interfa... |
package uk.co.mobsoc.beacons.transientdata;
import java.util.ArrayList;
import java.util.UUID;
import org.bukkit.entity.Player;
import uk.co.mobsoc.beacons.storage.TeamData;
/**
* Transient data containing all recent invites
* @author triggerhapp
*
*/
public class InviteData {
private static ArrayList<InviteDa... |
package com.vilio.nlbs.common.service;
import com.vilio.nlbs.commonMapper.pojo.NlbsCity;
import com.vilio.nlbs.commonMapper.pojo.NlbsDistributor;
import com.vilio.nlbs.commonMapper.pojo.NlbsUser;
import java.util.List;
import java.util.Map;
/**
* Created by xiezhilei on 2017/1/12.
*/
public interface CommonService... |
package com.filiereticsa.arc.augmentepf.models;
import android.util.Log;
import com.filiereticsa.arc.augmentepf.AppUtils;
import com.filiereticsa.arc.augmentepf.activities.ConnectionActivity;
import com.filiereticsa.arc.augmentepf.activities.HomePageActivity;
import com.filiereticsa.arc.augmentepf.activities.PathCons... |
/*
* SE1021 - 021
* Winter 2017
* Lab: Lab 4 Inheritance with Shapes
* Name: Rock Boynton
* Created: 12/20/17
*/
package boyntonrl;
import edu.msoe.se1010.winPlotter.WinPlotter;
import java.awt.Color;
/**
* This class represents a Triangle
*/
public class Triangle extends Shape {
protected double base;... |
package com.tencent.mm.plugin.luckymoney.f2f.ui;
import android.animation.ValueAnimator;
import android.animation.ValueAnimator.AnimatorUpdateListener;
import android.view.View;
class ShuffleView$11 implements AnimatorUpdateListener {
final /* synthetic */ ShuffleView kPn;
ShuffleView$11(ShuffleView shuffleV... |
package ru.task.codemark.util.exceptions;
/**
* Перечисление ошибок
* которые получаются при валидации элементов
* в операциях create и update
*
* @author Evgeniy Kolesnikov
* telegram 89616927595
* email evgeniysanich@mail.ru
*/
public enum ExceptionName {
SUCCESS("success: true"),
FAILPASSWORD("su... |
package com.didipark.action;
import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts2.interceptor.ServletResponseAware;
import com.alibaba.fastjson.JSONObject;
import com.didipark.dao.CarportDao;
import com.didipark.dao.PhotoDao;
import com.didipark.pojo.Carport;
import com.... |
/*
* 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 edu.eci.arsw.webstore.persistence;
import edu.eci.arsw.webstore.model.Auction;
import edu.eci.arsw.webstore.model.Message;
imp... |
package dev.etna.jabberclient.utils;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import java.io.ByteArrayOutputStream;
public class Drawables {
public static byte... |
/*
* Created on Mar 9, 2006
*
* To change the template for this generated file go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
package com.ibm.jikesbt;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOExc... |
package com.example.demo.Repository;
import com.example.demo.Model.Customer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowMapper;
import org.springfra... |
package com.rgsj3.sebbs.service;
import com.rgsj3.sebbs.domain.Result;
import com.rgsj3.sebbs.repository.UserRepository;
import org.springframework.stereotype.Service;
import org.springframework.ui.Model;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
@Service
public class... |
package com.neo;
import java.util.Properties;
import kafka.javaapi.producer.Producer;
import kafka.producer.KeyedMessage;
import kafka.producer.ProducerConfig;
import org.apache.flume.Channel;
import org.apache.flume.Context;
import org.apache.flume.Event;
import org.apache.flume.EventDeliveryException;
... |
package com.mango.leo.zsproject.datacenter.fragments;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.mango.leo.zsproject.R;
/**
* Created by admin on 2018/5/11.
*/
public class ProjectFra... |
package org.mvirtual.util.lang;
import java.util.Map;
import java.util.HashMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* @author Kiyoshi Murata
*/
public class TemplateString
{
private String template;
private String substitutionOnMissing;
public TemplateString() {
template = "";... |
package com.codeapin.dicodingmovieapp.ui.searchmovie;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import andr... |
package generic_test;
/**
* Description:
*
* @author Baltan
* @date 2018/4/16 20:32
*/
class Box<T> {
private T object;
public void set(T object) {
this.object = object;
}
public T get() {
return object;
}
public static void main(String[] args) {
Box box = new ... |
package com.study.spring.discount;
import com.study.spring.member.Grade;
import com.study.spring.member.Member;
public class RateDiscountPolicy implements DiscountPolicy {
private final int discountRate = 10;
@Override
public int discount(Member member, int price) {
if(member.getGrade() == Grade... |
package com.example.tp3;
import android.util.JsonReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
/**
* Process the response to a GET request to the Web service
* https://www.thesportsdb.com/api/v1/json/1/searchteams.php?t=R
* Responses must be provided in JSON.
*... |
package basic.database.console;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ResourceBundle;
import basic.example.ConnectionDB;
import javafx.collections.FXCollections;
import j... |
package com.ardhendu.popupwindow1;
import android.content.Context;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup.LayoutParams;
import android.widget.Button;
import andro... |
package com.example.ashvant.stock;
/**
* Created by ashvant on 11/28/17.
*/
public class FavouriteData {
String symbol = "";
String price = "";
String change = "";
String percent = "";
public String getSymbol() {
return symbol;
}
public void setSymbol(String symbol) {
t... |
package com.tencent.mm.plugin.wallet.balance.ui;
import android.graphics.drawable.ColorDrawable;
import android.os.Build.VERSION;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.ImageView.ScaleType;
imp... |
public class DrowShip2 extends DrowShip {
public DrowShip2(int[][] battleground) {
super(battleground, 2);
}
}
|
package mx.com.alex.crazycards.activities;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import an... |
package assignment10.fitbit2;
import jssc.SerialPort;
import jssc.SerialPortException;
public class SerialComm {
SerialPort port;
private boolean debug;
public SerialComm(String name, boolean debugSetting) {
port = new SerialPort(name);
debug = debugSetting;
try {
port.openPort();
po... |
/*
* SUNSHINE TEAHOUSE PRIVATE LIMITED CONFIDENTIAL
* __________________
*
* [2015] - [2017] Sunshine Teahouse Private Limited
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Sunshine Teahouse Private Limited and its suppliers,
* if any. The inte... |
package com.cooksys.teamOneSocialMedia.services.impl;
import org.springframework.stereotype.Service;
import com.cooksys.teamOneSocialMedia.repositories.HashtagRepository;
import com.cooksys.teamOneSocialMedia.repositories.UserRepository;
import com.cooksys.teamOneSocialMedia.service.ValidateService;
import lombok.Re... |
package com.tyss.capgemini.loanproject.exceptions;
@SuppressWarnings("serial")
public class InvalidPhoneException extends RuntimeException {
public InvalidPhoneException(String msg) {
super(msg);
}
}
|
package org.bofur.search;
import org.bofur.R;
import org.bofur.SearchActivity;
import org.bofur.bean.Department;
import org.bofur.bean.Facility;
import org.bofur.bean.Speciality;
import org.bofur.search.statement.CompositStatement;
import org.bofur.search.statement.EqualStatement;
import org.bofur.search.statement.InS... |
package com.nju.edu.cn.model;
import com.nju.edu.cn.entity.ContractBackTestParams;
/**
* Created by shea on 2018/10/25.
*/
public class ContractBackTestParamsBean extends ContractBackTestParams {
private Long contractId;
private String createTimeStr;
public Long getContractId() {
return contrac... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.components.devtools_bridge.apiary;
import android.net.http.AndroidHttpClient;
import org.chromium.base.JNINamespace;
/**
* Factor... |
/*
138. Copy List with Random Pointer
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
Return a deep copy of the list.
Example 1:
Input:
{"$id":"1","next":{"$id":"2","next":null,"random":{"$ref":"2"},"val":2},"random":{"$ref":"2"},"val... |
/*
* Copyright 2005-2010 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 appli... |
package com.rc.portal.vo;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.rc.app.framework.webapp.model.BaseModel;
public class TMemberCertificatesExample extends BaseModel{
protected String orderByClause;
protected Lis... |
package in.codingninjas.expensemanager;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by manishakhattar on 27/06/17.
*/
public class ExpenseOpenHelper extends SQLiteOpenHelper{
public final static String EXPENSE_T... |
/*
* generated by Xtext
*/
package com.rockwellcollins.atc.parser.antlr;
import java.io.InputStream;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
public class LimpAntlrTokenFileProvider implements IAntlrTokenFileProvider {
@Override
public InputStream getAntlrTokenFile() {
ClassLoader classL... |
package com.isystk.sample.web.base.controller.html;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
public abstract class BaseForm implements Serializable {
// 改定番号
Integer version;
}
|
package com.kaysanshi.springsecurityoauth2.configure;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.AuthenticationManager;
import org.spri... |
/**
* Author: obullxl@gmail.com
* Copyright (c) 2004-2013 All Rights Reserved.
*/
package com.atom.core.lang.utils;
import java.io.InputStream;
import org.apache.commons.io.IOUtils;
import org.junit.Test;
import com.github.obullxl.lang.xml.XMLNode;
import com.github.obullxl.lang.xml.XMLUtils;
/**
... |
package com.example.afshindeveloper.afshindeveloperandroid;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log... |
package com.gracecode.android.btgps.ui.fragment;
import android.app.Fragment;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.wi... |
package com.fleet.mybatis.generator.config;
import org.mybatis.generator.api.MyBatisGenerator;
import org.mybatis.generator.config.Configuration;
import org.mybatis.generator.config.xml.ConfigurationParser;
import org.mybatis.generator.internal.DefaultShellCallback;
import org.slf4j.Logger;
import org.slf4j.LoggerFact... |
import java.util.Scanner;
class circumference{
public static void main(String args[]){
double r, area,circum;
Scanner sc = new Scanner (System.in);
System.out.println("Enter radius");
r = sc.nextDouble();
area = 3.14 * r *r;
System.out.println("Area of circle = "+area);
circum = 2 *3.14 *r;
... |
package com.melonBean.controller;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import com.melonBean.dao.Employe... |
package controller;
import handlers.DoorChain;
import handlers.DoorOne;
import handlers.DoorThree;
import handlers.DoorTwo;
import model.KeyManager;
import ui.DungeonView;
import ui.ScenePane;
public class Controller
{
private static Controller instance;
private KeyManager manager;
private Controller()
... |
package chap07.sec04.exam01_overriding;
public class Computer extends Calculator {
// 어노테이션 : 컴파일러에게 코드(재정의여부)의 검증을 요청한다.
@Override
//메소드 재정의(overriding)
double areaCircle(double r) {
System.out.println("Computer 객체의 areaCircle() 실행");
return Math.PI * r * r;
}
}
|
/** ****************************************************************************
* Copyright (c) The Spray Project.
* 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
... |
package samsung.com.suveyapplication;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.w... |
package com.ssm.wechatpro.dao;
import java.util.List;
import java.util.Map;
/**
* 订单列表
* */
public interface WechatOrderLogMapper {
/**
* 当前用户创建订单
* @param map
* @throws Exception
*/
public void insertOrderLog(Map<String, Object> map) throws Exception;
/**
* 显示当前用户的全部订单(按照未付款、已付款,订单编号递降)
* @param ... |
package com.test.leverton.model;
/**
* Created by adarshbhattarai on 4/25/18.
*/
public class URL {
String longUrl;
String shortUrl;
public URL(String longUrl, String shortUrl){
this.longUrl=longUrl;
this.shortUrl=shortUrl;
}
public String getLongUrl() {
return longUrl;
... |
package com.app.service;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;
import com.app.model.Employee;
public interface IEmployeeService {
ResponseEntity<Employee> saveEmps(MultipartFile file);
}
|
package com.tuitaking.point2offer;
import org.junit.Assert;
import org.junit.Test;
public class LengthOfLongestSubstring_48T {
@Test
public void test(){
LengthOfLongestSubstring_48 lengthOfLongestSubstring_48=new LengthOfLongestSubstring_48();
Assert.assertEquals(lengthOfLongestSubstring_48.le... |
package blockchain.ledger_file.convertion;
import blockchain.block.Block;
import blockchain.block.Data;
import blockchain.block.Header;
import blockchain.utility.ByteArrayReader;
import blockchain.utility.ByteUtils;
import java.util.ArrayList;
/* This class converts block objects to byte arrays and back */
public c... |
package cqu.shy.resource;
import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.ImageIcon;
public class ImageResource {
//欢迎界面
public static BufferedImage WelcomePlane1IMG;
public static BufferedImage WelcomePlane2IMG;
public static BufferedImage Backg... |
package com.sixmac.entity;
import javax.persistence.*;
/**
* Created by Administrator on 2016/6/2 0002.
*/
@Entity
@Table(name = "t_message_watching")
public class MessageWatching extends BaseEntity {
@ManyToOne
@JoinColumn( name= "user_id")
private User user;
@ManyToOne
@JoinColumn(name = "to... |
package com.xiaoxiao.contorller.frontline;
import com.xiaoxiao.service.frontline.FrontlineHeadPhotoService;
import com.xiaoxiao.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMap... |
package com.example.demo.command;
import com.example.demo.model.Employee;
public class EmpCommand {
Employee emp;
public Employee getEmp() {
return emp;
}
public void setEmp(Employee emp) {
this.emp = emp;
}
}
|
package org.jbpm.jpdl.el.impl;
import org.jbpm.JbpmConfiguration.Configs;
import org.jbpm.context.exe.ContextInstance;
import org.jbpm.graph.exe.ExecutionContext;
import org.jbpm.graph.exe.Token;
import org.jbpm.jpdl.el.ELException;
import org.jbpm.jpdl.el.VariableResolver;
import org.jbpm.taskmgmt.exe.SwimlaneInstanc... |
package com.example.university.commands.faculty;
import com.example.university.commands.Command;
import com.example.university.db.FacultyDao;
import com.example.university.db.FacultySubjectsDao;
import com.example.university.db.SubjectDao;
import com.example.university.entities.Faculty;
import com.example.university.e... |
// **********************************************************************
// This file was generated by a TAF parser!
// TAF version 3.2.1.6 by WSRD Tencent.
// Generated from `/data/jcetool/taf//upload/geraldzhu/CommClientInterface.jce'
// **********************************************************************
package... |
package kodlamaio.hrms.entities.concretes;
import java.time.LocalDate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOn... |
package Dao;
import Entidades.entDepartamento;
import Entidades.entDistrito;
import Entidades.entProvincia;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
public class DistritoDAO {
public static ... |
package ru.job4j.webarchitecturejsp.logic;
import ru.job4j.webarchitecturejsp.model.User;
import java.util.List;
/**
* Программа может работать и с БД(DBStore) и с коллекцией(MemoryStore)
* Чтобы запустить приложение, необходимо после запуска TomCat вбить в браузер http://localhost:8082/chapter_007/usersjsp
* Lo... |
package com.jack.rookietest.csv;
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVRecord;
import java.io.*;
/**
* @author jack
* @Classname CsvReadTest2
* Create by jack 2020/1/5
* @date: 2020/1/5 12:16
* @Description:
* 官方文档:http://commons.apache.org/proper/commons-csv/user-guide.html... |
package com.p4square.ccbapi.model;
/**
* A collection of lookup table types supported by CCB.
*/
public enum LookupTableType {
ABILITY,
ACTIVITY,
AGE_BRACKET,
AREA,
CHURCH_SERVICE,
DEPARTMENT,
EVENT_GROUPING,
GIFT,
GROUP_GROUPING,
GROUP_TYPE,
HOW_JOINED_CHURCH,
HOW_THE... |
package p5;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.function.Function;
public class P5
{
ArrayList<Integer> numbers = new ArrayList<>();
ArrayList<Integer> solutions = new ArrayList<>();
HashMap<... |
package com.tencent.mm.plugin.luckymoney.appbrand.ui.prepare;
import android.content.Intent;
import com.tencent.mm.plugin.luckymoney.appbrand.a.e;
import com.tencent.mm.protocal.c.bhg;
import com.tencent.mm.protocal.c.bhh;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.ui.MMActivity.a;
public final ... |
package com.javarush.task.task27.task2708;
import java.util.Set;
/*
Убираем deadLock используя открытые вызовы
*/
public class Solution {
public static void main(String[] args) {
final long deadLineTime = System.currentTimeMillis() + 5000; //waiting for 5 sec
final RealEstate realEstate = new Re... |
package PresentationLayer.View;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionListener;
/**
* The type Client view.
*/
public class ClientView extends JFrame {
private JButton searchProductsBtn = new JButton(" Search ");
private JButton createNewOrderBtn = new JButton("Create Ord... |
package org.stepik.api.objects.recommendations;
/**
* @author meanmail
*/
public class ReactionPost {
private int reaction;
private String lesson;
private String user;
public int getReaction() {
return reaction;
}
public void setReaction(int reaction) {
this.reaction = react... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.09.... |
package Execucao;
import InterpretadorDoPrograma.*;
import Lista.*;
import Memoria.*;
import Excecoes.*;
public class SolverDeExpressoes {
public static ManipuladorDaLista pilha = new ManipuladorDaLista();
private static Lista<SimbolosCefetiny> exp = new Lista<SimbolosCefetiny>();
public static... |
package com.drzewo97.ballotbox.core.service.pollservice;
import com.drzewo97.ballotbox.core.dto.polldto.PollDto;
import com.drzewo97.ballotbox.core.model.poll.Poll;
import com.drzewo97.ballotbox.core.model.poll.PollRepository;
import com.drzewo97.ballotbox.core.model.poll.VotingMode;
import com.drzewo97.ballotbo... |
package org.corbin.common.repository;
import org.corbin.common.base.dao.BaseRepository;
import org.corbin.common.entity.UserActiveInfo;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
@Repository
public interface UserActiveInfoRepository extends BaseR... |
/*
* 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 raytracing3;
import java.awt.Color;
/**
*
* @author ianmahoney
*/
public class Cube {
public double height, width, de... |
package com.appfest.funkyfotos.config;
/**
* Created by kaushald on 22/01/17.
*/
public interface Constants {
String FILE_PROVIDER_AUTHORITY = "com.appfest.funkyfotos.provider";
// google constants
String GOOGLE_CLIENT_ID = "206905092794-p0pkgtdhsbvpu7jrlee5oe3np1qh4dkr.apps.googleusercontent.com";
... |
package com.gtfs.dao.interfaces;
import java.util.List;
import com.gtfs.bean.RoleMst;
public interface RoleMstDao {
List<RoleMst> findAllActiveRole();
List<RoleMst> findRoleByRoleName(String roleName);
RoleMst findRoleById(Long roleId);
Boolean deleteRoleMst(Long roleId, Long userId);
Boolean saveRoleMst(List<R... |
package com.java.smart_garage.models.dto;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
public class ManufacturerDto {
@NotNull
@Size(min = 2 , max = 20, message = "Manufacturer name must be between 2 and 20 characters.")
private String manufacturerName;
publ... |
package org.newdawn.slick.font.effects;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.newdawn.slick.UnicodeFont;
import org.newdawn.slick.font.Glyph;
public class ColorEffect implements C... |
package cn.chinaunicom.monitor.beans;
import java.util.List;
/**
* Created by yfyang on 2017/8/11.
*/
public class DeployCategoryEntity {
public String itemId;
public String title;
public List<AppbelongEntity> belongs;
public DeployCategoryEntity(String itemId, String title) {
this.itemId ... |
package com.tencent.mm.plugin.sns.ui;
import com.tencent.mm.g.a.qe;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
class SnsTimeLineUI$2 extends c<qe> {
final /* synthetic */ SnsTimeLineUI odw;
SnsTimeLineUI$2(SnsTimeLineUI snsTimeLineUI) {
this.odw = snsTimeLineUI;
this.sFo = ... |
package steps;
import cucumber.api.java.en.And;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import org.junit.Assert;
import pages.CadastroPage;
import pages.PesquisaPage;
import support.BaseSteps;
public class PesquisaPageStepsTest extends BaseSteps {
pu... |
package com.tumit.util;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import org.sikuli.api.ScreenRegion;
public class RobotLoggerImpl implements RobotLogger {
private String outputDir;
private St... |
/*
* Copyright 2019 GcsSloop
*
* 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 w... |
package org.newdawn.slick;
import java.io.Serializable;
import java.nio.FloatBuffer;
import org.newdawn.slick.opengl.renderer.Renderer;
import org.newdawn.slick.opengl.renderer.SGL;
public class Color implements Serializable {
private static final long serialVersionUID = 1393939L;
protected transient SGL GL = ... |
package mensaje;
public class MsjAvisarClienteAbandonoSala extends Mensaje {
private static final long serialVersionUID = -8556787900292735591L;
private String clienteNombre;
public MsjAvisarClienteAbandonoSala(String user) {
this.clienteNombre = user;
this.clase = this.getClass().getSimpleName();
}
@Ove... |
package vn.geekup.utils;
import android.support.annotation.StringDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
public class Constants {
public static final String ISO_8859_1 = "ISO_8859_1";
public static final String US_ASCII = "US_ASCII";
public static final S... |
package com.vilio.plms.service.base;
import com.vilio.plms.exception.ErrorException;
import com.vilio.plms.glob.GlobDict;
import com.vilio.plms.glob.ReturnCode;
import com.vilio.plms.util.DateUtil;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;
import org.springframework.transaction.a... |
package at.porscheinformatik.sonarqube.licensecheck.widget;
import org.sonar.api.web.AbstractRubyTemplate;
import org.sonar.api.web.Description;
import org.sonar.api.web.RubyRailsWidget;
import org.sonar.api.web.UserRole;
@UserRole(UserRole.USER)
@Description("Shows all licenses, which are used by the dependencies")
... |
package com.pixietools;
import java.io.*;
//import java.util.*;
//import pixietools.*;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
/* This program reads the information about each buffer, event and channel hit
* and stores them all in variables. These variables are used later in functions
* ... |
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.TMemberReceiverLatLonDAO;
import com.rc.porta... |
package ch.epfl.tchu.game;
import ch.epfl.tchu.Preconditions;
import ch.epfl.tchu.SortedBag;
import java.util.*;
/**
* GameState class
* Methods: playerState, currentPlayerState, topTickets, withoutTopTickets, topCard,
* withoutTopCard, withMoreDiscardedCards, withCardsDeckRecreatedIfNeeded, withInitiallyChosenTi... |
package com.github.abryb.bsm;
class AppException extends Exception {
AppException(String s, Exception e) {
super(s, e);
}
AppException(Exception e) {
super("Something went wrong. Totally unexpected error.", e);
}
}
|
package com.nitgar.axonsample.controller;
/**
* Created by anuraggupta on 27/03/17.
*/
public class HelloControllerTest {
public void sayHello() throws Exception {
}
} |
package com.github.ezauton.core.utils;
import com.github.ezauton.core.actuators.Actuators;
import com.github.ezauton.core.actuators.VelocityMotor;
import com.github.ezauton.core.actuators.VoltageMotor;
import com.github.ezauton.core.actuators.implementations.BaseSimulatedMotor;
import com.github.ezauton.core.actuators... |
package com.ifli.mbcp.vo;
import java.util.Date;
public class FundVO
{
private Long PK_FundID;
private String created_by;
private Date created_date;
private String fundName;
private String modified_by;
private Date modified_Date;
public Long getPK_FundID()
{
return PK_FundID;
}
public String getCre... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.