text
stringlengths
10
2.72M
package com.paragon.sensonic.ui.activities.petdetails; import android.graphics.Rect; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import androidx.annotation.Nullable; import androidx.core.widget.NestedScrollView; import androidx.databinding.DataBindingUtil; import androidx.f...
package deloitte.forecastsystem_bih.service; import java.util.Date; import java.util.List; import java.util.Optional; import org.springframework.data.repository.query.Param; import deloitte.forecastsystem_bih.model.MknnWeekends; import deloitte.forecastsystem_bih.model.MknnWorkingDays; public interface M...
package com.myvodafone.android.front.netperform.pojo; import java.io.Serializable; /** * Created by d.alexandrakis on 16/12/2016. */ public class SpeedResultItem implements Serializable { private String uploadSpeed; private String downloadSpeed; private String ping; private String details; pri...
package io.github.satr.aws.lambda.bookstore.strategies.intenthandler; // Copyright © 2020, github.com/satr, MIT License import com.amazonaws.services.lambda.runtime.LambdaLogger; import io.github.satr.aws.lambda.bookstore.entity.Book; import io.github.satr.aws.lambda.bookstore.entity.formatter.BookListFormatter; impor...
package org.oa.teach_fragments.app; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; /** * A placeholder fragment containing a simp...
package com.esum.wp.ims.systemconfig.service.impl; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import com.esum.appframework.service.impl.BaseService; import com.esum.framework.common.util.SequenceProperties; import com.esum.framework.common.util.SysUtil; import ...
package com.uav.rof.util; import android.content.Context; import android.content.DialogInterface; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Matrix; import android.net.Uri; import android.os.Build; import android.os.Environment; import android.support.v4.content.Cont...
package com.example.administrator.nineoldandroidsdemo; import android.animation.LayoutTransition; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.LinearLayout...
package com.qfc.yft.utils; import org.json.JSONException; import android.content.Context; import android.util.Log; import com.qfc.yft.YftApplication; import com.qfc.yft.net.HttpReceiver; public class TestDataTracker { static final String TAG = "TestDataTracker"; /*public static final String REQUEST_PA...
package boletin6; public class Cuenta { private String nombreCliente; private String numeroCuenta; private double saldo; public Cuenta(String nCliente, String nCuenta, double sal){ nombreCliente = nCliente; numeroCuenta = nCuenta; saldo = sal; } public Cuenta(){ ...
import java.util.Set; import java.util.HashSet; public class LinkedList { private class Node { Node next; int value; public String toString() { return Integer.toString(value); } } private Node head; public void insert(int p, int value) throws Exception { ...
/* * Origin of the benchmark: * repo: https://github.com/diffblue/cbmc.git * branch: develop * directory: regression/jbmc-strings/StaticCharMethods05 * The benchmark was taken from the repo: 24 January 2018 */ import java.util.Scanner; public class Main { public static void main(String[] args) ...
package com.domineer.triplebro.mistakebook.controllers; import android.content.Context; import com.domineer.triplebro.mistakebook.models.ErrorInfo; import com.domineer.triplebro.mistakebook.providers.DataBaseProvider; import java.util.List; import java.util.Map; /** * @author Domineer * @data 2019/11/17,13:54 * ...
import java.util.Scanner; public class task1 { public static void main(String[] args) { Scanner scan=new Scanner(System.in); System.out.println("Which month you were born?"); String month=scan.nextLine(); String season; if ((month .equals("January"))|| (month.equals("February")) || (month.equals("Decemb...
/* * Copyright (C) 2016 The Android Open Source Project * * 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 app...
package com.example.jobs.senior1; /** * Created by jobs on 09-Jan-17. */ import android.accounts.Account; import android.content.Context; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Ima...
package com.udacity.gradle.builditbigger; import android.app.Application; import android.content.Context; import android.os.AsyncTask; import android.test.ApplicationTestCase; import android.view.View; import android.widget.Toast; import com.example.chyupa.myapplication.backend.myApi.MyApi; import com.google.api.clie...
package com.ivet.whatineed.entity.models; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity(name = "stufftable") public class Whatineed implements Serial...
/** * Package for junior.pack1.p4.ch2.task2 #110062 Список адресов. * * @author Gureyev Ilya (mailto:ill-jah@yandex.ru) * @version 2018-03-11 * @since 2018-03-11 */ package ru.job4j.addresses;
package com.miyatu.tianshixiaobai.custom; import android.graphics.Rect; import android.view.View; import androidx.recyclerview.widget.RecyclerView; /** * create by: wangchao * 邮箱: 1064717519@qq.com */ public class GridItemDecoration extends RecyclerView.ItemDecoration { private int itemCount; private int ...
package leetCode; import java.util.LinkedList; import java.util.List; public class PascalsTriangle { public List<List<Integer>> generate(int numRows) { List<List<Integer>> resultList = new LinkedList<List<Integer>>(); if (numRows >= 1) { List<Integer> list = new LinkedList<Integer>(); list.add(1); resul...
package implementation; import java.util.Objects; /** * Represents a single course taken by an ACU student. Maintains data for * <ul> * <li>course subject</li> * <li>course number</li> * <li>course section</li> * <li>course year</li> * <li>course term</li> * <li>current grade</li> * ...
package stpt.Repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; import stpt.entities.Routes; import java.util.List; public interface RouteRepository extends JpaRepository<Routes,Strin...
package com.application.db; import java.beans.PropertyVetoException; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import java.util.Arrays; import java.util.List; import javax.sql.DataSource; import org.apache.log4j.Logger; import org.sqlite.SQLiteConfig; import com.zaxxer.hika...
package org.shiro.demo.controller.app.exception; /** * 加密错误 * @author Christy * */ public class EncryptWrongExcetion extends RuntimeException{ /** * */ private static final long serialVersionUID = 4592104116878389251L; public EncryptWrongExcetion() { super(); } public EncryptWrongExcetion(String mes...
package com.zxt.compplatform.validationrule.action; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.sf.json.JSONObject; import org.apache.struts2.ServletActionCo...
package com.github.ofofs.jca.count; import com.github.ofofs.jca.annotation.Count; /** * @author kangyonggan * @since 6/27/18 */ public class CountTest { /** * 10秒内同一个name最多调用5次,否则触发回调方法 * * @param name name * @return username */ @Count(value = "user:${name}", during = 10000, count...
package ctries2; // TODO this can go to Scala files public final class GenOld { }
package cc.ipotato.io; import java.io.*; class Person implements Serializable{ private transient String name; private int age; public Person(String name, int age) { super(); this.name = name; this.age = age; } @Override public String toString() { ...
/** * */ package de.hofuniversity.io.xml.util; /** * @author Michael Jahn * */ public class PlayerNameEqualizer { /** * */ public PlayerNameEqualizer() { } public boolean equalsName(String playerName0, String playerName1) { if (playerName0 == null) { throw new IllegalArgumentExc...
package com.SearchHouse.pojo; import java.util.Date; public class Comment { private Integer commentId;// 评论id private UserInfo user1;// 用户编号 private UserInfo user2;// 户主编号 private String auditName;// 审核人姓名 private House house;// 房屋 private String auditStatus;// 审核状态 private Date auditTime;// 审核时间 public Comm...
package com.auro.scholr.home.presentation.view.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.ViewGroup; import androidx.databinding.DataBindingUtil; import androidx.recyclerview.widget.RecyclerView; import com.auro.scholr.R; import com.auro.scholr.core.common.Common...
package Study3; import java.util.Scanner; public class S2{ static int h = 5, w = 10; static String [][] rooms = new String[5][10]; public static void main(String[] args){ Scanner s = new Scanner(System.in); while (true){ System.out.println("Please Enter: i(in) o(out) s(search) q...
package id.co.blog.json; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import org.json.JSONObject; @Path("/dig") public c...
package com.wangzhu.spring.registrar; import com.wangzhu.service.SelfBeanService; import org.springframework.context.annotation.AnnotationConfigApplicationContext; /** * Created by wang.zhu on 2020-06-12 14:20. **/ public class SelfBeanTest { public static void main(String[] args) { final AnnotationCon...
package sign.com.biz.group.service.impl; import com.github.pagehelper.Page; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotat...
package com.fwo.hp.fwo; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.RelativeLayout; impor...
package first.basic.字符串转整数; public class Solution { public int myAtoi(String str) { long result = 0; boolean isNeg = false; int i = 0; while (i < str.length()) { if (str.charAt(i) != ' ') break; else i++; } if (i < str.length...
package com.capitalone.demo.repository; import java.util.Date; import java.util.List; import org.springframework.data.mongodb.repository.MongoRepository; import com.capitalone.demo.domain.Expense; import com.capitalone.demo.domain.User; public interface ExpenseRepository extends MongoRepository<Expense, String> { ...
package gov.nih.mipav.model.algorithms.utilities; import gov.nih.mipav.model.algorithms.*; import gov.nih.mipav.model.file.*; import gov.nih.mipav.model.structures.*; import gov.nih.mipav.view.*; import java.io.*; import java.text.*; /** * This algorithm is used to insert averaged slices where slices have been ...
package com.mandroid.MAndroidApp; import android.app.Activity; import android.app.SearchManager; import android.content.Intent; import android.os.Bundle; import android.widget.ImageView; public class DisplayMessageActivity extends Activity { private ImageView image; @Override public void onCreate(Bundle...
package org.spring.management.member.model; public class UserPaging { private int currentPage = 1; private int countPerPage = 10; private int maxPage = 1; public int getCurrentPage() { return currentPage; } public void setCurrentPage(int currentPage) { this.currentPage = cu...
package cn.tedu.reivew; //本类用于复习代码块 public class TestBlock { public static void main(String[] args) { Person p=new Person(); Person p1=new Person("早上好"); p.a(); } } class Person{ { System.out.println("我是一个构造代码块"); } public Person(){ System.out.println("我是无参构造...
/* * ### Copyright (C) 2007-2011 Michael Fuchs ### * ### All Rights Reserved. ### * * Author: Michael Fuchs * E-Mail: michael.fuchs@dbdoclet.org * URL: http://www.michael-a-fuchs.de */ package org.dbdoclet.tidbit.common; import java.awt.Frame; import java.io.File; import java.io.IOException; imp...
package com.webstore.order; import java.util.List; import java.util.Map; public class ProcessOrder { /** * Method to calculate total basket cost. * * @param storeItems * @param customerItems * @return */ public Double calculateBasketCost(Map<String, Double> storeItems, List<BasketItems> customerItems)...
package com.god.gl.vaccination.util; import android.content.Context; import android.content.pm.ApplicationInfo; import android.os.Environment; import android.util.Log; import java.io.File; import java.io.FileWriter; import java.io.IOException; /** * 日志工具类 */ public class LogX { private static final String TAG ...
package com.mycompany.apirestfulservice.services; import com.mycompany.apirestfulservice.exceptions.RecordNotFoundException; import com.mycompany.apirestfulservice.modelo.Autor; import com.mycompany.apirestfulservice.repositories.AutorRepository; import java.util.ArrayList; import java.util.List; import java.util.Opt...
package movies; public class Movie { private String name; private String category; // // constructor public Movie() { } // constructor public Movie(String name, String category){ this.name = name; this.category = category; } public String getName() { ...
package be.mxs.common.util.pdf.general.oc.examinations; import java.sql.Timestamp; import java.util.Hashtable; import java.util.Iterator; import java.util.Vector; import be.mxs.common.model.vo.healthrecord.ItemVO; import be.mxs.common.model.vo.healthrecord.TransactionVO; import be.mxs.common.util.db.MedwanQuery; impo...
package com.hhdb.csadmin.plugin.table_space; import java.awt.Component; import java.util.List; import java.util.Map; import javax.swing.JOptionPane; import com.hh.frame.swingui.base.AbstractPlugin; import com.hh.frame.swingui.event.CmdEvent; import com.hh.frame.swingui.event.ErrorEvent; import com.hh.frame.swingui.e...
package OOP.LAB09_INTERFACES_AND_ABSTRACTION.L02_CarShopExtended; public interface Sellable { Double getPrice(); }
package com.melodygram.utils; import android.annotation.SuppressLint; import android.content.ContentResolver; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Environment; import android.provider.MediaStore; import com.melodygram.constants.GlobalState; import ...
package telas; import componentes.MeuCampoCodigo; import componentes.MeuCampoComboBox; import componentes.MeuJTextField; import javax.swing.event.InternalFrameAdapter; import javax.swing.event.InternalFrameEvent; public class TelaCadastroCidade extends TelaCadastro{ public String[][] argumentos = { {...
/* * 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 Controller; import java.io.IOException; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org....
package com.dokyme.alg4.sorting.priorityqueue; import edu.princeton.cs.algs4.StdOut; import java.util.ArrayList; import java.util.HashMap; import java.util.List; /** * Created by intellij IDEA.But customed by hand of Dokyme. * 2.4.25 * * @author dokym * @date 2018/5/15-20:16 * Description: */ public class Cub...
package com.login; import java.io.IOException; import java.io.PrintWriter; import static java.lang.System.out; 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 javax.serv...
package portfolio.sda.view; import java.awt.Graphics; import java.awt.Image; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import javax.imageio.ImageIO; import portfolio.sda.ultil.PathSetting; /** * @author Gilvanei e K...
package cn.edu.cust.pkmAudit.search; import java.util.HashMap; import java.util.Map; import cn.edu.cust.common.search.ColumnType; import cn.edu.cust.common.search.Search; public class DairySearch extends Search { private static Map<String, ColumnType> columnsSet; static { columnsSet = new HashMap<String, Col...
package com.lab.shopCart.shopcartms.interfaces.rest.dto.order; import com.lab.shopCart.shopcartms.domain.model.GoodEntity; import com.lab.shopCart.shopcartms.interfaces.rest.dto.goods.GoodReqDto; import com.lab.shopCart.shopcartms.interfaces.rest.vo.goods.GoodVo; import lombok.AllArgsConstructor; import lombok.Data; i...
package com.example.springdemo.utility.response; public enum StatusCode { OK(200), CREATE(201), NO_CONTENT(204), BAD_REQUEST(400), UNAUTHORIZED(401), FORBIDDEN(403), NOT_FOUND(404), INTERNAL_SERVER_ERROR(500), DB_ERROR(600); StatusCode(int code) { this.code = code; ...
package org.sunshinelibrary.turtle.syncservice; /** * User: fxp * Date: 10/14/13 * Time: 8:58 PM */ public abstract class SyncListener { public abstract void onEventArrive(SyncEvent evt); }
package com.allan.adbtool; import java.util.ArrayList; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; public class SharedPreferenceHelper { private SharedPreferences spPreferences; private Editor editor; private int top = 10; //...
package edu.cb.songlist.rhodes.maddux; import java.util.*; import edu.jenks.dist.cb.songlist.*; public class MusicDownloads extends AbstractMusicDownloads{ public MusicDownloads() { } public static void main(String[] args) { List<DownloadInfo> list = new ArrayList<DownloadInfo>(); list.add(n...
package fun.modelbook.boxssoserver.constant; /** * @author jory * @date 2019-03-15 */ public interface TokenConstant { /** * 令牌名称 */ String TOKEN_NAME = "token"; String BACK_URL_TOKEN_NAME = "__box_token__"; /** * 令牌有效时间,单位秒,默认一天 */ int TOKEN_TIMEOUT = 60 * 60 * 24; /...
package service; import java.util.ArrayList; import java.util.List; import java.util.Random; import control.ClientContext; import entity.EntityContext; import entity.ExamInfo; import entity.Question; import entity.QuestionInfo; import entity.User; /** * 考试逻辑类 * * 主要功能:创建试卷、改卷、找错题、算分数等和考试有关的操作 * * */ public cla...
/* * 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 rs.ac.bg.fon.ps.view.forms; import java.awt.event.ActionListener; import java.awt.event.MouseListener; /** * * @author Mr O...
/* * 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 com.victuxbb.javatest.model.user; import com.victuxbb.javatest.model.role.RoleEnum; import java.util.ArrayList; import java.ut...
package pkgHelper; //Comments to make the git submission work import pkgEnum.ePuzzleViolation; public class PuzzleViolation { private int iValue; private ePuzzleViolation ePuzzleViolation; public PuzzleViolation(pkgEnum.ePuzzleViolation ePuzzleViolation, int iValue) { this.ePuzzleViolation = ePuzzleViolatio...
package com.sims.bo.impl; import java.util.List; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.sims.bo.RODetailsBo; import com.sims.dao...
/* * 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 pl.pmisko.mypetclinic.services; import pl.pmisko.mypetclinic.model.Vet; public interface VetService extends CrudService<Vet, Long> { }
package upm.tdd.training; public class Frame { private int firstThrow; private int secondThrow; public Frame(int firstThrow, int secondThrow){ this.firstThrow = firstThrow; this.secondThrow = secondThrow; } // //the score of a single frame public int score(){ int frameScore; frameScore = firstThrow + ...
package deloitte.forecastsystem_bih.model; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @...
package com.yjn.haoba.services; import com.yjn.haoba.domain.User; import com.yjn.haoba.domain.UserExample; import com.yjn.haoba.persistence.UserMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * Created with IntelliJ IDEA. * User: yjn * Date...
package fourth.task.android.utils; import java.io.Serializable; import java.util.Arrays; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import andro...
package com.deepakm.java.eventdelegation; import java.util.Observable; import java.util.Observer; /** * Created by dmarathe on 10/30/16. */ public class WeatherWatcher implements Observer { @Override public void update(Observable o, Object arg) { if (o instanceof WeatherForecaster) { Wea...
package io.jrevolt.sysmon.rest; import java.net.URI; /** * @author <a href="mailto:patrikbeno@gmail.com">Patrik Beno</a> */ public class Service { URI uri; ServiceStatus status; public URI getUri() { return uri; } public void setUri(URI uri) { this.uri = uri; } public ServiceStatus getStatus() { r...
package Fragments.FrondFragments; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.example.hasan.fragments_with_naviga...
package exercices; public class Projet { Binome b; String titre; float note; public Projet() { super(); } public Projet(Binome b, String titre, float note) { super(); this.b = b; this.titre = titre; this.note = note; } @Override public String toString() { return "Projet [b=" + b + ", titre="...
package bib; import bib.iterateurs.IterateurLexique; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; /** * Created by Gauthier on 20/03/2017. */ public class Lexique implements Iterable<String> { private int nbMots; private String[] lexique; public Lexique(int capacit...
package library.daos; import java.util.ArrayList; import java.util.List; import library.interfaces.daos.IBookDAO; import library.interfaces.daos.IBookHelper; import library.interfaces.entities.IBook; public class BookDAO implements IBookDAO { private IBookHelper helper_; private ArrayList<IBook> bookLi...
package de.wiltherr.ws2812fx.serial.communication; public class SerialPacketCommunicatorClosingException extends IllegalStateException { public SerialPacketCommunicatorClosingException(String message) { } }
package be.odisee.pajotter.domain; import java.util.List; import javax.persistence.*; @Entity @DiscriminatorValue("Koper") public class Koper extends Rol { public Koper(){} public Koper(String status, String usernaam, Partij partij){ super(status,usernaam,partij); } public Koper(int id, Strin...
package com.arthur.bishi.ali.ali0507; /** * @title: No2 * @Author ArthurJi * @Date: 2021/5/7 19:30 * @Version 1.0 */ import java.util.*; public class No2 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int k = sc.nextInt(); ...
/* * Copyright 2002-2023 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 controller.core; import webserver.http.request.HttpRequest; import webserver.http.response.HttpResponse; import java.io.IOException; import java.net.URISyntaxException; public interface Controller { void service(HttpRequest httpRequest, HttpResponse response) throws IOException, URISyntaxException; }
package mainpkg; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import lotto.Lotto; public class KajaLottomain { public static void main(String[] args) { // TODO Auto-generated method stub ApplicationContext ac = new ClassPathXm...
package com.equipo12.retobc.model.commons; import lombok.Getter; public class BalanceAndMovementException extends RuntimeException{ private static final long serialVersionUID = 1L; @Getter private String code; public BalanceAndMovementException(String message) { super(message); } pu...
package au.com.mayi; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.context.config.an...
package com.itcia.itgoo; import java.security.Principal; import java.util.List; import java.util.Locale; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.annotation.Secured; import org.springframework.security.access.prepost.PreAuthorize; import org.springframe...
package jp.co.softem.apps.core; import java.util.List; import java.util.Map; import org.slim3.datastore.Datastore; import org.slim3.datastore.GlobalTransaction; import org.slim3.datastore.ModelMeta; import org.slim3.util.BeanUtil; import com.google.appengine.api.datastore.Key; import com.google.appengine.api.datasto...
package com.imdongh.mvpdemo01.base; public class BasePresenter<V extends BaseView> { private V mView; public BasePresenter() { this.mView = mView; } public void attachView(V mView) { this.mView = mView; } public void detachView() { this.mView = null; } publi...
/** * Server-side classes for use with standard JSR-356 WebSocket endpoints. */ @NonNullApi @NonNullFields package org.springframework.web.socket.server.standard; import org.springframework.lang.NonNullApi; import org.springframework.lang.NonNullFields;
package com.ggw.vem; import org.json.JSONException; import org.json.JSONObject; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.util.Log; import android.view.View; import andro...
package com.example.movieapp; public interface PopularListener { void onSuccessResponse(JsonResponse data); void onErrorResponse(String data); }
package com.seedo.ligerui.action.movie; import org.apache.struts2.convention.annotation.Action; import org.apache.struts2.convention.annotation.Result; import org.springframework.beans.factory.annotation.Autowired; import com.seedo.movie.model.MvTsFilmDiscount; import com.seedo.platform.action.struts.LigerJsonHe...
package cn.edu.gdmec.s07131020.demo_loader; public class Book { private String _id; private String name; private float price; private String publisher; public String get_id() { return _id; } public void set_id(String _id) { this._id = _id; } public String getName() { return name; } public void setName(Strin...
import java.util.*; import java.io.*; class fibonacci { public static void main(String[] args) { Scanner kb = new Scanner(System.in); int num=kb.nextInt(); if(num>2) { int a=1; int b=1; System.out.print(a+" "+b+" "); int c; num=num-2; while(num!=0) { c=a+b; System.out.print(c+" ")...
package man.frechet.demo.actuator.boot.jmxresource; import org.springframework.jmx.export.annotation.ManagedOperation; import org.springframework.jmx.export.annotation.ManagedResource; import org.springframework.stereotype.Component; import java.util.HashMap; import java.util.Map; @ManagedResource @Component public...
package expansion.neto.com.mx.jefeapp.sorted.autoriza; import android.content.Context; import android.view.LayoutInflater; import android.view.ViewGroup; import java.util.Comparator; import expansion.neto.com.mx.jefeapp.databinding.ItemAutorizaPeatonalPrickerBinding; import expansion.neto.com.mx.jefeapp.mod...