text
stringlengths
10
2.72M
package common; import raytracer.Ray; import tuples.Point3f; import tuples.Vector3f; public class BoundingBox3D { public final Vector3f[] bounds = new Vector3f[2]; public BoundingBox3D(float left, float right, float bottom, float top, float near, float far) { assert left <= right; assert bottom <...
package com.gagetalk.gagetalkcustomer.activities_dialog; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.view.Win...
package org.abrahamalarcon.datastream.service; import org.abrahamalarcon.datastream.dao.WeatherDAO; import org.abrahamalarcon.datastream.dom.DatastoreMessage; import org.abrahamalarcon.datastream.dom.response.DatastoreResponse; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory....
package algorithms; //Program to swap numbers without Using temp variable: public class ExampleSwapNumbers { public static void main(String[] args) { int n1 = 3; int n2 = 5; System.out.println("Before: " + n1 + " - " + n2); n1 = n1 + n2; n2 = n1 - n2; n1 = n1 - n2; System.out.println("After: " + n1 +...
package com.lihang.multithread.base; import java.util.ArrayList; import java.util.List; import java.util.concurrent.*; import java.util.stream.Stream; import static java.util.stream.Collectors.toList; /** * 多线程的基础实现 * * @author lih * @create 2019-04-23-15:32. */ public class ThreadBaseImpl { /** * 线程的...
package edu.westga.retirement.viewmodel; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import edu.westga.retirement.model.RetirementScenario; import edu.westga.retirement.model.RetirementYe...
package br.com.transactions.domain.utils; import static org.junit.Assert.assertEquals; import org.junit.Test; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.ActiveProfiles; import br.com.transactions.domain.utils.exception.CardHolderNotFoundException; @SpringBoo...
package com.aisino.invoice.pygl.po; import java.util.Date; /** * @ClassName: FwkpFpjkc * @Description: * @author: ZZc * @date: 2016年10月10日 下午8:11:29 * @Copyright: 2016 航天信息股份有限公司-版权所有 * */ public class FwkpFpjkc { private int xh; private String qysb; private Integer id; private String xfsh; private Inte...
package com.zjf.myself.codebase.activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ListView; import com.zjf.myself.codebase.R; import com.zjf.myself.codebase.activity.AlgorithmList.Digita...
package org.jewelry.hashing; import java.security.MessageDigest; import java.security.SecureRandom; import java.security.NoSuchAlgorithmException; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.sql.*; import java.util.Arrays; import sun.misc.BASE64Decoder; import sun.misc.BASE64En...
public class arrayisstored { public static void increment(int nums[]) { nums=new int[5]; for(int i=0;i<nums.length;i++) { nums[i]++; System.out.print(nums); } } public static void main(String[] args) { // TODO Auto-generated method stub int arr[]= {3,23,4,13,4,233...
package xml; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamImplicit; import java.util.ArrayList; import java.util.List; @XStreamAlias("Mes") public class Mes { private String nomeMes; @XStreamImplicit private List<Dias> dias = new ArrayList...
import static org.junit.Assert.*; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; public class MSTTest { private static MST mst;static int graph[][]; @BeforeClass public static void setUpBeforeClass() throws Exception {...
package com.dubboagent.context.trace; /** * @author chao.cheng */ public interface AbstractTrace { /** * 查看栈顶span * * @return */ public AbstractSpan peekSpan(); /** * 将最新span压入栈顶 * * @param span */ public void pushSpan(AbstractSpan span); /** * 获取t...
import java.util.Scanner; class Anagram { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.print("Enter 1st word: "); String a = in.nextLine(); System.out.print("Enter 2nd word: "); String b = in.nextLine(); a = a.replaceAll(" ...
package com.dta.test; class TpJava03 { public static void main(String args[]){ byte x = 10; System.out.println(x); x+= 1000; System.out.println(x); } }
package org.restapi.com.messenger.model; import java.util.Date; public class Profile { private long id; private String profileName; private String firtName; private String lastName; private Date created; public Profile(long id, String profileName, String firtName, String lastName) { super(); this.id = i...
package com.tomaszdebski.decerto.exception; public class QuoteNotFoundException extends RuntimeException{ public QuoteNotFoundException(Long id) { super("Could not find quote " + id); } }
package com.bridgelabz.censusAnalyser.censusADAPTER; import com.bridgelabz.censusAnalyser.censusDAO.CensusAnalyserDAO; import com.bridgelabz.censusAnalyser.censusDTO.IndianStateCensusData; import com.bridgelabz.censusAnalyser.censusDTO.USCensusPOJO; import com.bridgelabz.censusAnalyser.exception.CensusAnalyserException...
/* * Copyright 1999-2017 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...
package org.vincent.chain.test; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.function.BiFunction; import java.util.function.BinaryOperator; import java.util.stream.Stream; /** * @author PengRong * @package org.vincent.chain.test * @ClassName MainTest.java * @date ...
package android.content; import java.util.HashMap; public final class ContentValues implements android.os.Parcelable { private HashMap<String, Object> map = new HashMap<String, Object>(); public ContentValues() { } public ContentValues(int size) { } public ContentValues(and...
package automation.homeworkoop2interface; /** * @author cosminghicioc * */ public interface PersonWalk { /** * Interface method walk */ public void walk(); }
package pl.com.nur.springsecurityemailverification.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; import pl.com.nur.springsecurityemailverification.model.AppUser; import pl.com.nur.springs...
package com.javarush.test.level08.lesson11.home05; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; /* Мама Мыла Раму. Теперь с большой буквы Написать программу, которая вводит с клавиатуры строку текста. Программа заменяет в тексте первые буквы...
package com.socialteinc.socialate; import android.content.Context; import android.content.res.TypedArray; import android.preference.Preference; import android.util.AttributeSet; import android.view.View; import android.widget.SeekBar; /** * This class is a custom preference, it will be used to make a settings object,...
package com.sozolab.clientserver; import android.content.Context; import android.os.Environment; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader;...
package com.khenprice.twitter; /** * A class representing a Twitter tweet. * * @author khenprice * */ public class Tweet { String text; int sentiment; int retweetCount;; public int getRetweetCount() { return retweetCount; } public void setRetweetCount(int retweetCount) { this.retweetCount =...
package com.topeventos.repository; import com.topeventos.models.Evento; import org.springframework.data.repository.CrudRepository; /* CLASSE QUE IMPLEMENTA DA INTERFACE 'CrudRepository' MÉTODOS PARA CRUD(cadastrar, listar, atualizar, deletar) de */ public interface EventoRepository extends CrudRepository<Evento, St...
package practise; public class Program2 extends DemoProgram { int i=99; @Override protected void increment() { // TODO Auto-generated method stub System.out.println(++i); } public static void main(String[] args) { Program2 p=new Program2(); p.increment(); } } class DemoProgram { int i=5; prote...
package com.zeal.common.log; import android.util.Log; /** * Log统一管理类 * * @author zeal * */ public class Logger { public static boolean isDebug = true;// 是否需要打印bug,可以在application的onCreate函数里面初始化 private static final String TAG = "zeal"; // 下面四个是默认tag的函数 public static void i(String msg) { if (isDebug) ...
// // Decompiled by Procyon v0.5.36 // package com.davivienda.sara.tablas.edccargue.session; import java.util.Date; import java.util.Collection; import javax.annotation.PostConstruct; import com.davivienda.sara.tablas.edccargue.servicio.EdcCargueServicio; import javax.persistence.PersistenceContext; import javax.pe...
package handle; import java.util.ArrayList; import java.util.List; import org.hibernate.Criteria; import org.hibernate.Session; import entity.Departs; public class DepartsHandle extends AbstractHandle { public DepartsHandle() { super(Departs.class); } }
/* * Copyright 2002-2012 Drew Noakes * * 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...
package com.springapp.mvc.core.Exception; /** * Created by max.lu on 2015/10/19. */ public class BusinessProcessException extends RuntimeException { public BusinessProcessException(String message) { super(message); } public BusinessProcessException(String message, Throwable cause) { supe...
package java.com.kaizenmax.taikinys_icl.pojo; public class RetailerDetailsPojo { public static final String RETAILERDETAILS_TABLE_NAME = "retailerdetails"; public static final String RETAILERDETAILS_COLUMN_ID = "id"; public static final String RETAILERDETAILS_COLUMN_FIRM_NAME = "firmname"; public stati...
package com.atlassian.theplugin.configuration; import com.atlassian.theplugin.commons.ServerType; import com.atlassian.theplugin.commons.cfg.JiraServerCfg; import com.atlassian.theplugin.commons.cfg.ServerIdImpl; import com.atlassian.theplugin.commons.jira.JiraServerData; import com.atlassian.theplugin.commons.j...
package com.appspot.smartshop.ui.user; import java.net.URLEncoder; import java.util.LinkedList; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android...
package com.example.demo.dbflute.exbhv.pmbean; import com.example.demo.dbflute.bsbhv.pmbean.BsUserDataPmb; /** * <!-- df:beginClassDescription --> * The typed parameter-bean of UserData. <span style="color: #AD4747">(typed to list, entity)</span><br> * This is related to "<span style="color: #AD4747">selectUserDat...
/* * The contents of this file are subject to the terms * of the Common Development and Distribution License * (the "License"). You may not use this file except * in compliance with the License. * * You can obtain a copy of the license at * https://jwsdp.dev.java.net/CDDLv1.0.html * See the License for the sp...
package testers; public class GetValue{ public static void main(String[] args){ System.out.println("ABC"); } public int getInt(int param){ return (param*4); } }
package PACKAGE_NAME;public class Challenge6 { }
import java.io.UnsupportedEncodingException; import java.util.HashMap; import java.util.Map; import java.util.regex.Pattern; public class StringUtil { public static void main(String[] args) throws UnsupportedEncodingException { byte[] bytes = "熊娃,说啥呢,还用上了敬语,滚粗".getBytes("GBK"); // System.out.print(b...
/* * Copyright (c) 2013 MercadoLibre -- All rights reserved */ package com.zauberlabs.bigdata.lamdaoa.batch; import java.util.Date; /** * Frag event. * * * @since Aug 23, 2013 */ public class Frag { private Date timeStamp; private String game; private String fragger; private String fragged;...
package uppgifterV35; public class stringReverse { public static void main(String[] args) { System.out.println(reverse("Hej JaoK")); } public static String reverse(String input) { if (input.length() == 1) { return input; } else { return reverse(input.substr...
package com.ht.event.dao; import java.util.List; import com.ht.event.model.User; import org.springframework.stereotype.Repository; @Repository public interface UserDao { void addUser(User user); void updateUser(User user); User getUser(Integer id); void deleteUser(Integer id); List<User> getU...
/** * Sencha GXT 1.0.0-SNAPSHOT - Sencha for GWT * Copyright (c) 2006-2018, Sencha Inc. * * licensing@sencha.com * http://www.sencha.com/products/gxt/license/ * * ================================================================================ * Commercial License * ============================================...
package com.pingan.utils; import java.io.IOException; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.serializer.SerializerFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.pingan.pojo.User; public class SerializeUtils { private static JSONObject json = new JSONObject(); ...
package facades; import entities.Address; import entities.Person; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; public class PersonFacade implements IPersonFacade { private static PersonFacade instance; private static EntityManagerFactory emf; ...
package com.duanc.api.admin; import java.util.List; import com.duanc.model.base.BaseResources; import com.duanc.model.base.BaseRole; public interface AuthcService { List<BaseRole> getRoles(); List<BaseResources> getResources(); }
/* * Origin of the benchmark: * repo: https://github.com/diffblue/cbmc.git * branch: develop * directory: regression/cbmc-java/boolean2 * The benchmark was taken from the repo: 24 January 2018 */ public class Main { public static void main(String[] args) { boolean b=args.length > 2; boolea...
package dk.webbies.tscreate.analysis.declarations.typeCombiner.singleTypeReducers; import dk.webbies.tscreate.analysis.declarations.typeCombiner.SingleTypeReducerInterface; import dk.webbies.tscreate.analysis.declarations.types.ClassType; import dk.webbies.tscreate.analysis.declarations.types.DeclarationType; import d...
import java.awt.*; import java.awt.event.*; public class ChatClient { private Frame f; private TextField tfield; private TextArea tarea; private Button bsend; private Button bquit; private Choice choice; private MenuBar mb; private Menu m1; private Menu m2; private ...
package com.jic.libin.leaderus; import java.nio.charset.StandardCharsets; //http://dev.mysql.com/doc/refman/5.7/en/identifiers.html 表名命名标准 public class SQLParse2 { static final byte CHAR_A = 0x41; static final byte CHAR_B = 0x42; static final byte CHAR_C = 0x43; static final byte CHAR_D = 0x44; ...
package com.mredrock.freshmanspecial.ui; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import com.mredrock.freshma...
package com.rqhua.demo.lib_annotation_demo; import android.app.Activity; import com.rqhua.demo.lib_compile.Constants; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; /** * Created by Administrator on 2018/6/26. */ public class AnnotationDemo { public static void att...
package com.gaoshin.onsalelocal.slocal.resource; import javax.ws.rs.DefaultValue; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.QueryParam; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.gaoshin.onsalelocal.api.OfferDet...
/* * 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...
package instruments; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; public class GuitarTest { Guitar guitar; @Before public void before(){ guitar = new Guitar(4, GuitarType.BASS, "concrete", "Guitar", "black", 115, 200, "bring"); ...
package com.ut.module_lock.activity; import android.arch.lifecycle.ViewModelProviders; import android.content.Intent; import android.databinding.DataBindingUtil; import android.databinding.ViewDataBinding; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AlertDialog; ...
package com.ledungcobra.entites; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import javax.persistence.*; import java.util.ArrayList; import java.util.List; @Entity @Table(name = "CLASS", uniqueConstraints = @UniqueConstraint(name = "UK_CLASS", columnN...
package com.performance.optimization.design.observer; import org.junit.Test; /** * 观察者模式测试 * @author qiaolin * */ public class ObserverTest { @Test public void test(){ ConcreteSubject subject = new ConcreteSubject(); subject.attach(new ConcreteObserver());//观察者加入 subject.attach(new ConcreteObserver())...
package com.qfc.yft; import java.util.HashMap; import java.util.List; import java.util.Map; import org.json.JSONException; import org.json.JSONObject; import com.ggwork.net.socket.SocketBuild; import com.qfc.yft.entity.Category; import com.qfc.yft.entity.Company; import com.qfc.yft.entity.Series; import...
package com.esum.framework.product.license; import java.util.Calendar; import com.esum.framework.common.util.DateUtil; public class LicenseManager { private static LicenseValidator validator = new LicenseValidator(); public static void validate(String licenseFilePath, String installPathSysVariable, String ...
package dao; import entities.CoffeeOrderItem; import java.io.Serializable; import java.sql.SQLException; import java.util.List; public interface CoffeeOrderItemDao extends DAO<CoffeeOrderItem> { /** * get all records of CoffeeOrderItem from DB for definite CoffeeOrder with id = orderId * * @param ...
package _DAO; import java.sql.*; import _DTO.Member; public class MemberDAO { private MemberDAO() {} private static MemberDAO dao = new MemberDAO(); public static MemberDAO getInstance() { return dao; } public int getIdCheck(String id) { int col = -1; Connection conn = null; Prep...
package rabbitmq.mq.config; import org.springframework.amqp.core.Binding; import org.springframework.amqp.core.BindingBuilder; import org.springframework.amqp.core.DirectExchange; import org.springframework.amqp.core.Queue; import org.springframework.amqp.core.TopicExchange; import org.springframework.amqp.rabb...
package com.example.marvelapp.comics; import com.google.gson.annotations.SerializedName; import java.util.List; public class Creators { @SerializedName("available") private Integer available; @SerializedName("collectionURI") private String collectionURI; @SerializedName("creatorItems") priv...
package com.tyland.musicbox.ui; import android.animation.ObjectAnimator; import android.annotation.TargetApi; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Build; import android.os.Environment; import android.view.View; import android.view.animation.LinearInterpolator; impo...
package com.GestiondesClub.dto; import java.util.List; import com.GestiondesClub.entities.DemandeAffiche; import com.GestiondesClub.entities.EvenementSponseur; import com.GestiondesClub.entities.EvenementTarif; import com.GestiondesClub.entities.ProgrammeEvent; public interface EventAllAffiche { Long getId(); Not...
/* * Copyright 2002-2021 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...
package fr.cea.nabla.interpreter.nodes.job; import com.oracle.truffle.api.CompilerDirectives; import com.oracle.truffle.api.dsl.NodeChild; import com.oracle.truffle.api.dsl.Specialization; import com.oracle.truffle.api.frame.VirtualFrame; import com.oracle.truffle.api.instrumentation.GenerateWrapper; import com.oracle...
package com.lxm.smartbutler.ui; import android.content.Intent; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import ...
package ca.l5.expandingdev.jsgf; public class RuleReference implements Expansion { private String ruleName; public String getRuleName() { return ruleName; } public void setRuleName(String ruleName) { this.ruleName = ruleName; } public RuleReference(String rr) { ruleNa...
package sg.edu.nus.comp.maple.rossensorsbridge.app.dataObjects; import android.location.Location; import org.json.JSONException; import org.json.JSONObject; import sg.edu.nus.comp.maple.rossensorsbridge.app.interfaces.JSONifiable; /** * Created by Keng Kiat Lim on 12/29/14. */ public class LocationData implements J...
package com.yevhenchmykhun.filter.gzip; import javax.servlet.ServletOutputStream; import javax.servlet.WriteListener; import javax.servlet.http.HttpServletResponse; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.zip.GZIPOutputStream; public class GzipResponseStream extends ServletO...
package com.zc.pivas.statistics.controller; import com.google.gson.Gson; import com.zc.base.common.controller.SdBaseController; import com.zc.pivas.inpatientarea.bean.InpatientAreaBean; import com.zc.pivas.inpatientarea.service.InpatientAreaService; import com.zc.pivas.statistics.service.StaticDoctorService; im...
package com.kic.Hw; import java.util.Hashtable; public class StudentPro { private Hashtable<String, StudentDTO> ht=new Hashtable<>(); public void add(StudentDTO data) throws Exception { String hak=data.getHak(); ht.put(hak, data); } public boolean isCheckHak(String str) { boolean result= ...
package moe.tristan.easyfxml.samples.helloworld.view; import javafx.stage.Stage; import moe.tristan.easyfxml.FxUiManager; import moe.tristan.easyfxml.api.FxmlNode; import moe.tristan.easyfxml.samples.helloworld.view.hello.HelloComponent; public class HelloWorldUiManager extends FxUiManager { private final Hello...
package com.org.spring.boot.amqp.processor.bridge; import com.org.spring.boot.amqp.message.alarm.AlarmStatusMessageData; import com.org.spring.boot.amqp.processor.Event; import com.org.spring.boot.amqp.processor.Processor; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; @Slf4j @Servic...
package com.cmi.bache24.ui.fragment.troop; import android.animation.ObjectAnimator; import android.animation.TypeEvaluator; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.location.Location; import android.location.LocationListener; import android.location.Loc...
package studentmanagementsystem.studentperformance; import java.io.Serializable; import java.sql.Connection; /** * * @author dess */ public class examsclass implements Serializable{ private String registration_id; private String cat1; private String cat2; private String exam; private String tota...
package practice.dynamicprogramming; /* 200. Longest Palindromic Substring Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. Example Given the string = "abcdzdcab", return "cdzdc". Challenge O(...
package com.pda.pda_android.adapter.jcjy; import android.content.Context; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.TextView; import com.pda.pda_android.R; import com.pda.pda_and...
package vo; /** * Created by guxuelong on 2015/1/4. */ public class RuleVo { private String ruleType; private String ruleKey; private String ruleValue; public String getRuleType() { return ruleType; } public void setRuleType(String ruleType) { this.ruleType = ruleType; }...
package com.cinema.sys.action.util; import java.lang.annotation.Target; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.ElementType; /** * 用以修饰类 * * 描述Web模块对应的WebService。例如:<br>@Service(name="用户管理") * @param name 为模块名称 * */ @Retention(RetentionPol...
package com.somma.asynctasks; import androidx.appcompat.app.AppCompatActivity; import android.os.AsyncTask; import android.os.Bundle; import android.os.SystemClock; import android.util.Log; import android.view.View; import android.widget.ProgressBar; import android.widget.TextView; public class MainActivity extends ...
package com.soft863.group5.bbs.dao; import com.soft863.group5.bbs.entity.Admin; import java.util.List; /** * @author yangjixiang * @version 1.0 * @date 2019/1/16 9:14 */ public interface AdminMapper { /** * 根据id查询管理员 */ public Admin queryAdmins(String name); }
package com.example.aakashbasnet.englishpremierleague; import android.os.AsyncTask; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.ListView; import java.util.ArrayList; public class MainActivity extends AppCompatActivity { private static final String REQUEST_URL...
/* * Copyright © 2018 www.noark.xyz All Rights Reserved. * * 感谢您选择Noark框架,希望我们的努力能为您提供一个简单、易用、稳定的服务器端框架 ! * 除非符合Noark许可协议,否则不得使用该文件,您可以下载许可协议文件: * * http://www.noark.xyz/LICENSE * * 1.未经许可,任何公司及个人不得以任何方式或理由对本框架进行修改、使用和传播; * 2.禁止在本项目或任何子项目的基础上发展任何派生版本、修改版本或第三方版本; * 3.无论你对源代码做出任何修改和改进,版权都归Noark研发团队所有,我们保...
/* Handling unexpected popup windows using try/catch block */ package howtos; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.support.ui.ExpectedConditions; import or...
/* * Copyright 2002-2019 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...
package com.cs.user; import java.util.Arrays; import java.util.List; /** * @author Joakim Gottzén */ @SuppressWarnings("UnusedDeclaration") public enum SecurityRole { SUPER_USER(Access.PLAYER_PAYMENTS_ADMIN, Access.AFFILIATE_PAYMENTS_ADMIN, Access.PLAYER_SETTINGS_ADMIN, Access.PLAYER_PROMOTIONS_ADMIN, ...
package Tetris; import GameObject.AudioPlayer; import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.util.Date; import java.util.Scanner; import java.util.logging.Level; import java.util.logging.Logger; public class GameThread extends...
package Vista; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.net.Socket; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JOptionPane; public class VentanaInicioSesion extends javax.swing.JFrame { ///PARA REALIZAR L...
package com.cricket.admin_2.cricketerdetails; import android.view.View; import com.cricket.admin_2.cricketerdetails.player.Player; import java.util.ArrayList; import java.util.List; /** * Created by admin_2 on 26/02/2018. */ public class PassObject { View view; Player player; ArrayList<Player> srcLis...
package uz.zako.example.repository; import org.springframework.data.jpa.repository.JpaRepository; import uz.zako.example.entity.Category; public interface CategoryRepository extends JpaRepository<Category, Long> { }
package common.controller; //부모클래스 /// 재정의는 하지않되, 공통으로 쓸것적어줌 public abstract class AbstractController implements Command{ private boolean isRedirect = false; /* 우리끼리 약속인데 뷰단 페이지(JSP페이지)로 이동시 redirect방법(데이터전달은 없고, 단순히 페이지 이동만 발생)으로 이동시키고자 한다면 isRedirect 변수의 값을 true로 하겠다. (isRedirect이 ...
package juniorvalerav.e15project; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.EditText; import android.widget.Toast; import com.google.andro...
package com.gxtc.huchuan.ui.deal.deal.dealList; import android.text.TextUtils; import com.google.gson.reflect.TypeToken; import com.gxtc.commlibrary.utils.ErrorCodeUtil; import com.gxtc.commlibrary.utils.GsonUtil; import com.gxtc.huchuan.bean.DealListBean; import com.gxtc.huchuan.bean.DealTypeBean; import com.gxtc.hu...