text
stringlengths
10
2.72M
package Utility; public class BasePage extends DriverFactory { }
package cn.bs.zjzc.presenter; import cn.bs.zjzc.model.IWithdrawDetailModel; import cn.bs.zjzc.model.callback.HttpTaskCallback; import cn.bs.zjzc.model.impl.WithdrawDetailModel; import cn.bs.zjzc.model.response.WithdrawDetailResponse; import cn.bs.zjzc.ui.view.IWithdrawDetailView; /** * Created by Ming on 2016/6/16. ...
/* * 2012-3 Red Hat Inc. and/or its affiliates and other contributors. * * 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 requi...
/* *Find the greatest common divisor of number *and the least common multiple of number */ package Lab06D7; /** * * @author Aliaksiej Protas */ public class Lab06D7 { public static void main(String[] args) { while (true) { long numberfirst = UserInput.input("Input a 1 number :")...
/* * Copyright 2009 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.tencent.mm.ui.conversation; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import com.tencent.mm.model.au; import com.tencent.mm.plugin.profile.a.c; import com.tencent.mm.ui.conversation.EnterpriseConversationUI.a.6; class EnterpriseConversationUI$a$6$1 im...
package cn.canlnac.onlinecourse.data.repository.datasource; import android.support.annotation.Nullable; import java.util.Map; import cn.canlnac.onlinecourse.data.entity.AnswerEntity; import cn.canlnac.onlinecourse.data.entity.CatalogEntity; import cn.canlnac.onlinecourse.data.entity.DocumentListEntity; import cn.can...
/* * @author 作者: qugang * @E-mail 邮箱: qgass@163.com * @date 创建时间:2018/8/25 * 类说明 数据以MD5算摘要,以免伪造数据 */ package com.yada.su.epay.ApmPayTest.util; import org.apache.commons.codec.digest.DigestUtils; import java.util.Comparator; import java.util.Map; import java.util.TreeMap; //import org.slf4j.Logger; /...
package com.liyinghua.service; import com.github.pagehelper.PageInfo; import com.liyinghua.entity.Collect; public interface CollectService { Integer addCollect(Collect col); PageInfo<Collect> getUserCollectByUserId(Integer userId, Integer fy); Integer del(Integer id); }
package com.yoeki.kalpnay.hrporatal.Notification; import android.app.ProgressDialog; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.DefaultItemAnimator; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import androi...
package com.h86355.tastyrecipe.requests; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonParseException; import com.h86355.tastyrecipe.models.FeedC...
package com.geekhelp.entity; import org.hibernate.validator.constraints.Length; import org.hibernate.validator.constraints.NotBlank; import javax.persistence.*; import java.util.Date; import java.util.List; /** * Created by V.Odahovskiy. * Date 09.02.2015 * Time 17:24 * Package com.geekhelp.entity */ @Entity pu...
package com.zadu.nightout; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v7.app.ActionBarActivity; import android.text.Editable; import android.text.TextWatcher; import android.view.View; import and...
package br.com.pcmaker.service; import java.util.List; import javax.transaction.Transactional; import br.com.pcmaker.entity.AcompanhamentoOrdemServico; public interface AcompanhamentoOrdemServicoService extends CrudService<AcompanhamentoOrdemServico>{ @Transactional AcompanhamentoOrdemServico salvar(I...
package com.qd.mystudy.tools; import com.taobao.common.tfs.DefaultTfsManager; import com.taobao.tair.impl.DefaultTairManager; import java.io.InputStream; import java.io.Serializable; import java.io.UnsupportedEncodingException; import java.net.InetAddress; import java.net.UnknownHostException; import java.u...
package at.porscheinformatik.sonarqube.licensecheck.webservice.configuration; public final class ProjectLicenseConfiguration { public static final String PARAM_PROJECT_KEY = "projectKey"; public static final String PARAM_LICENSE = "license"; public static final String PARAM_STATUS = "status"; public s...
package com.yida.design.decorator.abs; /** ********************* * @author yangke * @version 1.0 * @created 2018年3月19日 下午5:39:55 *********************** */ public abstract class AbstractSchoolReport { // 成绩单主要展示的就是你的成绩情况 public abstract void report(); // 成绩单要家长签字,这个是最要命的 public abstract void s...
package com.example.smn_arggregator; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.os.StrictMode; import android.util.Log; import android.view.View; import android.widget.Button; public class MainActivity extends AppCompatActivity { @Ove...
package com.coalesce; import com.coalesce.plugin.CoPlugin; import static org.bukkit.plugin.ServicePriority.Normal; public class Core extends CoPlugin { private static Core instance; private CoreConfig config; @Override public void onPluginEnable() { getServer().getServicesManager().registe...
package com.chaturvediji.customer; public class CustomerAddition { String id; String name; String age; String gender; String contact; String address; public CustomerAddition() { } public CustomerAddition(String id, String name, String age, String gender, String contact, String ad...
/* * 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 eldershop; import java.sql.Time; import java.sql.Date; import java.sql.Timestamp; /** * * @author Admin */...
import processing.core.*; import processing.data.*; import processing.event.*; import processing.opengl.*; import processing.sound.*; import java.util.HashMap; import java.util.ArrayList; import java.io.File; import java.io.BufferedReader; import java.io.PrintWriter; import java.io.InputStream; import java...
package com.personal.dao; import org.apache.ibatis.session.SqlSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.personal.model.MemberDTO; @Repository public class MemberDAO { @Autowired private SqlSession sqlSession; private Stri...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package talaash.preprocessing; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; im...
package com.neuedu.util; import javax.servlet.http.Cookie; import java.util.HashMap; import java.util.Map; public class CookieUtil { public static Map<String,Cookie> getCookie(Cookie[] cookies){ Map<String,Cookie> map = new HashMap<>(); if (cookies != null){ for (Cookie c:cookies ...
package desigpattern.observer; public class Sms implements NotifyObserve { @Override public boolean sendMsg() { System.out.println("send sms"); return true; } }
package com.sysh.service.impl; import com.sysh.mapper.SubmitMapper; import com.sysh.service.SubmitService; import com.sysh.util.ResultData; import lombok.AllArgsConstructor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.io.Serializable; impor...
package capturescreenshot; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.annotations.Test; import library.Utility; public class Facebookscreenshot { @Test public void captureScreenshot() throws Exception { WebDriver dr...
package Concurrency.ToastMake;/** * Created by pc on 2018/2/27. */ /** * describe: * * @author xxx * @date4 {YEAR}/02/27 */ public class Jammer implements Runnable { private ToastQueue butterqueue,finishqueue; public Jammer(ToastQueue butterqueue, ToastQueue finishqueue) { this.butterqueue = bu...
/** * create two pointer, travel the two list. if their tails are different, * return false. * else, compute the how many nodes that the longer list more than shorter list. * set two pointer at the start of two list * make the longer pointer advance by different length * the two pointer travel their own list toge...
package com.bytedance.sandboxapp.c.a.b.a.a; import com.bytedance.sandboxapp.a.a.c.s; import com.bytedance.sandboxapp.a.a.d.a; import com.bytedance.sandboxapp.c.a.a.a; import com.bytedance.sandboxapp.c.a.b; import com.bytedance.sandboxapp.protocol.service.a.a.a; import com.bytedance.sandboxapp.protocol.service.a...
package voting; import java.util.List; @SuppressWarnings("checkstyle:typename") public interface DB_VotingManagement extends VotingObserver { /** * Adds a new, already finished, {@link Voting} to the database. * * @param v The {@link Voting} to be added. * * @return True, iff the {@link ...
package spoofax.core.cmd.command; import org.metaborg.core.MetaborgException; public interface ICommand { boolean validate(); int run() throws MetaborgException; }
package com.mcf.service; import java.util.Map; import com.mcf.base.common.page.Pager; import com.mcf.base.common.service.IBaseService; import com.mcf.base.exception.BaseException; import com.mcf.base.pojo.Copartner; /** * Title. <br> * Description. * <p> * Copyright: Copyright (c) 2016年12月17日 下午2:46:31 * <p> *...
package com; import java.sql.*; public class Hospital { Connection conn = null; public Hospital() { String url = "jdbc:mysql://localhost:3306/pafhospitalmanagementdb2020?autoReconnect=true&useSSL=false"; String userName = "root"; String password = ""; try { Class.forName("...
package com.train.route; import com.train.route.actions.DistanceAction; import junit.framework.TestCase; /** * @author abhishek.ghosh */ public class DistanceActionTest extends TestCase { public void testExecute() { TrainNetwork g1 = new TrainNetwork("AB2, BA3, BD5, BE7, DB11, EB13, CE17, EC19, DE23, E...
/* * 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 Aula7.Exercicio4; /** * * @author mauricio.moreira */ public class ContaBancariaEspecial extends ContaBancaria{ public...
package com.ajay.cloning; public class Main { public static void main(String[] args) throws CloneNotSupportedException { Address address = new Address("Pune", 1424); Person person = new Person(101,"ajay",address); Person person2 = (Person) person.clone(); person2.getAddress().setCity("Solapur"); Syst...
/* * @Author : fengzhi * @date : 2019 - 04 - 28 21 : 36 * @Description : */ package nowcoder_leetcode; import java.util.ArrayList; /* * 如果要求输出所有可能的解,往往都是要用深度优先搜索。 * 如果是要求找出最优的解,或者解的数量,往往可以使用动态规划。 */ public class p_19 { private ArrayList<ArrayList<String>> arrayLists = new ArrayList<>(); private Array...
package io.github.cepr0.authservice.model; import lombok.Value; import org.springframework.data.annotation.Id; import org.springframework.data.keyvalue.annotation.KeySpace; import java.util.Set; import java.util.UUID; @Value @KeySpace("customers") public class Customer { @Id UUID id; String phoneNumber; ...
/** * */ package pt.mleiria.nonlinear.numeric; import pt.mleiria.mlalgo.functions.OneVarFunction; /** * @author manuel * * Condição suficiente de convergência do método:<br> * - f continua em [a, b] <br> * - f(a)f(b) < 0 * */ public class Bissection { private double x; privat...
package soumyavn.java.CheckoutSimulation; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; public class CustomerTest extends TestCase { public CustomerTest( String testName ) { super( testName ); } public static Test suite() { ...
package com.tencent.mm.plugin.order.ui; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemLongClickListener; import com.tencent.mm.plugin.wxpay.a$i; import com.tencent.mm.ui.base.h; class MallOrderRecordListUI$2 implements OnItemLongClickListener { final /* synth...
package com.tencent.mm.protocal; import com.tencent.mm.protocal.c.g; public class c$ix extends g { public c$ix() { super("startMonitoringBeacons", "startMonitoringBeacons", 151, true); } }
public class PigLatinTester extends PigLatin { public static void main(String[] args) { System.out.println(pigLatinSimple("mock")); System.out.println(pigLatinSimple("pie")); System.out.println(pigLatinSimple("david")); System.out.println(pigLatinSimple("aaron")); System.out.println(pigLatinSimple("a")); ...
package app0527.network.basic.echo.cmd; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.net.ServerSocket; import java.net.Socket; // 에코서버를...
package manager.editmenu; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene.layout.Pane; import javafx.stage.Stage; public class EditMenuMain extends Application { public static void main(String[] args) { Application.launch(EditMenuMain.class...
package com.example.lookie; import android.content.Intent; import android.content.SharedPreferences; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.google.gson.Gson; import com.google.gso...
package versuch_2; import java.io.*; /** * Created by Marvin Kirsch on 09.11.2016. * Matrikelnr.: 11118687 * Aufgabenblatt 2 - "Kontrollstrukturen und Algorithmen" */ public class Portnummern { public static void main(String args[]) throws IOException { BufferedReader in = new BufferedReader(new Inpu...
import java.util.*; public class AtaqueIntercalado implements Estrategia { private ArrayList<Elfo> exercitoOrdenado = new ArrayList<>(); public ArrayList<Elfo> getOrdemDoUltimoAtaque() { return this.exercitoOrdenado; } public void atacar(ArrayList<Elfo> exercito, ArrayList<Dwa...
package de.hse.swa.dbmodel; import java.io.Serializable; import javax.persistence.*; import java.util.List; /** * The persistent class for the company database table. * */ @Entity @NamedQuery(name="Company.findAll", query="SELECT c FROM Company c") public class Company implements Serializable { private static f...
/** * Clase que implementa la excepcion que se lanza cuando * se solicita realizar un ciclo de una reparacion y la * misma ya no tiene ciclos pendientes (esta concluida) */ package excepciones; /** * @author agonzalez * */ @SuppressWarnings("serial") public class ErrorReparacionYaConcluida extends Exception ...
package com.gtfs.dao.interfaces; import java.util.List; import org.hibernate.Query; import org.hibernate.Session; import com.gtfs.bean.DesignationMst; import com.gtfs.dao.impl.HibernateUtil; public interface DesignationMstDao { List<DesignationMst> findAllActiveFromDesignationMst(); DesignationMst findById(Long d...
package com.jk.jkproject.net.okhttp; public class HttpConstants { public static final int DEFAULT_CONNECT_TIME_OUT = 30; public static final String DEFAULT_ERROR = "error"; public static final int DEFAULT_READ_TIME_OUT = 30; public static final int DEFAULT_WRITE_TIME_OUT = 30; public static final...
package bootcamp.testng; import org.testng.annotations.AfterClass; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeMethod; /** * Unit test for simple App. */ public class AppTest { @BeforeClass public void beforeClass() { System.out.pri...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.components.devtools_bridge.gcd; /** * Information needed for registration in GCD. * Instance secret will be bound to oAuthClientId...
/* */ package com.ketonix.ketonixpro; /* */ /* */ import java.io.File; /* */ import java.io.FileNotFoundException; /* */ import java.io.FileOutputStream; /* */ import java.io.IOException; /* */ import java.io.InputStream; /* */ import java.io.OutputStream; /* */ /* */ /* */ /* */...
package com.wds.spring.batch.ch03.next; import org.springframework.batch.core.StepContribution; import org.springframework.batch.core.scope.context.ChunkContext; import org.springframework.batch.core.step.tasklet.Tasklet; import org.springframework.batch.repeat.RepeatStatus; /** * Created by wds on 2015/9/29. */ pu...
package com.flutterwave.raveandroid.rave_presentation.mpesa; import androidx.annotation.Nullable; public interface MpesaPaymentCallback { /** * Called to indicate that a background task is running, e.g. a network call. * This should typically show or hide a progress bar. * * @param active If t...
import java.util.Scanner; public class Problem4_20 { public static void main(String[] args) { Scanner input = new Scanner(System.in); //Prompt the user to enter a string System.out.print(" Enter a string :"); String s = input.nextLine(); //Display string length and its first character System.out.println( s +" has...
/* 1: */ package com.kaldin.common.utility; /* 2: */ /* 3: */ import com.kaldin.common.db.QueryHelper; /* 4: */ import com.kaldin.common.formatter.Formatter; /* 5: */ import java.sql.ResultSet; /* 6: */ import java.util.GregorianCalendar; /* 7: */ /* 8: */ public class Activity /* 9: ...
package com.system.servlet; import java.io.IOException; 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 com.google.gson.Gson; import com.teachsy...
import java.io.IOException; import java.util.*; public class Service { public static final String CAR_FILE = "car.csv"; public static final String CREATE_CAR_FILE = "createcar.csv"; public static final String DEALERSHIP_FILE = "dealerships.csv"; public static final String CREATE_DEALERSHIP_FILE ...
package shared; import java.lang.*; /** scoring device for CatTestResult **/ public class ScoringMetrics { // Public member data /** The number fo instances correctly classified. */ public int numCorrect; /** The number fo instances incorrectly classified. */ public int numInco...
package dng.deongeori; public class DeongeoriInviteMessageBean { private int dng_inv_id; // 덩어리 초대 메세지 번호. private String dng_id; // 초대할 덩어리 아이디. private String dng_inv_from; // 초대한 회원 아이디. private String dng_inv_to; // 초대할 회원 아이디. private char dng_inv_isallow; // 초대 수락 여부. private String dng_inv_re...
public class Car { public void applyBrakes() { System.out.println("driver applies brakes."); checkSurroundings(); } public void checkSurroundings() { System.out.println("driver checks surroundings."); } }
/* * 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 gerenciador.telas; import java.net.URL; import javax.swing.ImageIcon; /** * * @author J4CkS0N */ public class ConfirmaGUI ...
package com.dmt.sannguyen.lgwfb; import android.app.DatePickerDialog; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.LoginFilter; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.DatePic...
package com.zhouyi.business.core.service; import com.zhouyi.business.core.model.LedenBbs; import com.zhouyi.business.core.model.PageData; import com.zhouyi.business.core.model.Response; import com.zhouyi.business.core.vo.BbsVo; import java.util.List; import java.util.Map; /** * 公告业务 */ public interface LedenBbsSer...
package com.osce.server.portal.biz.training.res.room; import com.osce.api.biz.training.res.room.PfRoomService; import com.osce.dto.biz.training.res.room.RoomDto; import com.osce.enums.SysDicGroupEnum; import com.osce.result.PageResult; import com.osce.server.portal.BaseController; import com.osce.server.security.Curre...
package com.example.imdb; 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.SpringBootApplication; impo...
package dataStructures; import java.io.Serializable; /** * This class is used for storing Corpus information like total documents * and total number of postings generated after indexing * */ public class CorpusStatistics implements Serializable{ private static final long serialVersionUID = 114248531690435365L; ...
package com.penzias.service; import com.penzias.core.interfaces.BasicService; import com.penzias.entity.UserPersonalInfo; import com.penzias.entity.UserPersonalInfoExample; public interface UserPersonalInfoService extends BasicService<UserPersonalInfoExample, UserPersonalInfo> { }
package havelsan.staj.SocialNetwork; public class Movie extends GraphNode{ private MovieData data; public MovieData getData() { return data; } public void setData(MovieData data) { this.data = data; } }
package ele_32_lab4; public class Codificador2 { int[] estados = new int[2]; int saida1 = 0; int saida2 = 0; int saida0 = 0; int contador = 0; public Scrambler scram; public Codificador2(){ resetEstados(); scram = new Scrambler(); } public void resetEstados(){ estados[1] = 0; estados[0] = 0; } ...
package org.browsexml.timesheetjob.web; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.browsex...
package com.shoplite.model; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import lombok.Data; //anotacion lombox @Data //crea en Mongodb la collection @Document public class Usuario { @Id public String id; public String password; }
package com.cn.my.util; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import redis.clients.jedis.JedisPool; @Component public class CacheUtil{ @Autowired private JedisPool jedisPool; public boolean put2Cache(String cacheKey...
import java.util.*; public class geography { static KBC obj = new KBC(); public static double question() { double i,r=0; for (i = 0 ; r<10000;i++ ) { i = Math.random(); r = i*10; if(r<3&&r>-1) { break; } } return r; ...
package com.tencent.xweb.xwalk.a; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.os.Build.VERSION; import com.tencent.smtt.utils.TbsLog; import com.tencent.xweb.xwalk.a.a.a; import com.tencent.xweb.xwalk.a.a.b; import org.xwalk.core.NetworkUtil; import org.xwa...
package controllers; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import javax.swing.JOptionPane; import models.Query; import persistence.FileManager; import views.DialogDeleteVotes; import views.WindowQueryAnticorruption; public class Controller impl...
package interviewbit.array; import java.util.ArrayList; public class Interval { public int start; public int end; public Interval() { start = 0; end = 0; } public Interval(int s, int e) { start = s; end = e; } public ArrayList<Interval> insertInterval(ArrayList<Interval> intervals, Interval newIn...
public class Chief extends FullTime { public float salary(int[] workingHours) { int dayOfWork = 5 * 4; int severancePay = (2016 - getYearOfStart()) * 16; int overWorkHours = 0; for (int i = 0; i < 4; i++) { if ((workingHours[i]-40) > 8) overWorkHours += 8; else overWorkHours += (...
package idv.randy.petwall; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import andro...
package com.fixit.notifications; import android.app.AlarmManager; import android.app.Notification; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.SystemClock; import android.support.v4.app.NotificationCompat; import com.fixit.app.R; import com.fixit....
package edu.wpi.teamname; public class FizzBuzzWhiz { public FizzBuzzWhiz() {} public String answer(int number) { if (number % 3 == 0 && number % 5 == 0) { return "fizzbuzz"; } else if (number % 3 == 0) { return "fizz"; } else if (number % 5 == 0) { return "buzz"; } else if (isPr...
/** * MrHan 所提供的文字处理工具类 */ package com.mrhan.text;
package com.mrhan.util; /** * 其他工具类 */ public class OtherUtil { /** * 判断一个字符串是否是数字 +1 -1 -1.1 都可以识别数字 * * @param str 检测字符串 * @return Boolean true代表是数字 */ public static boolean isNumber(String str){ int p= 0;//当前字符下标 int l = str.length();//字符串长度 if(str.isEmpty(...
package discreteStochaticSim; import antColony.HCResults; import antColony.HamiltonianCycle; import antColony.OptProblem; import antColony.StochasticOptimProb; import discreteStochaticSim.*; import graph.graph; /************************************************************************************ * Controlo dos Prin...
package net.plazmix.core.api.spigot; import net.plazmix.core.api.CoreApi; import net.plazmix.core.api.common.command.CommandBuilder; import net.plazmix.core.api.spigot.inventory.view.builder.GlobalViewInventoryBuilder; import net.plazmix.core.api.spigot.inventory.view.builder.PersonalViewInventoryBuilder; import net.p...
package edu.curd.operation.student; import edu.curd.operation.*; import edu.curd.dto.StudentDTO; import edu.dbConnection.DatabaseConnection; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; i...
package com.boardex.demo.service; import com.boardex.demo.domain.entity.BoardEntity; import com.boardex.demo.domain.repository.BoardRepositoryInterface; import com.boardex.demo.dto.BoardDto; import lombok.AllArgsConstructor; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageReque...
Compiled from "FreezeAlien.java" final class xfiles.T extends java.lang.Enum<xfiles.T> { public static xfiles.T[] values(); Code: 0: getstatic #1 // Field $VALUES:[Lxfiles/T; 3: invokevirtual #2 // Method "[Lxfiles/T;".clone:()Ljava/lang/Object; 6: checkc...
package com.mpakhomov.tree; /** * A node of Red Black Tree (BST) * * @author mpakhomov * @since: 7/13/2015 * @param <T> the type of keys */ public class RbtNode<T extends Comparable<T>> extends BstNode { boolean color = RedBlackTree.BLACK; public RbtNode(T key, boolean color) { super(key); ...
package com.mysql.cj.protocol.a; import com.mysql.cj.Constants; import com.mysql.cj.Messages; import com.mysql.cj.conf.PropertyDefinitions; import com.mysql.cj.conf.PropertyKey; import com.mysql.cj.conf.PropertySet; import com.mysql.cj.conf.RuntimeProperty; import com.mysql.cj.exceptions.ExceptionFactory; import com.m...
package com.dubainow.mobile.pages; import org.openqa.selenium.support.PageFactory; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; import com.dubainow.mobile.base.TestBase; import io.appium.java_client.MobileElement; import io.appium.java_client.android....
package co.th.aten.football.ui.report; import co.th.aten.football.Configuration; import java.awt.Color; import com.jensoft.sw2d.core.democomponent.Sw2dDemo; import com.jensoft.sw2d.core.glyphmetrics.StylePosition; import com.jensoft.sw2d.core.glyphmetrics.painter.fill.GlyphFill; import com.jensoft.sw2d.core.g...
package ru.recursiy.alpintour; import android.content.Context; import android.database.Cursor; import android.widget.SimpleCursorTreeAdapter; import ru.recursiy.alpintour.storage.Storage; /** * Adapter for routes list */ public class RouteListAdapter extends SimpleCursorTreeAdapter { Storage storage; publ...
package com.inspiredcoda.getitdone; import androidx.appcompat.app.AppCompatActivity; import android.app.ActivityOptions; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.util.Pair; import android.view.View; import android.widget.ImageView; public class MainActivity e...
package com.example.sas_maxnot19.luckyapp.activities; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.provider.MediaStore; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCom...