text
stringlengths
10
2.72M
package com.taimoor.mapstruct.model; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; /** * @author Taimoor Choudhary */ @Data @Builder @NoArgsConstructor @AllArgsConstructor public class Education { private String degreeName; private String inst...
package model; public interface CModel { }
package sysinfo.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; import sysinfo.model.Kelas; @RepositoryRestResource(collectionResourceRel = "kelas", path = "kelas") public interface KelasRepository extends JpaReposi...
package com.smart.droidies.tamil.natkati.library.util; import java.util.ArrayList; import java.util.Calendar; import java.util.Iterator; import java.util.List; public class AuspiciousDays { private int year; private int month; private List<Festive> auspiciousDays; private List<Festive> monthAuspiciousDays; pub...
package edu.neu.ccs.cs5010; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; public class RecommendationSystem { private static GetUserInfo getUserInfo; private static FollowerGraph followerGraph; private static Recommend r...
/* * 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 FileIO; import java.io.*; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author YNZ...
package com.zantong.mobilecttx.api; /** * Created by Administrator on 2016/5/5. */ public interface OnLoadServiceBackUI { void onSuccess(Object clazz, int index); void onFailed(); }
package com.containers.repository; import com.containers.model.Damage; import org.springframework.data.jpa.repository.JpaRepository; public interface DamageRepository extends JpaRepository<Damage, Long> { }
package org.antran.saletax.internal; import static org.junit.Assert.assertEquals; import org.antran.saletax.api.Categories; import org.antran.saletax.api.IAmount; import org.antran.saletax.api.ICart; import org.antran.saletax.api.ICartCalculator; import org.junit.Test; public class SaleTaxCalculatorTest { @...
import java.rmi.Remote; public interface MiInterfazRemota extends Remote { public void miMetodo1() throws java.rmi.RemoteException; public int miMetodo2() throws java.rmi.RemoteException; }
package com.accenture.test.assesment.entites; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "AWS_CLOUD") public class AwsCloud { @...
// ----------------------------------------------------- // Assignment #4 // // Written by: Alexandre Kang, 40027204 // ----------------------------------------------------- package package1; public class Students extends Employees{ public static enum status {undergraduate, graduate, alumni}; private status classi...
package com.birivarmi.birivarmiapp.model; public enum MetaFieldType { TEXT("TEXT"), TEXTAREA("TEXTAREA"), DROPDOWN("DROPDOWN"), RADIO("RADIO"), CHECKBOX("CHECKBOX"), URL("URL"), DATE("DATE"), DATEINTERVAL("DATEINTERVAL"); private final String type; private MetaFieldType(String type){ this.type = type; ...
package com.alex.eat; public class BasketEggsArray implements Weigh { private Eggs[] eggses; private int index; private int size; public BasketEggsArray(int size) { this.eggses = new Eggs[size]; this.size = size; this.index = -1; } public void addEggs(Eg...
package com.mpls.v2.service.impl; import com.mpls.v2.dto.GroupFullDTO; import com.mpls.v2.dto.GroupShortDTO; import com.mpls.v2.model.Group; import com.mpls.v2.model.User; import com.mpls.v2.repository.GroupRepository; import com.mpls.v2.service.GroupService; import com.mpls.v2.service.UserService; import com.mpls.v2....
package com.delrima.webgene.server.servlet; import javax.servlet.ServletException; import org.springframework.web.context.WebApplicationContext; import org.springframework.web.context.support.WebApplicationContextUtils; import com.delrima.webgene.client.common.Action; import com.delrima.webgene.client.common...
package com.sinodynamic.hkgta.dao.memberapp; import org.springframework.stereotype.Repository; import com.sinodynamic.hkgta.dao.GenericDao; import com.sinodynamic.hkgta.entity.rpos.CandidateCustomer; @Repository public class CandidateCustomerDaoImpl extends GenericDao<CandidateCustomer> implements CandidateCustomerD...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.oa.bbs.service; import java.util.List; import org.directwebremoting.annotations.RemoteMethod; import org.directwebremoting.annotations.RemoteProxy; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.oa.bbs.dao.ForumDao; import com.oa.b...
import java.util.ArrayList; /** * Diese Klasse verwaltet eine unbegrenzte Anzahl von Namen. * * @author Alexander Palmer * @version 22.06.2015 */ public class Freunde { private ArrayList<String> meineFreunde; /** * Erzeugt eine Instanz von ArrayList und stellt * die Sammlung der Klasse zur Verf...
/* * Created By Liang Shan Guang at 2019/3/10 17:50 * Description : 原则1-开闭原则 */ package 第3章_软件设计七大原则.S01_开闭原则OpenClose;
/* * 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 org.una.clienteaeropuerto.utils; import javafx.scene.image.ImageView; /** * * @author Andres */ public class Imagen { ...
package com.androidbook.simplelayout; import android.os.Bundle; public class frame_layout extends layout_menu_class { @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.frame_layout); } }
package engineTester; import java.util.ArrayList; import java.util.List; import java.util.Random; import org.lwjgl.input.Keyboard; import org.lwjgl.opengl.Display; import org.lwjgl.util.vector.Vector2f; import org.lwjgl.util.vector.Vector3f; import entities.Camera; import entities.ColisionLife; import entities.Enemy...
package com.matheusmarques.passaroavoado; import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphi...
package model.bean.file; import java.io.Serializable; import javax.persistence.EmbeddedId; import javax.persistence.Entity; import javax.persistence.Table; /** * * @author Andriy */ @Entity @Table(name = "file_manual", catalog = "testfield") public class FileManual implements Serializable { ...
package com.tw; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import static org.hamcrest.core.Is.is; import static org.junit.Assert.*; import static org.mockito.Mockito.*; public class LibraryTest { @Test pu...
package com.esum.wp.ims.uadacominfo.service; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.esum.appframework.service.IBaseService; public interface IUadacomInfoService extends IBaseService { void saveUadacomInfoExcel(Object object, HttpServletRequest request...
package objects; import java.util.ArrayList; import javax.swing.ImageIcon; public class Tile { private boolean _isOnTheBoard; private ArrayList<Boolean> _openedSide; // NESW private char _tileShape; private int[] _location; // tile index, if not on the board[100,100] private boolean _hasPlayerOnIt; private b...
package com.codigo.smartstore.sdk.core.checksum.crc; /** * @author andrzej.radziszewski * @version 1.0.0.0 * @since 2018 * @category class */ final class CrcParameter implements ICrcParameter { /** * Atrybut obiektu określa długość generowanej sumy kontrolnej wyrażonej w * bitach */ private final int le...
package com.example.administrator.mvp_example.Presenter; /** * Created by Administrator on 2017-12-06. */ public interface MainPresenter { void setView(MainPresenter.View view); void onConfirm(); public interface View { void setConfirmText(String text); } }
/* * 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.koshish.java.hibernate.ecommerce.DAO; import com.koshish.java.hibernate.ecommerce.entity.Customer; import java.util.List; ...
/* Ara - capture species and specimen data * * Copyright (C) 2009 INBio (Instituto Nacional de Biodiversidad) * * 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 version 3 of the Lic...
package com.example.admin.testingv1; import android.app.DatePickerDialog; import android.app.TimePickerDialog; import android.content.Intent; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.nfc.Tag; import android.support.v7.app.AppCompatActivity; import android.os.Bundle;...
package backtracking; import java.util.ArrayList; import java.util.Arrays; public class SubsetWithGivenSum { public void subsetUtil( ArrayList<ArrayList<Integer>> result, ArrayList<Integer> dummy, ArrayList<Integer> arr, int start, int end, ...
/* Test 50: * * Istruzione while .. do */ package gimnasium; class s1 { void pippo() { int var1, var2; while (true) ; while (var1); // errore!!! var1 non e' boolean. while (var1 > var2) if (true); } }
package algorithms.strings.substring; import algorithms.context.AppTestContext; import algorithms.strings.alphabet.Alphabet; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextCon...
package baekjoon; import java.io.*; public class Num_1157 { public static void main(String[] args) throws Exception { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String[] input=br.readLine().split(""); int ascii[]=new int[input.length]; int test[]=new int[91]; for(int i=0;...
package com.nextLevel.hero.mngCertificate.model.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.nextLevel.hero.mngCertificate.model.dao.MngCertificateMapper; import com.nextLevel.hero.mngCertificate.model.dto.Ce...
/*********************************************************************** * Module:PerMng.java * Author:wod * Purpose: Defines the Class PerMng ***********************************************************************/ package com.infohold.els.model; import java.math.BigDecimal; import javax.persistence.Column; impo...
package com.logicbig.example; import org.apache.commons.collections.Bag; import org.apache.commons.collections.bag.HashBag; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ApplicationContext; import org.springfra...
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.node.admin.docker;// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. import com.yahoo.config.provisio...
//package com.xiangyang.controller; // //import com.fasterxml.jackson.annotation.JsonInclude; //import lombok.Data; // //@JsonInclude(JsonInclude.Include.NON_NULL) // //@Data //public class User { // private String name; // // private Integer age; // // private Integer id; // //}
package com.codecool.movieorganizer.repository.db; import com.codecool.movieorganizer.model.MovieCharacter; import org.springframework.data.jpa.repository.JpaRepository; import java.util.Set; public interface MovieCharacterRepository extends JpaRepository<MovieCharacter, Long> { Set<MovieCharacter> findAllByName...
package com.redstoner.remote_console.protected_classes; import java.util.UUID; import com.mojang.authlib.GameProfile; import net.minecraft.server.v1_11_R1.EntityPlayer; import net.minecraft.server.v1_11_R1.EnumProtocolDirection; import net.minecraft.server.v1_11_R1.MinecraftServer; import net.minecraft.server.v1_11_...
package com._520it.dbutils; import java.sql.Connection; import java.sql.SQLException; import org.apache.commons.dbutils.QueryRunner; import com._520it.utils.DataSourceUtils; public class DBUtilDemo { public static void main(String[] args) { //DBUtil实现事务 Connection connection=null; try { //1.核心类 Query...
package com.test; import java.util.HashMap; import com.test.base.Solution; public class SolutionA implements Solution { @Override public int maxCoins(int[] nums) { if (null == nums) { return 0; } // i表示,当前路径下,最后一个气球 return fun(nums, 0, nums.len...
package dataFactory.impl; import dataFactory.OrderDataHelper; import po.OrderEvaluationPO; import po.OrderPO; import java.sql.*; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Map; /** * Created by arloor on 16-11-22. */ public class OrderMysqlDataHelper implem...
package com.easyway.fixinventory.utils.http; import com.easyway.fixinventory.model.AssetsTakeInventoryForPDABean; import com.easyway.fixinventory.model.InventoryInfoBean; import com.easyway.fixinventory.model.UserBean; import com.hanks.frame.base.BaseModel; import retrofit2.Call; import retrofit2.http.Field; import ...
/* Copyright 2015 Alfio Zappala 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, software...
package com.uog.miller.s1707031_ct6039.servlets.calendar; import com.uog.miller.s1707031_ct6039.beans.CalendarItemBean; import com.uog.miller.s1707031_ct6039.oracle.CalendarConnections; import java.io.IOException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.h...
package com.zhongyp.transaction; /** * project: demo * author: zhongyp * date: 2018/3/1 * mail: zhongyp001@163.com */ public class StockException extends Exception { private static final long serialVersionUID = 5377570098437361228L; public StockException() { super(); } public StockExcept...
package com.adidas.microservices.publicservice.entity; import com.adidas.microservices.publicservice.enums.Gender; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import lombok.NoArgsConstructor; import javax.validation.constraints.AssertTrue; import javax.validation.constraints.Email; import j...
package generator.util.loop; public enum LoopDirection { FORWARD, BACKWARD; }
package org.jbehave.demo.pages; import org.jbehave.demo.domain.Flight; public class SearchFlightPage { public void select(Flight flight) { } }
package com.baidu.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.bind.annotation.RestController; /** * <p> * Created by mayongbin01 on 2017/1/17. * <p> * controller * <p> * process business logic */ @RestContro...
/* There are 2N people a company is planning to interview. The cost of flying the i-th person to city A is costs[i][0], and the cost of flying the i-th person to city B is costs[i][1]. Return the minimum cost to fly every person to a city such that exactly N people arrive in each city. Example 1: Input: [[10,20],...
package com.example.android.splitwise; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; /** * Created by siddharthverma on 3/30/17. */ public class BannerActivity extends Activity { @O...
/** * Missile.java * * @author Lovejit Kharod, Sebrianne Ferguson * Last edited: November 19, 2018 * Purpose: Allows for creation of missiles to shoot at the planes. */ class Missile extends FlyingObject { private static final int MISSILE_SPEED = 5; Missile(int x, int y, int dir) { // dir -> -1 = up, 0 = mid,...
package com.example.bob.health_helper.Bean; import com.google.gson.annotations.SerializedName; /** * Created by Bob on 2019/3/13. */ public class Error { @SerializedName("code") private String mCode; @SerializedName("msg") private String mMsg; public String getCode() { return mCode; } public void setC...
package com.oblac.cleancodeworkshop.flagparameter; import java.io.File; import java.io.FileWriter; import java.io.IOException; public class FileWriterFlagExample { public static void main(String[] args) throws IOException { final File file = new File("C:\\temp\\example.txt"); // hard to underst...
package com.eighteengray.procamera.model.imageloader; import android.widget.ImageView; /** * Created by lutao on 2017/9/28. * 图片加载的封装类,实现方法可以采用Fresco或Glide */ public class ImageLoader implements IImageLoader { private static final ImageLoader instance = new ImageLoader(); private int planNum = 2; //图像加载实现...
package com.marvell.usbsetting; import android.content.BroadcastReceiver; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android...
package org.jboss.devcon.cmd; import org.infinispan.Cache; public class DeleteCommand extends Command { private String key; public DeleteCommand(String key) { super(); this.key = key; } public String execute(Cache<String, String> cache) { try { cache.remove(key); return "DELETED \"" + key + "\""; ...
package com.stk123.common.util.pdf; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.OutputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import com.stk1...
package com.itheima.day_02.homework.feeder; public class Frog extends Animal implements Swimming { @Override void eat() { System.out.println("青蛙吃小虫"); } @Override void drink() { System.out.println("青蛙喝水"); } @Override public void swim() { System.out.println("青蛙会蛙泳"); } }
package connectors.solr; public interface SolrData { }
package com.pwc.brains; import com.pwc.brains.btree.ObjectSerializationException; import java.io.*; import java.util.ArrayList; import java.util.Collections; import java.util.UUID; public class Util { public static String getUuid() { return UUID.randomUUID().toString(); } public st...
package by.htp.cratemynewpc.controller; import by.htp.cratemynewpc.controller.CommandName; import by.htp.cratemynewpc.controller.command.Command; import by.htp.cratemynewpc.controller.command.impl.*; import java.util.HashMap; import java.util.Map; class CommandProvider { private Map<CommandName, Command> comma...
/** * generated by Xtext 2.20.0 */ package org.xtext.example.mydsl.myDsl.impl; import java.util.Collection; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import ...
package vip.ph.vueapp.service; import vip.ph.vueapp.model.User; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * 服务类 * </p> * * @author Just be alive * @since 2021-04-24 */ public interface UserService extends IService<User> { }
package cn.sharesdk.demo.platform.whatsapp; import com.mob.MobSDK; import cn.sharesdk.demo.entity.ResourcesManager; import cn.sharesdk.framework.Platform; import cn.sharesdk.framework.PlatformActionListener; import cn.sharesdk.framework.ShareSDK; import cn.sharesdk.whatsapp.WhatsApp; /** * Created by yjin on 2017/6...
package org.odk.collect.android.activities; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import android.widget.Toast; public class startupbroadcastreceiver extends ...
package edu.inheritance.gabriel.mitchell; import edu.jenks.dist.inheritance.*; public class SelfCheckout implements ItemHandler { private double expectedWeight; private double subTotal; private double taxTot; private boolean checkID; private double scale; public final double TAX_RATE; public...
package bankassignment; import javax.swing.*; import javax.swing.JTextField; public class ReportPanel extends JPanel { private JLabel prompt; private JButton generate; private JTextField textMax; private JTextField textMin ; public ReportPanel () { ...
package app.services; import app.entity.Bed; import app.entity.Hospital; import app.entity.Room; import app.repository.BedRepository; import app.repository.RoomRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service pub...
/* * Copyright(C) 2019-2020 RINEARN (Fumihiro Matsui) * This software is released under the MIT License. */ package com.rinearn.rinpn.util; public enum RoundingTarget { SIGNIFICAND, AFTER_FIXED_POINT }
package dataStructures; public class StackLinkedList { public static Node top = null; public static class Node { int data; Node next; public Node(int data) { this.data = data; this.next = null; } public Node() { } } public static void insertElement(int data) { /* * Node newNode = new N...
package com.timewarp.games.onedroidcode.editor; import com.timewarp.engine.entities.GameObject; public class NodeCell extends GameObject { public NodeCellComponent cellComponent; public NodeCell() { } @Override public void init() { super.init(); this.cellComponent = this.addCo...
//package com.zhanwei.java.myqueue; // //import org.slf4j.Logger; //import org.slf4j.LoggerFactory; // //import java.util.concurrent.atomic.AtomicInteger; // //public class CaptchaResource<T> implements ICaptchaResource<T> { // private static Logger picpoolLogger = LoggerFactory.getLogger("poollogger"); // // protected...
package sesion3; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; /** *...
package io.github.stepheniskander.equationsolver; import org.junit.Test; import static org.junit.Assert.assertEquals; public class ExpressionTest { private static final double EPSILON = 10E-6; @Test public void testEvaluateRpn() { Expression ex = Parser.parseExpression("(2+3)^5/16-(9*1.5)"); ...
package com.example.narubibi.findate.Activities; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.design.widg...
package com.bestone.util; public class Path { public final static String userPath="/Users/mahaibin/BestOnePicture/user/"; public final static String articlePath="/Users/mahaibin/BestOnePicture/article/"; public final static String handShotPath="/Users/mahaibin/BestOnePicture/touxiang/"; }
package cit360httpurl; import java.io.*; import java.net.HttpURLConnection; import java.net.URL; public class HttpURLExample { private final String USER_AGENT = "Mozilla/5.0"; public void sendGet() throws Exception { URL object = new URL("https://icanhazdadjoke.com/"); HttpURLConnection con...
package com.goyalgadgets.musiclooper; import java.io.File; import java.io.FilenameFilter; import java.util.ArrayList; import java.util.HashMap; import android.app.ListActivity; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.media.MediaMetadataRetriever; i...
package org.smart4j.util; import org.apache.commons.lang3.StringUtils; /** * Created by admin on 2017/12/13. * 字符串工具类 */ public final class StringUtil { /** * 判断字符串是否为空 */ public static boolean isEmpty(String str){ if (str!=null){ str=str.trim(); } return Str...
/* * 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 com.bofsoft.sdk.widget.layout; import android.annotation.SuppressLint; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import android.view.View.OnClickListener; import android.widget.LinearLayout; import android.widget.Toast; import ...
package com.sam.sec.model; public class StepModel { private String saga; private String step; private String apiPath; private String capiPath; private String apiMethod; private String capiMethod; public String getSaga() { return saga; } public void setSaga(String saga) { this.saga = saga;...
/* * 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 Interfaces; import Model.User; /** * * @author RolfMoikjær */ public interface AuthIF { boolean authCheck(String ...
package com.company.classes; //EXAMPLE OF ENCAPSULATION public class Marsupial extends Animal{//extension is an example of polymorphism //all functions are examples of abstraction //name is an example of identity public Marsupial(String newName) { super(newName); } @Override public ...
package com.liujunbo.springbootdemo; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; import java.util.HashMap; import java.util.Map; @RunWith(SpringRunner.class) @SpringBootTest public cl...
package oasispv.pv; /** * Created by Usuario on 28/11/2016. */ public class variables { public static String ip; public static String cn; public static String un; public static String pw; public static String movi; public static String fase; public static String mesero; public stati...
/* * Created on 2005-8-10 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package com.aof.webapp.action.prm.report; import java.io.FileInputStream; import java.text.DateFormat; import java.text.NumberFormat; import java.text.SimpleDateFo...
package car_rent.rent; import javax.persistence.*; import java.time.LocalDateTime; import java.util.Set; @Entity @Table(name = "user") public class Customer { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; private String name; private String lastName; private LocalDa...
package uk.co.mtford.jalp.abduction.rules; import org.junit.After; import org.junit.Before; import org.junit.Test; import uk.co.mtford.jalp.JALP; import uk.co.mtford.jalp.abduction.logic.instance.DenialInstance; import uk.co.mtford.jalp.abduction.logic.instance.IInferableInstance; import uk.co.mtford.jalp.abduction.lo...
/* * HDF5ByteGenotype */ package net.maizegenetics.dna.snp.genotypecall; import ch.systemsx.cisd.hdf5.IHDF5Reader; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import net.maizegenetics.dna.snp.GenotypeTable; import net.maizegen...
/* WaitLock.java Purpose: Description: History: Wed Mar 2 10:55:54 2005, Created by tomyeh Copyright (C) 2005 Potix Corporation. All Rights Reserved. {{IS_RIGHT This program is distributed under LGPL Version 2.1 in the hope that it will be useful, but WITHOUT ANY WARRANTY. }}IS_RIGHT */ package org...
package com.recursively.engine.renderer.graphics2D; import org.lwjgl.opengl.GL12; import org.newdawn.slick.opengl.Texture; import static org.lwjgl.opengl.GL11.*; public class PrismaticEngine2D { private PrismaticEngine2D() { } public static void setClearColour(float r, float g, float b, float alpha) { ...