text
stringlengths
10
2.72M
/* * Created by Angel Leon (@gubatron), Alden Torres (aldenml) * Copyright (c) 2011-2014, 2013, FrostWire(R). All rights reserved. * * 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 ...
package com.gxtc.huchuan.widget; import android.content.Context; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.util.DisplayMetrics; import android.view.Gravity; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.TextView; import com....
package com.itheima.bos.service; import java.util.List; import com.itheima.bos.domain.Function; import com.itheima.bos.domain.User; import com.itheima.bos.page.PageBean; public interface IUserService { public User login(User model); public void editPassword(String password, String id); public void save(User mo...
/* * 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 controle; /** * * @author Mayco, Matheus, Henrique */ public class Fase { private int numeroFase; //Numero da fase do j...
package com.tntdjs.mediaplayer; /** * MediaPlayerState * @author tsenausk */ public final class MediaPlayerState { public static final int INIT = 0; public static final int OPEN = 1; public static final int PLAY = 2; public static final int PAUSE = 3; public static final int STOP = 4; private MediaPlay...
package com.edasaki.rpg.spells; import com.edasaki.rpg.spells.villager.Firework; public class VillagerSpellbook extends Spellbook { public static final Spell FIREWORK = new Spell("Firework", 5, 1, 1, 0, new String[] { "Yay, fireworks! Totally harmless, by the way!", }, null, new Firework()); // DON'T FO...
package com.wacai.springboot_demo; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; import com.alibaba...
/* * Ara - Capture Species and Specimen Data * * Copyright © 2009 INBio (Instituto Nacional de Biodiversidad). * Heredia, Costa Rica. * * 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, ...
package slimeknights.tconstruct.smeltery; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.client.renderer.block.statemap.StateMap; import net.minecraft.item.Item; import net.minecraft.util.EnumFacing; import net.minecraft.util.ResourceLocation; import net.minecraftforge.cli...
package com.example.agenda.ui.activity; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.view.ContextMenu; import android.view.MenuItem; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget....
package com.company.model; /** * Created by abalamanova on May, 2019 */ public enum Fee { PREMIUM("Premium fee", 40), REGULAR("Regular fee", 30); private final String type; private final int cost; Fee(final String type, int cost) { this.type = type; this.cost = cost; } ...
package com.poi.test; import com.deepoove.poi.XWPFTemplate; import java.io.*; import java.util.HashMap; public class poimain { public static void main(String[] args) throws IOException { //创建输入流 // FileInputStream in = new FileInputStream(new File("a.docx")); XWPFTemplate template = XWPF...
package com.sirma.itt.javacourse.threads.task7.producerconsumer; import org.apache.log4j.Logger; /** * Thread class that produces a resource and supplies it to a warehouse. The thread produces a * specified quantity of the product at regular intervals if the product has reached maximum supply * it waits for some o...
package com.blog.bean; public class ContentManageBean { private int contentId; //博客标识 private String contentTitle; //博客标题 private String ContentMessage; //博客内容 private int contentNum; //浏览次数 private String contentDate;//发布日期 private String contentType; //文章类别 public int getContentId() { return conten...
/* * Copyright © 2020-2022 ForgeRock AS (obst@forgerock.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...
package com.gsccs.sme.plat.site.dao; import com.gsccs.sme.plat.site.model.ContentAttachT; import com.gsccs.sme.plat.site.model.ContentAttachTExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface ContentAttachTMapper { /** * This method was generated by MyBatis Generator...
/** * */ package com.egame.beans; /** * 描述:帮助中心列表的实体bean * * @author LiuHan * @version 1.0 create date 2011-12-29 */ public class HelpListBean { /** 主题名称 */ private String helpItemName; /** 查看的次数 */ private String accessNumber; public String getHelpItemName() { return helpItemName; ...
package com.szakdolgozat.service; public interface PostCodeService { boolean checkPostCodeAndCity(int postCode, String city); }
package p; public class Type { public static int count = 0; }
package ${package}; import ${package}.AppApplication; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4ClassRunner.class) @SpringBootTest(classes= {AppApplication.class}) public ab...
package src.com.xebia.tondeuse.object; import org.apache.commons.lang3.StringUtils; import src.com.xebia.tondeuse.commun.OrientationEnum; public class Tondeuse{ private int numero; private int positionX; private int positionY; private OrientationEnum orientationEnum; private Surface surface...
package com.atguigu.java; import static org.junit.Assert.*; import java.util.List; import org.apache.zookeeper.KeeperException; import org.apache.zookeeper.WatchedEvent; import org.apache.zookeeper.Watcher; import org.apache.zookeeper.ZooKeeper; import org.junit.After; import org.junit.Before; import org.junit.Test;...
package filippov.vitaliy.poibms3_8.Base; public abstract class Constants { public static String TAG = "MyProjectCar"; public static String[] typeFuel; public static final String EVENTS = "/data/user/0/filippov.vitaliy.poibms3_8/Events.xml"; public static final String Category_JSON = "/data/user/0/fili...
package controllers; import java.io.File; import java.util.ArrayList; import models.Product; import play.mvc.Controller; import play.mvc.Result; import play.mvc.Http.MultipartFormData; import play.mvc.Http.MultipartFormData.FilePart; import util.AppConst; import util.ParseSpreadsheet; import views.html.se...
public class Main { public static void main(String[] args) { System.out.println(sumFirstAndLastDigit(5)); } public static int sumFirstAndLastDigit(int number){ if(number<0){ return -1; } int count = 0 ; int num = number; int lastDigit = number...
package com.goodformentertainment.canary.r2w; import net.canarymod.config.Configuration; import net.visualillusionsent.utils.PropertiesFile; public class ReturnConfig { private final PropertiesFile cfg; public ReturnConfig(final ReturnPlugin plugin) { cfg = Configuration.getPluginConfig(plugin); } // public...
package com.alibaba.druid.bvt.pool; import java.sql.Connection; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import java.sql.SQLWarning; import java.sql.Statement; import junit.framework.TestCase; import org.junit.Assert; import com.alibaba.druid.filter.FilterAdapter; import com.al...
package com.dassa.vo; public class ShopMemberVO { private String shopMemberIdx; private String shopIdx; private String shopMemberName; private String shopMemberPhone; private String shopMemberComment; private String shopMemberImgName; private String shopMemberImgPath; private String shopMemberState; private ...
package tools; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Stack; import struct.Node; public class PrintUtils { public static void toFile() { try { BufferedWriter writer = new BufferedWriter(new FileWriter( Config....
/** * This is a generated file. DO NOT EDIT ANY CODE HERE, YOUR CHANGES WILL BE LOST. */ package br.com.senior.furb.basico; import br.com.senior.messaging.ErrorPayload; import br.com.senior.messaging.model.CommandDescription; import br.com.senior.messaging.model.CommandKind; import br.com.senior.messaging.model.Mes...
package Factory; public class GeraConta { private ContaFactory conta; public GeraConta(ContaFactory conta) { this.conta = conta; } public Conta criaConta(String tipo) { return conta.criaConta(tipo); } }
package com.baiwang.custom.web.interceptor; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; /** * @Author: gankunjian * @Description: * @Date: C...
package com.zjf.myself.codebase.fragment; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; im...
package com.programapprentice.app; import java.util.ArrayList; import java.util.List; /** * User: program-apprentice * Date: 8/21/15 * Time: 10:01 PM */ public class Combinations_77 { public List<List<Integer>> combineWorder(int[] nums, int k, boolean[] rec, int start) { List<List<Integer>> output = n...
package org.reactome.web.nursa.client.details.tabs.dataset.widgets; import com.google.gwt.core.shared.GWT; import com.google.gwt.resources.client.ClientBundle; import com.google.gwt.resources.client.CssResource; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com....
package your_code; import com.sun.jdi.connect.Connector; import java.util.ArrayList; import java.util.LinkedList; import java.util.Stack; public class MyPriorityQueue { // Priority queue implementation. private ArrayList<Integer> al; public MyPriorityQueue() { // Creates new PriorityQueue wi...
/* * Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.engine; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.io.InputStream; import java.io.InputStreamReader; impo...
package tarea3_201513677; import java.util.Scanner; public final class Menu { public int Opciones; public String[] Usuarios; public String NoUsuario; public Menu(){ Opciones = 0; NoUsuario = ""; Usuarios = new String[5]; //Menu principal ...
package GameTestArea; import java.nio.FloatBuffer; import java.text.DecimalFormat; import java.util.Random; import org.lwjgl.BufferUtils; import org.lwjgl.LWJGLException; import org.lwjgl.Sys; import org.lwjgl.input.Keyboard; import org.lwjgl.input.Mouse; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.Displ...
package com.hwj.tools; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.hwj.entity.student; import com.hwj.service.IStudentService; @Component public class TryCatchStudentService { @Autowired private IStudentService iStudentSer...
package com.socialmeeting; import android.app.Activity; import android.os.Bundle; public class MeetingActivity extends Activity { /** * @see android.app.Activity#onCreate(Bundle) */ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.me...
/* * 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.tcs.restcontrollers; import java.sql.SQLException; import java.util.List; import javax.ws.rs.QueryParam; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotatio...
package com.zs.ui.home.view; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.SurfaceTexture; import android.hardware.Camera; import android.net.Uri; import android.os.Build; import...
/** * project name:saas * file name:SysUserService * package name:com.cdkj.system.service.api * date:2018/2/9 下午2:34 * author:bovine * Copyright (c) CD Technology Co.,Ltd. All rights reserved. */ package com.cdkj.schedule.system.service.api; import com.cdkj.common.base.service.api.BaseService; import com.cdkj....
import java.util.Arrays; import java.util.PriorityQueue; import java.util.Queue; /** * Leetcode做题-最小的k个数 https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof/ */ public class 最小的k个数 { public static void main(String[] args) { getLeastNumbers2(new int[]{4,5,1,6,2,7,3,8}, 3); } public static ...
package com.yu.hu.navigationtest; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.navigation.Navigation; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com....
package wiki.neoul.pado.domain.account; public class Account { }
package triangulo; import static org.junit.Assert.*; import org.junit.Test; public class TrianguloTest { @Test public void testCrearTriangulo() { Triangulo unTriangulo; unTriangulo = new Triangulo(10.0, 8.0, 8.0, 12.0); assertNotNull(unTriangulo); Triangulo otroTriangulo; otroTriangulo = new Triang...
package tp.pr1.lists; import tp.pr1.objects.Zombie; public class ZombieList { private Zombie[] listaZombies; private int contZombies; public ZombieList() { contZombies = 0; listaZombies = new Zombie[10]; } public int getContadorZombie() { //Devuelve el contador de la lista return contZom...
package com.java8.concurrency.callables; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; import java.util.concurrent.Future; /** * This program loops through all the files in a directory and prints the sum of total number * of lines in each files. * */ public class FilesLineCounter {...
package com.culturaloffers.maps.services; import com.culturaloffers.maps.model.GeoLocation; import com.culturaloffers.maps.repositories.GeoLocationRepository; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.sprin...
package Model; import java.awt.*; /** * Class that models a cartransport which extends the class Model.Truck */ public class CarTransport extends Truck { /** * a boolean which determines if ramp of Model.CarTransport is up or down */ private boolean rampDown=false; /** * The cargo of Mode...
import de.tum.in.cm.java.dissim.Algorithm; import de.tum.in.cm.java.dissim.Main; import de.tum.in.cm.java.dissim.SimEvent; import de.tum.in.cm.java.dissim.events.CreateLeaderEvent; import org.junit.Test; import org.junit.AfterClass; import org.junit.BeforeClass; import java.util.Collection; import static org.junit.As...
package jsoup.bean; public class Rule { private String url; private String[] params; private String[] values; private String resultTagName; private int type = ID; private int requestMoethod = GET; public static final int GET = 0; public static final int POST = 1; public static final int CLASS...
package Application.Algorithm; import java.util.*; public class PSO { private static Random r = new Random(); public static CurrentState init(Problem problem, Parameters initParams) { int noOfParameters = problem.parametersDomains.size(); Particle[] particleList = new Particle[initParams.par...
package com.example.pmsl.filemanager; import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget...
package com.jongewaard.dev.barberbooking.Fragments; import android.app.AlertDialog; import android.content.BroadcastReceiver; import android.content.ContentResolver; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android....
package com.zhku.my21days.controller; import java.io.IOException; import java.io.PrintWriter; import java.util.List; import javax.annotation.Resource; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframew...
//package com.example.common; // //import com.example.pojo.Employee; //import lombok.AllArgsConstructor; //import org.springframework.mail.SimpleMailMessage; //import org.springframework.mail.javamail.JavaMailSender; // // ///** // * 邮件发送线程类 // */ //@AllArgsConstructor //public class EmailRunnable implements Runnable{ ...
package Classes; public class Distribuidor extends Sacola { public String RazaoSocial; public int Telefone; public String produtos; }
import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class EvenPalindrome { static String evenlength(String n) { String res = n; for (int j = n.length() - 1; j >= 0; --j) res += n.charAt(j); return res; } public static void main(...
package com.grocery.codenicely.vegworld_new.sub_category.provider; import android.util.Log; import com.grocery.codenicely.vegworld_new.helper.Urls; import com.grocery.codenicely.vegworld_new.sub_category.OnSubCategoryGetRequest; import com.grocery.codenicely.vegworld_new.sub_category.api.SubCategoryRequestApi...
package Topic16Static; public class Student { public String name; public String surName; public int numberIndeks; private static int numberOfStudents = 0; public Student(String name, String surName, int numberIndeks) { this.name = name; this.surName = surName; this.numberIn...
package com.unlimited.scala.rest.exception.handler; import com.unlimited.scala.rest.exception.ErrorResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMa...
package com.example.demo.hello; import org.springframework.amqp.rabbit.annotation.Queue; import org.springframework.amqp.rabbit.annotation.RabbitHandler; import org.springframework.amqp.rabbit.annotation.RabbitListener; import org.springframework.stereotype.Component; @Component /** * 先声明队列再监听队列 * 默认 持久化的durable=tr...
package com.performance.optimization.design.observer; import java.util.Vector; /** * 具体的主题实现 维护了观察者队列,提供了增加和删除观察者的方法并使用inform()通知观察者 * @author qiaolin * */ public class ConcreteSubject implements ISubject{ private Vector<IObserver> observers = new Vector<IObserver>(); public void attach(IObserver observer)...
public class AVLNode { public AVLNode left = null; public AVLNode right = null; public int value = 0; public AVLNode parent = null; /** * adds a new value to the left or right subtree depending on what the value is * @return AVLNode the balanced tree with the new value added */ public AVLNode inse...
package com.company; public abstract class Conta { private int numeroDaConta; private int agencia; private String banco; protected double saldo; protected double saque; protected double deposito; public Conta(int numeroDaConta, int agencia, String banco, double saldo) { this.numer...
package rdfsynopsis.test; import static org.junit.Assert.assertEquals; import org.apache.log4j.Logger; import org.junit.Before; import org.junit.Test; import rdfsynopsis.analyzer.Analyzer; import rdfsynopsis.analyzer.TripleStreamAnalyzer; import rdfsynopsis.dataset.InMemoryDataset; import rdfsynopsis.statistics.Prop...
package db; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import Models.*; public class LegalPersonDB implements LegalPersonDBIF { private LegalPersonDB legalPersonDB; private...
package main; import exception.LackSufficientBalanceException; import org.apache.log4j.Logger; import service.SalaryPaymentServer; import java.math.BigDecimal; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.concurrent.CountDownLatch; public class Main { publi...
package com.mars.test; import java.util.HashMap; import java.util.Map; import com.mars.model.Position; import com.mars.model.Sonda; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import org.junit.Before; import org.junit.Test; public class PositionTest { ...
package com.tu.rocketmq.transactionConfig; import com.tu.mysql.model.User; import com.tu.mysql.service.UserService; import com.tu.rocketmq.action.RocketTransAction; import org.apache.rocketmq.client.producer.LocalTransactionState; import org.apache.rocketmq.client.producer.TransactionListener; import org.apache.rocket...
package com.social.server.service; public interface MessageService { String getMessage(String code, Object... args); }
package net.sf.taverna.t2.component.ui.view; import static net.sf.taverna.t2.workflowmodel.utils.Tools.getFirstProcessorWithActivityInputPort; import static net.sf.taverna.t2.workflowmodel.utils.Tools.getFirstProcessorWithActivityOutputPort; import java.util.Arrays; import java.util.List; import net.sf.taverna.t2.co...
package com.peregudova.multinote.requests; public class SaveNoteCommand extends GetNoteCommand{ private String text; public SaveNoteCommand(String token, String user, String id_note, String text) { super(token, user, id_note); this.text = text; this.setCommand("save"); } publ...
package org.giddap.dreamfactory.leetcode.onlinejudge; import com.google.common.collect.Lists; import org.giddap.dreamfactory.leetcode.onlinejudge.implementations.GrayCodeMathImpl; import org.junit.Test; import static org.junit.Assert.assertEquals; public class GrayCodeTest { private GrayCode solution = new GrayC...
/* * Copyright (C) 2019 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 easyinvest.com.myapplication; public class State { private static Portfolio portfolio; private static Stock stock; private static Index index; public static Portfolio getPortfolio() { return portfolio; } public static void setStock(Stock stock) { State.stock = stock...
package colis.com.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springf...
package eecs.ai.p1.commands; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.stream.Collectors; import eecs.ai.p1.Board; import eecs.ai.p1.BoardState; import eecs.ai.p1.Directions; public class RandomizeState extends Command { private final int numberMoves; priv...
package co.bucketstargram.command.library; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import co.bucketstargram.common.Command; import co.bucketstargram.common.HttpRes; public class Library...
package gov.nih.mipav.view.renderer.WildMagic.Poisson.Octree; public class RestrictedLaplacianMatrixFunction extends TerminatingNodeAdjacencyFunction{ public int depth; public int[] offset = new int[3]; public Octree ot; public float radius; public int[] index = new int[Octree.DIMENSION]; public int[] scratch ...
package Academy; import java.io.IOException; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.openqa.selenium.WebDriver; import org.testng.annotations.AfterTest; import org.testng.annotations.BeforeMethod; import org.testng.annotations.BeforeTest; import org.testng.annota...
/* * 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.davivienda.sara.dto; import java.util.Objects; /** * * @author jediazs */ public class ConfAccesoAplicacionDTO { ...
/* * 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.example.todolist; import android.widget.TextView; import java.util.ArrayList; public class ToDo { public int id = -1; public String name = ""; public String createdAt = ""; }
package com.example.controlecigarro; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; import java.util.Date; public class Fumo { private String emailUser; private String tipo; private Integer qtd; private Date date; public ...
package com.example.donisaurus.ecomplaint.fragment; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; ...
package com.dexvis.util; import java.sql.Timestamp; /** * This class provides time related utilities. * * @author Patrick E. Martin * @version 1.0 * **/ public class SqlTimeFactory { /** * * This routine returns a timestamp containing the current time. * * @return A Timestamp conta...
package pl.szymonleyk.jpa; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class Address { @Id private int id; private String city; private String street; @Column(name = "house_number") private String houseNumber; @Column(name = "flat_number") pri...
/* * 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.ledungcobra.scenes; import com.ledungcobra.anotations.BackButton; import com.ledungcobra.anotations.SearchTextField; impor...
/* * Copyright (C) 2019 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...
/* * Copyright (c) 2014 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.saml.web; import java.io.IOException; import java.io.PrintWriter; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletResponse; imp...
package net.lvcy.card.eumn; public enum CardStatus { ACTIVE,DISABLE,SUCCESS }
package solo; import java.io.Serializable; /** * @author kokichi3000 * */ public final class CarControl implements Serializable{ /** * */ private static final long serialVersionUID = -7556980105726757107L; private static final int PRECISION_DIGIT = 6; private static final int PRECISION = 10...
/* * Created by Angel Leon (@gubatron), Alden Torres (aldenml) * Copyright (c) 2011-2014, FrostWire(R). All rights reserved. * * 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 versio...
package com.pyg.shop.controller; import ReturnResult.Results; import org.springframework.beans.factory.annotation.Value; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import ...
package com.esum.comp.dbm.util.sql; public interface ScriptConstants { public final String CURRENT_DATE = "date"; }