text
stringlengths
10
2.72M
package kr.co.people_gram.app; import android.app.Activity; import android.content.Context; import android.graphics.BitmapFactory; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.util.DisplayMetrics; import android.util.Log; import android.util.TypedValue; import android.view.Dis...
package br.com.wasys.gfin.cheqfast.cliente.model; import br.com.wasys.library.model.Model; /** * Created by pascke on 23/06/17. */ public class DispositivoModel extends Model { public String token; public String pushToken; public UsuarioModel usuario; }
import java.io.File; public class DisplayFiles { public void display() { File file=new File("C:\\Users\\kchaitanya\\Desktop\\chaitanya"); String[] f=file.list(); for(String str :f) System.out.println(str); } }
/* * Copyright (C) 2018 The Android Open Source Project * * 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 app...
package junit.test; import org.junit.BeforeClass; import org.junit.Test; import org.springframework.context.support.ClassPathXmlApplicationContext; import com.cy.bean.user.Users; import com.cy.service.user.UsersService; import com.cy.utils.MD5; public class UsersServiceTest { private static UsersServic...
package com.jarhax.eerieentities.client.gui; import java.util.ArrayList; import java.util.List; import com.jarhax.eerieentities.EerieEntities; import com.jarhax.eerieentities.config.Config; import net.minecraft.client.gui.GuiScreen; import net.minecraftforge.common.config.ConfigElement; import net.minecraftforge.com...
package com.git.cloud.iaas.hillstone.model; public class HillStoneOperation { public static final String GET_TOKEN = "getTokenHS"; public static final String GET_SERVICEBOOK = "getServiceBookHS"; public static final String GET_SERVICEBOOK_BY_NAME = "getServiceBookByNameHS"; public static final String CREATE_...
package orm.integ.eao.model; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import orm.integ.dao.DataAccessObject; import orm.integ.utils.IntegError; import orm.integ.utils.MyLogger; public class EntityMo...
package com.miyatu.tianshixiaobai.activities.mine.BackstageManage; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import ...
package com.example.mschyb.clockingapp; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.CalendarView; import android.widget.Tex...
package com.edgit.commons.network.exceptions; import java.io.IOException; public class IllegalLengthNameException extends IOException { private static final long serialVersionUID = 1L; }
package com.example.lemonimagelibrary.request; import android.content.Context; import android.widget.ImageView; import com.example.lemonimagelibrary.cache.BitmapCache; import com.example.lemonimagelibrary.config.BitmapConfig; import com.example.lemonimagelibrary.loader.LoaderMode; import com.example.lemonimagelibrary...
package com.gadgetreactor.stocky; import android.appwidget.AppWidgetManager; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.util.Log; import android.widget.RemoteViews; import android.widget.RemoteViewsService; import android.widge...
package framework; import framework.SuperServlet; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.servlet.ServletContextHandler; import org.eclipse.jetty.servlet.ServletHolder; import org.eclipse.xtext.xbase.lib.Exceptions; @SuppressWarnings("all") public class StartServer { /** * http://localho...
/******************************************************************************* * Copyright 2014 See AUTHORS file. * <p> * 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 * <p> * http://w...
package br.com.bottesini.comercialapi.service; import br.com.bottesini.comercialapi.model.Oportunidade; import br.com.bottesini.comercialapi.repository.OportunidadeRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.ArrayList; impo...
/* * Copyright 2002-2017 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.zantong.mobilecttx.huodong.bean; import com.zantong.mobilecttx.base.bean.BaseResult; /** * Created by zhoujie on 2017/2/17. */ public class ActivityCarResult extends BaseResult { private ActivityCar data; public ActivityCar getData() { return data; } public void setData(Activi...
package br.mpac.controller; import javax.ejb.EJB; import javax.enterprise.context.SessionScoped; import javax.inject.Named; import br.mpac.dados.GenericDao; import br.mpac.dados.RendaDao; import br.mpac.entidade.Renda; @Named @SessionScoped public class RendaController extends AbstractController<Renda> { private s...
import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Scanner; public class app { public static void main(String[] args) { System.out.println("Bienevenido a la segunda actividad de J...
package com.beike.core.service.trx.partner.impl; import org.apache.commons.lang.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.beike.commo...
package com.nanyin.config.security.filter; import com.alibaba.fastjson.JSON; import com.nanyin.config.enums.ResultCodeEnum; import com.nanyin.config.exceptions.tokenException.TokenEmptyException; import com.nanyin.config.exceptions.tokenException.TokenExpiredException; import com.nanyin.config.exceptions.tokenExceptio...
package sr.hakrinbank.intranet.api.mapping; import org.modelmapper.PropertyMap; import sr.hakrinbank.intranet.api.dto.ListedPersonGreyDto; import sr.hakrinbank.intranet.api.model.ListedPersonGrey; public class ListedPersonGreyToDtoMap extends PropertyMap<ListedPersonGrey, ListedPersonGreyDto> { @Override pro...
package com.bestom.aihome.imple; import com.bestom.aihome.imple.inter.Listener.DataReceivedListener; import com.bestom.aihome.imple.inter.Obser.Observer; /** * 观察者,接收串口数据 通知服务 */ public class EnventDataObserver implements Observer { private DataReceivedListener dataReceivedListener; public EnventDataObser...
package com.fszuberski.tweets.session.adapter.lambda; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.LambdaLogger; import com.fszuberski.LambdaTestLogger; import com.fszuberski.tweets.rest.domain.ApiException; import com.fszuberski.tweets.session.adapter.lambda.model...
package com.sandrapenia.business; import com.sandrapenia.entities.Entity; /** Utilizada para los mensajes de error y exito en los business **/ public class Response { private ResponseTypeEnum type; private String message; private Entity entity; private Response(ResponseTypeEnum type) { this.type = type; } ...
package com.tanon.abedjinan.springbootvue.utils; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; /** * Un DTO pour afficher un lien * * @author pakeyser * */ public class LinkDTO { private final String text; private final Long value; @JsonCreator p...
package com.yan.coupons.dao; import java.util.Calendar; import java.util.List; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import com.yan.coupons.dto.CouponDto; import com.yan.coupons.entity.Coupon;...
package com.jushu.video.service.impl; import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; import com.jushu.video.entity.MenuMovieType; import com.jushu.video.entity.MenuRecomme...
package comp1110.ass2; import org.junit.jupiter.api.Test; import java.util.Arrays; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; @org.junit.jupiter.api.Timeout(value = 5000, unit = MILL...
package com.strings; public class ReverseWordsInString { public static void main(String[] args) { System.out.println(new ReverseWordsInString().reverseWords("Today is Sunday")); } public String reverseWords(String s) { if(s == null) return null; char[] chars = s.toCharArray(); int i=0; int word_begi...
package com.bibledaily.repository; public interface UserRepository extends GenericRepository { }
import java.util.StringTokenizer; public class B4Stringtest { public static void main(String[] args) { StringTokenizer stz1 = new StringTokenizer("홍길동 김하나 오준석"); int count=stz1.countTokens(); System.out.println(count); while(stz1.hasMoreElements())//nextelements { String st = (String)stz1.nextElement();...
package com.trump.auction.pals.api.model; import java.io.Serializable; import lombok.Data; /** * Created by IntelliJ IDEA * YhInfo : zhangsh * Date : 2016/12/26 0026 * Time : 18:00 */ public class MobilePaySendModel implements Serializable{ private static final long serialVersionUID = -8221711996982670198L; p...
/** * project name:cdds * file name:ScheduleService * package name:com.cdkj.schedule.schedule.service.api * date:2018/8/27 13:44 * author:ywshow * Copyright (c) CD Technology Co.,Ltd. All rights reserved. */ package com.cdkj.schedule.schedule.service.api; import com.cdkj.common.base.service.api.BaseService; imp...
package com.doohong.shoesfit.test; import junitparams.JUnitParamsRunner; import org.junit.Test; import org.junit.runner.RunWith; @RunWith(JUnitParamsRunner.class) public class MemberTest { }
package com.sqlcipherexample.app.database; import android.content.Context; import com.sqlcipherexample.app.R; import com.sqlcipherexample.app.model.contract.ProductsContract; import com.sqlcipherexample.app.preferences.MySecurePreferences; import net.sqlcipher.database.SQLiteDatabase; import net.sqlcipher.database.S...
package samwho.perf; import battlecode.common.*; public class BytecodeCounter { private RobotController rc; private int bytecodes; private int round; private int total; public BytecodeCounter(RobotController rc) { this.rc = rc; this.bytecodes = Clock.getBytecodeNum(); this.round = rc.getRoundNu...
package vision.model; /** * 3-dimensional vector */ public class Position { /** * @uml.property name="x" */ private float x; public Position(float f, float g, float h) { x = f; y = g; z = h; } /** * Getter of the property <tt>x</tt> * * @return Returns the x. * @uml.p...
package com.SearchHouse.dao.impl; import java.util.List; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.SearchHouse.dao.QualityDao; import com.Se...
package com.alibaba.druid.bvt.sql; import junit.framework.TestCase; import org.junit.Assert; import com.alibaba.druid.sql.PagerUtils; import com.alibaba.druid.util.JdbcConstants; public class PagerUtilsTest_Limit_oracle_0 extends TestCase { public void test_oracle_oderby_0() throws Exception { String sq...
package ar.com.trazabilidad.servicio; import java.util.List; import javax.inject.Inject; import ar.com.trazabilidad.dominio.Usuarios; import com.google.gson.Gson; import io.jsonwebtoken.Jwts; import java.util.Date; import javax.ejb.Stateless; import javax.json.Json; import javax.json.JsonObject; import java...
package com.capstone.videoeffect; import android.annotation.TargetApi; import android.content.pm.PackageManager; import android.os.Build; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.GridView; import android.widget.ImageVie...
package com.gxtc.huchuan.adapter; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import com.gxtc.commlibrary.base.BaseTitleFragment; import com.gxtc.huchuan.Constant; import java.util.List; public c...
package technicalTest.impl; import java.math.BigDecimal; import technicalTest.interfaces.Offer; public class MultipleOffer implements Offer { private int count; private BigDecimal totalPrice; public MultipleOffer(int count, BigDecimal totalPrice) { this.count = count; this.totalPrice = totalPrice; } @Ove...
package com.gammazero.signalrocket; import android.app.Activity; import android.app.ListActivity; import android.app.LoaderManager; import android.content.Context; import android.content.CursorLoader; import android.content.Intent; import android.content.Loader; import android.content.SharedPreferences; import android...
//package DisasterAlert; // //import java.io.BufferedReader; //import java.io.BufferedWriter; //import java.io.File; //import java.io.FileReader; //import java.io.FileWriter; //import java.io.IOException; //import java.text.ParseException; //import java.text.SimpleDateFormat; //import java.util.Date; // //public class ...
package com.seva.framework.login; import java.util.ArrayList; import java.util.Collection; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframe...
package com.example.demo.application.server; import com.example.demo.Constant; import com.auth0.jwt.JWTVerifier; import io.grpc.*; import java.util.Map; public class JwtServerInterceptor implements ServerInterceptor { private static final ServerCall.Listener NOOP_LISTENER = new ServerCall.Listener() { };...
package cn.edu.cqut.controller; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.anno...
package com.company; import javax.swing.*; import javax.swing.table.DefaultTableModel; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class Kitchen extends JFrame{ private JButton mantiButton; private JButton borschtButton; private JPanel Kitchen; private JButton pilaf...
package testfxml; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; public class Plant implements ICrosser { private final double Weight = 5.0 ; private final int EatingRank = 0 ; private BufferedImage[] imgs = new BufferedImage[5]; @Overrid...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.dbs.db.dao; public enum FieldType { String ("String"), Long ("Long"), Integer ("Integer"), BigDecimal ("BigDecimal"), Boolean ("Boolean"), Time ("Time"), Timestamp ("Timestamp"), Date ("Date"); private FieldType(String type){ this.type = type; } private String type; ...
/* * 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 logico; import java.util.ArrayList; import java.util.Iterator; public class Categoria { String codigo; ...
package jenkins.plugins.office365connector; import static jenkins.plugins.office365connector.Office365ConnectorWebhookNotifierIntegrationTest.mockJob; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.powermock...
package com.example.TRUsell; import android.app.ProgressDialog; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widg...
public class 구구단 { public static void main(String[] args) { // for (int i = 0; i < 9; i++) { int number1 = i + 1; System.out.println("\n" + number1 + "단"); for (int j = 0; j < 9; j++) { int number2 = j + 1; int result = number1 + number2; System.out.println(number1 + "X" + number...
package controllers.message; import java.util.ArrayList; import java.util.Collection; import javax.swing.JOptionPane; import org.springframework.beans.TypeMismatchException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.propertyeditors.CustomCollectionEditor; import...
import java.util.Arrays; /** * Created with IntelliJ IDEA. * User: dexctor * Date: 12-12-12 * Time: 上午9:33 * To change this template use File | Settings | File Templates. */ public class DynamicMedian<Key extends Comparable<Key>> { private MaxPQ<Key> maxPQ; private MinPQ<Key> minPQ; priva...
package br.com.fiap.dao; import java.util.List; import br.com.fiap.entity.Cliente; public interface ClienteDAO extends DAO<Cliente,Integer>{ List<Cliente> listar(); List<Cliente> buscarPorNome(String nome); List<Cliente> buscarPorEstado(String uf); List<Cliente> buscarPorDiasReserva(int dias...
package com.mahang.weather.util; import android.Manifest; import android.annotation.TargetApi; import android.app.Activity; import android.content.pm.PackageManager; import android.os.Build; import android.support.v4.app.ActivityCompat; public class PermissionUtils { private PermissionUtils() { } @Tar...
package com.juilyoon.discoverwaterloo; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import android.support.v7...
package edu.neu.ccis.cs5010.assignment7; import org.junit.Before; import org.junit.Test; import java.io.InputStream; import java.util.Map; import java.util.concurrent.BlockingQueue; import static org.junit.Assert.*; /** * Created by wenfei on 11/19/17. */ public class SkiDataProcessorTest { private SkiDataPr...
import java.util.Date; public class House implements Comparable<House>, Cloneable{ private int ID; private double area; private Date whenBuilt; public House(int ID, double area){ this.ID=ID; this.area=area; whenBuilt= new Date(); } public double getArea(){ return area; } public Date...
/* * Copyright 2012 Shared Learning Collaborative, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
package com.kusu.ticksee.Activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.Toast; import com.kusu.ticksee.Adapters.TickAdap...
package com.hr.overtime.controller; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.sp...
package online.lahloba.www.lahloba.data.model.vm_helper; import androidx.databinding.BaseObservable; import androidx.databinding.Bindable; import online.lahloba.www.lahloba.BR; import online.lahloba.www.lahloba.data.model.AddressItem; public class CartVMHelper extends BaseObservable { public static final String ...
package com.brajagopal.rmend.data.beans; import org.apache.commons.collections4.MapUtils; import java.util.Map; /** * @author <bxr4261> */ public class RelationsBean extends BaseContent { private String careerType; private String status; public RelationsBean() { this(ContentType.DISCARDED); ...
import java.io.BufferedReader; import java.net.MalformedURLException; import java.net.URL; import java.io.InputStreamReader; import java.net.URLConnection; public class Document{ public String getDocument(String target){ char[] output = new char[1000]; try{ URL url = new URL(target); ...
package com.goldenasia.lottery.pattern; import android.graphics.drawable.Drawable; import android.util.Log; import android.view.View; import android.widget.LinearLayout; import android.widget.RelativeLayout; import android.widget.TextView; import com.goldenasia.lottery.R; import com.goldenasia.lottery.view.LhcNumberG...
package com.example.programmer2.votingsystem; /** * Created by PROGRAMMER2 on 4/22/2017. */ public class Voter { // private int voterId; private String voterNumber; private String voterPassword; public Voter() { } public Voter(String voterNumber, String voterPassword) { //this.voterI...
package diabetes.aclass.utils; public class Component { // public static final String API_BASE = "http://192.168.1.73/api/v1/"; // public static final String API_BASE = "http://192.168.43.70/"; // public static final String API_BASE = "http://192.168.1.7/"; public static final String API_BASE = "http://19...
package dnoguchi.parkingticket; public class ParkingMeter { private long purchasedTime; public ParkingMeter(long purchasedTime) { this.purchasedTime = purchasedTime; } public void setPurchasedTime(long purchasedTime) { this.purchasedTime = purchasedTime; } public long getPurc...
/* * Copyright 2014 Brian Roach <roach at basho dot 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 a...
public interface ShapeVisitor { }
package leetcode.solution; import java.util.Deque; import java.util.HashMap; import java.util.LinkedList; import java.util.Map; /** * 20. 有效的括号 * <p> * https://leetcode-cn.com/problems/valid-parentheses/ * <p> * 给定一个只包括 '(',')','{','}','[',']' 的字符串,判断字符串是否有效。 * <p> * 有效字符串需满足: * <p> * 左括号必须用相同类型的右括号闭合。 * 左括...
package edu.neu.ccs.cs5010; import org.junit.Before; import org.junit.Test; import java.math.BigInteger; import java.security.interfaces.RSAKey; import static org.junit.Assert.*; /** * Created by wenfei on 10/29/17. */ public class ClientTest { private Client client; private BigInteger[][] keyPair; p...
package com.aaa.house.service; import com.aaa.house.dao.AMenuMapping; import com.aaa.house.entity.Tree; import com.aaa.house.utils.CusUtil; import com.aaa.house.utils.ISysConstants; import com.aaa.house.utils.ResultUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereoty...
package com.shahinnazarov.gradle.models; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.util.Map; @Data @NoArgsConstructor public class K8sMetadata { private String name; private String namespace; private Map<String, String> labels; private Map<String, String>...
package com.ros.employees.apis; import javax.ws.rs.BeanParam; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import o...
package com.karachevtsev.mayaghostsballs; import com.badlogic.gdx.graphics.g2d.SpriteBatch; /** * Created by root on 27.01.2017. */ public interface IScene { public boolean render(SpriteBatch sb); public void show(); public RetCommand getRetCommand(); public void breakRetCommand(); public void ...
package com.example.university.model; public enum Degree { assistant,associate_professor,professor }
package netty.nio; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.SocketChannel; import java.util.Iterator; import java.util.Scanner; import java.util.Set; public class NIOMes...
package com.encdata.corn.niblet.domain; import java.io.Serializable; /** * blog_tag * @author */ public class BlogTag implements Serializable { /** * 文章id */ private Long contentId; /** * 标签类型 1 白色 2 绿色 */ private int type; /** * 标签 */ private String tag; ...
package com.yunhetong.sdk.tool; public final class YhtLog { public static boolean DEBUG = false; public static void d(String tag, String msg) { if (YhtLog.DEBUG) android.util.Log.d(tag, msg); } public static void e(String tag, String msg) { if (YhtLog.DEBUG) { a...
package com.clone.mango.repository; import org.springframework.data.jpa.repository.JpaRepository; import com.clone.mango.dbdata.FoodInfo; import com.clone.mango.dbdata.Review; public interface ReviewRepository extends JpaRepository<Review, Long>{ }
/* * 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...
public class Transition { private Noeud depart; private Noeud arrive; private String etiquette; private Action action; public Transition(Noeud depart, Noeud arrive, String etiquette, Action action) { super(); this.depart = depart; this.arrive = arrive; this.etiquette = etiquette; this.action = actio...
package com.DB.control; import java.io.IOException; import java.sql.Date; import java.sql.SQLException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSes...
package main; import java.io.File; import java.util.ArrayList; import java.util.Collections; import com.beust.jcommander.JCommander; import struct.Node; import tools.Config; import tools.Generator; import tools.NodeCompartor; import tools.Parser; import tools.PrintUtils; import tools.Stat; import tools.ToolNode; pu...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package javafxtt.db; import java.io.File; import java.sql.*; import java.util.ArrayList; import java.util.List; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.scene.char...
package com.trump.auction.reactor.api.model; import java.io.Serializable; import java.math.BigDecimal; import com.alibaba.fastjson.annotation.JSONField; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; import lombok.ToString; /** * 出价请求 * * @author Owen * @since 2017/12/29 */ @ToStr...
package dataservice; import dataservice.Shopping; import dataservice.HibernateUtility; import org.hibernate.Session; public class Test { public Test() { // TODO Auto-generated constructor stub } public static void main(String[] args) { try { Session session = null; session = HibernateUtility.getSe...
package Football; class Middle extends Player{ Middle(int force, String name, String nationality) { super(force, name, nationality); } }
package model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import org.apache.struts.action.ActionForm; @Entity public class Project extends ActionForm { /** * */ private static final long serialVersionUID = 1L; @Id @GeneratedValue private int proj...
/* * 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.sl.app.access.join.dao; import com.sl.app.access.join.vo.AppAccessJoinVO; import net.sf.json.JSONObject; public interface AppAccessJoinDAO { JSONObject getCheckEmail(AppAccessJoinVO vo); JSONObject setCompleteJoin(AppAccessJoinVO vo); }
package com.jeffdisher.thinktank.utilities; import org.junit.Assert; import org.junit.Test; public class MainHelpersTest { @Test public void testArgumentParsing() throws Throwable { String value = MainHelpers.getArgument(new String[] {"--adf", "--test", "value"}, "test"); Assert.assertEquals("value", value); ...