text
stringlengths
10
2.72M
package fr.ucbl.disp.vfos.util.configurator; import java.util.ArrayList; public class CPSConfiguration { private String id; private ArrayList<SensorConfiguration> sensorList = new ArrayList<SensorConfiguration>(); private ArrayList<ActuatorConfiguration> actuatorList = new ArrayList<ActuatorConfiguration>(); p...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Bean; /** * * @author Zhang Yanlin */ public class Loyalty { private int Loyalty; private int memberID; public int getLoyalty(){ return this.Loyalty; } public void ...
package application; import java.util.Random; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.control.Label; public class MyController { @FXML private Label myMessage; public void GenerateRadom(ActionEvent Event){ Random rand=new Random(); int myRand=rand.nextInt(50+1); myMes...
package gromcode.main.lesson2; public class SumAndDivision { public static void main(String[] args) { int s = 0, c1, c2; boolean b; for(int i = 1; i <= 1000; i++){ s += i; } c1 = s / 1234; c2 = s % 1234; b = c2 > c1; System.out.println(b...
public class Column { public int number; public int numWhitePieces; public int numBlackPieces; public Column(){} public Column(int num, int white, int black){ numWhitePieces=white; numBlackPieces=black; number=num; } }
package com.lenovohit.elh.base.model; import javax.persistence.Entity; import javax.persistence.Table; import com.lenovohit.core.model.BaseIdModel; /** * * 定点医院 */ @Entity @Table(name="ELH_DESIGNATED_HOSPITAL") public class DesignatedHos extends BaseIdModel { /** * */ private static final long serialVers...
package stmt; import expr.Expr; import slp.PropagatingVisitor; import slp.Visitor; public class IfStmt extends Stmt { public Expr expr; public final Stmt s1; public final Stmt s2; public IfStmt(Expr expr,Stmt s1,Stmt s2, int line_num) { super( line_num ); this.expr = expr; this.s1 = s1; this.s2 = s2; } public...
// Result of most successfull run: /* Attempt 17905: Max equal substring = 12 Max zero substring = 7 Least difference = 16 Total difference = 57784 Average difference = 24.568027210884352 Quality accepted! long f[] = new long[49]; f[0] = 0x12C701D20654CL; f[1] = 0x05B37B8EC22D5L; f[2] = 0x0...
package edu.buffalo.cse.cse486586.groupmessenger1; import android.app.Activity; import android.content.ContentValues; import android.content.Context; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.telephony.TelephonyManager; import android.text.method.ScrollingMovementMet...
package de.mq.phone.web.person; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; import junit.framework.Assert; import org.junit.Test; import org.mockito.Mockito; import org.springframework.data.geo.Circle; import org.springframe...
package Models; import java.awt.*; import java.awt.print.*; import static java.awt.print.Printable.NO_SUCH_PAGE; import static java.awt.print.Printable.PAGE_EXISTS; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import javafx.collections.ObservableList; public...
package com.techtest.mobilab.datamodel; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; @Document(collection = "Transaction") public class TransactionDocument { @Id private String id; private String date; private String amountOfTransaction; privat...
package org.sparkle.jbind; import java.nio.ByteBuffer; import org.sparkle.jcfg.JCFG; import org.sparkle.jcfg.Parser; import org.sparkle.jcfg.Writer; /** * * @author yew_mentzaki */ public class Part { private String title; private byte[] data; Part(byte[] data) { } public Part(Strin...
package sampleproject.sockets; import java.io.*; import java.net.UnknownHostException; import sampleproject.db.*; /** * A DvdConnector is used in cases where the GUI client wants to make a * network connection. In this case, that connection is a Socket connection. * * @author Denny's DVDs * @ve...
package com.cskaoyan.bean.vo; /** * @Author:ZCH * @Date:2019/6/6 21:58 */ public class ImgPreVo extends Vo{ public ImgPreVo() { } public ImgPreVo(int status,Object data, String imgPre) { this.setStatus(status); this.setData(data); this.setImgPre(imgPre); } @Override ...
/* * 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.mmorg29.appointmentscheduler; import com.mmorg29.dbtools.Customer; import com.mmorg29.dbtools.CustomerBuilder; im...
package com.bot.currencies; public class SimpleCurrency implements Comparable{ private String name; private static final String format = "%s %.3f"; private float rate; private String mark; public SimpleCurrency(String name, float rate, String mark) { this.name = name; this.rate =...
//designpatterns.factorymethod.FileLoggerFactory.java package designpatterns.factorymethod; //文件日志记录器工厂类,充当具体工厂角色 public class FileLoggerFactory implements LoggerFactory { public Logger createLogger() { //创建文件日志记录器对象 Logger logger = new FileLogger(); //创建文件,代码省略 return logger; } }
/** * Card */ public class Card { private String _identity; private Character _suit; private int _value; public Card(String _identity, Character _suit) { this._identity = _identity; this._suit = _suit; this._value = this._calcValue(); } @Override public String to...
package action.com.team; import com.opensymphony.xwork2.ActionSupport; import net.sf.json.JSONObject; import org.apache.struts2.interceptor.ServletRequestAware; import org.apache.struts2.interceptor.ServletResponseAware; import org.apache.struts2.interceptor.SessionAware; import org.springframework.context.Application...
package com.example.dto; import lombok.Data; /** * Created by sunming on 2019/6/11. */ @Data public class TbEmp { private Integer id; private String name; private Integer age; private String gender; private String email; }
package com.flyingh.moguard.receiver; import android.appwidget.AppWidgetProvider; import android.content.Context; import android.content.Intent; import com.flyingh.moguard.service.TaskManagerService; public class TaskManagerWidgetProvider extends AppWidgetProvider { @Override public void onEnabled(Contex...
package com.auro.scholr.home.presentation.view.adapter; import android.view.LayoutInflater; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.databinding.DataBindingUtil; import androidx.recyclerview.widget.RecyclerView; import com.auro.scholr.R; import com.auro.scholr.core.common.Ap...
package questionFactory; import question.Question; import question.concreteQuestion.BuildTowerAndCompareQuestion; public class BuildTowerAndCompareFactory implements QuestionFactory { BuildTowerAndCompareQuestion question; @Override public Question createQuestion() { question = new BuildTowerAndC...
package com.vincent.algorithm.basic.btree; /** * leetcode 236 * 给定一个二叉树, 找到该树中两个指定节点的最近公共祖先。 * * 百度百科中最近公共祖先的定义为:“对于有根树 T 的两个结点 p、q,最近公共祖先表示为一个结点 x,满足 x 是 p、q 的祖先且 x 的深度尽可能大(一个节点也可以是它自己的祖先)。” * * 例如,给定如下二叉树: root =[3,5,1,6,2,0,8,null,null,7,4] * * * * * * 示例 1: * * 输入: root = [3,5,1,6,2,0,8,null,null,7,...
/* * Created on Apr 23, 2007 * */ package com.citibank.ods.modules.client.erem.functionality; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.List; import org.apache.struts.action.ActionForm; import com.citibank.ods.Gl...
package com.datagraph.core; /** * Created by Denny Joseph on 4/24/16. */ public class ServiceManager { }
package online.lahloba.www.lahloba.data.model; import android.os.Parcel; import android.os.Parcelable; public class CityItem implements Parcelable { private String id; private String name; double lat; double lan; String parent; public CityItem() { } protected CityItem(Parcel in) { ...
package com.fanfte.concurrent.threads; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; /** * Created by tianen on 2019/3/18 * * @author fanfte * @date 2019/3/18 **/ public class ThreadPoolDemo ...
package io.raccoonconsultant.repositories; import io.raccoonconsultant.entities.Exam; import org.springframework.data.jpa.repository.JpaRepository; public interface ExamRepository extends JpaRepository<Exam, Long> { }
package com.raymon.api.utils; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import java.util.HashMap; import java.util.Map; public class JsonTools { /** * 将json格式的字符串转换为map * @param json * @return */ public static Map<String, Object> jsonToMap(Stri...
public class Solution{ //this method takes O(n) time and O(logn) space; public static TreeNode buildBST(int[] array){ return build(array,0,array.length-1); } private static TreeNode build(int[] array,int low,int high){ if(low>high){return null;} int mid = low + (high-low)/2; TreeNode node = new TreeNode(a...
// // Decompiled by Procyon v0.5.36 // package com.davivienda.sara.tablas.cajero.servicio; import javax.persistence.Query; import java.util.logging.Level; import java.util.Collection; import com.davivienda.sara.entitys.Transportadora; import com.davivienda.sara.entitys.Ubicacion; import com.davivienda.sara.entitys....
package com.geniusgithub.lookaround.activity.set; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler.Callback; import android.os.Message; import and...
/** * Copyright (C) 2014 android10.org. All rights reserved. * * @author Fernando Cejas (the android10 coder) */ package com.example.isvirin.storeclient.presentation.view.activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.Window; import com.examp...
package com.fumei.bg.mapper; import com.fumei.bg.domain.web.Partner; import java.util.List; /** * @author zkh */ public interface PartnerMapper { /** * 查询合作人列表 * @param partner 条件 * @return 合作人列表 */ List<Partner> selectPartnerList(Partner partner); /** * 保存合作人信息 * @param...
package thuan.robin.fragment_send_target; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterVi...
package com.example.group46; import android.content.Intent; import android.content.res.ColorStateList; import android.graphics.Color; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.RadioBu...
package com.moviee.moviee.fragments; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.os.Handler; import android.os.IBinder; import android.os.Looper; import android.preference.PreferenceManage...
package com.mpls.v2.service; import com.mpls.v2.dto.GroupFullDTO; import com.mpls.v2.dto.GroupShortDTO; import com.mpls.v2.model.Group; import java.util.List; public interface GroupService { Group save (Group group); Group update(Group group); Group update(GroupShortDTO groupShortDTO); Group upda...
package expansion.neto.com.mx.jefeapp.fragment.fragmentDashboard; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4....
package lt.baltic.talents.projects.CalendarNoteReminder.controllers; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.a...
public class mycalculation extends calculation { public void multiplication(int x,int y) { z=x*y; System.out.println("the product"+z); } public static void main(String[]args) { int a=5,b=10; mycalculation demo=new mycalculation(); demo.addition...
package com.github.edwnmrtnz.betterpermissions; import android.Manifest; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import com.github.edwnmrtnz.betterpermission.BetterPermission; import com.github.edwnmrtnz.betterpermission.P...
package listeners; import org.eclipse.swt.widgets.Shell; import exceptions.NoEmptyPetsAllowedException; import widgets.NewPetDialog; import widgets.PetInfo; /** * Handles creating a new pet. New information will be saved in the database and * available for viewing at any time. * * @author aggie * ...
package cn.itheima.naker.day_04; public class Demo_02_Array_static_init { //数组的静态初始化 public static void main(String[] args) { double[] arr = {1.0, 2.0, 3.0}; //简化格式(推荐) char[] arr2 = new char[]{'a', 'b', 'c'}; //完整格式 for (double d : arr) { System.out.println(d); } System.out.println("------------...
import java.io.*; /** Incomplete version of supplementary class for phone books. This version of the application declares a (fairly) large array to hold the directory. When this class is instantiated, it reads in the contents of the data file mydirectory.txt, each line of which contains one entry for the dire...
package Udp; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; public class UdpListener { String ip; public UdpListener(String ip) { this.ip = ip; } public void start() { try { DatagramSocket ds = new...
package com.site.tools; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; /** * * 工具类 * */ public class...
package com.zp.integration.common.httpclient; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.client.ResponseHa...
package metier; import exceptions.NumSecuException; import java.math.BigInteger; public class NumSecu { private int nNumSecu; private int sexe; // length 1 private int anneNaissance; // length 2 private int moisNaissance; // length 2 private int departement; // length 2, < 95 private int cod...
package by.htp.cratemynewpc.dao; import by.htp.cratemynewpc.domain.DDRBean; public interface DdrDAO extends CrudDAO<DDRBean> { //add new }
package FlowControlStatements; /** * */ /** * @author guptaav * */ public class Ifelse { /** * @param args */ public static void main(String[] args) { int a=100; int b=200; if (true) { System.out.println("True body"); } else { System.out.println("False body"); } System.out...
package net.liuzhenhua.shapedimageview; import android.content.Context; import android.graphics.Path; import android.graphics.RectF; import android.util.AttributeSet; /** * Created by liuzhenhua on 2017/4/17. */ public class PathImageView extends BasePathImageView { private Path mPath; public PathImageVie...
package com.zc.base.sys.modules.login; import com.zc.base.sys.modules.user.entity.User; import org.apache.shiro.subject.SimplePrincipalCollection; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.http.HttpSessionAttributeListener; import javax.servlet.http.HttpSessionBindingEvent;...
package com.tandon.tanay.locationtracker.constants; import com.google.android.gms.location.LocationRequest; /** * Created by tanaytandon on 18/09/17. */ public interface LocationRequestConfig { int UPDATE_INTERVAL = 1 * 6000; int FASTEST_INTERVAL = 1 * 6000; int MAX_INTERVAL = 1 * 6000; int PRIORI...
/** * Copyright 2014 Bill McDowell * * This file is part of theMess (https://github.com/forkunited/theMess) * * 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....
package Teste; import Operacional.Cartao; import Operacional.PagamentoCartao; import static org.junit.Assert.*; import java.math.BigDecimal; import org.junit.Before; import org.junit.Test; public class PagamentoCartaoTest { private PagamentoCartao pc; private Cartao c; @Before ...
package Entyties.Project.Development.BuildingWrapper.CalibrationData.ZcCalibrations.Bonus; import com.fasterxml.jackson.annotation.JsonProperty; import javax.annotation.Generated; @Generated("com.robohorse.robopojogenerator") public class BonusRow{ @JsonProperty("LevelBonus") private int levelBonus; @JsonPropert...
package zookeeperTest.factory; import org.apache.curator.RetryPolicy; import org.apache.curator.framework.CuratorFramework; import org.apache.curator.framework.CuratorFrameworkFactory; import org.apache.curator.retry.ExponentialBackoffRetry; /** * zookeeper client factory * Author: zirui liu * Date: 2021/7/18 */ ...
package servlets; import dao.HeroDAO; import dao.UserDAO; import models.Hero; import models.User; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.MultipartConfig; import javax.servlet.annotation.WebServlet; import javax.servlet.http.*; import java.io.File...
package com.simpletime.common; public class Constant { public static final String LOCAL = "http://localhost:8080/SimpleTime/"; }
public class XorSequenceEasy { public int getmax(int[] A, int N) { int zero = count(A, 0); int result = zero; long current = 1; while(current < N) { int newResult = count(A, (int)current); if(zero < newResult) { result += newResult - zero; ...
package com.ljh.dto; import lombok.Data; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import org.springframework.stereotype.Controller; /** * @Author laijinhan * @date 2020/9/24 10:16 下午 */ // Component 等价于 <bean id="user" class="com.ljh.dto.User"/> @...
package com.empowerhack.family.memberservice.repository; import java.util.List; import com.empowerhack.family.memberservice.domain.Member; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.repository.history.Revi...
/* * Created on 16-mei-2005 */ package craterstudio.io; import java.io.IOException; public interface TransferListener { public void transferInitiated(int expectedBytes); public void transfered(int bytes); public void transferFinished(IOException potentialException); }
package com.gxtc.huchuan.ui.news; import com.gxtc.commlibrary.BasePresenter; import com.gxtc.commlibrary.BaseUiView; import com.gxtc.commlibrary.BaseUserView; import com.gxtc.commlibrary.data.BaseRepository; import com.gxtc.commlibrary.data.BaseSource; import com.gxtc.huchuan.bean.NewNewsBean; import com.gxtc.huchuan....
package com.fumei.bg.controller; import com.fumei.bg.common.AjaxResult; import com.fumei.bg.common.BaseController; import com.fumei.bg.domain.system.SysFile; import com.fumei.bg.exception.FileException; import com.fumei.bg.service.system.ISysFileService; import com.fumei.bg.util.FileUploadUtil; import org.slf4j.Logger...
package user; import browserUI.BrowserUI; public class Browser extends User { public Browser(String name,String password,String role){ super(name,password,role); } @Override public void showMenu() { new BrowserUI(this,"ä¯ÀÀÕß²Ù×÷½çÃæ"); } }
package inf1010.assignment; public class Person { private String email; private String name; private String userName; Person(String email, String name, String userName) { this.email = email; this.name = name; this.userName = userName; } public int compareTo(Person p) { System.out.println("D...
/****************************************************************************** * __ * * <-----/@@\-----> * * <-< < \\// > >-> * ...
package de.hdm.softwarepraktikum.server; import java.util.logging.Logger; import de.hdm.softwarepraktikum.shared.CommonSettings; /** * Klasse mit Eigenschaften und Diensten, die für alle Server-seitigen Klassen von * Bedeutung sind. * Durch diese Klasse wird eine Logging-Funktion unter Java unterstützt, ...
package L6_ExerciciosComStrings; import com.sun.jdi.Value; import java.util.Scanner; public class Exercicio_02_main { public static void main(String[] args) { Scanner myScanner = new Scanner(System.in); System.out.println("Digite seu nome"); String nomeUsuario = myScanner.nextLine(); ...
package dao.impl; import dao.CoffeeOrderItemDao; import entities.CoffeeOrderItem; import org.apache.log4j.Logger; import org.springframework.stereotype.Repository; import java.io.Serializable; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import...
package org.lf.event; import java.util.EventListener; /** * @author liufu */ public interface MethodExecutionEventListener extends EventListener { /** * 处理方法开始执行的时候发布的MethodExecutionEvent事件 3 */ void onMethodBegin(MethodExecutionEvent evt); /** * 处理方法执行将结束时候发布的MethodExecutionEvent事件 4 ...
package com.xue.trainingclass.activity; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.view.Window; import android.widget.AdapterView; import and...
package com.tu.curd.elasticsearch; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; import org.springframework.stereotype.Component; /** * @Description * @Classname EmployeeRepository * @Date 2019/7/9 16:26 * @Created by tuyongjian */ @Component public interface EmployeeRepositor...
package com.example.demo.controller; import com.example.demo.model.AppImage; import com.example.demo.service.ImageService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation...
package com.hunger.rpc.netty.client.handler; import io.netty.channel.ChannelPipeline; /** * Created by 小排骨 on 2018/1/10. */ public interface RpcSendHandler { /** * 添加在channel上的handler * @param pipeline */ void handle(ChannelPipeline pipeline); }
/* * 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.db.persistence.events.audit; import com.db.persistence.events.ServerEvent; import com.db.persistence.scheme.BaseObject; import java.util.UUID; @ServerEvent(id = 8) public class ObjectModificationEvent implements AuditEvent { private final BaseObject tip; private final BaseObject item; privat...
package com.auro.scholr.util.snippety.span; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.RectF; import android.text.style.ReplacementSpan; /** * Creates a rounded background with specified cornerRadius. */ public class RoundedBackgroundSpan extends ReplacementSpan { ...
public class EightRooks { public String isCorrect(String[] board) { int[] rowCount = new int[8]; int[] colCount = new int[8]; int count = 0; for(int i = 0; i < board.length; ++i) { for(int j = 0; j < board[i].length(); ++j) { if(board[i].charAt(j) == 'R')...
/** * 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.zantong.mobilecttx.user.bean; import com.zantong.mobilecttx.base.bean.BaseResult; /** * Created by zhengyingbing on 16/6/1. * 消息类别返回实体列表 */ public class MessageTypeResult extends BaseResult { private MessageTypeBean data; public void setData(MessageTypeBean data) { this.data = data; ...
package com.zjf.myself.codebase.activity.FreeTimeProjectList; import android.os.Bundle; import com.zjf.myself.codebase.R; import com.zjf.myself.codebase.activity.BaseAct; /** * <pre> * author : ZouJianFeng * e-mail : 1434690833@qq.com * time : 2017/06/15 * desc : * version: 1.0 * </pre...
/* * 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 entidades; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; import java...
package net.imagej.visad; import net.imagej.Dataset; import net.imagej.ImageJ; import net.imglib2.RealRandomAccessible; import net.imglib2.img.Img; import net.imglib2.img.ImgView; import net.imglib2.interpolation.randomaccess.NearestNeighborInterpolatorFactory; import net.imglib2.realtransform.InverseRealTransform; i...
package com.riddit.Riddit.repository; import com.riddit.Riddit.model.Text; import org.springframework.data.repository.CrudRepository; public interface TextRepository extends CrudRepository<Text, Long> { }
/* * Created by IntelliJ IDEA Ultimate, 2020 * User: Abhishek * Date: 17-02-2020 * Time: 10:19 PM */ package contactList; import contactADT.ContactADT; public class ContactList<Person> implements ContactADT<Person> { private Node<Person> head = null; public int size = 0; private Node<Perso...
package pageObjects; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; public class LoginPage { public WebDriver driver; public LoginPage(WebDriver driver) { this.driver = driver; } By emailField = By.xpath("//*[@id='user_email']"); By passwordFiel...
package org.springframework.roo.addon.layers.repository.jpa.addon; import java.util.Arrays; import java.util.List; import org.apache.commons.lang3.Validate; import org.apache.commons.lang3.builder.ToStringBuilder; import org.springframework.roo.addon.layers.repository.jpa.annotations.RooJpaRepository; import org.spri...
package algorithms.search.symboltable.client; import algorithms.search.ST; import algorithms.search.symboltable.SequentialSearchST; /** * Created by Chen Li on 2017/7/9. */ public class SequenceSTTraceClientTest extends TraceSTClientTest { @Override protected ST<String, Integer> createST() { return new Sequ...
package com.diablo.HibernateUtility; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; public class HibernateUtility { public static SessionFactory getSessionFactory(){ Configuration config = new Configuration(); config.configure("hibernate.cfg.xml"); return config.buildSessionFactor...
package com.bupc.bupc_quiz.fragments; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.bupc.bupc_quiz.R; public class HelpFragment extends ...
package generic.pecs; public class Spring extends Session{ }
package com.tvm.dao; public class Response { }
package com.systemspecs.payrollfileinterface.itemProcessor; import com.systemspecs.payrollfileinterface.model.Promotioninterface; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.batch.item.ItemProcessor; public class PromotionItemProcessor implements ItemProcessor<Promotioninterfac...
package de.hofuniversity.ejbbean.bean; import java.util.List; import javax.ejb.Remote; import de.hofuniversity.ejbbean.data.TeamGroupSummaryData; /** * * @author Markus Exner * */ @Remote public interface TableListRemote { public final String MAPPED_NAME = "ejb/TableList"; public List<TeamGroupSu...
package ch07; public class AnonymousExam { public static void main(String[]args){ Object iv=new Object() { public void mm() { System.out.println("아무도 모르게"); } }; } }