text
stringlengths
10
2.72M
package com.app.gamaacademy.cabrasdoagrest.bankline.config; import java.util.ArrayList; import java.util.List; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.Req...
package ch24.ex24_02; import java.util.Locale; import java.util.Currency; class CurrencyDisplay { public static void main(String[] args) { Locale[] locales = { Locale.US, Locale.CHINA, Locale.FRANCE, Locale.GERMANY, Locale.JAPAN, Locale.UK, }; Currency[] curre...
package com.espendwise.manta.i18n; import com.espendwise.manta.util.Constants; import com.espendwise.manta.util.IOUtility; import com.espendwise.manta.util.ResourceNames; import com.espendwise.manta.util.Utility; import com.espendwise.manta.util.alert.AppLocale; import com.espendwise.manta.util.alert.I18nResolvedOutpu...
package myproject; import java.util.Scanner; class NegativeinputException extends Exception { /** * */ private static final long serialVersionUID = 1L; NegativeinputException(String s){ super(s); } } public class AverageException { public static void main(String[] args) { int sum = 0,i; ...
package com.magit.logic.system.objects; import com.magit.logic.exceptions.IllegalPathException; import com.magit.logic.exceptions.PreviousCommitsLimitExceededException; import com.magit.logic.system.MagitEngine; import com.magit.logic.system.managers.RepositoryManager; import com.magit.logic.utils.file.FileHandler; im...
package com.tencent.mm.plugin.freewifi.model; import android.content.Intent; import android.net.wifi.WifiConfiguration; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import com.tencent.map.geolocation.TencentLocationListener; import com.tencent.mm.plugin.freewifi.g.c; import com.tencent.mm.plu...
package com.example.githubsample; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import com.android.volley.Request; import com.android.volley.RequestQueue; import com.android.volley.Response; import com.android.volley.VolleyError; imp...
import java.util.Collections; import java.util.Iterator; import java.util.LinkedList; import java.util.List; /** * Created by Iwan on 14.2.3. */ public class FairSquare { static char[] digits = "0123456789".toCharArray(); static List<Long> fairSquares; public static void main(String[] args) { ...
package com.zhonghuilv.shouyin.controller; import com.zhonghuilv.shouyin.common.BasicController; import com.zhonghuilv.shouyin.mapper.OrderBackMapper; import com.zhonghuilv.shouyin.pojo.OrderBack; import com.zhonghuilv.shouyin.result.ApiResult; import io.swagger.annotations.ApiOperation; import org.springframework.bea...
package com.ibm.training.bootcamp.rest.sample01.domain; public class ExpenseCategory { Long id; private String categoryName; public ExpenseCategory() { } public ExpenseCategory(String categoryName) { this(null, categoryName); } public ExpenseCategory(Long id, String categoryName) { this.id = id; ...
/** **************************************************************************** * Copyright (c) The Spray Project. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
package ua.lviv.lgs.application; import java.util.HashSet; import java.util.Set; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import ua.lviv.lgs.model.Cart; import ua.lviv.lgs.model.Item; public class Application { public static void main(String[] args...
/* * Copyright © 2019 The GWT Project 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
package boj; class member{ String name; int id; public member(){} public member(String name){ this.name =name; } public member(String name, int id) { this.name = name; this.id = id; } public void go() { System.out.println("go"); } public void go(int b, String x) { System.out.println("go"); ...
/* * Copyright 2002-2016 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * 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. */ /** * Josué Cifuentes 15275 * Pablo Muñoz 15258 * @author Josue */ public class Paciente implements Comparable<Paciente...
package com.smxknife.softmarket.usermgr; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication(scanBasePackages = "com.smxknife.softmarket") public class UserMgrBoot { public static void main(String[] args) { SpringApplicatio...
package system.enums; /** * @Author: mol * @Description: * @Date: create in 15:06 2018/3/26 */ public enum BuildAreaEnum { SCHOOL("school","学校"), AREA("area","地区"), ; private String type; private String desc; BuildAreaEnum(String type,String desc){ this.type = type; this....
package com.spring.domain; 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="sme_dealer_lender_loan_approval_file") public cl...
package org.iptc.extra.core.eql.tree.visitor; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.iptc.extra.core.daos.RulesDAO; import org.iptc.extra.core.eql.EQLParser; import org.iptc.extra.core.eql.tree.SyntaxTree; import org.iptc.extra.core.eql.tree.nodes...
/** * This class is generated by jOOQ */ package com.bolly.jooq.tables; import com.bolly.jooq.Bolly; import com.bolly.jooq.Keys; import com.bolly.jooq.tables.records.MovieActorRecord; import java.util.Arrays; import java.util.List; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.Foreign...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the ter...
package it.usi.xframe.xas.bfimpl.a2psms.providers.vodafonepop; import ie.omk.smpp.util.DefaultAlphabetEncoding; import ie.omk.smpp.util.GSMConstants; import ie.omk.smpp.util.PacketStatus; import it.usi.xframe.xas.bfimpl.a2psms.configuration.Originator; import it.usi.xframe.xas.bfimpl.a2psms.configuration.Provider; imp...
import tester.Tester; //Represents a boolean-valued question over values of type T interface IPred<T> { boolean apply(T t); } // predicate that tests of two strings are the same class SameString implements IPred<String> { String s; SameString(String s) { this.s = s; } public boolean apply(String that)...
/** */ package ConceptMapDSL; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; /** * <!-- begin-user-doc --> * The <b>Package</b> for the model. * It contains accessors for the meta objects to represent *...
package edu.temple.nearbyresearch; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import java.util.ArrayList; public class NearbyAdapter extends RecyclerView.Adapter<NearbyAdapter.ViewHold...
package zust.service.Impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import zust.dao.UserMapper; import zust.model.User; import zust.service.UserService; @Service public class UserServiceImpl implements UserService { @Autowired UserMapper us...
package edu.uci.ics.sdcl.firefly; import java.io.Serializable; import java.util.Vector; public class MethodSignature implements Serializable{ protected String Name; protected String Modifier; //Visibility protected Vector<MethodParameter> ParameterList; public MethodSignature(String name, String modifier...
package com.yuta.clocktime.adapter; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.CheckBo...
package com.cnk.travelogix.supplier.inventory.service; import com.cnk.travelogix.acco.inventory.core.model.AccoInventoryGridModel; import com.cnk.travelogix.accoinventory.core.model.AccoInventoryDefinitionModel; import com.cnk.travelogix.accoinventory.core.model.AccoInventoryDetailModel; import com.cnk.travelogix.acco...
/* * 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 twitteranalysis; import java.io.File; import java.util.HashMap; import org.junit.After; import org.junit.AfterClass; import or...
package com.elvarg.world.entity.impl.player; import java.io.File; import java.io.FileWriter; import java.nio.file.Path; import java.nio.file.Paths; import java.util.logging.Level; import com.elvarg.Elvarg; import com.elvarg.util.Misc; import com.elvarg.world.model.container.impl.Bank; import com.google.gson.Gson; imp...
package Pojos; // Generated Sep 19, 2015 12:30:29 PM by Hibernate Tools 4.3.1 import java.util.HashSet; import java.util.Set; /** * Laboratorio generated by hbm2java */ public class Laboratorio implements java.io.Serializable { private Integer idLaboratorio; private String nombreLaboratorio; pr...
package org.alienideology.jcord.event.guild.update; import org.alienideology.jcord.Identity; import org.alienideology.jcord.event.guild.GuildUpdateEvent; import org.alienideology.jcord.handle.guild.IGuild; /** * @author AlienIdeology */ public class GuildContentFilterUpdateEvent extends GuildUpdateEvent { priv...
/** * */ package com.shubhendu.javaworld.datastructures.arrays; /** * @author ssingh * */ public class MedianSortedArrays { public double findMedianSortedArrays(int[] nums1, int[] nums2) { int hi1 = nums1.length; int hi2 = nums2.length; return findMedianSortedArrays(nums1, nums2, 0, hi1 - 1, 0, hi2 - 1); ...
package net.smile.ssm.config; import org.springframework.web.WebApplicationInitializer; import org.springframework.web.context.ConfigurableWebApplicationContext; import org.springframework.web.context.support.AnnotationConfigWebApplicationContext; import org.springframework.web.filter.CharacterEncodingFilter; import o...
package ch13.ex13_06; public class QuoInsert { static String quoInsert(String number, int quo, String separator) { StringBuilder buf = new StringBuilder(number); //指定された桁ごとにループをまわす for (int point = buf.length() - quo; point > 0; point-= quo) { //セパレ...
package com.mideas.rpg.v2.command; public class Command { public void read() {} }
/* * Purpose:-Implementation of Eager initialization Singleton Pattern * * @Author:-Arpana Kumari * Version:-1.0 * @Since:-7 May, 2018 */ package com.bridgeit.creationalDesignPatterens; public class EagerInitialization { // Early, instance will be created at load time private static final EagerInitialization ...
package com.yauheni.ananchuk.service; import com.yauheni.ananchuk.domain.Per; import com.yauheni.ananchuk.domain.Room; import com.yauheni.ananchuk.repository.PerRepository; import org.bson.types.ObjectId; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; i...
package com.foodie.homeslice.entity; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Item { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long itemId; private String itemName; priv...
package com.netflix.governator; /** * Core governator features. Features are configured/enabled on {@link GovernatorConfiguration} * * @author elandau * @deprecated Functionality moved https://github.com/Netflix/karyon/tree/3.x */ @Deprecated public enum GovernatorFeatures implements GovernatorFeature { /**...
package com.realcom.helloambulance.util; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; public abstract class CommonDao<T> { @Autowired protected JdbcTemplate jdbcTemplate; public void setJdbcTemplate(JdbcTemplate jdbcTemplate) { th...
package com.bcgbcg.br.util; public class QnaPaging { public static String getPaging(String path, int nowPage, int recordPerPage, int totalRecord) { StringBuffer sb = new StringBuffer(); // nowPage : 현재 페이지 번호 // recordPerPage : 한 페이지에 표시할 레코드(회원, 게시글) 개수 // tota...
package com.pybeta.ui.widget; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.ImageButton; import android.widget.ImageView; import android.widget....
package com.demo.withdrawal.model; import java.math.BigDecimal; public class PendingOrder { private final Integer orderId; private final Tokens token; private final BigDecimal amount; public PendingOrder(Integer orderId, Tokens token, BigDecimal amount) { this.orderId = orderId; this.token = token; this....
package com.tencent.mm.plugin.bbom; import com.tencent.mm.bg.c; import com.tencent.mm.kernel.a.b.a; import com.tencent.mm.kernel.a.b.b; import com.tencent.mm.kernel.g; import com.tencent.mm.model.p; import com.tencent.mm.plugin.fts.a.n; public final class f extends p implements b { public f() { super(c.Un...
package exercise2; import static org.junit.Assert.*; import org.junit.Test; public class PalindromeTest { @Test public void test1() { assertEquals(false, StringUtility.isPalindrome("I am aliveevilam aI")); } @Test public void test2() { assertEquals(true, StringUtility.isPalindro...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the ter...
package lotto.step3.domain; import lotto.step3.domain.LottoNumber; import org.assertj.core.api.Assertions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; class LottoNumberTest { ...
package com.binary.mindset.tasklistmanagement.service; import com.binary.mindset.tasklistmanagement.model.Task; import java.util.List; public interface TaskService { List<Task> findAllByProject(Integer projectId); Task findByTaskIdAndProjectId(Integer taskId, Integer projectId); void deleteAllByProje...
package com.bingo.code.example.design.flyweight.nodesign; import java.util.*; /** * ��ȫ����ʵ�ֳɵ��� */ public class SecurityMgr { private static SecurityMgr securityMgr = new SecurityMgr(); private SecurityMgr(){ } public static SecurityMgr getInstance(){ return securityMgr; } /** * �������ڼ䣬������ŵ�¼��Ա...
package com.tencent.mm.plugin.luckymoney.ui; import com.tencent.mm.plugin.luckymoney.b.i; import com.tencent.mm.plugin.luckymoney.ui.LuckyMoneyMyRecordUI.4; import com.tencent.mm.ui.base.h.c; class LuckyMoneyMyRecordUI$4$1 implements c { final /* synthetic */ int kVN; final /* synthetic */ 4 kVO; LuckyMo...
package cn.ehanmy.hospital.mvp.model.entity.member_info; import java.io.Serializable; public class MemberMiniInfoBean implements Serializable { private String memberId; private String userName; private String nickName; private String mobile; private String headImage; @Override public Stri...
/** * com.takshine.jf.controller.LoginController.java * COPYRIGHT © 2014 TAKSHINE.com Inc.,ALL RIGHTS RESERVED. * 北京德成鸿业咨询服务有限公司版权所有. */ package com.takshine.wxcrm.controller; import java.util.ArrayList; import java.util.Calendar; import java.util.HashMap; import java.util.List; import java.util.Locale; import ja...
package com.puxtech.reuters.offset; import com.puxtech.reuters.rfa.Common.ConfigNode; import com.puxtech.reuters.rfa.Common.Configuration; import com.puxtech.reuters.rfa.Common.SubNode; import com.puxtech.reuters.rfa.utility.CommonAdjust; import java.util.ArrayList; import java.util.Calendar; import java.util....
package br.eti.ns.nssuite.requisicoes.nfe; import br.eti.ns.nssuite.requisicoes._genericos.DownloadEventoReq; public class DownloadEventoReqNFe extends DownloadEventoReq { public String chNFe; }
package jsettlers.logic.movable.civilian; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import jsettlers.algorithms.simplebehaviortree.BehaviorTreeHelper; import jsettlers.algorithms.simplebehaviortree.Node; import jsettlers.algorithms.simplebehaviortree.Root; import...
/** * Created by Michael on 7/23/2015. */ public class FileStructureTable { }
package org.zqu.yiban.schedule.model.json; /** * Created by zqh on 2017/7/18. */ public class AuthorizeBaseResponse { /** * visit_time : 访问unix时间戳 * visit_user : {"userid":"易班用户ID"} * visit_oauth : false */ private int visit_time; public int getVisit_time() { return visit_t...
package com.tencent.mm.plugin.profile.ui; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListener; class ContactMoreInfoUI$1 implements OnMenuItemClickListener { final /* synthetic */ ContactMoreInfoUI lVo; ContactMoreInfoUI$1(ContactMoreInfoUI contactMoreInfoUI) { this.lVo...
package hirondelle.web4j.model; import hirondelle.web4j.model.Id; import hirondelle.web4j.model.ModelCtorException; import hirondelle.web4j.model.ModelUtil; import hirondelle.web4j.model.Check; import hirondelle.web4j.security.SafeText; import java.io.IOException; import java.io.ObjectInputStream; import ja...
package design.pattern.project.example.store.domain; /* * The Custome object which is associated to shopping cart * Also it acts as observer for any sales happening at the mall */ import design.pattern.project.example.store.observer.NotifySalesObserver; public class Customer extends NotifySalesObserver...
package com.cs4125.bookingapp.repositories; import android.os.Build; import androidx.annotation.RequiresApi; import com.cs4125.bookingapp.entities.Booking; import com.cs4125.bookingapp.entities.Route; import java.io.Serializable; import java.util.Calendar; import java.util.Date; import java.util.concurrent.Concurre...
package br.edu.ifam.saf.api.data; import java.util.Arrays; import java.util.List; import br.edu.ifam.saf.api.dto.ItemDTO; public class ItensResponse { private List<ItemDTO> items; public ItensResponse(List<ItemDTO> items) { this.items = items; } public ItensResponse(ItemDTO... itens) { ...
package com.qunchuang.carmall.graphql.security; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.security.core.Authentication; import org.springframework.security.web.authentication.S...
package test; import Dominio.*; public class Test { public static void main(String[] args) { Empleado e = new EmpleadoAsalariado(700); imprimirLiquidacion(e); Empleado eh = new EmpladoPorHora(100, 150, 39); imprimirLiquidacion(eh); } ...
package com.qd.mystudy.jartest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Created by liqingdong911 on 2015/1/5. */ public class LogUsage { // private final static Logger lbLogger = LoggerFactory.getLogger(LogUsage.class); public static void info(){ // lbLogger.info("i...
/* * WelcomeController.java * * Copyright (C) 2017 Universidad de Sevilla * * The use of this project is hereby constrained to the conditions of the * TDG Licence, a copy of which you may download from * http://www.tdg-seville.info/License.html */ package controllers; import java.text.SimpleDateFormat; impo...
package com.pangpang6.books.pattern.bridgems.bridge; import com.pangpang6.books.pattern.bridgems.control.LGControl; import com.pangpang6.books.pattern.bridgems.control.SharpControl; import com.pangpang6.books.pattern.bridgems.control.SonyControl; /** * 桥接模式:将实现与抽象放在两个不同的类层次中,使两个层次可以独立改变 * 目的:分离抽象与实现,使抽象和...
package edu.ssafy.root.dao; import java.util.ArrayList; import java.util.List; import org.apache.ibatis.session.SqlSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import edu.ssafy.root.food.Food; import edu.ssafy.root.food.Nutrient; @Reposito...
package pt.ist.sonet.service; import java.util.ArrayList; import java.util.List; import jvstm.Atomic; import pt.ist.fenixframework.FenixFramework; import pt.ist.sonet.domain.*; import pt.ist.sonet.exception.*; import pt.ist.sonet.service.dto.*; public class GetOrganizationFriendsService extends SonetService { priv...
package com.tencent.mm.plugin.fingerprint.b; import com.tencent.mm.g.a.lg; import com.tencent.mm.kernel.g; import com.tencent.mm.plugin.fingerprint.a; import com.tencent.mm.pluginsdk.wallet.k; import com.tencent.mm.sdk.b.b; import com.tencent.mm.sdk.b.c; import com.tencent.mm.sdk.platformtools.x; public final class i...
package com.espendwise.manta.web.controllers; import com.espendwise.manta.model.view.AccountListView; import com.espendwise.manta.model.view.SiteListView; import com.espendwise.manta.service.SiteService; import com.espendwise.manta.spi.AutoClean; import com.espendwise.manta.util.Constants; import com.espendwise.manta....
// Sun Certified Java Programmer // Chapter 7, 543_2 // Generics and Collections public class BobTest { public static void main(String[] args) { Bob f = new Bob("GoBobGo", 19); System.out.println(f); } }
package fr.umlv.escape.editor; import fr.umlv.escape.R; import fr.umlv.escape.game.Level; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.EditText; import android.widget.Spinner; impor...
package my_package; import org.junit.AfterClass; import org.junit.BeforeClass; import static org.junit.Assert.*; /** * Created by lapte on 28.06.2016. */ public class MyCalculatorTest { @BeforeClass public static void messageStart(){ System.out.println("Start of the TestClass"); } @AfterCl...
package com.cnk.travelogix.custom.mappingtable.maintain; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for FindMappingTableResponse complex type. * ...
package org.android.olp.foursquare.db; import java.util.List; import org.json.JSONObject; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.util.Log; public class D...
package org.nishkarma.book.restful; import static java.util.Collections.singletonList; import java.net.URI; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.PUT;...
package org.kiirun.adventofcode.day5; import com.google.common.collect.ContiguousSet; import com.google.common.collect.DiscreteDomain; import com.google.common.collect.Sets; import com.google.common.primitives.Chars; import reactor.core.publisher.Flux; import java.util.List; import java.util.Set; import java.util.fun...
package com.rofour.baseball.controller.model; /** * @ClassName: SelectModel * @Description: 下拉返回对象 * @author cy * @date * */ public class SelectModel { private String id; private String text; public SelectModel() { } public SelectModel(String id,String text) { this.id = id; this.text = text; } public ja...
package com.tencent.mm.plugin.webview.fts; import com.tencent.mm.ab.b; import com.tencent.mm.ab.b.a; import com.tencent.mm.ab.l; import com.tencent.mm.network.k; import com.tencent.mm.network.q; import com.tencent.mm.plugin.websearch.api.p; import com.tencent.mm.protocal.c.aqs; import com.tencent.mm.protocal.c.cda; im...
package com.he.loader; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.CharBuffer; public final class LoadScriptSample { private static final long epoch_start = System.currentTimeMillis() * 1000L - System.nanoTime() / 1000L; public final boolean cacheAccepted; public fina...
package com.root.mssm.List.List.suggestionlist; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class SearchChild { @SerializedName("child_name") @Expose private String childName; @SerializedName("photo") @Expose private String photo; ...
import java.util.Scanner; public class VotingRight{ public static void main(String[] args){ Scanner myScan = new Scanner(System.in); //initializes myScan System.out.print("How old are you? "); int usersAge = myScan.nextInt(); int yearsLeft = 18-usersAge; String years; if(usersAge < 18){ if(yea...
/* * 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 wickersoft.root.command; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Location; import o...
package restricao; import java.util.ArrayList; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.OneToMany; import javax.persistence.Table; ...
package com.youthchina.domain.Qinghong; import java.sql.Timestamp; import java.util.Date; public class SubInfo { private Integer sub_id; private String sub_course; private String sub_honor; private String sub_award; private String sub_skill; private String sub_foreign; private String sub_i...
package com.jim.multipos.data.operations; import com.jim.multipos.data.db.model.products.Category; import java.util.List; import io.reactivex.Observable; import io.reactivex.Single; /** * Created by DEV on 16.08.2017. */ public interface CategoryOperations { Observable<Long> addCategory(Category category); ...
package com.codepath.apps.restclienttemplate.activities; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.ActionBarActivity; import android.view.Menu; import android.view.MenuItem; import android.widget.ImageView; import android.widget.TextView; import com.cod...
package com.pybeta.daymatter.ui; import java.util.ArrayList; import java.util.Collections; import java.util.List; import com.actionbarsherlock.view.Menu; import com.actionbarsherlock.view.MenuItem; import com.pybeta.daymatter.DayMatter; import com.pybeta.daymatter.IContants; import com.pybeta.daymatter.R; ...
import java.rmi.RemoteException; import java.rmi.server.UnicastRemoteObject; public class Server { } class Company extends UnicastRemoteObject { protected Company() throws RemoteException { super(); } }
package edu.john.test; public class Test { public static void main(String[] args) { int[][] scores = { { 82, 90, 91 }, { 68, 72, 64 }, { 95, 91, 89 }, { 67, 52, 60 }, { 79, 81, 85 }, }; // TODO 二维数组求平均数 ...
package com.example.healthmanage.ui.activity.healthreport.ui; import android.os.Bundle; import android.view.View; import androidx.lifecycle.Observer; import com.blankj.utilcode.util.StringUtils; import com.example.healthmanage.BR; import com.example.healthmanage.R; import com.example.healthmanage.base.BaseActivity; ...
/* * Copyright (C) 2015 Miquel Sas * * 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 License, or (at your option) any later * version. * * This program is d...
package net.minecraft.inventory; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumFacing; public interface ISidedInventory extends IInventory { int[] getSlotsForFace(EnumFacing paramEnumFacing); boolean canInsertItem(int paramInt, ItemStack paramItemStack, EnumFacing paramEnumFacing); bo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.inftel.scrum.model; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; import javax.persistence.*; import javax.validation.constraints.NotNull; import javax.validatio...
package com.hesoyam.pharmacy.pharmacy.dto; import com.hesoyam.pharmacy.util.report.ReportResult; import java.util.List; public class SalesDTO { private List<String> labels; private List<Double> results; public SalesDTO(ReportResult reportResult){ labels = reportResult.getLabels(); result...
package com.omaraly.photoweatherapp.Activities; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import androidx.appcompat.app.AppCompatActivity; import androidx.databinding.DataBindingUtil; import com.omaraly.photoweatherapp.R; import com.omaraly.photoweatherapp.SharedPreferences.Co...