text
stringlengths
10
2.72M
package com.example.hemil.papa_johns.AbstractFactory; /** * Created by hemil on 11/28/2015. */ public class Pepperoni implements Pizza { double cost; public Pepperoni(int size, int quantity){ if(size==1){ cost = quantity*6.99; } else if(size ==2 ){ cost = quantity*9.99; ...
package de.varylab.discreteconformal.adapter; import java.util.HashMap; import java.util.Map; import de.jtem.halfedge.Edge; import de.jtem.halfedge.Face; import de.jtem.halfedge.Node; import de.jtem.halfedge.Vertex; import de.jtem.halfedgetools.adapter.AbstractAdapter; import de.jtem.halfedgetools.adapter.A...
package jokes.gradle.udacity.com.jokepresenter; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; /** ...
package com.mvc.model; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import com.mvc.baseinterface.IEventInterface; import com.mvc.baseinterface.InterfaceDispatcher; import com.mvc.contants.Events; import android.content.Context; public class MvcModelControlle...
package com.ara.recipeplanner.controller; import java.util.List; import java.util.stream.Collectors; import javax.validation.Valid; import com.ara.recipeplanner.dto.SeasonDto; import com.ara.recipeplanner.dto.SeasonDtoMapper; import com.ara.recipeplanner.exception.EntityDuplicatedException; import com.ara.recipeplan...
package org.spring.management.member.exception; public class UserValidException extends RuntimeException { String field; public UserValidException(String field, String message) { super(message); this.field = field; } public String getField() { return field; } public void...
package com.windtalker.ui; 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.view.LayoutInflater; import android.view.View; import android.view...
package com.sheygam.loginarchitectureexample.data.repositories.addContact.web; import com.sheygam.loginarchitectureexample.data.dao.Contact; import io.reactivex.Single; import retrofit2.Response; /** * Created by Kate on 18.02.2018. */ public class AddContactRetrofitRepository implements IAddContactWebRepository {...
package test2; //новый класс! public class Funny { String a1="1"; String b1="2"; public void take() { System.out.println("Testing!"); //Создал новый коммент! + еще if ((a1 == null && b1 == null) || a1 == b1) { System.out.println("a=b"); //перенес коммент } else { ...
package com.silverway.mboychenko.silverthread.fragments; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; impor...
package com.memory.platform.modules.system.base.service.impl; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Service; import com.memory.platform.common.ut...
package com.ackd151.maintenancemeter; import android.app.Activity; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.TextView; public class TopEndRebuild extends AppCompatActivity { int profileIndex; Mach...
/** * <copyright> * </copyright> * * */ package ssl.resource.ssl; public interface ISslHoverTextProvider { public String getHoverText(org.eclipse.emf.ecore.EObject object); }
package expansion.neto.com.mx.jefeapp.ui.rechazadas; import android.content.Context; import android.content.SharedPreferences; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4...
package com.myvodafone.android.front.netperform; import android.content.Context; import android.content.Intent; import android.graphics.Typeface; import android.net.Uri; import android.os.Bundle; import android.provider.Settings; import android.support.v4.app.Fragment; import android.support.v4.content.ContextCompat; ...
package Lab8; import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; public class Assignment3 { public static void main(String[] args) throws FileNotFoundException { int countwords=0,countlines=0,countchar=0,array1=0; File file= new File("C:\\Users\\vijsimha\\Desktop\\vij...
{{ hello }} It's currently {% now | date_format: "yyyy-MM-dd 'at' HH:mm:ss" %} Nested variable: {{ foo.bar }} foreach 循环 {% for dude in guys %} Current dude is {{ dude | uppercase }}...{% if dude == "matt" %} AWESOME!{% endif %} {% if currentLoop.currentIndex == 0 %} (the best!) {% comment %} Should only happen for ...
package com.example.android.appclient; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.Editable; import android.text.TextWatcher; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.EditTex...
package com.iteaj.util.module.wechat.basictoken; import com.iteaj.util.module.wechat.WechatApiResponse; /** * create time: 2018/4/14 * * @author iteaj * @version 1.0 * @since JDK1.7 */ public class BasicToken extends WechatApiResponse { private Integer expires_in; private String access_token; publ...
package tanks.model; import Utils.Message; import java.awt.*; public class RectModel { public static final int DIRECTION_FRONT = 1; public static final int DIRECTION_STOP = 0; public static final int DIRECTION_REVERSE = -1; protected Rectangle hitbox; protected int azimut; protected int dir...
package hw1; public class Types { public static void main(String[] args) { byte a = 127; short b = -31872; int c = 2000000; long d = -345987239481L; /*հարց1. եթե ամբողջ թվերի դեպքում մենք տառով վերջում նշում ենք առավելագույն թիվ վերագրելու հնարավորություն տվող type-ո...
/* Copyright 2015 Esri * * 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 agreed to in writing,...
package net.siekiera.garbageNotifier.model; import javax.persistence.*; import java.util.Set; /** * Created by Eric on 04.02.2017. */ @Entity @Table(name = "streets") public class Street { @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name = "id") private long id; private String na...
package diplomski.autoceste.repositories; import diplomski.autoceste.models.Report; import org.springframework.data.jpa.repository.JpaRepository; public interface ReportRepository extends JpaRepository<Report, Long> { }
package com.bedroom.common.pojo; import java.util.Date; /**学院信息实体类 college_id int college_name varchar create_time datetime introduction varchar * @author Administrator * */ public class College { private Integer collegeId; private String collegeName; private Date createTime; private String introduction; ...
package br.com.poli.Jogador; public class Info { private String nome; private int score; private int tempo; public Info(String nome, int score, int tempo) { this.nome = nome; this.score = score; this.tempo = tempo; } public String getNome() { return nome; } public void setNome(String nome) { t...
package com.nextLevel.hero.mnghumanResource.model.dao; import java.sql.Date; import java.util.List; import org.apache.ibatis.annotations.Mapper; import com.nextLevel.hero.mngVacation.model.dto.AnnualVacationControlDTO; import com.nextLevel.hero.mnghumanResource.model.dto.JobDTO; import com.nextLevel.hero.mnghumanRes...
/* * Created on 12/09/2008 * * To change the template for this generated file go to * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments */ package com.citibank.ods.persistence.pl.dao; import com.citibank.ods.common.dataset.DataSet; /** * @author lfabiano * * To change the temp...
package com.example.sieunhan.github_client.core.commit; import android.text.TextUtils; import org.eclipse.egit.github.core.CommitComment; import org.eclipse.egit.github.core.CommitFile; import org.eclipse.egit.github.core.RepositoryCommit; import java.io.Serializable; import java.util.ArrayList; import java.util.Co...
package com.example.angela.avocadowe; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.constraint.ConstraintLayout; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatAc...
/** Permutation in a String (hard) Given a string and a pattern, find out if the string contains any permutation of the pattern. Permutation is defined as the re-arranging of the characters of the string. For example, “abc” has the following six permutations: abc、acb、bac、bca、cab、cba Input: String="oidbcaf", Pattern="...
package com.ubuntu4u.ubuntu4u.ubuntu4u_client.activities; import android.Manifest; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.database.Cursor; import android.database....
package com.example.prog3.alkasaffollowup.Model; import java.util.List; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class DesignPayement { @SerializedName("$id") @Expose private String $id; @SerializedName("payment_type_list") @Expose ...
package pom; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; public class QualificationsObj { @FindBy(id="menu_admin_Qualifications") public static WebElement qualification; @FindBy(id="menu_admin_viewSkills") public static WebElement skills; ...
package android.example.pietjesbak.constant; public class Dices { //contstante aanmaken die gebruikt kan worden in meerder classes public static final int NUMBER_DICE = 3; }
package ALIXAR; import java.util.Scanner; public class Ejercicio4 { public static void main(String[] args) { Scanner teclado = new Scanner(System.in); int[][] numeros = new int[4][6]; System.out.println("Introduzca la posicion del numero que desea conseguir: "); int posicion = t...
import java.util.*; class LongestCommonPrefix{ int n; String[] words; /* Declare an instance variable to store the list of strings */ LongestCommonPrefix(String listOfStrings){ } public void augment(/* add required parameters */){ /* Implement the augment method to augment/mo...
package Stack; import java.util.Stack; /*Objective is to check if the input string of * parentheses are in proper sequence or not * Example : * ( : Not in sequence. * ()) : Not in sequence. * (({(}))) : Not in sequence. * (){}[] : In sequence. * ({({[]})(){}}) : In sequence. * */ public class S...
package Models; import java.util.ArrayList; import MVC.Product; import MVC.ProductPart; import MVC.Session; import MVC.User; public class ProductTemplateModel { public ArrayList productArray; public ArrayList productPartList; public ArrayList partsList; public productGatewaySQL gateway = new productGatewaySQL(...
package com.vasyaevstropov.newspoltava; import android.app.Activity; import android.os.AsyncTask; import android.support.design.widget.NavigationView; import android.util.Log; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.squareup.picasso.Picasso; import org.jso...
//package bicycles.models; // ////import bicycles.Bicycle; //import bicycles.BicycleBase; // //public abstract class MountainBike extends BicycleBase { // // @Override // public void accelerate() { // changeSpeed(5); // } // // @Override // public void brake() { // changeSpeed(-3); // ...
package com.example.trialattemptone; import android.app.Activity; import android.app.AlarmManager; public class AlarmReceiver extends Activity { }
package com.horse.barrel; public class Scoredetails { /** * @param args */ private String Firstname; private String score; private int scorer; public int getScorer() { return scorer; } public void setScorer(int scorer) { this.scorer = scorer; } public String getScore() { return score; } public vo...
package com.revolut.moneytransfer.test; import org.apache.http.client.HttpClient; import org.apache.http.client.utils.HttpClientUtils; import org.apache.http.client.utils.URIBuilder; import org.apache.http.impl.client.HttpClients; import org.apache.http.impl.conn.PoolingHttpClientConnectionManager; import org.eclipse....
package DAO; import java.util.List; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; import org.springframework.context.annotation.ScopedProxyMode; import org.springframework....
package com.fanfte.algorithm.dp; public class HouseRobber2 { public static void main(String[] args) { } public int rob(int[] nums) { return 0; } }
package ru.shikhovtsev.shade; import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.List; import java.util.stream.IntStream; public class Main { public static void main(String[] args) { List<Integer> example = new ArrayList<>(); IntStream.range(1, 10).forEach(example::add); ...
package com.hcl.neo.cms.microservices.services; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.TreeMap; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.an...
package com.wirelesscar.dynafleet.api; /** * Please modify this class to meet your needs * This class is not complete */ import java.io.File; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.jws.WebMethod; import javax.jws.WebParam; import ja...
package lesson5.classbook; /** * Урок 5. Рекурсия. * Листинг программы Рекурсивный двоичный поиск. * Допустим, наш отсортированный массив содержит 10 элементов * [-10, 20, 25, 26, 40, 45, 75, 80, 82, 91]. * Ищем элемент, равный 25. Он находится в третьей позиции. */ public class MyArrApp { public static void...
package com.itinerary.guest.profile.model; /** * @author nadubey ItineraryConstant. * */ public final class ItineraryConstant { /** * private deafault constructor. */ private ItineraryConstant() { // private deafault constructor } /** * STATUS_CODE_403. */ public sta...
package controle.tarefascontrole; import java.util.Scanner; public class Tarefac1 { public static void main(String[] args) { /* * 1. Criar um programa que receba um * numero e verifique se ele esta entre * 0 e 10 e ť par */ Scanner entrada = new Scanner(System.in); System.out.println("Informe um ...
package com.teamdev.webapp1.controller.response; import com.teamdev.webapp1.model.product.Category; import java.util.List; public class CategoryChartInfo { public Category category; public List<ProductCountInfo> productsInfo; public CategoryChartInfo(Category category, List<ProductCountInf...
package PACKAGE_NAME; public class Buss { }
package com.zc.pivas.docteradvice.dtsystem.autocheck.req; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; /** * * 处方信息 * * @author cacabin * @version 0.1 */ @XmlAccessorType(XmlAccessType.FIELD) publi...
package com.soldevelo.vmi.config.acs.model; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; public class HostParamsTest { @Test public void compareTest() { HostParams hostParams1 = new HostParams(); HostParams hostParams2 = new H...
/* * 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 algoritmos.sort; /** * * @author leona */ public class BubbleSort { public static boolean sort(...
package Repository; import Domain.Car; import Domain.Category; /** * Created by Emma on 8/11/2018. */ public interface CarRepository extends CrudRepository <Car, Long> { Car create(Car car1); Car read(String id); Car update(Car carDetails); void delete(String id); Iterable<Car>...
package com.compania.vuelos.servicio.implementacion; import java.time.LocalDate; import java.time.LocalTime; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRun...
package com.getkhaki.api.bff.web.models; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import java.util.List; import java.util.OptionalInt; @Data @NoArgsConstructor @Accessors(chain = true) public class OrganizersStatisticsResponseDto { int page; OptionalInt count...
package com.sirma.itt.javacourse.objects.task3.supermarket.productObjects; /** * Class that describes the parameters of a Electronic product. * * @author simeon */ public class ElectronicProduct extends Product { private String grade; private float voltage; private String shortDescriptiom; private int warran...
package com.example.caxidy.agendacontactos; import java.io.Serializable; public class Foto implements Serializable { int idFoto, idContacto; String nombreFichero,descripcionFoto; public Foto(){ idFoto=0; idContacto=0; nombreFichero=descripcionFoto=""; } public Foto(int id...
import java.util.Collection; public class ConsoleEventLogger implements EventLogger{ private Collection loggers; public void logEvent(Event event){ System.out.println(event); } }
/* * Copyright 2002-2018 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.demo.service; import com.example.demo.entity.SysMonthlyReportMajor; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * 服务类 * </p> * * @author zjp * @since 2021-03-30 */ public interface ISysMonthlyReportMajorService extends IService<SysMonthlyReportMajor> { }
package com.novakivska.app.homework.homework15; /** * Created by Tas_ka on 5/9/2017. */ public class Flat { private Furniture furniture; private TVset tvSet; public Flat(Furniture furniture){ this.furniture = furniture; } public Furniture getFurniture() { return furniture; ...
package com.example.springhibernate.hibernate.repositories; import com.example.springhibernate.hibernate.models.Book; import com.example.springhibernate.hibernate.models.BookDetail; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public inter...
/* * 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 seatingsystem; import java.util.*; import java.io.*; /** * * @author nathanphipps */ public class Database { boolean ...
package fm.ua.bacs.testtaskrestservice.controller; import fm.ua.bacs.testtaskrestservice.helpers.FTP; import fm.ua.bacs.testtaskrestservice.helpers.Props; import org.apache.commons.net.ftp.FTPFile; import java.io.File; import java.io.IOException; import java.util.Timer; import java.util.TimerTask; import static fm.u...
/* * 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 uniza.diss.one.utils; import uniza.diss.one.app.App; /** * Trieda, ktora tvori komunikacnu vrstvu medzi biznis logikou aplik...
import java.util.*; /** * Main World Class * * @author Ezekiel Elin * @author Unknown Author * @version 11/02/2016 */ public class World { private List<List<Cell>> board; private int lightEnergy; private int steps; public World(int width, int height, int light) { li...
package tp.pr1.managers; public class SuncoinManager { private int numeroSoles; public SuncoinManager() { numeroSoles = 50; } public void setSoles(int numSoles) { //suma al número de soles los que han generado los girasoles en ese ciclo numeroSoles += numSoles; } public int getNumeroSoles...
public class Stack { private static final int CAPACITY = 1000; private int[] data; private int top = -1; public Stack() { this(CAPACITY); } public Stack(int capacity) { data = new int[capacity]; } public int size() { return (top + 1); } public boolean isEmpty() { return (top == -1); } public v...
package cn.kitho.core.config; import java.util.HashMap; import java.util.Map; /** * 关键字的范围类型 * Created by lingkitho on 2017/2/17. */ public enum KeyWordsRangeType { ARTICLE(0,"文章"), DAIRY(1,"日记"); KeyWordsRangeType(int statusIndex, String statusName) { this.statusIndex = statusIndex; t...
package com.metoo.foundation.test; import java.util.Calendar; import java.util.HashSet; import java.util.Set; public class TestDate { /** * @param args */ public static void main(String[] args) { Calendar cal = Calendar. getInstance (); System.out.println(cal.getTime()); cal.set(Calendar...
package com.example.android.arthistoryquiz; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.view.MotionEvent; import android.view.View; import android.view.inputmethod.InputMet...
package br.com.lucro.server.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.SequenceGenerator; import javax.persistence.Table; /** * * @author taylor * ...
package com.cloudinte.modules.xingzhengguanli.service; import java.util.List; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.thinkgem.jeesite.common.persistence.Page; import com.thinkgem.jeesite.common.service.CrudService; import com.cloudin...
package leetCode.copy.List; import leetCode.copy.common.ListNode; /** * https://leetcode-cn.com/problems/reverse-linked-list/ * https://github.com/azl397985856/leetcode/blob/master/problems/206.reverse-linked-list.md */ public class no206_reverse_linked_list { // 方法1 递归 public ListNode reverseList(ListNo...
package com.xixiwan.platform.annotation; import java.lang.annotation.*; @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface Operation { String describe() default ""; }
package assignment5; import java.util.*; public class test { public static void main (String[] args) { Assignment5 obj= new Assignment5 (); Scanner input = new Scanner(System.in); String decision = " "; do { System.out.println("Select an operation to perform"); String choice = input.next(); switch(c...
package registraclinic.anamnese; import registraclinic.atendimento.*; import javax.swing.JOptionPane; import registraclinic.atendimento.Atendimento; import registraclinic.util.GenericDAO; /** * * @author root */ public class AnamneseDAO extends GenericDAO<Anamnese> { public AnamneseDAO() { super(Anam...
package com.kplex.util; import java.util.List; import java.util.stream.IntStream; import static com.kplex.config.Constants.BOUNDARY_MAX; import static com.kplex.config.Constants.BOUNDARY_MIN; public class Utils { public static double boxed(double original) { return boxed(original, BOUNDARY_MIN, BOUNDARY_...
package by.academy.homework.homework5; import java.util.HashMap; import java.util.Map; public class Task5 { public static void main(String[] args) { String text = "Три котенка - черный, серый и белый - увидели мышь и бросились за ней! Мышь прыгнула банку с мукой. Котята - за ней! " + "Мышь убежала из банки вы...
package com.teste.southsystem.person.rabbitmq.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.amqp.core.*; import org.springframework.context.annotation.Configuration; @Configuration public class RabbitMQConfig { @Va...
package net.kkolyan.elements.engine.utils; /** * @author nplekhanov */ public class ResourceNameDemo { public static void main(String[] args) { String regex = ".*\\.([0-9]+)x([0-9]+)\\.[A-z0-9]+"; String regex2 = ".*\\.([0-9]+)x([0-9]+)\\.o([0-9]+)x([0-9]+).[A-z0-9]+"; System.out.println(...
package com.telekomatrix.hadoop.solution.files; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.ByteWritable; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduc...
package com.jgw.supercodeplatform.project.zaoyangpeach.schedule; import com.jgw.supercodeplatform.trace.dao.mapper1.storedprocedure.DataSyncMapper; import com.jgw.supercodeplatform.trace.service.tracefun.TraceBatchRelationEsService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.be...
package com.gaby.mybatis.base.service.impl; import com.baomidou.mybatisplus.mapper.BaseMapper; import com.baomidou.mybatisplus.service.impl.ServiceImpl; import com.gaby.mybatis.base.entity.IEntity; import com.gaby.mybatis.base.mapper.SqlDao; import com.gaby.mybatis.base.service.BaseService; import org.springframework....
package com.company; /** * */ public class Player { private int points; protected Logger logger; private Orangutan myOran; public Player() { logger=new Logger(); } public int getPoints() { logger.depthP(); logger.writeMessage(this.toString()+".getPoints()"); logger.depthM(); return points; } pu...
package org.redi.school; /** * Created by redi on 5/18/17. */ public class Office { }
package com.openfarmanager.android.dialogs; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.view.View; import android.view.Window; import android.widget.EditText; import android.widget.TextView; import com.openfarmanager.android.App; import com.openfarmanager.androi...
import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLong; public abstract class Server { protected final int port; protected volatile AtomicLong timeForTask = new AtomicLong(); protected v...
package gov.nih.mipav.model.dicomcomm; /** * DICOMPDUTypeBase abstract base class that is extended by DICOMPDUType and DICOMPDUItemType. * * <hr> * * This DICOM communication package was originally based on the Java Dicom Package, whose license is below: * * <pre> * Java Dicom Package (com.zmed.dicom) * ...
package com.hcl.cms.data.impl; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.List; import org.apache.commons.io.FilenameUt...
package bd.edu.httpdaffodilvarsity.jobtrack.model; /** * Created by mahmud on 12/15/16. */ //import javax.persistence.Embeddable; //import javax.persistence.Entity; //import javax.persistence.Id; //import javax.persistence.Table; //@Entity //@Embeddable //@Table(name = "hrm_role") public class Role { //@Id ...
package com.gaoshin.onsaleflyer.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import javax.xml.bind.annotation.XmlRootElement; import common.db.entity.DbEntity; @Entity @Table @XmlRootElement public class Asset extends DbEntity { @Column(nullable = false, ...
package com.codingapi.djl.example; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class DjlExampleApplicationTests { @Test void contextLoads() { } }
package fr.sfvl.testunit; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; public class SetterRecorderTest { public static class MonObjet { public MonObjet(String nom, int age) { super(); this.nom = nom; this.age = age; } public MonObjet...
package collections.demo; public class LinkedhashmapBook { int id; int quantity; String author,publisher; public LinkedhashmapBook(int id,String author,String publisher,int quantity) { this.id=id; this.author=author; this.publisher=publisher; this.quantity=quantity; } }