text
stringlengths
10
2.72M
package com.salaboy.conferences.agenda.controller; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.salaboy.cloudevents.helper.CloudEventsHelper; import com.salaboy.conferences.agenda.model.AgendaItem; import com.salaboy.conferences.agenda.reposi...
package sellwin.gui; import sellwin.server.*; import java.net.*; import java.io.*; import java.beans.*; import java.util.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; // SellWin http://sourceforge.net/projects/sellwincrm //Contact support@open-app.com for commercial ...
package cuentabancaria; /** * * @author Adriana */ public class CuentaCorriente extends CuentaBancaria { @Override public void deposito(double dinero) { double interes = 0; if(dinero < 1000) { interes = dinero*0.01; } double totalDeposito = dinero + interes; this.saldo += totalD...
package asm; /** * Created by jiajia on 2017/10/18. */ public class AsmClassReadTest { int testVariable; int testVariable1; int testVariable2; public String testFunction(Integer x) { return "hello asm"; } }
package com.bean; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date; @Data @Entity @Table(name = "t_registration_pool...
package e9.zonghua.example.com.contentproviderusage; import android.content.ContentValues; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.provider.ContactsContract; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log;...
package com.cg.jpaauthor.service; import java.util.List; import com.cg.jpaauthor.entities.Author; public interface AuthorService { public abstract Author getAuthorById(int id); public abstract void addAuthor (Author author ); public abstract void removeAuthor (Author author ); public abstract void updateAu...
package com.emp.friskyplayer.receivers; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.widget.ImageButton; import android.widget.ProgressBar; import android.widget.TextView; import android.widget.Toast; impor...
/* * 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 controlador; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import javax.servle...
package com.accp.pub.pojo; import java.util.Date; public class Kstype { private String examtypeid; private String typename; private String foundid; private Date founddate; private Integer state; private String remark; private String remark1; public String getExamtypeid() { ...
package pro.eddiecache.kits; import pro.eddiecache.core.logger.ICacheEventWrapper; import pro.eddiecache.core.model.IContextCacheManager; import pro.eddiecache.core.model.IElementSerializer; /** * 缓存插件工厂类 */ public interface KitCacheFactory { <K, V> KitCache<K, V> createCache(KitCacheAttributes attr, IContextCache...
package huawei; /** * @author kangkang lou */ import java.util.Scanner; /** * 最长上升子序列 */ public class Main_77 { static int lis(int[] a) { int[] m = new int[a.length]; for (int i = 0; i < m.length; i++) { m[i] = 1; } int max = 0; for (int i = 0; i < a.lengt...
package lv11_tiere; import java.util.ArrayList; import java.util.HashMap; public class FigureManager { protected ArrayList<Figure> FigureList; public static final String klein = "Klein"; public static final String mittel = "Mittel"; public static final String gross = "Groß"; public FigureManager...
package test; import com.boshi.serviceImpl.SeleniumServiceImpl; import java.util.ArrayList; import java.util.List; import java.util.Set; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public ...
/* * 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 eu.stoehler.botapi.nicknames; /** * * @author joern */ public final class UserdbEntry { public final int userid; p...
package com.spring.dao; import java.sql.SQLException; import java.util.List; import com.spring.command.SearchCriteria; import com.spring.dto.NoticeVO; public interface NoticeDAO { // 게시글리스트 조회 List<NoticeVO> selectSearchNoticeList(SearchCriteria cri) throws SQLException; // 검색 결과의 전체 리스트 개수 int selectSearchN...
package maxflowproblem1; import java.util.ArrayList; import java.util.LinkedList; import java.util.Queue; import java.util.Scanner; import java.util.Stack; public class MaxFlowProblem1 { //list for all edges in the graph LinkedList<Edge> list = new LinkedList(); private int numEdg...
package com.example.demo.mlp; import java.util.List; import java.util.Map; public class Java9 { public static void main(String[] args) { //1 - JShell //2 - static and private methods in interfaces //3 - jigsaw modules List.of("a", "b", "c").forEach(System.out::println); Ma...
package org.mvirtual.persistence.entity.relation; import org.mvirtual.persistence.entity.relation.embedded.HeritageSubjectId; import org.mvirtual.persistence.entity.AbstractEntity; import org.mvirtual.persistence.entity.Heritage; import java.io.Serializable; import javax.persistence.Column; import javax.persistence...
package com.tencent.mm.plugin.brandservice.ui; import android.view.View; import android.widget.TextView; import com.tencent.mm.plugin.brandservice.b.a.a; public class a$a extends a implements com.tencent.mm.ui.base.sortview.a.a { public TextView eMf; public TextView hoc; public View hod; public TextVi...
package Utility; import org.testng.annotations.DataProvider; import org.testng.annotations.Parameters; import org.testng.annotations.Test; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; public class TestDataProvider { //This class is used to use Excel...
package com.mounika.task; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.GridView; import android.widget.ImageView; /** * Created by Mounika on 6/10/2017. */ public class ImgAdapter extends BaseAdapter { private ...
package de.jmda.common; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class Main { private final static Logger LOGGER = LogManager.getLogger(Main.class); public static void main(String[] args) { LOGGER.info("hello world from " + Main.class.getName()); LOGGER.info("...
package com.mo.mohttp; import com.mo.mohttp.anno.NotNull; import com.mo.mohttp.anno.ThreadSafe; import java.net.URI; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * <pre> * 进行http(https)请求的公共类。 * Doc: * https://xcr1234.github.io/mohttp/ * </pre> */ @T...
/******************************************************* * I forget who made this........ * ********************************************************/ package org.dynamac.analyzer.utils; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import org.dynamac.enviro...
package com.mapper; import com.bean.Hospital; import org.apache.ibatis.annotations.Param; import tk.mybatis.mapper.common.Mapper; import java.util.List; public interface HospitalMapper extends Mapper<Hospital> { List<Hospital> getHospital(@Param("hospital") Hospital hospital); }
package com.company.Weak4Day2; public class Triangle { private int sideA; private int sideB; private int sideC; public int getSideA() { return sideA; } public void setSideA(int sideA) { if (sideA < 20 && sideA > 1) { this.sideA = sideA; } else { ...
package com.example.grademe.domain; import java.util.List; import lombok.Data; @Data public class Module { private Long qrcode; private String name; private Teacher teacher; private List<Pupil> pupils; }
package driver; import persistenza.DatabaseConnection; import business.cassa.Scontrino; import exceptions.*; import java.util.Scanner; public class ScontrinoDriver { public static void main(String[] args) throws DatabaseException, ProdottoException, ElencaException, ScontrinoException, TicketExcep...
package com.tienda.util; //import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; public class Passgenerator { //public static void main(String[] args) { //BCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder(4); //El String que mandamos al metodo encoder es el password q...
package com.bass.admin.service.impl; import java.util.List; import javax.annotation.Resource; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.bass.common.base.BaseService; import com.bass.shop.dao.UserDao; import com.bass.shop.model.User; im...
package res.layout; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.widget.TextView; import com.example.scripturereference.R; public class ReceiverActivity extends AppCompatActivity { @Override protected void onCreate(Bundle...
SecureRandom sr = new SecureRandom(); byte[] code = new byte[32]; sr.nextBytes(code); String verifier = android.util.Base64.encodeToString(code, android.util.Base64.URL_SAFE | android.util.Base64.NO_WRAP | android.util.Base64.NO_PADDING); byte[] bytes = new byte[0]; try { bytes = verifier.getBytes("US-ASCII"); } c...
/* * 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 mathsapp; /** * * @author x14428818 */ public class ConLC1 extends javax.swing.JFrame { /** * Creates new form Th...
import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.LinkedList; import java.util.List; import java.util.Queue; public class ChatRoom{ private List<User> onlineUsers; private Queue<String> messageQueue; int users; ServerSocket socket; //Lock lock = new ReentrantLock...
/* * @version 1.0 * @author PSE group */ package kit.edu.pse.goapp.server.daos; import java.util.HashMap; import java.util.Map; import kit.edu.pse.goapp.server.datamodels.GPS; /** * Implements GPS Dao */ public class GpsDaoImpl implements GPS_DAO { private static Map<Integer, GPS> map = new...
package am.queues.senders; import am.data.hibernate.model.Notification; import am.main.api.AppLogger; import am.main.data.enums.Interface; import am.main.exception.GeneralException; import am.main.session.AppSession; import am.services.NotificationService; import javax.annotation.Resource; import javax.ejb....
package com.pkjiao.friends.mm.base; public class ReplysItem { private static final String TAG = "ReplysItem"; private String mUid; private String mNickName; private String mReplyContents; private String mCommentId; private String mReplyTime; private String mReplyId; private String mBu...
/* * Copyright (C) 2021-2023 Hedera Hashgraph, LLC * * 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 applicab...
package com.example.l03.projektpaszport; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.provider.MediaStore; import android.util.Log; import java.net.URI; /** * Created by Bartek on 2016-10-24. */ pu...
package lesson30.hw2lastedition; public enum DepartmentType { DEVELOPMENT, DESIGN, ANALYST, MANAGER, FINANCE }
package plp.orientadaObjetos1.excecao.declaracao; import plp.expressions2.expression.Id; /** * Exceção lançada qunado o objeto que está sendo declarado já o foi * anteriormente. */ public class ObjetoJaDeclaradoException extends Exception { /** * Construtor * @param id Identificador representando o ob...
package jp.co.worksap.oss.findbugs.jsr305.nullness; import static org.mockito.Mockito.never; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.verify; import org.junit.Before; import org.junit.Test; import com.h3xstream.findbugs.test.BaseDetectorTest; import com.h3xstream.findbugs.test.EasyBug...
package listaExercicios7; public class Administrador extends Pessoa { private double ajudaDeCusto; private double salario; //Getters and Setters: public double getAjudaDeCusto() { return ajudaDeCusto; } public void setAjudaDeCusto(double ajudaDeCusto) { this.ajudaDeCusto = ajudaDeCusto; } public do...
package com.github.bfrydrych; public class SomeShittyStaticClass { public static void shittyStatic() { System.out.println("Invoked shitty static"); } }
/* * Copyright 2008 Kjetil Valstadsve * * 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 applicable law or agre...
package com.example.com.sun.fanyici2; import org.json.JSONException; import org.json.JSONObject; import android.content.Context; import android.content.SharedPreferences; public class SharedPreferencesUtil { private final String PREFERENCE_NAME = "handlejx"; private Context mContext; private SharedPreferences mS...
public class HelloWorldExternalA { public void HelloWorldA() { System.out.println("HelloWorldA"); } }
package com.project.linkedindatabase.repository.types; import com.project.linkedindatabase.domain.Type.BackgroundType; import com.project.linkedindatabase.domain.Type.SkillLevel; import com.project.linkedindatabase.repository.BaseTypeRepository; import com.project.linkedindatabase.service.types.SkillLevelService;...
package com.usnschool; import java.io.InputStream; public class SongData { private int num; private int albumnum; private String songname; private String songcontent; private InputStream songblob; public int getNum() { return num; } public void setNum(int num) { this.num = num; } publ...
package com.hautipua.android.cocktails.model; import java.io.Serializable; public class Cocktail implements Serializable { private int Id; private String Name; private String Ingredients; private String Directions; private String PhotoId; private String SpiritName; public Cocktail(in...
package presentacion; import interfaz.PanelPartida; import java.awt.Color; import java.awt.Graphics; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.ImageIcon; import javax.swing.JPanel; import otros.JButtonExt; public class Tablero extends JP...
package bootcamp.testng; import org.testng.annotations.Test; public class PriorityAttribute { @Test(priority = 4) public void test1() { System.out.println("test1"); } @Test(priority = 2) public void test6() { System.out.println("test4"); } @Test(priority = 1) public void test3() { System.out.println(...
package com.dhillon.Cucumber.runner; import org.junit.runner.RunWith; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; @RunWith(Cucumber.class) @CucumberOptions( features = {"C:\\Users\\balwinder\\git\\Cucumber\\Cucumber\\src\\test\\java\\com\\dhillon\\Cucumber\\features\\Login...
package org.terasoluna.gfw.examples.rest.api.common.http; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.stereotype.Component; import org.springframework.web.method.HandlerMethod; import org.springframework.web.servlet.handler.HandlerInterceptor...
package com.lito.fupin.controller.website; import java.util.Map; public interface IWebBusinessService { Map loadNewsHomePage(Map in) throws Exception; Map loadPaperDetailPage(Map in) throws Exception; }
package com.assignment0402; import android.app.Activity; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.app.ListFragment; import android.content.res.Resources; import android.os.Bundle; import android.support.constraint.ConstraintLayout; import android.util.Log; import andro...
package chap06; import java.util.Arrays; public class ShellSort { public static void main(String[] args) { int[] arr = {8,1,4,2,7,6,3,5}; ShellSort s = new ShellSort(); System.out.println(Arrays.toString(s.shellSort(arr))); } public int[] shellSort(int[] arr){ int[] result = arr; int n = result.length...
           if(cloneHead == null)           {                cloneHead = temp;           }            clone.put(cur, temp);              if(cur.next != null)           {                if(clone.containsKey(cur.next))               {                    tem = clone.get(cur.next);               }          ...
package testPackage; import java.util.Random; public class HeadsOrTails { public static void main(String[] args) { int heads = 0; int tails = 0; for (int i = 0; i < 100; i++) { int var = flip() == "Heads" ? heads++ : tails++; } System.out.println("Heads: " + heads); System.out.println("Tails: ...
package interviewbit.string; public class Implement_StrStr { public int strStr(final String haystack, final String needle) { if (haystack.isEmpty() || needle.isEmpty()) return -1; int i = 0; while (i < (haystack.length() - needle.length() + 1)) { if (haystack.charAt(i) == needle.charAt(0)) { boolean b...
package arun.problems.ds.graphs; import java.util.Collection; import java.util.Map; public abstract class Graph<T> { private int numberOfVertices; private int numberOfEdges; public Graph() { numberOfVertices = 0; numberOfEdges = 0; } /** * This method returns the neighbours for the given vertex at giv...
package com.lhx.shiro.demo.service; import java.util.Collection; import java.util.Iterator; import com.jhj.common.page.PageQuery; public final class ManagerHelper { private ManagerHelper() { } public static final int INIT_PAGE = 1; public static final int INIT_PAGE_SIZE = 10; /** *...
package mobi.wrt.oreader.app.test.common; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.test.ApplicationTestCase; import java.io.InputStream; import by.istin.android.xcore.callable.ISuccess; import by.istin.android.xcore.fragment.XLis...
package org.devdays.completeablefuture.puzzlers; import org.junit.Test; import java.util.concurrent.CompletableFuture; import java.util.concurrent.Future; import static java.lang.System.out; import static java.util.concurrent.CompletableFuture.supplyAsync; import static org.awaitility.Awaitility.await; //Completabl...
package br.ufla.lemaf.ti.lemaf4j.common.messaging; import org.apache.commons.lang3.StringUtils; /** * SimpleMessageProducer é responsável pela * geração de mensagens de erro. * Estas mensagens são geradas atraves dos * nomes das anotoções que representam os erros. * <p> * A mesagem do erro representado por CPFE...
package convalida.validators; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.when; /** * @author Wellington Costa on 01/11/2017. */ public class LengthValidatorTest extends BaseTest { @Test public void required_emptyValue() { LengthValidator valid...
package kr.re.keti.service; public class M2MService { }
package com.tyjradio.jrdvoicerecorder.utils; import java.text.SimpleDateFormat; import java.util.Date; public class TimeUtil { /** * 把当前的时间转成年月日时分秒的格式 * @param startRecorderTime * @return */ public static String getNowTime(long startRecorderTime) { SimpleDateFormat formatter = ...
package com.rishi.baldawa.iq; /* Implement int sqrt(int x). Compute and return the square root of x. x is guaranteed to be a non-negative integer. Example 1: Input: 4 Output: 2 Example 2: Input: 8 Output: 2 Explanation: The square root of 8 is 2.82842..., and since we want to return an integer,...
package com.tencent.f; public abstract class d<T extends e> { public final Object mLock = new Object(); public int ndo; public T[] vwz = cHo(); public abstract T[] cHo(); public abstract T cHp(); public final T cHq() { T t = null; synchronized (this.mLock) { if (t...
/* * 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.tencent.mm.protocal.c; import com.tencent.mm.bk.b; import f.a.a.c.a; import java.util.LinkedList; public final class baa extends bhd { public int qZe; public int rmJ; public aw rmQ; public String scJ; public String scK; public b scL; public int scM; protected final int a(i...
package com.tencent.mm.plugin.ipcall.ui; import android.content.Intent; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.plugin.ipcall.a.g.c; class c$1 implements OnClickListener { final /* synthetic */ c ktD; c$1(c cVar) { this.ktD = cVar; } public f...
package adapter; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.bumptech.glide.Glide; import com.liu.asus.yikezhong.R; import com.meg7.widget.CircleImageView; import java.util.List; import bean.Li...
package tim.Planner; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.EditText; import android.widget.TextView; import java.util.Date; import java.util.regex.Pattern; import System.*; imp...
package com.cyberdust.automation.application; import java.awt.*; import java.io.IOException; /** * Created by brant on 1/24/17. */ public class AutomationApp { private static AutomationUI app; public static void main(String[] args) { try { new Settings().loadSettings(); } catch...
package com.tt.miniapp.storage.path; import com.tt.miniapphost.AppBrandLogger; import com.tt.miniapphost.util.FileUtil; import com.tt.miniapphost.util.IOUtils; import java.io.File; public abstract class AbsAppbrandPath { protected File mFile; public abstract boolean canRead(); public abstract ...
package com.xjf.wemall.service; import java.net.URLEncoder; import org.apache.commons.lang3.CharEncoding; public class test { public static void main(String[] args) { // System.out.println(String.valueOf(null)); String badStr = ""; badStr = "'|and|exec|execute|insert|select|delete|update|count|drop...
package com.example.demo.domain; //选课表-成绩表 public class Elective { private String xh; //学号 private String xq; //学期 private String kh; //课程号 private String gh; //教师工号 private double pscj; //平时成绩 private double kscj; //考试成绩 private double zpcj; //总评成绩 public ...
public class SecondLargeNode { public static void main(String[] args) { Tree tree = new Tree(); tree.insert(5); tree.insert(2); tree.insert(3); tree.insert(10); System.out.println(tree.toString()); //tree.getSmallest(tree.root); } } class Tree { publ...
package com.garande.tech.chatapp.model; import com.google.firebase.firestore.Exclude; import java.io.Serializable; public class User implements Serializable { public static String KeyTableName = "/users"; public String name, email, userId, photoUrl, phoneNumber, countryCode, loginId; @Exclude publi...
package com.tfjybj.integral.provider.dao; import com.tfjybj.integral.entity.MessageEntity; import com.tfjybj.integral.model.MessageModel; import com.tfjybj.integral.model.MessageParamModel; import com.tfjybj.integral.model.RedMessageModel; import org.apache.ibatis.annotations.Param; import org.springframework.stereoty...
package cn.hrmzone.util; import com.baidu.aip.ocr.AipOcr; import java.util.ArrayList; /** * @Author:张生 * @Blog:http://hrmnzone.cn * @Organization:荆州青年教育平台(https://jzyouth.com),专注职业资格培训、学历提升 * @Description:根据传入的路径(path)参数,将当前路径目录下的全部文件使用百度OCR接口识别为文字,并保存在同名txt文件中。 * 流程: * 1.扫描目录图片文件(ImgList) * 2.将图片文件逐个上传至百度OCR...
package com.tantransh.workshopapp.appdata; import android.os.Build; import android.text.Html; import android.text.Spanned; public class AppServices { public static Spanned getRequiredFormatString(String string){ int version = Build.VERSION.SDK_INT; if(version >= Build.VERSION_CODES.N){ ...
package util; //201902104050 姜瑞临 import java.beans.XMLDecoder; import java.beans.XMLEncoder; import java.io.*; public class SerializableTool { public static void storeXML(Object obj, OutputStream out) { XMLEncoder encoder = new XMLEncoder(out); encoder.writeObject(obj); encoder.flush()...
package com.other.updown.domain.vo; import com.other.updown.constant.enums.StatusCodeEnum; /** * @author zhangbingquan * @desc 响应体 * @time 2019-09-24 23:19 */ public class Response<R> { private ResponseStatusObject responseStatusObject = new ResponseStatusObject(); private R responseResult; public Re...
import java.util.*; class Main{ static int M; static int N; static int[][] arr; static int[][] visited; static int[] dx={-1,1,0,0}; static int[] dy = {0,0,-1,1}; static int w; public static void main(String[] args){ Scanner sc = new Scanner(System.in); M = sc.nextInt(); ...
package ar.com.ServiceLayer; import java.io.IOException; import java.net.MalformedURLException; import java.nio.file.Files; import java.nio.file.Path; import java.util.stream.Stream; import org.springframework.core.io.Resource; import org.springframework.core.io.UrlResource; import org.springframework.util.Fi...
package model; import java.util.Set; public class Abt { private int anr; private String name; private String ort; private Set<Pers> personen; public Abt() { super(); } public Abt(String name, String ort) { super(); this.name = name; this.ort = ort; } public Abt(String name, String ort, Set<Pers> ...
package com.takshine.wxcrm.message.sugar; /** * 传递给crm查询竞争对手 * @author dengbo * */ public class RivalReq extends BaseCrm{ private String viewtype;//视图类型 myview , teamview, focusview, allview private String currpage = "1";//当前页 private String pagecount = "5";//每页的条数 private String rowId; private String custo...
public class Dijkstra{ private int V = 4; public void findShortestPath(int [][] graph,int source){ int [] dist = new int[V]; boolean [] visited = new boolean[V]; for(int i=0; i< V; i++){ dist[i] = Integer.MAX_VALUE; visited[i] = false; } dist[source] = 0; for(int count=0; count<V-1; count++...
package com.saraew; import javafx.embed.swing.SwingFXUtils; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.fxml.FXML; import javafx.scene.Node; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; import javafx.scene.control.Alert; import javafx.scene.control...
package com.green.example.controller; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.green.example.service.ContactService; import utils.Constants; @...
package yuste.zombis.armas; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.graphics.g2d.TextureRegion; import yuste.zombis.rec.Recursos; import yuste.zombis.rec.Sonidos; public class Escopeta extends Arma { public static int COSTO = 40; public...
package com.bozhong.lhdataaccess.infrastructure.dao; import com.bozhong.lhdataaccess.domain.DoctorOutDiagnosisDO; import com.bozhong.lhdataaccess.domain.DoctorPrescriptionDO; import com.bozhong.lhdataaccess.domain.OrganizStructureDO; import java.util.List; /** * User: 李志坚 * Date: 2018/11/5 * 门诊诊断数据的DAO */ public...
package org.maven.ide.eclipse.authentication; public enum AnonymousAccessType { ALLOWED, NOT_ALLOWED, REQUIRED }
package com.angelhack.mapteam.repository; import com.angelhack.mapteam.model.MemberCondition; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.data.repository.query.Param; public interface MemberConditionRepository extends Cru...
package com.silver.dan.castdemo.SettingEnums; import com.silver.dan.castdemo.R; /** * Created by dan on 4/27/2016. */ public enum TravelMode { DRIVING(0, R.string.driving), BICYCLING(1, R.string.bicycling), TRANSIT(2, R.string.transit), WALKING(3, R.string.walking); private int value; priv...
package com.example.mycitynovisad.objects; public class Attraction { private int mAttractionImageId; private String mAttractionName; private String mAttractionShortDs; private String mAttractionDescription; private String mAttractionAddress; private String mAttractionTransportation; priva...