text
stringlengths
10
2.72M
package raghad12_1_2016.spy; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import com.google.andro...
/* Copyright (c) 2014, Student group C in course TNM082 at Linköpings University All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, ...
package com.examples.io.arrays; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; public class DuplicateNumber { public static void main(String[] args) { int array [] = {5,6,6,7,2,1,7}; findDuplicate(array); } public static void findDuplicate(int [...
import java.util.Scanner; import javax.swing.JOptionPane; public class ExerciseTwoPtTwo { public static void main(String[]args){ Scanner input= new Scanner(System.in); String name = JOptionPane.showInputDialog("What is your name?"); String message= String.format("Hello, my name is %s.",name); JOptionPan...
package edu.uiowa.icts.spring; import java.util.Collection; import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.context.SecurityContextHolder; public class Security { public static boolean hasRole( String role ...
package vistas; import java.util.Observable; import objetos.aeronaves.Algo42; import ar.uba.fi.algo3.titiritero.ControladorJuego; /* * Vista del Algo42 */ public class VistaAlgo42 extends VistaAeronave { public VistaAlgo42(Algo42 algo42, ControladorJuego controlador) { super(algo42, controlador); ...
package com.jacaranda.services; import java.util.Collections; import java.util.List; import org.springframework.stereotype.Service; import com.jacaranda.entity.Customer; import com.jacaranda.entity.Film; import com.jacaranda.entity.comparator.ComparatorCustomerFullName; import com.jacaranda.entity.comparator.Compara...
public class Parallelogram { String name; double length; double height; double result; Parallelogram(String name,double length, double height) { this.name = name; this.length = length; this.height = height; } public void width() { double result = length * heigh...
package ir.shayandaneshvar.jottery.models; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import javax.persistence.*; import java.util.List; @Entity @Data @EqualsAndHashCode(exclude = {"customer"}) @NoArgsConstructor @Table(name = "levels") public class Level { @Id @Gen...
package f.star.iota.milk.ui.mmonly.only; import android.os.Bundle; import f.star.iota.milk.base.ScrollImageFragment; public class OnlyFragment extends ScrollImageFragment<OnlyPresenter, OnlyAdapter> { public static OnlyFragment newInstance(String url) { OnlyFragment fragment = new OnlyFragment(); ...
package com.example.landrouter.config; import com.example.landrouter.service.algorithms.custom.CustomGraph; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.Data; import lombok.SneakyThr...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ChessLeague.ChessLib; /** * * @author D3zmodos */ import java.awt.Point; import java.awt.Image; import javax.swing.ImageIcon; import java.util.Iterator; import java.util.LinkedList; public class ChessPiec...
import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; import java.sql.SQLException; import java.util.*; public class ViewAssignmentControl { private DataManager d...
import org.graphstream.graph.Graph; import org.graphstream.graph.Node; import java.util.ArrayList; import java.util.Collections; /** * Created by Gizem on 03.03.2017. */ public class DPBEAPopulation { private ArrayList<DPBEAParent> parents; private final DPBEAGraph dpbeaGraph; private final Graph graph...
package com.example.event_project.model; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.*; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; import j...
package com.adventurpriseme.castme.TriviaGame; /** * Base enumeration for enumerating strings. * <p/> * Created by Timothy on 1/3/2015. * Copyright 1/3/2015 adventurpriseme.com */ public enum EBaseStringEnum { E_INVALID ("invalid"); // This must go first // ************************** // Functionality to pro...
package com.wang.search.service; /** * 基本service工具类 * * @author wangjunhao * @version 1.0 * @date 2020/6/4 23:09 * @since JDK 1.8 */ public class BaseService { }
package org.growit.kz.dao; import org.growit.kz.model.UsersEntity; import java.util.List; /** * Created by Администратор on 10.11.2014. */ public interface UserDAO { public List<UsersEntity> getAllRecordsUserEntity(); public void addRecordsUsers(UsersEntity usersEntity); public void deleteRecordUse...
package com.cisc181.eNums; public enum eTitle { Professor, President, Janitor }
package co.sblock.chat; import co.sblock.Sblock; import co.sblock.chat.ai.CleverHal; import co.sblock.chat.ai.Halculator; import co.sblock.chat.channel.Channel; import co.sblock.chat.message.Message; import co.sblock.chat.message.MessageBuilder; import co.sblock.events.event.SblockAsyncChatEvent; import co.sblock.modu...
package com.xnarum.thonline.entity.idd002; 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.XmlElement; @XmlAccessorType(XmlAccessType.FIELD) public class WelcomeQueryResponseBody { /...
package com.Gacy.gacyProject; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.widge...
package JavaBean; import java.sql.*; public class UserDao { public Boolean logon(User user){ Boolean exist=true; Connection conn=DButil.getConn(); PreparedStatement pstmt=null; try{ User user1=checkLogin(user.getId()); if (user!=user1){ String sq...
package negocio.vo; import java.time.LocalDate; /** * @author eserrano * */ public class Persona { private String nombre; private String dni; private LocalDate fechaNacimiento; private Float peso; private Boolean titulado; public Persona() { super(); // TODO Auto-generated constructor stub } publi...
import java.util.Scanner; public class Client { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("Setting up match..."); boolean keepPlaying = true; // set up board and pieces Board board = new Board(); Player p1 = new Player('W'); Player p2 = ...
package com.example.qiumishequouzhan.Utils; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import com.example.qiumishequouzhan.ExampleApplication; import com.example.qiumishequouzhan.MainView.MainActivity; import java.io.*; public class FileUtils { public static String Bytes2String(byt...
package pieza; import excepciones.*; import java.util.ArrayList; import ajedrez.*; /** * El peon viene dado por un celda y un equipo * @author Carlos * */ public class Peon extends Pieza { /* Constructores */ public Peon(Celda celda, Equipo equipo) { super(celda, equipo); this.setPuntos(1); } /* Metodo...
package com.codingchili.instance.model.entity; import io.vertx.core.AsyncResult; import io.vertx.core.Future; import io.vertx.core.Handler; import java.util.ArrayList; import java.util.List; import java.util.UUID; import java.util.concurrent.atomic.AtomicInteger; import com.codingchili.core.benchmarking.BenchmarkIm...
package cn.senlin.jiaoyi.service.impl; import cn.senlin.jiaoyi.entity.Message; import cn.senlin.jiaoyi.mapper.MessageMapper; import cn.senlin.jiaoyi.service.ChatService; import org.springframework.stereotype.Service; import javax.annotation.Resource; import java.util.List; @Service("chatService") public class ChatSe...
package com.webmets.forceop.anvilgui.nms; public class AnvilInterface { }
//jDownloader - Downloadmanager //Copyright (C) 2010 JD-Team support@jdownloader.org // //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 opti...
package serpis.ad; import java.sql.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class PedidoLinea { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private float preci...
package com.datastax.autoloader; import com.datastax.driver.core.CodecRegistry; import com.datastax.driver.core.ProtocolVersion; import com.datastax.driver.core.Session; import com.datastax.driver.core.Statement; import com.datastax.driver.core.exceptions.AlreadyExistsException; import java.nio.ByteBuffer; import jav...
/* * 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 jc.fog.presentation.commands; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.H...
package com.flyingh.vo; import java.text.Collator; import android.content.pm.PackageStats; import android.graphics.drawable.Drawable; public class App implements Comparable<App> { private Drawable icon; private String label; private String totalSize; private String packageName; private boolean isSys...
package NovelDownloader.downloaders; import NovelDownloader.abstRunner.*; import NovelDownloader.translator.*; import NovelDownloader.extra.*; import NovelDownloader.outputFormat.FileFormat; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.Fil...
final -> must be initialized protect > default subclass -> subclass from different package, also could find the protected field. private field may not need getter /setter, eg, we may not want this field viewed by outside. abstract class 不一定有 abstract method. but it is still abstract class, not be initialized can ha...
import java.util.Scanner; public class WeekNumber { public static void main(String[] args) { Scanner in=new Scanner(System.in); int choice; System.out.println("Enter the number of the week"); choice=in.nextInt(); switch(choice){ case 1: System.out.println("This day is Sunday"); break; case 2: S...
package remote; import java.io.IOException; import java.rmi.Remote; import java.rmi.RemoteException; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import management.OutputGenerator; /** * remote interface handles all commands valid for companies * @author babz * */ pub...
package com.meehoo.biz.core.basic.dao.security; import com.meehoo.biz.core.basic.domain.security.User; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import java.util.List; /** * Created by CZ on 2017/10/19. */ public interface IUserDao extends J...
/* * 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. */ /** * * @author Ibrhaim */ public class Book extends Publication { private int Page_Count; public Book() { ...
package com.example.BSD; import java.util.ArrayList; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListView; import com.example.BSD.tasks.NieuwsAdapter; import com.example.slide_menu.R; public...
package com.application.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.messaging.simp.SimpMessagingTemplate; @Configuration public class CommunicationConfig { public static CommunicationConfig instance; ...
package com.ecjtu.hotel.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.ecjtu.hotel.dao.ReserveMapper; import com.ecjtu.hotel.pojo.Reserve; import com.ecjtu.hotel.service.IReserveService; @Service public cl...
package com.nextLevel.hero.mngWorkAttitude.model.dto; public class MngWorkCommuteDTO { private String yearAndMonth; //연도월 private String workStartTime; //시작시간 private String workEndTime; //퇴근시간 private int commuteNo; //출티근번호 private char todayStatus; //지각여부 private char earlyLeaveStatu...
/* * Copyright (C) 2008-2010 Martin Riesz <riesz.martin at gmail.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 3 of the License, or * (at your option) any later ve...
package com.lesson.androidversions; public class AndroidInfo { int logo; String name, version, level, date; public AndroidInfo(int logo, String name, String version, String level, String date) { this.logo = logo; this.name = name; this.version = version; ...
package com.kun.security.browser; import org.springframework.security.core.authority.AuthorityUtils; import org.springframework.security.core.userdetails.User; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springfra...
package org.obiz.sdtd.tool.rgwmap; import java.awt.*; import java.awt.image.BufferedImage; import java.awt.image.Raster; import java.awt.image.WritableRaster; public class ImageMath { /** * Clamp a value to an interval. * @param a the lower clamp threshold * @param b the upper clamp threshold ...
package uk.nhs.hee.web.security.web.servlet.support; import org.jetbrains.annotations.NotNull; import org.springframework.core.annotation.Order; import org.springframework.web.context.request.RequestContextListener; import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; im...
package object.device; import java.util.HashSet; import object.graph.Room; public class EffectorAirConditioner extends EffectorAbstract { // DEFAULT SETTINGS private static final double DEFAULT_POWER = 2000.0; // in [W] private static final boolean DEFAULT_STATE = false; private static final double DEFAULT_TE...
package msip.go.kr.member.web; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org...
package com.cs.administration.payment; import com.cs.administration.player.BackOfficeWalletDto; import com.cs.administration.security.BackOfficeUser; import com.cs.administration.security.CurrentUser; import com.cs.payment.AwaitingWithdrawPageableDto; import com.cs.payment.BankAccountDto; import com.cs.payment.DCPayme...
package com.example.administrator.cookman.ui.component.twinklingrefreshlayout.dataView; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageView; import android.widget.RelativeLayout; import ...
package state; /** * Date: 2019/3/5 * Created by LiuJian * * @author LiuJian */ class HasElecState implements IState { PersonNight mPersonNight; public HasElecState(PersonNight mPersonNight) { this.mPersonNight = mPersonNight; } public PersonNight getPersonNight() { return mPers...
package extension; import gearth.extensions.ExtensionForm; import gearth.extensions.ExtensionInfo; import gearth.extensions.parsers.HEntity; import gearth.extensions.parsers.HEntityType; import gearth.protocol.HMessage; import gearth.protocol.HPacket; import javafx.application.Platform; import javafx.event.ActionEvent...
package Recursion; import java.util.Scanner; public class NumOfDig { static int noOfDig(int n/*, int i*/){ /*if(n==0 && i==0) return 1; if(n==0) return i; return noOfDig(n/10, i+1);*/ if(n<10 && n>-10) return 1; return 1+noOfDig(n/10); } public static void main(String[] args) { Scanner in = ...
/** */ package Metamodell.model.metamodell.provider; import Metamodell.model.metamodell.util.MetamodellAdapterFactory; import java.util.ArrayList; import java.util.Collection; import org.eclipse.emf.common.notify.Adapter; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.Notifi...
package org.point85.domain.rmq; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import org.point85.domain.collector.CollectorDataSource; import org.point85.domain.collector.DataSourceType; import org.point85.domain.dto.RmqSourceDto; @Entity @DiscriminatorValue(DataSourceType.RMQ_VALUE) ...
/** * Description: Generalized Rounding Routines * Implements Micah Altman code for rounding Numbers * The implementation is in method Genround * Input: int with number of digits including the decimal point, * Object obj to apply the rounding routine; * obj is of class ...
package core.client.game.operations.basics; import cards.Card; import cards.basics.Peach; import cards.basics.Wine; import commands.server.ingame.InGameServerCommand; import commands.server.ingame.RescueReactionInGameServerCommand; import core.client.game.operations.AbstractSingleCardReactionOperation; import core.pla...
/* * Copyright 2002-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package tw.com.rex.springsecuritypractice.handler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.security.core.Authentication; import org.springframework.security.web.DefaultRedirectStrategy; import org.springframework.security.web.RedirectStrategy; import org.springframework.secu...
package it.polito.tdp.borders.model; import java.util.HashMap; import java.util.Map; import org.jgrapht.Graph; import org.jgrapht.event.ConnectedComponentTraversalEvent; import org.jgrapht.event.EdgeTraversalEvent; import org.jgrapht.event.TraversalListener; import org.jgrapht.event.VertexTraversalEvent; im...
package com.loneless; import com.github.javafaker.Faker; import java.util.Random; public class DataGenerator { private static final DataGenerator instance =new DataGenerator(); private static final Faker faker =new Faker();// прикольная "генерация" объектов - это для базовых значений private static fin...
package com.trump.auction.reactor.ext.repository; import com.google.common.collect.Collections2; import com.google.common.collect.Maps; import com.trump.auction.reactor.api.model.Bidder; import com.trump.auction.reactor.common.repository.AbstractRedisRepository; import com.trump.auction.reactor.api.model.AccountCode; ...
package com.huawei.account.service.impl; import com.huawei.account.domain.Account; import com.huawei.account.domain.Bill; import com.huawei.account.domain.Bill_Code; import com.huawei.account.domain.Services; import com.huawei.account.mapper.AccountMapper; import com.huawei.account.service.AccountService; import com.h...
package com.esum.wp.as2.sslsetup.base; import com.esum.appframework.dmo.BaseDMO; public class BaseSSLInfo extends BaseDMO { public static String REF = "SSLInfo"; public static String PROP_KEYSTORE_FILE = "KeyStoreFile"; public static String PROP_KEYSTORE_TYPE = "KeyStoreType"; public static String PROP_KEYSTORE_P...
package raig.org; import org.apache.log4j.Logger; import org.junit.Assert; import org.junit.runner.RunWith; import org.junit.Test; import com.tngtech.java.junit.dataprovider.DataProvider; import com.tngtech.java.junit.dataprovider.DataProviderRunner; import com.tngtech.java.junit.dataprovider.UseDataProvider; @Run...
package ProjectAeroDTO; import java.util.ArrayList; public class Voo { private String city_orig; private int identificacao; private String city_dest; private ArrayList<Programacao> programacoes = new ArrayList<Programacao>(); private ArrayList<Passagem> passagens = new ArrayList<Passagem>(); ...
public class Book { String title; String year; String ISBN; public Book(String title, String year, String ISBN) { this.title = title; this.year = year; this.ISBN = ISBN; } public String getTitle() { return title; } public String getYear() { retu...
package handlers.creep; import DAO.MentorDAO; import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpHandler; import DAO.CreepDAO; import helpers.CookieHandler; import models.Mentor; import models.User; import org.jtwig.JtwigModel; import org.jtwig.JtwigTemplate; import java.io.*; import java.n...
package com.bruggy.collection; import android.graphics.Rect; import android.support.v7.widget.RecyclerView; import android.view.View; public class GridSpacingItemDecoration extends RecyclerView.ItemDecoration { private final int mSpanCount; private final int mSpacing; public GridSpacingItemDecoration(in...
package net.awesomekorean.podo.lesson.lessons; import net.awesomekorean.podo.R; import java.io.Serializable; public class Lesson42 extends LessonInit_Lock implements Lesson, LessonItem, Serializable { private String lessonId = "L_42"; private String lessonTitle = "asking1"; private String lessonSubTitle...
package main.repository; import main.employees.Contractor; import main.employees.Employee; import main.employees.Intern; import main.employees.PermanentEmployee; import java.util.ArrayList; public class EmployeeRepository { private static final ArrayList<Employee> employeeList = new ArrayList<>(); public E...
/** * Created by robin on 2017/8/6. */ public class HomeView { public void show(){ System.out.println("Displaying Home Page"); } }
package Model; import Interfaces.Entity; import java.io.File; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.UUID; public class CFolder extends Entity{ private boolean isDirectory; private HashMap<UUID,Ent...
package com.igs.qhrzlc.presenter; import android.content.Context; /** * 晒单详情 */ public class PresenterOrderDetail extends BasePresenter { private Context context; public PresenterOrderDetail(Context context) { this.context = context; initDialog(context); } }
package com.edu.realestate.dao; import org.hibernate.Session; import org.springframework.stereotype.Repository; import com.edu.realestate.model.Apartment; @Repository public class ApartmentDaoHib extends AbstractDaoHib implements ApartmentDao { @Override public void create(Apartment ap) { Session session = getS...
package Chapter3.T2; // 2. Which of the following are output by this code? (Choose all that apply) // A. one // C. three // D. four public class Test { public static void main(String[] args) { String s = "Hello"; String t = new String(s); if ("Hello".equals(s)) S...
package com.ytdsuda.management.entity; import lombok.Data; import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java.util.Date; @Entity @Data @DynamicUpdate public class D...
package id.mbingweb.iso8583.helper; /** * * @author fqodry */ public class DecimalHexBinaryConverter { public static String decimalToHexa(Integer decimalNum) { return Integer.toHexString(decimalNum); } public static String decimalToBinary(Integer decimalNum) { StringBuilder bin...
package dev.fujioka.eltonleite.infrastructure.persistence.hibernate.repository; import org.springframework.data.jpa.repository.JpaRepository; import dev.fujioka.eltonleite.domain.model.order.Order; public interface OrderRepository extends JpaRepository<Order, Long>{ }
package by.academy.homework.homework4.task3; import java.util.Iterator; public class TwoDimArrayIterator <T> implements Iterator <T> { private T [][] twoDimArray; private int indexRow = 0; private int indexColumn = 0; public TwoDimArrayIterator (T [][] twoDimArray) { super (); this.twoDimArray = twoDimArra...
package net.maizegenetics.util; import com.google.common.collect.SetMultimap; import java.util.Map; /** * Provide generalized annotations (descriptors) for a taxon or site. * */ public interface GeneralAnnotation { /** * Returns all annotation value for a given annotation key * @param annoName anno...
package interfaceClass; /** * Created by qq65827 on 2015/2/28. */ public class CharSequenceImpl implements CharSequence { @Override public int length() { return 0; } @Override public char charAt(int index) { return 0; } @Override public CharSequence subSequence(int s...
/* * (C) Mississippi State University 2009 * * The WebTOP employs two licenses for its source code, based on the intended use. The core license for WebTOP applications is * a Creative Commons GNU General Public License as described in http://*creativecommons.org/licenses/GPL/2.0/. WebTOP libraries * and wapplets are ...
package com.gsccs.sme.api.service; import java.util.List; import com.gsccs.sme.api.domain.Sitemeval; import com.gsccs.sme.api.domain.shop.EvalGoods; import com.gsccs.sme.api.domain.shop.EvalItem; import com.gsccs.sme.api.domain.shop.EvalOrder; import com.gsccs.sme.api.exception.ApiException; /** * 评价服务接口 * * @au...
package com.xxglpt.xtgl.bean; import java.io.Serializable; import java.util.Date; /** * 用户实体 * @author xnq * */ public class Master implements Serializable { private static final long serialVersionUID = 1L; private String id; private String name; private String password; private String roleid; ...
package com.fred.sandboxrabbitmq; import org.springframework.amqp.core.Binding; import org.springframework.amqp.core.BindingBuilder; import org.springframework.amqp.core.DirectExchange; import org.springframework.amqp.core.Queue; import org.springframework.beans.factory.annotation.Value; import org.springframework.bo...
package miniProgram.omok.Exception; public class SelectedSpace extends Exception{ public SelectedSpace() { super("Selected Space"); } }
package com.beike.biz.service.trx.impl; import java.math.BigDecimal; import java.util.HashMap; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.json.simple.parser.JSONParser; import org.springframework.beans.factory.annotation.Autowired; i...
package com.example.server.data; import com.fasterxml.jackson.annotation.JsonProperty; public class Pet { private static final String IMAGE_PROPERTY="image"; private static final String PET_NAME_JSON_PROPERTY="name"; private static final String PET_PRIMARY_BREED="primaryBreed"; private static final S...
package com.junoyaya.jukebox.controllers; import com.junoyaya.jukebox.entities.Juke; import com.junoyaya.jukebox.servises.JukeboxService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Pageable; import org.springframework.data.web.PagedResourcesAssembler; import ...
package com.sai.one.algorithms.arrays; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Created by shravan on 24/8/16. * http://www.programcreek.com/2012/12/leetcode-3sum/ */ public class ThreeSum { public static void main(String[] args) { int[] arr = {-2, 0, 0, 2, 2}; ...
package cz.cvut.panskpe1.rssfeeder.model; /** * Created by petr on 4/12/16. */ public class FeedEntry { private Feed mFeed; private String mTitle; private long mId; private String mLink; private long mUpdated; private String mSummary; private String mContent; private String mAuthor; ...
package com.company; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.stereotype.Controller; import org.springframework.boot.*; @SpringBootApplication public class Main { public static void m...
import java.util.*; /** PROGRAMMKOPF * Modul Buchung * * @version 1.0 vom 20.04.2017 * * Klasse: FS 63 * Name: Lukas Wuestenhagen * PROGRAMMKOPF ENDE*/ public class Modul_BuchungUebersicht { public static void uebersicht(int jahr, String[][] Buchungsdaten) { // Beginn der Hauptfunktion char Au...
//designpatterns.abstractfactory.SummerComboBox.java package designpatterns.abstractfactory; public class SummerComboBox implements ComboBox { public void display() { System.out.println("ÏÔʾÀ¶É«±ß¿ò×éºÏ¿ò¡£"); } }
package org.nhnnext.restaurant.lab2.menu; public class Coffee { private String name; private int price; public Coffee(MenuItem menuItem) { this.name = menuItem.getName(); this.price = menuItem.cost(); } public String getName() { return name; } public int cost() { return price; } public void prepa...