text
stringlengths
10
2.72M
package com.needii.dashboard.model; public enum SupplierBalanceTypeEnum { DEPOSIT(1), WITHDRAW(2), CHARGE(3), PUNISH(4), UNKNOW(5), REFUND(6); private final int value; private SupplierBalanceTypeEnum(int value) { this.value = value; } public int getValue() { return value; }...
package org.hpin.webservice.bean.yg; import java.io.Serializable; import java.util.Date; /** * 保险公司客户预置表 * @description: * create by henry.xu 2016年12月15日 */ public class ErpBxCompanyPreSet implements Serializable{ /** * 序列号 */ private static final long serialVersionUID = -1432198565286869337L; private S...
package com.trump.auction.web.service.impl; import com.trump.auction.cust.api.NotificationDeviceStubService; import com.trump.auction.cust.model.NotificationDeviceModel; import com.trump.auction.web.service.NotificationDeviceService; import com.trump.auction.web.util.HandleResult; import org.apache.commons.lang3.Strin...
/* * 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 model; import dao.ClienteDAO; import java.util.ArrayList; import java.util.List; import javax.swing.table.DefaultTableModel; i...
package fmi; public class GoatCheese extends FarmProduct { @Override public void prepare() { System.out.println("Preparing goat cheese"); } }
package com.school.sms.controller; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Date; import java.util.List; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import o...
package algorithms; import graph.*; import log.*; import java.util.*; import java.io.*; public class ColorizeVersion3 extends ColorizeVersion2 { /** * */ Hashtable<Integer, Integer> colors; /** * */ protected ArrayList<Vertex> vertexByDegree; /** * [V3 description]...
package uk.co.travelai_public.model; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import uk.co.travelai_public.model.HERE.HEREExtraDetails; import java.util.Locale; /** * A class that represents a Location. */ @Getter @Setter @NoArgsConstructor public class Location { private ...
package graphs.maxflow; import java.util.LinkedList; import java.util.Queue; public class FordFulkerson { // marked[v.getId()] = true -> v in the residual graph private boolean[] marked; // edgeTo[v] -> edges in the augmenting path private Edge[] edgeTo; private double maxFlow; // Edmonds-Kar...
package br.com.transportadora.service.dao; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.Date; import java.util.List; import br.com.transportadora.constants.TransportadoraConstants; import br.com....
package usc.cs310.ProEvento.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RestController; import usc.cs310.ProEvento.model....
package com.boku.auth.http.it.support; import javax.servlet.http.HttpServlet; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.ServerConnector; import org.eclipse.jetty.server.handler.HandlerCollection; import org.eclipse.jetty.servlet.FilterHolder; import org.eclipse.jetty.servlet.ServletHandle...
package com.example.logsys.controller; import com.alibaba.fastjson.JSON; import com.example.logsys.mapper.ReportMapper; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.spri...
/* * Copyright (c) 2014 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE file for licensing information. * * Created on 4 mar 2014 * Author: K. Benedyczak */ /** * Realms support for the generic DB * @author K. Benedyczak */ package pl.edu.icm.unity.db.generic.realm;
package com.exam.models; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Value; import java.io.Serializable; import java.time.ZonedDateTime; @Value @AllArgsConstructor @Builder public class Message implements Serializable { private static final long serialVersionUID = 3179109666291410918L...
package org.sky.base.model; import java.math.BigDecimal; import java.util.Date; public class BaseAccount { private String id; private String code; private String chaCode; private BigDecimal balance; private String state; private String creater; private Date createTi...
package com.example.demo; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public abstract class People<T extends Person> implements Iterable<T>{ ArrayList<T> personList; People(){ personList = new ArrayList<T>(); } public void add(T person){ personList....
package architecture.layer.storage; import architecture.layer.storage.blueprint.IdData; import architecture.layer.storage.storage.MapStorage; import java.util.Map; public class IdDataAccess implements IdData { // private Map<String, String> nextIdMap; IdDataAccess(){ // nextIdMap = MapSt...
package com.example.androidquizapp.model; import android.content.Intent; import android.graphics.Color; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.example.androidquizapp.R; import...
package ru.steagle.protocol.responce; import android.sax.Element; import android.sax.EndTextElementListener; import android.sax.RootElement; import android.sax.StartElementListener; import android.util.Xml; import org.xml.sax.Attributes; import java.util.ArrayList; import java.util.List; import ru.steagle.datamodel...
package com.yxb.contentproviderdemo; import android.content.ContentProviderClient; import android.content.ContentProviderOperation; import android.content.ContentProviderResult; import android.content.ContentResolver; import android.content.ContentValues; import android.content.OperationApplicationException; import an...
package PA165.language_school_manager.Facade; import PA165.language_school_manager.DTO.CourseDTO; import PA165.language_school_manager.DTO.LectureCreateDTO; import PA165.language_school_manager.DTO.LectureDTO; import PA165.language_school_manager.DTO.LecturerDTO; import java.time.LocalDateTime; import java.util.List;...
package com.trump.auction.reactor.bid; import com.google.common.collect.ImmutableList; import com.trump.auction.reactor.api.AuctionContextFactory; import com.trump.auction.reactor.api.AuctionLifeCycle; import com.trump.auction.reactor.api.exception.BidException; import com.trump.auction.reactor.api.model.AuctionContex...
import java.awt.Graphics; import java.awt.Image; import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.io.IOException; import javax.imageio.ImageIO; /** *Pilot class represents pilot of the user plane */ public class Pilot extends GameObject{ //Constructor for shoot public...
package mt.com.vodafone.service.impl; import java.util.Date; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.stereotype.Service; import mt.com.vodafone.entity.User; import mt.com.vodafone.repository.Use...
/* * Copyright 1999-2018 Alibaba Group Holding Ltd. * * 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 applica...
module com.nbuproject.javaprojectbuildingmngmnt { requires javafx.controls; requires javafx.fxml; requires org.controlsfx.controls; requires com.dlsc.formsfx; requires validatorfx; requires org.kordamp.bootstrapfx.core; opens com.nbuproject.javaprojectbuildingmngmnt to javafx.fxml; exp...
package com.example.bruce_drawboll; import android.os.Bundle; import android.app.Activity; import android.view.Menu; import android.view.MotionEvent; import android.view.View; import android.view.View.OnTouchListener; import android.widget.LinearLayout; public class MainActivity extends Activity { @Override prote...
package org.sky.sys.service; import java.util.List; import org.sky.sys.client.SysAreaMapper; import org.sky.sys.model.SysArea; import org.sky.sys.model.SysAreaExample; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class SysAre...
package cn.ablocker.FoodBlog.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Scope; import cn.ablocker.FoodBlog.response.BaseResponse; @Configuration public class LoginResponseConfig { // 登录成功的响...
package com.company; import java.util.Scanner; public class Ejercicio3_3 { public static void main(String[] args) { Scanner teclado = new Scanner(System.in); System.out.print("Introduzca un numero de tipo Double de 2 cifras: "); double primernumero = teclado.nextDouble(); System...
package com.javarush.task.task18.task1828; /* Прайсы 2 */ import java.io.*; import java.util.ArrayList; import java.util.List; public class Solution { public static void main(String[] args) throws IOException { if(!args[0].isEmpty()){ //читаем имя файла BufferedReader read = new ...
package com.redvector.udemyspringBoot.repositories; import org.springframework.data.jpa.repository.JpaRepository; import com.redvector.udemyspringBoot.entities.Order; public interface OrderRepository extends JpaRepository<Order, Long>{ }
public class SpawnPoint { public String name; public float x; public float y; public SpawnPoint(String n, float xx, float yy) { name = n; x = xx; y = yy; } }
package business.concretes; import java.time.LocalDate; import java.time.Period; import business.abstracts.GamePlayService; import entities.concretes.Gamer; public class GamePlayManager implements GamePlayService { @Override public int calculateAge(Gamer gamer) { Period yasFarki = Period.between(gamer.getYearO...
package exam.iz0_803; public class Exam_057 { } /* Given: public class X implements Z { public String toString() { return "I am X"; } public static void main(String[] args) { Y myY = new Y(); X myX = myY; Z myZ = myX; System.out.println(myZ); } } class Y extends...
package GTEs; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; /** * listens to scheduler for incoming suspend/activate packages * @author babz * */ public class SchedulerListener implements Runnable { private DatagramSocket socket; private DatagramPacket packet; pri...
package landmarker.pickapp.landmarker; 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.ImageView; import android.widget.Toast; import com.facebook.CallbackManager; import com.facebook.Fac...
package pl.artursienkowski.service.search; import org.springframework.stereotype.Component; import org.springframework.stereotype.Service; import org.springframework.util.StringUtils; import pl.artursienkowski.model.Customer; import pl.artursienkowski.model.User; import pl.artursienkowski.repository.CustomerRepository...
package Bouton; import java.awt.Color; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JLabel; import Fenetre.Fenetre; import Type.TypeBouton; public cl...
package org.aksw.autosparql.server; public class QueryTreeChange { static enum ChangeType{ REPLACE_LABEL, REMOVE_NODE; } private int nodeId; private ChangeType type; private String object; private String edge; public QueryTreeChange(int nodeId, ChangeType type){ this.nodeId = nodeId; this.typ...
package com.maco.blackjack.jsonMessage; import edu.uclm.esi.common.jsonMessages.JSONMessage; import edu.uclm.esi.common.jsonMessages.JSONable; public class RequestCardMessage extends JSONMessage{ @JSONable private String text; public RequestCardMessage(String text) { super(false); this.text = text...
package com.ripple.price.util; import com.android.volley.NetworkResponse; import com.android.volley.ParseError; import com.android.volley.Request; import com.android.volley.Response; import com.android.volley.VolleyError; import com.android.volley.toolbox.HttpHeaderParser; import org.apache.http.protocol.HTTP; import...
package edu.wctc; import java.math.BigDecimal; import java.math.BigInteger; public class Letters { private static final long WI_POPULATION = 5_726_398; private static final long CA_POPULATION = 38_041_430; private static final long TX_POPULATION = 26_059_203; private static final double COPY_PRICE = 3...
package cn.test.wheelTimer; import com.alibaba.fastjson.JSON; import com.google.common.util.concurrent.ThreadFactoryBuilder; import lombok.extern.slf4j.Slf4j; import java.util.concurrent.ExecutorService; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util....
import java.util.Scanner; public class ActivationKeys { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); StringBuilder activationCode = new StringBuilder(scanner.nextLine()); String input = scanner.nextLine(); String[] commands = input.split(">>>")...
package mekfarm.common; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.BlockPos; /** * Created by CF on 2016-11-12. */ public class BlockPosUtils { public static BlockCube getCube(BlockPos entityPos, EnumFacing facing, int radius, int height) { EnumFacing left = facing.rotateYCCW()...
package com.kaizenmax.taikinys_icl.view; import android.app.DatePickerDialog; import android.content.ClipData; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.Uri; import android.os...
/* * 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 clases; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Iterator; import ...
package com.stk123.service; import java.sql.Connection; import java.util.ArrayList; import java.util.List; import java.util.Map; import com.stk123.model.bo.StkDataPpiType; import com.stk123.model.bo.StkIndexNode; import com.stk123.model.Industry; import com.stk123.common.db.connection.Pool; import com.stk123.model.tr...
package com.gxtc.huchuan.ui.mine.deal.orderList; import com.gxtc.commlibrary.BasePresenter; import com.gxtc.commlibrary.BaseUserView; import com.gxtc.huchuan.bean.PurchaseListBean; import java.util.List; public interface PurchaseListContract { interface View extends BaseUserView<PurchaseListContract.Presenter>...
package com.daylyweb.music.dao; import java.util.List; import java.util.Map; import com.daylyweb.music.mapper.Music; public interface MusicDao { int insert(Music music); int insertByBatch(List<Object> list); int deleteByIds(String songids); Music getById(int songid); List<Object> select(Map<String,O...
import javax.swing.*; import java.awt.*; import java.util.LinkedList; public class EmailGUI extends JFrame{ JTextArea studentInfoTArea = new JTextArea(); JLabel idLabel = new JLabel("ID: "); JTextField idTfield = new JTextField(10); JLabel nameLabel = new JLabel("Name: "); JTextField nameTfield =...
package com.juannarvaez.taskworkout.view.Adapter; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import com.bumptech.gli...
/** * Package for calculate task. * * @author Sidorov Dmitriy * @version $Id$ * @since 0.1 */ package ru.javaprac.calculate;
package com.pelephone_mobile.mypelephone.network.rest.pojos; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; /** * Created by Gali.Issachar on 25/12/13. */ @JsonIgnoreProperties(ignoreUnknown = true) public class BranchesLis...
package com.fsj.entity; import java.io.Serializable; import java.util.Date; // 价格走势类 public class Pricetrend implements Serializable { /** * */ private static final long serialVersionUID = 1L; private int ptid;// 走势编号(主键) private Date recorddate;// 记录日期 private String grade;// 记录级别(日,月,年) private String pr...
/* * ################################################################ * * ProActive Parallel Suite(TM): The Java(TM) library for * Parallel, Distributed, Multi-Core Computing for * Enterprise Grids & Clouds * * Copyright (C) 1997-2011 INRIA/University of * Nice-Sophia Antipolis/ActiveEon ...
package edu.udc.psw.modelo.manipulador; public class ManipuladorPoligono { }
/** * Copyright 2017 伊永飞 * * 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 agreed to in writin...
package com.bofsoft.laio.customerservice.Database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.bofsoft.laio.database.DBCacheHelper; /** * 欢迎页面显示记录 */ public class IntroDBAdapter { private DBCache...
/* * 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 Logica; import Datos.vpersona; import Datos.vtrabajador; import java.sql.Connection; import java.sql.PreparedStateme...
import java.util.*; //import this to create an ArrayList public class commonJavaProgramming{ public static void main(String [] args){ //For loop for(int a = 0; a< 1 ; a++){ System.out.println("Test One"); } //While loop int b = 0; while (b < 1){ ...
package heylichen.problem; import java.util.Deque; import java.util.LinkedList; import java.util.List; /** * @author lichen * @date 2020/10/22 10:16 * @desc post-order non-recursive */ public class PostOrderSerializer implements BinaryTreeSerializable { private static Node<Integer> NOT_INITIALIZED = new Node<...
package edu.palindrome.tran.don; import edu.jenks.dist.palindrome.*; public class PalindromeChecker extends AbstractPalindromeChecker { public static void main (String[] args) { PalindromeChecker pc = new PalindromeChecker(); boolean act = pc.isPalindrome("%%"); System.out.println(act); ...
package by.academy.homework.homework2; import java.util.Arrays; import java.util.Scanner; public class Task3 { public static void main(String[] args) { String[] array = new String[2]; boolean check = false; Scanner str = new Scanner(System.in); System.out.println("Введите 2 слова: "); do { for (int i ...
/** * @author Dylan Ragaishis (Dylanrr) */ package hw4; import java.util.Comparator; import hw4.api.Die; /** * Comparator for ordering Die objects. Dice are ordered first by value; * dice with the same value are ordered by their max value, and dice * with the same value and the same max value are ordered by w...
package ebay; import model.*; import vo.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.*; import java.sql.*; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; public class BiddingStatus { ArrayList<BiddingStatusVo> bidhis = new Ar...
package com.example.ManHire.Repository; import com.example.ManHire.Entity.Admin; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; @Repository public interface AdminRepository extends CrudRepository<Admin, Long> { Admin findByuserName(String name); }
package com.cloudaping.cloudaping.utils; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Random; public class KeyUtil { public static synchronized String getUniqueKey(){ Random random=new Random(); Integer number=random.nextInt(900000)+100000; return System.curre...
package com.example.aizat.shrifti; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.bumptech.glide.Glide; import com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions; 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 com.innovaciones.reporte.service; import com.innovaciones.reporte.dao.ReporteGenericoItemsDAO; import com.innovaciones...
import java.util.Arrays; /** * Created with IntelliJ IDEA. * User: dexctor * Date: 12-12-10 * Time: 上午10:27 * To change this template use File | Settings | File Templates. */ public class HeapSort { public static void sort(Comparable[] a)//貌似a[0]排不进去了 { int N = a.length - 1; ...
package com.test; import java.util.HashMap; import java.util.Map; /** * Given four lists A, B, C, D of integer values, * compute how many tuples (i, j, k, l) there are such that A[i] + B[j] + C[k] + D[l] is zero. * 给4个数组,计算A[i] + B[j] + C[k] + D[l] == 0,组合的个数 * * To make problem a bit easier, * all A, B, C, D ...
package com.justcode.hxl.viewutil.recycleview_util.layoutmanager.flowdraglayoutmanager; import android.support.annotation.IntDef; public interface FlowDragLayoutConstant { /** * 设置每一行的对齐模式 */ int TWO_SIDE = 0; int LEFT = 1; int RIGHT = 2; int CENTER = 3; @IntDef({TWO_SIDE, LEFT, ...
package util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLEncoder; import java.util.ArrayList; import java.util.Iterator; import java.uti...
/* * @(#) BaseTpstif.java * Copyright (c) 2007 eSumTech Co., Ltd. All Rights Reserved. */ package com.esum.wp.ims.tpstif.base; import com.esum.appframework.dmo.BaseDMO; import com.esum.imsutil.common.CommonUtil; /** * This is an object that contains data related to the TPSTIF table. * Do not modify this class ...
/* * Copyright (C) 2018 Instituto Nacional de Telecomunicações * * All rights are reserved. Reproduction in whole or part is * prohibited without the written consent of the copyright owner. * */ package inatel.br.nfccontrol.di.module; import javax.inject.Singleton; import dagger.Module; import dagger.Provides;...
package com.human.ex; public class quiz0228_12 { public static void main(String[] args) { //제일 큰 수 출력하기 java.util.Scanner sc = new java.util.Scanner(System.in); int a = Integer.parseInt(sc.nextLine()); int b = Integer.parseInt(sc.nextLine()); int c = Integer.parseInt(sc.nextLine()); if(a>b) {...
package com.thoughtworks.ketsu.domain.users; import com.fasterxml.jackson.annotation.JsonProperty; import com.thoughtworks.ketsu.infrastructure.records.Record; import com.thoughtworks.ketsu.web.jersey.Routes; import java.util.HashMap; import java.util.Map; public class OrderItem implements Record { @JsonProperty...
package mf0227.uf2404.actividad3; import java.util.Comparator; public class LibroComparatorPaginas implements Comparator<Libro>{ @Override public int compare(Libro o1, Libro o2) { return o1.getNumeroPaginas() - o2.getNumeroPaginas(); } }
package com.debugger.car.web; import java.util.NoSuchElementException; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.validation.annotation.Validated; import ...
package com.lenovohit.hcp.base.web.rest; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springf...
package com.chandlerobaker.alcchallenge.android.journalapp; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android...
package maxPathSum124; import dataStructure.TreeNode; /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */ public class Solution { private int max = Integer.MIN_VALUE; public int maxPathSu...
package com.pwc.sort.test; import com.pwc.sort.ExternalSorting; import com.pwc.test.TestBase; import com.pwc.util.BinaryObject; import static junit.framework.Assert.assertEquals; public class ExternalSortingTest extends TestBase { // @Test public void testSort() throws Exception { final int...
/** * _31_NextPermutation */ public class _31_NextPermutation { public void nextPermutation(int[] nums) { int i = nums.length - 1; while (i > 0) { if (nums[i] > nums[i - 1]) break; i--; } for (int k = nums.length - 1; k >= i && i != 0; --k)...
package com.company; public class Fier extends Metal { boolean prelucrat; int cantitate; public Fier(int anAparitie, boolean calitate, String nume, boolean esteScump, boolean esteRar, boolean prelucrat, int cantitate) { super(anAparitie, calitate, nume, esteScump, esteRar); this.prelucrat ...
package maze.logic; import java.util.Random; public class Dragon extends Piece{ private static final int UP = 0; private static final int DOWN = 1; private static final int LEFT = 2; private static final int RIGHT = 3; private static final int STAY = 4; private enum State{ AWAKE, ASLEEP, DEAD } private ...
/* * 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 may ...
package com.roundarch.repository.impl; import org.springframework.context.ApplicationListener; import org.springframework.stereotype.Repository; import com.annconia.api.repository.AfterSaveEvent; import com.annconia.api.repository.BeforeSaveEvent; import com.annconia.api.repository.RepositoryEvent; import com...
package com.jd.myadapterlib; import android.animation.Animator; import android.content.Context; import android.support.annotation.IntDef; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import android.view.animation.Interpolator; import android.view.animation.Lin...
package com.fanfte.algorithm.dp; public class LCS { public static void main(String[] args) { String str1 = "1A2C3D4B56"; String str2 = "B1D23CA45B6A"; String lcse = lcse(str1, str2); System.out.println(lcse); } public static int[][] getDP(String str1, String str2) { ...
package no.nav.vedtak.sikkerhet.kontekst; import no.nav.vedtak.sikkerhet.oidc.token.OpenIDToken; public interface RequestKontekstProvider extends KontekstProvider { default OpenIDToken getToken() { return getKontekst() instanceof RequestKontekst tk ? tk.getToken() : null; } }
package egovframework.com.file.excel.download; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel....
package com.as.boot; /** * @ClassName: ModOrder_DWD * @Description:定位胆 * @author Ason * @date 2018年12月13日 下午3:15:13 */ public class ModOrder_DWD { private String method; private String code; private String nums; private String piece; private String price; private String odds; private String point; private St...
package com.andybotting.oystermate.activity; import com.andybotting.oystermate.R; import com.andybotting.oystermate.utils.PreferenceHelper; import android.app.Activity; import android.os.AsyncTask; import android.os.Bundle; import android.os.SystemClock; import android.view.View; import android.webkit.CookieManager; ...
package bigdata; import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.io.DoubleWritable; import org.apache.hadoop.io.ObjectWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Cluster; import org.apache.hadoop.mapreduce.Job; import org.apache.hadoo...
package com.beike.util.lucene; import com.beike.util.PropertiesReader; import com.beike.util.StringUtils; public class URLFormat { public static String getGoodsURL(String goodsid){ if (StringUtils.validNull(goodsid)) { String static_url = PropertiesReader.getValue("project", "STATIC_URL"); if ("false...
/* * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...