text
stringlengths
10
2.72M
package com.tencent.mm.plugin.appbrand.widget.input.autofill; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemSelectedListener; import com.tencent.mm.plugin.appbrand.widget.input.autofill.AutoFillListPopupWindowBase.a; class AutoFillListPopupWindowBase$2 implements...
import java.io.*; class sort { public static void main(String args[]) { DataInputStream in=new DataInputStream(System.in); int a[]=new int[10]; int n=0,i,j,temp; try { System.out.println("Enter n"); n=Integer.parseInt(in.readLine()); ...
package net.liuzd.spring.boot.v2.mapper; import net.liuzd.spring.boot.v2.config.MyBaseMapper; import net.liuzd.spring.boot.v2.entity.User; import net.liuzd.spring.boot.v2.model.UserPage; public interface UserMapper extends MyBaseMapper<User> { /** * 自定义分页查询 * @param userPage 单独 user 模块使用的分页...
package five.com.project.spring.entities; import java.util.HashSet; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import jav...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package control_de_versiones; /** * * @author Jukniz */ public class Constantes { public String driver ="com.mysql.jdbc.Driver"; public String conexion= "jdbc:mysql://localhost:3306/dambbddficheros"; pub...
package org.example.broker.core.repository; import org.example.broker.core.entity.MessageEntity; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import java.util.List; public interface MessageRe...
package excecoes; public class Erro extends Menssagem { public Erro(String menssagem) { super(menssagem); } }
package com.zhy.dagger2.multibindings; import com.zhy.dagger2.FourthActivity; import java.util.Map; import dagger.Component; @Component(modules = {SetModuleA.class, SetModuleB.class, MapModuleA.class, MapModuleB.class}) public interface MultiBindingsComponent { void inject(FourthActivit...
package com.zhowin.miyou.recommend.activity; import android.content.Context; import android.content.Intent; import android.text.TextUtils; import android.view.KeyEvent; import android.view.View; import android.view.inputmethod.EditorInfo; import android.widget.TextView; import androidx.recyclerview.widget.GridLayout...
package kz.feekapo.config; import javax.naming.NamingException; import javax.sql.DataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annota...
package cs425project; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.util.*; public class Owner { public Owner() { // TODO Auto-generated constructor stub } /** * view guests information, update movie and theatre schedule ...
package com.spsc.szxq.view; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.widget.Button; import com.flyco.dialog.widget.base.BaseDialog; import com.spsc.szxq.R; import java.util.ArrayList; /** * Created by allens on 2017/2/20. * <p> * 延期 dialog * ...
package com.uwetrottmann.trakt5.entities; import java.util.List; public class Credits { public List<CastMember> cast; public Crew crew; }
package com.coinhunter.core.repository.user; import com.coinhunter.core.domain.user.User; import org.springframework.data.jpa.repository.JpaRepository; public interface UserRepository extends JpaRepository<User, String> { User findByName(String name); User findByEmail(String email); User findByNameAndEmail(Stri...
package com.example.retail.models.fmcgproducts; import com.example.retail.models.jsonmodels.Suppliers; import com.vladmihalcea.hibernate.type.json.JsonBinaryType; import org.hibernate.annotations.Type; import org.hibernate.annotations.TypeDef; import org.hibernate.annotations.TypeDefs; import javax.persistence.*; imp...
package br.edu.ifpb.followup.dao; import br.edu.ifpb.followup.entity.Professor; import br.edu.ifpb.followup.entity.Questao; import br.edu.ifpb.followup.entity.TipoQuestao; import java.util.List; import javax.annotation.PostConstruct; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.pers...
package com.tencent.mm.plugin.sns.model; import com.tencent.mm.g.a.lc; import com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.i; import com.tencent.mm.sdk.b.b; import com.tencent.mm.sdk.b.c; import com.tencent.mm.sdk.platformtools.bi; class af$30 extends c<lc> { final /* synthetic */ af nqT; af$30(af...
package com.youthchina.domain.tianjian; import java.sql.Timestamp; public class ComMediaDocument { private Integer docu_id; private String docu_local_id; private String docu_local_name; private String docu_local_format; private String docu_server_ali_id; private String docu_server_aws_id; ...
package rgg.campusvirtualapp.modelo; import java.util.ArrayList; import java.util.Date; import java.util.List; import rgg.campusvirtualapp.AppMediador; import android.os.Bundle; import android.util.Log; import com.parse.FindCallback; import com.parse.ParseException; import com.parse.ParseObject; import com.parse.Par...
package com.tencent.mm.plugin.appbrand.page; import android.view.View; import com.tencent.mm.plugin.appbrand.page.u.b; class u$1 extends x { final /* synthetic */ u goS; u$1(u uVar) { this.goS = uVar; } public final void ajd() { u uVar = this.goS; b lv = uVar.lv(uVar.goR); ...
package blogic; /** * class contorls some logic aspect of the game * * @author Pawel */ public class Logic { /** * size of the world in X dimension */ private static byte worldSizeX = 6; /** * size of the world in Y dimension */ private static byte worldSizeY = 12; /*...
package com.tencent.mm.plugin.setting.ui.setting; import android.app.ProgressDialog; import android.content.ComponentName; import android.content.Intent; import android.nfc.NfcAdapter; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.LinearLayout; impo...
/* */ package com.cleverfishsoftware.loadgenerator; import java.net.InetAddress; import java.net.UnknownHostException; /** * * @author peter */ public class GetCanonicalHostname { public static void main(String[] args) throws UnknownHostException { byte[] ipAddr = new byte[]{127, 0, 0, 1}; ...
package com.microsilver.mrcard.basicservice.model; import lombok.Data; @Data public class FxSdSysAreaopen { private Long id; private Integer province; private Integer city; private Integer county; private String name; }
class Solution { public int longestSubsequence(int[] arr, int diff) { int n = arr.length , res = 0; HashMap<Integer , Integer> map = new HashMap(); for (int i = 0 ; i < n ; i++) { int val = arr[i] - diff; if (map.containsKey(val)) map.put(arr[i] , map...
/* * Copyright 2019, E-Kohei * * 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 applicable law or agreed to in...
package com.pacific.dao; import com.pacific.dao.mapper.OptionChainRowMapper; import com.pacific.domain.Option; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.PreparedStatementCreator; import org.springframework.jdbc...
package com.example.springtx; import com.example.springtx.bean.User; import com.example.springtx.mapper.UserMapper; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest...
package nl.rug.oop.flaps.simulation.view.panels.aircraft; import lombok.Getter; import lombok.extern.java.Log; import nl.rug.oop.flaps.simulation.controller.actions.OpenAircraftConfigurer; import nl.rug.oop.flaps.simulation.model.aircraft.Aircraft; import nl.rug.oop.flaps.simulation.model.world.World; import nl.rug.oo...
import java.util.Scanner; public class Problem5_21 {// Financial application public static void main(String[] args) { Scanner input = new Scanner(System.in); //Prompt the user to enter the loan amount System.out.print("Loan Amount: " ); double loanAmount = input.nextDouble(); System.out.print("Number of Yea...
import java.util.ArrayList; import java.util.List; /** * ArrayList Implementation of stack * * @author * */ public class StackUsingArrayList { /** ArrayList representation of the stack */ List<Integer> stackList; /** * Constructor */ StackUsingArrayList() { stackList = new Array...
package cn.canlnac.onlinecourse.data.repository; import java.util.List; import java.util.Map; import javax.inject.Inject; import javax.inject.Singleton; import cn.canlnac.onlinecourse.data.entity.mapper.CatalogEntityDataMapper; import cn.canlnac.onlinecourse.data.entity.mapper.CommentListEntityDataMapper; import cn....
package org.fuserleer.network.messages; import org.fuserleer.node.Node; import org.fuserleer.serialization.DsonOutput; import org.fuserleer.serialization.SerializerId2; import org.fuserleer.serialization.DsonOutput.Output; import com.fasterxml.jackson.annotation.JsonProperty; @SerializerId2("network.message.pong") p...
/* * UniTime 3.3 - 3.5 (University Timetabling Application) * Copyright (C) 2011 - 2013, UniTime LLC, and individual contributors * as indicated by the @authors tag. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * ...
import java.lang.reflect.Field; public class Hack { /** * @param args * @throws NoSuchFieldException * @throws SecurityException * @throws IllegalAccessException * @throws IllegalArgumentException */ public static void main(String[] args) throws SecurityException, NoSuchFieldException, IllegalArgum...
/** * <p> * This package contains high-level methods for deployment of WS-BPEL 2.0 * Processes unto WSO2 Business Process Servers. * </p> * * <p> * The package consist only of one class * {@link org.opentosca.bpsconnector.BpsConnector} which uses Axis2 generated * stubs for accessing web methods on an WSO2 BP...
package Strings; public class A extends B{ public int a=2; public A(int a) { this.a=a; } public static void main(String[] args) { // TODO Auto-generated method stub A obj = new A(3); System.out.println(obj.a); } }
import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int testCases = scanner.nextInt(); scanner.nextLine(); for(int i = 0; i < testCases; i++) { char[] letters = scanner.nextLine().toCharArray(); int length = lette...
package cn.czfshine.network.im.server; /** * @author:czfshine * @date:2019/6/8 11:03 */ public class Main { public static void main(String[] args) { ImServer imServer = new ImServer(); imServer.start(); } }
package fr.lteconsulting; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; /* Utilisez cette classe à votre convenance, vous pouvez même la supprimer ! */ public class Tools { }
package com.tw.auth.domain.authority; import com.tw.auth.domain.AbstractAuditEntity; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.*; @Data @EqualsAndHashCode(callSuper=false) @Entity @Table(name = "AuthLookups") @IdClass(AuthLookupsPK.class) public class AuthLookups extends AbstractA...
package com.espendwise.manta.util.criteria; import java.io.Serializable; public class FilterValue implements Serializable { private String filterType; private String filterValue; public FilterValue() { } public FilterValue(String filterValue) { this.filterValue = filterV...
package com.rgsj3.sebbs.domain; import javax.persistence.*; import java.util.Date; import java.util.List; @Entity public class Topic { @Id @GeneratedValue private Integer id; private String title; private Date createDate; private Date replyDate; private Integer floor; ...
package com.goldgov.dygl.module.partyMemberDuty.duty.service; import com.goldgov.gtiles.core.service.Query; public class PartyMemberInfoDutyQuery extends Query { private String searchDutyId;//查询条件:履职要求主键 private String searchOrganizationId;//查询条件:组织名称 private String searchLoginId; private String[] loginId...
package com.tencent.mm.plugin.readerapp.ui; import android.content.Intent; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListener; import com.tencent.mm.model.bi; import com.tencent.mm.plugin.readerapp.b.a; class ReaderAppIntroUI$2 implements OnMenuItemClickListener { final /* syntheti...
package basic; import org.junit.Test; import static org.junit.Assert.assertEquals; public class Exercise17Test { @Test public void test_findSquareRoot() { assertEquals(new Exercise17().findSqrtByBisection(16), 4, 0.000001); assertEquals(new Exercise17().findSqrtByBisection(3), 1.732051, 0.000...
package com.excel_Plugin; import java.io.IOException; import org.apache.poi.openxml4j.exceptions.InvalidFormatException; public class TestData { public static void main(String[] args) throws InvalidFormatException, IOException { String path=System.getProperty("user.dir")+"\\TestData\\TestData.xlsx"; ...
package edu.nju.web.controller; import edu.nju.data.entity.User; import edu.nju.data.util.VerifyResult; import edu.nju.logic.service.LoginService; import edu.nju.logic.vo.LoginStatus; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframe...
package com.xjf.wemall.service.threadTest.ThreadPool; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import java.util.concurrent.RejectedExecutionException; public class thre...
package com.devskiller.evaluation; import org.junit.jupiter.api.Test; import com.devskiller.sample.CommonsStringProcessor; import com.devskiller.sample.StringProcessor; import static org.assertj.core.api.Assertions.assertThat; class StringProcessorCheckTests { @Test void shouldAbbreviateNumbers() { StringProce...
package com.tencent.mm.plugin.appbrand.jsapi; import android.content.Context; import com.tencent.mm.plugin.appbrand.l; import com.tencent.mm.plugin.appbrand.page.n; import com.tencent.mm.plugin.appbrand.page.p; import com.tencent.mm.plugin.appbrand.r.c; import com.tencent.mm.plugin.appbrand.r.m; import com.tencent.mm....
package com.example.diabeticspredictor.Adapter; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import com.example.diabeticspredictor.Model.Food; import c...
package com.cngl.bilet.api; import java.util.List; import javax.validation.Valid; import com.cngl.bilet.dto.BiletRequestDto; import com.cngl.bilet.dto.BiletResponseDto; import com.cngl.bilet.service.impl.BiletServiceImpl; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation...
package android.huyhuynh.orderserverapp; import androidx.appcompat.app.AppCompatActivity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.huyhuynh.orderserverapp.model.NhanVien; import android.huyhuynh.orderserverapp.retrofit.APIUltils; import andr...
package com.dishcuss.foodie.hub.Adapters; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.RelativeLayout; import android.widget.TextView; i...
package com.rc.portal.vo; public class TGoodsExtend { private Long goodsid; private String pinyinCode; private String bases; private String characterd; private String indication; private String usaged; private String untowardEffect; private String taboo; private String note;...
package Hub; import java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.event.ComponentAdapter; import java.awt.event.ComponentEvent; import javax.swing.JFrame; import javax.swing.JPanel; import Academic.Quiz; import Minigame.BallGame; ...
package day14_multi_branch_if_statements; public class MultiBranchIfStatement { public static void main (String [] args){ int day = 5; if (day ==1){ System.out.println(" Monday"); }else{ System.out.println("Not Monday"); }if (day ==2){ System.out....
package com.orca.form; public class ReportForm { private String type; private Integer evaluationId; private Integer firstSurveyId; private Integer secondSurveyId; private Integer thirdSurveyId; private Integer fourthSurveyId; public String getType() { return type; } public void setType(String type) { ...
package com.classcheck.gen; import java.io.BufferedReader; import java.io.IOException; import java.io.StringReader; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import com.classcheck.autosource.Method; public class CheckMember { private List<Met...
// Sun Certified Java Programmer // Chapter 2, P166 package self_test_9; class Tree { }
package de.zarncke.lib.time; import java.util.Collection; import org.joda.time.ReadableInterval; import de.zarncke.lib.math.Intervals; /** * Specialized supplier for Interval lists. * * @author Gunnar Zarncke */ public interface IntervalProvider { Collection<? extends ReadableInterval> getInterva...
/* * Sonar C# Plugin :: Core * Copyright (C) 2010 Jose Chillan, Alexandre Victoor and SonarSource * 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 ...
package com.example.module_b; import android.util.Log; import com.example.module_base.InterfaceB; /** * ****************************** * * @author YOULU-wwb * date: 2020/1/17 16:30 * description: * ****************************** */ @Service public class BService implements InterfaceB { @Override publi...
package it.test.strutturali; import org.junit.runner.RunWith; import org.junit.runners.Suite; @RunWith(Suite.class) @Suite.SuiteClasses({ AbbonamentoTest.class, CartaDiCreditoTest.class, CinemaTest.class, CircuitoTest.class, ClienteTest.class, FilmTest.class, ManagerTest.class, PrenotazioneTest.class, Progra...
/** * Paintroid: An image manipulation application for Android. * Copyright (C) 2010-2013 The Catrobat Team * (<http://developer.catrobat.org/credits>) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * publishe...
package code08_05; public class Hero { //フィールドを追加 String name; //名前の宣言 int hp; //HPの宣言 }
package com.zhy.dagger2.multibindings; import com.zhy.dagger2.qualifier.MyQualifier; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import dagger.Module; import dagger.Provides; import dagger.multibindings.ElementsIntoSet; @Module public class SetModuleB { @Provides @ElementsInto...
package nl.rug.oop.flaps.simulation.model.map; import lombok.Data; import nl.rug.oop.flaps.simulation.model.map.coordinates.GeographicCoordinates; /** * Contains a bunch of info about the dimensions (both in terms of pixels as in geographical coordinates) of the map * Basically just a data holder * * @author T.O....
package convalida.validators; import android.widget.EditText; /** * @author WellingtonCosta on 25/04/18. */ public class CpfValidator extends AbstractValidator { private boolean required; public CpfValidator( EditText editText, String errorMessage, boolean autoDismiss, ...
/** * Provides classes for evaluating global RGB image features. */ package pwr.chrzescijanek.filip.gifa.core.function.rgb;
package com.ducph.consoledrawing.model; import com.ducph.consoledrawing.util.Utils; import lombok.Data; @Data public class Point { private int x; private int y; public Point(int x, int y) { Utils.shouldAllNonNegative(x, y); this.x = x; this.y = y; } }
package edunova; public class DomacaZadaca { //ČITATI //https://medium.freecodecamp.org/object-oriented-programming-concepts-21bb035f7260 //https://searchmicroservices.techtarget.com/definition/object-oriented-programming-OOP //http://www.ntu.edu.sg/home/ehchua/programming/java/J3a_OOPBasics.html //http...
/* * Copyright (c) 2012-2017 The original author or authors * ------------------------------------------------------ * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distributi...
package com.library.dao; import java.util.List; import com.library.entities.Banner; import com.library.entities.Type; public class TypeDao extends BaseDao { public List<Type> getAll(){ String hql="from Type"; return getSession().createQuery(hql).list(); } public int add(Type type){ getSession()....
package com.ld.baselibrary.http; import android.content.Context; import androidx.annotation.NonNull; import com.ld.baselibrary.http.response.BaseResponse; import com.trello.rxlifecycle4.LifecycleProvider; import com.trello.rxlifecycle4.LifecycleTransformer; import com.trello.rxlifecycle4.components.support.RxFragmen...
package com.polsl.edziennik.desktopclient.view.common.panels.tablePanels; import com.polsl.edziennik.desktopclient.model.tables.TableModel; public class ProjectStudentTablePanel extends TablePanel { public ProjectStudentTablePanel(TableModel tableModel) { super(tableModel, ""); } @Override public i...
package com.perhab.napalm.statement; public interface ParameterSupplier { <T, R> T get(Class<T> parameterType, Class<R> reciever); }
package com.jim.multipos.ui.start_configuration.basics; import com.jim.multipos.core.BasePresenterImpl; import javax.inject.Inject; public class BasicsPresenterImpl extends BasePresenterImpl<BasicsView> implements BasicsPresenter{ @Inject protected BasicsPresenterImpl(BasicsView basicsView) { super(...
package com.tencent.mm.e.b; public interface a { void a(com.tencent.mm.ab.i.a aVar); boolean dc(String str); int getMaxAmplitude(); int getStatus(); boolean we(); int wf(); }
package com.tencent.mm.plugin.wenote.ui.nativenote.b; import android.view.ViewTreeObserver.OnGlobalLayoutListener; import com.tencent.mm.model.au; class k$1 implements OnGlobalLayoutListener { final /* synthetic */ k qvL; k$1(k kVar) { this.qvL = kVar; } public final void onGlobalLayout() { ...
package edu.temple.convoy.api; import android.content.Context; import android.util.Log; import com.android.volley.Response; import org.json.JSONException; import org.json.JSONObject; import java.util.HashMap; import java.util.Map; import edu.temple.convoy.utils.Constants; public class AccountAPI extends BaseAPI {...
package ProjectThree350; import java.util.Scanner; /** * Factory class to start five threads. * **/ public class Factory { public static void main(String args[]) { Scanner input = new Scanner(System.in); System.out.println("Input the total memory size (in bytes): "); ...
package com.mindviewinc.chapter17.exercise; import java.util.Iterator; import java.util.LinkedList; import java.util.ListIterator; import java.util.NoSuchElementException; public class SList<T> { Link<T> header = new Link<T>(null, null); public SList() { header.next = header;// } public SListIte...
package io.peppermint100.server.entity.item; public enum MachineType { ORIGINAL, VERTUO }
package com.hqb.patshop.app.home.domain; import com.hqb.patshop.mbg.model.SmsHomeHot; import java.util.List; public class HomeHotBidResult { private List<SmsHomeHot> homeProductDaoList; public List<SmsHomeHot> getHomeProductDaoList() { return homeProductDaoList; } public void setHomeProduct...
//Additional Tutorial 1 - Q12 public class Question12{ public static void main (String[] args){ System.out.println(" +\"\"\"\"\"+ "); System.out.println("[| o o |]"); System.out.println(" | ^ |"); System.out.println(" | '_' |"); System.out.println(" +-----+"); } }
package oceans; public class Oceans { /* * given an ocean, count the the number of islands */ public static int isIsland (int[][] ocean) { int islandCount = 0; if(ocean.length == 0){ return islandCount; } boolean[][] visited = new boolean[ocean.length][oce...
package concrete; import abstracts.BaseManager; import entities.Campaigns; public class CampaignManager extends BaseManager { public void add(Campaigns campaigns) { System.out.println("Campaing saved."); } public void delete(Campaigns campaigns) { System.out.println("Campaign d...
package com.koreait.bbs.model; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class DownloadAction implements Action { @Override public String command(HttpServletRequest request, HttpServletResponse response) { String filename = request.getParamet...
package com.company; import javax.imageio.ImageIO; import java.awt.*; import java.io.File; import java.io.IOException; /** * Created by Ngoc on 4/25/2016. */ public class Plane { public int x; public int y; public int dx; public int dy; public final int WIDTH = 70; public final int HEIGHT =...
package com.vilio.wct.test; import java.util.HashMap; import java.util.Map; public class test { public static void main(String[] args) { Map<String, Object> map = new HashMap<String, Object>(); // map.put("aaa", null); System.out.println(map.get("aaa")); System.out.println(map.containsKey("aaa"...
package org.zaproxy.zap.extension.advreport; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import javax.swing.JCheckBox; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JScrollPane; import javax.swing.JTextArea; import org.parosprox...
package com.lito.fupin.meta.paper.dao; import com.lito.fupin.meta.paper.entity.Paper; import org.apache.ibatis.annotations.Mapper; import java.util.ArrayList; import java.util.Map; @Mapper public interface PaperDao { void createPaper(Paper paper); /** * 读取一个机构下的所有未审核文章 * * @param organizeId ...
package com.spsc.szxq.view; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; impo...
package ga.islandcrawl.form; import ga.islandcrawl.draw.Crescent; import ga.islandcrawl.draw.Image; import ga.islandcrawl.draw.Oval; import ga.islandcrawl.form.Parts.Hands; import ga.islandcrawl.form.Parts.Pair; import ga.islandcrawl.other.M; /** * Created by Ga on 7/11/2015. */ public class Human extends Form { ...
package tainiothiki; public class userratings extends item{ private String userid; private String movieid; private String rating; private String timestamp; public userratings(String uid, String id,String rat,String time) { userid = uid; movieid=id; rating=rat; timestamp=time; } public String g...
import java.util.*; import java.lang.*; public class ExceptionHandlingOne{ public static void main(String[] args){ int data; try { data = 50 / 0; } catch (Exception e) { System.out.println("Error : " + e); System.out.println("Please enter a new denominat...
package com.projects.houronearth.activities.adapters; import android.content.Context; import android.graphics.Color; import android.graphics.Typeface; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widg...
import javax.swing.*; import java.util.Scanner; public class inchesToFeet { public static void main(String[] args){ int inch; int feet; final int LIFE = 12; int input; String object = JOptionPane.showInputDialog(null,"how many inches?", "dialog", JOptionPane.INFOR...