text
stringlengths
10
2.72M
package com.example.proyecto_movil; import com.google.firebase.database.FirebaseDatabase; public class Persistencia extends android.app.Application { @Override public void onCreate() { super.onCreate(); FirebaseDatabase.getInstance().setPersistenceEnabled( true ); } }
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.bon.common.util.MyLog; import com.bon.common.util.POIUtil; import com.bon.common.util.StringUtils; import org.apache.ibatis.annotations.Mapper; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.Element; im...
package com.sapl.retailerorderingmsdpharma.activities; import android.content.Context; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import com.sapl.retailerorderingmsdpharma.R; import com.sapl.retailerorderingmsdpharma.customView.C...
public class Solution { public boolean isValidBST(TreeNode node, long lo, long hi) { if(node==null) return true; if((long)node.val <= lo || (long)node.val >= hi) return false; return isValidBST(node.left, lo, (long)node.val) && isValidBST(node.right, (long)node.val, hi); } ...
package uk.co.travelai_public.tools; import lombok.Getter; import lombok.NonNull; import uk.co.travelai_public.model.Location; import java.util.ArrayList; import java.util.List; /** * Class containing a set of geometrics derived from a list of {@link EdgeDetails}s */ @Getter public class GeoMetrics { @NonNul...
import java.util.AbstractMap.SimpleEntry; import java.util.LinkedList; /** NRept.java * * Author: Greg Choice c9311718@uon.edu.au * * Created: * Updated: 28/09/2018 * * Description: * STNode sub-class for NREPT rule * */ public class NRept extends STNode { public NRept(LinkedList<Token> tok...
package com.user.service; import com.user.pojo.User; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.lang.Nullable; import java.util.List; public interface UserService { User save(User user); Page<User> page(Pageable pageable); ...
package ejercicio14; import java.util.Scanner; /** * * @author Javier */ public class Ejercicio14 { public static int menu() { Scanner entrada = new Scanner(System.in); int opcion = 0; do { System.out.println("1.- Introducir las ventas de coches\n" + ...
public class PalimdromPractice { static void checkpalindrom(String input) { String res=""; char[]temp=input.toCharArray(); for (int i=temp.length-1;i>=0;i--) { res= res+temp[i]; } if (input.equalsIgnoreCase(res)) { System.out.println("Given s...
/* * 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 soapserver; import java.awt.Image; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; im...
package com.cst.map; import java.util.HashMap; import java.util.Map; public class TestMap { public static void main(String[] args) { Map<String,String> map = new HashMap<>(); System.out.println(map.get("aa")==null); } }
package com.btress; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.PriorityQueue; import java.util.Queue; public class VerticaOrder { private static Map<Integer, List<Integer>> mapVerticalDistance = null; publi...
package se.kth.eh2745.moritzv.assigment1.objects; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collection; import org.w3c.dom.Element; import se.kth.eh2745.moritzv.assigment1.RdfLibary; import se.kth.eh2745.moritzv.assigment1.XmlParser; import se.kth.e...
import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import java.util.HashSet; import java.util.Set;...
package com.gaoshin.webservice; import junit.framework.Assert; import org.junit.Test; import com.gaoshin.beans.GenericResponse; import com.gaoshin.beans.User; import com.gaoshin.beans.UserList; public class FriendTest extends GaoshinTester { @Test public void testSearch() { User friend ...
package aula_0412.lista3.q3; public class Curandeiro extends Papel { private static final double BONUS_CURA = 0.4; public Curandeiro(int poder, int defesa) { super(poder, defesa); } public int ataca(){ return (int)(0.5 * super.ataca()); } public int cura(){ int valorBaseCura = super.cur...
package com.formationandroid.listesimple; import android.os.Bundle; import android.view.View; import android.widget.EditText; import java.util.ArrayList; import java.util.List; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widge...
package Java; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.*; public class TestFile { public static Scanner scan = new Scanner(System.in); public static void main(String ar[]) { try{ List<String> inputList = n...
package com.nestis.interview.questions.repository; import java.util.List; import org.springframework.data.mongodb.repository.MongoRepository; import com.nestis.interview.questions.entity.Question; public interface QuestionRepository extends MongoRepository<Question, String> { List<Question> findByQuestionIdIn(Li...
package com.trainsystem.upperlimb.senior.handtrainsystem2.units; import android.graphics.Bitmap; import android.graphics.Canvas; import android.util.Log; import com.trainsystem.upperlimb.senior.handtrainsystem2.Game; import com.trainsystem.upperlimb.senior.handtrainsystem2.Game2; import com.trainsystem.upperlimb.seni...
package socialapp.user.slack; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class Profile { private String avatar_hash; private String status_text; private String status_emoji; private String real_name; private String display_name...
package com.lzy.weapon.callback; /** * Created by Adminstrator on 2018/3/8. */ public interface CustomCallback<T> { T extcute(String tablename,int pagenum,int pagesize); // void onFailed(); // // void onStart(); // // void onFinish(); }
package com.itea.java.basic.l14.classwork; import java.util.Arrays; public class VarargsExample { public static void main(String[] args) { Integer[] array = {1, 2, 3}; printArray(array); printArray(1, 3, 4, 10, 12); } public static void printArray(Object... args) { System...
package com.git.cloud.request.dao.impl; import java.util.HashMap; import java.util.List; import com.git.cloud.common.dao.CommonDAOImpl; import com.git.cloud.common.exception.RollbackableBizException; import com.git.cloud.foundation.util.CollectionUtil; import com.git.cloud.request.dao.IBmSrAttrValDao; import...
/** * */ package solo; import it.unimi.dsi.fastutil.doubles.DoubleArrayList; import it.unimi.dsi.fastutil.objects.ObjectArrayList; import it.unimi.dsi.fastutil.objects.ObjectList; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; /** * @author kokichi3000 * */ /** ...
package caceresenzo.android.libs.internet; import java.io.File; import java.io.IOException; import android.app.Activity; import android.os.Environment; import android.os.Handler; import android.os.Looper; import android.support.v4.content.FileProvider; import caceresenzo.android.libs.dialog.DialogUtils; import cacere...
package ch.erp.management.mvp.contract; import android.support.v7.app.AppCompatActivity; import ch.erp.management.mvp.base.BaseModel; import ch.erp.management.mvp.base.BasePresenter; import ch.erp.management.mvp.base.BaseView; import ch.erp.management.mvp.ui.adapter.MMainViewpagerAdapter; /** * 主页-Contract */ pub...
package pl.rpolak.generator.exception; /** * * @author Rafal.Polak */ public class PasswordLenghtException extends RuntimeException { public PasswordLenghtException() { super(); } public PasswordLenghtException(String message) { super(message); } }
package com.dbs.portal.ui.layout; import java.util.List; import com.vaadin.terminal.ThemeResource; import com.vaadin.ui.Component; import com.vaadin.ui.Label; public class HTMLGridContent { private List<String> styleList = null; private Component content = null; private HTMLGridType type = null; p...
package ru.lysykh.for_web.json; import java.util.concurrent.*; public class Main { public static void main(String[] args) throws ExecutionException, InterruptedException { testSerialization(new Link("fullUrl", "asfdaf1", null)); testSerialization(new Link("fullUrl", "asfdaf3", new Link.ShortDate...
package com.arthur.leetcode; /** * @program: leetcode * @description: 消除游戏 * @title: No390 * @Author hengmingji * @Date: 2022/1/2 15:49 * @Version 1.0 */ public class No390 { public int lastRemaining(int n) { int head = 1; boolean left = true; int step = 1; while (n > 1) { ...
/* 作者:雪 时间:2015年5月11号 功能: 数组初步认识。。。 数组的便利 */ public class ArryTest{ public static void main(String[] args) { //数据类型 初始化一个数组对象长度为4,数组元素类型为int类型 //int[] arr=new int[4]; int arr[]={1,5,6,8}; //arr[1]=2; //arr[2]=4; System.out.println(arr[1]); for (int x=0;x<arr.length;x++) { System.out.println...
package cs414.a5.bawitt.server; import cs414.a5.bawitt.common.Gate; public class GateImpl extends java.rmi.server.UnicastRemoteObject implements Gate { private static final long serialVersionUID = 1L; private GateTypeImpl type; private boolean gateOpenStatus; public GateImpl(GateTypeImpl t) throws java.rmi.Rem...
package com.shougao.study; /** * 添加关灯开关,关灯的undo也就是把灯打开的动作。 * @author zhangqc * */ public class LightOffCommand implements Command { Light myLight; public LightOffCommand(Light l) { myLight = l; } @Override public void execute() { // TODO Auto-generated method stub myLight.off(); ...
package coffeeshop; import java.util.Scanner; class Reception { void chooseFromMenu() { ShakeCoffeeShop shakeCoffeeShop = new ShakeCoffeeShop(); SortOfMilkByPerson sortOfMilkByPerson = new SortOfMilkByPerson(); ValueOfCup valueOfCup = new ValueOfCup(); OtherAddToCoffee otherAddTo...
package com.application.operations; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.beans.PropertyVetoException; import java.io.File; import java.io.IOException; import java.sql.SQLException; import java.util.Iterator; import javax.imageio...
package vistas; import java.awt.Color; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.JFrame; import programa.CreadorMenuSuperior; import ar.uba.fi.algo3.titiritero.ControladorJuego; import ar.uba.fi.algo3.titiritero.SuperficieDeDibujo; import ar.uba.fi.algo3.ti...
package com.ctg.itrdc.janus.common.serialize.support.hessian; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import com.ctg.itrdc.janus.common.URL; import com.ctg.itrdc.janus.common.serialize.ObjectInput; import com.ctg.itrdc.janus.common.serialize.ObjectOutput; import com.ctg.it...
package ejercicio02; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.ArrayList; import java.util.Scanner; /** * @author Javier */ public class ejercicio02 { public static void mostrarMenu(...
package com.example.dagger2mvpdemo; import com.example.dagger2mvpdemo.base.BaseEntity; import com.example.dagger2mvpdemo.base.BaseModel; import com.example.dagger2mvpdemo.base.BasePresenter; import com.example.dagger2mvpdemo.base.ResultCallback; import com.example.dagger2mvpdemo.entity.User; import java.util.List; i...
/** * Copyright (C) 2008 Atlassian * * 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 agree...
package net.sourceforge.jFuzzyLogic.defuzzifier; import java.util.HashMap; import java.util.Iterator; import net.sourceforge.jFuzzyLogic.rule.Variable; /** * Center of gravity for functions defuzzyfier * * @author pcingola@users.sourceforge.net */ public class DefuzzifierCenterOfGravityFunctions extends Defuzzi...
package EEV_v5; import java.io.IOException; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.Arrays; public class MainClass { static int resourcesStepSize = 5; //static int territoryStepSize = 2; static int sampleSize= 10000; static boolean terrDistEqualResDest = true; public sta...
package com.example.cow.models; public class Cow { private String tagNumber,name,sex,breed,dob,age,joinedWhen,howObtain,danTagNum,sireNameTag; public Cow() { this.tagNumber = tagNumber; this.name = name; this.sex = sex; this.breed = breed; this.dob = dob; this...
package entities; import enums.Colors; import enums.Elements; import enums.Metals; import enums.Vegetables; import java.util.List; public class MetalsColorsData { private List<Integer> summary; private Integer odd; private Integer even; private List<Elements> elements; private Colors color; ...
package com.ruijie.sncheck.common.vo; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.ruijie.sncheck.common.error.ApiException; import com.ruijie.sncheck.common.error.ApiExceptionResponse; import com.ruijie.sncheck.common.error.ResultCode; import lomb...
package com.otongsoetardjoe.freakmangabrandnew.activities; import android.content.Intent; import android.content.res.ColorStateList; import android.os.Bundle; import com.google.android.material.tabs.TabLayout; import com.otongsoetardjoe.freakmangabrandnew.R; import com.otongsoetardjoe.freakmangabrandnew.adapters.view...
package com.getkhaki.api.bff.persistence; import com.getkhaki.api.bff.config.interceptors.models.SessionTenant; import com.getkhaki.api.bff.domain.models.EmployeeDm; import com.getkhaki.api.bff.domain.models.EmployeeWithStatisticsDm; import com.getkhaki.api.bff.domain.persistence.EmployeePersistenceInterface; import c...
package cn.chay.mapper; import cn.chay.entity.UserInfo; /** * @author Chay * @date 2020/4/7 11:20 */ public interface UserInfoMapper extends MyBaseMapper<UserInfo> { }
package com.comp3617.assignment1.controller; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import com.comp3617.assignment1.R; /** * Created by Jason Lai, a00934067 on 10/2/2017. * a home activity tha...
package com.yg.controller; import com.yg.constant.WebConstant; import com.yg.domain.Employee; import com.yg.domain.Login; import com.yg.domain.Manager; import com.yg.service.EmpManagerService; import com.yg.service.MgrManagerService; import com.yg.service.impl.EmpManagerImpl; import com.yg.vo.AttendVo; import com.yg.v...
package controller.commands.implementation; import controller.commands.Command; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class AdminCommand implements Command { @Override public String execute(HttpServletRequest req, HttpServletResponse resp) throws...
package com.example.shreyesh.sarinstituteofmedicalscience; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.widget.TextView; public class AboutUsActivity extends AppCompatActivity { private Toolbar aboutUsToolbar; private Text...
package UI.Sends.SendBox; public class SendedBoxUITest { }
package Model; // Generated 05/08/2014 21:14:09 by Hibernate Tools 3.6.0 import java.util.Date; /** * Atendimento generated by hbm2java */ public class Atendimento implements java.io.Serializable { private Integer idAtendimento; private int idOperador; private Integer idCliente; private Stri...
package net.feliperocha.gameofthree.unit; import net.feliperocha.gameofthree.domain.Move; import net.feliperocha.gameofthree.domain.MoveCommand; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provide...
/* * Copyright 2002-2023 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.domineer.triplebro.mistakebook.fragments; import android.app.Fragment; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.graphics.Color; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import and...
package com.cninnovatel.ev.me; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.view.Window; import android.webkit.WebChromeClient; import android.webkit.We...
package com.legaoyi.protocol.downstream.messagebody; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import com.legaoyi.protocol.message.MessageBody; /** * 设置记录仪时间 * * @author <a href="mailto:shengbo.gao@gmail.com;78772895@qq.com">gaoshengbo</a> * @version 1...
package com.gy.util; import lombok.Data; /** * @Author: liumin * @Description: * @Date: Created in 2018/3/23 11:07 */ @Data public class ResultObject { private Integer code; private Object data; private String message; }
package com.mdm.myhobbyrecyclerview; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.RectF; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.util.Log; import android.view.Mo...
package nz.co.zufang.model; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; import org.hibernate.ann...
package demos.okan.earthquakes.view.earthquakes; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.cardview.widget.CardView; import androidx.recyclerview.widget.RecyclerView; import java.uti...
/* For strings S and T, we say "T divides S" if and only if S = T + ... + T (T concatenated with itself 1 or more times) Return the largest string X such that X divides str1 and X divides str2. Example 1: Input: str1 = "ABCABC", str2 = "ABC" Output: "ABC" Example 2: Input: str1 = "ABABAB", str2 = "ABAB" Output: "A...
package com.surge.qa.base; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Properties; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.firefox.Fir...
package com.example.service; import com.example.pojo.Department; import com.example.pojo.Employee; import java.util.List; import java.util.Set; public interface DepartmentService { int addDepartment(Department department); int deleteDepartment(Integer id); int updateDepartment(Department department); ...
package com.example.kkopite.zhihudemo.observable; import com.example.kkopite.zhihudemo.http.Http; import rx.Observable; import rx.Subscriber; /** * Created by forever 18 kkopite on 2016/7/11 17:02. */ public class Helper { public static Observable<String> getHtml(final String url){ return Observable....
/** * Sencha GXT 1.0.0-SNAPSHOT - Sencha for GWT * Copyright (c) 2006-2018, Sencha Inc. * * licensing@sencha.com * http://www.sencha.com/products/gxt/license/ * * ================================================================================ * Commercial License * ============================================...
/****************************************************************************** * __ * * <-----/@@\-----> * * <-< < \\// > >-> * ...
import java.util.ArrayList; import java.util.Iterator; public class JavaExercise1<E>{ public static <E> Iterator<E> MyListIterator(ArrayList<E> likList) { Iterator<E> I = likList.iterator(); System.out.println("Title - Original ArrayList"+"\n"); w...
/* * 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.edu.eci.arsw.preparcial2.model; import java.util.Date; import org.springframework.data.annotation.Id; /** * * @author S...
package com.pan.al.test; import com.pan.al.test.outerinterclass.Outer; import java.util.*; public class TestDemo { public static void main(String[] args) { // int[][] mark=new int[5][5]; // for(int i=0;i<mark.length;i++) // for(int j=0;j<mark[0].length;j++) // System.out.println(m...
package com.xiv.gearplanner.models.inventory; import javax.persistence.*; @Entity @Table public class Meld { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @ManyToOne private Materia materia; public Meld() {} public Meld(Materia materia) { this.materi...
package model; import java.sql.Timestamp; import javax.faces.bean.ApplicationScoped; import javax.faces.bean.ManagedBean; import javax.faces.bean.SessionScoped; import entities.TwitterEntity; @ManagedBean(name = "twitterer") @ApplicationScoped public class Twitterer { private Timestamp timestamp; ...
/* * Copyright 2008-2018 shopxx.net. All rights reserved. * Support: localhost * License: localhost/license * FileId: FcjB0SPXIvd+1uvmA+Lp1Pfsc6r8+nuI */ package net.bdsc.dao.impl; import org.springframework.stereotype.Repository; import net.bdsc.dao.UserDao; import net.bdsc.entity.User; /** * Dao - 用户 * * ...
package com.corebaseit.advancedgridviewjson.models; /** * Created by Vincent Bevia on 27/10/16. <br /> * vbevia@ieee.org */ public class ElsPoetesJsonDataModel { private String name; private String bio; private String bioExtended; private int number; private String nameFirstPoem; private S...
package com.weili.service; import java.sql.Connection; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.shove.base....
/** * Copyright (C) 2008 Atlassian * * 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 t...
package ru.job4j.threads; //import java.util.ArrayList; /** * Класс TextCounter реализует функционал текстовой статистики. * * @author Gureyev Ilya (mailto:ill-jah@yandex.ru) * @version 2 * @since 2017-07-17 */ class TextCounter { /** * Обёртка строки. */ class Str { /** * Стро...
package com.pibs.bo; import java.util.HashMap; import java.util.Map; public interface RoomInquiryBo { Map<String, Object> search(HashMap<String, Object> dataMap) throws Exception; Map<String, Object> searchAll(HashMap<String, Object> dataMap) throws Exception; Map<String, Object> getAvailableRooms(HashMa...
/* * Copyright (C) 2014 Vasilis Vryniotis <bbriniotis at datumbox.com> * * 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 * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
package com.ufu.weka; import java.io.File; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.util.List; import java.util.Random; public class GeneretaFile { public static Integer identificador = 0; public static void generateSomFile(List<Le...
package com.xiv.gearplanner.models; import com.fasterxml.jackson.annotation.JsonManagedReference; import com.xiv.gearplanner.models.inventory.GearSet; import javax.persistence.*; @Entity @Table public class StaticMember { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Col...
package clock; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import java.awt.image.ImageObserver; import java.time.Clock; import java.time.Instant; import java.time.ZoneId; import java.util.Calendar; import javax.swing.JPanel; public class Cloc...
package leaftaps.lead.test; import org.testng.annotations.Test; import com.wrappers.test.ProjectSpecificWrapper; public class CreateContact extends ProjectSpecificWrapper { @Test public void creatingContact() throws Exception { //login(); clickByLink("Contacts"); clickByLink("Create Contact"); enterB...
package com.onhire.controller; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework...
package com.wrathOfLoD.GameLaunching; import com.wrathOfLoD.Models.Entity.Character.Avatar; import com.wrathOfLoD.Models.Map.Map; import com.wrathOfLoD.Models.Map.MapArea; import com.wrathOfLoD.Utility.Position; import com.wrathOfLoD.Views.AreaView.AreaView; /** * Created by icavitt on 4/12/2016. */ public abstract...
package com.alibaba.druid.bvt.sql.odps; import org.junit.Assert; import com.alibaba.druid.sql.SQLUtils; import junit.framework.TestCase; public class OdpsReadTest extends TestCase { public void test_read() throws Exception { String sql = "read sale_detail"; Assert.assertEquals("READ sale_detail"...
package br.iesb.alunoonline; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; import java.util...
package server; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import java.sql.ResultSet; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.Collection; import java.util.Date; import java.ut...
package gameData.Boards; import gameData.AttackResponse; import gameData.Battleships.Battleship; import gameData.Utils.CoordinatesUtil; import gameData.enums.Orientation; import gameData.enums.TileState; /** * Created by corentinl on 2/2/16. */ public class AlexaBoard extends BoardAbstract { public AlexaBoard()...
package com.xls.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.xls.dao.XLSDao; import com.xls.domain.EmployeeDetails; import com.xls.domain.ResultCalculation; @Service public class XLSServiceImpl implements XLSS...
package io.ceph.rgw.client.spring; import io.ceph.rgw.client.BucketClient; import io.ceph.rgw.client.ObjectClient; import io.ceph.rgw.client.model.GetStringResponse; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.slf4j.Logger...
package classesState; import lab6.Pessoa; public class FinalizadaVacinacao extends EstadoVacinacao { @Override public void alteraEstado(Pessoa pessoa) { } @Override public String toString() { return "Vacina finalizada. :D"; } }
package com.pago.core.quotes.api; import com.codahale.metrics.annotation.Timed; import com.pago.core.quotes.api.dto.EventRequest; import com.pago.core.quotes.api.dto.EventResponse; import com.pago.core.quotes.api.dto.Page; import javax.validation.constraints.NotNull; import javax.ws.rs.*; import javax.ws.rs.core.Medi...
package com.allmsi.plugin.cache.redis; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.SocketTimeoutException; import java.util.Set; import javax.annotation.Resource; import org....
package com.mec.datareceiver; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.ObjectMessage; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXml...
package com.ziaan.scorm; import java.io.File; import jxl.Cell; import jxl.Sheet; import jxl.Workbook; public class ExcelUtil{ private String str_ExcelPath = new String(); private String str_ExcelName = new String(); private String str_ExcelFull = new String(); private String str_ErrorMessage = new String();...
package com.stk123.model.bo; import com.stk123.common.util.JdbcUtils.Column; import java.io.Serializable; import com.stk123.common.util.JdbcUtils.Table; import java.sql.Timestamp; @SuppressWarnings("serial") @Table(name="STK_TEXT") public class StkText implements Serializable { @Column(name="ID", pk=true) pr...