text
stringlengths
10
2.72M
package com.tencent.mm.plugin.webview.ui.tools.jsapi; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; class g$117 implements OnCancelListener { final /* synthetic */ i qiH; final /* synthetic */ g qiK; g$117(g gVar, i iVar) { this.qiK = gVar; ...
package com.webcloud.func.email.model; import java.io.Serializable; /** * 邮件信息模型 * * @author ZhangZheng * @date 2014-01-20 */ public class EmailVo implements Serializable { private static final long serialVersionUID = -6126070893021672329L; private String content; private String fileList; ...
package evm.dmc.core.api; import javax.annotation.PostConstruct; import org.springframework.context.ApplicationContextAware; import java.util.Map; import java.util.Set; import evm.dmc.api.model.FrameworkModel; //import evm.dmc.core.api.DMCDataLoader; //import evm.dmc.core.api.DMCDataSaver; import evm.dmc.core.api.D...
/* * 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 impl; /** * * @author технодом */ public class Stuudent implements Comparable <Stuudent> { private i...
/* SampleServer.java */ import java.rmi.*; public interface SampleServer extends Remote { public int sum(int a,int b) throws RemoteException; }
package org.simpleflatmapper.converter.impl; import org.simpleflatmapper.converter.Converter; public class NumberLongConverter implements Converter<Number, Long> { @Override public Long convert(Number in) { if (in == null) return null; return in.longValue(); } public String toString()...
package com.shopify.payinfo; import java.util.Map; import javax.servlet.http.HttpSession; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springfra...
/* * 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 gui; import dao.ClienteDAO; import dao.JurosDAO; import dao.VendaDAO; import java.awt.Color; import java.io.File; import java....
package dev.rhenergy.customer; import javax.persistence.*; import javax.validation.constraints.Email; import javax.validation.constraints.NotEmpty; import java.util.Objects; @Entity(name = "Customer") @Table(name = "customer") public class CustomerEntity { @Id @GeneratedValue(strategy = GenerationType.IDENTI...
/* * 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 proyectocolas; /** * * @author LABAM */ public class Event { private int eventNumber; private char eventType; p...
package com.java.smart_garage.configuration; import java.math.BigInteger; import java.nio.charset.Charset; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Random; public class Md5Hashing { public static String md5(String input) { String md5 = null; ...
/* * Copyright (c) 2010-2020 Founder Ltd. All Rights Reserved. * * This software is the confidential and proprietary information of * Founder. You shall not disclose such Confidential Information * and shall use it only in accordance with the terms of the agreements * you entered into with Found...
package de.paluno.ledboard.tetris.keyboard; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.util.ArrayList; import java.util.List; import java.util.Optional; public class KeyBoard implements KeyListener { private final List<Key> pressedKeys; public KeyBoard(List<Key> pressedKey...
package scp.main.server; import java.net.Socket; import java.util.HashMap; import java.util.Map; import scp.main.networkencoder.NetworkEncoder; import scp.main.serverconn.ServerConnection; import scp.main.serverconn.User; public class Server { private final Map<Socket, User> users = new HashMap<>(); public Server...
package design.mode.factory.FactoryMethod; import design.mode.factory.ICourse; import design.mode.factory.JavaCourse; public class JavaCourseFactory implements ICourseFactory { @Override public ICourse getCourse() { return new JavaCourse(); } }
package com.codegym.service.khachhang.Impl; import com.codegym.model.khachhang.KhachHang; import com.codegym.repository.khachhang.KhachHangRepository; import com.codegym.service.khachhang.KhachHangService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; impor...
package test_06488587; /* ##################################################### # Module Name: COMP30820 Java Programming # # Date: 01/04/19 # # Question Number: 2 # # Description: L...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Comparator; import java.util.List; public class Main01728 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new Input...
/** * Travis D. Seiler and Ryan M. Kinsley * MIST 7570, Spring 2013 * Dr. Dan Everett * @author tseiler and rkinsley * */ package jsportsreg.entity; import java.util.ArrayList; import java.util.List; /** * The class for the Divisions database table. * */ public class Division{ /*...
package compilador.analisador.semantico; import java.lang.reflect.Method; import compilador.analisador.lexico.ParametrosAcoesSemanticas; import compilador.analisador.lexico.Token; import compilador.estruturas.Mapa; public class AnalisadorSemantico { /** * Mapa que relaciona o nome de cada subm‡quina com a sua t...
package com.tencent.mm.plugin.account.friend.ui; import android.content.Context; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.kernel.g; import com.tencent.mm.model.s; import com.tencent.mm.plugin.messenger.foundation.a.i; import com.tencent.mm.sdk.platformtools.bi; import c...
package com.tencent.mm.plugin.fts; public interface e { void aPT(); }
package com.example.rxandroidapplication; import android.os.Bundle; import android.util.Log; import androidx.appcompat.app.AppCompatActivity; import io.reactivex.Observable; import io.reactivex.Observer; import io.reactivex.android.schedulers.AndroidSchedulers; import io.reactivex.disposables.Disposable; import io.r...
package plp.orientadaObjetos3.modulo; import java.util.Iterator; import java.util.LinkedHashSet; import plp.orientadaObjetos1.expressao.leftExpression.Id; public class ListaId extends LinkedHashSet<Id> { /** * */ private static final long serialVersionUID = 2479577085391204540L; public ListaId() { super(...
package org.search.flight; import java.time.LocalDate; import org.apache.log4j.Logger; import org.search.flight.utils.ProcessorUtilities; public class Application { static final Logger LOG = Logger.getLogger(Application.class); public static void main(String[] args) { if (args.length != 6) { LOG.error("Usa...
package com.allan.springbatchexample.repository; import com.allan.springbatchexample.model.Employee; import org.springframework.data.jpa.repository.JpaRepository; public interface EmployeeRepository extends JpaRepository<Employee, Long> { }
package com.quam.quamtest.utils; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.PorterDuffXfermode; import and...
import db.DbConnect; /** * @ClassName: Main * @Author: Leo * @Description: * @Date: 2019/3/28 21:27 */ public class Main { public static void main(String[] args) { DbConnect.getConnection(); } }
package com.yksoul.pay.payment.ways; import com.alibaba.fastjson.JSONObject; import com.alipay.api.AlipayApiException; import com.alipay.api.request.AlipayTradePrecreateRequest; import com.alipay.api.response.AlipayTradePrecreateResponse; import com.google.auto.service.AutoService; import com.yksoul.pay.api.IPaymentSt...
package com.practice.imdc.movieservice.constants; import com.practice.imdc.movieservice.model.Movie; import java.util.ArrayList; import java.util.List; public class DataUtil { public static List<Movie> movies = new ArrayList<>(); public static List<Movie> getMovies() { return movies; } public static M...
package com.mrlittlenew.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class PageController { protected static final Logger logger = LoggerFactory.getLogger(PageCo...
/* * Sonar PHP Plugin * Copyright (C) 2010 Sonar PHP Plugin * dev@sonar.codehaus.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, o...
package com.zhao.weather.webapi; import com.zhao.weather.common.URLCONST; import com.zhao.weather.callback.JsonCallback; import com.zhao.weather.callback.ResultCallback; import com.zhao.weather.callback.WeatherCallback; import com.zhao.weather.model.JsonModel; import com.zhao.weather.model.Weather; import com.zhao.wea...
package com.lyz.databinding.bean; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.util.AttributeSet; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.widget.EditText; import android.widget.Rel...
package br.ufrpe.wanderlustapp.role.gui; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.widget.EditText; import br.ufrpe.wanderlustapp.R; import br.ufr...
package cb; //Short example of if...else statement public class Short_IF_Statement { public static void main(String[] args) { int x=50; int y=37; String res=(x<y)?"x is the smallest":"y is the smallest"; System.out.println(res); } }
package cn.fuego.misp.webservice.up.model; import cn.fuego.misp.webservice.json.MispBaseRspJson; /** * * @ClassName: LoginRsp * @Description: TODO * @author Tang Jun * @date 2014-10-20 上午10:59:34 * */ public class LoginRsp extends MispBaseRspJson { private String token; public String getToken() { return...
package com.example.bitm.tourmate; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.view.Menu; import android.view.MenuItem; import android.view.View; import andr...
package com.ibeiliao.pay.account.impl.dto; import java.io.Serializable; import java.util.Date; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; /** * 银行信息表 * */ public class Bank implements Serializable { private static final long serialVersionUID ...
package Naveen; class Animal { void run() { System.out.println("Animal Runs"); } void sleep() { System.out.println("Animal Sleeps"); } } class Dog extends Animal{ void run() { System.out.println("Dog Runs"); } void sleep() { System.out.println("Dog Sleeps"); } } class Cat extends Animal{ void r...
/** * */ package com.wonders.task.excel.service; import java.util.List; import java.util.Map; /** * @ClassName: ExcelService * @Description: TODO(这里用一句话描述这个类的作用) * @author zhoushun * @date 2013-5-15 上午9:44:05 * */ public interface ExcelService { public <T> void saveAll(List<T> result); public L...
package com.timebusker.task; import com.alibaba.fastjson.JSON; import com.timebusker.entity.km.SubInfoPo; import com.timebusker.service.SyncSubInfoService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotati...
package com.ericlam.mc.minigames.core.factory.scoreboard; import com.ericlam.mc.minigames.core.character.GamePlayer; import com.ericlam.mc.minigames.core.character.TeamPlayer; import com.google.common.collect.ImmutableMap; /** * 被 {@link ScoreboardFactory} 創建的 計分版。 */ public interface GameBoard { /** * 設置...
package com.company.greatLeast; public class Main { public static void main(String[] args) { Main main = new Main(); int a = 3, b = 12; System.out.println(main.solution(a,b).toString()); } public int[] solution(int n, int m) { int max = n > m ? n : m; int min = n <...
package entities.components; import org.openqa.selenium.By; public class TitleComponent extends BaseComponent { private By title = By.cssSelector("h2.title"); @Override public boolean isExist() { return isElementVisible(title); } @Override public boolean isExist(int timeout) { ...
package com.tencent.mm.plugin.freewifi.e; import android.net.Uri; import com.tencent.mm.plugin.freewifi.k.b; import com.tencent.mm.plugin.freewifi.m; import com.tencent.mm.plugin.freewifi.model.j; import com.tencent.mm.plugin.freewifi.ui.FreeWifiFrontPageUI; import com.tencent.mm.plugin.freewifi.ui.FreeWifiFrontPageUI...
package factory.design.pattern.example; import java.util.ArrayList; import java.util.Date; public class HotelBooker { public ArrayList<Hotel> getHotelNames(String place,Date date) { //returns hotels available on date return null; } }
package com.example.afshindeveloper.afshindeveloperandroid.view.custom; import android.content.Context; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.widget.TextView; import com.example.afshindeveloper.afshindeveloperandroid.MyApplication; import com.example.afshindevelo...
package testframeworks; import org.testng.Assert; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; public class TestNGIntro { @Test public void freddieLoginTest() { System.out.println("Execution login test"); } @Test public v...
public class Student { //step 1 - define instance variables //these make up the properties of an object //they are usually private private String name; private int test1, test2, test3; //step 2 - Constructor //public < Name of class goes here > //this runs when the word NEW...
/** * Helios, OpenSource Monitoring * Brought to you by the Helios Development Group * * Copyright 2007, Helios Development Group and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free softw...
package ie.dit; public class Control { public static void main(String[]args) { double test; Square s1=new Square (3,5); test=s1.area(6,4); System.out.println(test); Circle c1=new Circle(6); test=c1.area(5); System.out.println(test); Sphere sp1=new Sphere(5); test=sp1.Volume(5); S...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
package chapterTwo; public class ListNode { int val; ListNode next; public ListNode(int val2) { val = val2; } public void appendToTail(int val3) { ListNode end = new ListNode(val3); ListNode curr = this; while (curr.next != null) { curr = curr.next; } curr.next = end; } }
package com.example.maya.projectslideshow; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; /** * Created by Devon Cormack on 1/28/15. * * Class that directly accesses the SQLite database for the MyRuns applicati...
package com.tencent.mm.plugin.appbrand.jsapi.op_report; import com.tencent.mm.plugin.appbrand.jsapi.h; final class a extends h { private static final int CTRL_INDEX = 246; private static final String NAME = "onStartReportPageData"; private static final a fWG = new a(); a() { } static synchro...
package voc.cn.cnvoccoin.network; public interface Publisher { <T> Publisher subscribe(Subscriber<T> s); void detach(); Publisher setHttpLoading(HttpLoading loading); }
import java.util.ArrayList; interface Package { double getBoxWeight(); } class Book { private String author; private String title; private double weight; public Book(String paramAuthor, String paramName, double paramWeight) { this.author = paramAuthor; this.title = paramName; ...
package com.mlm.managedb; import com.basic.db.*; import com.global.App; import com.mlm.db.FPaket; import com.mlm.db.FPelanggan; import com.mlm.db.FPp; import com.mlm.db.FStatusPelanggan; import com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal; import com.orientechnologies.orient.core.db.documen...
public class Stack { public static int stackSize = 100; int[] stackContainer = new int[stackSize]; int topIndex = -1; public void push(int element) { if (topIndex < stackSize) { topIndex++; stackContainer[topIndex] = element; } } public int pop() throws IllegalAccessException { int ...
package com.hand.bean; public class Demo { private int i; }
package com.tencent.mm.ui.transmit; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import com.tencent.mm.sdk.b.a; class MMCreateChatroomUI$2 implements OnCancelListener { final /* synthetic */ MMCreateChatroomUI uDk; MMCreateChatroomUI$2(MMCreateChatroomUI mM...
package model; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.JoinTable; import javax.p...
package com.kgisl.code; /** * Block */ public class Block { Block() { System.out.println("Executes 3rd: Constructor"); } { System.out.println("Executes 2nd: Instance initialization block"); } static { System.out.println("Excutes 1st: Static block always "); } ...
package AlgorithmsAndDataStructures.GraphInDepth; import AlgorithmsAndDataStructures.Stack.ArrayStack; import AlgorithmsAndDataStructures.Stack.Stack; /** * Created by User on 26.02.2017. */ public class Graph { private final int VERTEX_MAX = 100; private Vertex[] vertexList; private int vertexCount; ...
package com.cskaoyan.service; import com.cskaoyan.bean.BaseResultVo; import com.cskaoyan.bean.DeviceType; import com.cskaoyan.bean.QueryStatus; import java.util.List; /** * @Author: zero * @Date: 2019/5/18 15:46 * @Version 1.0 */ public interface DeviceTypeService { BaseResultVo getDeviceTypeList(int rows, i...
package com.vilio.bps.inquiry.worldunion.service; import com.vilio.bps.inquiry.pojo.InquiryBaseValueBean; import com.vilio.bps.inquiry.worldunion.pojo.WUAutoPrice; import com.vilio.bps.inquiry.worldunion.pojo.WUGetQueryPrice; import java.util.Map; /** * Created by dell on 2017/5/12/0012. */ public interface WUInqu...
package com.tencent.mm.plugin.appbrand.jsapi.auth; import com.tencent.mm.ab.l; import com.tencent.mm.plugin.appbrand.jsapi.auth.JsApiLogin.LoginTask; import com.tencent.mm.protocal.c.aow; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.u.a.d; import com.tencent.mm.u.a.d.a; class JsApiLogin$LoginTask$...
import javax.servlet.http.*; import javax.servlet.*; import javax.servlet.annotation.*; import java.io.*; @WebServlet(name="MyAnnotationServlet",urlPatterns={"/hello"}, initParams= { @WebInitParam(name="email",value="abc@gmail.com"), @WebInitParam(name="phone",value="1234567890") }) public class MyAnnotationServ...
package com.steven.base.base; import android.content.Context; import android.os.Bundle; import androidx.annotation.LayoutRes; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentActivity; import android.view.LayoutInflater; import android.view.View; import a...
package com.budget.spring.beans; public class MyUsers { private int adminId; public int getAdminId() { return adminId; } public void setAdminId(int adminId) { this.adminId = adminId; } }
package com.espendwise.manta.dao; import com.espendwise.manta.util.Constants; import com.espendwise.manta.util.QueryHelp; import com.espendwise.manta.util.RefCodeNames; import com.espendwise.manta.util.Utility; import com.espendwise.manta.model.data.ContentData; import org.apache.log4j.Logger; import javax.persisten...
package com.gtfs.bean; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import ...
package model; import javax.crypto.BadPaddingException; import javax.crypto.Cipher; import javax.crypto.IllegalBlockSizeException; import javax.crypto.NoSuchPaddingException; import java.security.*; public class RSA { public static KeyPair generateKeyPair() { try { KeyPairGenerator generator =...
package ru.otus.spring.barsegyan.domain; import org.hibernate.annotations.JoinFormula; import javax.persistence.*; import java.util.Set; import java.util.UUID; @Entity @Table(name = "chat") public class Chat { @Id @GeneratedValue @Column(name = "chat_id") private UUID id; @Column(name = "name") ...
package com.ibm.ive.tools.commandLine; import java.util.LinkedList; /** * @author sfoley * <p> * Handles options which might occur multiple times, each time with argument(s). */ public class ListOption extends ArgumentOption { private static String nullStrings[] = new String[0]; private LinkedList ...
package br.com.uva; import java.io.File; public class Usuarios { String usuario; String senha; File db; int id = 1; String destinatario, data; double valor; Usuarios(String usuario, String senha) { this.usuario = usuario; this.senha = senha; } Usuarios() { } public void acremen...
package com.wifiesta.restaurant; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.FilterType; import org.springframework.context.annotation.PropertySource; @Configuration @ComponentScan(basePackages ...
package com.ethanchen.weatherapp; import android.Manifest; import android.content.Context; import android.content.Intent; import android.location.Address; import android.location.Geocoder; import android.location.Location; import android.location.LocationManager; import android.os.Bundle; import android.os.Handler; im...
package com.mbirtchnell.ocmjea.domain; import javax.persistence.Entity; import javax.persistence.Id; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; @Entity @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) public a...
package com.vilio.plms.service.base.impl; import com.vilio.plms.dao.SysInfoParamDao; import com.vilio.plms.exception.ErrorException; import com.vilio.plms.glob.GlobDict; import com.vilio.plms.service.Plms100100; import com.vilio.plms.service.base.BaseService; import com.vilio.plms.service.base.MessageService; import c...
package com.wincentzzz.project.template.springhack.repositories; import com.wincentzzz.project.template.springhack.models.Doctor; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereo...
/** * Javassonne * http://code.google.com/p/javassonne/ * * @author [Add Name Here] * @date Apr 1, 2009 * * Copyright 2009 Javassonne Team * 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...
package com.demo.common.exception; /** * Created by lin on 17-6-14. */ public enum ErrorKeyEnum { COMMON_FAIL("00000","操作失败"), COMMON_DELETE_FAIL("00001","operation.delete.fail"), COMMON_ADD_FAIL("00002","operation.add.fail"), COMMON_UPDATE_FAIL("00003","operation.update.fail"), //TODO:暂未设置对应va...
package com.reclameaqui.api.repository; import java.util.Optional; import org.springframework.data.mongodb.repository.MongoRepository; import com.reclameaqui.api.documents.Company; public interface CompanyRepository extends MongoRepository<Company, String> { Optional<Company> findByCnpj(String cnpj); }
public class ConstantExamplesTest { public static void main(String[] args) { ConstantExamples ce_1 = new ConstantExamples(10); ConstantExamples ce_2 = new ConstantExamples(20); ConstantExamples ce_3 = new ConstantExamples(30); ce_1.getConstantValues(); System.out.println("****************"); ce_2.getCo...
package Classes; public class Main { public static void main(String[] args) throws InvalidFormatTime { // enter time of opening and closing of the cinema System.out.println("Input time of the opening"); Time t = new Time(); t.inputTime(); System.out.println("Input time of the closing"); Time...
package io.github.boapps.eSzivacs.Datas; /** * Created by boa on 24/09/17. */ public class Teacher { private int id; private String name; private String email; private String phoneNumber; public Teacher(int id, String name, String email, String phoneNumber) { this.id = id; this...
package it.geosolutions.fra2015.tags; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.text.ParseException; import java.util.Locale; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.math.NumberUtils; import org.apache.log4j.Logger; public class S...
package com.passing.spring.service.impl; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.client.entity.UrlEncode...
import java.util.ArrayList; import java.util.List; import java.util.Vector; public class arraylisttovector { public static void main(String[] args) { List<String> al = new ArrayList<>(); al.add("a"); al.add("s"); al.add("d"); Vector<String> v = new Vector<>(al); ...
package com.example.homestay_kha.Controller; import android.content.Context; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import com.example.homestay_kha.Adapers.Adapter_tien_nghi; import com.example.homestay_kha.Controller.Interface.Tien_nghi_Interface; ...
package com.liuxu.providertest; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.app.Activity; import android.content.ContentValues; import android.database.Cursor; public class M...
package tests; import static org.junit.Assert.*; import org.junit.*; import resource.Player; /** * Unit tests for Player class * @see resource.Player */ public class TestPlayer { private Player player; @Before public void buildUp(){ player = new Player("Fred"); } /** * Check that...
/** * Software License Declaration. * <p> * wandaph.com, Co,. Ltd. * Copyright ? 2017 All Rights Reserved. * <p> * Copyright Notice * This documents is provided to wandaph contracting agent or authorized programmer only. * This source code is written and edited by wandaph Co,.Ltd Inc specially for financial * ...
/* * Copyright (c) 2014 Anthony Benavente * * 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 agr...
package com.tencent.liteav.beauty.b; public class c extends b { private static final String r = c.class.getSimpleName(); private float A = 0.0f; private f s; private a t; private p u = null; private int v = -1; private int w = -1; private float x = 0.0f; private float y = 0.0f; ...
package quiz03; import java.util.Scanner; public class MainClass { /* * 현실에서 찾아볼 수 있는 물건등을 생각해서 클래스로 표현 * 멤버변수 2개이상, 메서드 2개이상 */ public static void main(String[] args) { DoorLock door = new DoorLock(); door.Menu(); } }
package app.home; import com.hqb.patshop.PatshopApplication; import com.hqb.patshop.app.home.service.impl.HomeServiceImpl; import com.hqb.patshop.app.login.service.LoginService; import com.hqb.patshop.mbg.dao.PmsProductCategoryDao; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.bean...
package com.elvarg.net.packet; import io.netty.buffer.ByteBuf; /** * Manages reading packet information from the netty's channel. * * @author relex lawl */ public class Packet { /** * The Packet constructor. * @param opcode The packet id. * @param packetType The packetType of packet being read. * @p...