text stringlengths 10 2.72M |
|---|
package cl.cehd.ocr.algorithm.entity;
import java.util.Map;
import java.util.Optional;
public class IndividualDigitIdentifier {
private final DigitRepresentationDictionary digitRepresentationDictionary;
public IndividualDigitIdentifier(DigitRepresentationDictionary accountDigitRepresentationDictionary) {
... |
package Termin2;
import java.util.Scanner;
public class Switch {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Bitte geben Sie einen Wochentag ein");
String dayOfWeek = scanner.nextLine();
scanner.close();
System.out.println("Methode liefert: "... |
package slimeknights.tconstruct.library.utils;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import slimeknights.tconstruct.library.modifiers.ModifierNBT;
public class ModifierTagHolder {
private final ItemStack itemStack;
private final NBTTag... |
package be.openclinic.medical;
import be.mxs.common.util.db.MedwanQuery;
import be.mxs.common.util.system.Debug;
import be.mxs.common.util.system.ScreenHelper;
import be.openclinic.common.OC_Object;
import net.admin.AdminPerson;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;... |
package com.kuang.controller;
import com.alibaba.fastjson.JSONObject;
import com.kuang.utils.EditormdFileUpload;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bin... |
//package treinamentojava.file;
//
//import java.io.File;
//import java.io.FileNotFoundException;
//import java.math.BigDecimal;
//import java.util.Scanner;
//
//import treinamentojava.temp.Util;
//
//public class ReadFile {
//
// public static void main(String[] args) {
// try {
//
//// BigDecimal teste = new Bi... |
package com.getkhaki.api.bff.persistence.models;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Optional;
import java.util.Set;
@Entity
@Getter
@Setter
@Accesso... |
package com.techelevator;
import java.util.Scanner;
public class UserInput {
private static Scanner scanner = new Scanner(System.in);
/**
* @return a string of input provided by the user.
*/
public static String get() {
return scanner.nextLine();
}
/**
* @param prompt the ... |
package com.logzc.webzic.annotation;
/**
* Created by lishuang on 2016/7/21.
*/
public class TestBean0 {
}
|
package moon_lander;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.net.URL;
import java.util.Random;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.imageio.ImageIO;
/**
* Landing area where rocket will la... |
package com.netcracker.app.domain.shop.repositories;
import com.netcracker.app.domain.shop.entities.Tech;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
@Repository
public interface TechRepository extends ... |
package com.common.pdf;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
impo... |
/**
* MIT License
* <p>
* Copyright (c) 2019-2022 nerve.network
* <p>
* 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... |
package com.nanyin.config.redis;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.PropertyAccessor;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.cache.CacheManager;
import org.springframework.cache.annotation.CachingConfigurerSupport;
imp... |
/**
* Created by Student8 on 15.04.2017.
*/
public class Square extends Figure implements toString {
private int aa;
public Square(int aa) {
this.aa = aa;
}
public int getA() {
return aa;
}
public String toString() {
return(getA() + " ");
}
}
|
package com.epam.training.sportsbetting.service;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import com.epam.training.sportsbetting.domain.Bet;
import com.epam.training.sportsbetting.domain.DataLoader;
import com.epam.training.sportsbetting.domain.DataLoader2;
import com.epam.... |
import java.io.*;
import java.util.*;
class baek__10211 {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int T = Integer.parseInt(br.readLine());
StringBuilder sb = new StringBuilder();
while ... |
package com.vpt.pw.demo.Controllers;
import com.vpt.pw.demo.dtos.crf2DTO.FormCrf2DTO;
import com.vpt.pw.demo.service.CRF2Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import... |
package egovframework.adm.book.dao;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
@Repository("cpBookAdminDAO")
public class CpBookAdminDAO extends EgovAbstractDAO{
public List selec... |
package com.qzkk.controller;
import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.databind.node.BigIntegerNode;
import com.qzkk.domain.GoodApplication;
import com.qzkk.service.GoodService;
import com.qzkk.vo.GetGoodApplyInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.spr... |
package com.taotao.rest.util;
/**
* redisKeyUtil
* @author fenguriqi
* 2017年5月14日 下午8:26:26
* RedisKeyUtil
*/
public class RedisKeyUtil {
/**广告的缓存*/
public static final String REDIS_ADVERTIES_CONTENT_KEY="adverties_content_key";
/**商品基本信息*/
public static final String ITEM_BASE_INFO_KEY="item_base_info";
... |
/*
* 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.
*/
/**
*
* @author ntnrc
*/
public class TestMago {
public static void main(String args[]){
Mago mago = new Mago("El Blanc... |
package airlines;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try(Scanner sc = new Scanner(System.in)) {
System.out.println("=====================AIRLINES===================");
}
}
}
|
package com.qx.wechat.comm.sdk.request.msg;
/**
* 所有发送类型的消息结构体
* 例如: 发送文本消息,图片消息
*
* 注意: 发送群@消息例外
*
* @author Macky(liuyunsh@cn.ibm.com)
*
* @date: Apr 12, 2020 12:02:50 PM
*
* @since: 1.0.0
*
*/
public class PassiveMsg implements java.io.Serializable{
private static final long serialVersionUID = -140... |
package com.sirma.itt.javacourse.chat.client.controller;
import java.util.List;
import org.apache.log4j.Logger;
import com.sirma.itt.javacourse.chat.client.interfaces.UserController;
import com.sirma.itt.javacourse.chat.client.managers.ClientInfo;
import com.sirma.itt.javacourse.chat.client.threads.ClientThread;
imp... |
package com.gxtc.huchuan.ui.common;
import android.app.Activity;
import android.content.Context;
import android.media.MediaMetadataRetriever;
import android.text.TextUtils;
import android.util.SparseArray;
import com.gxtc.commlibrary.utils.EventBusUtil;
import com.gxtc.commlibrary.utils.NetworkUtil;
import com.gxtc.c... |
package com.example.wastemanagement.Models;
import com.google.firebase.firestore.Exclude;
import java.io.Serializable;
public class FeedbackComplainData implements Serializable {
String text="";
public void setId(String id) {
this.id = id;
}
public String getId() {
return id;
}
... |
package com.chinasoft.education_manage.web.teacherservlet;
import com.chinasoft.education_manage.domain.Page;
import com.chinasoft.education_manage.domain.Teacher;
import com.chinasoft.education_manage.domain.TeacherPage;
import com.chinasoft.education_manage.service.TeacherService;
import com.chinasoft.education_mana... |
package org.demo;
import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @program: apollodemo
* @description:
* @author: Ya
* @create: 2018-12-27 15:15
**/
@SpringBootApp... |
package com.examples.io.generics.boundedtypeparameters;
import java.util.ArrayList;
import java.util.List;
public class Cage<T extends Animal> {
void addAnimal(T t) {
t.addAnimal();
}
public static void main(String[] args) {
Cat cat = new Cat();
Dog dog = new Dog();
Cage... |
package cn.net.bluechips.zsystem.repository;
import cn.com.topit.base.GenericRepository;
import cn.net.bluechips.zsystem.entity.VAccessControl;
/**
* @author terry
*
*/
public interface VAccessControlRepository extends GenericRepository<VAccessControl, Long>{
}
|
package alvin.basic;
import alvin.basic.entities.Person;
import com.google.inject.AbstractModule;
import com.google.inject.Guice;
import com.google.inject.Provides;
import com.google.inject.matcher.Matchers;
import com.google.inject.persist.Transactional;
import org.aopalliance.intercept.MethodInterceptor;
import org.... |
package bioskop.model;
import java.util.ArrayList;
public class Sala {
private int id;
private String naziv;
private ArrayList<TipProjekcije> tipProjekcije;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getNaziv() {
return naziv;
}
public void setNaziv(S... |
package com.prangbi.android.prnetworkstatus;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
public class MainActivit... |
//Problem URL: https://www.spoj.com/problems/CTTC/
// My solution uses Stack to solve the problem. Using DSU (Disjoint Union Set) is also preferable solution for this problem.
import java.util.Scanner;
import java.util.Stack;
public class CountingChild {
public static void main(String [] args) {
Scan... |
package onlineMall.web.dao.Impl;
import onlineMall.web.dao.Dbutil;
import onlineMall.web.dao.ForumTopicDao;
import onlineMall.web.pojo.ForumTopic;
import org.springframework.stereotype.Repository;
import java.sql.ResultSet;
import java.util.ArrayList;
/**
* @ Package: onlineMall.web.dao.Impl
* @ Author :linsol... |
package ch.mitti.tierwelt;
public abstract class Lebewesen {
boolean lebt;
public Lebewesen(){
lebt = true;
}
public boolean gibLebt(){
return lebt;
}
public abstract String gibLaut();
}
|
/*
* Copyright 2002-2022 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 com.halayang.pojo;
import java.util.Date;
public class JudgeQuestions {
private Integer id;//id
private String chapter;//所属章节
private String subject;//题目
private String type;//题目类型
private String answer;//答案
private Date createtime;//上传时间
private Integer start;// 起始行
private In... |
package org.testing.testscript;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.testing.pages.Menu;
import org.testing.utilities.Datafile;
import org.testing.utilities.Screenshot;
import org.testing.utilities.... |
package by.academy.classwork.lesson6; |
package io.github.stormdb;
import java.util.Objects;
public class Delta<T> {
private final int position;
private final DeltaType type;
private final T delta;
public Delta(int position, DeltaType type, T delta) {
this.position = position;
this.type = type;
this.delta = delta;
... |
/*
* Copyright 2017 Rundeck, Inc. (http://rundeck.com)
*
* 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.example.yinzixuan.calculator;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
public class MainActivity extends AppCompatActivit... |
package my.yrzy.admin.controller;
import lombok.extern.slf4j.Slf4j;
import my.yrzy.common.common.Paging;
import my.yrzy.common.exception.JsonResponseException;
import my.yrzy.common.exception.ServiceException;
import my.yrzy.common.util.BaseUser;
import my.yrzy.common.util.UserUtil;
import my.yrzy.trade.model.Order;
i... |
package com.example.demo.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
/**
* PageInfo
*
* @author ZhangJP
* @date 2020/7/29
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageInfo<T> {
/**
* 总数
*/
private lo... |
package com.bofsoft.laio.customerservice.dialog;
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.bofsoft.laio.common.MyLog;
import com.bofsoft.laio.customerservice.R;
public class WaitDialog extends Dialog imple... |
/**
*
*/
package com.intertec.listusername.service;
import com.intertec.listusername.model.User;
/**
* @author nandopc001
*
*/
public interface UserService {
User addUser(String user);
}
|
package io.zahid.selenium.tutorial.site.toolsqa;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class PracticeFormPage {
/**
*
* https://www.toolsqa.com/automation-practice-form
... |
package cn.v5cn.v5cms.controller;
import cn.v5cn.v5cms.service.SystemRoleService;
import cn.v5cn.v5cms.entity.SystemRole;
import cn.v5cn.v5cms.util.HttpUtils;
import cn.v5cn.v5cms.util.SystemUtils;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Maps;
import org.apache.commons.lang3.Str... |
package com.andy.wap;
import java.util.NoSuchElementException;
/**
* The Queue class represents an immutable first-in-first-out(FIFO) queue of objects.
* Immutable queue can be implemented by two immutable stacks : enqueueStack and dequeueStack.
* enqueueStack is used to enqueue element and dequeueStack is... |
package com.liux.framework.util;
/**
* 2018/2/28
* By Liux
* lx0758@qq.com
*/
public class OtherUtil {
}
|
package uk.co.mtford.jalp.abduction.logic.instance.constraints;
import choco.kernel.model.constraints.Constraint;
import choco.kernel.model.variables.Variable;
import uk.co.mtford.jalp.abduction.logic.instance.IInferableInstance;
import uk.co.mtford.jalp.abduction.logic.instance.IUnifiableInstance;
import uk.co.mtford... |
package com.fbse.recommentmobilesystem.XZHL0410;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.LinearLayout;
import android.widget.TextView;
imp... |
package classes.core.DAO;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import dominio.endereco.Endereco;
import dominio.endereco.Locacao;
import dominio.evento.Evento;
import dominio.evento.IDo... |
package com.demo.state.blog;
/**
* @author: Maniac Wen
* @create: 2020/6/2
* @update: 8:12
* @version: V1.0
* @detail:
**/
public class UnLoginState extends UserState{
public void favorite() {
System.out.println("跳转到登陆界面");
this.appContext.setState(this.appContext.STATE_LOGIN);
this.a... |
package homework.task_brackets;
/**
* Created by Admin on 15.02.2015.
*/
public class Test {
public static void main(String[] args) {
String str = " Тестовая с(()т()ро(ка )с (нес))к((()))олькими пробелами ";
int counter = 0;
char symbol;
for (int i = 0; i < str.length();... |
package com.example.demo.jpaTest.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
im... |
package py.edu.unican.facitec.entidades;
public class Habitacion extends General{
//private int codHabitacion;
private String descripHabitacion;
private int montoDia;
private String observacion;
private int habActivo;
public Habitacion() {
super();
//this.codHabitacion = 0;
this.descr... |
package propertyparser;
import java.util.HashMap;
public class Property {
String type;
HashMap<String, String> attributes;
public Property(String type){
this.type = type;
attributes = new HashMap<String, String>();
}
public Property(String type, String field1, String field2){
this.type = type;
attr... |
package com.pluralsight.service;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.pluralsight.model.Activity;
import com.pluralsi... |
package Controllers;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class mycontroller {
//if this class has only one method then this is single action controller class
... |
package cn.happy.spring1007_03;
/**
* Created by LY on 2017/10/7.
*/
public class SomeService implements ISomeService {
public void insert() {
System.out.println("insert");
}
public String update() {
System.out.println("update");
return null;
}
public void delete() {
... |
/*
* (C) Mississippi State University 2009
*
* The WebTOP employs two licenses for its source code, based on the intended use. The core license for WebTOP applications is
* a Creative Commons GNU General Public License as described in http://*creativecommons.org/licenses/GPL/2.0/. WebTOP libraries
* and wapplets are ... |
package aspect;
public class Advice1 {
public void tt(){
System.out.println("advice!");
}
}
|
package edu.asu.commons.net;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.TreeSet;
/**
* $Id$
*
* Very basic pooled implementation for worker threads. The WorkerPool is a composite of
* the Worker.
*
* FIXME: replace with Java 1.5 thread pools, i.e., ThreadPoolEx... |
package actions;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import static org.testng.... |
package alien4cloud.paas.wf;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class GetAttributeActivity extends AbstractActivity {
private String attributeName;
@Override
public String toString() {
return getNodeId() + ".getAttribute[" + attributeName + "]";
}
@Overri... |
package com.kdgz.uwifi.backoffice.model;
import java.util.List;
import com.jfinal.kit.StrKit;
import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;
import com.kdgz.uwifi.backoffice.constant.Constants;
@SuppressWarnings("serial")
public clas... |
package lando.systems.ld37.utils;
import com.badlogic.gdx.graphics.Color;
/**
* Created by dsgraham on 12/10/16.
*/
public class Config {
public static int gameWidth = 640;
public static int gameHeight = 480;
public static Color bgColor = new Color(0,0,0,1);
}
|
package pkglayer;
import java.lang.ModuleLayer;
// leaf node in the layer hierarchy tree
public class LayerRef extends AbstractLayerRef {
public LayerRef(final LayerGroup parent, final String name, final String level) {
super(parent, name, level);
}
public LayerRef(final LayerGroup pa... |
package com.bankerguy.bankerguy;
import java.util.List;
/**
* Created by nevin on 11/12/2017.
*/
public class BankInfo {
private List<Bank> banks; //private List<Integer> banks;
}
|
package com.ats.communication_admin.fcm;
import android.app.Notification;
import android.app.NotificationManager;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.support.v4.app.NotificationCompat;
im... |
package com.oa.office.form;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
@Entity
@Table(name="goods... |
import java.util.Arrays;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
class Solution {
public static Map<Integer, Guard> parseInput(String input) {
/**
* parse the events to get, for each guard, all the naps they took
* @input a list of String that l... |
package com.blockgame.crash.service;
import java.util.List;
import com.blockgame.crash.model.RecordVo;
public interface BoardService {
public void saveScore(Long score);
public List<RecordVo> getAllRecord();
}
|
/* Copyright 2015 Esri
*
* 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,... |
/*
* 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 jopos;
import Conexao.Conexao;
import exceptions.PessoaException;
import java.sql.Connection;
import java.sql.Date;
... |
package webElementMethods;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class ElementVerificationMethods {
public static void main(String[] args) throws Exception {
// Verification of the elements ... |
package com.example.studyResultfulAPI.controller;
import com.example.studyResultfulAPI.Result;
import com.example.studyResultfulAPI.ResultCode;
import com.example.studyResultfulAPI.pojo.Order;
import com.example.studyResultfulAPI.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
impo... |
package com.gxtc.huchuan.widget;
import android.content.Context;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.TextUtils;
import android.text.style.TextAppearanceSpan;
import android.util.TypedValue;
import android.view.LayoutInflater;
import android.view.View;
import android.wi... |
package com.vika.addressBook;
public class Address {
int houseNumber;
String streetName;
String cityName;
String state;
int zipCode;
public int getHouseNumber() {
return houseNumber;
}
public void setHouseNumber(int houseNumber) {
this.houseNumber = houseNumber;
}
public S... |
package com.esum.comp.ftasoap.message.util;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.UnsupportedEncodingException;
import org.apache.commons.io.IOUtils;
public class ByteWrapper {
private ByteArrayInputStream mInputStream = null;
private int mSize = -1;
public By... |
package com.example.android.nusevents;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.DialogFragment;
import android.app.Fragment;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.sup... |
package hu.mitro.persistence.entity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import ... |
/*
* Copyright (c) 2013-2014, Neuro4j.org
*
* 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 com.example.chordnote.ui.period.question;
import android.util.Log;
import com.example.chordnote.data.DataManager;
import com.example.chordnote.data.network.model.QuestionsResponse;
import com.example.chordnote.ui.base.BasePresenter;
import javax.inject.Inject;
import rx.Observer;
import rx.android.scheduler... |
/*
* LcmsSeqConditionType.java 1.00 2011-09-05
*
* Copyright (c) 2011 ???? Co. All Rights Reserved.
*
* This software is the confidential and proprietary information
* of um2m. You shall not disclose such Confidential Information
* and shall use it only in accordance with the terms of the license agreement
... |
package com.adv.pojo;
public class MaterialsTables {
private Integer id;
private String materials;
private Long unitPrice;
private String supplier;
private String suppPhone;
private String remark;
public Integer getId() {
return id;
}
public void se... |
package testo.pl.giphyapitest.connection;
import android.graphics.drawable.Drawable;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import java.lang.reflect.Type;
/**
* Created by Lukasz Marc... |
package hu.mitro.ejb.domain;
import java.io.Serializable;
public class CarStub implements Serializable, Comparable<CarStub> {
private static final long serialVersionUID = 1L;
private String licencePlateNumber;
private CarTypeStub type;
private String model;
private String color;
private int vintage;
private ... |
package SimpleFactory01.exercise;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import java.io.File;
public class XMLUtil {
private final static String PATH = "src\\SimpleFactory01\\ex... |
package kr.co.people_gram.app;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.wi... |
package com.sinodynamic.hkgta.service.crm.backoffice.admin;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.sinodynamic.hkgta.dao.crm... |
package ar.gob.ambiente.servicios.especiesforestales.managedBeans;
import ar.gob.ambiente.servicios.especiesforestales.entidades.AdminEntidad;
import ar.gob.ambiente.servicios.especiesforestales.entidades.Especie;
import ar.gob.ambiente.servicios.especiesforestales.entidades.Familia;
import ar.gob.ambiente.servicios.... |
/*********************************************
* Android Nanodegree Program
* Project 0 - My App Portfolio
*
* Zach Rogers
* 7 June 2015
**********************************************/
package zachr.app.myappportfolio;
import android.app.Activity;
import android.graphics.Typeface;
imp... |
package com.pce.BookMeTutor.Model.Dto.Requests;
public class AddressRequest {
private String line_1;
private String line_2;
private String city;
private String pincode;
public String getLine_1() {
return line_1;
}
public void setLine_1(String line_1) {
this.line_1 = line_1;
}
public String getLine_2() {
... |
import java.util.*;
public class Fabonaci
{
public static void main(String args[])
{
Scanner sc =new Scanner(System.in);
System.out.print("Enter the last term ");
int n= sc.nextInt();
int a=0;
int b=1;
int series =0;
for(int i=0;i<n;i++){
System.ou... |
package com.karya.bean;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;
public class ItemStatusBean {
private int itemstId;
@NotNull
@NotEmpty(message="please select item")
private String itemCode;
@NotNull
@NotEmpty(message="please select status")
private Str... |
/*
* 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.csci360.alarmclock;
/**
*
* @author baldy
*/
public class AlarmView {
public void printAlarmDetails(String time, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.