text
stringlengths
10
2.72M
package com.chuxin.family.views.reminder; import com.chuxin.family.app.CxRootActivity; import com.chuxin.family.widgets.NiceSelector; import com.chuxin.family.R; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; i...
package Fichi; //import ua.nic.Cursova.model.*; import java.util.ArrayList; import java.util.List; public class HelpCode { public static List<String[]> helpCode(){ String s; String s1; List<String[]> retList = new ArrayList(); String[] ret = new String[2]; ret[0] = ""; ...
package com.cxjd.nvwabao.bean; /** * Created by 李超 on 2017/10/29. * * TabSpec的封装类,每一个底部菜单块都是一个TabSpec * */ public class Tab { //每个菜单块的描述 private int titile; //菜单块儿的图片 private int icon; //每个菜单块对应的碎片 private Class fragment; public int getTitile() { return titile; } pub...
package com.testing.class3_2; import java.util.Scanner; public class SwitchTest { public static void main(String[] args) { System.out.println("WILL恋爱历险记:"); System.out.println("请输入要送的礼物:"); Scanner sc = new Scanner(System.in); String gift=sc.nextLine(); //好感度 int ex...
package yao.servlet.wordMeaningServlet; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; public class AddWordMeaningFormServ...
package com.danielstone.materialaboutlibrary.items; public abstract class MaterialAboutItem { public abstract int getType(); }
package Pageobjects; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; public class PageElement { public WebDriver Idriver; public PageElement(WebDriver rdriver) { Idriver = rdriver; PageFacto...
/* * #%L * Organisation: diozero * Project: diozero - Core * Filename: SchedulerTest.java * * This file is part of the diozero project. More information about this project * can be found at https://www.diozero.com/. * %% * Copyright (C) 2016 - 2023 diozero * %% * Permission is hereby granted, free ...
package pl.czyzycki.towerdef.gameplay.entities; import pl.czyzycki.towerdef.TowerDef; import pl.czyzycki.towerdef.TowerDef.Particle; import pl.czyzycki.towerdef.gameplay.GameplayScreen; import pl.czyzycki.towerdef.gameplay.helpers.Circle; import pl.czyzycki.towerdef.menus.OptionsScreen; import com.badlogic.gdx.Gdx; ...
package com.daw.club.services; import com.daw.club.qualifiers.DAOMap; import static java.util.Arrays.asList; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import jakarta.annotation.PostConstruct; import j...
package org.sero.cash.superzk.crypto.ecc; import java.math.BigInteger; import org.sero.cash.superzk.util.Arrays; import org.spongycastle.util.encoders.Hex; public class Constants { public static BigInteger ONE = BigInteger.ONE; public static BigInteger TWO = BigInteger.valueOf(2); public static BigInte...
package com.szcinda.express; import com.szcinda.express.dto.CreatePathDto; import com.szcinda.express.dto.FileCreateDto; import com.szcinda.express.dto.FileDto; import com.szcinda.express.params.QueryFileParams; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; i...
package ba.bitcamp.LabS06D02; public class TernarniOperator { public static void main(String[] args) { int a = TextIO.getlnInt(); int b = TextIO.getlnInt(); int c; if (a>b) { c=a; } else { c = b; } System.out.println("Veci je: "+ c); c = (a > b) ? a : b; //Ternarni operator c = ...
import java.io.*; public class GoodCodingPractices { public float calculateSimpleInterest(int principalAmount, float simpleInterestRate, int numberOfYears ) { float simpleInterest = ( principalAmount * simpleInterestRate * numberOfYears ) /100; return simpleInterest; } }
/* * 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 j1.s.p0001; import java.util.Scanner; /** * * @author Thinh */ public class J1SP0001 { /** * @pa...
package AI; import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class LaptopBatteryLife { public static void main(String[] args) throws FileNotFoundException { Scanner in = new Scanner(System.in); double timeCharged = in.nextD...
package io.cir.demoapp; import android.content.Intent; import android.graphics.BitmapFactory; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.ListView; import java.util.List; import java....
package com.serkowski.bookings.domain; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; @EqualsAndHashCode(callSuper = true) @Data @NoArgsConstructor public class BookingDetailsDTO extends BookingDetails { private String timeStamp; }
package br.com.bytebank.banco.teste; import br.com.bytebank.banco.modelo.ContaCorrente;; public class TesteSaca { public static void main(String[] args) { try (ContaCorrente conta = new ContaCorrente(111, 00)){ conta.deposita(200.0); conta.saca(100); } catch (Exception e) { System.out.println(e.getM...
package br.org.funcate.glue.event; import java.util.EventObject; import br.org.funcate.glue.model.ContextToGroupMap; @SuppressWarnings("serial") public class SetThematicContextEvent extends EventObject{ private ContextToGroupMap parameters; public SetThematicContextEvent(Object source, ContextToGroupMap param...
package ca.antonious.habittracker.viewcells; import android.view.View; import android.widget.Button; import android.widget.TextView; import java.util.Date; import ca.antonious.habittracker.DaysToDescriptionMapper; import ca.antonious.habittracker.R; import ca.antonious.habittracker.models.Habit; import ca.antonious....
package code; import code.arithmetic.ArithmeticExpression; import errors.BadArgumentsError; import errors.BadTableUsingException; import errors.BadTypeError; import errors.NotInicializedVariableException; import errors.ZeroDivideException; import interpretator.Interpretator; public class VariableUse extends...
package com.tencent.mm.pluginsdk.g.a.a; import com.tencent.mm.a.g; import com.tencent.mm.a.q; import com.tencent.mm.jni.utils.UtilsJni; import com.tencent.mm.plugin.game.f$k; import com.tencent.mm.pluginsdk.g.a.d.a; import com.tencent.mm.protocal.MMProtocalJni; import com.tencent.mm.sdk.platformtools.bi; import com.te...
package capstone.abang.com.Car_Owner.Endorse; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.StaggeredGridLayoutManager; import ...
/** * Created by Zortrox on 10/26/2016. */ package com.foxslash.cs396_project3; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ListAdapter; import android.widget.TextView; import j...
/* Natalie Suboc * Oct 4, 2017 * Contains the pair programming task written in class, * ProcessingNumbers */ import java.util.*; public class PairProgramming { public static void main(String[] args) { processingNumbers(); } public static void processingNumbers() { Scanner userInput = new Sc...
// 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 agreed to in writing, software // distribute...
/* * 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 entities; import java.io.Serializable; import java.util.Date; import javax.persistence.Entity; import javax.persistence.Genera...
package com.lingnet.vocs.service.finance; import java.util.HashMap; import com.lingnet.common.service.BaseService; import com.lingnet.util.Pager; import com.lingnet.vocs.entity.Refund; public interface RefundService extends BaseService<Refund, String> { /** * @Title: saveOrUpdate * @param ...
package com.shangcai.view.common; import java.util.List; import irille.view.BaseView; import lombok.Getter; import lombok.Setter; @Getter @Setter public class CategoryView implements BaseView { private Integer pkey; private String name; private Integer sort; private Integer parent; private List<C...
package com.dlq.servlet; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.PrintWriter; /** *@program: Java_Web *@description: *@author: Hasee *@creat...
package fr.lteconsulting.formations.client.services; import com.google.gwt.core.client.GWT; import fr.lteconsulting.angular2gwt.client.JSON; import fr.lteconsulting.angular2gwt.client.JsArray; import fr.lteconsulting.angular2gwt.client.JsObject; import fr.lteconsulting.angular2gwt.client.interop.ng.http.Headers; impo...
package org.firstinspires.ftc.teamcode; import com.qualcomm.hardware.lynx.LynxModule; import com.qualcomm.hardware.rev.RevBlinkinLedDriver; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.util.ElapsedTime; public abstract class CypherAutoMethods extends CypherMethods { p...
package com.hoc.client.handlers; import com.hoc.service.impl.EmailService; import com.hoc.service.impl.EmailService.EmailType; import com.hoc.service.interfaces.InvoiceService; import com.hoc.service.interfaces.UserService; import java.util.Map; import javax.mail.Address; import org.springframework.context.App...
package hr.unipu.java; import java.io.*; public class Main { public static void main (String[] args) { String Argument1 = args[0]; String Argument2 = args[1]; boolean Argument3 = args.length > 2 (args[2].equals("-p")) || args[2].equals("-print"); try (FileReader fi...
package com.giga.controller; import com.giga.entity.Product; import com.giga.service.IProductService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; import org.spring...
package securiteL3; import java.io.BufferedReader; import java.io.FileReader; import java.io.File; import java.io.FileNotFoundException; public class Util{ /** * Supprime les accents et mets tout en minuscule * @param s le mot a editer * @return le nouveau mot */ public static String replaceAccent(Stri...
package com.gtfs.util; import java.io.Serializable; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; public class FinYearCalculation implements Serializable{ public static String getFiscalYear(){ String strFinancialYear=""; String currentYear=""; String currentMonth=""...
package la.opi.verificacionciudadana.parser; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import java.util.Comparator; import java.util.HashMap; import la.opi.verificacionciudadana.api.EndPoint; import la.opi.verificacionc...
public class SearchInABinarySearchTree { public static TreeNode searchBST1(TreeNode root, int val) { TreeNode blankNode =new TreeNode(0); if (root.val == val){ return root; } else { if (root.left != null){ blankNode = searchBST(root.left,val); ...
package jie.android.ip; import jie.android.ip.database.DBAccess; import jie.android.ip.playservice.PlayService; public class PlayEventListener { private final IPGame game; private final PlayService playService; private final DBAccess dbAccess; public PlayEventListener(final IPGame game) { this.game = game; ...
package algorithms.tasks; /** * TODO: Intersection of two sets. * Given two arrays a[] and b[], each containing n distinct 2D points in the plane, * design a subquadratic algorithm to count the number of points that are contained both in array a[] and array b[]. */ public class TwoSetsIntersection { }
package no.hvl.dat100; import static javax.swing.JOptionPane.*; public class Oppg4 { public static void main(String[] args) { float bruttoInntekt = Integer.parseInt(showInputDialog("Hva er brutto lønnen din?")); if(bruttoInntekt <= 164100) { System.out.println("Du betlaer ingen trinnskatt."); } els...
package com.trs.om.api.ws.synuser; import java.security.NoSuchAlgorithmException; import com.trs.om.bean.User; public interface UserSynService { /** * 根据用户名查询用户是否已经存在 * @param userName * @return true 存在 false 不存在 */ public boolean queryUserByusername(String userName); /** * 增加用户 * @param user * @ret...
package com.mochasoft.fk.security.service; import com.mochasoft.fk.security.entity.PermissionResource; import com.mochasoft.fk.service.BaseService; public interface IPermissionResourceService extends BaseService<PermissionResource> { }
package com.cnk.travelogix.sapintegrations.accdocpost.data; import java.math.BigDecimal; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.datatype.XMLGregorianCalendar; public class ZifstVendor { @XmlElement(name = "Bschl", required = true) protected ...
package Unidade3.persistencia; public class Diretor { }
package com.jun.nettydemo.handlerorder; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; public class ServerHandler2 extends ChannelInboundHandlerAdapter { @Override public void channelRead(ChannelHandlerContext ctx, Object msg) { System.out.println...
import java.util.*; public class RationalSequence2 { public static void main(String[] args) { Scanner nya = new Scanner(System.in); } }
package View; import java.awt.Color; import java.awt.Font; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.SwingConstants; @SuppressWarnings("serial") public class M...
package com.thatredhead.jmath.obj; public interface Expression extends Evaluable { }
package geeksforgeeks.mustdo; import java.util.Scanner; /** * Created by joetomjob on 12/7/18. */ public class SubarraySum { private static void subSum(int[] A, int n, int s){ int curr_sum = A[0]; int trail = 0; int end = -1; for(int i=1; i<n; i++){ curr_sum += A[i]; ...
package pl.dostrzegaj.soft.flicloader; import org.scribe.model.Token; interface AuthWrapper { UserAccount authorise(String token, String tokenSecret); Token authoriseNewToken(); }
package com.qr_market.activity; import android.content.Intent; import android.os.Bundle; import android.provider.AlarmClock; import android.support.v7.app.ActionBarActivity; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Toast; import ...
package commandline.language.syntax; import org.jetbrains.annotations.Nullable; /** * User: gno Date: 28.06.13 Time: 15:51 */ public abstract class CommandNameSyntaxValidator { public CommandNameSyntaxValidator() { super(); } public abstract void validate(@Nullable String name); public abstract boolean isVal...
package com.tencent.mm.modelsimple; import com.tencent.mm.ab.j; import com.tencent.mm.protocal.k.d; import com.tencent.mm.protocal.k.e; import com.tencent.mm.protocal.o.a; import com.tencent.mm.protocal.o.b; public class f$a extends j { private final a efa = new a(); private final b efb = new b(); protec...
package repository; import org.springframework.data.repository.CrudRepository; import model.List; public interface ListRepository extends CrudRepository<List, Long> { }
package org.basic.comp.adapter; import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx; import javax.swing.table.TableModel; public interface ParentPagingInterface extends TableModel { public void setPaging(PagingInterface paging); public void loadJumlahData(ODatabaseDocumentTx db); ...
/* * Copyright (C) 2015 Miquel Sas * * 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 the Free Software Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is d...
package ch05; import ch04.Dish; import ch04.Menu; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; import static java.util.stream.Collectors.toList; public class Mapping { public static void main(String[] args) { ...
package Chapter2.LinkedLists.ReserveSingleSubList; import Chapter2.LinkedLists.Node; public class Solution { public static void main(String[] args) { // init the linked list var root = new Node(1); root.next = new Node(2); root.next.next = new Node(3); root.next.next.next =...
package weighting; import java.util.HashMap; import java.util.List; import java.util.Map; import org.json.JSONArray; import org.json.JSONObject; import questionnaire.expert.ExpertQuestionnaireDAO; import questionnaire.monitor.MonitorQuestionnaireDAO; import questionnaire.resident.ResidentQuestionnaireDAO;...
package org.sbbs.app.gen.dao.hibernate; import org.sbbs.app.gen.model.GenEntity; import org.sbbs.app.gen.dao.GenEntityDao; import org.sbbs.base.dao.hibernate.BaseDaoHibernate; import org.springframework.stereotype.Repository; @Repository("genEntityDao") public class GenEntityDaoHibernate extends BaseDaoHibern...
package com.module.controllers.veterandialog.tables; import com.module.model.entity.WorkPlaceEntity; import javafx.fxml.FXML; import javafx.scene.control.TextField; import javafx.stage.Stage; import org.springframework.stereotype.Component; @Component public class AddWorkPlaceController { @FXML private TextF...
package com.vilio.fms.generator.pojo; import java.util.ArrayList; import java.util.List; /** * 合同上的参数 */ public class ContractModelParam { //进件信息的唯一标识 private String bmsLoanCode = ""; //合同抵押方式 01:联抵联押 02:分抵分押 private String mortgageType = ""; //主借款人姓名 private String customerName = ""; ...
package manju; import java.util.*; public class Solutions{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int t = scan.nextInt(); while(t-- > 0) { //Map<Integer,Integer> map = new HashMap<>(); int[] a = new int[5]; for(int i = 0; i < 5; i++) { a[i] = sc...
package icehs.science.chapter03; public class Hello_Yoon { public static void main(String[] args) { // TODO Auto-generated method stub } }
package ceasarcypher; import javax.swing.JOptionPane; public class CeasarCypherApp { public static void main(String[] args) { String ptext = JOptionPane.showInputDialog("Enter your text to encrypt."); CeasarCypher encrypted = new CeasarCypher(ptext); encrypted.encrypt(); System.out.println(encrypt...
import javax.swing.SwingUtilities; import spi.movieorganizer.display.MovieOrganizer; import exane.osgi.jexlib.data.manager.AbstractExaneDataManager; public class MainClass { public static void main(final String[] args) { SwingUtilities.invokeLater(new Runnable() { @Override ...
#include<stdio.h> int main() { int a,b,sum=0,val=0,i; scanf("%d%d",&a,&b); for(i=1;i<=a;i++) { if(a%i==0) { sum=sum+i; } } for(i=1;i<=b;i++) { if(b%i==0) { val=val+i; } } if(sum/a==val/b) printf("Friendly Pair"); else printf("Not Friendly Pair"); return ...
package com.rahul.splitwise.controller; import com.rahul.splitwise.model.User; import com.rahul.splitwise.model.UserWithGiveOrTake; import com.rahul.splitwise.service.IUserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; import org.spri...
package customer.gajamove.com.gajamove_customer; import androidx.appcompat.app.AppCompatActivity; import customer.gajamove.com.gajamove_customer.adapter.BigSidePointAdapter; import customer.gajamove.com.gajamove_customer.adapter.MultiLocationAdapter; import customer.gajamove.com.gajamove_customer.adapter.PriceSer...
package com.luban.command.highriskengineer.service.impl; import com.luban.command.highriskengineer.service.HighRiskEngineeringService; import org.springframework.stereotype.Service; /** * @ClassName HighRiskEngineeringServiceImpl * @Author yuanlei * @Date 2018/10/16 10:32 * @Version 1.0 **/ @Service("highriskeng...
package exam_module5.demo.controller; import exam_module5.demo.model.Start; import exam_module5.demo.model.Type; import exam_module5.demo.service.StartService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; impo...
import java.util.Objects; public class Coca { private Integer tamanho; private Double preco; public Coca (Integer tamanho, Double preco){ this.tamanho = tamanho; this.preco = preco; } @Override public boolean equals(Object coca){ if (this==coca){ return tr...
package javabasico.aula17labs; /** * @author Kim Tsunoda * Objetivo O Sr. Manoel Joaquim possui uma grande loja de artigos de R$ 1,99,com cerca de 10 caixas. Para agilizar o cálculo de quanto cada clientedeve pagar ele desenvolveu um * tabela que contém o número de itens que o cliente comprou e ao lado o valo...
package Clases; public class Planes { //atributos private int Norte; private int Sur; private int Cordillera; private int Costa; //constructor public Planes(){ Norte=35000; Sur=45000; Cordillera=20000; Costa=20000; } //accesadores public int getNo...
package com.walkerwang.algorithm.bigcompany; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; /*微信红包 * 题目描述 春节期间小明使用微信收到很多个红包,非常开心。在查看领取红包记录时发现, 某个红包金...
package game.square; import core.GameObject; import core.GameObjectManager; import core.Vector2D; import java.util.Vector; public class MatrixSquare extends GameObject{ String[][] s = { {"*","*","*"}, {"*","*"," "}, {" ","*"," "}, {" ","*"," "}, {" ","*...
package com.game.common.server.handler; import com.game.common.exception.GameException; import com.game.common.pb.object.GameObject; /** * @author tangjp * */ public abstract class GameBaseHandler { public abstract GameObject.GamePbObject handlerRequest(GameObject.GamePbObject msg) throws GameException; }
/* * 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 dto; /** * * @author Asus */ public class EmployeeTRReportDTO { private String empid; private String name; pri...
package com.kzw.leisure.contract; import com.kzw.leisure.base.BaseModel; import com.kzw.leisure.base.BasePresenter; import com.kzw.leisure.base.BaseView; import com.kzw.leisure.bean.BookBean; import com.kzw.leisure.bean.BookSourceRule; import com.kzw.leisure.bean.Query; import com.kzw.leisure.bean.SearchBookBean; imp...
package com.company; import java.io.PrintStream; import java.util.ArrayList; import java.util.List; public class Document { String title; Photo photo; List<Section> sections = new ArrayList<>(); Document(String _title) { this.title = _title; } public Document setTitle(String _title){...
package using; import pubsub.OnReceived; import pubsub.Envelop; class Subscriber<T> { int id; public Subscriber(int id) { this.id = id; } @OnReceived private void onReceived(Envelop<T> envelop) { System.out.printf("Subscriber[%d] received: %s%n", id, envelop.open()); } }
package com.duanxr.yith.easy; import com.duanxr.yith.define.listNode.ListNode; /** * @author 段然 2021/3/11 */ public class LiangGeLianBiaoDeDiYiGeGongGongJieDianLcof { /** * English description is not available for the problem. * * 输入两个链表,找出它们的第一个公共节点。 * * 如下面的两个链表: * * * * 在节点 c1 开始相交。...
package ru.molkov.dao; import java.util.List; import org.hibernate.criterion.Restrictions; import org.springframework.stereotype.Repository; import ru.molkov.core.ModelWorker; import ru.molkov.model.TakenItem; @Repository public class TakenItemDaoImpl extends ModelWorker<TakenItem> implements TakenIte...
package com.space.smarthive.home; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app.Fragment; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.KeyEvent; import android.view.View; import com.gyf.immer...
package game; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.HashMap; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTextField; import castle.Castle; import cast...
package com.finix.dao.impl; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.sql.Blob; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Types; imp...
package com.shakeboy.pojo; import com.baomidou.mybatisplus.annotation.*; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.Date; @Data @NoArgsConstructor @AllArgsConstructor @TableName("friends") public class Friend { @TableId(type = IdType.AUTO) private ...
package net.drs.myapp.resource; import java.security.Principal; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; imp...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double v = scan.nextDouble(); if (v < 0 || v > 100){ System.out.println("Fora de intervalo"); }else if (v > 75.000001){ System.out.println("Intervalo (75,100]"); }else if (v...
package com.example.yudipratistha.dompetku.model; import android.provider.BaseColumns; public class KategoriContract implements BaseColumns { public static final String TABLE_NAME = "kategoris"; public static final String COLUMN_ID_USER = "id_user"; public static final String COLUMN_NAMA_KATEGORI = "nama_...
package com.fixit.external; /** * Created by konstantin on 5/10/2017. */ public class ExternalLogin { enum Status { SUCCESS, ERROR, CANCELED, NO_PROFILE, NO_EMAIL } enum Source { FACEBOOK, GOOGLE } interface Callback { void onLog...
package com.jk.jkproject.ui.dialog; import android.content.Context; import android.graphics.Typeface; import android.os.Bundle; import android.view.Gravity; import android.view.View; import android.widget.TextView; import com.jk.jkproject.R; import com.jk.jkproject.utils.SPUtils; import com.jk.jkproject.utils.ScreenU...
package com.dayuanit.shop.Enum; import com.dayuanit.shop.exception.ShopException; public enum GoodsStatusEnum { GOODSUP(1, "商品上架"), GOODSDOWN(2, "商品下架"); private Integer code; private String value; public Integer getCode() { return code; } public String getValue() { return value; } private Goo...
package com.gtfs.controller; import java.io.Serializable; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class LoginController implements Serializable { @RequestMapping("/login") public String login(){ return "login"; } @Re...
package interpreter.ast.nodes; import interpreter.Visitor; public class IntegerLiteral implements Expression { public String value; public IntegerLiteral(String value) { this.value = value; } @Override public Object accept(Visitor v, Object o) { // TODO Auto-generated method stub return v.visit(this, ...
package dino.command; import dino.exception.EmptyListException; import dino.task.TaskList; import dino.util.Storage; /** * Represents the command for which the user wants to view the list of tasks */ public class ListCommand extends Command { /** * Executes the command to display the task list to the use...
package display; import java.awt.Graphics; import platform.Agent; import platform.PrintablePanel; /** * generic class of Panels that display informations about an agent * @author simon */ public class EnvPanel extends PrintablePanel{ private static final long serialVersionUID = 1L; protected Agent agent; ...