text
stringlengths
10
2.72M
/* * Copyright (C) 2023 Hedera Hashgraph, LLC * * 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 la...
/* * 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 view; import java.awt.event.ActionEvent; import javax.swing.JDesktopPane; import javax.swing.JFrame; import javax.swing.JMenuB...
package com.slort.struts.action.security; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.sf.hibernate.HibernateException; import org.apache.log4j.Logger; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.Act...
package com.example.user.myapplication.network.model; public class PCStatusModel { public int pc_status; }
package az.com.socar.workerpermission; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.data.jpa.repository.config.EnableJpaRepositories; @SpringBootApplic...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the ter...
class A { int alma( X x ){ return 1; } int alma( Y y ){ return 2; } }
package com.travel.services; import java.util.List; import com.travel.models.Invitation; public interface InvitationService { void save(Invitation invitation); List<Invitation> findAll(); void deleteById(Long invitationId); Invitation findOneByEmail(String email); }
package initialize_test; /** * Description: * * @author Baltan * @date 2018/6/20 20:04 */ public class Test2{ public static int k = 0; public static Test2 t1 = new Test2("t1"); public static Test2 t2 = new Test2("t2"); public static int i = print("i"); public static int n = 99; private in...
package models; public class Diary { private int course_id; private int student_id; private int points; private String studentName; private String studentEmail; public Diary() { } public Diary(int course_id, int student_id, int points) { this.course_id = course_id; thi...
package prj.betfair.api.betting.datatypes; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import prj.betfair.api.betting.datatypes.PlaceInstruction; import prj.betfair.api.betting.datatypes.PlaceInstructionReport; import java.text.MessageFormat; import java.util.Date; import com.fasterxml.jackson.annot...
package com.geqi.leetcode; /** * Created by geqi on 2019/3/11. */ import java.util.HashMap; import java.util.Iterator; import java.util.Map; /** * Given a string, find the length of the longest substring without repeating characters. */ public class question3 { public int lengthOfLongestSubstring(String s) ...
package org.codehaus.sonar.cql.maven; import org.apache.maven.model.PluginExecution; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.sonar.api.batch.maven.MavenPlugin; import org.sonar.api.batch.maven.MavenPluginHandler; import org.sonar.api.resources.Project; public class XdependMavenPluginHandl...
package ba.bitcamp.LabS11D04.networking; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import java.net.UnknownHostException; public class SocketConnector { public static final String serverAdress = "127.0.0.1"; public static final int serverPort = 172...
package com.mideas.rpg.v2.stresstest; import com.mideas.rpg.v2.chat.ChatFrame; import com.mideas.rpg.v2.chat.Message; import com.mideas.rpg.v2.chat.MessageColor; import com.mideas.rpg.v2.chat.MessageType; import com.mideas.rpg.v2.connection.Connection; import com.mideas.rpg.v2.connection.ConnectionManager; import com....
package com.supconit.kqfx.web.xtgl.entities; import hc.orm.search.SQLTerm; import hc.orm.search.Term; import java.util.ArrayList; import java.util.List; import jodd.util.StringUtil; import com.supconit.honeycomb.business.organization.entities.Department; public class ExtDepartment extends Department { /** * ...
package quiz; import java.util.Arrays; public class MethodQuiz02 { public static void main(String[] args) { method01(); String str = method02("하이"); System.out.println("메서드 2번 : " + str); double m3 = method03(1,2,3.0); System.out.println("메서드 3번 : " +m3); String str2 = method04(3);...
package websearch.indexing; import idGenerators.DocIdGenerator; import idGenerators.WordIdGenerator; import dataStructures.CorpusStatistics; import writers.PostingWriter; import dataStructures.Lexicon; import dataStructures.Page; import dataStructures.Posting; import java.io.File; import java.io.FileInputStream; impor...
package com.fang.example.db.store; /** * Created by andy on 6/26/16. */ public class TranslationPage extends PageHeader { // offsets public static final short O_TRANS = PageHeader.SIZE; // short count public static final short ELEMS_PER_PAGE = (RecordFile.BLOCK_SIZE - O_TRANS) / PhysicalRowId...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the ter...
package com.hqhcn.android.entity; import java.util.Date; public class Carinfo extends CarinfoKey { private String hpzl; private String hphm; private String jklx; private String clppxh; private String fzjg; private String jlczt; private String bj; private String jbr; private...
package com.mes.old.meta; // Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final /** * BEcoDetailId generated by hbm2java */ public class BEcoDetailId implements java.io.Serializable { private String changeuid; private String seq; public BEcoDetailId() { } public BEcoDetailId(String changeuid, String ...
package com.samirthebti.amen_go.services; import android.content.Context; import android.content.Intent; import android.os.Binder; import android.os.Handler; import android.os.IBinder; import android.util.Log; import com.facebook.stetho.common.StringUtil; import com.samirthebti.amen_go.Model.MyContact; import com.sam...
package com.tencent.mm.plugin.webview.ui.tools.fts; import java.util.Map; class FTSBaseWebViewUI$10 implements Runnable { final /* synthetic */ Map prf; final /* synthetic */ FTSBaseWebViewUI qdI; FTSBaseWebViewUI$10(FTSBaseWebViewUI fTSBaseWebViewUI, Map map) { this.qdI = fTSBaseWebViewUI; ...
package com.spr.beans; import twitter4j.HashtagEntity; /** * Created by saurav on 07/03/17. */ public class HashTag implements HashtagEntity { private String text; public HashTag(String text) { this.text = text; } @Override public String getText() { return text; } @Ov...
package com.globomantics.test.base; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.Properties; import java.util.concurrent.TimeUnit; import org.openqa.selenium.WebDriver; import org...
package com.dais.service; import com.dais.model.AutoWithdrawAuth; import java.util.List; /** * @author xxp * @version 2017- 09- 13 19:36 * @description * @copyright www.zhgtrade.com */ public interface AutoWithdrawAuthService { List<AutoWithdrawAuth> selectAutoWithdrawAuth() throws Exception; int updat...
package ncs.r4a118.shop; import java.io.Serializable; import javax.validation.constraints.Min; import javax.validation.constraints.NotEmpty; public class Product implements Serializable { private int code; @NotEmpty private String name; @Min(0) private int price; private String unit; private String desc; pri...
package lesson43.Ex5.comparator; import lesson43.Ex5.Employee; import java.util.Comparator; public class SortByWagesDown implements Comparator<Employee> { @Override public int compare(Employee o2, Employee o1) { if (o2.getWages() < o1.getWages()) { return 1; } else if (o2.getWages...
import java.util.*; /** * Evaluate the value of an arithmetic expression in Reverse Polish Notation. * Valid operators are +, -, *, /. Each operand may be an integer or another expression. * Some examples: * ["2", "1", "+", "3", "*"] -> ((2 + 1) * 3) -> 9 * ["4", "13", "5", "/", "+"] -> (4 + (13 / 5)) -> 6 *...
package edu.uci.ics.sdcl.firefly; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Hashtable; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.V...
package application; public class Board { boolean [][] pit = new boolean [10][10]; boolean [][] breeze = new boolean [10][10]; boolean [][] wumpus = new boolean [10][10]; boolean [][] stench = new boolean [10][10]; boolean [][] visited = new boolean [10][10]; boolean [][] glitter = new boolean [10][10]; boole...
/* Java Power Info utility, (C)2021 IC Book Labs Table model for Power Status Native function GetSystemPowerStatus results comments, see also: https://msdn.microsoft.com/en-us/library/windows/desktop/aa373232(v=vs.85).aspx typedef struct _SYSTEM_POWER_STATUS { BYTE ACLineStatus; BYTE BatteryFlag; BYTE Batte...
package com.bjsxt.wsk.springbootjdbc.service; import com.bjsxt.wsk.springbootjdbc.pojo.Users; import java.util.List; public interface UserService { void addUser(Users users); List<Users> findUserAll(); Users findUserById(Integer id); void modifyUser(Users users); void dropUser(Integer id); }
/******************************************************************************* * =============LICENSE_START========================================================= * * ================================================================================= * Copyright (c) 2019 AT&T Intellectual Property. All rights res...
package by.ld.hw.dec; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Scanner; /** * Составить программу, которая в массиве A[N] находит второе по величине число (вывести на печать * число, которое меньше максимального элемента массива, но больше всех других элеме...
package com.example.healthmanage.ui.activity.integral.ui; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.text.Html; import android.text.TextUtils; import android.view.View; import android.widget.ImageView; import androidx.lifecycle.Observer; import com.bumptec...
package com.opendroid.db; import java.util.ArrayList; import android.database.Cursor; import android.util.Log; public class CursorUtils { public static Integer extractIntegerOrNull(Cursor c, String columnName) { int columnIndex = c.getColumnIndex(columnName); return c.isNull(columnIndex) ? null : c.getInt(colu...
package com.danielstone.materialaboutlibrary.adapters; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.danielstone.materialaboutlibrary.holders.MaterialAboutItemViewHolder; import com.danielstone.materialaboutlibrary.items.Materia...
package com.sb.projects.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import lombok.Data; @Table @Entity @Data public class User { @Id @GeneratedValue(strategy = GenerationType...
package com.mx.profuturo.bolsa.model.service.vacancies.dto; public class BuscarDatosVacanteDTO { private Integer idPublicacion; private boolean isAdmin; private String idAnalista; private int paginaActual; private String role; public String getRole() { return role; } public v...
package com.jk.jkproject.ui.dialog; import android.content.Context; import android.content.res.Resources; import android.os.Bundle; import android.view.Gravity; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.RelativeLayout; import android.widget.Tex...
package com.hxsb.model.BUY_ERP_GET_REFUND_RECORD; import java.io.Serializable; import java.math.BigDecimal; public class RefundRecordDetail implements Serializable{ /** * */ private static final long serialVersionUID = -1255038100738736420L; private BigDecimal amount; private Long erp_order_id; private Long...
package service; import entity.CustomArray; public class ArrayAverage { public ArrayAverage(){ } public double Arrayaverage(CustomArray array){ { int[] temp=array.getArray(); double average=0; for (int i=0; i<temp.length;i++) { avera...
/* * created 11.08.2005 * * Copyright 2009, ByteRefinery * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * $Id...
package com.tencent.mm.plugin.webview.ui.tools; import android.os.Bundle; import android.os.RemoteException; import android.view.MotionEvent; import android.view.View; import com.tencent.mm.bq.a; import com.tencent.mm.plugin.appbrand.jsapi.appdownload.JsApiAddDownloadTask; import com.tencent.mm.plugin.appbrand.jsapi.a...
package candrun.user; import candrun.dao.UserDAO; import candrun.exception.PasswordMismatchException; import candrun.exception.UserNotFoundException; public class User { private String email; private String nickname; private String password; private String verifyKey; public static boolean login(String email, St...
package com.andysierra.culebrita.control; import android.util.Log; import android.view.MotionEvent; import android.view.View; import android.view.ViewTreeObserver; import com.andysierra.culebrita.actividades.MainActivity; import com.andysierra.culebrita.consts.Consts; import com.andysierra.culebrita.modelos.Juego; imp...
package jc.sugar.JiaHui.jmeter.preprocessor; import jc.sugar.JiaHui.jmeter.*; import jc.sugar.JiaHui.jmeter.sampler.JDBCSamplerMapper; import org.apache.jmeter.protocol.jdbc.processor.JDBCPreProcessor; import java.util.HashMap; import java.util.Map; @JMeterElementMapperFor(value = JMeterElementType.JDBCPreProcessor,...
package smart.config; import org.apache.catalina.connector.Connector; import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class TomcatConfig { ...
/* * This software is licensed under the MIT License * https://github.com/GStefanowich/MC-Server-Protection * * Copyright (c) 2019 Gregory Stefanowich * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal ...
package io.github.gronnmann.coinflipper.events; import org.bukkit.event.Event; import org.bukkit.event.HandlerList; import io.github.gronnmann.coinflipper.animations.Animation; public class AnimationCloneEvent extends Event{ private static final HandlerList handlers = new HandlerList(); public static HandlerList g...
/* * 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 jtestab; import java.io.*; import java.util.*; import java.math.*; /** * * @author michael */ public class JTestAB { /*...
package backend.model; import java.sql.Timestamp; public class Audit { int id; String change_msg; int changed_by; int person_id; Timestamp when_occurred; public Audit(int id, String change_msg, int changed_by, int person_id, Timestamp when_occurred){ this.id = id; this.change...
package com.goldgov.dygl.module.partymembermzpy.service; public class PmMzpyBean { /**学习教育 */ public static Integer PHASE_XXJY=100; /**自我评议 */ public static Integer PHASE_ZWPY=200; /**民族评议-召开党小组会或党员大会 */ public static Integer PHASE_MZPY_ZKHY=300; /**民族评议-会后民主评测 */ public static Integer PHASE_MZ...
package viewer; import java.awt.Color; import java.awt.Graphics2D; import gisviewer.PointMapObject; import gisviewer.Transformation; import graph.types.Colored; import graph.types.ColoredNode; import main.AbstractMain; public class ColoredPointMapObject extends PointMapObject { private int color; public ColoredP...
package models.excel; import lombok.Data; import models.entity.TaskTables; /** * Created by shanmao on 15-12-10. */ @Data public class ShopkeeperTask { int taskId; String taskBookUuid; String taskBookName; int id; String keyword; String taskRequirement; double unitPrice; int goodsNum...
package application; import java.net.URL; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.sql.Timestamp; import java.text.DateFormat; import java.text.ParseException; import jav...
package com.example.dllo.notestudio.DemoBaseBanner; import com.example.dllo.notestudio.BaseActivity; import com.example.dllo.notestudio.R; /** * Created by dllo on 16/11/28. */ public class NoteBaseBanner extends BaseActivity { @Override public int setMyLayout() { return R.layout.note_base_banner; ...
package com.liwei.adapter; import java.util.List; import android.content.Context; import android.content.Intent; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Button; import android.widget.TextView; import ...
package it.unirc.pwm.eureca.action.login; import com.opensymphony.xwork2.Action; import com.opensymphony.xwork2.ActionSupport; import it.unirc.pwm.eureca.action.login.utils.AmministratoreAware; import it.unirc.pwm.eureca.socio.model.Socio; public class Authenticated extends ActionSupport implements Ammin...
package logic.states; import logic.data.Data; public class EditUserProfile extends StateAdapter{ public EditUserProfile(Data data) { super(data); } @Override public IState cancelEditUserProfile() { return this; } @Override public IState saveProfile() { return thi...
package Controller; import com.google.zxing.NotFoundException; import java.io.IOException; import java.security.PublicKey; public interface UserController { void showLogin() throws IOException; void showApp() throws IOException; void registerUSer(String userIdentifier) throws Exception; void setUse...
package com.zhy.dagger2.di; import com.zhy.dagger2.printer.PdfPrinter; import com.zhy.dagger2.printer.Printer; import com.zhy.dagger2.printer.SamplePrinter; import javax.inject.Named; import dagger.Module; import dagger.Provides; @Module(includes = {AppModule.class}) public class PrinterModule { @Provides ...
package com.zilker.servlet; import java.io.IOException; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import ...
package info.blockchain.wallet.ethereum.data; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.JsonProcessin...
import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.net.URI; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.springframework.stereotype.Component; @Component public class HttpClientImpl implements HttpClient { public HttpClientImpl() { } ...
/* * Max Porter 1/31/2017 * GridWorld Level 00 */ import info.gridworld.actor.Rock; import java.awt.Color; public class Heart extends Rock{ public Heart() { setColor(Color.RED); } }
package com.cisco.prototype.ledsignaldetection.Recognizers; import org.opencv.contrib.FaceRecognizer; /** * Created by seandonohoe on 6/23/15. */ public class FisherFaceRecognizer extends FaceRecognizer { static{ System.loadLibrary("facerec"); } private static native long createFisherFaceRecogn...
package AddrTest; public class addr_demo { public static void main(String[] args) { String str1="abc"; String str2=str1;//这相当于String str2="abc"; System.out.println(str1==str2); str2="dfg";//在常量池没有dfg,所以要重新开辟一个内存存arc。str就变成存放dfg的地址了 System.out.println(str1); System.out.println(str2); System.out.printl...
/** * This file is part of * * CRAFTY - Competition for Resources between Agent Functional TYpes * * Copyright (C) 2014 School of GeoScience, University of Edinburgh, Edinburgh, UK * * CRAFTY is free software: You can redistribute it and/or modify it under the * terms of the GNU General Public License as publ...
class Loop_while{ public static void main(String ar[]){ int t=5; int i=1; while(i<=5) { System.out.println("i"); i++; } } }
/** */ package ca.uwaterloo.gp.fmp; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Project</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link ca.uwaterloo.gp.fmp.Project#getModel <em>Mode...
/* * 文 件 名: UserMockController.java * 描 述: UserMockController.java * 时 间: 2013-8-4 */ package com.babyshow.usermock.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web...
package ducksim.goose; import ducksim.ducks.Duck; public class GooseAdapter extends Duck { private Goose goose; public GooseAdapter(Goose goose) { this.goose = goose; setFlyBehavior(Goose.FLY_BEHAVIOR); setQuackBehavior(Goose.QUACK_BEHAVIOR); setColor(Goose.COLOR); } public String getQua...
package com.hqb.patshop.mbg.model; import java.io.Serializable; import lombok.Data; /** * pms_bid_result * @author */ @Data public class PmsBidResultModel implements Serializable { /** * 主键 */ private Long id; /** * 用户id */ private Long userId; /** * 商品id */ ...
/* * 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 tr.com.rah.fe; import static java.awt.Dialog.DEFAULT_MODALITY_TYPE; import java.awt.GridLayout; import java.awt.event.ActionEv...
package android.com.provider.fragments; import android.app.ProgressDialog; import android.com.provider.apiResponses.refferalCode.RefferalCode; import android.com.provider.httpRetrofit.HttpModule; import android.com.provider15_nov_2018.R; import android.content.Intent; import android.os.Bundle; import android.os.Handle...
package com.shangcai.dao.common.impl; import java.util.List; import org.springframework.stereotype.Repository; import com.shangcai.dao.BaseDao; import com.shangcai.dao.common.IProvinceDao; import com.shangcai.entity.common.Province; import com.shangcai.entity.common.Province.T; import com.shangcai.view.com...
package com.kenji47.volley_work.instagram_model; import java.util.List; /** * Created by kenji1947 on 28.07.2015. */ public class InstagramPost2 { public InstagramPost2() { } private String[] tags = new String[]{}; private List<Location> location; private List<User> user; private List<Imag...
package codex.editor; import codex.property.PropertyHolder; import codex.type.Bool; import codex.utils.ImageUtils; import java.awt.Color; import java.awt.Component; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JCheckBox; i...
package com.espendwise.manta.util.arguments; import com.espendwise.manta.util.arguments.resolvers.ResolverFactory; import java.util.Date; public class MonthWithDayArgument extends I18nArgument<Date>{ public MonthWithDayArgument(Date c, ArgumentResolver<Date> resolver) { super(c, resolver, ArgumentType.M...
// // Decompiled by Procyon v0.5.36 // package pdf; import java.io.IOException; import java.util.Iterator; import java.util.Set; import java.nio.file.OpenOption; import java.nio.file.Files; import java.nio.file.Paths; import java.io.FilenameFilter; import java.io.File; import java.util.Hashtable; public class Cons...
package com.canby.command.commands.volume; import com.canby.command.interfaces.HasVolume; /** * Created by acanby on 6/11/2014. */ public class VolumeUpCommand extends AbstractVolumeCommand { public VolumeUpCommand(HasVolume hasVolume) { super(hasVolume); } @Override public void execute() ...
enum CrustSize{ S (5.99), M (7.99), L (9.99); private double cost; CrustSize(double cost){ this.cost = cost; } double getCost(){ return cost; } } enum CrustType{ THIN (0.00), HAND (0.50), PAN (1.00); private double cost; CrustType(double cost){ this.cost...
package com.cts.resources; import java.util.Arrays; import java.util.List; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import com.cts.beans.Registration; @RestController @RequestMapping("/info") public class RegistrationInfoController...
package gdut.ff.mapper; import java.util.Date; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.cache.CacheManager; import org.springfram...
package com.busstop.busstopclient.http; import android.util.Log; /** * Created by shoichi on 2015/12/04. */ public interface AsyncCallback { // public void onProgressUpdate(Integer progress); public void onPostExecute(String result); }
/* * Copyright 2008 Eckhart Arnold (eckhart_arnold@hotmail.com). * * 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...
package com.j2.io; public class Cinema { public static void main(String[] args) { Movie moviedirecter = new Choidonghun(); moviedirecter = new Tazza(moviedirecter); System.out.println(moviedirecter.getDescription() + " 공동제작 감독의 총 누적관객수 " + moviedirecter.rate()+"백만입니다."); Movie moviedirecter2 = ...
package com.todolist.app.ws.service; import java.util.List; import com.todolist.app.ws.io.entity.ToDoListEntity; import com.todolist.app.ws.shared.dto.ToDoItemDto; import com.todolist.app.ws.shared.dto.ToDoListDto; import com.todolist.app.ws.ui.model.request.ToDoItemStatusRequestModel; public interface ToDo...
package la.opi.verificacionciudadana.adapters; 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.TextView; import java.util.List; import la.opi.verificacionciudadana.R; imp...
/* ------------------------------------------------ * 8 Tiles GUI * * Class: CS 342, Fall 2016 * System: Windows 10, IntelliJ IDE * Author: Five * ------------------------------------------------- */ /** * Constants class used to conglomerate and define any constants that are used throughout the prog...
package com.stackroute; class FirstException { public FirstException(String message) { } } public class Exception extends Throwable { public void main() { } }
package Baseball; public class Batter extends Players { private double battingAvg; public Batter(String name, double battingAvg) { super(name); this.battingAvg = battingAvg; } public double getBattingAvg() { return battingAvg; } }
package com.gerray.fmsystem.ManagerModule.Location; import android.view.View; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import com.gerray.fmsystem.R; public class LocationViewHolder extends RecyclerView.ViewHolder { public TextView tvLa...
package com.bl.algorithm.BubbleSort; import java.util.*; public class BubbleSortBL { public static void bubbleSort(int arr[]) { int n = arr.length; for (int i = 0; i < n-1; i++) for (int j = 0; j < n-i-1; j++) if (arr[j] > arr[j+1]) { ...
package com.example.maogai.ui.home; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.RadioButton; import android.widget.RadioGroup; import androidx.annotation.NonNull; import androidx.fragment.app.Fragment; import androidx.fra...
/** * DNet eBusiness Suite * Copyright: 2010-2013 Nan21 Electronics SRL. All rights reserved. * Use is subject to license terms. */ package net.nan21.dnet.module.bd.presenter.impl.attr.model; import net.nan21.dnet.core.api.annotation.Ds; import net.nan21.dnet.core.api.annotation.DsField; import net.nan21....
package com.tencent.mm.plugin.location.ui; import android.content.Context; import android.view.View; import android.widget.FrameLayout; import android.widget.ImageView; import com.tencent.mm.plugin.map.a.e; import com.tencent.mm.plugin.map.a.f; import com.tencent.mm.plugin.r.d; public final class g extends FrameLayou...