text
stringlengths
10
2.72M
package com.example.demo.model; import java.io.Serializable; import org.springframework.data.annotation.Id; import org.springframework.security.core.GrantedAuthority; public class Authority implements GrantedAuthority,Serializable { @Id() private Integer authorityId; private String authority; private static f...
/**************************************************** * $Project: DinoAge * $Date:: Jun 23, 2009 * $Revision: * $Author:: khoanguyen * $Comment:: **************************************************/ package org.ddth.dinoage.core; /** * @author khoanguyen * */ public class WorkspaceChangeEvent { ...
package com.yfancy.app.log; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.support.ClassPathXmlApplicationContext; public class Main_App_Log { private final static Logger log = LoggerFactory.getLogger(Main_App_Log.class); public static void main( String[] args ){...
package com.feelyou.service; public class MusicService { }
/* LeetCode Problem 102 Binary Tree Level Order Traversal Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree [3,9,20,null,null,15,7], 3 / \ 9 20 / \ 15 7 return its level order traversal as: [ [3]...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package pl.coderslab.services; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import pl.coderslab.dal.repositories.LocationRepo; import pl.coderslab.domain.location.Location; import pl.coders...
package com.quizcore.quizapp.model.network.response.master; import java.util.UUID; public class CategoryResponse { private UUID productkey; private String categoryname; private UUID categoryId; public UUID getProductkey() { return productkey; } public void setProductkey(UUID product...
package fr.lteconsulting.exception; public class DAOException extends Exception { public DAOException( String message ) { this( message, null ); } public DAOException( String message, Throwable throwable ) { super( message, throwable ); } }
public enum MyEnumm { PROTOCOL((String)"http"), ROOT((String)"sandy.atr.local"); private MyEnumm(String val) { this.val = val; } private String val; public String getVal() { return this.val; } }
package com.box.androidsdk.content.models; import android.text.TextUtils; import com.eclipsesource.json.JsonObject; import java.util.Date; import java.util.Locale; /** * Class that represents a collaboration on Box. */ public class BoxCollaboration extends BoxEntity { private static final long serialVersionUI...
package org.bardibardi.guice; import com.google.inject.Injector; /** * Get a Guice Injector * * @author Bardi Einarsson, bardibardi.org * */ public interface IInjectorFactory { /** * Get a Guice Injector * * @return Injector, a Guice Injector */ public Injector getInjector(); }
package com.kodilla.good.patterns.challenges; import java.time.LocalDateTime; public class OrderDbMySql implements OrderRepository { public boolean createOrder(User user, LocalDateTime orderDate) { System.out.println("Order made by " + user + " on " + orderDate + " has been stored."); return true;...
package com.example.zealience.oneiromancy.ui.fragment; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.recyclerview.widget.DividerItemDecoration; import androidx.recyclerview.widget.LinearLayoutManager; import android.view.LayoutInflater; import andro...
package com.wellhope.dubbouserservice; import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication @EnableDubbo @Ma...
package com.zznode.opentnms.isearch.model.bo; public class ODU0 extends ODU{ private static final long serialVersionUID = 8336332184907258020L; private DSR dsr ; public void assignOchSncid(String ochsncobjectid){ this.setOchSncid(ochsncobjectid); if(dsr!=null){ dsr.assignOchSncid(ochsncobjectid); } ...
/* * 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 Hilo; import archivos.LeerDistricto; import controlador.ContraladorH; import java.io.File; import java.io.FileNotFound...
package com.fro.wifi_rfidcase; public class Constant { //IP地址 public static String IP="192.168.0.109"; //端口 public static int port=4001; public static String CARD_ID="5A EF C6 04"; public static String AREA_DATA="00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00";//17位 //寻卡 public static final String FIN...
package com.tencent.mm.view.a; import android.graphics.Bitmap; import com.tencent.mm.a.e; import com.tencent.mm.ak.a.c.l; import com.tencent.mm.plugin.gif.g; class c$3 implements l { final /* synthetic */ c uTM; c$3(c cVar) { this.uTM = cVar; } public final Bitmap K(byte[] bArr) { re...
package com.tiandi.logistics.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.tiandi.logistics.entity.front.CompanyFront; import com.tiandi.logistics.entity.pojo.Company; /** * <p> * 公司管理 Mapper 接口 * </p> * * @author TP ...
package com.yuecheng.yue.widget.picloadlib.view; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.view.PagerAdapter; import android.support.v4.vie...
/* * (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP * * 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 requi...
package sevenkyu.oddoreven; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.assertj.core.api.AssertionsForClassTypes.assertThat; class OddOrEvenTest { OddOrEven oddOrEven; @BeforeEach public void init() { oddOrEven = new OddOrEven(); } @Test...
package com.gikk.util; /** * * @author Gikkman */ public class StackTrace { /** * Prints a message, and appends a stack trace link. * <p> * This will allow the user to click a link in the IDE to go directly to the * stack trace position. * * @param message The message to print ...
package com.tencent.mm.modelvoiceaddr; import android.os.Message; import com.tencent.mm.kernel.g; import com.tencent.mm.plugin.appbrand.jsapi.a.b; import com.tencent.mm.sdk.platformtools.ag; import com.tencent.mm.sdk.platformtools.x; class e$2 extends ag { final /* synthetic */ e eqC; e$2(e eVar) { t...
public class testGit_1 { public static void main(String[] args) { System.out.println("test git 1"); System.out.println("test git commit - 2"); System.out.println("test git commit - 3"); System.out.println("test git commit - 4"); } }
package com.basic.dao.impl; import com.basic.db.FBos; import com.basic.entity.Bos; import com.global.util.Err; import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx; import com.orientechnologies.orient.core.record.impl.ODocument; import org.basic.dao.abst.DaoAbstract; import java.util.Ra...
public class Coins { private static int[] COINS_NOM = {1, 5, 10, 25, 50}; public static int getCountOfWays(int money) { return getCountOfWays(money, 4); } /** * КАК ДО ТАКОГО ДОДУМАТЬСЯ??? */ private static int getCountOfWays(int money, int indexOfCoin) { if (money < 0 ||...
package hyghlander.mods.ports.DragonScales.common.items; import net.minecraft.client.model.ModelBiped; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLiving; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.play...
package company; import Parts.OS; import Parts.PartStruct; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import java.math.RoundingMode; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.List; public class Lenovo { ...
package com.daw.club.services; import java.util.Set; /** Service interface for managing user credentials and authentication * * @author jrbalsas */ public interface ClubAuthService { boolean authUser(String username, String password); Set<String> getRoles(String username); String encrypt...
package Exercises527; import java.util.Scanner; public class FindZero { public static void main(String[] args) { //输入数字n Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); if (n >= 1 && n <= 1000) { //求n! double num = fac(n); //...
package de.jmda.gen; import de.jmda.core.util.StringUtil; public class LineIndenter { public final static LineIndenter TAB_SINGLE = new LineIndenter("\t", 1); public final static LineIndenter TAB_DOUBLE = new LineIndenter("\t", 2); public final static LineIndenter TAB_TRIPLE = new LineIndenter("\t", 3); /** * ...
/** * Solutii Ecommerce, Automatizare, Validare si Analiza | Seava.ro * Copyright: 2013 Nan21 Electronics SRL. All rights reserved. * Use is subject to license terms. */ package seava.ad.presenter.impl.system.model; import seava.ad.domain.impl.system.TargetRule; import seava.j4e.api.annotation.Ds; import seava.j4e...
package org.rebioma.client.gxt3.treegrid; import com.google.gwt.user.client.Event; import com.sencha.gxt.widget.core.client.tree.Tree.TreeNode; public interface CheckBoxTreeGridListener<M> { /** * * @param event */ void onTreeNodeStatisticIconClick(Event event, TreeNode<M> node); /** * ...
/** * */ package com.cnk.travelogix.communication.strategies; import com.cnk.travelogix.communication.model.cms2.pages.CommunicationTemplateModel; /** * @author I319924 * */ public interface CloneCommunicationTemplateStrategy { CommunicationTemplateModel clone(final CommunicationTemplateModel original); }
/* * #%L * Organisation: diozero * Project: diozero - IMU device classes * Filename: MPU6050.java * * This file is part of the diozero project. More information about this project * can be found at https://www.diozero.com/. * %% * Copyright (C) 2016 - 2023 diozero * %% * Permission is hereby grante...
package com.rc.portal.service.impl; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.rc.portal.dao.OpenSqlDAO; import com.rc.portal.dao.TGoodsDAO; import com.rc.portal.dao.TGoodsExtendDAO; import com.rc.portal.dao.TGoodsImagesD...
package com.dais.mapper; import com.dais.model.CoinTradeRankHour; import com.dais.model.CoinTradeRankHourExample; import org.apache.ibatis.annotations.Param; import java.util.List; public interface CoinTradeRankHourMapper { int countByExample(CoinTradeRankHourExample example); int deleteByExample(CoinTradeR...
package Bars; import java.awt.Color; import GameObjects.GameObject; public class CollectingBar extends Bar { public CollectingBar(long maxValue) { super(maxValue, 0); } @Override public void performEmptyAction(GameObject gameObj) { // TODO Auto-generated method stub } @Override public Color getColor...
package com.example; import org.springframework.stereotype.Service; import org.springframework.web.client.RestTemplate; /** * Created by trainer8 on 4/26/17. */ @Service public class UsersService { private final UsersServiceConfig config; private final RestTemplate restTemplate = new RestTemplate(); pu...
package com.maianfcnative; import android.os.Bundle; import android.content.Intent; import android.app.Activity; import android.nfc.NdefMessage; import android.nfc.NdefRecord; import android.nfc.NfcAdapter; import android.os.Parcelable; import android.util.Log; import javax.annotation.Nullable; import com.facebook....
package nl.pvanassen.highchart.api; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlTransient; import javax.xml.bind.annotation.XmlType; import nl.pvanassen.highchart.api.base.BaseObject; import nl.pvanassen.highchart.api.la...
package com.Oovever.esayTool.io; import com.Oovever.esayTool.util.StringUtil; import org.junit.Test; import java.io.File; import static org.junit.Assert.*; /** * @author OovEver * 2018/6/8 17:01 */ public class FileUtilTest { @Test public void touch() { String path = "D:\\tmp\\generator-result\\...
import java.util.*; public class MinConflicts { private static int no_of_states = 0; private static int no_of_restarts = 0; private static int size = 0; private static int[] conflicts; //no of conflicts private static int heuristics(int col, int row, int[] arr){ return noOfDiaCollisions(col,row,ar...
package com.peng.pp_app_sdk.utils; import android.content.Context; import android.content.SharedPreferences; import java.io.File; /** * Created on 2015/12/7 0007. * Author wangpengpeng * Email 1678173987@qq.com * Description */ public class GuidePageUtils { /** * 判断用户是否是第一次进入 */ public stati...
package org.openhab.support.knx2openhab; public class ThingExtractorException extends RuntimeException { /** * */ private static final long serialVersionUID = -3677469994400752075L; public ThingExtractorException(final String message, final Throwable cause) { super(message, cause);...
package com.fixit.general; import android.content.Context; import android.os.Handler; import android.os.Looper; import com.fixit.config.AppConfig; import com.fixit.data.JobLocation; import com.fixit.data.MutableLatLng; import com.fixit.data.Profession; import com.fixit.data.Tradesman; import com.fixit.rest.APIError; ...
package oop.ex6.component.variable; import oop.ex6.fileanalyzer.BadLineFormatException; /** * Exception of a bad variable declaration. */ public class VariableDeclarationException extends BadLineFormatException { /** prevents annoying warning */ private static final long serialVersionUID = 1L; }
/* * 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 hojadetrabajo8; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; im...
package com.blood.view; import com.blood.view.blood.*; import com.blood.view.Buyer.*; import com.blood.view.Seller.*; import com.blood.view.sell.*; import com.blood.view.buy.*; import javax.swing.JInternalFrame; import com.blood.view.help.About; import java.awt.Toolkit; /** * * @author Shishir */ public class Home...
package com.tencent.mm.plugin.fav.a; public interface o { void Bp(String str); void Bq(String str); void c(c cVar); void eN(boolean z); void pauseDownload(String str); void run(); }
package edu.neumont.learnignChess.model; import java.util.Enumeration; import edu.neumont.learningChess.api.Location; public class Rook extends ChessPiece { public static final String NAME = "Rook"; private static final int WORTH = 5; public Rook() { super(WORTH); } public String getName() { return NAM...
package bobing.backend.model; import org.springframework.data.jpa.domain.support.AuditingEntityListener; import javax.persistence.Entity; import javax.persistence.EntityListeners; import javax.persistence.Table; /** * 博饼结果的点数集合 */ @Entity @Table @EntityListeners(AuditingEntityListener.class) public class DianShu e...
package Bomberman; import javax.swing.*; import java.awt.*; public class Scene extends JPanel { @Override protected void paintComponent(Graphics g) { //we check if we have the data to print the map if(Main.game!=null && Main.game.getMap()!=null && Main.game.getMap().isMapGenerated()) ...
package importDataInfo; /** * Created by csw on 2016/10/20 9:21. * Explain: */ public class AreaRestTaskInfo { private String areaNo; //箱区号 private Integer restTaskNumber; //箱区还能作业多少任务数 public String getAreaNo() { return areaNo; } public void setAreaNo(String areaNo) { this.ar...
package net.razorvine.pyro.test; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import net.razorvine.pyro.Message; import org.junit.Test; import static org.junit.Assert.*; /** * Unit tests for the Pyro message. Doesn't set HMAC. * * @author Irmen de Jong (irmen@ra...
/** * */ package com.s2rltx.jeudepoker.model; /** * @author Stéphanie * */ public class Carreau implements Family{ // pour representer les cartes de la famille Carreau @Override public String getRepresentation() { StringBuilder card = new StringBuilder(); card.append(" _____ "); card.append("\n"); ca...
/* * 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 lab4_2; import java.text.SimpleDateFormat; import java.util.Date; /** * * @author Admin */ public class Xdate { privat...
package syncAlgorithm; /* Operation have types: * Type 1: Download from source remote * Type 2: Upload The file under certain folder * Type 3: Delete temporary file on local * Type 4: Delete Target file on remote * Type 5: Create a folder */ public class Operation { private int type; private FileEntry targetE...
package com.zhang.order.client; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import vo.ResponseVO; @FeignClient("productapi") public interface ProductApiFeign { @GetMapping("/product/list") public ResponseVO queryProductList(); }
package tec.mf.handler; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.LambdaLogger; import org.junit.Test; import tec.mf.handler.io.ImageHandlerResponseWriter; import tec.mf.handler.io.ImageRequest; import tec.mf.handler.io.ImageRequestParser; import tec.mf.handler....
package com.octo.repository; import com.octo.domain.video.Video; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; public interface VideoRepository extends JpaRepository<Video, String>, JpaSpecificationExecutor<Video> { }
import java.util.*; class EditDistance { // public static void OutputAlignment(int i, int j, int[][] d,String s, String t) { // if (i == 0 && j == 0) return; // int diff; // if(s.charAt(i-1) == t.charAt(j-1)){ // diff = 0; // } else { // diff = 1; // } // if(i > 0 && d[i][j] == d[...
package OrientacaoObjetos.Metodos; public class ConstructorAtributos { //esses são atributos, assim como mótodos, as variáveis também podem ser definidas com public, private, //default e protected, funcionando da mesma forma que nos métodos private String textoSemStatic = "Testando"; private static String textoCo...
package com.cg.hcs.dao; import com.cg.hcs.entity.Users; import java.time.LocalDateTime; import com.cg.hcs.entity.DiagnosticCenter; import com.cg.hcs.entity.Test; import com.cg.hcs.entity.Users; public interface IUserDAO { public String register(Users user); public boolean validateUser(String us...
package hu.thom.letsencrypt; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * Servlet im...
/* * FileName: AbstractCommandNode.java * Description: * Company: 南宁超创信息工程有限公司 * Copyright: ChaoChuang (c) 2006 * History: 2006-1-8 (guig) 1.0 Create */ package com.spower.excel.engine.parse; /** * @author guig * @version 1.0 2006-1-8 */ public abstract class AbstractCommandNode...
/** * ************************************************************************ * Copyright (C) 2010 Atlas of Living Australia All Rights Reserved. * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with the * Licens...
package checkers; public class BoardNotifyTimeLimiter extends Thread{ CheckersClient player; Move newMove = null; int isFinished = 0; int hasException = 0; Thread waiter; public BoardNotifyTimeLimiter(CheckersClient client, Move newMove, Thread waiter){ this.newMove = newMove; player = client; ...
/* * Copyright (C) 2022-2023 Hedera Hashgraph, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package org.inftel.socialwind.shared.domain; import com.google.web.bindery.requestfactory.shared.EntityProxy; import com.google.web.bindery.requestfactory.shared.EntityProxyId; import com.google.web.bindery.requestfactory.shared.ProxyForName; /** * * @author ibaca * */ @ProxyForName(value = "org.inft...
package LeetCode.Trees; public class FlipEquivalentBinaryTrees { public boolean flipEqiv(TreeNode root1, TreeNode root2 ){ if(root1 == null && root2 == null) return true; if(root1 == null || root2 == null || root1.val != root2.val) return false; return ((flipEqiv(root1.right, root2.right) &&...
package com.tencent.mm.plugin.appbrand.jsapi; import android.animation.ObjectAnimator; import com.tencent.mm.plugin.appbrand.l; import com.tencent.mm.plugin.appbrand.page.e; import com.tencent.mm.plugin.appbrand.widget.c; import com.tencent.mm.plugin.appbrand.widget.c.5; import org.json.JSONObject; public final class...
package com.sunteam.library.parse; import org.json.JSONObject; import com.sunteam.library.entity.CollectResourceEntity; import com.sunteam.library.utils.LogUtils; //添加收藏资源 public class AddCollectResourceParseResponse extends AbsParseResponse { public static final String TAG = "AddCollectResourceParseResponse"; @...
package edu.floridapoly.polycamsportal.schedule; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import edu.floridapoly.polycamsportal.util.TimeUtils; import org.joda.time.LocalDate; import java.util.List; import java.util.Objects; public class CourseSection ...
package cc.before30.fpij.types; import java.util.Objects; import java.util.function.Function; /** * User: before30 * Date: 2017. 9. 8. * Time: PM 3:26 */ @FunctionalInterface public interface Function5<T1, T2, T3, T4, T5, R> { R apply(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5); default Function4<T2, T3, T4, T5, R> c...
package ctci.ArraysAndStrings; /** * Created by joetomjob on 7/27/19. */ public class URLify { public static void main(String[] args) { String ss = "asdasd asdsad as "; String s = urlify(ss, 16); System.out.println(s); } public static String urlify(String s, int n){ Stri...
package web; import java.io.IOException; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class LoginServlet extends HttpServlet{ //tomact创建Servlet的逻辑...
package com.cg.project.castleglobalproject.base.network.base.impl; import com.cg.project.castleglobalproject.base.network.base.IPostClient; import com.cg.project.castleglobalproject.base.network.base.Method; import com.cg.project.castleglobalproject.base.network.base.NetworkClient; import com.cg.project.castleglobalpr...
/* 1: */ package com.kaldin.test.executetest.action; /* 2: */ /* 3: */ import com.kaldin.test.executetest.common.UtilTest; /* 4: */ import java.util.ArrayList; /* 5: */ import javax.servlet.http.HttpServletRequest; /* 6: */ import javax.servlet.http.HttpServletResponse; /* 7: */ import javax...
package dao; import model.User; import util.Db_util; import java.sql.Connection; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.SQLException; /** * Created by Pc on 02.07.2017. */ public class UserDao { private static Connection connection; public UserDao() { connection =...
package com.lxy.staticimport; import static java.lang.System.out; import org.junit.Test; /** * 静态导入 * @author 15072 * */ public class StaticTest { @Test public void run() { out.print("haha"); } }
package com.ranz.config; import com.baomidou.mybatisplus.extension.plugins.OptimisticLockerInterceptor; import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; import com.baomidou.mybatisplus.extension.plugins.pagination.optimize.JsqlParserCountOptimize; import org.apache.ibatis.annotations.Mapper; im...
package com.adastrafork.numbersandletters.converters.en; import com.adastrafork.numbersandletters.generated.antlr4.EnglishNumeralsBaseVisitor; import com.adastrafork.numbersandletters.generated.antlr4.EnglishNumeralsParser; import org.antlr.v4.runtime.ParserRuleContext; /** * Class to visit the nodes of the tree w...
package com.mes.old.meta; // Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final /** * BPartWarehouseId generated by hbm2java */ public class BPartWarehouseId implements java.io.Serializable { private String warehouseid; private String partNumber; public BPartWarehouseId() { } public BPartWarehouseId(...
package com.avalara.avatax.services.base; import com.avalara.avatax.services.base.wss.Password; import com.avalara.avatax.services.base.wss.SecurityHeader; import com.avalara.avatax.services.base.wss.UsernameToken; import org.apache.axis.message.SOAPHeaderElement; import javax.xml.soap.SOAPException; /** * * Base ...
package com.vetroumova.sixjars.ui.fragments; import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.InputType; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditTex...
package com.yunussandikci.GithubImporter.Models.Response; public class ImportUserRepositoriesResponse extends BaseResponse { public ImportUserRepositoriesResponse(Integer importedRepositoryCount,String message){ this.importedRepositoryCount = importedRepositoryCount; this.setMessage(message); ...
package capitulo07; public class Exercicio703 { public static void main(String[] args) { final int ARRAY_SIZE = 10; double[] fractions = new double[ARRAY_SIZE]; fractions[9] = 1.667; fractions[6] = 3.333; double total = 0; for (int j = 0; j < fractions.length; j++) { total += fractions[j]; Syste...
package com.heartmarket.model.dao; import org.springframework.data.domain.Pageable; import java.util.List; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.springframework.data.jpa.domain.Specification; import org.springframework.data.jpa.repository.JpaReposi...
package pooproject.servico; import java.util.Vector; import pooproject.exception.*; import pooproject.usuario.*; public class Repositorio implements IRepositorio{ protected Vector<Perfil> usersvector= new <Perfil>Vector(); @Override //Resposável por cadastrar usuário no vetor; public void cadastrar(Perfil usuario)t...
package com.tencent.mm.modelvoiceaddr.ui; import android.media.MediaPlayer; import android.media.MediaPlayer.OnCompletionListener; class VoiceSearchLayout$2 implements OnCompletionListener { final /* synthetic */ VoiceSearchLayout erE; final /* synthetic */ a erF = null; VoiceSearchLayout$2(VoiceSearchLa...
import java.util.Scanner; public class Hangman { private static void setGame(Scanner sc, CommandOpts opts) { boolean correct; GameState state; if (opts.wordSource.equals("")) { System.out.println(" 1. Counties"); System.out.println(" 2. Countries"); ...
/* * 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 View; import javax.swing.table.DefaultTableModel; import javax.swing.JOptionPane; import Model.*; /** * * @author Lapankha ...
package com.github.agmcc.slate.bytecode; import static com.github.agmcc.slate.test.FileUtils.readResourceAsString; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import com.github.agmc...
package helloworld; import java.util.Scanner; public class gugudan { public static void main(String[] args) { int j; System.out.println("구구단 중 출력할 단은?:"); Scanner scanner = new Scanner(System.in); int number =scanner.nextInt(); for(j=1; j<10; j++) System.out.println(number + "*" + j + "=" +...
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
package com.yinghai.a24divine_user.wxapi.wechatLogin; import android.app.Activity; import android.os.Bundle; import com.tencent.mm.opensdk.modelbase.BaseReq; import com.tencent.mm.opensdk.modelbase.BaseResp; import com.tencent.mm.opensdk.openapi.IWXAPIEventHandler; /** * Created by chenjianrun on 2017/5/4. */ pub...
package com.yeahbunny.stranger.server.controller.dto.request; import java.util.Calendar; import javax.validation.constraints.NotNull; import org.hibernate.validator.constraints.NotBlank; import org.hibernate.validator.constraints.NotEmpty; import io.swagger.annotations.ApiModelProperty; /** * Created by kroli on ...