text
stringlengths
10
2.72M
/* * Copyright © 2018 www.noark.xyz All Rights Reserved. * * 感谢您选择Noark框架,希望我们的努力能为您提供一个简单、易用、稳定的服务器端框架 ! * 除非符合Noark许可协议,否则不得使用该文件,您可以下载许可协议文件: * * http://www.noark.xyz/LICENSE * * 1.未经许可,任何公司及个人不得以任何方式或理由对本框架进行修改、使用和传播; * 2.禁止在本项目或任何子项目的基础上发展任何派生版本、修改版本或第三方版本; * 3.无论你对源代码做出任何修改和改进,版权都归Noark...
package com.checklist.changetask; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.design.widget.Snackbar; import android.support.v4.app.Fragment; import android.support.v7.app.AppCompatActivity; import android.view.LayoutInflater; ...
package com.perfect.web.service; import com.perfect.entity.Permission; import com.baomidou.mybatisplus.service.IService; /** * <p> * 权限表 服务类 * </p> * * @author Ben. * @since 2017-03-15 */ public interface PermissionService extends IService<Permission> { }
package com.outlook.base; import java.lang.reflect.Method; import java.util.Iterator; import java.util.List; import java.util.Map; import org.dom4j.Element; import org.testng.annotations.DataProvider; import com.outlook.constant.Path; public class DataDriveBase { private void initial() { i...
/** * Created with IntelliJ IDEA. * User: dexctor * Date: 12-12-29 * Time: 上午9:00 * To change this template use File | Settings | File Templates. */ public class Edge implements Comparable<Edge> { private int v; private int w; private double weight; public Edge(int v, int w, double weight) { ...
package com.atguigu.lgl; import java.util.Arrays; /* * 4. 对象数组题目: 定义类Student,包含三个属性:学号number(int),年级state(int),成绩score(int)。 创建20个学生对象,学号为1到20,年级和成绩都由随机数确定。 问题一:打印出3年级(state值为3)的学生信息。 问题二:使用冒泡排序按学生成绩排序,并遍历所有学生信息 int 提示: 1) 生成随机数:Math.random(),返回值类型double; 2) 四舍五入取整:Math.round(double d),返回值类型long。 */ public cl...
package circle; import java.util.*; //import java.lang.*; public class Circle { public static void main(String[] args) { Scanner obj = new Scanner(System.in); System.out.println("Give Radius Value:"); int a = obj.nextInt(); With ob = new With(a); ob.Area(); // ob.final...
package com.document.feed.util; import java.time.LocalDateTime; import java.time.temporal.ChronoUnit; public class IndexUtils { public static final String TEMPLATE_NAME = "article-template"; public static final String INDEX_NAME = "article"; public static final String TEMPLATE_PATTERN = INDEX_NAME + "-*"; pu...
package com.javiermarsicano.algorithms.codility; import org.junit.Test; import java.util.ArrayList; import static org.junit.Assert.assertEquals; /** Your monthly phone bill has just arrived, and is unexpectedly large. You decide to venrify the amount by recalculating the bill based on your phone cell logs and the...
package com.yasin.round.card; import android.content.Context; import android.content.res.ColorStateList; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.os.Build; import android.util.AttributeSet; import android.view.View; import android.w...
package command; import command.robot.*; /** * Инкапсулирует запрос в виде объекта, делая возможной параметризацию клиентских объектов с другими запросами, * организацию очереди, регистрации запросов, а так же поддержку отмены операции. Шаблок используется в многопоточности, * (Runnable) и при транзакциях (сложных...
package com.zs.bus; import com.huaiye.sdk.sdkabi._params.SdkBaseParams; /** * author: admin * date: 2018/05/29 * version: 0 * mail: secret * desc: ChannelInvistor */ public class NetStatusChange { public SdkBaseParams.ConnectionStatus data; /** * 是否已经尝试过重新登陆 */ public boolean haveTryLogin...
package com.revature.daoimplementations; import com.revature.project1.dao.UserDao; import com.revature.project1.models.User; import com.revature.project1.jdbc.*; import java.sql.*; import java.util.*; public class UserDaoImpl implements UserDao { static PreparedStatement pstmt = null; static Statement stmt = null...
package com.wy.action.algorithm; import org.junit.Assert; import org.junit.Test; import java.lang.reflect.Array; import java.util.*; /** * @Author wangyong * @Date 2020-02-18 */ public class StringApp { /** * 判断是否为回文数 * @param x * @return */ public boolean isPalindrome(int x) { ...
package com.mad.cityassignment; public class GameSchema { public static class GameTable{ public static final String NAME = "game_data"; public static class Cols { public static final String GAME = "game"; } } }
package com.kh.jd.comment; import java.util.HashMap; import java.util.List; import javax.servlet.http.HttpSession; import org.apache.ibatis.session.SqlSession; import org.mybatis.spring.SqlSessionTemplate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repositor...
package sk.stuba.uim.fei.oop; public class Auto { private static final double FUEL_PER_KM=0.2; private double kapacitaNadrze; public double stavNadrze; private boolean neojazdene;//primitivny datovy typ,nie su objekty, int, double char public Auto(double kapacitaNadrze){ this.neojazdene=t...
package com.gaoshin.cloud.web.xen.service; import java.util.Map; import java.util.Map.Entry; import com.gaoshin.cloud.web.xen.bean.HostNetwork; import com.gaoshin.cloud.web.xen.bean.HostNetworkList; import com.xensource.xenapi.Network; import com.xensource.xenapi.Network.Record; public class NetworkXenTask extends X...
package io.qtechdigital.onlineTutoring.service.authentication; import io.qtechdigital.onlineTutoring.dto.auth.AuthenticationRequestDto; import org.springframework.security.core.Authentication; public interface AuthenticationService { Authentication authenticate(AuthenticationRequestDto requestDto); }
package com.krish.iw; import java.util.ArrayList; import java.util.List; public class MergeSortedList { public static void main(String[] args) { List<Integer> lst1 = new ArrayList<Integer>(); List<Integer> lst2 = new ArrayList<Integer>(); lst1.add(1); lst1.add(3); lst1.add...
package com.ractive.netty; import io.reactivex.netty.protocol.http.server.HttpServer; import rx.Observable; import java.math.BigDecimal; public class RxNettyRestServer { private static final BigDecimal RATE = new BigDecimal("1.06448"); public static void main(String[] args) { HttpServer.newServer(...
package com.javarush.test.level08.lesson08.task04; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.Map; /* Удалить всех людей, родившихся летом Создать словарь (Map<String, Date>) и занести в него десять записей по принципу: «фамилия» - «дата рождения». Удалить из словаря ...
package dao; import model.Project; public interface ProjectDaoInterface { Project insert(Project project); boolean delete(int projectId); Project update(int projectId,String endDate,String status); }
/* * Copyright (c) 2013-2014, Neuro4j.org * * 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...
package com.springboot.racemanage.controller; import com.springboot.racemanage.po.*; import com.springboot.racemanage.service.*; import com.springboot.racemanage.util.UploadFile; import jxl.Workbook; import jxl.write.Label; import jxl.write.WritableSheet; import jxl.write.WritableWorkbook; import jxl.write.WriteExcep...
package escolasis.ws.jaxws; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import escolasis.modelo.xml.ListaPessoaInsert; ...
package net.lvcy.card.entity.gate.mid; import net.lvcy.card.core.AbstarctCard; import net.lvcy.card.entity.gate.MidCard; import net.lvcy.card.eumn.CardType; public class ThreeThree extends AbstarctCard implements MidCard { public ThreeThree() { this.type = CardType.THREE_THREE; } }
package org.vanilladb.comm.protocols.tcpfd; import net.sf.appia.core.AppiaEventException; import net.sf.appia.core.Channel; import net.sf.appia.core.Direction; import net.sf.appia.core.Event; import net.sf.appia.core.Session; public class ProcessConnected extends Event { private int connectedProcessId; public P...
package com.test.demo.Entities; import java.util.Set; import javax.persistence.AttributeOverride; import javax.persistence.AttributeOverrides; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.JoinTable...
package com.zd.christopher.action; import javax.annotation.Resource; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Controller; import com.google.gson.reflect.TypeToken; import com.zd.christopher.bean.Administrator; import com.zd.christopher.bean.Faculty; import com.zd.chr...
/* * Copyright (c) 2013-2014, Neuro4j.org * * 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 com.proyectogrado.alternativahorario.alternativahorario.web; import com.proyectogrado.alternativahorario.alternativahorario.negocio.FachadaNegocioLocal; import com.proyectogrado.alternativahorario.entidades.Facultad; import com.proyectogrado.alternativahorario.entidades.Sede; import java.io.Serializable; ...
package cluster.shop.items; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.file.FileConfiguration;...
package com.rqhua.demo.lib_annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Created by Administrator on 2018/6/25. */ @Target(ElementType.FIELD) @Retention(RetentionPolicy.SOURCE) publ...
package com.thoughtworks.maomao.noam; import com.thoughtworks.maomao.noam.annotation.Column; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; public class ModelInfo { private String tableName; private List<String> columns = new ArrayList(); private Class modelClass; ...
package codejam1; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.Scanner; class gomo{ public static void main(String[] args) { System.out.println("give input to file instream for file "); Scanner sc = null; tr...
package com.god.gl.vaccination.base; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import com.god.gl.vaccination.R; import com.god.gl.vaccination.widget.TitleView; import...
package itchihuahua.mitec.com.mitec; import android.app.Activity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; public class CalifListAdapter extends ArrayAdapter<String> { Activity context; Stri...
package com.esum.web.ebms.ebmsroutingpath.dao; import java.util.HashMap; import java.util.List; import java.util.Map; import com.esum.appetizer.dao.AbstractDao; import com.esum.appetizer.util.PageUtil; import com.esum.web.ebms.ebmsroutingpath.vo.EbmsRoutingPath; public class EbmsRoutingPathDao extends AbstractDao { ...
package com.bestseller.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class BackPageController { @RequestMapping("/back/{page}") public String sho...
package com.github.fly_spring.demo06.prepost; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; /** * 配置类 * initMethod和destroyMethod指定BeanWayService类的init和destroy方法在构造之后、bean销毁之前执行 * @author ...
import com.github.theholywaffle.lolchatapi.*; import com.github.theholywaffle.lolchatapi.listeners.ChatListener; import com.github.theholywaffle.lolchatapi.listeners.FriendListener; import com.github.theholywaffle.lolchatapi.listeners.FriendRequestListener; import com.github.theholywaffle.lolchatapi.riotapi.RateLimit; ...
package com.example.landrouter.controller; import com.example.landrouter.model.LandRouteResponse; import com.example.landrouter.service.LandRouteService; import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import...
/* * Copyright © 2020-2022 ForgeRock AS (obst@forgerock.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package com.edasaki.rpg.mobs; import org.bukkit.inventory.ItemStack; import com.edasaki.rpg.items.RPGItem; public final class MobDrop { public final RPGItem item; public final int minAmount; public final int maxAmount; public final double chance; public ItemStack generate() { return ite...
/* * Classe per guardar cada element * de la web amb la informació del COVID */ package at.project.covid; import java.sql.Timestamp; public class CovidInfo { private String nom; private String codi; private Timestamp data_ini; private Timestamp data_fi; private String residencia; private f...
package com.zhicai.byteera.activity.traincamp.module; import com.zhicai.byteera.activity.traincamp.presenter.DayTaskPresenter; import dagger.internal.Factory; import javax.annotation.Generated; @Generated("dagger.internal.codegen.ComponentProcessor") public final class DayTaskModule_ProvideTaskPresenterFactory implem...
package se.ade.autoproxywrapper.gui.controller; import static javafx.stage.StageStyle.DECORATED; import java.io.IOException; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene.layout.BorderPane; import javafx.scene.layout.VBox; import javafx.stage.Stage; import se....
package download.util; import java.io.InputStream; import java.io.RandomAccessFile; import java.io.Serializable; import java.net.HttpURLConnection; import java.net.URL; import org.apache.log4j.Logger; public class DownLoadTask implements Runnable, Serializable { private static final long serialVersionU...
package com.auro.scholr.teacher.presentation.viewmodel; import android.content.Context; import android.view.View; import androidx.annotation.NonNull; import androidx.core.content.ContextCompat; import androidx.recyclerview.widget.RecyclerView; import com.auro.scholr.R; import com.auro.scholr.core.common.AppConstant;...
package com.model; import java.io.Serializable; public class CashPayBillItem implements Serializable{ private String id; private String cashPayBillNo; private String item; private double money; private String desc; public CashPayBillItem(String id, String cashPayBillNo, String item, double money, ...
/* * 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 Facade; import entity.Person; import java.io.Closeable; import java.io.IOException; import javax.persistence.EntityManager; im...
package com.company; public class Main { public static void main(String[] args) { } //problem 1 public boolean sleepIn(boolean weekday, boolean vacation) { if (!weekday || vacation){ return true; } else{ return false; } } //problem 2 public...
package io.magicthegathering.javasdk.filter; import io.magicthegathering.javasdk.filter.domain.Color; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import static org.junit.Assert.*; /** * Tests the ColorFilter * * @author Timon Link - timon.link@gmail.com */ @RunWith(JU...
/* * 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.implDao; import com.dao.IDao; import com.entity.Cliente; import com.entity.Notificacion; import com.entity.Tiend...
import static org.junit.Assert.*; import org.junit.Test; public class EventBarrierTest { @Test public void testArrive() throws InterruptedException { EventBarrier e = new EventBarrier(); MyThread t1 = new MyThread(e, false); MyThread t3 = new MyThread(e, true); t1.start(); Thread.sleep(100); asse...
package ru.gurps.generator.desktop.models.characters; import ru.gurps.generator.desktop.config.Model; public class CharactersCultura extends Model { public Integer id; public Integer characterId; public Integer culturaId; public Integer cost = 0; public CharactersCultura() { } public Cha...
package com.springboot.racemanage.service.serviceImpl; import com.springboot.racemanage.service.LogService; import org.springframework.stereotype.Service; import javax.annotation.Resource; import java.util.List; import java.util.Map; import com.springboot.racemanage.po.Log; import com.springboot.racemanage.dao.LogDao...
package com.example.hyunyoungpark.addressbookdemo; import android.content.Context; import android.net.Uri; import android.support.v4.app.Fragment; import android.database.Cursor; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.FloatingActionButton; import andr...
/** * Subclass Salesman * * @author Mark Orimoloye */ public class Salesman extends Employee { private double annualSales; //contructor public Salesman(String name, double mthlySalary, double annualSales) { super(name, mthlySalary); this.annua...
package cap5exercices.example1; import java.io.IOException; public class RandomNumberGame { public static void main(String[] args) throws IOException { boolean sair = false; //variavel de controlo quebrar: do { // ciclo principal com label quebrar boolean guess = false; char c; int tentativas = 0; ...
package net.aimeizi.service.order; import net.aimeizi.order.Order; import net.aimeizi.order.OrderService; import org.apache.thrift.TException; import org.springframework.stereotype.Service; @Service("orderService") public class OrderServiceImpl implements OrderService.Iface { @Override public String ping() ...
package com.god.gl.vaccination.main.home.activity; import android.os.Bundle; import com.god.gl.vaccination.R; import com.god.gl.vaccination.base.BaseActivity; /** * @author gl * @date 2018/12/8 * @desc */ public class ProductsDetailActivity extends BaseActivity { @Override protected int getActivityViewBy...
package br.com.salon.carine.lima.repositoriessdp; import java.util.List; import java.util.Optional; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.EntityGraph; import org.springframework.data.jpa.repository.JpaRepository; im...
import java.util.Vector; public class A4Vectortest { public static void main(String[] args) { Vector v = new Vector();//그 크기만큼 키움/add/증가 Vector v2= new Vector(3); Vector v3= new Vector(3,4); for (int i = 0; i <=10 ; i++) { v.add(i+""); v2.add(i+""); v3.add(i+""); } System.out.println(v.capaci...
package kompressor.huffman; import kompressor.huffman.bytearray.ByteArrayReader; import kompressor.huffman.structures.HuffmanNode; import kompressor.huffman.structures.HuffmanQueue; import kompressor.huffman.structures.HuffmanTree; public class TreeBuilder { private TreeBuilder() { } public stat...
package com.metoo.module.app.pojo; public class Ddu { private String status; private String time; private String location; private String details; public String getLocation() { return location; } public void setLocation(String location) { this.location = location; } public String getDet...
package library.dao; import java.util.List; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.query.Query; import library.model.Faculties; import library.model.Students; import library.utils.HibernateUtil; public class StudentsDaoImpl implements StudentsDao{ public static Se...
package com.nfet.icare.controller; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.st...
/* $Id$ Copyright (C) 2002-2005 Sebastien Vauclair This file is part of Extensible Java Profiler. Extensible Java Profiler 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 2 of the License, ...
/* * 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 crawlers.publishers.telaNon; import crawlers.FlexNewsCrawler; import crawlers.Logos; import crawlers.publishers.exceptions.Art...
package com.xp.springboot.dto; import java.util.ArrayList; import java.util.List; import com.xp.springboot.entities.Address; public class EmployeeDTO { private int empId; private String empName; private int empSalary; private int age; List<Address> addList=new ArrayList<>(); public Employe...
package com.javarush.test.level05.lesson05.task04; /* Create three objects of Cat type Create three objects of type Cat in the method main and fill them with data. Use the class Cat of the first task. Do not create the class Cat. */ public class Solution { public static void main(String[] args) { Cat ...
package com.metoo.view.web.tools; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.nutz.json.Json; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.metoo.core.tools.CommUt...
package main; public class InterfacesMain { public static void main(String[] args) { // static methods in interfaces can be called like in any class OtherInterface.staticMethod(); // we create an object of type [MyClass] and store it in a variable of [AnInterface] AnInterface myObject = new MyClass(); m...
package ch.florianluescher.salary; import java.util.NoSuchElementException; import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Predicate; public interface Nullable<T> { boolean isPresent(); T get(); T getOrElse(T fallback); <U> Nullable<U> map(Function<T...
package net.imglib2.view; public class IjMetaGenerics { public interface ViewFactory< S > { S createView( S source ); } public interface Space< S extends Space< S, T >, T > { T type(); Space< S, T > access(); ViewFactory< S > viewFactory(); } static abstract class SpaceView< S extends Space< S, T >,...
package ua.game.pro.dto; import ua.game.pro.entity.GroupOfUsers; public class ProfesorDTO { private int id; private String name; private GroupOfUsers groupOfUsers; public ProfesorDTO() { } public String getName() { return name; } public void setName(String name) { this.name = name; } public in...
package com.example.practica3; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class Fragment_Eliminar exte...
/* NMS-DRIVERS -- Free NMS packages. * Copyright (C) 2009 Andrew A. Porohin * * NMS-DRIVERS is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, version 2.1 of the License. * * NMS-DRIVERS is distr...
package com.aliam3.polyvilleactive.model; import com.aliam3.polyvilleactive.db.MockAPI; import com.aliam3.polyvilleactive.model.incidents.transportation.Delay; import com.aliam3.polyvilleactive.model.transport.Journey; import com.aliam3.polyvilleactive.model.transport.ModeTransport; import com.aliam3.polyvilleactive.se...
package com.ama.springdemojavaconfiguration; import org.springframework.context.annotation.AnnotationConfigApplicationContext; public class JavaConfigDemoApp { public static void main(String[] args) { // load the spring configuration file ==> create spring Container from java configuration class Annotatio...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.inbio.ara.persistence.gathering; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Embeddable; /** * * @author esmata */ @Embeddable ...
package stepDefinitions; import java.io.IOException; import io.cucumber.java.Before; public class Hooks { @Before("@deletePlaceAPI") public void precondition() throws IOException { if(StepDefinitions.placeId == null) { StepDefinitions sd = new StepDefinitions(); sd.place_payloa...
package org.jacpfx.kube.repository; import org.jacpfx.kube.entity.Person; import org.springframework.data.mongodb.core.ReactiveMongoOperations; import org.springframework.data.repository.reactive.ReactiveCrudRepository; import org.springframework.stereotype.Repository; /** * Created by amo on 04.04.17. */ public i...
package scalagoon; import org.junit.runner.RunWith; import org.junit.runners.Suite; @RunWith(Suite.class) @Suite.SuiteClasses({ SimplePins.class, ShortSpares.class, ShortStrikes.class, Textual.class, NormalPlay.class, FinalFrameTest.class }) /** * Contenitore per tutti i test * * @author mim * */ public cl...
package com.next.infra.odata4; import java.util.List; import java.util.Map.Entry; import javax.persistence.EntityManager; import org.apache.olingo.commons.api.http.HttpMethod; import com.sap.olingo.jpa.metadata.core.edm.mapper.api.JPAAssociationPath; import com.sap.olingo.jpa.metadata.core.edm.mapper.api....
package com.xh.proxy; import com.xh.base.BaseProxyActivity; /** * @version 创建时间:2017-12-29 上午9:59:09 * 项目:repair * 包名:com.xh.proxy * 文件名:XhProxyActivity.java * 作者:lhl * 说明:代理类,在清单文件中需要注册 */ public class XhProxyActivity extends BaseProxyActivity { }
package com.Service; import java.util.List; import com.al.model.Quotation; import com.al.model.Vendor; public class TestingMain { public static void main(String[] args) { // QuotationService quotationService = new QuotationService(); // List<Quotation> allQuotationList = quotationService.getAllQuota...
package maksplo.study.myLinkedList; public class MyLinkedList<E> { private Element<E> last; private Element<E> first; private int count; public MyLinkedList() { last = new Element<E>(first, null, null); first = new Element<E>(null, null, last); } public void add(E e) { ...
package com.example.hackathonapp; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.TextView; import android.widget...
package prf.cloneUtil; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; public class CloneUtil {//深拷贝 @SuppressWarnings("unchecked") public static <T extends Seri...
package com.hellofresh.challenge.utils; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Properties; public class PropertyReader { private static Properties prop = new Properties(); private static String fileName = "src/test/resources/config.properties";...
package Jugador; import BaseDeDatos.Executes; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerJoinEvent; import org.bukkit.event.player.PlayerQuitEvent; /** * Created by pauit on 25/12/2016. */ public class DataLoad ...
package com.github.nik9000.nnfa.heap; import static com.github.nik9000.nnfa.heap.AcceptsMatcher.accepts; import static org.apache.lucene.util.TestUtil.randomRealisticUnicodeString; import static org.hamcrest.Matchers.not; import java.nio.charset.Charset; import java.util.Random; import org.apache.lucene.util.LuceneT...
package com.citibank.ods.modules.client.mrdocprvt.form; /** * Interface implementada nos forms MrDocPrvtHistListForm e MrDocPrvtHistDetailForm. * * @author michele.monteiro,24/04/2007 * */ public interface MrDocPrvtHistDetailable { /** * @return SelectedMrDocPrvt. Retorna o código do documen...
/* ~~ The Main is part of BusinessProfit. ~~ * * The BusinessProfit's classes and any part of the code * cannot be copied/distributed without * the permission of Sotiris Doudis * * Github - RiflemanSD - https://github.com/RiflemanSD * * Copyright © 2016 Sotiris Doudis | All rights reserved * ...
class Triangulo extends Masdisparejos{ public double Perimetrotriangulo(){ perimetro=lado1+lado2+lado3; return perimetro; } public double Areatriangulo(){ area=(lado1*altura)/2; return area; } }
package controller.payment; import boundary.CreditCardSociety; import model.User; import model.language.payment.PaymentLanguage; import model.payment.*; import view.PaymentForm; import javax.swing.*; import java.awt.*; /** * Created by davidemagnanimi on 06/09/16 at 12:57. */ public class PaymentController { p...
package android.support.v4.util; import android.support.annotation.RestrictTo; import android.support.annotation.RestrictTo.Scope; import java.io.PrintWriter; @RestrictTo({Scope.LIBRARY_GROUP}) public final class TimeUtils { @RestrictTo({Scope.LIBRARY_GROUP}) public static final int HUNDRED_DAY_FIELD_LEN = 19...