text
stringlengths
10
2.72M
/* * 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 Visao.Consultar; public class ConsultarFuncionario { }
package com.cb.cbfunny.qb.task; import android.os.AsyncTask; import com.cb.cbfunny.qb.bean.Article; import com.cb.cbfunny.utils.ArticleGetUtils; import java.util.List; public class HomeAsyncTask extends AsyncTask<String, Void, List<Article>> { String type; HomeAsyncCallBack callBack; public HomeAsyncTask(S...
package Parte02.calculadora; public class Calculadora { private double memoria = 0; public Calculadora(double memoria) { this.memoria = memoria; } public Calculadora() { } public double getMemoria() { return memoria; } public void setMemoria(double memoria) { ...
/* $Id$ */ package djudge.acmcontester; import java.awt.Dimension; import java.awt.FileDialog; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Bord...
package com.proxiad.games.extranet.repository; import java.util.List; import java.util.Optional; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.data.repository.query.Param; import org.springframework.stereotype.Repository; i...
package com.zxt.framework.page.dialect; import java.sql.Types; import org.hibernate.sql.CaseFragment; import org.hibernate.sql.DecodeCaseFragment; import org.hibernate.sql.JoinFragment; import org.hibernate.sql.OracleJoinFragment; import com.zxt.framework.common.log.LogHelper; /** * Title: Dialect Description: Ora...
package oo.abstraction; import java.util.Scanner; public class Ticket { int serialnumber; String name; String time; char area; int seat; int price; int status; public Ticket(String name, String time, char area, int seat){ this.name = name; this.time = time; this.area = area; this.se...
package com.bofsoft.laio.laiovehiclegps.Config; import com.bofsoft.sdk.exception.BaseExceptionType; public class ExceptionType extends BaseExceptionType { public ExceptionType(int id, String name) { super(id, name); } }
package numberPgms; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class SampleArrayList { public static void main(String[] args) { List<String> li= new ArrayList<String>(); li.add("Siva"); li.add("bupalem"); li.add("Sivapavan"); li.add("ManiKiran"); long ler=li.s...
// ASM: a very small and fast Java bytecode manipulation framework // Copyright (c) 2000-2011 INRIA, France Telecom // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of ...
/** * @author taylor */ package br.com.lucro.server.controller; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired...
package com.evlj.searchmovie.network.factory; import com.evlj.searchmovie.BuildConfig; import com.evlj.searchmovie.base.BaseFactory; import java.util.concurrent.TimeUnit; import okhttp3.OkHttpClient; import okhttp3.OkHttpClient.Builder; import okhttp3.logging.HttpLoggingInterceptor; public abstract class ServiceFac...
package controller.student.registration; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http....
// Generated from /Users/yurkiss/IdeaProjects/AntlrSample/src/org/yurkiss/antlr/Formulas.g4 by ANTLR 4.5.3 package org.yurkiss.antlr.formulas; import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.atn.ATN; import org.antlr.v4.runtime.atn.ATNDeserializer; import org.antlr.v4.runtime.atn.ParserATNSimulator; import o...
/* * Copyright (c) 2017-2020 Peter G. Horvath, All Rights Reserved. * * 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 req...
package com.example.front_end_of_clean_up_the_camera_app.UserFragment; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android.os.Bundle; import android.view.LayoutInflater; import android.vi...
package com.example.olawr.assignment1; import android.graphics.Color; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.CheckBox; import android.widget.EditText; import android.widget.ImageButton; import android.widg...
package org.kiworkshop.jdbcapi; import org.kiworkshop.dao.MemberDao; import org.kiworkshop.domain.Member; import org.springframework.jdbc.datasource.DataSourceUtils; import javax.sql.DataSource; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; imp...
package be.mxs.common.util.pdf.general; import be.mxs.common.util.db.MedwanQuery; import be.mxs.common.util.pdf.PDFBasic; import be.mxs.common.util.system.Pointer; import be.mxs.common.util.system.ScreenHelper; import be.openclinic.pharmacy.ProductStock; import be.openclinic.pharmacy.ServiceStock; import be.openclinic...
package ru.mcfr.oxygen.framework.operations.highlight; import ro.sync.ecss.extensions.api.*; import ro.sync.ecss.extensions.api.highlights.AuthorPersistentHighlighter; /** * Operation used to remove all persistent highlights. */ public class RemoveAllHighlightsOperation implements AuthorOperation { /...
package com.yuan.library.bannerdialog; /** * yuan * 2020/2/23 **/ public interface OnImageClickListener { void onImageClick(int index); }
package com.legaoyi.protocol.down.messagebody; import java.util.Map; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import com.fasterxml.jackson.annotation.JsonProperty; import com.legaoyi.common.util.JsonUtil; import com.legaoyi.protocol.exception.IllegalMessag...
package bcg.common.entity; import java.util.Date; public class BookInfo implements java.io.Serializable { private static final long serialVersionUID = 1L; // DB에서 불러올 부분 private String bookCode; private String title; private Double totalScore; private String imgurl; private int genreCode; priva...
/* * Copyright 2002-2022 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.android.myvirtualnutritionist.ui.diary.nutrition; public class NutrientsTableDataModel { private String nutrientsName; private String total; private String goal; private String left; public NutrientsTableDataModel(String nutrientsName, String total, String goal, String left) { ...
package cafe.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annot...
/* * Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved. * * 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 org.shazhi.businessEnglishMicroCourse.repository; import org.shazhi.businessEnglishMicroCourse.entity.UserEntity; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.Query; import o...
package Lab4; import java.util.Scanner; /** * 4th task - how many times repeat some symbol * * @author anri6a * */ public class RepeatSymb { private static Scanner workString; public static void main(String[] args) { workString = new Scanner(System.in); System.out.println("Enter String for...
package com.springboot.demo.repository; import org.springframework.data.jpa.repository.JpaRepository; import com.springboot.demo.model.Mathang; public interface MathangRepository extends JpaRepository<Mathang, Long> { }
package com.sobev.OpLock.entity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.ToString; @Data @ToString @AllArgsConstructor @NoArgsConstructor public class Person { private String id; private String name; private Integer gender; private String addr; }
package com.example.myapplication.Database; import androidx.room.Entity; import androidx.room.PrimaryKey; @Entity(tableName = "task_table") public class Task { @PrimaryKey(autoGenerate = true) int id; String task_name; String task_desc; int hour; int min; public int getId() { retu...
package proeza.sah.desktop.listener.light; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import com.digi.xbee.api.exceptions.XBeeException; import com.guiBuilder.api.component.listener.GBEventListener; import com.guiBuilder.app.main.GBBeanFactory; import com.guiBuilder.core.GuiManag...
package com.nuvu.backendtarjetas.rest; import com.nuvu.backendtarjetas.rest.security.entity.UsuarioPrincipal; import com.nuvu.backendtarjetas.rest.security.entity.Usuario; import com.nuvu.backendtarjetas.dtos.TarjetaDto; import com.nuvu.backendtarjetas.model.Tarjeta; import com.nuvu.backendtarjetas.repositories.Tarjet...
package com.nipaibao.config; import com.nipaibao.BuildConfig; public class Config { public static final long ONE_HOUR_MS = 60 * 60 * 1000; public static final long ONE_DAY_MS = 24 * ONE_HOUR_MS; public static final String SERVER_URL = "http://47.99.93.72/shop/"; public static final String GET_FILE_PARAMS = "eop/...
package leetcode.HotLeetcode; /** * 翻转数字 * eg:1230 输出:321 * -12345 输出:-54321 */ public class ReverseInteger { public static void main(String[] args) { int n = 123405; // reverseInteger(n); System.out.println(reverseInteger(n)); System.out.println("数字翻转"); } public s...
/** * Created with IntelliJ IDEA. * User: dexctor * Date: 12-12-29 * Time: 上午9:54 * To change this template use File | Settings | File Templates. */ public class TestLazyPrimMST { public static void main(String[] args) { EdgeWeightedGraph G = new EdgeWeightedGraph(new In("mediumEWG.txt")); ...
/** * © Copyright IBM Corporation 2020. All Rights Reserved. * * 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 applic...
/* * 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 br.edu.ifpb.sd.task; import java.util.Scanner; /** * * @author natan */ public class EndTask implements Runnable { @O...
package de.digitalstreich.Manufact.model; import de.digitalstreich.Manufact.model.auth.User; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annotation.LastModifiedDate; import javax.persistence.*; import java.sql.Date; import java.util.List; @Entity @Table(name = "retailers")...
package com.qst.dms.gather; import java.util.ArrayList; import com.qst.dms.data.LogRecStore; import com.qst.dms.data.MatchedLogRecStore; import com.qst.dms.entity.DataBase; import com.qst.dms.entity.LogRec; import com.qst.dms.entity.MatchedLogRec; import com.qst.dms.exception.DataAnalyseException; /** * @author 陌意随影...
package JAVA9_EXERCISE1; public class Q2 implements AutoCloseable { public void display(){ System.out.println("displaying"); } @Override public void close() throws Exception { System.out.println("closing"); } public static void main(String[] args) throws Exception { tr...
package cn.jcera.fileservice.core.entity; import lombok.Data; @Data public class FastDFSFile { private String name; private byte[] content; private String ext; private String md5; private String author; private String height; }
package sop.web.management; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.codehaus.jackson.map.Ob...
package com.haku.light.input.mapping; public class EventScale { public final String name; public final float scale; public EventScale(String name, float scale) { this.name = name; this.scale = scale; } @Override public String toString() { return this.name + ' ' + this....
package generator.util; public class Operators { private static String[] ARITHEMTIC_OPERATORS = {"+", "-", "/", "*"}; private static String[] RELATIONAL_OPERATORS = {">", "<", ">=", "<="}; private static String[] COMBINATIONAL_OPERATORS = {"and", "or"}; public static String randomArithmeticOp...
package com.lemon.controller; import com.lemon.entity.AppVersionEntity; import com.lemon.entity.CommonResult; import com.lemon.entity.UpdateAppBean; import com.lemon.service.AppVersionService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import...
package com.maxkuzmenchuk.new_releases_bot; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.telegram.telegrambots.ApiContextIni...
package com.pronix.android.apssaataudit.services; import android.content.Context; import com.pronix.android.apssaataudit.common.Constants; import com.pronix.android.apssaataudit.models.WebServiceDO; /** * Created by ravi on 1/11/2018. */ public class AsyncTask extends android.os.AsyncTask<WebServiceDO, WebSer...
public class NoSuchAccountException extends Exception { /** * */ private static final long serialVersionUID = 1L; public NoSuchAccountException() { super("Account not found! Check your userID and password!"); } }
package com.bruce.singleton.type2_ehanshi2; public class SingletonTest02 { public static void main(String[] args) { //todo more logics Singleton s1=Singleton.getInstance(); Singleton s2=Singleton.getInstance(); System.out.println(s1==s2); System.out.println(s1.hashCode()+".."+s2.hashCode()); } } cla...
import java.io.IOException; public class enemyShip1 extends ship{ public enemyShip1() throws IOException{ this.assetPath="sprites/Tank1.jpg"; this.defaultImage=this.get_image(this.assetPath); this.centerx=50; this.centery=40; this.width=230; this.height=250; this.showrooms=tr...
package myLabs; public class DelFixLengthWordStartWithConsonant { public static void main(String args[]) { String testStr = "sgfskj erty sfghksjv Gkjhsksvj cvbn jHjhkjvksv"; int siseOfWord = 4; /*Scanner enterString = new Scanner(System.in); System.out.println("Enter sentence for wo...
package ir.madreseplus.data.model.res; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.util.List; public class TicketDictRes { @SerializedName("clusters") @Expose private List<ClusterRes> clusters = null; @SerializedName("priority") @Exp...
package net.MindTree.spring.boot.example.pojo; /** * @author prasa * */ public class Transaction { private Integer id; private String arrangementId; private String externalId; private String externalArrangementId; private String productId; private String reference; private String description; private Strin...
package page.objects; import org.openqa.selenium.*; import org.openqa.selenium.WebDriver; public class LoginPage { /* Defining of final values for web paths */ private static final String LOGUSERNAME = "//input[@placeholder='korisničko ime']"; private static final String LOGPASSWORD = "//input[@placeholder='lozin...
package com.messagesender.messagesender; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.TextView; import retrofit2...
package com.springtraining.model; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class KintaiListEntity implements Serializable { private static final long serialVersionUID = 1L; @Id private String userId; private String userName; p...
package com.eshop.model.dao.impl; import java.sql.Connection; import java.sql.Statement; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import java.util.ArrayList; import com.eshop.model.dao.SQL; import com.eshop.model.dao.DBException; import com.es...
package com.codingchili.instance.controller; import com.codingchili.core.logging.Logger; import com.codingchili.core.protocol.Api; import com.codingchili.core.protocol.Serializer; import com.codingchili.instance.context.GameContext; import com.codingchili.instance.model.admin.AuthorizationException; import com....
package haircutter.bussinessmodel; import lombok.Getter; import lombok.Setter; import haircutter.bussinessmodel.*; public class UserModel { @Getter @Setter private Long id; @Getter @Setter private String email; @Getter @Setter private String password; @Getter @Setter private String firstName; @G...
package org.levelup.web.controllers; import org.levelup.dao.CategoryDao; import org.levelup.model.Article; import org.levelup.model.Category; import org.levelup.repositories.ArticleRepository; import org.levelup.repositories.CategoryRepository; import org.levelup.web.forms.CategoriesForm; import org.levelup.web.forms....
package com.zaiou.web.controller.system; import com.zaiou.common.enums.ResultInfo; import com.zaiou.web.annotation.CurrentUserSeession; import com.zaiou.web.common.bean.CurrentUser; import com.zaiou.web.common.bean.RespBody; import com.zaiou.web.common.utils.R; import com.zaiou.web.service.system.UserService; import c...
package PA165.language_school_manager.sample; /** * @author Viktor Slany */ public interface SampleDataLoadingFacade { void loadData(); }
package io.github.satr.aws.lambda.bookstore.repositories.localdatabase; // Copyright © 2020, github.com/satr, MIT License import io.github.satr.aws.lambda.bookstore.common.TestHelper; import io.github.satr.aws.lambda.bookstore.entity.Book; import io.github.satr.aws.lambda.bookstore.repositories.database.tableentity.Bo...
package revolt.backend.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import revolt.backend.entity.Liquid; @Repository public interface LiquidRepository extends JpaRepository<Liquid, Long> { }
package com.company.game; import xyz.noark.core.annotation.Component; import xyz.noark.core.annotation.Order; import xyz.noark.core.annotation.Service; /** * @author 小流氓[176543888@qq.com] * @since 3.4 */ @Component(name = "test") @Order(1) public class TestService1 implements TestService { }
package com.github.colinjeremie.justpickafilm.database; import com.github.colinjeremie.justpickafilm.models.Genres; import com.raizlabs.android.dbflow.converter.TypeConverter; import java.util.Arrays; /** * * JustPickAFilm * Created by jerem_000 on 3/2/2016. */ @com.raizlabs.android.dbflow.annotation.TypeConverte...
package com.gxtc.huchuan.helper; import android.app.Activity; import android.app.Application; import android.content.Context; import android.net.Uri; import com.gxtc.commlibrary.utils.SpUtil; import com.gxtc.huchuan.MyApplication; import com.gxtc.huchuan.bean.dao.User; import com.gxtc.huchuan.data.UserManager; import...
package ru.telepnev.dmitriy.SmsSender; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.Confi...
package com.sky.design.strategy; public class Test { //简单工厂模式 public static void main(String[] args) { CashSuper cashSuper; cashSuper=CashFactory.createCashAccept("正常收费"); System.out.println(cashSuper.acceptCash(800)); cashSuper=CashFactory.createCashAccept("满300返100"); System.out.println(cashSuper.accept...
public class RockPaperScissorsMagicEasy { long MOD = 1000000007; public int count(int[] card, int score) { if(card.length < score) { return 0; } long result = modPow(2, card.length - score); long n = 1; long k = 1; long nk = 1; for(long i = 1...
package com.codecool.stampcollection.exception; public class CurrencyNotExistsException extends RuntimeException{ public CurrencyNotExistsException(String currency) { super("Currency does not exists with code: " + currency); } }
package com.radauer.mathrix; import static com.radauer.mathrix.MathrixTestHelper.getGroupKey; import static com.radauer.mathrix.MathrixTestHelper.getRowKey; import java.math.BigDecimal; import org.junit.Test; import com.radauer.mathrix.tasks.SumTask; /** * Performance Test for the Mathrix */ public class Mathrix...
// Jesus Rodriguez // 1/28/2020 // ITC 115 Winter 2020 /* Write a method called printPowersOfN that accepts a base and an exponent as arguments and prints each power of the base from base0 (1) * up to that maximum power,inclusive. For example, consider the following calls: * printPowerOfN(4, 3); * printPower...
package farmerline.com.dev.farmerserviceapp.dashboard.home.mapLocation; import android.content.SharedPreferences; import com.google.android.gms.maps.model.LatLng; import com.google.gson.Gson; import farmerline.com.dev.farmerserviceapp.login.UserModel; import farmerline.com.dev.farmerserviceapp.root.App; import farme...
package cc.ipotato.jdbc.basic; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.Reader; import java.sql.*; import java.util.Properties; /** * Created by haohao on 2018/5/25. */ public class JDBCUtils { public static String DBDRIVER; pu...
package com.pibs.bo; import java.util.HashMap; import java.util.Map; public interface ReportBo { Map<String, Object> generateReport(HashMap<String, Object> criteriaMap) throws Exception; }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Business.MunicipalCorporation; import Business.Architecture.ArchitectureDirectory; import Business.Email.EmailManagementSystem; import Business.Organization.Organization; import Business.Organization.Organizatio...
package com.leetcode; public class PostOrderTree { private static class Node { private Node left; private Node right; private Object value; } public void traversal(Node node) { if(node == null) return; if(node.left != null) traversal(node.left); if(node.right != null) traversal(node.right); ...
package com.poly.dotsave.adapter; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import com.poly.dotsave.R; public class HistoryHolder extends RecyclerView.ViewHolder { public ImageView i...
package com.getkhaki.api.bff.web; import com.getkhaki.api.bff.domain.models.GoalDm; import com.getkhaki.api.bff.domain.services.GoalService; import com.getkhaki.api.bff.web.models.*; import org.assertj.core.util.Lists; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter...
package com.example.kuno.actionbarex; import android.os.Bundle; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuItem; import android.widget.Toast; /* Context(컨텍스트) 객체의 상태 정보를 표현 액티비티 정보 저장/제공 안드로이드에서는 UI구성요소인 뷰의 정보를 확인하거나 설정하기...
package com.daexsys.automata; public enum GameSide { CLIENT, // multiplayer client SERVER, // multiplayer server BOTH // singleplayer }
package com.salesfloors.client.controller; import java.io.File; import java.io.IOException; import java.util.List; import javax.inject.Inject; import org.apache.commons.io.FileUtils; import org.springframework.social.connect.ConnectionRepository; import org.springframework.social.facebook.api.Facebook; import org.sp...
package slimeknights.tconstruct.debug; import com.google.common.eventbus.Subscribe; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.NonNullList; import net.mi...
package com.example.csvJsonParser; import com.example.csvJsonParser.model.Order; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import java.io.IOException; @Slf4j @Co...
package kg13; /** * Created by C0116289 on 2017/07/10. */ public class Ex01 { public static void main(String[] args) { Triangle t1 = new Triangle(2, 5); Triangle t2 = new Triangle(3, 7); System.out.println("t1の面積 : " + t1.toArea()); System.out.println("t2の面積 : " + t2.toArea()); ...
package net.edzard.kinetic; /** * A circular shape. * @author Ed */ public class Circle extends Shape { /** Protected default Ctor keeps GWT happy */ protected Circle() {} /** * Retrieve this circle's radius. * @return The radius */ public final native double getRadius() /*-{ return this.getRadius();...
package com.example.mav_mr_fpv_osu_2020.old; import android.view.TextureView; import android.widget.FrameLayout; import com.example.vfsmav_osu20_fpv.mavdata.MAVRepo; public class FPVFullAdapter extends FrameLayout.Adapter<FPVFullAdapter.telemetryViewHolder> { private MAVRepo mTelemetry; private TextureView t...
package com.uav.rof.bo; import com.uav.rof.activity.ConnectionVO; import java.io.Serializable; import java.util.HashMap; public class PaymentTypeBO implements Serializable { public static ConnectionVO getPaymentType(){ ConnectionVO connectionVO = new ConnectionVO(); connectionVO.setMethodName(...
import java.util.Scanner; public class MovieTicket { public static void main(String[] args) { int ticket; String refreshment,coupanCode,circle; int ref=0; float dis=0; float TotalCost=0; float coupanDis=0; Scanner sc =new Scanner(System.in); System.out.println("Enter the no.of ti...
/** * Package for delegates used by database child classes. */ package lib.Databases.Delegates; // Date Created: 2012-12-31 05:45
package com.example.fuemi.eisbaer.Activitys; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.NavigationView; import android.support.design.w...
package Services.InfoService; import DB.DBHandler; import DB.Job; import DB.Orchestration; import DB.Rule; import Services.StatusCodes; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; import javax.xml.bind.annotation.XmlElement; import java.util.ArrayList; import java.util.Arrays; ...
package com.virtusa.project.books; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.SequenceGenerator; import javax.persistenc...
package com.sky.design.factory.base; public class Test { public static void main(String[] args) throws Exception { IFactory operFacory=new AddFactory(); Operation operation=operFacory.CreateOperation(); operation.setNumberA(12); operation.setNumberB(156); System.out.println(operation.GetResult()); ope...
package controllers.records; import java.util.ArrayList; import java.util.Collection; import java.util.List; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Con...
package com.thomson.dp.principle.zen.lsp; import com.thomson.dp.principle.zen.lsp.domain.Son; import java.util.HashMap; import java.util.Map; /** * 父类子类场景类 * * @author Thomson Tang */ public class FatherSonClient { public static void invoker() { // Father father = new Father(); Son f = new Son...