text
stringlengths
10
2.72M
package br.ufrgs.rmpestano.intrabundle.plugin; import br.ufrgs.rmpestano.intrabundle.facet.OSGiFacet; import br.ufrgs.rmpestano.intrabundle.i18n.MessageProvider; import br.ufrgs.rmpestano.intrabundle.jasper.JasperManager; import br.ufrgs.rmpestano.intrabundle.metric.MetricsCalculation; import br.ufrgs.rmpestano.intrab...
package com.nic.projectproposal.model; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.SequenceGenerator; import javax.persistence....
/* * 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.printcalculator.enums; /** * * @author LiH */ public enum Price { A4SingleSide_BLACK("0.15"), A4SingleSide_COL...
/* * This file is part of LeagueLib. * LeagueLib 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. * * LeagueLib is distribu...
package com.tencent.mm.plugin.appbrand.appusage; import com.tencent.mm.ab.b; import com.tencent.mm.ab.l; import com.tencent.mm.ab.v.a; import com.tencent.mm.protocal.c.aks; import com.tencent.mm.sdk.platformtools.x; class e$1 implements a { final /* synthetic */ e flm; e$1(e eVar) { this.flm = eVar; ...
/* * Minesweeper Project * by Group3 : Arnaud BABOL, Guillaume SIMMONEAU */ package Model; import View.View; import java.util.LinkedList; /** * * @author simonneau */ public abstract class Model { /** * */ protected LinkedList<View> views; /** * */ public abstract v...
package org.bokontep.wavesynth; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import android.view.WindowManager; public class WaveTableEdit extend...
package controlador; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import javax.persistence.Query; import org.activiti.engine.delegate.DelegateExecution; import org.activiti.engine.delegate.ExecutionListener; impor...
package chapter07; import java.util.Scanner; public class Exercise07_25 { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Enter the values a,b,c: "); double[] array = new double[3]; array[0] = input.nextDouble(); array[1] = input.nextDouble(); array[2]...
package com.tencent.mm.plugin.card.b; import android.content.IntentFilter; import android.location.LocationManager; import com.tencent.map.geolocation.TencentLocationListener; import com.tencent.mm.ab.e; import com.tencent.mm.ab.l; import com.tencent.mm.plugin.card.a.g; import com.tencent.mm.plugin.card.base.b; import...
package com.graphql.test.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotat...
package data; import entityparts.EntityPart; import java.io.Serializable; import java.util.Collection; import java.util.Map; import java.util.UUID; import java.util.concurrent.ConcurrentHashMap; public class Entity implements Serializable { private final UUID ID = UUID.randomUUID(); private UUID ...
package com.yinghai.a24divine_user.module.login; import android.Manifest; import android.content.Context; import android.os.Build; import android.support.annotation.NonNull; import android.support.v4.app.Fragment; import android.telephony.TelephonyManager; import com.example.fansonlib.utils.MyPermissionHelper; import...
package edu.kit.pse.osip.core.io.networking; /** * Class for saving connection and networking details. * * @author Maximilian Schwarzmann * @version 1.0 */ public class RemoteMachine { /** * Saves the hostname. */ private String hostname; /** * Saves the port. */ private int ...
package com.example.matthewtimmons.guessthatsong.Managers; import android.content.Context; import android.content.SharedPreferences; import android.widget.Toast; import com.example.matthewtimmons.guessthatsong.Models.Level; import com.example.matthewtimmons.guessthatsong.R; import java.util.ArrayList; import java.ut...
/* Violet - A program for editing UML diagrams. Copyright (C) 2007 Cay S. Horstmann (http://horstmann.com) Alexandre de Pellegrin (http://alexdp.free.fr); 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 F...
package javapt; import java.text.DecimalFormat; public final class RenderTask implements Runnable { public RenderTask(final Camera camera, final Scene scene, final int samples, final ImageBuffer imageBuffer, final int line) { this.camera = camera; this.scene = scene; this.samples = samples...
/* * 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 data.db; import data.core.api.ApiData; import data.core.api.ApiDatabase; import java.util.HashMap; /** * * @au...
/* * [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.james; import com.james.controller.ProductdatailsController; import com.james.controller.VehicleController; import com.james.pojo.Vehicle; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.ContextConf...
/* * 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.luv2code.springdemo; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * * @aut...
package org.alienideology.jcord.internal.gateway; /** * OPCode - OP Code sent by Discord GateWay server. * @author AlienIdeology */ public enum OPCode { DISPATCH (0), HEARTBEAT (1), IDENTIFY (2), STATUS_UPDATE (3), VOICE_STATE_UPDATE (4), VOICE_SERVER_PING (5), RESUME (6), RECONNECT...
package com.rsm.yuri.projecttaxilivre.map.models; /** * Created by yuri_ on 03/02/2018. */ public class GroupAreas { private Area mainArea, areaVerticalSide, areaHorizontalSide, areaDiagonal; public Area getMainArea() { return mainArea; } public void setMainArea(Area mainArea) { t...
package vc.lang.types; import vc.lang.impl.EvaluationContext; import vc.lang.runtime.ExecException; public abstract class Token { public abstract void eval(EvaluationContext context) throws ExecException; public abstract boolean sameValue(Token other); public abstract byte[] getSymbol(); pu...
package day01; public class SystemOut { public static void main(String[] args) { /* * 코드실행 단축키 - Ctrl + f11 * sysout이라고 적고 Ctrl + space를 누르면 println() 이 자동 생성됩니다. * 되돌리기 Ctrl + z * 정렬 Ctrl + a, Ctrl + i * 코드를 옮길때 alt + 방향키 * 이름을 동시에 변경하고 싶을때 alt + shift + r * */ //1. 개행(줄바꿈...
package biblioteca.negocio.dao; import java.util.ArrayList; import biblioteca.negocio.basica.Autor; public interface AutorDAO { /** * Insere um registro no BD * @param a Objeto contendo todos os dados * @throws ConexaoException * @throws DAOException ...
package Tickets; /** * Enumeration for the number of bits of a system * @author Andress Alkhawand - Hubert Whan Tong * */ public enum Bits { THIRTY_TWO(32), SIXTY_FOUR(64); private int bits; //associates the bit number with the enum //for easier conversion when needed: //ex: SIXTY_F...
package codewarsestd; public class ZeroTrueOrFalse { //https://www.codewars.com/kata/is-it-negative-zero-0/train/java public static boolean isNegativeZero(float n) { if (new Float(n).equals(-0.0f)) { return true; } else { return false; } } public stati...
package com.stem.entity; import java.util.ArrayList; import java.util.List; public class TigerPayExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public TigerPayExample() { oredCriteria = new ArrayList<Criteria>(); ...
package com.core.woucampus.woucampus; /** * Original content from: * George Mathew * http://wptrafficanalyzer.in/blog/route-between-two-locations-with-waypoints-in-google-map-android-api-v2/ * */ public interface Parser { public Route parse(); }
package com.raremile.taglib.common; /** * Interface that defines all the constants used by the application * @author akshyap * */ public interface CommonConstants { public static final String DB_NAME = "dbName"; public static final String DB_HOST = "host"; public static final String DB_PORT = "port"; public...
package com.fundwit.sys.shikra.database; import org.springframework.boot.autoconfigure.jdbc.DataSourceProperties; import org.springframework.stereotype.Service; import org.springframework.util.StringUtils; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.HashMa...
package com.goodhealth.provider.eurake.controller; public class ShutDown { public static void main(String[] args) { String url ="http://127.0.0.1:9090/shutdown"; //该url必须要使用dopost方式来发送 // HttpUtil.doPost(url); } }
package com.springboot.demo.service.Imp; import com.springboot.demo.dao.UserDao; import com.springboot.demo.entity.User; import com.springboot.demo.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.annotation.Resource; impor...
package ru.mrequ.core; public interface Condition<T> { boolean check(T t); }
import java.util.ArrayList; import java.util.Scanner; public class Kaup { private ArrayList<KaupVO> voList = new ArrayList<KaupVO>(); private Scanner scanner = new Scanner(System.in); private ArrayList<String> voKaupList = new ArrayList<String>(); public void doService(){ String cmd = "y"; ...
package MyFirstApp.Util; import MyFirstApp.AppMessages.Root; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; @Repository...
package org.kazminov.myttssample.org.kazminov.tts; import android.content.Context; import android.media.AudioManager; import android.os.Handler; import android.speech.tts.TextToSpeech; import android.speech.tts.UtteranceProgressListener; import android.support.annotation.MainThread; import android.util.Log; import and...
package views; import org.eclipse.swt.widgets.Dialog; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.TableItem; import java.sql.ResultSet; import java.sql.SQLException; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Label; import org.eclipse.s...
package com.maintain.view; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.PorterDuff.Mode; import android.graphics.PorterD...
package com.huhurezmarius.worldmap.repository; import com.huhurezmarius.worldmap.model.NamedZone; import com.huhurezmarius.worldmap.response.NamedZonesResponse; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Rep...
package com.mundo.data; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.context.ApplicationContext; import org.springframework.test.context.junit4.SpringRunner; import javax.annotation.Resource; /...
package artbot.com.sistemainspector.adapter; import android.app.Activity; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.ArrayList; ...
package br.com.tomioka.vendashortalicas; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class VendasHortalicasApplication { public static void main(String[] args) { SpringApplication.run(VendasHortalicasApplicat...
package q0437_binaryTree_Recursion; class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int x) { val = x; } } public class PathSum3 { /** 给定一个二叉树,它的每个结点都存放着一个整数值。 找出路径和等于给定数值的路径总数。 路径不需要从根节点开始,也不需要在叶子节点结束,但是路径方向必须是向下的(只能从父节点到子节点)。 二叉树不超过1000个节点,且节点数值范围是 [-1000000,1000000] 的整数。 ...
package model.dao; import java.util.List; import model.entidades.Vendedor; public interface VendedorDao { void insertVendedor(Vendedor vendedor); void updateVendedor(Vendedor vendedor); void deletarVendedorPeloId(Integer id); Vendedor localizarVendedorPeloId(Integer id); List<Vendedor> listarTodosOsVendedores(...
package com.tencent.mm.ui.tools; import android.app.Activity; import android.os.IBinder; import android.os.Looper; import android.support.v4.app.FragmentActivity; import android.support.v4.view.m; import android.support.v4.view.m.e; import android.view.KeyEvent; import android.view.Menu; import android.view.MenuItem; ...
package net.plazmix.core.api.spigot.inventory.paginator; /** * @author MasterCapeXD */ public enum PaginatorType { GLOBAL, PERSONAL, NONE }
package loops; import java.util.Scanner; public class primenum { public void prime(){ int i,n,m,flag=0; Scanner pr = new Scanner(System.in); System.out.println("Please enter n value:-"); n =pr.nextInt(); m = n/2; if(n==0 || n==1){ System.out.println(n+ ...
package com.yixin.web.aop; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.google.common.collect.Maps; import com.yixin.common.utils.InvokeResult; import com.yixin.common.utils.JsonObjectUtils; import com.yixin.dsc.common.exception.BzException; import com.yixin.dsc.util.DateUtil; i...
package com.example.lenovo.medleybranch; public class Customer_Bill { String billID; String CarID; String billDate; String nextDate; String meterReading; public Customer_Bill() { } public Customer_Bill(String billID, String carID, String billDate, String nextDate, String meterReading)...
package com.example.tagebuch.model.dao; import androidx.room.Dao; import androidx.room.Delete; import androidx.room.Insert; import androidx.room.Query; import androidx.room.Update; import com.example.tagebuch.model.pojo.Pensamiento; import java.util.List; @Dao public interface PensamientoRoomDAO { @Query("SELEC...
package constantes; public enum Carta { ///ENUM OURO,ESPADAS,PAUS,COPAS // CONSTANTES }
package com.saaolheart.mumbai.masters.invoice; import java.util.List; import java.util.Optional; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface InvoiceTypeMasterRepo extends JpaRepository<InvoiceTypeMaster,Long>{ }
package com.youtalkwesign.service; import java.net.URL; import java.util.ArrayList; import java.util.List; import javax.transaction.Transactional; import org.apache.commons.io.IOUtils; import org.json.JSONObject; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ste...
package me.alven.checker.util; import java.util.Arrays; import java.util.List; import org.bukkit.Bukkit; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class Check { public static String PlFirstAlias() { if(FileManager.getConfig().getStringList("Main.Aliases").isEmpty()) return...
package banyuan.day07.package02; /** * @author 陈浩 * @date Created on 2019/10/30 * 制作一个销售首饰的公司类。 * 属性: * 一个保存员工的数组。 * 方法: * 1, 添加一个员工。 * 2, 通过员工的名字来删除员工。 * 3, 通过员工的名字来显示员工的工资。 * 4, 输出所有员工的工资和。 */ public class Compay { String[] Person = new String[10]; public Compay() { } public static ...
package com.example.vohonglam.miniproject; import android.content.Intent; import android.media.MediaPlayer; import android.os.Bundle; import android.app.Activity; import android.view.View; public class Gift3 extends Activity { private MediaPlayer player; @Override public void onCreate(Bundle savedInstanc...
import java.util.concurrent.TimeUnit; import org.junit.After; import org.junit.Before; //import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.support.ui.WebDriverWait; public class BaseTest { protected WebDriv...
package com.yuyutx.stack; import java.util.Stack; /** * @author jun * @date 2020-11-10 06:21 * @description * * 使用一个栈实现另一个栈的排序,从顶到底从大到小 * * 思路 * 1.只要新建的栈里的元素是从从大到小的入栈,然后再弹出到原来的空栈,那原来的栈从顶到底就是从大到小排列 * 2.当原来的待排序的栈不为空时,弹出栈顶元素,当新建的辅助栈不为空,而且栈顶元素小于弹出值时,将辅助栈元素弹出压入待排序战。 * 3.待排序栈不为空时,弹出的元素一直压入辅助栈 */ public class MyS...
package com.dil.firstproj; import java.util.Locale; import org.junit.Before; import org.junit.Test; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.MockitoAnnotations; import org.springframework.context.i18n.LocaleContextHolder; import org.springframework.test.w...
package com.ssp; import org.junit.jupiter.api.Test; import java.util.*; public class Solution { }
package pe.egcc.cursoapp.service.implementacion; import java.util.ArrayList; import java.util.List; import pe.egcc.cursoapp.dto.ProductoDto; import pe.egcc.cursoapp.service.contrato.CursoService; public class CursoServiceImpl implements CursoService { @Override public String[] getListaCategoria() { r...
package com.example.remi.bluetoothspike; import android.bluetooth.BluetoothDevice; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.ArrayList; import java.util.List; /** * Crea...
package lt.kaunascoding.web.model.mysql.classes; import lt.kaunascoding.web.model.mysql.interfaces.ITable; import java.sql.Date; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; public class User implements ITable{ private int id; private String nickname; private Strin...
package presentacion.controlador.command.CommandFactura; import negocio.factorias.FactorySA; import negocio.factura.SAFactura; import negocio.lineadefactura.TLineaDeFactura; import presentacion.contexto.Contexto; import presentacion.controlador.command.Command; import presentacion.eventos.EventosFactura; /** * The C...
/** * original(c) zhuoyan company * projectName: java-design-pattern * fileName: MementoTest.java * packageName: cn.zy.pattern.memento * date: 2018-12-26 22:00 * history: * <author> <time> <version> <desc> * 作者姓名 修改时间 版本号 描述 */ package cn.zy.pattern.mement...
package com.qw.springboot.web; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class IndexController { @RequestMapping("/index") public String index() { return "admin/index"; } @RequestMapping("/") public String example() { ...
package model.impl; import java.util.List; import java.util.Vector; import model.AccessPoint; import model.AccessPointNetwork; import model.GridPoint; import model.Level; import model.Plan; import model.SensorNode; public class AccessPointNetworkImpl implements AccessPointNetwork { //private Vector<AccessPoint> ac...
package com.ethercamp.starter.Solidity; import java.io.IOException; import java.util.HashMap; public class SolcCompilerJniWrapper implements ISolcCompiler { static { System.loadLibrary("solidity"); } public native byte[] compileNative();//???? @Override public void setSource(String s...
package SvgPac; import java.awt.geom.Point2D; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.ArrayList; public class SvgPointArray extends ArrayList<Point2D.Float> { private static final long serialVersionUID = -71189363256...
package com.mideas.rpg.v2.hud.auction.old; public enum AuctionFrameTab { BROWSE, BIDS, AUCTIONS, ; }
public class Kodu1{ public static double[] arvudeks(String[] andmed){ double[] arvud=new double[andmed.length]; for(int i=0; i<2; i++){ arvud[i]=Double.parseDouble(andmed[i]); } return arvud; } public static double hüpotenuus(double[] arvud){ double hüpote...
package com.bitbus.fantasyprep.player; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.OneToMany; import javax.persistence.OneToOne; imp...
package com.zihui.cwoa.processone.service; import com.zihui.cwoa.financial.pojo.RoleAllUser; import com.zihui.cwoa.processone.dao.HumanMapper; import com.zihui.cwoa.system.pojo.sys_users; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cache.annotation.CacheConfig; impo...
package com.lec.ex01_store; //2호점: 김치찌개-5,000 부대찌개-5,000 비빔밥-5,000 순대국-5,000 공기밥-무료 public class StoreNum2 implements HeadQuarterStore { private String name; public StoreNum2(String name) { this.name = name; } //override-재정의; 부모클래스의 메소드를 재정의 //overload 중복정의; 매개변수의 수나 타입으로 같은 이름의 함수를 중복 정의 @Override public ...
package testcase; import converter.ConverterDateTimestamp; import converter.ConverterDateTimestamp2; import es.utils.mapper.Mapper; import es.utils.mapper.exception.MappingException; import es.utils.mapper.exception.MappingNotFoundException; import from.ConverterFrom; import from.From; import from.FromWithConverter; i...
package com.example.mjunior.fiapimoveis.modelo; import java.io.Serializable; public class Imovel implements Serializable{ private Long id; private String contato; private String endereco; private String tipo; private Double nota; public Long getId() { return id; } public void...
/* * 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 Tank_Game.GameFiles; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; import ja...
package cn.canlnac.onlinecourse.domain.interactor; import javax.inject.Inject; import cn.canlnac.onlinecourse.domain.executor.PostExecutionThread; import cn.canlnac.onlinecourse.domain.executor.ThreadExecutor; import cn.canlnac.onlinecourse.domain.repository.CommentRepository; import rx.Observable; /** * 获取指定评论使用用例...
package com.example.covid_19.Screen; import androidx.appcompat.app.AppCompatActivity; import androidx.cardview.widget.CardView; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import android.widget.Toast; import com...
package com.sinotao.util.spring; import javax.servlet.ServletContext; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.web.context.ServletContextAware; /** * * 功能描述: 以静态变量保存Spring ApplicationContext, 可在任何代码任何地方任何时候中取出Appl...
package Controlador; import Modelo.Personal; import Modelo.PersonalDAO; import Modelo.Usuario; import java.io.IOException; import java.io.PrintWriter; import java.sql.Date; import java.time.LocalDate; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.servlet.RequestDispatcher; import ...
package com.jy.Rabbit; import org.springframework.amqp.rabbit.annotation.RabbitHandler; import org.springframework.amqp.rabbit.annotation.RabbitListener; import org.springframework.stereotype.Component; @Component @RabbitListener(queues = "q_hi") public class Recevier { @RabbitHandler public void Recevi...
/******************************************************************************* * Copyright (C) 2013, 2014, International Business Machines Corporation * All Rights Reserved *******************************************************************************/ package com.ibm.streamsx.jms.exceptions; /** * This class...
package com.toggleable.morgan.jeremyslist.ui; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.Menu; import android.vi...
package edu.spring.springbootyaml.service; import edu.spring.springbootyaml.config.ApplicationVersion; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; @Service public class PrintInfoService { private final String version; private final String buildNum...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the te...
package algorithm.APSS.stakQueueDequeue; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Stack; /** * 입력을 고려하지 못했다. * 처음 입력이 ),},] 일 경우도 생각해야 한다. */ public class Brackets2 { static boolean isCorrect(String str) { Stack<Character> st = new St...
package com.jack.jkbase.config; import java.util.Properties; import org.apache.shiro.authc.credential.HashedCredentialsMatcher; import org.apache.shiro.crypto.hash.Md5Hash; import org.apache.shiro.crypto.hash.SimpleHash; import org.apache.shiro.spring.web.config.DefaultShiroFilterChainDefinition; import org.apache.sh...
package com.espendwise.manta.web.tags; import java.io.Serializable; import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.servlet.jsp.JspException; import javax.servlet.jsp.tagext.BodyTagSupport; import javax.servlet.jsp.tagext.TagSupport; import org.apache.log4j.L...
package com.example.iutassistant.NewActivities; import androidx.appcompat.app.AppCompatActivity; import androidx.cardview.widget.CardView; import android.content.Intent; import android.os.Bundle; import android.view.View; import com.example.iutassistant.R; public class New_Attendence_Teacher extends AppCompatActivi...
package com.example.myapplication.app; import android.Manifest; import android.annotation.SuppressLint; import android.app.ActivityManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.os.Build; import ...
/** **************************************************************************** * Copyright (c) The Spray Project. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
package com.stringprograms; public class StringLogicQuestion { public static void main(String[] args) { // TODO Auto-generated method stub String str = "a,b,c,d,+,-,*"; str=str.replaceAll(",", ""); String s1 = str.replaceAll("[^a-z]", ""); System.out.println(s1); String s2 = str.replaceAll("[a-z...
package org.training.controller.commands.authorization; import org.training.constants.URIConstants; import org.training.controller.commands.Command; import org.training.model.entities.User; import org.training.service.UserService; import org.training.service.impl.UserServiceImpl; import javax.servlet.http.HttpServlet...
package com.tencent.mm.plugin.appbrand.ui; import android.content.Intent; import android.view.MenuItem; import com.tencent.mm.plugin.appbrand.jsapi.op_report.AppBrandOpReportLogic.AppBrandOnOpReportStartEvent; import com.tencent.mm.plugin.appbrand.n; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.ui....
package com.apprisingsoftware.xmasrogue.io; import com.apprisingsoftware.util.ArrayUtil; import com.apprisingsoftware.xmasrogue.util.Coord; import java.awt.Color; import java.util.Collection; import java.util.Collections; public final class LabelScreen implements AsciiScreen { public enum Alignment { LEFT, RIG...
import java.util.ArrayList; /* * 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. */ /** * Program written by Joseph Straceski. * @author Joseph Straceski * Contact at web: <https://gith...
package com.hk.movie.feign; import com.hk.config.UserFeignConfiguration; import com.hk.user.vo.UserVo; import feign.Param; import feign.RequestLine; import org.springframework.cloud.netflix.feign.FeignClient; /** * @author huangkai * @date 2018-6-4 20:25 */ @FeignClient(value = "user-service", configuration = User...