text
stringlengths
10
2.72M
/* * Copyright 2017 Goldman Sachs. * 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...
package am.bizis.cds.exchange; import org.w3c.dom.Document; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import am.bizis.exception.ResponseException; /** * ResponseParser overi vystup podatelny EPO * @author alex */ public class ResponseParser { private final Document R...
package com.example.organizations.domain; import org.springframework.data.jpa.domain.Specification; import javax.persistence.criteria.Predicate; /* Класс с реализацией Spring Data JPA Specification для поиска записей по нескольким условиям */ public class OrganizationSpecs { public static Specification<Organizat...
package com.sunny.netty.chat.server.handler; /** * <Description> <br> * * @author Sunny<br> * @version 1.0<br> * @taskId: <br> * @createDate 2018/10/27 14:07 <br> * @see com.sunny.netty.chat.server.handler <br> */ import com.sunny.netty.chat.protocol.request.LogoutRequestPacket; import com.sunny....
package com.tc.nfc.manager; import android.os.AsyncTask; import android.util.Log; import com.tc.nfc.app.utils.StringToOther; import com.tc.nfc.util.Demand; /** * Created by xiansize on 2017/12/19. */ public class UhfManager { private boolean readFlag = true; private AsyncTask<Void,Void,String> asyncTask;...
import java.io.*; public class test { int num = 1; }
package de.domistiller.vp.android; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import java.util.ArrayList; public class SectionsPagerAdapter extends FragmentPagerAdapter { private ArrayList<St...
package at.sync.test; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * Synchronisation Test * Created by florianmathis on 14/01/16. */ public class SynchronisationTest { @Before public void setUp() throws Exception { } /** * Start a sync ta...
package com.dalmirdasilva.androidmessagingprotocol.device.message; import android.util.Log; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.List; import java.util.Queue; /** * Responsible to parse incoming bytes and to buikd a @See{Message} */ public class MessageParser { private stati...
package se.kth.iv1350.amazingpos.controller; import static org.junit.jupiter.api.Assertions.*; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import se.kth.iv1350.amazingpos.integrati...
package 飞毛腿外卖团; import java.awt.*; import java.awt.event.*; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import javax.swing.*; import javax.swing.table.JTableHeader; //查询订单界面 public class QueryOrder { long userId; JFrame f; JButton but; JTable ...
package f.star.iota.milk.ui.search; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.ViewGroup; import f.star.iota.milk.R; import f.star.iota.milk.base.BaseAdapter; public class SearchAdapter extends BaseAdapter<SearchViewHolder, SearchBean> { @Override ...
/** */ package iso20022.impl; import java.lang.reflect.InvocationTargetException; import java.util.Map; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.In...
package kxg.searchaf.url.gymboree; import java.util.ArrayList; import java.util.List; public class GymboreePage { public String url; public GymboreePage(String url) { this.url = url; } public static List<GymboreePage> getBabyGirlSale() { ArrayList<GymboreePage> urllist = new ArrayList<Gymbore...
/* * Copyright (c) 2016 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.db.generic.reg; import java.util.List; import org.apache.ibatis.session.SqlSession; import pl.edu.icm.unity.db.DBGroups; import pl.edu.icm.unity.db.generic.Dependen...
package myshop.config; import java.util.Arrays; import org.springframework.security.core.authority.SimpleGrantedAuthority; import myshop.model.User; //点击登陆按钮跳转 public class UserDetailsImpl extends org.springframework.security.core.userdetails.User { private static final long serialVersionUID = 1L; private User u...
package br.ufc.crt.bb.model; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import br.ufc.crt.bb.model.enums.ContaTipo; import br.ufc.crt.bb.model.enums.MovimentacoesTipo; public class Banco { private List<Conta> contas = new ArrayList<>(); private Conta conta; Scanner in = new Sca...
package com.smartsampa.gtfsapi; import java.io.IOException; /** * Created by ruan0408 on 11/03/2016. */ public class GtfsDownloader { private static final String DOWNLOAD_GTFS_SCRIPT_PATH = GtfsDownloader.class.getClassLoader().getResource("downloadGtfs.py").getPath(); private String login; ...
package com.pykj.annotation.demo.annotation.configure.lazy; import com.pykj.annotation.project.entity.MyPerson; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Lazy; /** * @description: @Lazy * @author: z...
package FactorGenerate; import java.util.Collections; import java.util.Comparator; import java.util.List; import DataModel.BlogUnit; import DataModel.FansNode; import DataModel.NodeUnit; public class Generator { static public boolean FactorGenerator(List<NodeUnit> nodes, List<BlogUnit> blogs) { ...
package com.zeroentropy.game.sprite; import java.util.LinkedList; import org.andengine.engine.handler.timer.ITimerCallback; import org.andengine.engine.handler.timer.TimerHandler; import org.andengine.entity.IEntity; import org.andengine.entity.modifier.AlphaModifier; import org.andengine.entity.modifier.FadeOutModif...
package Interfce_Grafica; import java.awt.*; import javax.swing.*; import Eventos.*; import Exception.ListaVaziaExeception; import Gerente.Gerente; public class Menu extends JFrame { private Container container, c; private JButton cadastraExercicio, cadastraQuestao, cadastraAluno, alteraPergunta, alteraResposta;...
// SPDX-License-Identifier: BSD-3-Clause // -*- Java -*- // // Copyright (c) 2005, Matthew J. Rutherford <rutherfo@cs.colorado.edu> // Copyright (c) 2005, University of Colorado at Boulder // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted pro...
package com.tvm.integrationBasic; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplicatio...
package foo.bar; /** * Created with IntelliJ IDEA. * User: War * Date: 20.04.14 * Time: 21:41 * To change this template use File | Settings | File Templates. */ public class Instrumentalist implements Performer { public Instrumentalist(){} public void perform() { System.out.print("Gram "+song+":"...
package com.fb.kit; public final class UserBillConstants { private UserBillConstants() { } /** * 造成资金转移的操作类型信息 * @author Administrator * */ public final static class OperatorInfo { /** * 投资成功 */ public final static String INVEST_SUCCESS = "invest_success"; /**管理员干预*/ public final static...
package com.citibank.ods.modules.client.bkrportfmgmt.functionality.valueobject; /** * @author Hamilton Matos */ public class BkrPortfMgmtListFncVO extends BaseBkrPortfMgmtListFncVO { }
package com.akulcompany.Groups; import com.akulcompany.auditoriya.Students; import java.util.ArrayList; public class Electronic_group { static final String group_name = "група № 103 кафедри ЕЛЕКТРОНіКИ,"; public Electronic_group () { } public ArrayList<Students> list_group= new Array...
package test; import java.io.File; import java.io.IOException; import org.apache.poi.EncryptedDocumentException; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Wo...
package project.handler; public class HelpHandler { public void manual(){ System.out.println(); System.out.println("---------------------------------------------------------------------------------------------------------"); System.out.println("프로그램을 실행시키려면 해당 메뉴의 명령어를 입력하여야 합니다."); System.out.prin...
package com.icogroup.baseprojectdatabinding.data.routing; import android.app.Activity; import android.content.Context; import com.icogroup.baseprojectdatabinding.data.model.Movie; /** * Created by Ulises.harris on 4/29/16. */ public interface IRouting { void movieDetail(Activity activity, Context context, Mov...
package com.project.pages; public class LandingPage { //all the webelements declaration and methods }
package data_stuctures; /** */ public class SpecialStructureTest { }
package tech.bts.productcatalog; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import java.io.BufferedReader; import java.io.FileReader; import java.io.PrintWriter; import java.lang.reflect.Type; import java.util.List; import java.util.Scanner; public class ProductCatalog { public stati...
import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; public class SortingLinkedLists { public static void main(String[] args) { LinkedList<Integer> numbers = getLinkedListOfNum(); LinkedList<Integer> numbers1 = getLinkedListOfNum(); LinkedList<Integer> numb...
package com.pichincha.prueba.api; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation...
package com.lesports.albatross.rss.impl; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.net.Uri; import com.lesports.albatross.Constants; import com.lesports.albatross.db.RSSProvider; import com.lesports.albatross.db.RSSTable; import com.lesports.a...
package pl.basistam; import java.util.List; public class Book { private List<String> authors; private List<Title> titles; private String isbn; public List<String> getAuthors() { return authors; } public void setAuthors(List<String> authorList) { this.authors = authorList; ...
package com.saf.emart.pos.service; public class sn { public String getSerialNumber() { String serialNumber="8138190"; return serialNumber; } }
/* * 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.mycompany.ejbclient; import com.mycompany.Calculator; import com.mycompany.ProjectStarter; import com.mycompany.ProjectSta...
package edu.mit.cci.simulation.web; import edu.mit.cci.simulation.model.MappedSimulation; import org.springframework.roo.addon.web.mvc.controller.RooWebScaffold; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.PathVariable; import or...
package in.anandm.oj.controller; import in.anandm.oj.command.RegistrationCommand; import in.anandm.oj.service.UserService; import in.anandm.oj.validator.RegistrationCommandValidator; import java.util.Locale; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controll...
package net.gupt.ebuy.util; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import org.hibernate.service.ServiceRegistry; import org.hibernate.service.ServiceRegistryBuilder; /** * hibernate工具类 * @author glf * */ public class Hi...
package StaticProxy; /** * @Auther: liuyi * @Date: 2019/6/21 15:58 * @Description: */ public class CountProxy { private Count count; public CountProxy(Count count1){ this.count = count1; } public void queryCount(){ System.out.println(count.toString() + " before query"); ...
package org.example.codingtest.twoLevel; import java.util.LinkedList; import java.util.List; /** * 초당 최대 처리량 : 임의 시간부터 1초간 처리하는 요청의 최대 개수를 의미한다. - 응답 완료 여부에 관계 없이 * 입력 값으로는 * S : 응답 완료 시간 * T : 처리 시간 **/ public class TrafficKakao { private static final TrafficKakao o = new TrafficKakao(); publi...
/* * 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.dthebus.gymweb.presentation.rest; import com.dthebus.gymweb.domain.accounts.Fees; import com.dthebus.gymweb.serv...
package us.steveboyer.sdremote; import android.util.Log; import com.androidhive.jsonparsing.JSONParser; import org.json.JSONException; import org.json.JSONObject; /** * Created by steve on 4/15/15. */ public class mGPIO { public static class mConnection { public String host; public int port; ...
package com.googlecode.gwtwebgl.utils; import com.google.gwt.core.client.JsArrayBoolean; import com.google.gwt.typedarrays.shared.Float32Array; import com.google.gwt.typedarrays.shared.Int32Array; import com.google.gwt.typedarrays.shared.Uint32Array; import com.googlecode.gwtwebgl.html.WebGLBuffer; import com.googleco...
class Student { private int id; private String name; public Student(int id, String name) { this.id = id; this.name = name; } public int getId() { return id; } } public class equal_method_of_object { public static void main(String[] args){ Student obj1...
package com.ifeng.recom.mixrecall.common.config; import com.ctrip.framework.apollo.Apollo; import com.ctrip.framework.apollo.Config; import com.ctrip.framework.apollo.core.utils.StringUtils; import com.ctrip.framework.apollo.model.ConfigChange; import com.ctrip.framework.apollo.model.ConfigChangeEvent; import c...
package drummermc.debug; import java.io.File; import java.io.FileWriter; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.TreeMap; import drummermc.debug.netwo...
package com.lidaye.shopIndex.domain.entity; import lombok.Data; import java.io.Serializable; @Data public class ShopShopcar implements Serializable { private Integer shopShopcarId; private Integer shopShopcarNumber; private Integer shopId; private Integer userId; private Integer orderId; priv...
package com.koma.component_base.base; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.jude.swipbackhelper.SwipeBackHelper; import io.reactivex.observers.ResourceObserver; /** * @author Koma * @date 18 40 * @des */ public class SwipeActivity extends AppCompatActivity { @Over...
package com.hhdb.csadmin.common.bean; import java.util.HashMap; import java.util.Map; public class ServerBean { private int dbid; private String connKey; private String port; private String dbName; private String host; private String password; private String userName; private String schema; private int schem...
package com.shangdao.phoenix.entity.account; import java.util.Date; import javax.persistence.*; import com.fasterxml.jackson.annotation.JsonIgnore; import com.shangdao.phoenix.entity.company.Company; import com.shangdao.phoenix.entity.companybill.CompanyBill; import com.shangdao.phoenix.entity.entityManager.EntityMan...
package com.javasampleapproach.mysql.association.service; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.javasampleapproach.mysql.association.model.Activities; import com.javasampleapproach.my...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.inbio.ara.eao.taxonomy.impl; import java.util.List; import org.inbio.ara.eao.taxonomy.*; import javax.ejb.Stateless; import javax.persistence.Query; import org.inbio.ara.eao.BaseEAOImpl; import org.inbio.ar...
/** * This class is generated by jOOQ */ package schema.tables.records; import java.sql.Timestamp; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.Record1; import org.jooq.Record9; import org.jooq.Row9; import org.jooq.impl.UpdatableRecordImpl; import org.jooq.types.UInteger; import sch...
package com.beike.service.impl.user; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.beike.common.enums.user.ProfileType; import com.beike.dao.GenericDao; import com.beike.dao.user.UserAddressDao; impo...
package test; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import pojo.Book; import utils.DbUtils; public class Program { public static void main(String[] args) { try( Connection connection = DbUtils.getConnection(); Statement statement = conne...
/* * Copyright (c) 2004 Steve Northover and Mike Wilson * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without limitation the rights to use, copy, ...
package com.pisen.ott.launcher.widget; import java.io.File; import android.content.Context; import android.content.res.Resources; import android.izy.util.LogCat; import android.izy.util.StringUtils; import android.os.Handler; import android.os.Message; import android.util.AttributeSet; import android.util.Log; import...
package com.marijannovak.littletanks; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Screen; import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.Texture; import co...
package de.mvbonline.tools.restapidoc.model; import java.util.LinkedList; import java.util.List; public class ApiObjectDoc implements Comparable<ApiObjectDoc> { private String modelClass; private String name; private String description; private List<ApiObjectFieldDoc> fields; private boolean pr...
package com.goldenasia.lottery.data; import com.goldenasia.lottery.base.net.RequestConfig; /** * 开奖信息获取 * Created by ACE-PC on 2016/1/22. */ @RequestConfig(api = "?c=game&a=getIssueInfo") public class IssueLastCommand { private String op; private int lotteryId; private String issue; public Stri...
package pruebasUnitarias; import java.util.List; import com.upc.dsd.api.TrabajadorApiResource; import com.upc.dsd.structures.Perfil; import com.upc.dsd.structures.Trabajador; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; public class ColaTest extends TestCase{ ...
package me.sh4rewith.config.jmx; import java.util.Date; import java.util.concurrent.atomic.AtomicReference; import me.sh4rewith.persistence.Repositories; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jmx.export.annotation.ManagedAttribute; import org.springframework.jmx.ex...
package com.example.sample.usertribe.Activities; import android.Manifest; import android.annotation.SuppressLint; import android.app.Activity; import android.app.IntentService; import android.content.Context; import android.content.Intent; import android.content.IntentSender; import android.content.pm.PackageManager; ...
package com.defrag.code.product; import java.sql.Date; /** * ���̺�� : TPRODUCTM * ���� ���̺� : TPRODUCTDT, TPRODUCT_GRADE, TPRODUCT_REVIEW, TPRODUCT_PRICE * @author joon7 */ public class ProductVO { private String productCode; /* */ private String productTitle; /* */ private String categoryCod...
package com.gaoshin.onsalelocal.osl.entity; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class UserDetails extends User { private int followers; private int followings; private int offers; public int getFollowers() { return followers; } public void setFollowers(int followers) { ...
package com.distributie.model; import java.io.IOException; import java.net.ConnectException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map.Entry; import org.ksoap2.HeaderProperty; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org...
package indi.jcl.magicblog.filter; import org.springframework.util.StringUtils; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.io.IOException; import java.util.ArrayList; import java.util.List; /...
package com.sum.flowable.task; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ExecutionException; import org.flowable.cmmn.api.CmmnRuntimeService; import org.flowable.cmmn.api.delegate.DelegatePlanItemInstance; import org.flowable.cmmn.api.delegate.PlanItemJavaDelegate; import or...
package CFG.Helper; import CFG.CFGSystem; import CFG.ChatBot; import java.io.File; import java.util.*; public class TestingTesting { public static void main(String[] args) { CFGSystem.load(new File("src/skillParserFiles/CFGSkill.txt")); System.out.println(CFGSystem.run("which lectures are there a...
public interface ITime { void SendCallBack(); void Start(); void Stop(); }
package com.example.shreyesh.sarinstituteofmedicalscience; import android.content.Context; import android.content.Intent; 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...
package com.code515.report.report_demo.Service.Impl; import com.code515.report.report_demo.Repository.ReportViewRepository; import com.code515.report.report_demo.Service.ReportService; import com.code515.report.report_demo.entity.view.ReportView; import org.springframework.beans.factory.annotation.Autowired; import or...
package com.iks.education.calculator.auxiliary; public enum Operator { ADD("+"), SUBTRACT("-"), MULTIPLY("*"), DIVIDE("/"), INVERSE("1/x", "1/", true), SQUARE_ROOT("sqrt", "sqrt", true), SQUARE("sqr", "sqr", true), PERCENT("%"); public final String symbol; public final String representation; public final boolea...
package com.ut.commoncomponent; import android.content.Context; import android.os.Build; import android.support.annotation.RequiresApi; import android.util.AttributeSet; import android.util.Log; import android.view.View; import android.view.ViewGroup; import java.util.ArrayList; import java.util.List; /** * author ...
package com.example.administrator.panda_channel_app.Fragment; import android.content.Intent; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.LinearLayout; import android.widget.ListView; import android.widget.Tex...
package com.gogo.base.constant; public class NumberNoType { public static final String ORDER = "order"; public static final String ORDER_ITEM = "orderItem"; public static final String ORDER_ADDRESS = "orderAddress"; public static final String PRODUCT = "product"; public static final String PRODUCT_STYLE = "produc...
package com.haku.light.graphics.g2d; import com.haku.light.Light; import com.haku.light.assets.impl.Mesh; import com.haku.light.assets.impl.font.BitmapFont; import com.haku.light.graphics.gl.GLVertexAttribute; public class TextMesh extends Mesh { public final BitmapFont font; private float maxWidth = 0; ...
// ********************************************************** // 1. 제 목: 모듈 관리 // 2. 프로그램명 : MenuSubAdminBean.java // 3. 개 요: 메뉴 관리 // 4. 환 경: JDK 1.3 // 5. 버 젼: 1.0 // 6. 작 성: 강성욱 2004. 12. 16 // 7. 수 정: // ********************************************************** package com.zi...
import java.util.ArrayList; import java.util.List; /* * 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. */ /** * * @author listya */ public class Herd implements Movable { priv...
package com.proky.booking.service; import com.proky.booking.dto.PageDto; import com.proky.booking.dto.StationDto; import com.proky.booking.dto.TrainDto; import com.proky.booking.exception.ServiceException; import com.proky.booking.persistence.dao.ITrainDao; import com.proky.booking.persistence.entities.Station; import...
/** * Created by mohammad on 5/17/17. */ public abstract class BarnamehPolicyChecker { public abstract boolean satisfy(Barnameh barnameh); }
package f.star.iota.milk.ui.zu80.www; import android.os.Bundle; import f.star.iota.milk.base.ScrollImageFragment; public class ZUFragment extends ScrollImageFragment<ZUPresenter, ZUAdapter> { public static ZUFragment newInstance(String url) { ZUFragment fragment = new ZUFragment(); Bundle bund...
package main; import java.util.ArrayList; public class ConstraintDif extends ConstraintAbstract { public ConstraintDif(ArrayList<String> var) { super(var); } public ConstraintDif(ArrayList<String> var, String name) { super(var, name); } @Override public boolean constraintIsRespectee(ArrayList<Object> tu...
package net.leloubil.mcpwn.mcapi; import android.annotation.SuppressLint; import android.content.Context; import android.os.AsyncTask; import android.widget.ImageView; import com.bumptech.glide.Glide; import com.bumptech.glide.load.engine.DiskCacheStrategy; import com.bumptech.glide.load.model.GlideUrl; import com.bum...
package com.eappcat.base.repository; import com.querydsl.jpa.impl.JPAQueryFactory; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.querydsl.QuerydslPredicateExecutor; import org.springframework.data.r...
package com.biz.servlet; import com.biz.service.StudentService; import com.biz.vo.Student; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java....
import java.lang.*; import java.util.*; // #!/usr/bin/python -O // #include <stdio.h> // #include <stdlib.h> // #include <string.h> // #include<stdbool.h> // #include<limits.h> // #include<iostream> // #include<algorithm> // #include<string> // #include<vector> // using namespace std; /* # Author : @RAJ009F # To...
package com.epam.university.spring.httpconverters; import com.epam.university.spring.domain.Ticket; import com.epam.university.spring.rest.domain.BookedTicketsResponse; import com.lowagie.text.Document; import com.lowagie.text.DocumentException; import com.lowagie.text.PageSize; import com.lowagie.text.Table; import c...
package first.improve.递增的三元子序列; public class Solution { public boolean increasingTriplet(int[] nums) { // 时间复杂度O(n^2), 空间复杂度O(1) // 从头扫描, 设定指针second // 再设双指针, first, third // 然后从该位置向两端扫描 // 先向前扫, 如果出现nums[firstIndex] < nums[secondIndex], 则再向后, 中间可能需要一个标记 // nums[...
/* * Copyright 2017 LinkedIn Corp. Licensed under the BSD 2-Clause License (the "License"). See License in the project root for license information. */ package com.linkedin.kafka.cruisecontrol.servlet; import com.codahale.metrics.MetricRegistry; import com.linkedin.kafka.cruisecontrol.KafkaClusterState; import com....
package org.blockwiseph.codingsessionslogdataanalysis.data.impl; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.nio.charset.StandardCharsets; import org.blockwiseph.codingsessionslogdataanalysis.data.ReportOutputWriter; import org.json.JSONObject; import c...
package org.giddap.dreamfactory.leetcode.onlinejudge; import org.giddap.dreamfactory.leetcode.commons.TreeNode; /** * <a href="http://oj.leetcode.com/problems/recover-binary-search-tree/">Recover Binary Search Tree</a> * <p/> * Two elements of a binary search tree (BST) are swapped by mistake. * <p/> * Recover t...
/** * Copyright 2015 EIS Co., Ltd. All rights reserved. */ package Java002; /** * @author 笹田 裕介 <br /> * 別クラスメソッドの呼出(ループ文による加算(引数間)) <br /> * 2つの実行時引数の間の整数の総和を求めるメソッドを呼び出して表示する <br /> * 更新履歴 2015/12/13(更新者):笹田 裕介:新規作成 <br /> */ public class Test10 { /** * メインメソッド <b...
/* * 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.pmm.sdgc.ws.model; import com.pmm.sdgc.model.EscalaTipo; import java.time.LocalDateTime; import java.util.ArrayList; impor...
package io.electrum.sdk.masking2; /** * Interface that will be used by various maskers (such as {@link MaskPan}) that define rules for how to mask the given * string. */ public abstract class Masker { // globally disable masking if this is set. Typically toggled via configuration in apps making use of this libra...