text
stringlengths
10
2.72M
package com.sula.service.impl; import com.jfinal.plugin.activerecord.Db; import com.jfinal.plugin.activerecord.Page; import com.jfinal.plugin.activerecord.Record; import com.sula.service.SubInfoService; import com.sula.util.Status; public class SubInfoServiceImpl implements SubInfoService { /** * (non-Javadoc) ...
package org.corbin.common.entity; import lombok.Data; import org.corbin.common.base.entity.BaseEntity; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; import org.springframework.data.jpa.domain.support.AuditingEntityListener; import javax.persistence.Column; import java...
package com.toshevski.android.shows.pojos; public class Keys { public static String contentType = "aplication/json"; public static String apiVersion = "2"; public static String apiKey = "44852dfd06e564559ffda22f37bc74bff05c76019096ac56278df9af1967ee07"; public static String searchLinkBeforeName = "http...
package ba.bitcamp.LabS02D05; public class KorisnikUnosiDvaBrojaIspisIzmedju { public static void main(String[] args) { System.out.print("Unesite prvi broj: "); int broj1 = TextIO.getlnInt(); System.out.print("Unesite drugi broj: "); int broj2 = TextIO.getlnInt(); while (broj1 <= broj2) { System.out.print...
package me.luliru.gateway.core.process.processor; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import lombok.extern.slf4j.Slf4j; import me.luliru.gateway.core.RequestContext; import me.luliru.gateway.core.enums.CodeEnum; import me.luliru.gateway.core.exception.OpenGatewayException; import ...
import org.junit.Before; import org.junit.Test; import org.junit.Assert; public class testPersona { private Persona Logan; private Infecciosa malaria,otitis; private Autoinmune lupus; @Before public void inicializarPersona(){ Logan = new Persona(3000000,36); } @Before public void inicializarEnfermedad...
/** * */ package mas2019.group8; import java.util.ArrayDeque; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import mas2019.group8.help_components.TheFawkes.TheFawkes_OMS; import genius.core.bidding.BidDetails; import genius.core.boaframework.NegotiationSession;...
import java.util.Scanner; /** * Write a program that enters an array of strings and finds in it the largest sequence of equal elements. * If several sequences have the same longest length, print the leftmost of them. * The input strings are given as a single line, separated by a space */ public class LargestSequen...
package com.teemo.sbmp.service.impl; import com.teemo.sbmp.entity.UserVip; import com.teemo.sbmp.mapper.UserVipMapper; import com.teemo.sbmp.service.IUserVipService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; /** * <p> * 服务实现类 * </p> * * @a...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package co.th.aten.network.entity; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.pe...
package org.alienchain.explorer.dto; public class BlockDTO { private Long num; private String hash; private String witnessAddress; private int size; private String parentHash; private int txCount; private long timestamp; public Long getNum() { return num; } public void setNum(Long num) { ...
/** * Helios, OpenSource Monitoring * Brought to you by the Helios Development Group * * Copyright 2007, Helios Development Group and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free softw...
package com.koreait.mvc11.command; import java.util.ArrayList; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ui.Model; import com.koreait.mvc11.dao.BoardDao; import com.koreait.mvc11.dto.BoardDto; public class BoardListCommand implements BoardCommand { // Fi...
package info; import java.util.UUID; import com.example.bluetoothcarv1.R; public interface _info { // _onActivityResult int REQUEST_CODE = 1; //bluetooth uuid UUID _uuid = UUID .fromString("00001101-0000-1000-8000-00805F9B34FB"); //tag message String[] tagMsg = { "link to bluetooth","control to car"}; in...
import utils.IntTree; import java.util.Arrays; public class IntTreeTest { public static void main(String[] args) { IntTree t = new IntTree(5); System.out.println(t); for (int i=1; i<=4;i++){ t.insert(i); System.out.println(t); } System.out.println("t = " + t); System.out.println("t.contains(8) ?= "...
package com.huashun.lockerrobot; public class Bag { private SizeType sizeType; public Bag(SizeType sizeType) { this.sizeType = sizeType; } public SizeType getSizeType() { return sizeType; } }
package com.lxd.gpstrack.Entiy; import android.graphics.PointF; public class TrackLink { private int id; private PointF start; private PointF end; private float trackLinkPxLength;//保存连接线的屏幕显示长度, private float trackLinkLength;//保存实际上的连接线轨道长度 private String oneLinkOne; //保存连接的两条直线 public i...
/* * Created on Nov 07, 2016 * * To change the template for this generated file go to * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments */ package it.usi.xframe.xas.security; import it.usi.xframe.xas.servlet.ServletParameters; import it.usi.xframe.xas.servlet.Sms; import java.io.IOException...
package com.example.reportdemo; import android.content.Context; import android.graphics.Rect; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentActivity; import androidx.fragment.app.FragmentMa...
package com.rofour.baseball.dao.activity.bean; import java.io.Serializable; import java.util.Date; public class AcctPolicyVoucherBean implements Serializable { private static final long serialVersionUID = -5123266529071234648L; private Long voucherId; private Integer policyId; private Long userId; private In...
package com.example.spring.beans; public class ConstructorReferenceBeanA { ConstructorReferenceBeanB constructorReferenceBeanB; public ConstructorReferenceBeanA(ConstructorReferenceBeanB constructorReferenceBeanB) { this.constructorReferenceBeanB = constructorReferenceBeanB; System.out....
package application.minor; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.location.Geocoder; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v4.content.ContextCompat; import android.view.View; import andr...
package com.volkswagen.ditox; import org.codehaus.plexus.util.FileUtils; import org.junit.Assert; import org.junit.Test; import java.io.IOException; import static org.junit.Assert.assertEquals; public class StringUtilTest { private static final String USER_DIR = "user.dir"; @Test public void changeFirstCharakterTo...
package com.etar.purifier.modules.firmware.jpa; import entity.firmware.Firmware; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.domain.Specification; import org.springframework.data.jpa.repository.JpaRepository; import org.springframewo...
package swexpert; import java.util.Arrays; import java.util.Scanner; public class SWEA_2005_D2_파스칼의_삼각형 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); StringBuffer sb = new StringBuffer(); int TC = sc.nextInt(); for (int i = 1; ...
package saleTicket; public class Saler { /* 经典企业级例子一: 这个例子是用来说明:多个线程操纵资源类,如何做到同步。 就像买票一样,不同的售卖者对票的处理应该是一致性的。 */ public static void main(String[] args) { Ticket ticket = new Ticket(); // 这是通过传入一个runnable // runnable 通过内部类实现 new Thread(() -> { while(t...
package com.ojas.employee.controller; 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.PostMapping; import org.springframework.web.bind.an...
package com.saaolheart.mumbai.security; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.saaolheart.mumbai.security.domain.User; @Repository(value = "userRepository") public interface IUserRepository extends JpaRepository<User, String> { ...
package com.Python; import java.io.IOException; import java.util.Scanner; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet("/PythonServlet")...
package interview.library.model; public enum PersonRoles { REGISTERED_USER, ADMIN; }
package com.gtfs.service.interfaces; import java.io.Serializable; import java.util.Date; import java.util.List; import com.gtfs.bean.BranchMst; import com.gtfs.bean.LicBrnhHubPicMapDtls; import com.gtfs.bean.LicHubMst; import com.gtfs.bean.LicOblApplicationMst; import com.gtfs.bean.LicRequirementDtls; import com.gtfs...
package net.sssanma.mc.data.user; public final class UserBadge { private Badge badge; private long earnedTime; public UserBadge(Badge badge, long earnedTime) { this.badge = badge; this.earnedTime = earnedTime; } public Badge getBadge() { return badge; } public lon...
package com.project.service.impl; import java.util.HashMap; import java.util.List; import org.apache.ibatis.session.SqlSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.project.dto.DefaultData; import com.project.mapper.DashboardMappe...
package com.omdbapi.model; import android.provider.BaseColumns; import android.support.annotation.RequiresPermission; import android.webkit.WebResourceError; /** * Table Contract * Created by agrip on 29-Dec-16. */ public interface OmdbMovieTableContract extends BaseColumns{ String TABLE_NAME = "Omd...
package org.ms.iknow.service.file; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; import org.ms.iknow.service.type.StatementEntry; import java.util.List; public class FileImporterServiceTest { FileImporterService fis = null; public static final String FILE_PATH = "src/test/r...
package org.sankozi.rogueland.model; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables; import com.google.common.collect.Sets; import java.util.Arrays; import java.util.Collection; import java.util.EnumMap; import java.util.Set; import org.apache.logging.log4j.*; import org.sank...
package com.espendwise.manta.web.tags; import com.espendwise.manta.util.AppResourceHolder; import com.espendwise.manta.util.ClassField; import com.espendwise.manta.util.Constants; import com.espendwise.manta.util.Utility; import com.espendwise.manta.web.util.AppI18nUtil; import org.apache.log4j.Logger; import javax....
package testBUilder; public class Currency { private String name = ""; private Double value; private int antall; private int idx; public Currency(String i_name, Double i_value){ name = i_name; value = i_value; } public Currency(String i_name, int i_antall){ name = i_name; antall = i_antall; } pu...
package com.android.medicaladvisor.backend; import java.util.ArrayList; public interface RetrievingRepository<T> { interface RetrievingRepositoryCallback<T> { void onRetrievingDataSuccessfully(ArrayList<T> list); void onRetrievingDataFailed(String errmsg); } void retrieveAllData(Retrie...
package polydungeons.block.entity; import net.minecraft.block.entity.BlockEntityType; import net.minecraft.util.Identifier; import net.minecraft.util.registry.Registry; import polydungeons.PolyDungeons; import polydungeons.block.PolyDungeonsBlocks; import polydungeons.block.entity.relic.SamplerRelicBlockEntity; publi...
package TrabalhoFinal; import java.awt.EventQueue; import javax.swing.DefaultListModel; import javax.swing.JFrame; import javax.swing.JList; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JPasswordField; import javax.swing.JButton; import java.awt.event.ActionListener; import java.awt....
package ua.project.protester.repository.library; import ua.project.protester.exception.LibraryNotFoundException; import ua.project.protester.model.Library; import ua.project.protester.utils.PaginationLibrary; import java.util.List; import java.util.Optional; public interface LibraryRepository { void createLibrar...
import java.util.*; public class sortString { public static String sortString(String inputString) { char tempArray[] = inputString.toCharArray(); Arrays.sort(tempArray); return new String(tempArray); } public static void main(String[] args) { Sys...
/* * 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.harry.controller; import com.harry.model.UserChoice; import static com.harry.startup.SystemClient.SERVER_IP; import com.ha...
package cpracticeC; public class a9 { public static void main(String[] args) { // 배열 생성 String[] names = { "Elena", "Suzie", "John", "Emily", "Neda", "Kate", "Alex", "Daniel", "Hamilton" }; int[] scores = { 65, 74, 23, 75, 68, 96, 88, 98, 54 }; // 1등 인덱스 검색 int i = topIndex(scores); // 결과 출력 System.o...
package com.example.zhubangshopingtest1.home.fragment; import android.graphics.Color; import android.util.Log; import android.view.Gravity; import android.view.View; import android.widget.TextView; import com.example.zhubangshopingtest1.R; import com.example.zhubangshopingtest1.base.BaseFragment; public class Circle...
package com.sam_chordas.android.stockhawk.data; import net.simonvt.schematic.annotation.Database; import net.simonvt.schematic.annotation.Table; import java.util.ArrayList; /** * Created by Felix Huang **/ public class WidgetDatabase { public static ArrayList<StockItem> stockArr = new ArrayList<StockItem>(); ...
package com.example.plasticcabinets.controller; import com.example.plasticcabinets.repository.ImageProductRepository; import com.example.plasticcabinets.repository.ProductsRepository; import com.example.plasticcabinets.repository.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import org...
package com.hakim.registration.validators; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator; import com.ha...
package com.ace.easyteacher.Adapter; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.ace.easyteacher.DataBase.Note; import com.ace.easyteacher.R; import com.ace.easyteacher.View.Mater...
package com.dkwig0.yeybook.jpa.repositories; import com.dkwig0.yeybook.jpa.entities.User; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface UserRepository...
package com.tencent.mm.plugin.appbrand.jsapi.media; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import com.tencent.mm.plugin.appbrand.ipc.AppBrandMainProcessService; import com.tencent.mm.plugin.appbrand.jsapi.media.JsApiUploadEncryptedFileToCDN.JsApiUploadEncryptedM...
package br.org.funcate.glue.model; /** \file UserType.java * This file contains the types of the users */ /** * \brief UserType In this class are defined the possible types of users. * \author André Gomes de Oliveira \author Paulo Renato Morais Oliveira */ public enum UserType { /** < enum value Admin. > */ ...
package paiva.pedro.at_desenvolvimento_android.Model; public class TaskModel { private String titulo; private String data; public String getData() { return data; } public void setData(String data) { this.data = data; } public String getTitulo() { return titulo; ...
package com.jayqqaa12.mobilesafe.ui.software; import android.os.Bundle; import com.jayqqaa12.abase.core.activity.AbaseActivity; import com.jayqqaa12.mobilesafe.R; public class ApkActivity extends AbaseActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
package com.greenglobal.eoffice.api.controllers; import java.net.URI; import java.util.List; import com.greenglobal.eoffice.domain.application.congvandi.commands.CongVanDiCmdHandler; import com.greenglobal.eoffice.domain.application.congvandi.commands.create.CreateCongVanDiCmd; import com.greenglobal.eoffice.domain.a...
package com.test; /** * @author peng.jiang@hand-china.com */ public class Test4 { }
import java.awt.*; import java.awt.event.*; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; import javax.swing.*; public class graphicAsteroid extends JPanel{ private int height; private int laneX; private int radius; private int speed...
package exponent; public class exponent { public double exponentXN(double x,double n) { return n*Math.pow(x,n-1); } public double exponentAN(double a ,double n) { return Math.pow(a,n)*Math.log(a)/Math.log(Math.E); } }
package com.cts.projectManagement.repository; import java.util.List; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import com.cts.projectManagement.entity.Project; @Repository public interface ProjectRepository extends CrudRepository<Project,Long>{ Lis...
package com.mfm_app.services; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.mfm_app.entities.Exercise; import com.mfm_app.entities.PrimaryBodypartList; import com.mfm_app.repo.PrimaryBodypart...
package com.example.girlswhocode.test; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class Citations extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.la...
package lesson30.hw2lastedition; import java.util.HashSet; import java.util.Set; public class ProjectDAO { private static ProjectDAO instance; public static ProjectDAO getInstance() { if (instance == null) { instance = new ProjectDAO(); } return instance; } priv...
package com.j2.factory.shape; public class ShapeTestDrive { public static void main(String[] args) { ShapeDimension twodimension = new TwoDimension(); ShapeDimension threedimension = new ThreeDimension(); Shape shape = threedimension.orderShape("triangl...
package com.tt.miniapp.msg.navigation; import android.text.TextUtils; import com.tt.frontendapiinterface.b; import com.tt.miniapp.AppbrandApplicationImpl; import com.tt.miniapp.WebViewManager; import com.tt.miniapp.util.NavigationBarUtil; import com.tt.miniapphost.AppBrandLogger; import com.tt.miniapphost.Appb...
package control; import java.io.IOException; import java.sql.SQLException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import model.BoardService; import model.MemberVO; import model.ReplyVO; public class Replyinsert...
package gov.samhsa.c2s.pcm.service; import gov.samhsa.c2s.pcm.service.dto.AbstractProviderDto; import gov.samhsa.c2s.pcm.service.dto.IdentifierDto; import org.springframework.transaction.annotation.Transactional; import java.util.List; import java.util.Set; public interface ProviderService { @Transactional v...
package boj1427; import java.util.Scanner; //버블정렬 public class Main { public static String input; public static int[] arr; public static StringBuilder sb; public static void main(String[] args) { setInputData(); createArr(); initializeArr(); doBubbleSort(); printArr(); } public static void setI...
package com.roksagmail.bd_lab4; /** * Created by vovat on 11.05.2017. */ public class Contact { public final static String DATABASE_NAME="mydb"; public final static int DATABASE_VERSION=1; public final class TABLE_RECORDS { final public static String TABLE_NAME="records"; final public st...
package jie.android.ip.screen.play; import java.util.ArrayList; import jie.android.ip.common.actor.ButtonActor; public final class Cmd { public enum Type { NONE, RUN, CLEAR, MENU, BREAK, DEBUG, DEBUG_OVER, BACK, INFO, SETTING, CLOSE, ENABLE_DEBUG, SHARE, NEXT, BACK2, CLOSE2; public int getId() { ...
package GUI; import Backbone.HelpTextFactory; import Backbone.JSONManager; import DataStructures.GraphicData; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.geometry.Pos; import javafx.scene.Group; import javafx.scene.Scene; import javafx.sce...
package com.easy.abir.launcher; import android.content.Context; import android.content.Intent; import android.graphics.drawable.Drawable; import android.support.annotation.NonNull; import android.support.v7.widget.CardView; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import andro...
package org.wikipedia.test; import org.wikipedia.PageTitle; import org.wikipedia.Site; import org.wikipedia.WikipediaApp; import org.wikipedia.search.FullSearchResult; import org.wikipedia.wikidata.WikidataCache; import org.wikipedia.wikidata.WikidataDescriptionFeeder; import android.content.Intent; import android.tes...
public class ReviewQuestion04 { long x = 10; int y = 2 * x; // A // No change, it compiles as is // B // Cast x on line 4 to int // C // Change the data type of x on line 3 to short // D // Cast 2 * x on line 4 to int // E // Change the data type of y on line 4 to short // E // Change the data type of y on line ...
package hospital.model; import java.util.List; import hospital.data.Saveable; import hospital.util.StringUtil; public class Recipe implements Document, Saveable{ private boolean signed; private Doctor doctor; private List<Drug> drugs; private int id; public Recipe(List<Drug> drugs) { signed = false; id ...
import java.util.Vector; public class OgreMaze { public static final String _input = "@@........" + "@@O......." + ".....O.O.." + ".........." + "..O.O....." + "..O....O.O" + ".O........" + ".........." + ".....OO..." + ".........$"; ...
package com.rectus29.nimmt.enums; public enum State { WIP, CLOSED, WAITUSERACTION; }
package club.eridani.cursa.tasks; import club.eridani.cursa.concurrent.task.VoidTask; public enum Tasks { LoadConfig(new ConfigOperateTask(ConfigOperateTask.Operation.Load)), SaveConfig(new ConfigOperateTask(ConfigOperateTask.Operation.Save)); public VoidTask task; Tasks(VoidTask task) { th...
package com.niit.designerswear; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import...
package com.duanxr.yith.midium; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; /** * @author 段然 2021/9/24 */ public class RankTeamsByVotes { /** * In a special ranking system, each voter gives a rank from...
package colorswitch; public class SlowDown extends Item { private boolean used; private double timeSinceSlowDown; private Player joueur = new Player(0,0,0); public SlowDown(double x, double y) { super(x, y); this.used = false; timeSinceSlowDown = 0; this.re...
package com.bearsonsoftware.list.ui; import android.app.Activity; import android.app.FragmentManager; import android.appwidget.AppWidgetManager; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.v...
/* * 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 ma...
package com.wechat.testcase; import com.sun.org.glassfish.gmbal.Description; import io.restassured.response.Response; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static io.restassured.RestAssured.given; import static org.ha...
package com.espendwise.manta.model.data; // Generated by Hibernate Tools import com.espendwise.manta.model.TableObject; import com.espendwise.manta.model.ValueObject; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.pe...
package com.ifre.controller.brms; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.jeecgframework.core.common.controller.BaseController; import org.jeecgframework.core.common.hiber...
package Pages; import java.util.List; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindAll; import org.openqa.selenium.support.FindBy; public class NewCustomerPage { @FindBy(linkText = "New Customer") public WebElement newCustomerField; @FindBy(name = "name") public Web...
import java.util.*; class InfixExperssion { private static Stack<Integer> snum = new Stack<>(); private static Stack<Character> soper = new Stack<>(); private static int getOperPriority(char c) { switch (c) { case '{': case '[': case '(': return 4; ...
package com.smxknife.springboot.v2.learn._03_AutowireCapableBeanFactory; import com.smxknife.springboot.v2.learn.common.C; import org.springframework.beans.factory.config.AutowireCapableBeanFactory; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * @author smxknife * 2021/2/6 */ publ...
package com.penzias.core.constant; public class ErrorConstant { public static int USER_PWD_ERROR = 401; public static int OPERATION_SUCCESS = 200; public static int OPERATION_ERROR = 400; }
package com.yeahbunny.stranger.server.controller.dto.response; public class RegistrationResponse { private long newUserId; private String info; public RegistrationResponse() { } public long getNewUserId() { return newUserId; } public void setNewUserId(long newUserId) { this.newUserId = newU...
package com.bancofuturo.util; import java.util.EnumSet; /** * User: sergio <br/> * Date: 12/18/20 <br/> * Time: 7:12 PM <br/> * * @author Sergio Cadena */ public enum Urgency { MUY_ALTA("Muy Alta", Range.of(31, 100)), ALTA("Alta", Range.of(21, 30)), MEDIA("Media", Range.of(10, 20)), BAJA("Baja",...
package com.salesianos.dam.apirest; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SalesianosApplication { public static void main(String[] args) { SpringApplication.run(SalesianosApplication.class, args);...
package com.frank.service; import com.frank.bean.Vid_comment; import java.util.List; /** * Created by 啸 on 2017/5/28. */ public interface Vid_commentService { public List<Vid_comment> findCommentsByTopicId(int topicId); public void addComments(Vid_comment comment); public void likeComment(i...
package com.login; import java.lang.ProcessBuilder.Redirect; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpEntity; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.spr...
package com.uoeracing.telemetrysystem; /** * Positional Data Point Object * * This class represents a single point on the map. There will be many of these per trip, each representing a data point on the map consisting of several data variables collected at the instant. */ public class PositionData { // Class...
package org.mge.strings; import java.util.LinkedList; import java.util.Queue; /* * * Given a binary string str consisting of only 0’s and 1’s. The following two operations can be performed on it: 1. One digit can delete another digit i.e. a 0 can delete a 1 and vice versa. 2. If at any moment, the entire string...
package com.example.hp.dramaapp.Ayush; import android.app.Activity; import android.graphics.Color; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import com.example.hp.dramaapp.R; public class adapterWo...
package com.github.malikin.transferator.dao; import com.github.malikin.transferator.dto.Transaction; import com.github.malikin.transferator.mapper.TransactionMapper; import org.jdbi.v3.sqlobject.config.RegisterRowMapper; import org.jdbi.v3.sqlobject.customizer.Bind; import org.jdbi.v3.sqlobject.customizer.BindBean; im...
package parser; import dao.TraderDAO; import data.ExecutionReportData; import leafNode.OrderEntry; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; import sbe.msg.NewOrderDecoder; import sbe.msg.OrderCancelReplaceRequestDecoder; import uk.co.real_logic.agrona.DirectBuffer; im...