text
stringlengths
10
2.72M
package edu.ap.facilitytoolspringboot.controllers; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.messaging.handler.annotation.MessageMapping; import org.springframework.messaging.handler.annotation.SendTo; import org.springframework.stereotype.Controller; import org.springframewor...
import GeneralDSA.mainPackage; import GeneralDSA.subPack.*; public class JAVADA2QUE4 { public static void main(String[] args) { mainPackage m = new mainPackage(); m.printMessage(); subPack s = new subPack(); s.printMessages(); } }
package jp.co.nttdata.rate.ui.view; import java.util.HashMap; import java.util.Map; import jp.co.nttdata.rate.exception.RateException; import org.apache.commons.lang.StringUtils; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.RowData; import org.eclipse.swt.layout.RowLayout; import org.eclipse....
package com.kyler.toolbarmenudrawer.fragments; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Fragment; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View...
package com.trainingmarket.bean; public class TestBean { private String user = null; private String password = null; private String telephone = null; private String email = null; private String headPicture = null; public String getUser(){ return this.user; } public void setUser(String user){...
package org.metaborg.sunshine.arguments; import java.util.List; import org.metaborg.core.MetaborgException; import org.metaborg.core.language.ILanguageComponent; import org.metaborg.sunshine.common.LanguageLoader; import com.beust.jcommander.Parameter; import javax.inject.Inject; public class LanguagesDelegate { ...
package backjoon.samsung_sw_test; import java.util.*; import java.io.*; public class SwAcademy { static int N, X; static int graph[][]; static int answer; static ArrayList<Integer> answerList = new ArrayList<>(); public static void main(String args[]) throws Exception { /* 아래의 메소드 호...
package com.creativewidgetworks.goldparser.simple2; import org.junit.Test; import com.creativewidgetworks.goldparser.engine.ParserException; import com.creativewidgetworks.goldparser.engine.enums.SymbolType; import com.creativewidgetworks.goldparser.parser.Variable; import com.creativewidgetworks.goldparser.simple2.r...
package 手撕; /** * @Author: Mr.M * @Date: 2019-04-05 16:34 * @Description: **/ class Helper { private volatile Helper helper = null; public Helper getHelper() { if (helper == null) { synchronized (this) { if (helper == null) helper = new Helper(); } } return helper; } } class single_e { ...
package com.pz.Converter; /** * Created by Marcin on 19.12.2017. */ public interface DefaultConverter<Entity, Dto> { Entity convertToEntity(Dto dto); Dto convertToDto(Entity entity); }
package com.imwj.tmall.service; import com.imwj.tmall.dao.CategoryDAO; import com.imwj.tmall.dao.ProductDAO; import com.imwj.tmall.es.ProductESDAO; import com.imwj.tmall.pojo.Category; import com.imwj.tmall.pojo.Product; import com.imwj.tmall.util.Page4Navigator; import com.imwj.tmall.util.SpringContextUtil; import or...
package be.spring.app.utils; /** * User: Tom De Dobbeleer * Date: 12/11/13 * Time: 3:11 PM * Remarks: none */ public class Constants { public static final String PASSWORD_REGEX = "^[0-9a-zA-Z\\._-]{5,15}$"; public static final String PHONE_REGEX = "^[0-9+]{9,13}$"; public static final String EMAIL_REG...
import java.util.Scanner; import java.util.Locale; public class exercicio5 { public static void main(String[] args) { Locale.setDefault(Locale.US); Scanner typeScan = new Scanner(System.in); // double idPeca1, idPeca2, qtd_pecas1, qtd_pecas2, valor_uni1, valor_uni2, total; int idPeca1, idPec...
package creature.intelligence.brain; /** * Created by Michael on 30.05.2017. * <p> * Axons relay excitement from a Node to a target Node, modifying the excitement on the way depending on it's properties. */ public class Axon { /** * the weight modifies the incoming excitement */ private double w...
package com.bmb.test; import java.awt.BorderLayout; import java.awt.Color; import java.awt.EventQueue; import java.awt.Font; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; imp...
//Author: Timothy van der Graaff package apps; import configuration.Config; import controllers.Control_Change_Reviews; import utilities.Security_Code_Generator; import java.time.LocalDate; import java.time.LocalTime; import java.io.IOException; import java.sql.Connection; import java.time.ZoneId; impo...
package com.ceiba.parkingceiba.testdatabuilder; import java.util.Date; import com.ceiba.parkingceiba.model.entity.Parqueadero; import com.ceiba.parkingceiba.model.entity.Vehiculo; public class ParqueaderoTestDataBuilder { public static final Date FECHA_INGRESO = new Date(); public static final Date FECHA_SALIDA= ...
package com.example.ComicToon.Models.RequestResponseModels; public class IsSubbedResult { private boolean result; /** * @return the result */ public boolean getResult() { return result; } /** * @param result the result to set */ public void setResult(boolean result...
package adapter.design.pattern.example1; public interface CircularSocket { void circularSocket(); }
package com.freejavaman; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.net.MalformedURLException; import java.net.Socket; import java.net.URL; import java.net.U...
package com.tencent.mm.g.a; import com.tencent.mm.sdk.b.b; public final class gk extends b { public a bPB; public gk() { this((byte) 0); } private gk(byte b) { this.bPB = new a(); this.sFm = false; this.bJX = null; } }
package PyjamaCode.TestingLibraries.Function2; import pj.Pyjama; import pj.pr.*; import pj.PjRuntime; import pj.Pyjama; import java.util.concurrent.*; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.locks.ReentrantLock; import javax.swing.SwingUtilities; import java.lang.reflect.Invocati...
/* * 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 logic; /** * <h1>Klasa reprezentujaca DNA</h1> * Zawiera w sobie tablice określonej w konstruktorze dlugosci zawier...
package edu.sit.installer.run; import edu.sit.bancodedados.conexao.Conexao; import edu.sit.bancodedados.conexao.ConexaoException; import edu.sit.bancodedados.dao.CategoriaDao; import edu.sit.bancodedados.dao.ClienteDao; import edu.sit.bancodedados.dao.ContatoDao; import edu.sit.bancodedados.dao.FornecedorDao; ...
package com.uca.apps.isi.nct.activities; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.support.v7.app.App...
package com.apri.test.config; import org.springframework.security.core.AuthenticationException; import org.springframework.security.web.authentication.AuthenticationFailureHandler; import org.springframework.stereotype.Component; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; imp...
package com.scs.libgdx; import com.badlogic.gdx.controllers.Controller; public interface ControllerConnectionListener { public void connected (Controller controller); public void disconnected (Controller controller); }
package liquibase.database.structure; public class Table extends Relation { private PrimaryKey primaryKey; public Table(String name) { super(name); } public PrimaryKey getPrimaryKey() { return primaryKey; } public void setPrimaryKey(PrimaryKey primaryKey) {...
package multipleLinearRegression; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHashSet; import jxl.Cell; import jxl.CellType; import jxl.NumberCell; import jxl.Sheet; import jxl.Wo...
package com.upu.zenka.broadcasttest.tools; import java.net.NetworkInterface; import java.net.SocketException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; /** * Created by ThinkPad on 2018/11/18. */ public class geneDeviceCode { private static String deviceType="SPK0"; ...
package tsubulko.entity; import tsubulko.entity.Engineer; import lombok.*; import java.util.Date; import java.util.LinkedList; @Data @EqualsAndHashCode @ToString public class Programmer extends Engineer { public enum Category { Junior, Middle, Senior; } public enum ProgSkills { ...
package fr.umlv.escape.weapon; import org.jbox2d.common.Vec2; import org.jbox2d.dynamics.Body; import fr.umlv.escape.move.XRayMove; /** * Represent a XRay who extends of {@link Bullet} */ public class XRay extends Bullet{ private static final int POWER = 50; private static final int MAXLOAD = 1; /** * Constru...
package com.ireslab.sendx.electra.repository; import org.springframework.data.repository.CrudRepository; import com.ireslab.sendx.electra.entity.ClientConfiguration; /** * @author Nitin * */ public interface ClientConfigurationRepository extends CrudRepository<ClientConfiguration, Integer> { }
package com.supconit.kqfx.web.xtgl.listener; import javax.servlet.http.HttpServlet; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Controller; impo...
package tools; import java.util.LinkedList; import java.util.ListIterator; /** * * @author Anselme FRANÇOIS * * It is based on a LinkedList, but the added method * "orderedAdd" handles sorted adding of an element * it also behaves like a set by forbidding the adding of a duplicate element (compareT...
package map; import java.util.*; import java.util.Map.Entry; public class MainClass { public static void main(String[] args) { Map<String, Integer> numbers = new HashMap<>(); numbers.put("one", 1); numbers.put("two", 2); numbers.put("five", 5); numbers.putIfAbsent("three", 3); num...
/* * LumaQQ - Java QQ Client * * Copyright (C) 2004 notXX * luma <stubma@163.com> * * 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 2 of the License, or...
package com.adam.consumer; import static java.util.concurrent.TimeUnit.*; import java.util.concurrent.Executors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.actuate.metrics.CounterService; import org.springfra...
import java.util.*; class QuickSelect { public int quickSelect(int[] nums, int k) { return quickSelect(nums, k, 0, nums.length - 1); } private int quickSelect(int[] nums, int k, int start, int end) { int pivot = nums[end]; int i = start; int j = end - 1; while (i <= j) { if (nums[i] > ...
package com.tt.miniapp.shortcut.dialog; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.animation.TimeInterpolator; import android.app.Activity; import android.app.Dialog; import ...
package com.testing.class10_HomeWork; public class car implements lunTai{ @Override public void ganghua() { System.out.println("公交 轮胎需要有钢材料"); } @Override public void suliao() { System.out.println("公交 轮胎需要有塑料用品"); } }
package com.nefee.prawn.data.dao; import com.nefee.prawn.data.entity.DetailedReport; import org.springframework.data.repository.CrudRepository; public interface DetailedReportRepository extends CrudRepository<DetailedReport, Long> { DetailedReport findByReportId(String reportId); }
package com.jk.jkproject.ui.dialog; import android.content.Context; import android.os.Bundle; import androidx.recyclerview.widget.GridLayoutManager; import androidx.recyclerview.widget.OrientationHelper; import androidx.recyclerview.widget.RecyclerView; import android.view.Gravity; import android.widget.TextView; imp...
package practice.client; import practcie.entity.ComplexNumber; import practcie.service.ComplexNumbersOperatipons; public class ComplexNumberClient { public static void main(String[] args) { ComplexNumber array[]=new ComplexNumber[4]; array[0] = new ComplexNumber(3, 6); array[1] = new ComplexNumber(4...
package com.rofour.baseball.dao.order.bean; import java.io.Serializable; import java.util.Date; /** * Created by hy on 2016-08-24. */ public class DoOrderTaskResultBean implements Serializable { private static final long serialVersionUID = -5026168362113837413L; private Long taskSubId; private Long task...
package com.mkyong.common.model; import java.util.Date; public class CDR { private String caller; private String callee; private String callid; private Date start; private Date answer; private Date end; private long duration; private double used_credit; private String currency; private String hang...
/** * MOTECH PLATFORM OPENSOURCE LICENSE AGREEMENT * * Copyright (c) 2010-11 The Trustees of Columbia University in the City of * New York and Grameen Foundation USA. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
package cn.edu.zucc.music.service; import cn.edu.zucc.music.model.Follow; import java.util.List; public interface FollowService { int addFollow(Follow comment); int deleteFollow(Follow comment); int updateFollow(Follow comment); Follow findById(int id); List<Follow> findAll(); }
package org.globsframework.sqlstreams.annotations; import org.globsframework.metamodel.Field; import org.globsframework.metamodel.GlobType; import org.globsframework.metamodel.GlobTypeLoaderFactory; import org.globsframework.metamodel.annotations.FieldNameAnnotation; import org.globsframework.metamodel.annotations.Ini...
package com.target.feedbackvalidationservice.controller; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; imp...
package me.schnaidt.ics.config; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; @Configuration @ConfigurationProperties("chl") public class ChlClubConfiguration extends ClubConfiguration { }
package algorithm; import java.util.Arrays; import java.util.LinkedList; import java.util.Queue; public class DynamicProgramming { /** * 01背包,每样物品一个,复杂度o(n*V) * @param w 物品的重量 * @param v 物品的价值 * @param V 背包的容量 * @return 0-V的最大价值数组 */ public static int[] Pack01(int[]w,int[]v,int V...
package org.smxknife.axis.client.handler; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.apache.axis.AxisFault; import org.apache.axis.MessageContext; import org.apache.axis.handlers.BasicHandler; import javax.xml.rpc.handler.soap.SOAPMessageContext; import javax.xml.soap.SOAPEnvelope;...
package com.easyArch.client.ui; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; public class FileUi extends JFrame implements ActionListener { private JTextField up;//上 pri...
package com.claycorp.nexstore.api.util; import java.util.List; import java.util.Objects; import java.util.stream.Collectors; import org.springframework.stereotype.Service; import com.claycorp.nexstore.api.entity.Order; import com.claycorp.nexstore.api.entity.OrderItem; import com.claycorp.nexstore.api.entity.Price; ...
public class Question15 { static void common(int ar1[],int ar2[]) { for(int i=0;i<ar1.length;i++) { for(int j=0;j<ar2.length;j++) { if(ar1[i]==ar2[j]) { System.out.print(ar1[i]+" "); } } } } public static void main(String[] args) { int ar1[]= {1,2,3,7}; ...
package com.onplan.adviser; import com.google.common.collect.ImmutableSet; import com.onplan.adviser.strategy.Strategy; import com.onplan.domain.configuration.StrategyConfiguration; import java.util.Map; public final class StrategyConfigurationFactory { public static StrategyConfiguration createStrategyConfigurati...
package com.game.main; import java.awt.*; import java.awt.image.BufferedImage; import java.util.*; import java.util.List; /** * Maintains, updates and renders all game objects * * This class is in essence the substitute for the BubbleManager.java * class that was created in Part 1 of the Bubble Shooter project *...
/* * 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 dis...
package com.dict.hm.dictionary.ui; import android.app.ListFragment; import android.os.Bundle; import android.support.v7.app.ActionBar; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.widget.ListView; import java.io.File; import java.ut...
package com.brainmentors.apps.annotationdemo; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * Hello world! * */ public class App { public static void main( String[] args ) { ApplicationContext ac = new ClassPath...
/* * Copyright (C) 2017 GetMangos * * 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 2 * of the License, or (at your option) any later version. * * This program is distrib...
package gofabian.r2dbc.jooq; import io.r2dbc.spi.Row; import org.jooq.DSLContext; import org.jooq.Field; import org.jooq.Record; import org.jooq.tools.JooqLogger; import java.util.List; class RowConverter { private static final JooqLogger log = JooqLogger.getLogger(RowConverter.class); static <R extends Re...
package com.souptik.estore.productservice.command.rest; import javax.validation.constraints.Max; import javax.validation.constraints.Min; import javax.validation.constraints.NotBlank; import lombok.Data; @Data public class CreateProductRestModel { @NotBlank(message = "Title is mandatory") private String title...
package com.example.myprojectapp; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.annotation.SuppressLint; import android.view.View; import android.content.Intent; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.w...
package com.tencent.mm.plugin.appbrand.wxawidget.console; import com.tencent.mm.ipcinvoker.a; import com.tencent.mm.ipcinvoker.c; import com.tencent.mm.ipcinvoker.type.IPCBoolean; import com.tencent.mm.ipcinvoker.type.IPCVoid; class PerformancePanel$c implements a<IPCBoolean, IPCVoid> { private PerformancePanel$c...
package com.tencent.mm.plugin.shake.b; import android.database.Cursor; import com.tencent.mm.sdk.e.c; import com.tencent.mm.sdk.e.i; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.sdk.platformtools.x; public final class e extends i<d> { public static final String[] diD = new String[]{i.a(d.dhO,...
package techokami.computronics.api; import net.minecraft.item.ItemStack; import net.minecraft.tileentity.TileEntity; public interface ISortingOutputHandler { /** * Check if this TileEntity can serve as an output. */ public boolean isOutputtable(TileEntity entity); /** * Try to output an ItemStack. * @par...
/* * 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 resourcemanagementapp.sessions; import com.jfoenix.controls.JFXButton; import com.jfoenix.controls.JFXComboBox; import com.jfo...
package com.shafear.notes.mvp.presenter; import com.shafear.notes.mvp.model.MNotes; import com.shafear.notes.xnotes.XNotes; /** * Created by shafe_000 on 2015-02-09. */ public class PDeleteNote { public void delete(int position) { MNotes mNotes = new MNotes(); XNotes xNotes = mNotes.loadNotesDat...
package com.java26.alg.zad3; public class Student { private String nr_indexu; private String imie; private String nazwisko; private Plec plec; @Override public String toString() { return "Student{" + "nr_indexu='" + nr_indexu + '\'' + ", imie='" + imie + '\'...
package ui; import data.Fats; import data.Nutrient; import javafx.event.EventHandler; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.Label; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.input.Mouse...
/** * */ package lambdas; /** * @author kimmo * */ @FunctionalInterface public interface Ball { public void hit(String message); }
package cn.harry.builder; import com.dw.GetDetectedTasks; //import com.dw.GetDetectedTasks; //import com.dw.GetDetectedTasks; import cn.harry.captor.MakefileCapture; public class MakefileCaptureBuilder { /* * 建造某一特定类型的 captor */ public static MakefileCapture getCaptor(String projectDirectory, String outputD...
package com.dinu; public class FindSmallestLetterGreaterThanTarget { public static void main(String[] args) { char[] letters= {'c','f','j'}; char target='c'; int ans=search(letters,target); System.out.println(letters[ans]); } static int search(char[] arr,char target) { int start=0; int en...
package com.maverick.elevator.api; import org.junit.*; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.Matchers.*; public class ElevatorTest { private static final int ELEVATOR_ID = 1; private static final int MAX_FLOOR = 5; @Test public void testElevatorMovesUp() throws Excep...
import java.util.*; import java.io.*; public class NumberFun { public static void main(String[] args) throws IOException { Scanner nya = new Scanner(System.in); int cats = nya.nextInt(); for (int i = 0; i < cats; i++) { int a = nya.nextInt(); int b = nya.nextInt(); ...
package com.lecture.spring.dao; import java.util.List; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.lecture.spring.model.ModelCanvas; import com.lecture.spring.model.ModelComment; import com.lectur...
package com.java4game.anna.screens; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputAdapter; import com.badlogic.gdx.InputMultiplexer; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.GL20; import com.java4game.anna.GM; import com.java4game.anna.Settings; public class BaseScreen extends Inpu...
package khaliss_bank_project; public abstract class Personne { protected String m_nom = ""; protected String m_prenom = ""; protected String m_mail = ""; protected String m_motDePasse = ""; static final String UNKNOWN = "XXXX"; public Personne() { //constructeur par defaut this.m_nom =UNKNOWN; this.m_pren...
package com.zdzimi.blog; import com.zdzimi.blog.dao.*; import com.zdzimi.blog.model.Article; import com.zdzimi.blog.model.Chapter; import com.zdzimi.blog.model.Paragraph; import com.zdzimi.blog.model.TopbarMenu; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.context.even...
package com.ubuyquick.vendor; import android.annotation.TargetApi; import android.app.Activity; import android.support.annotation.NonNull; import android.support.design.widget.TabLayout; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v4....
import java.awt.Color; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.Random; import javalib.impworld.WorldScene; import javalib.worldimages.OutlineMode; import javalib.worldimages.OverlayImage; import javalib.worldimages.Posn; import javalib.worldimages.RectangleI...
package me.lehrner.spotifystreamer; import android.content.SearchRecentSuggestionsProvider; public class ArtistSuggestionProvider extends SearchRecentSuggestionsProvider { public final static String AUTHORITY = "me.lehrner.ArtistSuggestionProvider"; public final static int MODE = DATABASE_MODE_QUERIES; p...
package prefeitura.siab.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.transaction.annotation.Transactional; import prefeitura.siab.persistencia.FamiliaDao; import prefeitura.siab.tabela.Familia; @Component public...
package com.tencent.mm.plugin.emoji.a.a; import com.tencent.mm.model.q; import com.tencent.mm.plugin.emoji.h.a; import com.tencent.mm.plugin.emoji.model.f; import com.tencent.mm.plugin.emoji.model.i; import com.tencent.mm.protocal.c.ts; import com.tencent.mm.storage.ao; import java.util.ArrayList; import java.util.Has...
package com.DeGuzmanFamilyAPI.DeGuzmanFamilyAPIBackend.app_service; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; import com.DeGuzmanFami...
package it.usi.xframe.xas.bfintf; /** * Home interface for Enterprise Bean: XasEcho */ public interface XasEchoHome extends javax.ejb.EJBHome { /** * Creates a default instance of Session Bean: XasEcho */ public it.usi.xframe.xas.bfintf.XasEcho create() throws javax.ejb.CreateException, java.rmi.RemoteExcepti...
package SwordOffer; /** * @author renyujie518 * @version 1.0.0 * @ClassName strToInt_67.java * @Description 把字符串转换成整数 * Iuput: * +2147483647 * 1a33 * * Output: * 2147483647 * 0 * 边界判断: * 第一部分是空格,在转换的时候需要过滤掉 *第二部分:部分是正负号,如果是正号则忽略,是负号则需要记录这个正负号状态 * 第三部分,这部分字符串中会包含任意字符,但我们只需要"0"到"9"这几个字符 * * 注意点: * 只能存...
/* * 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.prakash.librarymanagement; public class AdminSection extends javax.swing.JFrame { /** * Creates new form AdminSe...
package com.study.ilmaz.patternmvp.view; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import android.wi...
import java.io.Serializable; public class PremiumVehicle extends Vehicle implements Serializable { private int free_mile_allow; private int service_length; private int last_odometer; public PremiumVehicle(String VehicleID,String description,double daily_rate,int odometer,int free_mile_allow, int service_...
import java.io.BufferedReader; import java.io.InputStreamReader; public class Suma { public static void main(String[] arg) throws java.lang.Exception{ BufferedReader bR = new BufferedReader(new InputStreamReader(System.in)); int suma=0; while (suma>=0) { suma += Integer.valueOf...
package by.epam.concexamples.synchronizer.semaphore; import java.util.concurrent.Semaphore; /** * Created by Alex on 21.10.2016. * * Семафор в данном случае является абстракцией командных боксов. */ public enum Team { SCUDERIA_FERRARI, MACLAREN_HONDA, WILLIAMS, MERCEDESS, RED_BULL_TAG_HEUR, ...
package collector.elasticsearch; import java.util.List; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.ToString; import org.springframework.data.annotation.Id; import org.springframework.data.elasticsearch.annotations....
package com.tencent.mm.plugin.facedetect.d; import com.tencent.mm.plugin.facedetect.model.h.a; import com.tencent.mm.sdk.platformtools.x; public class b$c { private static String TAG = "MicroMsg.IFaceMotion.Factory"; public static b a(a aVar) { if (aVar == null) { return null; } ...
package com.tencent.mm.plugin.sns.ui; import com.tencent.mm.ui.base.l; import com.tencent.mm.ui.base.n.c; import java.util.List; class t$5 implements c { final /* synthetic */ List eRE; final /* synthetic */ t nNL; final /* synthetic */ List nNO; t$5(t tVar, List list, List list2) { this.nNL ...
/* * Copyright (c) 2013 University of Tartu */ package org.jpmml.evaluator; import java.util.*; import org.jpmml.manager.*; import org.dmg.pmml.*; public class ModelManagerEvaluationContext extends EvaluationContext { private ModelManager<?> modelManager = null; public ModelManagerEvaluationContext(ModelMana...
package com.tencent.mm.ui.chatting.viewitems; import android.graphics.drawable.Drawable; import android.text.Spannable; import android.text.Spannable.Factory; import android.view.View; import com.tencent.mm.R; import com.tencent.mm.ar.r; import com.tencent.mm.model.au; import com.tencent.mm.model.c; import com.tencent...
package com.company; import java.util.Scanner; public class ConvertFromSeven { public static void main(String[]args){ Scanner input=new Scanner(System.in); String str=new String(input.nextLine()); Integer number=Integer.valueOf(str,7); System.out.println(number); } }