text
stringlengths
10
2.72M
package com.example.codebind.linkingactivities; import android.app.AlertDialog; import android.content.Intent; import android.database.Cursor; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import java.util.Random; publ...
package com.tencent.mm.plugin.appbrand.game.cgipkg; import com.tencent.mm.ab.b; import com.tencent.mm.ab.l; import com.tencent.mm.by.f; import com.tencent.mm.plugin.appbrand.ipc.d; import com.tencent.mm.protocal.c.ady; import com.tencent.mm.protocal.c.adz; import com.tencent.mm.protocal.c.bhp; import com.tencent.mm.sd...
package pl.wenusix.familiada.controller; import org.springframework.web.bind.annotation.*; import pl.wenusix.familiada.entity.AnswerEntity; import pl.wenusix.familiada.entity.QuestionEntity; import pl.wenusix.familiada.model.QuestionModel; import pl.wenusix.familiada.repository.QuestionRepository; import java.util.Li...
package com.project.common; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import com.project.dto.Use...
package com.kashu.controller; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; @Controller public class CartController { @RequestMapping(value="/cart/add...
package generateRandomMovies; public class Draw { private static final int times = 6000000; public static void main(String[] args) { RandomCollection<Movie> rc = new RandomCollection<>(); Movie[] filmes = { new Movie("Vingadores"), new Movie("Simplesmente Acontece"), new Movie("Como Treinar o seu ...
package com.xzj.lock; import java.util.concurrent.locks.ReentrantReadWriteLock; public class ReentrantReadWriteLockTest { private static ReentrantReadWriteLock lock = new ReentrantReadWriteLock(); public static void main(String[] args) { test1(); //test2(); } public static void test...
package com.kdp.wanandroidclient.ui.core.model; import com.kdp.wanandroidclient.bean.Chapter; import com.kdp.wanandroidclient.net.callback.RxObserver; import java.util.List; /*** * @author kdp * @date 2019/3/25 16:34 * @description */ public interface IChapterModel { /** * 获取公众号 * @param rxObserve...
package sci.ml.logit.train; import sci.ml.logit.io.DataframeReader; import sci.ml.logit.utils.Activation; import sci.ml.logit.utils.SciException; import javax.management.RuntimeErrorException; import java.io.File; import java.util.Arrays; /** * Created by hok on 8/18/16. */ @Deprecated public class GradientDescent...
package com.accp.pub.pojo; import java.util.Date; public class Kaoqingyichang { private Integer did; private Integer kid; private Integer uid; private String uname; private Integer gradeid; private String gradename; private Integer state; private String makeprople; private ...
package com.smxknife.jmh.demo01; import org.openjdk.jmh.annotations.*; import org.openjdk.jmh.runner.Runner; import org.openjdk.jmh.runner.RunnerException; import org.openjdk.jmh.runner.options.Options; import org.openjdk.jmh.runner.options.OptionsBuilder; import java.util.concurrent.TimeUnit; @BenchmarkMode(Mode.Av...
package org.mvirtual.persistence.dao; import org.mvirtual.persistence.entity.relation.UserHeritageReview; import org.mvirtual.persistence.entity.relation.embedded.UserHeritageReviewId; /** * DAO interface definition for domain model class UserHeritageReview. * @author Kiyoshi Murata <kbmurata@gmail.com> */ public ...
package javafeatures.module; public class Customer { private String name; private String genre; public Customer(String name){ this.name = name; } }
package com.tencent.mm.plugin.sns.ui; import android.annotation.TargetApi; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.graphics.Color; import android.graphics.drawable.Drawable;...
package mop.test.java.database.model; import java.util.ArrayList; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import mop.main.java.database.model.queryable.Movie; import mop.main.java.database.model.queryable.Genre; import mop.main.java.database.model...
package Source; public class Nodo { public Song song; public Nodo next; public Nodo previous; public Nodo() { } public Nodo(Song song) { this.song = song; this.next = null; this.previous = null; } public boolean isEmpty(){ ...
package com.tencent.mm.ui.chatting; import com.tencent.mm.pluginsdk.model.app.f; import com.tencent.mm.pluginsdk.model.app.g; import com.tencent.mm.ui.chatting.ChattingSendDataToDeviceUI.3; class ChattingSendDataToDeviceUI$3$1 implements Runnable { final /* synthetic */ f jLD; final /* synthetic */ 3 tLH; ...
/* * 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 utn.resumiderobilletes.repositorios; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputSt...
import java.io.BufferedReader; import java.io.FileReader; import java.util.*; /** * The size of database is set by me. If you would like to add products to database you need to * increase variable sizeOfList and add correct lines in "products database.txt" */ public class ProductDatabase { private int sizeOfList...
package database.manager; import database.entity.IEntity; import java.util.List; /** * Created by csvanefalk on 18/11/14. */ public interface IDAO<T extends IEntity> { void persist(T t); void remove(int id); void update(T t); T find(int id); List<T> range(int maxResults, int firstResult); ...
package com.mercadolibre.desafioquality.DAO.HotelRoomDAO.Impl; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.mercadolibre.desafioquality.DAO.HotelRoomDAO.BookingDao; import com.mercadolibre.desafioquality.DTO.AvailabilityHotelRoomDTOs.HotelDTO; imp...
/* * Copyright (c) 2017. Universidad Politecnica de Madrid * * @author Badenes Olmedo, Carlos <cbadenes@fi.upm.es> * */ package org.librairy.modeler.lda.models; import lombok.Data; import org.librairy.computing.cluster.ComputingContext; /** * @author Badenes Olmedo, Carlos <cbadenes@fi.upm.es> */ @Data public...
import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Grains[] mv = new Grains[4]; for(int i=0;i<4;i++) { ...
package com.globalrelay.controller; import com.fasterxml.jackson.databind.ObjectMapper; import com.globalrelay.service.ServiceHealthMonitor; import com.globalrelay.checker.Protocol; import com.globalrelay.exception.HealthCheckConfigurationAlreadyExistsException; import com.globalrelay.exception.NoHealthCheckConfigurat...
package com.revolut.repository; import com.revolut.model.Account; import java.math.BigDecimal; import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicBoolean; import java.util.stream.Collectors; public class AccountRepository { private Map<String,LockedAccoun...
package academy.devdojo.estruturascondicionais.ifselse; /* Dado um detemrinado numero inteiro Imprima se ele é impar ou par Resto da divisao por 2 se for par sempre vai ser 0 senao vai ser impar */ public class ParOuImpar { public static void main(String[] args) { int numero = 15; // +, -, /, *, ...
/* * Copyright (C) 2020-2023 Hedera Hashgraph, 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 applicab...
package java_Exception; public class myexception extends Exception{ private int idnumber; public myexception(String message,int id){ super(message); this.idnumber = id; } public int getid(){ return idnumber; } }
package com.tencent.mm.plugin.profile.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import android.content.DialogInterface.OnClickListener; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Bitmap; import android.grap...
package com.tencent.mm.plugin.appbrand.jsapi.live; import com.tencent.mm.plugin.appbrand.jsapi.h; final class c$a extends h { private static final int CTRL_INDEX = 411; private static final String NAME = "onLivePusherNetStatus"; private c$a() { } /* synthetic */ c$a(byte b) { this(); ...
package com.wechat.service; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.InputStreamReader; import java.security.KeyStore; import java.util.HashMap; import java.util.Iterator; import java.uti...
package ist.meic.ie.addiotdevice; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.LambdaLogger; import com.amazonaws.services.lambda.runtime.RequestStreamHandler; import ist.meic.ie.utils.Constants; import ist.meic.ie.utils.DatabaseConfig; import ist.meic.ie.utils.HTT...
package SUT.SE61.Team07.Entity; import javax.persistence.*; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import lombok.*; @Entity @Data public class Gender...
package com.polsl.edziennik.desktopclient.controller.student; import java.awt.event.ActionEvent; import javax.swing.ImageIcon; import com.polsl.edziennik.delegates.login.LoginManager; import com.polsl.edziennik.desktopclient.view.student.StudentMainView; import com.polsl.edziennik.desktopclient.view.student....
execute(des, registers, memory) { String value = registers.x87().peek(); if ( des.isRegister() ) { registers.set(des, value); } else if ( des.isMemory() ) { int size = memory.getBitSize(des); Converter cal = new Converter(value); if ( size == 32 ) { // convers...
package TCP.Character; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.net.Socket; import java.util.Arrays; public class ClientCharacterStream { public static Str...
package com.cnk.travelogix.custom.zif.erp.ws.custmastercreate; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlElementDecl; import javax.xml.bind.annotation.XmlRegistry; import javax.xml.namespace.QName; import com.cnk.travelogix.sapintegrations.dto.factory.DTOObjectFactory; /** * This objec...
/*You are given a string s that consists of lower case English letters and brackets. Reverse the strings in each pair of matching parentheses, starting from the innermost one. Your result should not contain any brackets. Example 1: Input: s = "(abcd)" Output: "dcba" Example 2: Input: s = "(u(love)i)" Output: "...
/* * Copyright (C) 2018 Ilya Lebedev * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package uk.ac.ed.inf.aqmaps.unitTests.simulation.planning.collectionOrder.optimisers; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyInt; import static org.mockito.Mockito.mock; import static org.mockito.Mo...
package com.wby.edu.service.edu; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; /** * 指定扫描的基本包 * @ComponentScan(basePackages = {"com.wby.edu"}) * 扫描controllerAdvice,controller,...
package de.acetous.nocake.controller; import de.acetous.nocake.service.AuthorizationService; import de.acetous.nocake.service.LockService; import de.acetous.nocake.service.QrCodeService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org...
public class HotWaterContainer extends WaterContainer { private int temperature; static final int MIN_TEMPERATURE = 80; static final int MAX_TEMPERATURE = 100; public HotWaterContainer(int capacity) { super(capacity); temperature = MAX_TEMPERATURE; new Thread(new DropTemperature()).start(...
package eu.torsteneriksson.storetracker; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.preference.PreferenceFragment; import android.os.Bundle; import android.view.MenuItem; public class SettingsActivity extends Activity { public final static String MAX...
/* * Copyright 2017-present The Material Motion Authors. 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://www.apache.org/licenses/LICENSE-2.0 * * ...
package mk.petrovski.weathergurumvp.presenter; import io.reactivex.Observable; import io.reactivex.disposables.CompositeDisposable; import mk.petrovski.weathergurumvp.TestModels; import mk.petrovski.weathergurumvp.data.DataManager; import mk.petrovski.weathergurumvp.data.remote.helper.CompositeDisposableHelper; import...
/* * 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 ...
/* * 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. */ /* Класс, обслуживающий приложение FileObserver. Реализует интерфейс WLSession */ package weblistener; import filesobs...
package com.fabio.dropbox.domain; import com.fabio.dropbox.dto.FileDto; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import javax.swing.*; import java.io.Serializable...
package com.mashibing.tank.frame; import io.vavr.control.Try; import java.awt.*; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.image.BufferedImage; import java.util.ArrayList; import java.util.ListIterator; imp...
package com.xxw.pattern.factory.entity; /** * @author xiongxianwei * 2020/6/5 0005 */ public class DellMouse implements Mouse { @Override public void sayHi() { System.out.println("生产戴尔鼠标"); } }
package models.analise_sintaxe; import models.pilha.PilhaEncadeada; public class AnaliseSintaxe{ PilhaEncadeada pilha; public AnaliseSintaxe(){ pilha = new PilhaEncadeada(); } public boolean analisador(String frase){ int tam = frase.length() - 1; for(int i = 0; i <= tam; i++...
/* * 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 listaoo.questao4; import listaoo.questao3.Hora; /** * * @author acer */ public class Estacionamento { private String ...
package com.lingnet.vocs.dao.impl.bominfo; import java.util.HashMap; import java.util.List; import javax.annotation.Resource; import org.hibernate.Criteria; import org.hibernate.SQLQuery; import org.hibernate.criterion.Restrictions; import org.springframework.stereotype.Repository; import com.lingnet.com...
package day04operators; public class Modulus01 { public static void main(String[] args) { // 12835 sayisini 23 e bolumunde kalan prog yaz System.out.println(12835%23);//Hard Coding: dogrudan sayi kullanmaya denir int sayi1 = 12835; int sayi2 = 23; //int sonuc = sayi1 % sayi2; bu sekilde de ...
package com.abst; public class Circle extends Shape implements Comparable<Circle>{ int r; public Circle(int r) { this.r =r; } @Override public double getArea() { return 3.14*r*r; } @Override public double getCircum() { return 2*3.14*r; } @Override public int compareTo(Circle o) { return o.r ...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Class for the Club symbol. * Stores the club image. * @author Saksham Ghimire and Densai Moua * @version 12/15/2010 */ public class club extends Actor { /** * Act - do whatever the club wants to do. This method is call...
/** * * @author Erich Ostendarp * @version 0 */ public class View { }
package com.alanb.gesturecommon; public class NanoTimer { private long start = 0; private long finish = 0; private boolean running = false; public void begin() { this.start = System.nanoTime(); this.finish = this.start; this.running = true; } public void check() { this.finish = System.nanoTime(); ...
package mop.main.java.database.objectrelationalmapping.helpers; import java.util.ArrayList; import mop.main.java.backend.caching.Cache; import mop.main.java.backend.utilities.Log; import mop.main.java.common.Constants; import mop.main.java.common.exceptions.EntityMetadataException; import mop.main.java.database.model...
package org.libGlobal; public class TestProgram { public static void UserName() { System.out.println("UserName"); } public static void main(String[] args) { UserName(); } }
package com.ims.dto; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persi...
package com.smxknife.java.ex1; public class OddDemo2 { public static void main(String[] args) { for (int i = -10; i < 10; i++) { mod2(i); } } public static void mod2(int i) { System.out.println(i + " % 2 = " + (i % 2)); } }
package InnferClass; /** * 匿名内部类的演示 * @author Administrator * */ public class InnerClass_niming { public static void main(String[] args) { //1.创建了Inter2的一个子类,没有名字 //2.为该子类创建了一个对象,引用叫o1 //3.大括号中的为子类的类体 Inter2 o1 = new Inter2(){ }; //1.“又”创建了Inter2的一个子类,没有名字 //2.为该子类创建了一个对象,引用叫o2 //3.大括号中的为子类的...
package kr.ac.hansung.cst.recycleback.model; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.ToString; import org.jsoup.nodes.Element; import javax.persistence.Entity; import javax.persistence.Table; @Getter @Setter @ToString @NoArgsConstructor public class A...
package com.example.timerapp; import android.os.AsyncTask; import android.os.Bundle; import com.google.android.material.floatingactionbutton.FloatingActionButton; import com.google.android.material.snackbar.Snackbar; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import a...
package com.vikastadge.hibernate.xml.dao; import com.vikastadge.hibernate.xml.dao.entity.PersonEntity; import com.vikastadge.hibernate.xml.util.HibernateUtil; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import org.hibernate.cfg.Configuration; public class Perso...
package InsertSort; import SortUtil.SortUtil; public class InsertTest { public static void main(String[] args) { int[] data = SortUtil.makeRandom(500); InsertSort.ShellSort(data); SortUtil.printData(data); } }
package assembler; import java.io.IOException; import java.io.PrintWriter; public class ProcessController { public static void main(String[] args) { // TODO Auto-generated method stub InstructionType type = new InstructionType("file2.txt"); try{ PrintWriter writer = new PrintWriter("the-file...
/** * 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...
package com.smxknife.servlet.springboot.demo04; import org.springframework.beans.factory.annotation.AnnotatedBeanDefinition; import org.springframework.beans.factory.config.BeanDefinition; import org.springframework.beans.factory.support.BeanDefinitionRegistry; import org.springframework.context.EnvironmentAware; impo...
package org.motechproject.server.service.impl; import org.junit.*; import org.mockito.Mock; import org.motechproject.server.svc.RegistrarBean; import org.motechproject.server.util.MotechConstants; import org.openmrs.Encounter; import org.openmrs.Patient; import java.util.Arrays; import java.util.Calendar; import java...
package com.example.george.practica_1; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.CheckBox; import android.widget.EditText; import android.widget.RadioButton; import android.widget.RadioGroup; import android.w...
package workstarter.domain; import org.hibernate.annotations.Cache; import org.hibernate.annotations.CacheConcurrencyStrategy; import org.springframework.data.elasticsearch.annotations.Document; import javax.persistence.*; import javax.validation.constraints.*; import java.io.Serializable; import java.time.LocalDate;...
package com.espendwise.manta.web.forms; import com.espendwise.manta.model.data.AllUserData; import com.espendwise.manta.model.view.AllStoreIdentificationView; import com.espendwise.manta.model.view.UserIdentView; import com.espendwise.manta.spi.Initializable; import com.espendwise.manta.spi.Resetable; import ...
package com.esprit.lyricsplus; /** * Created by aziz on 1/3/17. */ public class PlayerConfig { public static final String API_KEY="AIzaSyByp4usFJQ0srWjFv0P3QXv7WJpp1eKWQ4"; public PlayerConfig() { } }
package Lab01.Zad6; public class Worker{ public Commute commute; public FreeTime spend; public Work work; public Worker(Commute commute, FreeTime spend, Work work){ this.commute = commute; this.spend = spend; this.work = work; } }
package ru.otus.models; import org.junit.Assert; import org.junit.Test; import java.util.ArrayList; import java.util.List; public class StatisticEntitiesTest { @Test public void equals() { StatisticEntities test = new StatisticEntities(); List<StatisticEntity> list = new ArrayList<>(); ...
class Main { public static void main(String[] args) { CasaUmQuarto c1 = new CasaUmQuarto(); CasaDoisQuartos c2 = new CasaDoisQuartos(); System.out.println("c1 tem "+c1.getMetrosQuadrados()+" m quadrados"); System.out.println("c2 tem "+c2.getMetrosQuadrados()+" m quadrados"); } } class CasaDoisQuart...
package com.tencent.mm.plugin.sns.data; import android.os.Parcel; import android.os.Parcelable; import android.os.Parcelable.Creator; import java.util.LinkedList; import java.util.List; public class SnsCmdList implements Parcelable { public static final Creator<SnsCmdList> CREATOR = new 1(); private int nkL =...
package com.cranestylelabs.danhoffman.listviewsample.ui_tests; import android.test.ActivityInstrumentationTestCase2; import android.test.suitebuilder.annotation.LargeTest; import android.widget.TextView; import com.cranestylelabs.danhoffman.listviewsample.R; import com.cranestylelabs.danhoffman.listviewsample.activit...
package com.blackvelvet.cybos.bridge.cpsysdib ; import com4j.*; /** * Defines methods to create COM objects */ public abstract class ClassFactory { private ClassFactory() {} // instanciation is not allowed /** * CpField Class */ public static com.blackvelvet.cybos.bridge.cpsysdib.ICpField createCpFie...
package com.codecool.zsana.scrumtrackertest.scrumtrackertest; import org.openqa.selenium.Alert; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.PageFactory; import org.openqa.selenium.support.pagefactory.AjaxElementLocatorFactory; public class Basepage {...
package com.avogine.junkyard.io.event; public interface InputListener { }
package com.guilhermefgl.spring.crudproduto.models.repositories; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.transaction.annotation.Transactional; import com.guilhermefgl.spring.crudproduto.models.Produto; @Transactional(readOnly = true) public int...
package ru.kappers.repository; import org.springframework.data.jpa.repository.JpaRepository; import ru.kappers.model.leonmodels.MarketLeon; public interface MarketLeonRepository extends JpaRepository<MarketLeon, Long> { MarketLeon getByName(String name); }
package com.hendriksen.listeners; /** * Created by Sam on 17/02/2015. * * Used to broadcast the outcome of a classifier build. */ public interface BuildClassifierListener { public void onBuildSuccess(); public void onBuildFail(); }
package com.pacific.dao; import com.pacific.domain.StockDetail; import java.util.Date; import java.util.List; /** * Created by yadavm on 30/05/14. */ public interface StockDateDao { public void create(StockDetail stockDetail); public List<StockDetail> getAll(); public List<StockDetail> getOne(Integer ...
package A_Ex1_WithoutPom; import static org.testng.Assert.*; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.testng.annotations.Test; import util.BaseTest; public class TestLoginBasic3 extends EmpBaseTest{ // login with correct un and correct pwd @Test public void testLoginSuc...
/** * 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...
package com.niemisami.opticalmobilesensor.SignalProcessing; import java.util.ArrayList; import java.util.List; /** * Created by sakrnie on 5.7.2016. */ public class DSP { public static double getWeightedAverage(int[] array) { int[] instances = getInstances(array); int[] weights = getWeights(in...
package com.lnunno.musicutils.echonest; import com.echonest.api.v4.Artist; import com.echonest.api.v4.Biography; import com.echonest.api.v4.Blog; import com.echonest.api.v4.EchoNestException; import com.echonest.api.v4.Image; import com.echonest.api.v4.Review; import java.util.List; import static com.lnunno.musicuti...
package com.basic.table.model; import com.basic.comp.impl.table.model.UsrTableModel; import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx; import java.util.List; public class UsrTMforGrp extends UsrTableModel { @Override public void setModels(List models) { this.models=models;...
package com.cannapaceus.jfx; import com.cannapaceus.grader.DBService; import com.cannapaceus.services.EmailService; import com.jfoenix.controls.JFXPasswordField; import com.jfoenix.controls.JFXTextField; import javafx.event.ActionEvent; import javafx.fxml.FXML; public class SettingsController { ScreenController ...
package com.tencent.mm.booter.notification; class f$a { private static final f cYV = new f((byte) 0); }
package cn.gd.gy.component; public class DataHolder { public String mTitle; public String mText; public boolean mChecked; public DataHolder(String title,String text,boolean checked) { this.mTitle=title; this.mText=text; this.mChecked=checked; } }
package net.minecraft.client.audio; import net.minecraft.entity.item.EntityMinecart; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.MathHelper; import net.minecraft.util.ResourceLocation; public class MovingSoundMinecartRiding extends MovingSound { private final EntityPlayer player; priv...
package com.agenin.report.Model; import com.agenin.report.Model.ProductModel; import com.google.gson.annotations.SerializedName; public class OrderListModel { @SerializedName("ordered_date") private String ordered_date; @SerializedName("confirmed_date") private String confirmed_date; @SerializedNa...
package org.caps.spring.bean; /** * @Author: caps * @Date: 2019/4/22 16:12 * @Version 1.0 */ public class BeanException extends RuntimeException { public BeanException(String message) { super(message); } public BeanException(String message,Throwable cause) { super(message,cause); } ...
package com.technology.share.mapper; import com.technology.share.domain.view.VExtJs; public interface VExtJsMapper extends MyMapper<VExtJs> { }