text
stringlengths
10
2.72M
package com.aditya.project.hateoas.controller; import com.aditya.project.hateoas.model.Customer; import com.aditya.project.hateoas.model.Order; import com.aditya.project.hateoas.service.CustomerService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.hateoas.CollectionModel; i...
package com.isystk.sample.common.dto; import java.io.Serializable; import org.apache.commons.lang3.StringUtils; import org.seasar.doma.Domain; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.val; @Domain(valueType = String.class, factoryMethod = "of") @NoArgsConstructor public class CommaSepara...
package com.sudipatcp.string; import java.util.HashMap; import java.util.Set; public class IntegerToRoman { public String intToRoman(int A) { HashMap<Integer, String> RomanDecimalVal = new HashMap<Integer, String>(); RomanDecimalVal.put(1, "I"); RomanDecimalVal.put(4, "IV"); Roman...
package com.sds.chocomuffin.molly.domain.surveyaggregate; import org.springframework.data.repository.reactive.ReactiveCrudRepository; public interface SurveyAggregateRepository extends ReactiveCrudRepository<SurveyAggregate, String> { }
package fundamentos; import java.util.Scanner; public class Class12Bucles { public static void main(String[] args) { //DECLARAMOS UN BUCLE DE 1 a 5 for (int i = 1; i <= 5; i++) { //INSTRUCCIONES System.out.println("Contador: " + i); } //Podemos realizar e...
package core; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import org.lwjgl.glfw.GLFWKeyCallback; import events.Event; import events.KeyEvent; import events.Listener; import events.KeyEvent.Priority; import static org.lwjgl.glfw.GLFW.*; public class KeyboardHa...
package com.sopra.rest; public class FunkoPop { private int id; private String name; private String universe; private boolean waterproof; private double latitude; private double longitude; public FunkoPop() { } public FunkoPop( int id, String name, String universe, boolean waterproof, double latitude, doub...
package ch02.ex02_07; import static org.junit.Assert.*; import org.junit.Test; public class VehicleTest { public long idNum; public static long nextID = 0; //idNumTest @Test public void testId() { Vehicle car = new Vehicle(); assertEquals(0, (int)car.idNum); Vehicle train = n...
package ithome.am.ithomenotsss.Adapters; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.vi...
package com.relsulla.sample_data.driver; import com.relsulla.sample_data.util.Util; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Job; ...
/* * 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 Entities; /** * * @author Ziyin */ public class Administrator extends User{ public Administrator(){super();...
/** * 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 kimmyeonghoe.cloth.web.user; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.s...
/* * 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 algorithmlab; import java.util.Arrays; /** * * @author pigrick */ public class Bubblesort1 { public static void swap(i...
/* * 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 cacpheptinh; /** * * @author nguye */ public class Jpheptinh extends javax.swing.JFrame { /** * Creates new form ...
/* * Copyright 2005-2010 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 appli...
package data; /** * @Author weimin * @Date 2020/10/9 0009 15:18 */ public class Main2 { public static void main(String[] args) { String hexString = Integer.toHexString(16); System.out.println(hexString); String s = Integer.toBinaryString(16); System.out.println(s); String...
package railroad; import java.util.Observer; public class Facade { static private Facade _facade; private Controller _controller; private Facade() { _controller = Controller.getInstance(); } static public Facade getInstance() { if(_facade == null) { _facade = new Facade(); ...
package com.hpg.demo.controller; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintWriter; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util...
/** * */ package org.rebioma.server.services; import java.util.List; import java.util.Set; import org.rebioma.client.OccurrenceQuery; import org.rebioma.client.bean.Occurrence; import org.rebioma.client.bean.SearchFieldNameValuePair; import org.rebioma.client.bean.User; import org.rebioma.server.servic...
// // GCALDaemon is an OS-independent Java program that offers two-way // synchronization between Google Calendar and various iCalalendar (RFC 2445) // compatible calendar applications (Sunbird, Rainlendar, iCal, Lightning, etc). // // Apache License // Version 2.0, January 2004 // http://www.apache.org/licenses/ // //...
/** * */ package com.atanu.java.spring.offersvc.resource; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind....
package com.designpatter.withflyweight; public class PaintAppTestCase { public static void render(int noofShapes) { Ishape shape=null; for(int i=0; i<noofShapes;i++) { if(i<=50) { shape=ShapFactory.getShape("circle"); shape.draw(i, "Weight", "Red"); System.out.println(shape); } else{ ...
package ro.redeul.google.go.ide; import com.intellij.ide.structureView.StructureViewBuilder; import com.intellij.ide.structureView.StructureViewModel; import com.intellij.ide.structureView.TreeBasedStructureViewBuilder; import com.intellij.lang.PsiStructureViewFactory; import com.intellij.psi.PsiFile; import org.jetbr...
package com.jack.jkbase.service.impl; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; ...
package com.itsdf07.okhttp3; import android.text.TextUtils; import com.itsdf07.alog.ALog; import com.itsdf07.okhttp3.callback.HttpBaseCallback; import com.itsdf07.okhttp3.callback.HttpProgressCallback; import com.itsdf07.okhttp3.impl.OkHttp3CallbackImpl; import com.itsdf07.okhttp3.progress.ProgressRequestBody; impor...
package codesum.lm.topicsum; import java.io.File; import java.io.Serializable; import org.apache.commons.lang.ArrayUtils; import com.esotericsoftware.kryo.DefaultSerializer; import com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer; @DefaultSerializer(CompatibleFieldSerializer.class) public class Corpu...
/** * */ package com.cnk.travelogix.common.facades.product.provider.impl; import com.cnk.travelogix.common.facades.product.data.flight.FlightResultData; import com.cnk.travelogix.common.facades.product.facet.impl.AccesserFactory; import com.cnk.travelogix.common.facades.product.facet.impl.IAccess; import com.cnk.tra...
package jp.co.aforce.test; public class PracticeTest2 { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ int x = 10; int y = 28; double z = 3.14; //問題1 System.out.println("x*y= "+x*y); //問題2 System.out.println("y/x= "+y/x+"余り"+y%x); //問題3 double a = y*z; System.out.prin...
package sailpoint.plugin.iiqmdmplugin; /** */ public class MasterDataManagementDTO { private String _data = new String(); public String get_message() { return _data; } public void set_message(String _data) { this._data = _data; } }
package eg.edu.guc.parkei.exceptions; public class NotEligiblePlayer extends ParkeiException { /** * */ private static final long serialVersionUID = 1L; public NotEligiblePlayer() { super(); } public NotEligiblePlayer(String x) { super(x); } }
/* * 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 unalcol.search.single; import unalcol.search.Goal; import unalcol.search.Search; import unalcol.search.Solution; import unalco...
package com.pineapple.mobilecraft.utils; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executors; import java.util.concurrent.Future; import org.apache.http.HttpResponse; ...
/* * [y] hybris Platform * * Copyright (c) 2000-2016 SAP SE * All rights reserved. * * This software is the confidential and proprietary information of SAP * Hybris ("Confidential Information"). You shall not disclose such * Confidential Information and shall use it only in accordance with the * terms of the l...
package com.tencent.mm.plugin.sns.model.a; import android.os.Build.VERSION; import android.text.TextUtils; import com.tencent.mm.compatible.e.n; import com.tencent.mm.compatible.e.q; import com.tencent.mm.k.g; import com.tencent.mm.platformtools.af; import com.tencent.mm.plugin.sns.lucky.a.b; import com.tencent.mm.plu...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.ivadam.subnetcalculator; import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import org.netbeans.microedition.lcdui.SimpleTableModel; import org.netbeans.microedition.lcdui.TableItem; /**...
package it.unical.asd.group6.computerSparePartsCompany.core.exception; public class UserAlreadyInDBException extends UserException { public UserAlreadyInDBException() { super(String.format("Username or email are already in use")); } }
package ru.javabegin.training.flight.database; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; import ru.javabegin.training.flight.spr.objects.Company; public class CompanyDB { ...
/* * 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 tutorscheduler; /** * Represents a tutor, supervisor, or a room. * * @author Stephanie Deen */ public class Component { ...
package com.dbs.spring.capstoneproject.service; import java.util.ArrayList; import java.util.List; import java.util.Optional; import javax.persistence.EntityNotFoundException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.dbs.spring.capstone...
package me.hipoplar.demo.srv.user.impl; import me.hipoplar.demo.api.user.UserService; import me.hipoplar.demo.api.user.model.User; import me.hipoplar.demo.srv.user.dao.UserDaoImpl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; ...
execute(src, registers, memory) throws Exception { int size = Memory.MAX_ADDRESS_SIZE; // 32 String stackPointer = registers.getStackPointer(); BigInteger stackAddress = new BigInteger(stackPointer, 16); BigInteger offset = new BigInteger(size + ""); offset = offset.divide(new BigInteger("8")); ...
package Project2; public abstract class DessertItem implements Comparable<DessertItem>{ private String name; private int quantity; protected String heat; protected double pas_price; protected double coo_price_dozen; protected double mac_price; protected double mac_price_three; /** * default cons...
package fileHandlers; import dataStructures.*; import java.io.*; import java.util.ArrayList; import java.util.List; public class OutputGenerator { private String outfile = ""; public OutputGenerator(String outfile) { this.outfile = outfile; } public void generate(ArrayL...
package com.ashoksm.thiraseela.ui; import android.app.ActivityManager; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7...
package testk; public class OverloadingExample { int x=10; int y=20; OverloadingExample() { System.out.println("hey"); } OverloadingExample(int x) { this(); } public void sum() { int sum=x+y; System.out.println(sum); } public void s() { int sum=x+y; System.out.println(sum); this.su...
package com.tencent.mm.pluginsdk.ui.tools; import android.content.DialogInterface; import android.content.DialogInterface.OnDismissListener; class AppChooserUI$5 implements OnDismissListener { final /* synthetic */ AppChooserUI qRB; AppChooserUI$5(AppChooserUI appChooserUI) { this.qRB = appChooserUI;...
package com.tencent.mm.g.a; import com.tencent.mm.sdk.b.b; public final class qg extends b { public a caP; public qg() { this((byte) 0); } private qg(byte b) { this.caP = new a(); this.sFm = false; this.bJX = null; } }
import java.io.File; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.util.Scanner; public class FCITgradeBook { public static void main(String[] args) throws FileNotFoundException { File inputFile = new File("FCITgradeBook.in.txt"); File outputFile = new Fi...
package com.yoyuapp.sqlbuilder; public class UpdateSetSegment extends UpdateSql{ public UpdateSetSegment set(SqlColumn column, Object value){ UpdateSetSegment up = new UpdateSetSegment(); up.sb = this.sb; up.params = this.params; up.sb.append(", "); sb.append(column.sb).append(" = ?"); up.params.ad...
package br.com.sistemamedico.config; import br.com.sistemamedico.controllers.PacienteController; import br.com.sistemamedico.daos.PacienteDao; import br.com.sistemamedico.services.PacienteService; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import or...
package de.jmda.app.xstaffr.common.domain; import javax.annotation.Generated; import javax.persistence.metamodel.SetAttribute; import javax.persistence.metamodel.SingularAttribute; import javax.persistence.metamodel.StaticMetamodel; @Generated(value="Dali", date="2018-03-15T10:57:07.385+0100") @StaticMetamode...
package yao.servlet.languageServlet; import yao.bean.Language; import yao.service.LanguageService; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import ja...
package com.ge.smartparking.entity; import java.io.Serializable; import javax.persistence.*; import java.math.BigDecimal; /** * The persistent class for the SEARCH_COUNT database table. * */ @Entity @Table(name="SEARCH_COUNT") @NamedQuery(name="SearchCount.findAll", query="SELECT s FROM SearchCount s") public cl...
package com.geekhelp.service.comment.exception; /** * Created by V.Odahovskiy. * Date 10.02.2015 * Time 7:45 * Package com.geekhelp.service.comment.exception */ public class CommentNotFoundException extends Exception{ public CommentNotFoundException() { super("Comment not found"); } public Co...
/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any la...
package co.jjsolarte.climaapp; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.RecyclerView; import java.u...
package sab.ifunpas.org; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class LoginActivity extends AppCompatActivity { EditText e...
package com.olfu.meis.fragment; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.olfu.meis.R; import com.olfu.meis.adapter.MainPagerAdapter; import com.ol...
// // GCALDaemon is an OS-independent Java program that offers two-way // synchronization between Google Calendar and various iCalalendar (RFC 2445) // compatible calendar applications (Sunbird, Rainlendar, iCal, Lightning, etc). // // Apache License // Version 2.0, January 2004 // http://www.apache.org/licenses/ // /...
package com.home; import java.util.ArrayList; import java.util.Random; import java.util.concurrent.TimeUnit; public class MessageGenerator implements Runnable { private QueueWriter queueWriter = QueueWriter.getInstance(); private int maxPriority; private int delay; private int duration; private in...
package interviews.amazon.oa1.tree; import common.TreeNode; public class MaximumPath { public int minPath(TreeNode root) { if (root == null) return 0; int left = minPath(root.left); int right = minPath(root.right); return Math.max(left, right) + root.val; } }
package com.facebook.react.modules.network; import okhttp3.m; public interface CookieJarContainer extends m { void removeCookieJar(); void setCookieJar(m paramm); } /* Location: C:\Users\august\Desktop\tik\df_rn_kit\classes.jar.jar!\com\facebook\react\modules\network\CookieJarContaine...
package com.petersoft.mgl.leltar; import com.petersoft.mgl.model.Alkatresz; public class Keszlet { private Integer id; private Alkatresz alkatresz; private RaktarHely raktarHely; private Integer darabszam; }
package com.tencent.mm.ui.i; import android.os.Bundle; public interface b$a { void cAp(); void m(Bundle bundle); void onCancel(); }
package com.tencent.mm.plugin.wenote.model.nativenote.b; import android.support.v7.widget.RecyclerView; import com.tencent.mm.plugin.wenote.model.nativenote.manager.WXRTEditText; public interface a { void Bo(int i); void Bp(int i); void Bq(int i); void Br(int i); void Q(int i, long j); vo...
package com.hesoyam.pharmacy.user.exceptions; public class UserPenalizedException extends RuntimeException{ public UserPenalizedException(Long id){ super(String.format("User with ID '%s' has 3 or more penalty points", id)); } }
package com.research.runtime; import org.apache.flink.api.common.restartstrategy.RestartStrategies; import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment; /** * @fileName: ErrorRestartStrategy.java * @description: 错误重启设置 * @author: by echo huang * @date: 2020-03-10 14:31 */ public class Er...
package com.komaxx.komaxx_gl; import javax.microedition.khronos.egl.EGL10; import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.egl.EGLDisplay; import android.opengl.GLSurfaceView; import com.komaxx.komaxx_gl.util.KoLog; import com.komaxx.komaxx_gl.util.RenderUtil; /** * This class e...
package com.cszjkj.aisc.cm_user; public class CmUserApplication { }
package com.Java8特性.StreamAPI; /* * SteamAPI , 用于数据的计算操作,比如对非关系型数据库,提取全部数据,在java层面上对数据进行 * 筛选等操作。本身不存储数据。 * * */ import org.junit.jupiter.api.Test; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.Random; import java.util.stream.IntStream; import java.util.stream.Stream...
package boj1436; import java.util.Scanner; public class Main1 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int count = 0; int value = 665; while(count < n) { value++; if(String.valueOf(value).contains("666")) { count++; } } System...
package com.tencent.mm.plugin.game.ui; import android.content.Context; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.plugin.game.model.an; import com.tencent.mm.plugin.game.model.be; import com.tencent.mm.plugin.game.model.be.a; import com.tencent.mm.plugin.game.model.d; imp...
package com.mes.old.meta; // Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final /** * SDeptRole generated by hbm2java */ public class SDeptRole implements java.io.Serializable { private String drid; private String deptid; private String roleid; public SDeptRole() { } public SDeptRole(String drid, St...
package pl.cwanix.opensun.agentserver.packets.s2c.character; import pl.cwanix.opensun.agentserver.packets.AgentServerPacketOPCode; import pl.cwanix.opensun.commonserver.packets.Packet; import pl.cwanix.opensun.commonserver.packets.annotations.OutgoingPacket; @SuppressWarnings("checkstyle:MagicNumber") @OutgoingPacket...
package com.mideas.rpg.v2.hud.social.discussion; import java.util.ArrayList; import org.lwjgl.input.Mouse; import com.mideas.rpg.v2.FontManager; import com.mideas.rpg.v2.Mideas; import com.mideas.rpg.v2.chat.ChatFrame; import com.mideas.rpg.v2.chat.channel.ChannelMember; import com.mideas.rpg.v2.chat.channel.ChatCha...
package com.java.abs_fact.factory; import com.java.abs_fact.AnimalEnum; import com.java.abs_fact.IAnimal; public class AnimalFactory { public IAnimal getAnimal(FactoryEnumType factoryEnumType, AnimalEnum name) { switch (factoryEnumType) { case LANDANIMALFACTORY: LandAnimalFacto...
package com.syla; import android.app.AlertDialog; import android.app.FragmentManager; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentSender; import android.grap...
package com.ejsfbu.app_main.Fragments; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.ImageButton; import android.widget.ImageView; ...
package com.hxzy.controller.portal; import com.hxzy.common.vo.ResponseMessage; import com.hxzy.service.api.HomeJobTableService; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bin...
package com.tencent.mm.plugin.appbrand.launching; import android.content.Intent; import android.os.Parcel; import android.os.Parcelable.Creator; import com.tencent.mm.plugin.appbrand.ui.banner.AppBrandStickyBannerLogic.b; final class AppBrandLaunchErrorAction$a implements Creator<AppBrandLaunchErrorAction> { AppB...
package misc; import java.util.*; public class TicketCounter { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int t = sc.nextInt(); while (t-- > 0) { int n = sc.nextInt(); int k = sc.nextInt(); // sc.close(); Deque<Integer> q = new ArrayDeque<>(); ...
package me.itsmas.minigames.game.games.test; import me.itsmas.minigames.game.Game; import me.itsmas.minigames.game.phase.phases.game.LastStandingPhase; import me.itsmas.minigames.util.C; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import java.util.ArrayList; imp...
package nl.rug.oop.flaps.simulation.model.cargo; import lombok.AccessLevel; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import javax.swing.*; import java.awt.*; import java.util.Objects; /** * Represents a type of cargo. Note that this does not represent a unit of cargo; it only rep...
package pl.codeworld.jenkinsspringexample; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest; import org.spring...
package com.shiro.pojo; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; public class UserInfo extends BasePojo { private String userInfoId;// 用户信息表id,这个id值和use_p的id是一样的,值是一致的 private String name;// 用户的真姓名 private String cardNo;// 身份证号 private String managerId;// 领导...
package pucrs.java.maven.pets.model; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; import pucrs.java.maven.pets.Pet; import pucrs.java.maven.pets.model.Cat; public class CatTest { Pet garfield; @Before public void setup() { garfield = new Cat("Garf...
package daar; import java.util.ArrayList; import java.util.HashSet; import java.util.List; public class NDFARemoveEpsilon { private int nLignes; private int nColonnes; public List<Integer>[][] ndfaMatrix; public List<Integer>[][] nouveauNdfaMatrix; private int indiceEpsilon = 256; private int indiceInitiale = ...
package com.github.manage.repository.manage; import com.github.manage.common.mapper.MyMapper; import com.github.manage.entity.manage.SysUserRole; import org.apache.ibatis.annotations.Mapper; @Mapper public interface SysUserRoleMapper extends MyMapper<SysUserRole> { }
package com.lhlp.pages.service.impl; import com.lhlp.pages.entity.Manager; import com.lhlp.pages.mapper.ManagerMapper; import com.lhlp.pages.service.ManagerService; import com.lhlp.pages.util.MyBatisUtil; public class ManagerServiceImpl implements ManagerService { private ManagerMapper managerMapper; pu...
package JavaEgzersiz.Operatorler; public class Operatorler { public static void main(String[] args) { // toplam(); // stringVeIntıgerDegerleriToplama(); // atamaVeToplamaOperatoru(); durumOperatorleri(); } public static void toplam() { Integer sayi1 = 15; Inte...
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_payment_collected_file") public class D...
package akademia.ox.exceptions; public class NotEmptyFieldException extends RuntimeException { }
package cn.edu.zucc.music.controller; import cn.edu.zucc.music.Until.Result; import cn.edu.zucc.music.Until.ResultStatus; import cn.edu.zucc.music.model.*; import cn.edu.zucc.music.service.*; import com.alibaba.fastjson.JSONObject; import org.springframework.beans.factory.annotation.Autowired; import org.springframewo...
package com.FCI.SWE.Models; import static org.testng.Assert.assertEquals; import java.util.ArrayList; import org.testng.annotations.Test; public class UserTimelineTest { /*** Failed ***/ @Test public void getUserTimeline() { boolean found = false; if(UserTimeline.getUserTimeline(2) != null) found ...
import java.util.Scanner; import java.lang.*; public class CountOfBits1 { //Write a program to calculate the count of bits 1 in the binary representation //of given integer number 'n'. public static void main(String[] args) { // Read input from the console Scanner reader = new Scanner(System.in); System.o...
package com.example.jbarrientos.bilbapp.Model; /** * Created by jbarrientos on 14/01/17. */ import org.json.JSONException; import org.json.JSONObject; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.HttpURLConnection; import ja...
/** */ package sdo.impl; import java.util.Collection; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; import org.eclipse.emf.ecore.util.EObjectResolvingEList; import sdo.ConfigurationProfile; import sdo.ConfigurationSet; import ...
package com.example.albertusk95.simpleloginapp; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Bu...
package io.flexio.services.api.documentation.ResourcesManager; import io.flexio.services.api.documentation.Exceptions.ResourceNotFoundException; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.junit.rules.TemporaryFolder; import java.io.Input...