text
stringlengths
10
2.72M
package com.sourceit.converter.jaxb; import com.sourceit.entity.Employee; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import java.util.ArrayList; import java.util.List; @XmlRootElement(name = "Employees") public class EmployeeList { private List<Employee> employ...
package br.com.formacao.java.collections.java; /** * Classe que representa o Teste de Cursos com alunos * * @author Guilherme Vilela * @version 0.1 */ public class TestaCursoComAluno { /** * * @param args */ public static void main(String[] args) { Curso javaColecoes = new Curso("Do...
package todo.entity; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class StockJSON { private int quantity; private int itemID; private int branchID; /** * */ public StockJSON() { } @Override public String toString() { return "StockJSON [quantity=" + quantit...
package main; import modelo.Respuesta; import modelo.RestCall; import persistencia.EnArchivo; import persistencia.EnBD; public class Main4 { public static void main(String[] args) { // RestCall rest = new RestCall("https://jsonplaceholder.typicode.com/posts"); // System.out.println(rest.run()); ...
package com.gsrikar.roomconnectiontest; import android.content.Intent; import android.os.Bundle; import android.os.Looper; import android.os.Process; import android.support.v7.app.AppCompatActivity; import android.util.Log; import static com.gsrikar.roomconnectiontest.utils.DatabaseUtils.insertPersonData; public cla...
package trainedge.scoop.Model; import com.google.firebase.database.DataSnapshot; /** * Created by hp on 19-Apr-17. */ public class FavModel { private final String title; private final String link; private final String image; public FavModel(DataSnapshot snapshot) { title = snapshot.child(...
package com.mysql.cj; import com.mysql.cj.exceptions.CJException; import com.mysql.cj.exceptions.ExceptionFactory; import com.mysql.cj.exceptions.ExceptionInterceptor; import com.mysql.cj.protocol.a.NativeConstants; import com.mysql.cj.protocol.a.NativePacketPayload; import com.mysql.cj.util.StringUtils; import java.s...
package br.ufla.lemaf.ti.lemaf4j.common; import br.ufla.lemaf.ti.lemaf4j.common.messaging.ResourceBundleMessageProducer; import org.junit.After; import org.junit.Test; import java.util.ResourceBundle; import static org.assertj.core.api.Assertions.assertThat; public class ContractTest { @After public void c...
/* * 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 axc.g1l3.cliente; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import static java.lang.Math.random...
package com.sneaker.mall.api.service; import com.sneaker.mall.api.model.ERPConfigDetail; import com.sneaker.mall.api.model.Order; import com.sneaker.mall.api.model.OrderOper; import java.util.Date; import java.util.List; /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license...
package org.apache.commons.net.bsd; import java.io.IOException; public class RLoginClient extends RCommandClient { public static final int DEFAULT_PORT = 513; public RLoginClient() { setDefaultPort(513); } public void rlogin(String localUsername, String remoteUsername, String terminalType, int termi...
package com.cyclight; import java.util.ArrayList; import org.newdawn.slick.Animation; import org.newdawn.slick.SpriteSheet; import org.newdawn.slick.geom.Circle; import org.newdawn.slick.geom.Polygon; import org.newdawn.slick.geom.Shape; public class WGun implements Weapon { private String weaponName= "V-Bow"; ...
class for_Test2 { public static void main (String ar[]) { int a=0; int t=0; for (a=3; a<=100; a+=3) { t+=a; } System.out.println(t); } }2
package org.idea.plugin.atg.config; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import com.google.common.util.concurrent.UncheckedExecutionException; import com.intellij.ide.util.DirectoryUtil; import com.intellij.openapi.command.WriteCommandAction; import com.intellij.openapi.pr...
package com.gtfs.service.impl; import java.io.Serializable; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.gtfs.bean.LicPremWvr; import com.gtfs.dao.interfaces.LicPremWvrDao; import com.gtfs.service.interfaces.LicPremWvr...
package app.base.service; import java.util.List; import app.base.pojo.po.Sysuser; import app.base.pojo.po.Usergys; import app.base.pojo.po.Userjd; import app.base.pojo.po.Useryy; import app.base.pojo.vo.SysuserCustom; import app.base.pojo.vo.SysuserQueryVo; public interface UserService { // 根据条件查询用户信息 public List...
package com.tencent.mm.plugin.luckymoney.appbrand.ui.prepare; import com.tencent.mm.plugin.luckymoney.appbrand.ui.prepare.WxaLuckyMoneyPrepareUI.8; class WxaLuckyMoneyPrepareUI$8$1 implements Runnable { final /* synthetic */ 8 kMt; WxaLuckyMoneyPrepareUI$8$1(8 8) { this.kMt = 8; } public fin...
package Networkstuuff; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.ArrayList; public class Accept extends Thread { private Socket sock = null; private ServerSocket servSock = null; public Accept() { // TODO Auto-generated constructor stub } public void u...
package com.it.userportrait.log; /** * 广告 */ public class AdvisterOpertor { private long adviId;//广告id private long productId;//商品id private String clickTime;//点击时间 private String pulishTime;//分发时间 private String stayTime;//停留时间 private long userid; private int diviceType;//(1、pc端,2微信小程序 ...
package com.joseph.MemberDatabse; import java.util.List; public class Controller { //new objects private UserPanel myUI; private Database members; private IdGenerator idGen; public void Configure(UserPanel myUI, Database members, IdGenerator idGen) { this.myUI = myUI; this.member...
package com.tencent.mm.ui.video; import android.media.MediaPlayer; import android.media.MediaPlayer.OnErrorListener; import com.tencent.mm.sdk.platformtools.x; class VideoView$4 implements OnErrorListener { final /* synthetic */ VideoView uFz; VideoView$4(VideoView videoView) { this.uFz = videoView; ...
package com.training.pom; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; public class MemberloginPOM { private WebDriver driver; public MemberloginPOM(...
package zystudio.cases.prepare; /** * 为了实验activity与fragment的onSaveInstanceState与onRestoreInstanceState的,<br> * 见:http://gundumw100.iteye.com/blog/1115080 <br> * 主要原因是 这个"容易销毁"的时机确实不好整..我需要试一试之类的,而且使用场景是什么也不好想像 */ public class CaseInstanceState { private static CaseInstanceState sCase; public static CaseI...
package com.bin.spring.transaction.xml; import java.util.List; import org.springframework.stereotype.Service; @Service("cashier") public class CashierImpl implements Cashier{ private BookShopService bookShopService ; public void setBookShopService(BookShopService bookShopService) { this.bookShopService...
package com.wxapp.bean; //加好友必须的信息 public class Friend { private String userNameV1; private String antispamTicket; private String origin = "0"; public Friend() { } public Friend(String userNameV1, String antispamTicket) { this.userNameV1 = userNameV1; this.antispamTicket = ...
//Given a non-empty array of integers, every element appears three times except for one, which appears exactly once. Find that single one. //refer to post: https://leetcode.com/problems/single-number-ii/discuss/43295/Detailed-explanation-and-generalization-of-the-bitwise-operation-method-for-single-numbers class So...
package annotation.hibernate; import java.lang.reflect.Method; /** * @author malf * @description 解析注解并运用 * @project how2jStudy * @since 2020/9/15 */ public class ParseAnnotation { public static void main(String[] args) { Class<Hero> clazz = Hero.class; MyEntity entity = (MyEntity) clazz.getAnnotation(MyEnti...
package edu.htu.ap.lesson11; public class Test { public static void main(String[] args) { PotatoMaker pm=new PotatoMaker(3, 5, 100); pm.makePotato(); System.out.println("=================="); CirclesPotatoMaker cpm=new CirclesPotatoMaker(); cpm.makePotato(); System.out.println("==================...
package madotuki.comanda.shared.model; /** * Created by madotuki on 5/22/16. */ public enum OrderItemStatus { NEW("New"), SENT("Sent"), READY("Ready"), DONE("Done"); private String description; OrderItemStatus(String description) { this.description = description; } @Overri...
package com.example.ty_en.ires; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.Spinner; import android.widget.TextView; import java.ut...
package org.example.ratpack; import org.example.ratpack.handlers.CorsHandler; import ratpack.server.RatpackServer; public class Application { public static void main(String[] args) throws Exception { RatpackServer.start(server -> server.handlers(chain -> chain .all...
package com.onplan.service; import java.io.Serializable; import static com.onplan.util.MorePreconditions.checkNotNullOrEmpty; public class ServiceConnectionInfo implements Serializable { private final String providerName; private final boolean isConnected; private final Long connectionUpdateTimestamp; publi...
import biuoop.DrawSurface; import java.util.ArrayList; import java.util.List; /** * Created by user on 12/05/2017. */ public class SpriteCollection { private List list = new ArrayList(); /** * * @return this list of Sprites. */ public List getList()...
package dbmining; import edu.stanford.nlp.hcoref.CorefCoreAnnotations.CorefChainAnnotation; import edu.stanford.nlp.hcoref.data.CorefChain; import edu.stanford.nlp.ling.CoreAnnotations.NamedEntityTagAnnotation; import edu.stanford.nlp.ling.CoreAnnotations.PartOfSpeechAnnotation; import edu.stanford.nlp.ling.CoreAnnota...
package com.ssm.wechatpro.dao; import java.util.List; import java.util.Map; /** * 购物车所有相关的dao操作 * @author yinzengxiang * */ public interface MWechatShoppingCartMapper { //向购物车中添加一个商品 public void addProduct(Map<String, Object> map) throws Exception; //删除购物车中的一种商品 public void deleteProduct(Map<String, Object> m...
package com.silver.mynews; import android.app.SearchManager; import android.app.SearchableInfo; import android.content.Intent; import android.os.Bundle; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.DividerItemDecoration; import andro...
package org.sacc.SaccHome.mbg.model; import lombok.Data; import java.util.Date; @Data public class Order { private Integer id; private Date startTime; private Date endTime; private Integer number; private String nameList; private Integer userId; private Date createdAt; private ...
package com.tencent.mm.plugin.gai; public interface Plugin$a { void CP(String str); }
package com.bowlong.util; import java.util.Calendar; import java.util.Date; import com.bowlong.lang.NumEx; /*** 日期对象数据操作 **/ public class DateEx extends DateFmtEx { static public final int year() { return year(nowDate()); } static public final int year(Date v) { return NumEx.stringToInt(format(v, fmt_yyyy))...
package com.example.InventoryManagementSystem.Controller; import com.example.InventoryManagementSystem.MainApplication; import javafx.fxml.FXML; import javafx.scene.web.HTMLEditor; import javafx.scene.web.WebEngine; import javafx.scene.web.WebView; import javafx.stage.Stage; public class TextInputController { pub...
package ist.es.puzzles; /** * Why is the compiler complaining about 2147483648? * * Numeric constants are Integers by default. */ public class IntegerByDefault { /* * Compiles all right */ long i = -2147483648; /* * Compiler error */ long j = -(2147483648); /* * Another er...
package com.mx.profuturo.bolsa.model.service.vacancies.dto; public class AsignarResponsabilidadDTO { private String idEmpleado; private int idPublicacion; public String getIdEmpleado() { return idEmpleado; } public void setIdEmpleado(String idEmpleado) { this.idEmpleado = idEmpl...
package leecode.other; /* 在并查集的基础上加一些辅助变量的练习题目 https://leetcode-cn.com/problems/number-of-operations-to-make-network-connected/solution/wang-luo-lian-jie-bing-cha-ji-by-yexiso-1nd4/ */ public class 连通网络的操作次数_1319 { public int makeConnected(int n, int[][] connections) { //链接n台电脑需要n-1条线,connections.len...
package com.monitora.monitoralog.api.mapper; import java.util.List; import java.util.stream.Collectors; import org.modelmapper.ModelMapper; import org.springframework.stereotype.Component; import com.monitora.monitoralog.api.model.EntregaModel; import com.monitora.monitoralog.api.model.input.EntregaInput; import com...
package com.lbs.ui; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.text.SimpleDateFormat; import java.util.Date; import javax.swing.JFrame; import javax.swing.JScrollPane; import javax.swing.JTextPane; import javax.swing.Timer; import javax.swing.UIMana...
package com.skylerburwell.ilex.Screens; import com.badlogic.gdx.Screen; import com.skylerburwell.ilex.Ilex; public abstract class ScreenBase implements Screen { protected Ilex mGame; public ScreenBase(Ilex game) { mGame = game; } @Override public abstract void show(); @O...
2017.04.20. 9. Java EA List<T> interface sorozat adattípus nyilvános interfésze pl. void add(T item); boolean reverse(T item); T get(int index); ... Iterator<T> iterator(); - sorrendiség az elemek között - egy eée, többször is szerepelhet Iterator<T> interface adatszerkezet bejárásához nyilvános inter...
package com.liyinghua.service; import java.util.List; import com.liyinghua.entity.Category; public interface CategoryService { /** * * @Title: getCategoryByChannelId * @Description: 通过频道获得分类 * @param channelId * @return * @return: List */ List<Category> getCategoryByChannelId(Int...
package Day12; public class Day12_4 { public static void main(String[] args) throws Exceptionㅁ { //예외처리 : 오류 발생시에 처리 코드 //1. 일반적인 오류는 코드에서 처리 //2. 예상치 못한 오류 발생시 => 예외처리 //1. 코드상 문제가 없는 경우 //3. 형태 //try{오류발생 예상코드} //catch(예외클래스 객체명) {오류발생시 대체 코드} //finally {무조건 실행되는 코드} //4.예외클래스 ...
//********************************************************* // Copyright (c) Microsoft Corporation // All rights reserved. // // 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://...
package com.arevve.vietnews.main.container; import android.app.SearchManager; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.Menu; import a...
package javascriptExecuter; import java.util.concurrent.TimeUnit; import org.openqa.selenium.Alert; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; public class J...
package by.epam.parser.service; import by.epam.parser.entity.Attribute; import by.epam.parser.entity.Document; import by.epam.parser.entity.Element; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.util.ArrayDeque; import java.util.regex.Matcher; import java.util.regex.Pat...
package com.tencent.mm.plugin.appbrand.wxawidget.console; import android.app.Activity; import android.content.Context; import android.support.v7.widget.LinearLayoutManager; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.vi...
package com.dais.mapper; import com.dais.model.Fees; import com.dais.model.FeesExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface FeesMapper { int countByExample(FeesExample example); int deleteByExample(FeesExample example); int deleteByPrimaryKey(Integer id); ...
package com.company.string; import java.util.*; /** * Function Description * * Complete the isAnagram function in the editor. * * isAnagram has the following parameters: * * string a: the first string * string b: the second string * Returns * * boolean: If a and b are case-insensitive anagrams, return true...
package com.lec.ex1_runnable; public class TargetEx01 implements Runnable { @Override public void run() { for(int i=0; i<10; i++) { System.out.println("안녕하세요-"+i); try { Thread.sleep(500); //0.5초 동안 대기상태 } catch (InterruptedException e) { } } } //interface 안에 추상 메소드 }
package gr.athena.innovation.fagi; import gr.athena.innovation.fagi.core.POIFuser; import gr.athena.innovation.fagi.core.function.FunctionRegistry; import gr.athena.innovation.fagi.core.function.IFunction; import gr.athena.innovation.fagi.core.function.literal.AbbreviationAndAcronymResolver; import gr.athena.innovatio...
package recycle_bin; import android.hardware.camera2.CameraManager; import android.support.annotation.NonNull; import recycle_bin.camera2.ShrampCamManager; import sci.crayfis.shramp.logging.ShrampLogger; /** * */ public class MaineShrampCam { //****************************************************...
package com.ha.cn.model; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.enums.FieldFill; import com.sun.xml.internal.ws.spi.db.DatabindingException; import org.sonatype.g...
package ua.nure.makieiev.brainfuck.application; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import ua.nure.makieiev.brainfuck.command.Command; import ua.nure.makieiev.brainfuck.factory.CommandFactory; import ua.nure.makieiev.brainfuck.factory.SymbolStrategyFactory; import java.util.List; ...
package uk.gov.digital.ho.hocs.search.domain.model; import org.junit.Test; import uk.gov.digital.ho.hocs.search.api.dto.*; import java.util.UUID; import static org.assertj.core.api.Assertions.assertThat; public class SomuItemTest { private final UUID somuItemUUID = UUID.randomUUID(); private final UUID som...
package com.tkb.elearning.dao; import java.util.List; import com.tkb.elearning.model.Zone; /** * 地區資料Dao介面接口 * @author Admin * @version 創建時間:2016-03-11 */ public interface ZoneDao { /** * 取得地區資料清單(分頁) * @param pageCount * @param pageStart * @param zone * @return List<Zone> */ public List<Zone> get...
package com.roflcopter.airmont.match; import com.roflcopter.airmont.Airmont; public class TaskTimer implements Runnable{ public void run (){ if (Airmont.getCurrentMatch () != null){ Airmont.getCurrentMatch ().onTick (); } } }
package com.tencent.tinker.lib.d; import android.content.Context; import com.tencent.tinker.lib.e.d; import com.tencent.tinker.lib.f.c; import com.tencent.tinker.loader.shareutil.SharePatchFileUtil; import com.tencent.tinker.loader.shareutil.SharePatchInfo; import com.tencent.tinker.loader.shareutil.ShareTinkerInterna...
package com.example.hp.above; 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.TextView; public class InsertionsortActivity extends AppCompatActivity { @Override protected void on...
// ============================================================================ // Floxp.com : Java Enum Source File // ============================================================================ // // Enum: ResizePolicy // Package: FloXP.com Android APIs (com.floxp.api) - // Graphics API (com.floxp.api.graphics...
package Player; import Deck.Card; public class Dealer { Hand hand = new Hand(); public Dealer(){ } public void resetHand(){ hand.resetHand(); } public Dealer(Card c, Card d){ Deal(c, d); } public void Deal(Card c, Card d){ drawCard(c); drawCard(d); } public void drawCard(Card c){ hand...
package com.pds.rn.nav; import com.pds.rn.route.BaseRouter; import java.util.HashMap; import java.util.Map; /** * @author: pengdaosong * CreateTime: 2019-11-05 17:46 * Email:pengdaosong@medlinker.com * Description: */ public class RoutePathMap { private static final Map<String, Class<? extends BaseRouter>> ...
package com.ssm.lab.controller.admin; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.ssm.lab.bean.Article; import com.ssm.lab.bean.Category; import com.ssm.lab.bean.User; import com.ssm.lab.common.Constants; import com.ssm.lab.service.ArticleService; import com.ssm.lab.servi...
package com.mythosapps.time15.storage; import com.mythosapps.time15.types.BeginEndTask; import com.mythosapps.time15.types.DaysDataNew; import com.mythosapps.time15.types.KindOfDay; import com.mythosapps.time15.types.Time15; import java.util.Random; /** * Created by andreas on 02.03.16. */ public class TestDataFac...
package com.giraldo.parqueo.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; @...
package iiitb.timesheet.action; import iiitb.timesheet.model.Client; import iiitb.timesheet.service.AddClientService; import com.opensymphony.xwork2.ActionSupport; public class AddClient extends ActionSupport{ private String ClientName; private String City; private String email; private long phone; ...
package businesscode; /** * * @Filename PerCapComp.java * * @Version $Id: PerCapComp.java,v 1.0 2014/02/25 09:23:00 $ * * @Revisions * Initial Revision */ import connect.JDBCMySQLMain; import gui.Graph; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util...
package com.lspring.annotation; public interface IPersonDao { void savePerson(Person p); Person get(Long id); }
package memory; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; public class MemoryWriter { private final String MEM_FILEPATH = "memories/"; /** * The {@code Buffered Reader} representation of this. */ private PrintWriter fileOut; /* ...
package zm.gov.moh.common.submodule.form.model.widgetModel; public class TextBoxTwoModel extends AbstractEditTextModel { public TextBoxTwoModel(){ super(); } }
package com.wanglu.movcat.util; import com.wanglu.movcat.model.Result; /** * Created by wangl on 2017/10/12 0012. */ public class ResultUtil { public static Result success(Object object){ Result result = new Result(); result.setSuccess(true); result.setMsg("请求成功"); result.setDat...
package com.aitest.web.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; import com.aitest.web.entity.PermissionEntity; import com.aitest.web.entity.RoleEntity; @Repository @...
package com.example.homestay_kha.Adapers; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentPagerAdapter; import com.example.homestay_kha.Views.Fragments.History_Fragment; import com.example.homestay_kha.Views.Fragments.Hotel_Fragment; public cl...
package LinkedList; /** * @author admin * @version 1.0.0 * @ClassName findLoopNode.java * @Description 判断单向链表有没有环,没有返回null,有的话返回入环的节点 * 注意: 单向链表如果有环就一定走不出去了,因为只有一个next。所以有环的链表没有null * 主要使用快慢指针的做法 * 归结一句话: * 快走2,慢走1,如果有环,一定会相遇。且走过的路一定< 2*list.length(追逐赛,速度两倍,不可能超过2圈) * 相遇后,就让其中一个指针回到链表的头部,另一个不动,然后两个指针再一起走,...
package org.sbbs.app.demo.service.impl; import org.sbbs.app.demo.dao.DictionaryItemDao; import org.sbbs.app.demo.model.DictionaryItem; import org.sbbs.app.demo.service.DictionaryItemManager; import org.sbbs.base.service.impl.BaseManagerImpl; import org.springframework.beans.factory.annotation.Autowired; import ...
package com.yinghai.a24divine_user.module.divine.book.pay.mvp; import com.example.fansonlib.base.BaseModel; import com.example.fansonlib.http.HttpResponseCallback; import com.example.fansonlib.http.HttpUtils; import com.example.fansonlib.utils.SharePreferenceHelper; import com.yinghai.a24divine_user.bean.SubmitOrderBe...
import com.awrzosek.ski_station.basic.BasicConsts; import com.awrzosek.ski_station.basic.BasicUtils; import com.awrzosek.ski_station.initializers.InitializerUtils; import com.awrzosek.ski_station.tables.ski.skipass.SkipassDao; import javafx.application.Application; import javafx.application.Platform; import javafx.fxml...
package cn.wolfcode.crm.shiro.filter; import cn.wolfcode.crm.util.JsonResult; import com.alibaba.fastjson.JSON; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.AuthenticationToken; import org.apache.shiro.subject.Subject; import org.apache.shiro.web.filter.authc.FormAuthenticationF...
package ru.mmk.okpposad.server.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import ru.mmk.okpposad.server.dao.PosadDao; import ru.mmk.okpposad.server.domain.Posad; @Service public class PosadServiceImpl implements Posad...
package ga.selection; import ga.Population; public class SelectionRankBasedElitist extends Selection { private int numElitist = 1;// keeps n best individuals @Override public void select(Population population) { super.select(population); // keep 'n' best individuals for next generation for (int rank = 0...
package com.tencent.liteav.beauty; class b$4 implements Runnable { final /* synthetic */ b a; b$4(b bVar) { this.a = bVar; } public void run() { if (b.h(this.a) != null) { a.a().d(); } if (b.h(this.a) == null) { if (b.a(this.a) != null) { ...
package round.first.templete; import round.first.binaryTree.TreeNode; import java.util.ArrayList; import java.util.List; import java.util.Stack; public class binaryTreeInorderTraversal { public static void main(String[] args) { TreeNode root = new TreeNode(1); root.left = new TreeNode(2); ...
package com.globalrelay.exception; public class HealthCheckConfigurationAlreadyExistsException extends RuntimeException{ public HealthCheckConfigurationAlreadyExistsException(String message) { super(message); } }
package de.zarncke.lib.money; import java.math.BigDecimal; import java.util.Collection; import java.util.Currency; import de.zarncke.lib.err.Warden; import de.zarncke.lib.util.Misc; /** * Mutable Money object. * * @author Gunnar Zarncke */ public class Cash implements Money { public static MAmo...
package game.elements; import com.jme3.bullet.collision.shapes.BoxCollisionShape; import com.jme3.bullet.collision.shapes.CollisionShape; import com.jme3.bullet.control.RigidBodyControl; import com.jme3.material.Material; import com.jme3.material.RenderState; import com.jme3.math.Vector3f; import com.jme3.renderer.que...
package com.rishi.baldawa.iq; import org.junit.Test; import static org.junit.Assert.assertEquals; public class ClimbStairsTest { @Test public void solution() throws Exception { assertEquals(new ClimbStairs().solution(1), 1); assertEquals(new ClimbStairs().solution(2), 2); assertEquals...
package br.com.pcmaker.entity; import javax.persistence.Column; import javax.persistence.MappedSuperclass; import javax.persistence.Transient; import br.com.pcmaker.common.util.StringUtils; import br.com.pcmaker.enums.StatusRegistro; @MappedSuperclass public abstract class StatusRegistroEntity extends AutoIncrementI...
package com.example.caroline.countme; import android.content.Context; import android.util.Log; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class CsvReader { String filename = "DataFile.csv"; //constructor public CsvReader() { } public S...
package task16; import java.math.BigInteger; /** * @author Igor */ public class Main16a { public static void main(String[] args) { BigInteger a = new BigInteger("2").shiftLeft(999); String str = a.toString(); int sum = 0; for (int i = 0; i < str.length(); i++) { sum ...
package com.aprendoz_test.data; /** * aprendoz_test.FacturacionSapiens * 01/19/2015 07:58:53 * */ public class FacturacionSapiens { private FacturacionSapiensId id; public FacturacionSapiensId getId() { return id; } public void setId(FacturacionSapiensId id) { this.id = id;...
/** * */ package com.badlogic.gdx.sqlite.desktop; import java.io.InputStream; import java.sql.Blob; import java.sql.ResultSet; import java.sql.SQLException; import com.badlogic.gdx.sql.DatabaseCursor; import com.badlogic.gdx.sql.SQLiteGdxException; /** @author cycloneqi */ public class PreparedSta...
package com.insta.entities; // Generated Aug 2, 2015 3:40:21 PM by Hibernate Tools 4.3.1 import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; im...
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2015 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GN...